Cube
Generates a box mesh with a chosen size and number of divisions per side.
Outputs
| Name | Type | Description |
|---|---|---|
| Output | Mesh | The box. |
Parameters
| Name | Type | Description |
|---|---|---|
| Size | Vector 3 | The width, height and depth of the box. |
| Subdivisions | Vector 3 Int | How many pieces each edge is split into along each axis. 1 leaves a face as one square. |
The Cube operator makes a box centered on the origin, from a cube to a slab or a pillar. Its edges stay sharp when it is lit.
A plain box needs no subdivisions. Add them when an operator that moves vertices, such as Move, comes after it, since it needs vertices to work with.
The texture coordinates run from 0 to 1 across each face, so a texture appears once on every side.
See also Sphere.
Keywords: box, block, primitive, generator, quad, plane