コード例 #1
0
 // Use this for initialization.
 void Start()
 {
     //Creat new VoxelRender with 192x192x64 resolution.
     voxelRender = new VoxelRender(192, 192, 64);
     //Load voxel mesh from file.
     voxelMesh = new VoxelMesh("Knight");
     //Load palette from mesh to VoxelRender.
     voxelRender.LoadPaletteFromMesh(voxelMesh);
 }