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

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

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

Full height of the sphere. Defaults to 2.0.

isHemisphere
bool isHemisphere [@property setter]

Determines whether a full sphere or a hemisphere is created. Attention: To get a regular hemisphere the height and radius of the sphere have to equal. Defaults to false.

isHemisphere
bool isHemisphere [@property getter]

Determines whether a full sphere or a hemisphere is created. Attention: To get a regular hemisphere the height and radius of the sphere have to equal. Defaults to false.

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

Number of radial segments on the sphere. Defaults to 64.

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

Radius of sphere. Defaults to 1.0.

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

Number of segments along the height of the sphere. Defaults to 32.

Static functions

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