SphereMesh

Class representing a spherical PrimitiveMesh.

Members

Aliases

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

Functions

getHeight
double getHeight()
getIsHemisphere
bool getIsHemisphere()
getRadialSegments
long getRadialSegments()
getRadius
double getRadius()
getRings
long getRings()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(SphereMesh other)
opEquals
bool opEquals(typeof(null) n)
setHeight
void setHeight(double height)
setIsHemisphere
void setIsHemisphere(bool is_hemisphere)
setRadialSegments
void setRadialSegments(long radial_segments)
setRadius
void setRadius(double radius)
setRings
void setRings(long rings)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

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

Full height of the sphere.

isHemisphere
bool isHemisphere [@property getter]
bool isHemisphere [@property setter]

If true, a hemisphere is created rather than a full sphere. Note: To get a regular hemisphere, the height and radius of the sphere must be equal.

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

Number of radial segments on the sphere.

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

Radius of sphere.

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

Number of segments along the height of the sphere.

Static functions

_new
SphereMesh _new()

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