Voxel toolkit
The toolkit that lets you easily import .vox assets and have runtime API
Loading...
Searching...
No Matches
VoxelToolkit.MagicaVoxelImporter Class Reference

Handles .vox files import. More...

Inheritance diagram for VoxelToolkit.MagicaVoxelImporter:
VoxelToolkit.VoxelImporter

Public Member Functions

override VoxelAsset ImportAsset (BinaryReader reader)
 Imports the asset from a reader.
 
abstract VoxelAsset ImportAsset (BinaryReader reader)
 

Properties

float EmissionScaleFactor = 1.8f [get, set]
 Represents the scaler of the emmision factor (1.8 is close to what you see in MagicaVoxel)
 

Detailed Description

Handles .vox files import.

Member Function Documentation

◆ ImportAsset()

override VoxelAsset VoxelToolkit.MagicaVoxelImporter.ImportAsset ( BinaryReader  reader)
virtual

Imports the asset from a reader.

Parameters
readerThe reader to be used to read the voxel asset
Returns
Voxel asset for the given vox asset

Implements VoxelToolkit.VoxelImporter.


The documentation for this class was generated from the following file: