Path: blob/master/modules/openxr/doc_classes/OpenXRMarkerTracker.xml
11323 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="OpenXRMarkerTracker" inherits="OpenXRSpatialEntityTracker" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3Spatial entity tracker for our spatial entity marker tracking extension.4</brief_description>5<description>6Spatial entity tracker for our OpenXR spatial entity marker tracking extension. These trackers identify entities in our real space detected by a visual marker such as a QRCode or Aruco code, and map their location to our virtual space.7</description>8<tutorials>9</tutorials>10<methods>11<method name="get_marker_data" qualifiers="const">12<return type="Variant" />13<description>14Returns the marker data for this marker. This can return a [String] or [PackedByteArray]. Only applicable to QR Code based markers.15</description>16</method>17<method name="set_marker_data">18<return type="void" />19<param index="0" name="marker_data" type="Variant" />20<description>21Sets the marker data for this marker.22[b]Note:[/b] This should only be set by marker discovery logic.23</description>24</method>25</methods>26<members>27<member name="bounds_size" type="Vector2" setter="set_bounds_size" getter="get_bounds_size" default="Vector2(0, 0)">28The bounds size for this marker.29</member>30<member name="marker_id" type="int" setter="set_marker_id" getter="get_marker_id" default="0">31The marker ID for this marker, this is only returned for Aruco and April Tag markers. Call [method get_marker_data] for QRCode markers.32</member>33<member name="marker_type" type="int" setter="set_marker_type" getter="get_marker_type" enum="OpenXRSpatialComponentMarkerList.MarkerType" default="0">34The type of marker.35</member>36</members>37</class>383940