Our OpenXR interface. The OpenXR interface allows Godot to interact with OpenXR runtimes and make it possible to create XR experiences and games. Due to the needs of OpenXR this interface works slightly different than other plugin based XR interfaces. It needs to be initialized when Godot starts. You need to enable OpenXR, settings for this can be found in your games project settings under the XR heading. You do need to mark a viewport for use with XR in order for Godot to know which render result should be output to the headset. $DOCS_URL/tutorials/xr/setting_up_xr.html Returns a list of action sets registered with Godot (loaded from the action map at runtime). Returns display refresh rates supported by the current HMD. Only returned if this feature is supported by the OpenXR runtime and after the interface has been initialized. If handtracking is enabled, returns the angular velocity of a joint ([param joint]) of a hand ([param hand]) as provided by OpenXR. This is relative to [XROrigin3D]! If handtracking is enabled, returns flags that inform us of the validity of the tracking data. If handtracking is enabled, returns the linear velocity of a joint ([param joint]) of a hand ([param hand]) as provided by OpenXR. This is relative to [XROrigin3D] without worldscale applied! If handtracking is enabled, returns the position of a joint ([param joint]) of a hand ([param hand]) as provided by OpenXR. This is relative to [XROrigin3D] without worldscale applied! If handtracking is enabled, returns the radius of a joint ([param joint]) of a hand ([param hand]) as provided by OpenXR. This is without worldscale applied! If handtracking is enabled, returns the rotation of a joint ([param joint]) of a hand ([param hand]) as provided by OpenXR. If handtracking is enabled and hand tracking source is supported, gets the source of the hand tracking data for [param hand]. If handtracking is enabled and motion range is supported, gets the currently configured motion range for [param hand]. Returns [code]true[/code] if the given action set is active. Returns the capabilities of the eye gaze interaction extension. [b]Note:[/b] This only returns a valid value after OpenXR has been initialized. Returns [code]true[/code] if OpenXR's foveation extension is supported, the interface must be initialized before this returns a valid value. [b]Note:[/b] This feature is only available on the compatibility renderer and currently only available on some stand alone headsets. For Vulkan set [member Viewport.vrs_mode] to [code]VRS_XR[/code] on desktop. Returns [code]true[/code] if OpenXR's hand interaction profile is supported and enabled. [b]Note:[/b] This only returns a valid value after OpenXR has been initialized. Returns [code]true[/code] if OpenXR's hand tracking is supported and enabled. [b]Note:[/b] This only returns a valid value after OpenXR has been initialized. Sets the given action set as active or inactive. Sets the CPU performance level of the OpenXR device. Sets the GPU performance level of the OpenXR device. If handtracking is enabled and motion range is supported, sets the currently configured motion range for [param hand] to [param motion_range]. The display refresh rate for the current HMD. Only functional if this feature is supported by the OpenXR runtime and after the interface has been initialized. Enable dynamic foveation adjustment, the interface must be initialized before this is accessible. If enabled foveation will automatically adjusted between low and [member foveation_level]. [b]Note:[/b] Only works on compatibility renderer. Set foveation level from 0 (off) to 3 (high), the interface must be initialized before this is accessible. [b]Note:[/b] Only works on compatibility renderer. The render size multiplier for the current HMD. Must be set before the interface has been initialized. The minimum radius around the focal point where full quality is guaranteed if VRS is used as a percentage of screen size. [b]Note:[/b] Mobile and Forward+ renderers only. Requires [member Viewport.vrs_mode] to be set to [constant Viewport.VRS_XR]. The strength used to calculate the VRS density map. The greater this value, the more noticeable VRS is. This improves performance at the cost of quality. [b]Note:[/b] Mobile and Forward+ renderers only. Requires [member Viewport.vrs_mode] to be set to [constant Viewport.VRS_XR]. Informs the device CPU performance level has changed in the specified subdomain. Informs the device GPU performance level has changed in the specified subdomain. Informs our OpenXR instance is exiting. Informs the user queued a recenter of the player position. Informs the user the HMD refresh rate has changed. [b]Note:[/b] Only emitted if XR runtime supports the refresh rate extension. Informs our OpenXR session has been started. Informs our OpenXR session now has focus. Informs our OpenXR session is in the process of being lost. Informs our OpenXR session is stopping. Informs our OpenXR session is now visible (output is being sent to the HMD). Left hand. Right hand. Maximum value for the hand enum. Full hand range, if user closes their hands, we make a full fist. Conform to controller, if user closes their hands, the tracked data conforms to the shape of the controller. Maximum value for the motion range enum. The source of hand tracking data is unknown (the extension is likely unsupported). The source of hand tracking is unobstructed, this means that an accurate method of hand tracking is used, e.g. optical hand tracking, data gloves, etc. The source of hand tracking is a controller, bone positions are inferred from controller inputs. Represents the size of the [enum HandTrackedSource] enum. Palm joint. Wrist joint. Thumb metacarpal joint. Thumb proximal joint. Thumb distal joint. Thumb tip joint. Index finger metacarpal joint. Index finger phalanx proximal joint. Index finger phalanx intermediate joint. Index finger phalanx distal joint. Index finger tip joint. Middle finger metacarpal joint. Middle finger phalanx proximal joint. Middle finger phalanx intermediate joint. Middle finger phalanx distal joint. Middle finger tip joint. Ring finger metacarpal joint. Ring finger phalanx proximal joint. Ring finger phalanx intermediate joint. Ring finger phalanx distal joint. Ring finger tip joint. Pinky finger metacarpal joint. Pinky finger phalanx proximal joint. Pinky finger phalanx intermediate joint. Pinky finger phalanx distal joint. Pinky finger tip joint. Represents the size of the [enum HandJoints] enum. The application has entered a non-XR section (head-locked / static screen), during which power savings are to be prioritized. The application has entered a low and stable complexity section, during which reducing power is more important than occasional late rendering frames. The application has entered a high or dynamic complexity section, during which the XR Runtime strives for consistent XR compositing and frame rendering within a thermally sustainable range. The application has entered a section with very high complexity, during which the XR Runtime is allowed to step up beyond the thermally sustainable range. The compositing performance within the runtime has reached a new level. The application rendering performance has reached a new level. The temperature of the device has reached a new level. The sub-domain has reached a level where no further actions other than currently applied are necessary. The sub-domain has reached an early warning level where the application should start proactive mitigation actions. The sub-domain has reached a critical level where the application should start drastic mitigation actions. No flags are set. If set, the orientation data is valid, otherwise, the orientation data is unreliable and should not be used. If set, the orientation data comes from tracking data, otherwise, the orientation data contains predicted data. If set, the positional data is valid, otherwise, the positional data is unreliable and should not be used. If set, the positional data comes from tracking data, otherwise, the positional data contains predicted data. If set, our linear velocity data is valid, otherwise, the linear velocity data is unreliable and should not be used. If set, our angular velocity data is valid, otherwise, the angular velocity data is unreliable and should not be used.