Skip to content

OpenXRInteractionProfile

Inherits: Resource < RefCounted < Object

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.

Type Name Default
Array binding_modifiers []
Array bindings []
String interaction_profile_path ""
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

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.

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.