Skip to content

@divnotes/dn-voxel-loader - v0.1.10 / dn-voxel-loader/types / Voxel

Interface: Voxel<>

dn-voxel-loader/types.Voxel

Table of contents

Properties

Properties

colorIndex

colorIndex: number

1-based index into the palette array.

Defined in

types.js:31


materialId

materialId: number

Optional material ID if present

Defined in

types.js:32


x

x: number

X coordinate

Defined in

types.js:28


y

y: number

Y coordinate

Defined in

types.js:29


z

z: number

Z coordinate

Defined in

types.js:30

Released under the MPL-2.0 License.