Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRSpatialContainerState
Inherits: RefCounted < Object
An object representing the state of an OpenXR spatial container.
Description
The OpenXRSpatialContainerState object holds information about the current state of a spatial container, including its visibility, interactability, and bounds mode.
Methods
get_bounds_mode() const |
|
is_interactable() const |
|
is_visible() const |
Enumerations
enum BoundsMode: 🔗
BoundsMode BOUNDS_MODE_BOUNDED = 0
The spatial container is in bounded mode.
BoundsMode BOUNDS_MODE_IMMERSIVE = 1
The spatial container is in immersive mode.
Method Descriptions
BoundsMode get_bounds_mode() const 🔗
Returns the current bounds mode of the spatial container.
bool is_interactable() const 🔗
Returns the current interactability of the spatial container.
Returns the current visibility state of the spatial container.