voxolith

toSprite()

Surface voxels of a model (or all of them), ready to stamp.

function toSprite(model: EntityModel, opts?: object): Sprite;

Defined in: engine/src/dynamic.ts:34

Parameters

ParameterType
modelEntityModel
opts?{ surfaceOnly?: boolean; }
opts.surfaceOnly?boolean

Returns

Sprite

On this page