GetPoint
GetPoint(Vector2, Vector2, Vector2, Vector2, float)
public static Vector2 GetPoint(Vector2 startPosition, Vector2 startControl, Vector2 endPosition, Vector2 endControl, float t) ;
Description
Get a position on the Bezier curve.
Parameters
Parameter Name | Description |
---|---|
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 |
Returns
Returns the position on the Bezier curve.