Class AndroidOpenXRBoundingBoxSubsystem
The Android-OpenXR implementation of the UnityEngine.XR.ARSubsystems.XRBoundingBoxSubsystem.
Inheritance
SubsystemWithProvider<XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>
TrackingSubsystem<XRBoundingBox, XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>
XRBoundingBoxSubsystem
AndroidOpenXRBoundingBoxSubsystem
Implements
Inherited Members
SubsystemWithProvider<XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>.subsystemDescriptor
Namespace: UnityEngine.XR.OpenXR.Features.Android
Assembly: Unity.XR.AndroidOpenXR.dll
Syntax
[Preserve]
public sealed class AndroidOpenXRBoundingBoxSubsystem : XRBoundingBoxSubsystem, ISubsystem
Methods
GetBoundingBoxDetectionMode()
Gets which bounding boxes are currently being detected.
Declaration
public BoundingBoxClassifications GetBoundingBoxDetectionMode()
Returns
Type | Description |
---|---|
BoundingBoxClassifications | The classifications of bounding boxes that are being detected. |
GetSupportedBoundingBoxDetectionModes()
Gets which bounding boxes classifications for which detection is supported.
Declaration
public BoundingBoxClassifications GetSupportedBoundingBoxDetectionModes()
Returns
Type | Description |
---|---|
BoundingBoxClassifications | The classifications of bounding boxes for which detection is supported. |
TrySetBoundingBoxDetectionMode(BoundingBoxClassifications)
Attempts to set which bounding boxes will be detected.
Declaration
public XRResultStatus TrySetBoundingBoxDetectionMode(BoundingBoxClassifications detectionMode)
Parameters
Type | Name | Description |
---|---|---|
BoundingBoxClassifications | detectionMode | Specifies which classifications of bounding boxes should be detected. |
Returns
Type | Description |
---|---|
XRResultStatus | The status of setting the detection mode. |