Method EvaluateAcceleration
EvaluateAcceleration(float)
Evaluates the acceleration vector of a point, t, on a spline in world space.
Declaration
public float3 EvaluateAcceleration(float t)
Parameters
Type | Name | Description |
---|---|---|
float | t | A value between 0 and 1 representing a percentage of entire spline. |
Returns
Type | Description |
---|---|
float3 | The computed acceleration vector. |
EvaluateAcceleration(int, float)
Evaluates the acceleration vector of a point, t, on a spline at an index, `splineIndex, in world space.
Declaration
public float3 EvaluateAcceleration(int splineIndex, float t)
Parameters
Type | Name | Description |
---|---|---|
int | splineIndex | The index of the spline to evaluate. |
float | t | A value between 0 and 1 representing a percentage of entire spline. |
Returns
Type | Description |
---|---|
float3 | The computed acceleration vector. |
EvaluateAcceleration<T>(T, float)
Evaluates the acceleration vector of a point, t, on a given Spline, in world space.
Declaration
public float3 EvaluateAcceleration<T>(T spline, float t) where T : ISpline
Parameters
Type | Name | Description |
---|---|---|
T | spline | The Spline to evaluate. |
float | t | A value between 0 and 1 representing a percentage of entire spline. |
Returns
Type | Description |
---|---|
float3 | The computed acceleration vector. |
Type Parameters
Name | Description |
---|---|
T | The spline type. |