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.
OpenXRCompositionLayerEquirect
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 sphere.
Description
An OpenXR composition layer that allows rendering a SubViewport on an internal slice of a sphere.
Properties
|
||
|
||
|
||
|
||
|
Property Descriptions
float central_horizontal_angle = 1.5708 🔗
The central horizontal angle of the sphere. Used to set the width.
The number of segments to use in the fallback mesh.
float lower_vertical_angle = 0.785398 🔗
The lower vertical angle of the sphere. Used (together with upper_vertical_angle) to set the height.
The radius of the sphere.
float upper_vertical_angle = 0.785398 🔗
The upper vertical angle of the sphere. Used (together with lower_vertical_angle) to set the height.