Table of Contents

Class OpenXRCompositionLayerCylinder

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

Inheritance
OpenXRCompositionLayerCylinder

Remarks

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

Properties

aspect_ratio

The aspect ratio of the slice. Used to set the height relative to the width.

var aspect_ratio : float = 1.0

Property Value

float

Remarks

  • void set_aspect_ratio(float value)
  • float get_aspect_ratio

central_angle

The central angle of the cylinder. Used to set the width.

var central_angle : float = 1.5708

Property Value

float

Remarks

  • void set_central_angle(float value)
  • float get_central_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

radius

The radius of the cylinder.

var radius : float = 1.0

Property Value

float

Remarks