SetCells (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>HotThoth
New page: <onlyinclude>{{Method |name = SetCells |arguments = Region3int16 '''region''', CellMaterial '''material''', CellType '''type''', CellOrientation ...
 
>HotThoth
New page: <onlyinclude>{{Method |name = SetCells |arguments = Region3int16 '''region''', CellMaterial '''material''', CellType '''type''', CellOrientation ...
(No difference)

Revision as of 01:34, 8 October 2011

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