Function: extrusionDepths()
ts
function extrusionDepths(depth, count, widths): number | Float32Array<ArrayBufferLike>;Experimental
depth per shape in px: a number (px), a percentage string of the shape's width ('60%'), or an array of numbers (px). widths(i): shape i's width in px.
Parameters
| Parameter | Type |
|---|---|
depth | unknown |
count | number |
widths | (i) => number |
Returns
number | Float32Array<ArrayBufferLike>