OpenXRCompositionLayerCylinder
Inherits: OpenXRCompositionLayer < Entity3D < Entity < Object
Description
Section titled “Description”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.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| float | aspect_ratio |
1.0 |
| float | central_angle |
1.5707964 |
| int | fallback_segments |
10 |
| float | radius |
1.0 |
Property descriptions
Section titled “Property descriptions”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.
