public static Voxel_t WithFlags(this EVoxelBlockType type, EVoxelBlockFlags flags = 0) { return(new Voxel_t(type, flags)); }
public Voxel_t(EVoxelBlockType type, EVoxelBlockFlags flags) { raw = (byte)((int)type | (int)flags); }