Skip to content

Function: setBarExtruder() ​

ts
function setBarExtruder(fn): void;

Experimental

Install (or remove) the extruder of bars with depth (plan E9.10). The full bundle (@mk7s/holochart) installs render's extrudeRects and registers bar with the depth, bevel and material attributes (core withExtrusion); partial bundles opt in the same way.

Parameters ​

ParameterType
fn((host, rects, data, lift) => void) | undefined

Returns ​

void

Released under the MIT License.