SetCells (Method)

SetCells( Region3int16 region, CellMaterial material, CellBlock type, CellOrientation orientation )
Returns nil
Description: Sets all grid cells in region to be of the specified material, shape, and orientation.
Member of: Terrain



Usage

  • region is a region in grid cell coordinates, and not in world coordinates
  • It is also possible to use integer values for material, type, and orientation