Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/modules/openxr/doc_classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.xml
11323 views
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<class name="OpenXRSpatialCapabilityConfigurationPlaneTracking" inherits="OpenXRSpatialCapabilityConfigurationBaseHeader" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
3
<brief_description>
4
Configuration header for plane tracking.
5
</brief_description>
6
<description>
7
Configuration header for plane tracking. Pass this to [method OpenXRSpatialEntityExtension.create_spatial_context] to create a spatial context with plane tracking capabilities.
8
</description>
9
<tutorials>
10
</tutorials>
11
<methods>
12
<method name="get_enabled_components" qualifiers="const">
13
<return type="PackedInt64Array" />
14
<description>
15
Returns the components enabled by this configuration.
16
[b]Note:[/b] Only valid after this configuration was used to create a spatial context.
17
</description>
18
</method>
19
<method name="supports_labels">
20
<return type="bool" />
21
<description>
22
Returns [code]true[/code] if we support the plane semantic label component (only valid after the OpenXR session has started). You can query these using the [OpenXRSpatialComponentPlaneSemanticLabelList] data object.
23
</description>
24
</method>
25
<method name="supports_mesh_2d">
26
<return type="bool" />
27
<description>
28
Returns [code]true[/code] if we support the mesh 2D component (only valid after the OpenXR session has started). You can query these using the [OpenXRSpatialComponentMesh2DList] data object.
29
</description>
30
</method>
31
<method name="supports_polygons">
32
<return type="bool" />
33
<description>
34
Returns [code]true[/code] if we support the polygon 2D component (only valid after the OpenXR session has started). You can query these using the [OpenXRSpatialComponentPolygon2DList] data object.
35
</description>
36
</method>
37
</methods>
38
</class>
39
40