Skip to content

OpenXRCompositionLayerCylinder

Inherits: OpenXRCompositionLayer < Entity3D < Entity < Object

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

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

Type Name Default
float aspect_ratio 1.0
float central_angle 1.5707964
int fallback_segments 10
float radius 1.0

aspect_ratio

float aspect_ratio = 1.0

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

central_angle

float central_angle = 1.5707964

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

fallback_segments

int fallback_segments = 10

The number of segments to use in the fallback mesh.

radius

float radius = 1.0

The radius of the cylinder.