Class ARTrackedObjectManager
A manager for ARTrackedXRObjectTrackingSubsystem
to recognize and track 3D objects in the physical environment.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-2147483647)]
[DisallowMultipleComponent]
[RequireComponent(typeof(ARSessionOrigin))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARTrackedObjectManager.html")]
public sealed class ARTrackedObjectManager : ARTrackableManager<XRObjectTrackingSubsystem, XRObjectTrackingSubsystemDescriptor, XRObjectTrackingSubsystem.Provider, XRTrackedObject, ARTrackedObject>
Properties
Name | Description |
---|---|
game |
The name to be used for the |
reference |
The |
tracked |
If not null, instantiates this Prefab for each detected object. |
Methods
Name | Description |
---|---|
Get |
Get the Prefab to instantiate for each ARTracked |
On |
Invoked just after each ARTracked |
On |
Sets the object library on the subsystem before Start() is called on the base class. |
On |
Invokes the tracked |
Events
Name | Description |
---|---|
tracked |
Invoked once per frame with information about the ARTracked |