Method EvalTangent
EvalTangent(BezierSegment, float)
Evaluates the tangent on a curve segment.
Declaration
public static Vector2 EvalTangent(BezierSegment segment, float t)
Parameters
Type | Name | Description |
---|---|---|
BezierSegment | segment | The curve segment on which to evaluate the tangent |
float | t | The parametric location on the curve |
Returns
Type | Description |
---|---|
Vector2 | The tangent of the curve at parametric location "t" |