Public Member Functions | |
RotationalSpline () | |
void | AddPoint (Quaternion point) |
void | Clear () |
Quaternion | Interpolate (float t) |
Quaternion | Interpolate (int index, float t) |
Quaternion | Interpolate (float t, bool useShortestPath) |
Quaternion | Interpolate (int index, float t, bool useShortestPath) |
void | RecalculateTangents () |
Properties | |
bool | AutoCalculate |
int | PointCount |
|
Creates a new Rotational Spline. |
|
Adds a control point to the end of the spline. |
|
Removes all current control points from this spline. |
|
Interpolates a single segment of the spline given a parametric value. The point index to treat as t=0. index + 1 is deemed to be t=1 Parametric value An interpolated point along the spline. |
|
Returns an interpolated point based on a parametric value over the whole series. Given a t value between 0 and 1 representing the parametric distance along the whole length of the spline, this method returns an interpolated point. Parametric value. True forces rotations to use the shortest path. An interpolated point along the spline. |
|
Recalculates the tangents associated with this spline. If you tell the spline not to update on demand by setting AutoCalculate to false, then you must call this after completing your updates to the spline points. |
|
Specifies whether or not to recalculate tangents as each control point is added. |
|
Gets the number of control points in this spline. |