Struct Binary.MarkerIndex
Denotes an index into the list of markers contained in the runtime asset.
Namespace: Unity.Kinematica
Syntax
public struct MarkerIndex
Properties
Invalid
Invalid marker index.
Declaration
public static Binary.MarkerIndex Invalid { get; }
Property Value
| Type | Description |
|---|---|
| Binary.MarkerIndex |
IsValid
Determines if the given marker index is valid or not.
Declaration
public bool IsValid { get; }
Property Value
| Type | Description |
|---|---|
| Boolean | True if the marker index is valid; false otherwise. |
Methods
Equals(Binary.MarkerIndex)
Determines whether two marker indices are equal.
Declaration
public bool Equals(Binary.MarkerIndex markerIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Binary.MarkerIndex | markerIndex | 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.MarkerIndex)
Implicit conversion from an integer value to a marker index.
Declaration
public static implicit operator Binary.MarkerIndex(int markerIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | markerIndex |
Returns
| Type | Description |
|---|---|
| Binary.MarkerIndex |
Implicit(Binary.MarkerIndex to Int32)
Implicit conversion from a marker index to an integer value.
Declaration
public static implicit operator int (Binary.MarkerIndex markerIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Binary.MarkerIndex | markerIndex |
Returns
| Type | Description |
|---|---|
| Int32 |