UnityEditor.AnimationClipInfoProperties.GetCurve C# (CSharp) Method

GetCurve() public method

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