OpenXRSpatialContainerState
An object representing the state of an OpenXR spatial container.
An object representing the state of an OpenXR spatial container.
The OpenXRSpatialContainerState object holds information about the current state of a spatial container, including its visibility, interactability, and bounds mode.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
OpenXRSpatialContainerStateConstructor
public OpenXRSpatialContainerState();Methods3
GetBoundsModeOpenXRSpatialContainerState.BoundsMode
public OpenXRSpatialContainerState.BoundsMode GetBoundsMode();Returns the current bounds mode of the spatial container.
Returns
OpenXRSpatialContainerState.BoundsModeIsInteractablebool
public bool IsInteractable();Returns the current interactability of the spatial container.
Returns
boolIsVisiblebool
public bool IsVisible();Returns the current visibility state of the spatial container.
Returns
boolOpenXRSpatialContainerState.BoundsMode
| Value | Description |
|---|---|
Bounded = 0 | The spatial container is in bounded mode. |
Immersive = 1 | The spatial container is in immersive mode. |
Reckfell Engine documentationBack to top ↑