mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add action map editor for OpenXR
This commit is contained in:
@@ -31,6 +31,46 @@
|
||||
Setup this action set with our default actions.
|
||||
</description>
|
||||
</method>
|
||||
<method name="find_action_set" qualifiers="const">
|
||||
<return type="OpenXRActionSet" />
|
||||
<argument index="0" name="name" type="String" />
|
||||
<description>
|
||||
Retrieve an action set by name.
|
||||
</description>
|
||||
</method>
|
||||
<method name="find_interaction_profile" qualifiers="const">
|
||||
<return type="OpenXRInteractionProfile" />
|
||||
<argument index="0" name="name" type="String" />
|
||||
<description>
|
||||
Find an interaction profile by its name (path).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_action_set" qualifiers="const">
|
||||
<return type="OpenXRActionSet" />
|
||||
<argument index="0" name="idx" type="int" />
|
||||
<description>
|
||||
Retrieve the action set at this index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_action_set_count" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Retrieve the number of actions sets in our action map.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_interaction_profile" qualifiers="const">
|
||||
<return type="OpenXRInteractionProfile" />
|
||||
<argument index="0" name="idx" type="int" />
|
||||
<description>
|
||||
Get the interaction profile at this index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_interaction_profile_count" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Retrieve the number of interaction profiles in our action map.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_action_set">
|
||||
<return type="void" />
|
||||
<argument index="0" name="action_set" type="OpenXRActionSet" />
|
||||
@@ -48,8 +88,10 @@
|
||||
</methods>
|
||||
<members>
|
||||
<member name="action_sets" type="Array" setter="set_action_sets" getter="get_action_sets" default="[]">
|
||||
Collection of [OpenXRActionSet]s that are part of this action map.
|
||||
</member>
|
||||
<member name="interaction_profiles" type="Array" setter="set_interaction_profiles" getter="get_interaction_profiles" default="[]">
|
||||
Collection of [OpenXRInteractionProfile]s that are part of this action map.
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user