Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
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
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.
The number of segments to use in the fallback mesh.
The radius of the cylinder.