OpenXRInteractionProfile
Inherits: Resource < RefCounted < Object
Suggested bindings object for OpenXR.
Description
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
| Array | binding_modifiers | [] |
|---|---|---|
| Array | bindings | [] |
| String | interaction_profile_path | "" |
Methods
| 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
Array binding_modifiers = [] 🔗
Binding modifiers for this interaction profile.
Action bindings for this interaction profile.
String interaction_profile_path = "" 🔗
The interaction profile path identifying the XR device.
Method Descriptions
OpenXRIPBinding get_binding\ (\ index: int\ ) const 🔗
Retrieve the binding at this index.
int get_binding_count\ (\ ) const 🔗
Get the number of bindings in this interaction profile.
OpenXRIPBindingModifier get_binding_modifier\ (\ index: int\ ) const 🔗
Get the OpenXRBindingModifier at this index.
int get_binding_modifier_count\ (\ ) const 🔗
Get the number of binding modifiers in this interaction profile.