Constructor SplineSlice
SplineSlice(T, SplineRange)
Constructor for a new SplineSlice.
Declaration
public SplineSlice(T spline, SplineRange range)
Parameters
Type | Name | Description |
---|---|---|
T | spline | The Spline that this Slice will read BezierKnot and BezierCurve data from. |
SplineRange | range | The start index and count of knot indices that compose this slice. |
SplineSlice(T, SplineRange, float4x4)
Constructor for a new SplineSlice.
Declaration
public SplineSlice(T spline, SplineRange range, float4x4 transform)
Parameters
Type | Name | Description |
---|---|---|
T | spline | The Spline that this Slice will read BezierKnot and BezierCurve data from. |
SplineRange | range | The start index and count of knot indices that compose this slice. |
float4x4 | transform | A transform matrix to be applied to the spline knots and tangents. |