textmode.js / Textmodifier / box
Method: box()
ts
box(
width?,
height?,
depth?): void;Draw a box mesh primitive.
Parameters
| Parameter | Type | Description |
|---|---|---|
width? | number | Width in grid cells (defaults to 50). |
height? | number | Height in grid cells (defaults to width). |
depth? | number | Depth in grid cells (defaults to height). |
Returns
void