SetCells (Method)

From Legacy Roblox Wiki
Revision as of 01:34, 8 October 2011 by >HotThoth (New page: <onlyinclude>{{Method |name = SetCells |arguments = Region3int16 '''region''', CellMaterial '''material''', CellType '''type''', CellOrientation ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
SetCells( Region3int16 region, CellMaterial material, CellType 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