Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

XRInterfaceExtension

Inherits: XRInterface < RefCounted < Object

Base class for XR interface extensions (plugins).

Description

External XR interface plugins should inherit from this class.

Tutorials

Methods

void

_end_frame ( ) virtual

bool

_get_anchor_detection_is_enabled ( ) virtual const

int

_get_camera_feed_id ( ) virtual const

Transform3D

_get_camera_transform ( ) virtual

int

_get_capabilities ( ) virtual const

RID

_get_color_texture ( ) virtual

RID

_get_depth_texture ( ) virtual

StringName

_get_name ( ) virtual const

PackedVector3Array

_get_play_area ( ) virtual const

PlayAreaMode

_get_play_area_mode ( ) virtual const

PackedFloat64Array

_get_projection_for_view ( int view, float aspect, float z_near, float z_far ) virtual

Vector2

_get_render_target_size ( ) virtual

PackedStringArray

_get_suggested_pose_names ( StringName tracker_name ) virtual