Skip to content

textmode.js / Textmodifier / box

Method: box()

ts
box(
   width?, 
   height?, 
   depth?): void;

Draw a box mesh primitive.

Parameters

ParameterTypeDescription
width?numberWidth in grid cells (defaults to 50).
height?numberHeight in grid cells (defaults to width).
depth?numberDepth in grid cells (defaults to height).

Returns

void

Example