voxolith

VoxModel

One model from a .vox file: its extent, its voxels and the palette they index.

Defined in: vox.ts:35

Properties

PropertyTypeDescriptionDefined in
paletteUint8Array256 RGBA entries (1024 bytes). Index by Voxel.c; entry 0 is unused.vox.ts:40
sizeobjectExtent in voxels, Z-up as stored in the file.vox.ts:37
size.xnumber-vox.ts:37
size.ynumber-vox.ts:37
size.znumber-vox.ts:37
voxelsVoxel[]-vox.ts:38

On this page