CSGTorus

A CSG Torus shape.

This node allows you to create a torus for use with the CSG system.

Members

Aliases

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

Functions

getInnerRadius
double getInnerRadius()
getMaterial
Ref!Material getMaterial()
getOuterRadius
double getOuterRadius()
getRingSides
long getRingSides()
getSides
long getSides()
getSmoothFaces
bool getSmoothFaces()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(CSGTorus other)
opEquals
bool opEquals(typeof(null) n)
setInnerRadius
void setInnerRadius(double radius)
setMaterial
void setMaterial(Material material)
setOuterRadius
void setOuterRadius(double radius)
setRingSides
void setRingSides(long sides)
setSides
void setSides(long sides)
setSmoothFaces
void setSmoothFaces(bool smooth_faces)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

innerRadius
double innerRadius [@property getter]
double innerRadius [@property setter]

The inner radius of the torus.

outerRadius
double outerRadius [@property getter]
double outerRadius [@property setter]

The outer radius of the torus.

ringSides
long ringSides [@property getter]
long ringSides [@property setter]

The number of edges each ring of the torus is constructed of.

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

The number of slices the torus is constructed of.

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

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

Static functions

_new
CSGTorus _new()

Construct a new instance of CSGTorus. Note: use memnew!CSGTorus instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
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
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(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