OpenXRSpatialContainerState
Inherits: RefCounted < Object
Description
Section titled “Description”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.
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| BoundsMode | get_bounds_mode() const |
| bool | is_interactable() const |
| bool | is_visible() const |
Enumerations
Section titled “Enumerations”BoundsMode
enum BoundsMode
BOUNDS_MODE_BOUNDED = 0
The spatial container is in bounded mode.
BOUNDS_MODE_IMMERSIVE = 1
The spatial container is in immersive mode.
Method descriptions
Section titled “Method descriptions”get_bounds_mode
BoundsMode get_bounds_mode() const
Returns the current bounds mode of the spatial container.
is_interactable
bool is_interactable() const
Returns the current interactability of the spatial container.
is_visible
bool is_visible() const
Returns the current visibility state of the spatial container.
