UnityEditor.NormalCurveRenderer.DrawCurve C# (CSharp) Method

DrawCurve() public method

public DrawCurve ( float minTime, float maxTime, Color color, Matrix4x4 transform, Color wrapColor ) : void
minTime float
maxTime float
color Color
transform UnityEngine.Matrix4x4
wrapColor Color
return void
        public void DrawCurve(float minTime, float maxTime, Color color, Matrix4x4 transform, Color wrapColor)
        {
            this.BuildCurveMesh();
            Keyframe[] keys = this.m_Curve.keys;
            if (keys.Length > 0)
            {
                Vector3 firstPoint = new Vector3(this.rangeStart, Enumerable.First<Keyframe>(keys).value);
                Vector3 lastPoint = new Vector3(this.rangeEnd, Enumerable.Last<Keyframe>(keys).value);
                DrawCurveWrapped(minTime, maxTime, this.rangeStart, this.rangeEnd, this.preWrapMode, this.postWrapMode, this.m_CurveMesh, firstPoint, lastPoint, transform, color, wrapColor);
            }
        }