-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathIVoxLoader.cs
More file actions
22 lines (21 loc) · 1.05 KB
/
IVoxLoader.cs
File metadata and controls
22 lines (21 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsharpVoxReader
{
public interface IVoxLoader
{
void LoadModel(Int32 sizeX, Int32 sizeY, Int32 sizeZ, byte[,,] data);
void LoadPalette(UInt32[] palette);
void SetModelCount(Int32 count);
void SetMaterialOld(Int32 paletteId, Chunks.MaterialOld.MaterialTypes type, float weight, Chunks.MaterialOld.PropertyBits property, float normalized);
// VOX Extensions
void NewTransformNode(Int32 id, Int32 childNodeId, Int32 layerId, string name, Dictionary<string, byte[]>[] framesAttributes);
void NewGroupNode(Int32 id, Dictionary<string, byte[]> attributes, Int32[] childrenIds);
void NewShapeNode(Int32 id, Dictionary<string, byte[]> attributes, Int32[] modelIds, Dictionary<string, byte[]>[] modelsAttributes);
void NewMaterial(Int32 id, Dictionary<string, byte[]> attributes);
void NewLayer(Int32 id, string name, Dictionary<string, byte[]> attributes);
}
}