Method CalculateLength
CalculateLength<T>(T, float4x4)
Calculate the length of a spline when transformed by a matrix.
Declaration
public static float CalculateLength<T>(this T spline, float4x4 transform) where T : ISpline
Parameters
| Type | Name | Description |
|---|---|---|
| T | spline | |
| float4x4 | transform |
Returns
| Type | Description |
|---|---|
| float |
Type Parameters
| Name | Description |
|---|---|
| T | A type implementing ISpline. |