Inherits: Resource < RefCounted < Object
Defines a binding between an OpenXRAction and an XR input or output.
This binding resource binds an OpenXRAction to inputs or outputs. As most controllers have left hand and right versions that are handled by the same interaction profile we can specify multiple bindings. For instance an action "Fire" could be bound to both "/user/hand/left/input/trigger" and "/user/hand/right/input/trigger".
|
void | |
get_path_count ( ) const | |
void | remove_path ( String path ) |
OpenXRAction that is bound to these paths.
PackedStringArray()
Paths that define the inputs or outputs bound on the device.
Add an input/output path to this binding.
Get the number of input/output paths in this binding.
Returns true if this input/output path is part of this binding.
Removes this input/output path from this binding.
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_openxripbinding.html