docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Add

    Add(XRReferenceObjectLibrary)

    Creates a new XRReferenceObject and adds it to the library.

    Declaration
    public static int Add(this XRReferenceObjectLibrary library)
    Parameters
    Type Name Description
    XRReferenceObjectLibrary library

    The XRReferenceObjectLibrary being extended.

    Returns
    Type Description
    int

    The index in the library at which the new reference object was created.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if library is null.

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