Geometry · function
solidFrustum
A frustum with explicit radii at its bottom (−length/2) and top (+length/2), capped.
Explained in Hello world, Meshes and geometry.
function solidFrustum(radiusBottom: number, radiusTop: number, length: number, segments: number, smooth?: boolean): Solidimport { solidFrustum } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
radiusBottom | number | |
radiusTop | number | |
length | number | |
segments | number | |
smooth? | boolean |