Class reference

OpenXRCompositionLayerCylinder

Inherits OpenXRCompositionLayer

Experimental.

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

Description

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

Properties

float aspect_ratio = 1.0

The aspect ratio of the slice. Used to set the height relative to the width.

float central_angle = 1.5707964

The central angle of the cylinder. Used to set the width.

int fallback_segments = 10

The number of segments to use in the fallback mesh.

float radius = 1.0

The radius of the cylinder.

Source revision 4f5b14abade2
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.