Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRCompositionLayerCylinder¶
Experimental: This class may be changed or removed in future versions.
Inherits: OpenXRCompositionLayer < Node3D < Node < Object
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¶
|
||
|
||
|
||
|
Property Descriptions¶
float aspect_ratio = 1.0
The aspect ratio of the slice. Used to set the height relative to the width.
float central_angle = 1.5708
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.