You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Expose OpenXRAPI methods to get XrAction handles
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
<link title="XrPosef documentation">https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrPosef.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="action_get_handle">
|
||||
<return type="int" />
|
||||
<param index="0" name="action" type="RID" />
|
||||
<description>
|
||||
Returns the corresponding [code]XrAction[/code] OpenXR handle for the given action RID.
|
||||
</description>
|
||||
</method>
|
||||
<method name="begin_debug_label_region">
|
||||
<return type="void" />
|
||||
<param index="0" name="label_name" type="String" />
|
||||
@@ -36,6 +43,14 @@
|
||||
Marks the end of a debug label region. Removes the latest debug label region added by calling [method begin_debug_label_region].
|
||||
</description>
|
||||
</method>
|
||||
<method name="find_action">
|
||||
<return type="RID" />
|
||||
<param index="0" name="name" type="String" />
|
||||
<param index="1" name="action_set" type="RID" />
|
||||
<description>
|
||||
Returns the [RID] corresponding to an [code]Action[/code] of a matching name, optionally limited to a specified action set.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_error_string">
|
||||
<return type="String" />
|
||||
<param index="0" name="result" type="int" />
|
||||
|
||||
Reference in New Issue
Block a user