Arbor: State Diagram Editor
2.2.0
|
Class to handle the two-dimensional cubic Bezier More...
Public Member Functions | |
Bezier2D () | |
Bezier2D (Vector2 startPosition, Vector2 startControl, Vector2 endPosition, Vector2 endControl) | |
Bezier2D (Bezier2D bezier) | |
Vector2 | GetPoint (float t) |
Get a position on the Bezier curve. More... | |
Vector2 | GetLinearPoint (float t) |
Get a position on the Bezier curve linear. More... | |
Static Public Member Functions | |
static Vector2 | GetPoint (Vector2 startPosition, Vector2 startControl, Vector2 endPosition, Vector2 endControl, float t) |
Get a position on the Bezier curve. More... | |
Properties | |
Vector2 | startPosition [get, set] |
Starting point More... | |
Vector2 | startControl [get, set] |
Control point of the starting point More... | |
Vector2 | endPosition [get, set] |
End point More... | |
Vector2 | endControl [get, set] |
Control point of the end point More... | |
float | length [get] |
Length More... | |
bool | isChanged [get] |
Whether it has been changed More... | |
Class to handle the two-dimensional cubic Bezier
Bezier2D | ( | ) |
Bezier2D | ( | Vector2 | startPosition, |
Vector2 | startControl, | ||
Vector2 | endPosition, | ||
Vector2 | endControl | ||
) |
Vector2 GetLinearPoint | ( | float | t | ) |
Get a position on the Bezier curve linear.
t | 0-1 of value |
Vector2 GetPoint | ( | float | t | ) |
Get a position on the Bezier curve.
t | 0-1 of value |
|
static |
Get a position on the Bezier curve.
startPosition | Starting point |
startControl | Control point of the starting point |
endPosition | End point |
endControl | Control point of the end point |
t | 0-1 of value |
|
getset |
Control point of the end point
|
getset |
End point
|
get |
Whether it has been changed
|
get |
Length
|
getset |
Control point of the starting point
|
getset |
Starting point