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