Class XRObjectTrackingSubsystemDescriptor
Describes features of an XRObjectTrackingSubsystem.
Inheritance
XRObjectTrackingSubsystemDescriptor
Implements
Inherited Members
SubsystemDescriptorWithProvider<XRObjectTrackingSubsystem, XRObjectTrackingSubsystem.Provider>.Create()
SubsystemDescriptorWithProvider.providerType
SubsystemDescriptorWithProvider.subsystemTypeOverride
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 XRObjectTrackingSubsystem implementation.
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 |
---|---|
XRObjectTrackingSubsystemDescriptor.Capabilities |
Methods
Register(Cinfo)
Registers a subsystem descriptor with the SubsystemManager
.
Declaration
public static void Register(XRObjectTrackingSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRObjectTrackingSubsystemDescriptor.Cinfo | cinfo | Parameters describing the XRObjectTrackingSubsystem. |