docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RuntimeReferenceImageLibrary

    The runtime representation of a XRReferenceImageLibrary. Some libraries are mutable; see MutableRuntimeReferenceImageLibrary.

    Inheritance
    object
    RuntimeReferenceImageLibrary
    MutableRuntimeReferenceImageLibrary
    Implements
    IReferenceImageLibrary
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public abstract class RuntimeReferenceImageLibrary : IReferenceImageLibrary

    Properties

    this[int]

    Gets the XRReferenceImage at the given index.

    Declaration
    public XRReferenceImage this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    XRReferenceImage

    count

    The number of reference images contained in this library.

    Declaration
    public abstract int count { get; }
    Property Value
    Type Description
    int

    Methods

    GetReferenceImageAt(int)

    Derived methods should return the XRReferenceImage at the given index. The index has already been validated to be within the range [0..count].

    Declaration
    protected abstract XRReferenceImage GetReferenceImageAt(int index)
    Parameters
    Type Name Description
    int index

    The index of the reference image to get.

    Returns
    Type Description
    XRReferenceImage

    A XRReferenceImage that represents the reference image at index index.

    Implements

    IReferenceImageLibrary
    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)