Skip to content

textmode.js / Textmodifier / cylinder

Method: cylinder() ​

ts
cylinder(radius?, height?): void;

Draw a cylinder mesh primitive.

Parameters ​

ParameterTypeDescription
radius?numberRadius in grid cells (defaults to 50).
height?numberHeight in grid cells (defaults to radius).

Returns ​

void

Example ​