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.

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

BoundsMode

get_bounds_mode() const

bool

is_interactable() const

bool

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.


bool is_visible() const 🔗

Returns the current visibility state of the spatial container.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.