/// <summary> /// Create a new VoxelData /// </summary> /// <param name="id">The ID of the voxel data</param> /// <param name="name">The name of the voxel data</param> public VoxelData(VoxelDataID id, string name) { ID = id; VoxelName = name; Faces = new OrdinalBoolean(true); Solidity = new OrdinalBoolean(true); Textures = new VoxelDataTextures(0, 0); }
/// <summary> /// Set the texture data for the voxel data /// </summary> /// <param name="textures">The new texture data</param> /// <returns></returns> public VoxelData SetTextures(VoxelDataTextures textures) { Textures = textures; return(this); }