OverviewFilesCommitsIssuesDocsReleasesPeers

nvidia-rtx-godot / modules / openxr / doc_classes / OpenXRSpatialCapabilityConfigurationAruco.xml

77 lines · xml ref:
<?xml version="1.0" encoding="UTF-8" ?>
<class name="OpenXRSpatialCapabilityConfigurationAruco" inherits="OpenXRSpatialCapabilityConfigurationBaseHeader" api_type="core" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
	<brief_description>
		Configuration header for Aruco markers.
	</brief_description>
	<description>
		Configuration header for Aruco markers. Pass this to [method OpenXRSpatialEntityExtension.create_spatial_context] to create a spatial context that can detect Aruco markers.
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="get_enabled_components" qualifiers="const">
			<return type="PackedInt64Array" />
			<description>
				Returns the components enabled by this configuration.
				[b]Note:[/b] Only valid after this configuration was used to create a spatial context.
			</description>
		</method>
	</methods>
	<members>
		<member name="aruco_dict" type="int" setter="set_aruco_dict" getter="get_aruco_dict" enum="OpenXRSpatialCapabilityConfigurationAruco.ArucoDict" default="16">
			Dictionary to use to decode Aruco markers.
			[b]Note:[/b] Must be set before using this configuration to create a spatial context.
		</member>
	</members>
	<constants>
		<constant name="ARUCO_DICT_4X4_50" value="1" enum="ArucoDict">
			4 by 4 pixel Aruco marker dictionary with 50 IDs.
		</constant>
		<constant name="ARUCO_DICT_4X4_100" value="2" enum="ArucoDict">
			4 by 4 pixel Aruco marker dictionary with 100 IDs.
		</constant>
		<constant name="ARUCO_DICT_4X4_250" value="3" enum="ArucoDict">
			4 by 4 pixel Aruco marker dictionary with 250 IDs.
		</constant>
		<constant name="ARUCO_DICT_4X4_1000" value="4" enum="ArucoDict">
			4 by 4 pixel Aruco marker dictionary with 1000 IDs.
		</constant>
		<constant name="ARUCO_DICT_5X5_50" value="5" enum="ArucoDict">
			5 by 5 pixel Aruco marker dictionary with 50 IDs.
		</constant>
		<constant name="ARUCO_DICT_5X5_100" value="6" enum="ArucoDict">
			5 by 5 pixel Aruco marker dictionary with 100 IDs.
		</constant>
		<constant name="ARUCO_DICT_5X5_250" value="7" enum="ArucoDict">
			5 by 5 pixel Aruco marker dictionary with 250 IDs.
		</constant>
		<constant name="ARUCO_DICT_5X5_1000" value="8" enum="ArucoDict">
			5 by 5 pixel Aruco marker dictionary with 1000 IDs.
		</constant>
		<constant name="ARUCO_DICT_6X6_50" value="9" enum="ArucoDict">
			6 by 6 pixel Aruco marker dictionary with 50 IDs.
		</constant>
		<constant name="ARUCO_DICT_6X6_100" value="10" enum="ArucoDict">
			6 by 6 pixel Aruco marker dictionary with 100 IDs.
		</constant>
		<constant name="ARUCO_DICT_6X6_250" value="11" enum="ArucoDict">
			6 by 6 pixel Aruco marker dictionary with 250 IDs.
		</constant>
		<constant name="ARUCO_DICT_6X6_1000" value="12" enum="ArucoDict">
			6 by 6 pixel Aruco marker dictionary with 1000 IDs.
		</constant>
		<constant name="ARUCO_DICT_7X7_50" value="13" enum="ArucoDict">
			7 by 7 pixel Aruco marker dictionary with 50 IDs.
		</constant>
		<constant name="ARUCO_DICT_7X7_100" value="14" enum="ArucoDict">
			7 by 7 pixel Aruco marker dictionary with 100 IDs.
		</constant>
		<constant name="ARUCO_DICT_7X7_250" value="15" enum="ArucoDict">
			7 by 7 pixel Aruco marker dictionary with 250 IDs.
		</constant>
		<constant name="ARUCO_DICT_7X7_1000" value="16" enum="ArucoDict">
			7 by 7 pixel Aruco marker dictionary with 1000 IDs.
		</constant>
	</constants>
</class>