CSGSphere

A CSG Sphere shape.

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

Members

Aliases

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

Functions

getMaterial
Ref!Material getMaterial()
getRadialSegments
long getRadialSegments()
getRadius
double getRadius()
getRings
long getRings()
getSmoothFaces
bool getSmoothFaces()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(CSGSphere other)
opEquals
bool opEquals(typeof(null) n)
setMaterial
void setMaterial(Material material)
setRadialSegments
void setRadialSegments(long radial_segments)
setRadius
void setRadius(double radius)
setRings
void setRings(long rings)
setSmoothFaces
void setSmoothFaces(bool smooth_faces)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

radialSegments
long radialSegments [@property getter]
long radialSegments [@property setter]

Number of vertical slices for the sphere.

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

Radius of the sphere.

rings
long rings [@property getter]
long rings [@property setter]

Number of horizontal slices for the sphere.

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

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

Static functions

_new
CSGSphere _new()

Construct a new instance of CSGSphere. Note: use memnew!CSGSphere 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