voxolith

parseVoxScene()

Read the full extended .vox format: every model, the nTRN/nGRP/nSHP scene graph, MATL materials, LAYR layers and keyframes. A file without a scene graph (the base format) samples as its first model at the origin. Headless: import it from @voxolith/renderer/vox in tools.

function parseVoxScene(buffer: ArrayBuffer): VoxScene;

Defined in: vox.ts:251

Parameters

ParameterType
bufferArrayBuffer

Returns

VoxScene

Throws

Error when the magic is not VOX .

On this page