docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateRuntimeLibrary

    CreateRuntimeLibrary(XRReferenceImageLibrary)

    Creates a RuntimeReferenceImageLibrary from an existing XRReferenceImageLibrary, or an empty library if serializedLibrary is null. Use this to construct the runtime representation of an XRReferenceImageLibrary.

    Declaration
    public RuntimeReferenceImageLibrary CreateRuntimeLibrary(XRReferenceImageLibrary serializedLibrary)
    Parameters
    Type Name Description
    XRReferenceImageLibrary serializedLibrary

    An existing XRReferenceImageLibrary created at edit time, or null to create an empty image library.

    Returns
    Type Description
    RuntimeReferenceImageLibrary

    A new RuntimeReferenceImageLibrary representing the deserialized version of serializedLibrary or an empty library if serializedLibrary is null.

    Remarks

    If the subsystem supports runtime mutable libraries (see supportsMutableLibrary), then the returned library will be a MutableRuntimeReferenceImageLibrary.

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