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
float aspect_ratio = 1.0The aspect ratio of the slice. Used to set the height relative to the width.
float central_angle = 1.5707964
float central_angle = 1.5707964The central angle of the cylinder. Used to set the width.
int fallback_segments = 10
int fallback_segments = 10The number of segments to use in the fallback mesh.
float radius = 1.0
float radius = 1.0The radius of the cylinder.