sm.terrainTile.getNodesForCell

Returns all nodes for a cell in a tile.

Kind: Function

Environments: Terrain

Terrain

sm.terrainTile.getNodesForCell( tileUid, cellOffsetX, cellOffsetY )

Open the full Terrain reference

Parameters:

Name Type Description
tileUid Uuid The tile uuid.
cellOffsetX integer The cell X offset.
cellOffsetY integer The cell Y offset.

Returns:

Type Description
table A table { { pos = Vec3, rot = Quat, scale = Vec3, tags = { string, ... }, params = table } } of nodes in the cell.