private byte GetVoxelContent(ref Vector3I voxelCoord)
{
var cellCoord = GetDataCellCoordinate(ref voxelCoord);
var voxelCell = GetCell(ref cellCoord);
if (voxelCell == null)
{
// Voxel wasn't found in cell dictionary, therefore cell must be full
return MyVoxelConstants.VOXEL_CONTENT_FULL;
}
var voxelCoordInCell = GetVoxelCoordinatesInDataCell(ref voxelCoord);
var ret = voxelCell.GetVoxelContent(ref voxelCoordInCell);
return ret;
}