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.
Checking the stable version of the documentation...
CSGCylinder¶
Inherits: CSGPrimitive < CSGShape < GeometryInstance < VisualInstance < CullInstance < Spatial < Node < Object
Una forma de cilindro CSG.
Descripción¶
Este nodo permite crear un cilindro (o cono) para su uso con el sistema CSG.
Propiedades¶
|
||
|
||
|
||
|
||
|
Descripciones de Propiedades¶
bool cone
Default |
|
Setter |
set_cone(value) |
Getter |
is_cone() |
Si se crea un cono de true
, el radius sólo se aplicará a un lado.
float height
Default |
|
Setter |
set_height(value) |
Getter |
get_height() |
La altura del cilindro.
Material material
Setter |
set_material(value) |
Getter |
get_material() |
El material utilizado para la renderización del cilindro.
float radius
Default |
|
Setter |
set_radius(value) |
Getter |
get_radius() |
El radio del cilindro.
int sides
Default |
|
Setter |
set_sides(value) |
Getter |
get_sides() |
Cuanto más alto sea el número de lados del cilindro, más detalles habrá en él.
bool smooth_faces
Default |
|
Setter |
set_smooth_faces(value) |
Getter |
get_smooth_faces() |
Si true
las normales del cilindro se ajustan para dar un efecto suave haciendo que el cilindro parezca redondeado. Si false
el cilindro tendrá un aspecto de sombra plana.