mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			51 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8" ?>
 | |
| <class name="OpenXRInteractionProfile" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
 | |
| 	<brief_description>
 | |
| 		Suggested bindings object for OpenXR.
 | |
| 	</brief_description>
 | |
| 	<description>
 | |
| 		This object stores suggested bindings for an interaction profile. Interaction profiles define the metadata for a tracked XR device such as an XR controller.
 | |
| 		For more information see the [url=https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#semantic-path-interaction-profiles]interaction profiles info in the OpenXR specification[/url].
 | |
| 	</description>
 | |
| 	<tutorials>
 | |
| 	</tutorials>
 | |
| 	<methods>
 | |
| 		<method name="get_binding" qualifiers="const">
 | |
| 			<return type="OpenXRIPBinding" />
 | |
| 			<param index="0" name="index" type="int" />
 | |
| 			<description>
 | |
| 				Retrieve the binding at this index.
 | |
| 			</description>
 | |
| 		</method>
 | |
| 		<method name="get_binding_count" qualifiers="const">
 | |
| 			<return type="int" />
 | |
| 			<description>
 | |
| 				Get the number of bindings in this interaction profile.
 | |
| 			</description>
 | |
| 		</method>
 | |
| 		<method name="get_binding_modifier" qualifiers="const">
 | |
| 			<return type="OpenXRIPBindingModifier" />
 | |
| 			<param index="0" name="index" type="int" />
 | |
| 			<description>
 | |
| 				Get the [OpenXRBindingModifier] at this index.
 | |
| 			</description>
 | |
| 		</method>
 | |
| 		<method name="get_binding_modifier_count" qualifiers="const">
 | |
| 			<return type="int" />
 | |
| 			<description>
 | |
| 				Get the number of binding modifiers in this interaction profile.
 | |
| 			</description>
 | |
| 		</method>
 | |
| 	</methods>
 | |
| 	<members>
 | |
| 		<member name="binding_modifiers" type="Array" setter="set_binding_modifiers" getter="get_binding_modifiers" default="[]">
 | |
| 			Binding modifiers for this interaction profile.
 | |
| 		</member>
 | |
| 		<member name="bindings" type="Array" setter="set_bindings" getter="get_bindings" default="[]">
 | |
| 			Action bindings for this interaction profile.
 | |
| 		</member>
 | |
| 		<member name="interaction_profile_path" type="String" setter="set_interaction_profile_path" getter="get_interaction_profile_path" default="""">
 | |
| 			The interaction profile path identifying the XR device.
 | |
| 		</member>
 | |
| 	</members>
 | |
| </class>
 | 
