Method EvaluateTangent
EvaluateTangent(BezierCurve, float)
Given a Bezier curve, return an interpolated tangent at ratio t.
Declaration
public static float3 EvaluateTangent(BezierCurve curve, float t)
Parameters
| Type | Name | Description |
|---|---|---|
| BezierCurve | curve | A cubic Bezier curve. |
| float | t | A value between 0 and 1 representing the ratio along the curve. |
Returns
| Type | Description |
|---|---|
| float3 | A tangent on the curve. |