Method ReorderSpline
ReorderSpline<T>(T, int, int)
Reorders a spline in a ISplineContainer.
Declaration
public static bool ReorderSpline<T>(this T container, int previousSplineIndex, int newSplineIndex) where T : ISplineContainer
Parameters
| Type | Name | Description |
|---|---|---|
| T | container | The target SplineContainer. |
| int | previousSplineIndex | The previous index of the spline to reorder in the SplineContainer. |
| int | newSplineIndex | The new index of the spline to reorder in the SplineContainer. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the spline was reordered in the container. |
Type Parameters
| Name | Description |
|---|---|
| T | A type that implements ISplineContainer. |