renderModel()
Render a model, dense or sparse, with a DDA raymarcher over its own grid. The camera orbits the model's centre at yawDeg and pitchDeg, framed to fit; see renderEntity.
function renderModel(model: EntityModel, opts?: RenderOptions): RenderResult;Defined in: preview/render.ts:106
Parameters
| Parameter | Type |
|---|---|
model | EntityModel |
opts? | RenderOptions |