Expand description

Load MagicaVoxel .vox files from Rust.

Modules

Data extracted from placeholder.vox for example and testing purposes

Structs

The default palette used by MagicaVoxel – this is supplied if no palette is included in the .vox file.
Container for .vox file data.
Represents an animation. The chunk is oriented according to the rotation (_r) is placed at the position (t) specified. The Rotation is instantaneous and happens at the start of the frame. The animation is interpolated across the sequence of Frames using their positions.
Layer information.
A material used to render this model.
A renderable voxel model.
Node header.
Represents a translation. Used to position a chunk relative to other chunks.
Layer information (raw).
Group node.
Shape node.
Transform node.
A model reference in a shape node.
The dimensions of a model in voxels.
A voxel.

Enums

Scene graph nodes for representing a scene in DotVoxData.

Functions

Loads the supplied MagicaVoxel .vox file
Parses the byte array as a .vox file.

Type Definitions

General dictionary.