Struct Binary.TagIndex | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023