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
CSGSphere opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(CSGSphere 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.
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)

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. When false the sphere will have a flat shaded look.

Static functions

_new
CSGSphere _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