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.

PrismMesh

Eredita: PrimitiveMesh < Mesh < Resource < RefCounted < Object

Classe che rappresenta un PrimitiveMesh a forma di prisma.

Descrizione

Classe che rappresenta un PrimitiveMesh a forma di prisma.

Proprietà

float

left_to_right

0.5

Vector3

size

Vector3(1, 1, 1)

int

subdivide_depth

0

int

subdivide_height

0

int

subdivide_width

0


Descrizioni delle proprietà

float left_to_right = 0.5 🔗

  • void set_left_to_right(value: float)

  • float get_left_to_right()

Spostamento del bordo superiore lungo l'asse X. 0,0 posiziona il bordo direttamente sopra il bordo inferiore sinistro.


Vector3 size = Vector3(1, 1, 1) 🔗

Dimensioni del prisma.


int subdivide_depth = 0 🔗

  • void set_subdivide_depth(value: int)

  • int get_subdivide_depth()

Numero di anelli sui bordi aggiunti lungo l'asse Z.


int subdivide_height = 0 🔗

  • void set_subdivide_height(value: int)

  • int get_subdivide_height()

Numero di anelli sui bordi aggiunti lungo l'asse Y.


int subdivide_width = 0 🔗

  • void set_subdivide_width(value: int)

  • int get_subdivide_width()

Numero di anelli sui bordi aggiunti lungo l'asse X.