Method GetCatmullRomTangent
GetCatmullRomTangent(float3, float3)
Calculates a tangent from the previous and next knot positions.
Declaration
public static float3 GetCatmullRomTangent(float3 previous, float3 next)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | previous | The position of the previous BezierKnot. |
| float3 | next | The position of the next BezierKnot. |
Returns
| Type | Description |
|---|---|
| float3 | Returns a tangent calculated from the previous and next knot positions. |