public Voxel(VoxelData data, VoxelTypeIndex index) { Type = index[data.TypeIndex]; Data = data.Data; }