Path: blob/master/modules/openxr/doc_classes/OpenXRSpatialCapabilityConfigurationPlaneTracking.xml
11323 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="OpenXRSpatialCapabilityConfigurationPlaneTracking" inherits="OpenXRSpatialCapabilityConfigurationBaseHeader" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3Configuration header for plane tracking.4</brief_description>5<description>6Configuration header for plane tracking. Pass this to [method OpenXRSpatialEntityExtension.create_spatial_context] to create a spatial context with plane tracking capabilities.7</description>8<tutorials>9</tutorials>10<methods>11<method name="get_enabled_components" qualifiers="const">12<return type="PackedInt64Array" />13<description>14Returns the components enabled by this configuration.15[b]Note:[/b] Only valid after this configuration was used to create a spatial context.16</description>17</method>18<method name="supports_labels">19<return type="bool" />20<description>21Returns [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.22</description>23</method>24<method name="supports_mesh_2d">25<return type="bool" />26<description>27Returns [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.28</description>29</method>30<method name="supports_polygons">31<return type="bool" />32<description>33Returns [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.34</description>35</method>36</methods>37</class>383940