UnityEditor.AnimationClipInfoProperties.SetCurve C# (CSharp) Method

SetCurve() public method

public SetCurve ( int index, AnimationCurve curveValue ) : void
index int
curveValue AnimationCurve
return void
        public void SetCurve(int index, AnimationCurve curveValue)
        {
            SerializedProperty curveProperty = this.GetCurveProperty(index);
            if (curveProperty != null)
            {
                curveProperty.animationCurveValue = curveValue;
            }
        }