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.

OpenXRInteractionProfile

Inherits: Resource < RefCounted < Object

Suggested bindings object for OpenXR.

Description

This object stores suggested bindings for an interaction profile. Interaction profiles define the meta data for a tracked XR device such as an XR controller.

For more information see the interaction profiles info in the OpenXR specification.

Properties

Array

bindings

[]

String

interaction_profile_path

""

Methods

OpenXRIPBinding

get_binding ( int index ) const

int

get_binding_count ( ) const


Property Descriptions

Array bindings = []

  • void set_bindings ( Array value )

  • Array get_bindings ( )

Action bindings for this interaction profile.


String interaction_profile_path = ""

  • void set_interaction_profile_path ( String value )

  • String get_interaction_profile_path ( )

The interaction profile path identifying the XR device.


Method Descriptions

OpenXRIPBinding get_binding ( int index ) const

Retrieve the binding at this index.


int get_binding_count ( ) const

Get the number of bindings in this interaction profile.