GetCell (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>HotThoth
No edit summary
>Legend26
No edit summary
 
(4 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              = [[CellMaterial]] '''material''', [[CellType]] '''type''', [[CellOrientation]] '''orientation'''
|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

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.