Skip to content
0.2.0-dev Download ZIP
39 lines ·1.5 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="OpenXRSpatialContainerState" inherits="RefCounted" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
3 <brief_description>
4 An object representing the state of an OpenXR spatial container.
5 </brief_description>
6 <description>
7 The [OpenXRSpatialContainerState] object holds information about the current state of a spatial container, including its visibility, interactability, and bounds mode.
8 </description>
9 <tutorials>
10 </tutorials>
11 <methods>
12 <method name="get_bounds_mode" qualifiers="const">
13 <return type="int" enum="OpenXRSpatialContainerState.BoundsMode" />
14 <description>
15 Returns the current bounds mode of the spatial container.
16 </description>
17 </method>
18 <method name="is_interactable" qualifiers="const">
19 <return type="bool" />
20 <description>
21 Returns the current interactability of the spatial container.
22 </description>
23 </method>
24 <method name="is_visible" qualifiers="const">
25 <return type="bool" />
26 <description>
27 Returns the current visibility state of the spatial container.
28 </description>
29 </method>
30 </methods>
31 <constants>
32 <constant name="BOUNDS_MODE_BOUNDED" value="0" enum="BoundsMode">
33 The spatial container is in bounded mode.
34 </constant>
35 <constant name="BOUNDS_MODE_IMMERSIVE" value="1" enum="BoundsMode">
36 The spatial container is in immersive mode.
37 </constant>
38 </constants>
39</class>