Constructor SplineRange
SplineRange(int, int)
Creates a new SplineRange from a start index and count.
Declaration
public SplineRange(int start, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| int | start | The inclusive first index of a range. |
| int | count | The number of elements this range encompasses. This value might be negative, which is shorthand to call the constructor with an explicit SliceDirection parameter. |
SplineRange(int, int, SliceDirection)
Creates a new SplineRange from a start index and count.
Declaration
public SplineRange(int start, int count, SliceDirection direction)
Parameters
| Type | Name | Description |
|---|---|---|
| int | start | The inclusive first index of a range. |
| int | count | The number of elements this range encompasses. |
| SliceDirection | direction | Whether when iterating this range it is incrementing from start to start + count, or decrementing from start to start - count. |