GetRotationOnCubicCurve() публичный статический Метод

public static GetRotationOnCubicCurve ( float time, Vector3 up, BezierPoint3D startPoint, BezierPoint3D endPoint ) : Quaternion
time float
up UnityEngine.Vector3
startPoint BezierPoint3D
endPoint BezierPoint3D
Результат UnityEngine.Quaternion
Пример #1
0
        public Quaternion GetRotation(float time, Vector3 up)
        {
            BezierPoint3D startPoint;
            BezierPoint3D endPoint;
            float         timeRelativeToSegment;

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

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