Class XRObjectTrackingSubsystem
Base class for object tracking subsystems.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XRObjectTrackingSubsystem : TrackingSubsystem<XRTrackedObject, XRObjectTrackingSubsystem, XRObjectTrackingSubsystemDescriptor, XRObjectTrackingSubsystem.Provider>, ISubsystem
Remarks
This subsystem allows real objects to be recognized in the environment. You must first specify a library of "reference objects" to search for. These reference objects are typically in a format specific to a particular implementation; see the documentation for the implementing subsystem for further instructions.
Constructors
Name | Description |
---|---|
XRObject |
Constructs an object tracking subsystem. Do not invoked directly; call |
Properties
Name | Description |
---|---|
library | The library of reference objects for which to scan. This must be set to non-null
before calling On |
Methods
Name | Description |
---|---|
Get |
Get changes to XRTracked |
On |
Starts scanning for the reference objects in library. |
On |
Stops scanning for objects. |
Register<T>(string, Capabilities) | Registers an implementation of the XRObject |
Register<TProvider, TSubsystem |
Registers a new implementation of the XRObject |