GetTangent

GetTangent(Vector2, Vector2, Vector2, Vector2, float)

public static Vector2 GetTangent(Vector2 startPosition, Vector2 startControl, Vector2 endPosition, Vector2 endControl, float t) ;

Description

Get a tangent 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 tangent on the Bezier curve.