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
繼承: RefCounted < Object
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.
方法
get_bounds_mode() const |
|
is_interactable() const |
|
is_visible() const |
列舉
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.
方法說明
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.