Path: blob/master/modules/openxr/doc_classes/OpenXRSpatialComponentMarkerList.xml
11323 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="OpenXRSpatialComponentMarkerList" inherits="OpenXRSpatialComponentData" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3Object for storing the queries marker result data.4</brief_description>5<description>6Object for storing the queries marker result data when calling [method OpenXRSpatialEntityExtension.query_snapshot].7</description>8<tutorials>9</tutorials>10<methods>11<method name="get_marker_data" qualifiers="const">12<return type="Variant" />13<param index="0" name="snapshot" type="RID" />14<param index="1" name="index" type="int" />15<description>16Returns either a [String] or a [PackedByteArray] buffer with data for the marker at this [param index]. Only applicable for QR code markers.17</description>18</method>19<method name="get_marker_id" qualifiers="const">20<return type="int" />21<param index="0" name="index" type="int" />22<description>23Returns the marker ID for the marker at this [param index]. Only applicable for Aruco or April Tag markers.24</description>25</method>26<method name="get_marker_type" qualifiers="const">27<return type="int" enum="OpenXRSpatialComponentMarkerList.MarkerType" />28<param index="0" name="index" type="int" />29<description>30Returns the marker type for the marker at this [param index].31</description>32</method>33</methods>34<constants>35<constant name="MARKER_TYPE_UNKNOWN" value="0" enum="MarkerType">36Unknown or unset marker type.37</constant>38<constant name="MARKER_TYPE_QRCODE" value="1" enum="MarkerType">39Marker based on a QR code.40</constant>41<constant name="MARKER_TYPE_MICRO_QRCODE" value="2" enum="MarkerType">42Marker based on a micro QR code.43</constant>44<constant name="MARKER_TYPE_ARUCO" value="3" enum="MarkerType">45Marker based on an Aruco code.46</constant>47<constant name="MARKER_TYPE_APRIL_TAG" value="4" enum="MarkerType">48Marker based on an April Tag.49</constant>50<constant name="MARKER_TYPE_MAX" value="5" enum="MarkerType">51Maximum value for this enum.52</constant>53</constants>54</class>555657