Base class for XR interface extensions (plugins).
External XR interface plugins should inherit from this class.
Returns the camera feed ID for the CameraFeed registered with the CameraServer that should be presented as the background on an AR capable device (if applicable).
Returns the Transform3D that positions the XRCamera3D in the world.
Returns a PackedVector3Array that represents the play areas boundaries (if applicable).
Returns the projection matrix for the given view as a PackedFloat64Array.
Returns the size of our render target for this interface, this overrides the size of the Viewport marked as the xr viewport.
Returns a PackedStringArray with pose names configured by this interface. Note that user configuration can override this list.
Returns a PackedStringArray with tracker names configured by this interface. Note that user configuration can override this list.
Returns a Dictionary with system information related to this interface.
Returns a Transform3D for a given view.
Returns the format of the texture returned by _get_vrs_texture().
Called after the XR Viewport draw logic has completed.
Called if this is our primary XRInterfaceExtension before we start processing a Viewport for every active XR Viewport, returns true if that viewport should be rendered. An XR interface may return false if the user has taken off their headset and we can pause rendering.
Called if this XRInterfaceExtension is active before rendering starts. Most XR interfaces will sync tracking at this point in time.
Called if this XRInterfaceExtension is active before our physics and game process is called. Most XR interfaces will update its XRPositionalTrackers at this point in time.
Triggers a haptic pulse to be emitted on the specified tracker.
Blits our render results to screen optionally applying lens distortion. This can only be called while processing _commit_views.
Returns a valid RID for a texture to which we should render the current frame if supported by the interface.