docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimeReferenceImageLibrary

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

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

    Properties

    count

    The number of reference images contained in this library.

    Declaration
    public abstract int count { get; }
    Property Value
    Type Description
    Int32
    Implements
    IReferenceImageLibrary.count

    Item[Int32]

    Gets the XRReferenceImage at the given index.

    Declaration
    public XRReferenceImage this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    XRReferenceImage
    Implements
    IReferenceImageLibrary.Item[Int32]

    Methods

    GetReferenceImageAt(Int32)

    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
    Int32 index

    The index of the reference image to get.

    Returns
    Type Description
    XRReferenceImage

    A XRReferenceImage that represents the reference image at index index.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023