GetNormalOnCubicCurve() public static méthode

public static GetNormalOnCubicCurve ( float time, Vector3 up, BezierPoint3D startPoint, BezierPoint3D endPoint ) : Vector3
time float
up UnityEngine.Vector3
startPoint BezierPoint3D
endPoint BezierPoint3D
Résultat UnityEngine.Vector3
        public Vector3 GetNormal(float time, Vector3 up)
        {
            BezierPoint3D startPoint;
            BezierPoint3D endPoint;
            float         timeRelativeToSegment;

            this.GetCubicSegment(time, out startPoint, out endPoint, out timeRelativeToSegment);

            return(BezierCurve3D.GetNormalOnCubicCurve(timeRelativeToSegment, up, startPoint, endPoint));
        }