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