Class XRReferenceObjectEntry
A provider-specific reference object.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/api/UnityEngine.XR.ARSubsystems.XRReferenceObjectEntry.html")]
public abstract class XRReferenceObjectEntry : ScriptableObject
Remarks
A reference object represents a 3D scan of a real object that can be recognized in the environment. Each XRReferenceObject contains a list of provider-specific XRReferenceObjectEntry. Each provider (implementation of XRObjectTrackingSubsystem) should derive a new type from this type.
Each XRReferenceObjectEntry is generally an asset on disk in a format specific to that provider.
Methods
Name | Description |
---|---|
OnAddToLibrary(XRReferenceObjectLibrary, XRReferenceObject) | Invoked when an XRReferenceObject is added to an XRReferenceObjectLibrary. |