You are reading the
(unstable) version of this documentation, which may document features not available
or compatible with Godot 3.x.
Checking the stable version of the documentation...
Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
Inherits: Resource < RefCounted < Object
Collection of OpenXRAction resources that make up an action set.
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 action 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.
add_action ( OpenXRAction action )
get_action_count ( ) const
remove_action ( OpenXRAction action )
Array actions =
Collection of actions for this action set.
String localized_name =
The localized name of this action set.
int priority =
The priority for this action set.
void add_action ( OpenXRAction action )
Add an action to this action set.
int get_action_count ( ) const
Retrieve the number of actions in our action set.
void remove_action ( OpenXRAction action )
Remove an action from this action set.