SEToolbox.Interop.Asteroids.MyVoxelContentCell.MyVoxelContentCell C# (CSharp) Method

MyVoxelContentCell() public method

public MyVoxelContentCell ( ) : System
return System
        public MyVoxelContentCell()
        {
            //  Default cell is FULL
            this.CellType = MyVoxelCellType.FULL;

            //  Sums all voxel values. Default is sum of all full voxel in cell, so be subtracting we can switch cell from MIXED to EMPTY.
            this._voxelContentSum = MyVoxelConstants.VOXEL_CELL_CONTENT_SUM_TOTAL;
            this._voxelFullCells = MyVoxelConstants.VOXEL_DATA_CELL_SIZE_IN_VOXELS_TOTAL;
            this._voxelPartCells = 0;
            this._voxelEmptyCells = 0;
        }
        #endregion