Class reference

OpenXRCompositionLayerEquirect

Inherits OpenXRCompositionLayer

Experimental.

An OpenXR composition layer that is rendered as an internal slice of a sphere.

Description

An OpenXR composition layer that allows rendering a SubViewport on an internal slice of a sphere.

Properties

float central_horizontal_angle = 1.5707964

The central horizontal angle of the sphere. Used to set the width.

int fallback_segments = 10

The number of segments to use in the fallback mesh.

float lower_vertical_angle = 0.7853982

The lower vertical angle of the sphere. Used (together with upper_vertical_angle) to set the height.

float radius = 1.0

The radius of the sphere.

float upper_vertical_angle = 0.7853982

The upper vertical angle of the sphere. Used (together with lower_vertical_angle) to set the height.

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.