Contains various spline functions.
More...
Contains various spline functions.
|
static Vector3 | CatmullRom (Vector3 previous, Vector3 start, Vector3 end, Vector3 next, float elapsedTime) |
|
static Vector3 | CatmullRomOLD (Vector3 previous, Vector3 start, Vector3 end, Vector3 next, float elapsedTime) |
|
static Vector3 | CubicBezier (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
| Returns a point on a cubic bezier curve.
|
|
static Vector3 | CubicBezierDerivative (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
| Returns the derivative for a point on a cubic bezier curve.
|
|
static Vector3 | CubicBezierSecondDerivative (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) |
| Returns the second derivative for a point on a cubic bezier curve.
|
|
static Vector3 CatmullRom |
( |
Vector3 |
previous, |
|
|
Vector3 |
start, |
|
|
Vector3 |
end, |
|
|
Vector3 |
next, |
|
|
float |
elapsedTime |
|
) |
| |
|
static |
static Vector3 CatmullRomOLD |
( |
Vector3 |
previous, |
|
|
Vector3 |
start, |
|
|
Vector3 |
end, |
|
|
Vector3 |
next, |
|
|
float |
elapsedTime |
|
) |
| |
|
static |
static Vector3 CubicBezier |
( |
Vector3 |
p0, |
|
|
Vector3 |
p1, |
|
|
Vector3 |
p2, |
|
|
Vector3 |
p3, |
|
|
float |
t |
|
) |
| |
|
static |
Returns a point on a cubic bezier curve.
t is clamped between 0 and 1
static Vector3 CubicBezierDerivative |
( |
Vector3 |
p0, |
|
|
Vector3 |
p1, |
|
|
Vector3 |
p2, |
|
|
Vector3 |
p3, |
|
|
float |
t |
|
) |
| |
|
static |
Returns the derivative for a point on a cubic bezier curve.
t is clamped between 0 and 1
static Vector3 CubicBezierSecondDerivative |
( |
Vector3 |
p0, |
|
|
Vector3 |
p1, |
|
|
Vector3 |
p2, |
|
|
Vector3 |
p3, |
|
|
float |
t |
|
) |
| |
|
static |
Returns the second derivative for a point on a cubic bezier curve.
t is clamped between 0 and 1
The documentation for this class was generated from the following file:
- /Users/arong/unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/AstarMath.cs