Class RuntimeReferenceImageLibrary
The runtime representation of a XRReference
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public abstract class RuntimeReferenceImageLibrary : IReferenceImageLibrary
Properties
this[int]
Get the XRReferenceindex
.
Declaration
public XRReferenceImage this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | The index. |
Property Value
Type | Description |
---|---|
XRReference |
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 XRReferenceindex
.
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 |
---|---|
XRReference |
A XRReference |