mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Implementing OpenXR driver
This commit is contained in:
committed by
Rémi Verschelde
parent
65bae5a341
commit
a78a9fee71
40
modules/openxr/doc_classes/OpenXRActionSet.xml
Normal file
40
modules/openxr/doc_classes/OpenXRActionSet.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="OpenXRActionSet" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
||||
<brief_description>
|
||||
Collection of [OpenXRAction] resources that make up an action set.
|
||||
</brief_description>
|
||||
<description>
|
||||
Action sets in OpenXR define a collection of actions that can be activated in unison. This allows games to easily change between different states that require different inputs or need to reinterpret inputs. For instance we could have an action set that is active when a menu is open, an action set that is active when the player is freely walking around and an action set that is active when the player is controlling a vehicle.
|
||||
Action sets can contain the same actions, or actions with the same name, if such action sets are active at the same time the action set with the highest priority defines which binding is active.
|
||||
Note that the name of the resource is used to identify the action set within OpenXR.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="add_action">
|
||||
<return type="void" />
|
||||
<argument index="0" name="action" type="OpenXRAction" />
|
||||
<description>
|
||||
Add an action to this action set.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_action">
|
||||
<return type="void" />
|
||||
<argument index="0" name="action" type="OpenXRAction" />
|
||||
<description>
|
||||
Remove an action from this action set.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="actions" type="Array" setter="set_actions" getter="get_actions" default="[]">
|
||||
Collection of actions for this action set.
|
||||
</member>
|
||||
<member name="localized_name" type="String" setter="set_localized_name" getter="get_localized_name" default="""">
|
||||
The localised name of this action set.
|
||||
</member>
|
||||
<member name="priority" type="int" setter="set_priority" getter="get_priority" default="0">
|
||||
The priority for this action set.
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
||||
Reference in New Issue
Block a user