Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

OpenXRCompositionLayerCylinder

Expérimental : This class may be changed or removed in future versions.

Hérite de : OpenXRCompositionLayer < Node3D < Node < Object

Un calque de composition OpenXR qui est rendu comme une tranche interne d'un cylindre.

Description

Un calque de composition OpenXR qui permet le rendu d'un SubViewport sur une tranche interne d'un cylindre.

Propriétés

float

aspect_ratio

1.0

float

central_angle

1.5707964

int

fallback_segments

10

float

radius

1.0


Descriptions des propriétés

float aspect_ratio = 1.0 🔗

  • void set_aspect_ratio(value: float)

  • float get_aspect_ratio()

Le rapport d'aspect de la tranche. Utilisé pour définir la hauteur par rapport à la largeur.


float central_angle = 1.5707964 🔗

  • void set_central_angle(value: float)

  • float get_central_angle()

L'angle central du cylindre. Utilisé pour définir la largeur.


int fallback_segments = 10 🔗

  • void set_fallback_segments(value: int)

  • int get_fallback_segments()

Le nombre de segments à utiliser dans le maillage de repli.


float radius = 1.0 🔗

  • void set_radius(value: float)

  • float get_radius()

Le rayon du cylindre.