Class XRObjectTrackingSubsystemDescriptor
Describes features of an XRObject
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRObjectTrackingSubsystemDescriptor : SubsystemDescriptorWithProvider<XRObjectTrackingSubsystem, XRObjectTrackingSubsystem.Provider>, ISubsystemDescriptor
Remarks
Enumerate available subsystems with SubsystemManager.GetSubsystemDescriptors
and instantiate one by calling
Create
on one of the descriptors.
Subsystem implementors can register their subsystem with
Register<T>(string, Capabilities).
Properties
capabilities
Describes the capabilities of an XRObject
Declaration
[Obsolete("XRObjectTrackingSubsystemDescriptor.Capabilities has been deprecated in AR Foundation 6.0. Use XRObjectTrackingSubsystemDescriptor.Cinfo instead of XRObjectTrackingSubsystemDescriptor.Capabilities when registering a descriptor.", false)]
public XRObjectTrackingSubsystemDescriptor.Capabilities capabilities { get; }
Property Value
Type | Description |
---|---|
XRObject |
Methods
Register(Cinfo)
Registers a subsystem descriptor with the SubsystemManager
.
Declaration
public static void Register(XRObjectTrackingSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRObject |
cinfo | Parameters describing the XRObject |