docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IndexOf

    IndexOf(XRReferenceObject)

    Get the index of referenceObject in the object library.

    Declaration
    public int IndexOf(XRReferenceObject referenceObject)
    Parameters
    Type Name Description
    XRReferenceObject referenceObject

    The XRReferenceObject to find.

    Returns
    Type Description
    int

    Returns the zero-based index of the referenceObject if found. Returns -1 if not found.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023