예제 #1
0
        public VoxBox(
            string name,
            VoxSpace voxSpace,
            int floorCellIdxX, int floorCellIdxZ,
            int heightCellStartIdx, int heightCellEndIdx)
        {
            this.name               = name;
            this.voxSpace           = voxSpace;
            this.floorCellIdxX      = floorCellIdxX;
            this.floorCellIdxZ      = floorCellIdxZ;
            this.heightCellStartIdx = heightCellStartIdx;
            this.heightCellEndIdx   = heightCellEndIdx;

            CreateRealPosition();
        }
예제 #2
0
 public void SetVoxSpace(VoxSpace voxSpace)
 {
     this.voxSpace = voxSpace;
 }
 public SpaceSpanGroup(VoxSpace voxSpace)
 {
     this.voxSpace      = voxSpace;
     walkRadiusVoxCount = CalWalkRadiusVoxCount();
 }