Class XRReferenceObjectLibrary
A container for reference objects. A reference object represents a 3D scan
of a real object that can be recognized in the environment. A XRObject
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
[CreateAssetMenu(fileName = "ReferenceObjectLibrary", menuName = "XR/Reference Object Library", order = 3)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/manual/object-tracking.html")]
public class XRReferenceObjectLibrary : ScriptableObject, IEnumerable<XRReferenceObject>, IEnumerable
Properties
Name | Description |
---|---|
this[int] | Get a reference object by index. |
count | The number of reference objects in the library. |
guid | A |
Methods
Name | Description |
---|---|
Add(XRReference |
Adds a new XRReference |
Get |
Gets an enumerator which can be used to iterate over the reference objects in this library. |
Index |
Get the index of |
index |
Get the index of |