Class XRBoundingBoxSubsystemDescriptor
Indicates the capabilities supported by a provider of the XRBoundingBoxSubsystem. Provider implementations must derive from XRBoundingBoxSubsystem.Provider and may override virtual class members.
Inheritance
XRBoundingBoxSubsystemDescriptor
Implements
Inherited Members
SubsystemDescriptorWithProvider<XRBoundingBoxSubsystem, XRBoundingBoxSubsystem.Provider>.Create()
SubsystemDescriptorWithProvider.providerType
SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRBoundingBoxSubsystemDescriptor : SubsystemDescriptorWithProvider<XRBoundingBoxSubsystem, XRBoundingBoxSubsystem.Provider>, ISubsystemDescriptor
Properties
supportsClassifications
Indicates whether the provider implementation can provide a value for
XRBoundingBox.classifications. If false, all
bounding boxes returned by XRBoundingBoxSubsystem.GetChanges will have
classifications
value of None.
Declaration
public bool supportsClassifications { get; }
Property Value
Type | Description |
---|---|
bool | true if the implementation supports 3D bounding box classifications. Otherwise, false. |
Methods
Register(Cinfo)
Creates a new subsystem descriptor instance and registers it with the SubsystemManager.
Declaration
public static void Register(XRBoundingBoxSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRBoundingBoxSubsystemDescriptor.Cinfo | cinfo | Construction info for the descriptor. |