CapsuleMesh

Class representing a capsule-shaped PrimitiveMesh.

Members

Aliases

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

Functions

getMidHeight
double getMidHeight()
getRadialSegments
long getRadialSegments()
getRadius
double getRadius()
getRings
long getRings()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(CapsuleMesh other)
opEquals
bool opEquals(typeof(null) n)
setMidHeight
void setMidHeight(double mid_height)
setRadialSegments
void setRadialSegments(long segments)
setRadius
void setRadius(double radius)
setRings
void setRings(long rings)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

midHeight
double midHeight [@property getter]
double midHeight [@property setter]

Height of the middle cylindrical part of the capsule (without the hemispherical ends). Note: The capsule's total height is equal to midHeight + 2 * radius.

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

Number of radial segments on the capsule mesh.

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

Radius of the capsule mesh.

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

Number of rings along the height of the capsule.

Static functions

_new
CapsuleMesh _new()

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