Struct Binary.IntervalIndex
Denotes an index into the list of intervals contained in the runtime asset.
Namespace: Unity.Kinematica
Syntax
public struct IntervalIndex
Properties
Empty
Empty interval index.
Declaration
public static Binary.IntervalIndex Empty { get; }
Property Value
Type | Description |
---|---|
Binary.IntervalIndex |
Methods
Equals(Binary.IntervalIndex)
Determines whether two interval indices are equal.
Declaration
public bool Equals(Binary.IntervalIndex intervalIndex)
Parameters
Type | Name | Description |
---|---|---|
Binary.IntervalIndex | intervalIndex | The index to compare against the current index. |
Returns
Type | Description |
---|---|
Boolean | True if the specified index is equal to the current index; otherwise, false. |
Operators
Implicit(Int32 to Binary.IntervalIndex)
Implicit conversion from an integer value to a interval index.
Declaration
public static implicit operator Binary.IntervalIndex(int intervalIndex)
Parameters
Type | Name | Description |
---|---|---|
Int32 | intervalIndex |
Returns
Type | Description |
---|---|
Binary.IntervalIndex |
Implicit(Binary.IntervalIndex to Int32)
Implicit conversion from a interval index to an integer value.
Declaration
public static implicit operator int (Binary.IntervalIndex intervalIndex)
Parameters
Type | Name | Description |
---|---|---|
Binary.IntervalIndex | intervalIndex |
Returns
Type | Description |
---|---|
Int32 |