SetCells (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>Legend26
No edit summary
 
(No difference)

Latest revision as of 20:14, 8 October 2011

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