Cube

represents a 3d rectangular prism (we abbreviate as cube)

Constructors

this
this(Vector3 size, Color color)
Undocumented in source.

Members

Functions

gen_mesh
Mesh gen_mesh()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Reflect
Undocumented in source.

Properties

size
Vector3 size [@property getter]

get rectangular prism dimensions

Inherited Members

From RenderableMesh

__anonymous
mixin Reflect
Undocumented in source.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
bounds
BoundingBox bounds [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
effect
Effect effect [@property getter]

gets the effect

effect
Effect effect [@property setter]

sets the effect

model
Model model [@property getter]

gets the model

gen_mesh
Mesh gen_mesh()

create the mesh

gen_model
void gen_model()

generate the model (from the mesh)

render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.
debug_render
void debug_render()
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta