Class RoomPlanBoundingBoxSubsystem
The implementation of the XRBoundingBoxSubsystem. Do not create this directly. Use the SubsystemManager instead.
Inheritance
SubsystemWithProvider<XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>
XRSubsystem<XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>
TrackingSubsystem<XRBoundingBox, XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>
XRBoundingBoxSubsystem
RoomPlanBoundingBoxSubsystem
Implements
Inherited Members
XRSubsystem<XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>.GetPermissionState()
SubsystemWithProvider<XRBoundingBoxSubsystem, XRBoundingBoxSubsystemDescriptor, XRBoundingBoxSubsystem.Provider>.subsystemDescriptor
Namespace: UnityEngine.XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
[Preserve]
public sealed class RoomPlanBoundingBoxSubsystem : XRBoundingBoxSubsystem, ISubsystem
Methods
GetRoomCaptureInstruction(out XRBoundingBoxInstructions)
Receive the instruction during room capture.
Declaration
public void GetRoomCaptureInstruction(out XRBoundingBoxInstructions instruction)
Parameters
| Type | Name | Description |
|---|---|---|
| XRBoundingBoxInstructions | instruction | The instruction from room capture process. |
Examples
IsRoomCapturing()
Check the status of room capture process.
Declaration
public bool IsRoomCapturing()
Returns
| Type | Description |
|---|---|
| bool |
|
Examples
SetupRoomCapture()
Set up room capture.
Declaration
public bool SetupRoomCapture()
Returns
| Type | Description |
|---|---|
| bool |
|
Examples
StartRoomCapture()
Start the room capture process.
Declaration
public void StartRoomCapture()
Examples
StopRoomCapture()
Stop the room capture process.
Declaration
public void StopRoomCapture()
Examples