GetCell (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>HotThoth
New page: <onlyinclude>{{Method |name = GetCell |arguments = int '''x''', int '''y''', int '''z''' |returns = Tuple |description = Re...
>Legend26
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|name                = GetCell
|name                = GetCell
|arguments            = [[int]] '''x''', [[int]] '''y''', [[int]] '''z'''
|arguments            = [[int]] '''x''', [[int]] '''y''', [[int]] '''z'''
|returns              = [[Tuple]]
|returns              = [[CellMaterial]] '''material''', [[CellBlock]] '''type''', [[CellOrientation]] '''orientation'''
|description          = Returns the material, type, and orientation of grid cell (x, y, z).
|description          = Returns the material, type, and orientation of grid cell (x, y, z).
|object              = Terrain
|object              = Terrain
Line 13: Line 13:


* (x, y, z) is a grid cell location, and not a position in world space.
* (x, y, z) is a grid cell location, and not a position in world space.
* Returns types [[CellMaterial]], [[CellType]], and [[CellOrientation]].


[[Category:Methods]]
[[Category:Methods]]

Latest revision as of 20:14, 8 October 2011

GetCell( int x, int y, int z )
Returns CellMaterial material, CellBlock type, CellOrientation orientation
Description: Returns the material, type, and orientation of grid cell (x, y, z).
Member of: Terrain



Usage

  • (x, y, z) is a grid cell location, and not a position in world space.