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.

TorusMesh

Eredita: PrimitiveMesh < Mesh < Resource < RefCounted < Object

Classe che rappresenta un PrimitiveMesh toro.

Descrizione

Classe che rappresenta un PrimitiveMesh toro.

Proprietà

float

inner_radius

0.5

float

outer_radius

1.0

int

ring_segments

32

int

rings

64


Descrizioni delle proprietà

float inner_radius = 0.5 🔗

  • void set_inner_radius(value: float)

  • float get_inner_radius()

Il raggio interno del toro.


float outer_radius = 1.0 🔗

  • void set_outer_radius(value: float)

  • float get_outer_radius()

Il raggio esterno del toro.


int ring_segments = 32 🔗

  • void set_ring_segments(value: int)

  • int get_ring_segments()

Il numero di spigoli di cui è costituito ciascun anello del toro.


int rings = 64 🔗

  • void set_rings(value: int)

  • int get_rings()

Il numero di sezioni di cui è costituito il toro.