namespace UnityEditor.VFX.Operator { [VFXHelpURL("Operator-Floor")] [VFXInfo(category = "Math/Clamp")] class Floor : VFXOperatorNumericUniform { public class InputProperties { public float x = 0.0f; } protected override sealed string operatorName { get { return "Floor"; } } protected override sealed VFXExpression[] BuildExpression(VFXExpression[] inputExpression) { return new[] { new VFXExpressionFloor(inputExpression[0]) }; } protected sealed override ValidTypeRule typeFilter { get { return ValidTypeRule.allowEverythingExceptIntegerAndDirection; } } } }