CubeMesh

Generate an axis-aligned cuboid PrimitiveMesh.

Members

Aliases

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

Functions

getSize
Vector3 getSize()
getSubdivideDepth
long getSubdivideDepth()
getSubdivideHeight
long getSubdivideHeight()
getSubdivideWidth
long getSubdivideWidth()
opAssign
CubeMesh opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(CubeMesh 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.
setSize
void setSize(Vector3 size)
setSubdivideDepth
void setSubdivideDepth(long divisions)
setSubdivideHeight
void setSubdivideHeight(long divisions)
setSubdivideWidth
void setSubdivideWidth(long subdivide)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

size
Vector3 size [@property getter]
Vector3 size [@property setter]

Size of the cuboid mesh. Defaults to (2, 2, 2).

subdivideDepth
long subdivideDepth [@property getter]
long subdivideDepth [@property setter]

Number of extra edge loops inserted along the z-axis. Defaults to 0.

subdivideHeight
long subdivideHeight [@property getter]
long subdivideHeight [@property setter]

Number of extra edge loops inserted along the y-axis. Defaults to 0.

subdivideWidth
long subdivideWidth [@property getter]
long subdivideWidth [@property setter]

Number of extra edge loops inserted along the x-axis. Defaults to 0.

Static functions

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