Tanoda
|
Represents a spline that travels from one point in space to another over a specified time frame. The two endpoints are specified, as well as the instantaneous velocity at these two endpoints. More...
Public Member Functions | |
__CHS__ (__CHS_T__ pos0, __CHS_T__ pos1) | |
Constructs a spline by specifying the positions of the two endpoints. The velocity at each endpoint is zero, and the time range of the spline is 0 to 1. More... | |
__CHS__ (__CHS_T__ pos0, __CHS_T__ pos1, __CHS_T__ vel0, __CHS_T__ vel1) | |
Constructs a spline by specifying the positions and velocities of the two endpoints. The time range of the spline is 0 to 1. More... | |
__CHS__ (__CHS_T__ pos0, __CHS_T__ pos1, __CHS_T__ vel0, __CHS_T__ vel1, float length) | |
Constructs a spline by specifying the positions and velocities of the two endpoints. The time range of the spline is 0 to length. More... | |
__CHS__ (float t0, float t1, __CHS_T__ pos0, __CHS_T__ pos1, __CHS_T__ vel0, __CHS_T__ vel1) | |
Constructs a spline by specifying the positions, velocities, and times of the endpoints. More... | |
__CHS_T__ | PositionAt (float t) |
Gets the position at time t along this spline. The time is clamped within the t0 - t1 range. More... | |
__CHS_T__ | VelocityAt (float t) |
Gets the first derivative of position at time t. The time is clamped within the t0 - t1 range. More... | |
void | PositionAndVelAt (float t, out __CHS_T__ position, out __CHS_T__ velocity) |
Gets both the position and the first derivative of position at time ti. The time is clamped within the t0 - t1 range. More... | |
Public Attributes | |
float | t0 |
float | t1 |
__CHS_T__ | pos0 |
__CHS_T__ | pos1 |
__CHS_T__ | vel0 |
__CHS_T__ | vel1 |
Represents a spline that travels from one point in space to another over a specified time frame. The two endpoints are specified, as well as the instantaneous velocity at these two endpoints.
You may ask for the position or the velocity at any time during the splines duration.
Definition at line 24 of file TemplateCHS.cs.
Constructs a spline by specifying the positions of the two endpoints. The velocity at each endpoint is zero, and the time range of the spline is 0 to 1.
Definition at line 34 of file TemplateCHS.cs.
Leap.Unity.Animation.Generation.__CHS__.__CHS__ | ( | __CHS_T__ | pos0, |
__CHS_T__ | pos1, | ||
__CHS_T__ | vel0, | ||
__CHS_T__ | vel1 | ||
) |
Constructs a spline by specifying the positions and velocities of the two endpoints. The time range of the spline is 0 to 1.
Definition at line 50 of file TemplateCHS.cs.
Leap.Unity.Animation.Generation.__CHS__.__CHS__ | ( | __CHS_T__ | pos0, |
__CHS_T__ | pos1, | ||
__CHS_T__ | vel0, | ||
__CHS_T__ | vel1, | ||
float | length | ||
) |
Constructs a spline by specifying the positions and velocities of the two endpoints. The time range of the spline is 0 to length.
Definition at line 66 of file TemplateCHS.cs.
Leap.Unity.Animation.Generation.__CHS__.__CHS__ | ( | float | t0, |
float | t1, | ||
__CHS_T__ | pos0, | ||
__CHS_T__ | pos1, | ||
__CHS_T__ | vel0, | ||
__CHS_T__ | vel1 | ||
) |
Constructs a spline by specifying the positions, velocities, and times of the endpoints.
Definition at line 81 of file TemplateCHS.cs.
void Leap.Unity.Animation.Generation.__CHS__.PositionAndVelAt | ( | float | t, |
out __CHS_T__ | position, | ||
out __CHS_T__ | velocity | ||
) |
Gets both the position and the first derivative of position at time ti. The time is clamped within the t0 - t1 range.
Definition at line 141 of file TemplateCHS.cs.
__CHS_T__ Leap.Unity.Animation.Generation.__CHS__.PositionAt | ( | float | t | ) |
Gets the position at time t along this spline.
The time is clamped within the t0 - t1 range.
Definition at line 96 of file TemplateCHS.cs.
__CHS_T__ Leap.Unity.Animation.Generation.__CHS__.VelocityAt | ( | float | t | ) |
Gets the first derivative of position at time t. The time is clamped within the t0 - t1 range.
Definition at line 113 of file TemplateCHS.cs.
__CHS_T__ Leap.Unity.Animation.Generation.__CHS__.pos0 |
Definition at line 26 of file TemplateCHS.cs.
__CHS_T__ Leap.Unity.Animation.Generation.__CHS__.pos1 |
Definition at line 26 of file TemplateCHS.cs.
float Leap.Unity.Animation.Generation.__CHS__.t0 |
Definition at line 25 of file TemplateCHS.cs.
float Leap.Unity.Animation.Generation.__CHS__.t1 |
Definition at line 25 of file TemplateCHS.cs.
__CHS_T__ Leap.Unity.Animation.Generation.__CHS__.vel0 |
Definition at line 27 of file TemplateCHS.cs.
__CHS_T__ Leap.Unity.Animation.Generation.__CHS__.vel1 |
Definition at line 27 of file TemplateCHS.cs.