Skip to content

OpenXRCompositionLayerEquirect

Inherits: OpenXRCompositionLayer < Entity3D < Entity < Object

An OpenXR composition layer that is rendered as an internal slice of a sphere.

An OpenXR composition layer that allows rendering a SubViewport on an internal slice of a sphere.

Type Name Default
float central_horizontal_angle 1.5707964
int fallback_segments 10
float lower_vertical_angle 0.7853982
float radius 1.0
float upper_vertical_angle 0.7853982

central_horizontal_angle

float central_horizontal_angle = 1.5707964

The central horizontal angle of the sphere. Used to set the width.

fallback_segments

int fallback_segments = 10

The number of segments to use in the fallback mesh.

lower_vertical_angle

float lower_vertical_angle = 0.7853982

The lower vertical angle of the sphere. Used (together with upper_vertical_angle) to set the height.

radius

float radius = 1.0

The radius of the sphere.

upper_vertical_angle

float upper_vertical_angle = 0.7853982

The upper vertical angle of the sphere. Used (together with lower_vertical_angle) to set the height.