CSGCylinder

A CSG Cylinder shape.

This node allows you to create a cylinder (or cone) for use with the CSG system.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getHeight
double getHeight()
getMaterial
Ref!Material getMaterial()
getRadius
double getRadius()
getSides
long getSides()
getSmoothFaces
bool getSmoothFaces()
isCone
bool isCone()
opAssign
CSGCylinder opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(CSGCylinder other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setCone
void setCone(bool cone)
setHeight
void setHeight(double height)
setMaterial
void setMaterial(Material material)
setRadius
void setRadius(double radius)
setSides
void setSides(long sides)
setSmoothFaces
void setSmoothFaces(bool smooth_faces)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

cone
bool cone [@property getter]
bool cone [@property setter]

If true a cone is created, the radius will only apply to one side.

height
double height [@property getter]
double height [@property setter]

The height of the cylinder.

radius
double radius [@property getter]
double radius [@property setter]

The radius of the cylinder.

sides
long sides [@property getter]
long sides [@property setter]

The number of sides of the cylinder, the higher this number the more detail there will be in the cylinder.

smoothFaces
bool smoothFaces [@property getter]
bool smoothFaces [@property setter]

If true the normals of the cylinder are set to give a smooth effect making the cylinder seem rounded. When false the cylinder will have a flat shaded look.

Static functions

_new
CSGCylinder _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta