Table of Contents

Class OpenXRCompositionLayerEquirect

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

Inheritance
OpenXRCompositionLayerEquirect

Remarks

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

Properties

central_horizontal_angle

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

var central_horizontal_angle : float = 1.5708

Property Value

float

Remarks

  • void set_central_horizontal_angle(float value)
  • float get_central_horizontal_angle

fallback_segments

The number of segments to use in the fallback mesh.

var fallback_segments : int = 10

Property Value

int

Remarks

  • void set_fallback_segments(int value)
  • int get_fallback_segments

lower_vertical_angle

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

var lower_vertical_angle : float = 0.785398

Property Value

float

Remarks

  • void set_lower_vertical_angle(float value)
  • float get_lower_vertical_angle

radius

The radius of the sphere.

var radius : float = 1.0

Property Value

float

Remarks

upper_vertical_angle

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

var upper_vertical_angle : float = 0.785398

Property Value

float

Remarks

  • void set_upper_vertical_angle(float value)
  • float get_upper_vertical_angle