docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator int(SegmentIndex)

    Implicit conversion from a segment index to an integer value.

    Declaration
    public static implicit operator int(Binary.SegmentIndex segmentIndex)
    Parameters
    Type Name Description
    Binary.SegmentIndex segmentIndex
    Returns
    Type Description
    int

    implicit operator SegmentIndex(int)

    Implicit conversion from an integer value to a segment index.

    Declaration
    public static implicit operator Binary.SegmentIndex(int segmentIndex)
    Parameters
    Type Name Description
    int segmentIndex
    Returns
    Type Description
    Binary.SegmentIndex
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)