OpenXRInteractionProfile
Inherits: Resource < RefCounted < Object
Description
Section titled “Description”Suggested bindings object for OpenXR.
This object stores suggested bindings for an interaction profile. Interaction profiles define the metadata for a tracked XR device such as an XR controller.
For more information see the interaction profiles info in the OpenXR specification.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Array | binding_modifiers |
[] |
| Array | bindings |
[] |
| String | interaction_profile_path |
"" |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| OpenXRIPBinding | get_binding(index: int) const |
| int | get_binding_count() const |
| OpenXRIPBindingModifier | get_binding_modifier(index: int) const |
| int | get_binding_modifier_count() const |
Property descriptions
Section titled “Property descriptions”binding_modifiers
Array binding_modifiers = []
Binding modifiers for this interaction profile.
bindings
Array bindings = []
Action bindings for this interaction profile.
interaction_profile_path
String interaction_profile_path = ""
The interaction profile path identifying the XR device.
Method descriptions
Section titled “Method descriptions”get_binding
OpenXRIPBinding get_binding(index: int) const
Retrieve the binding at this index.
get_binding_count
int get_binding_count() const
Get the number of bindings in this interaction profile.
get_binding_modifier
OpenXRIPBindingModifier get_binding_modifier(index: int) const
Get the OpenXRBindingModifier at this index.
get_binding_modifier_count
int get_binding_modifier_count() const
Get the number of binding modifiers in this interaction profile.
