Skip to main content

Module types

Module types 

Source
Expand description

Basic types

Structs§

Attributes
Node attributes. These contain meta-data for nodes, such as Transform or Layer.
AttributesIter
An interator over attributes. Created with Attributes::iter.
Color
An 8-bit RGBA color.
ColorIndex
Group
A group node.
Layer
A layer node.
Material
A material definition.
MaterialPalette
A palette of materials
MaterialPaletteIter
An iterator over entries in a MaterialPalette. This is created with MaterialPalette::iter.
MaterialTryFromError
A transform node.
Model
A collection of voxels with a specific size.
Palette
A color palette. This contains colors indexec by u8. It is used to look up colors of a voxel.
PaletteIter
An iterator over entries in a Palette. This is created with Palette::iter.
Shape
A shape node.
Transform
Vector
Version
The version of a .VOX file. This is a wrapper around a u32 and implements Default and the Version::is_supported method.
Voxel

Enums§

MaterialType
A material type.

Type Aliases§

Point
Size