Geometry · function
buildShellFill
A solid to stand inside a hollow model, sized from the space it has to fill.
Explained in Hello world, Meshes and geometry.
function buildShellFill(size:import { buildShellFill } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
size | { readonly x: number; readonly y: number; readonly z: number; } | |
baseY | number | |
options? | ShellFillOptions |
In depth
size is the model's own extent in metres and baseY where its underside sits, which is all
this needs: the solid is centred on the origin in x and z, as a fitted model is.