sm.terrainTile.getCreationsForCell

Returns a table of all creations in a terrain cell.

Kind: Function

Environments: Terrain

Terrain

sm.terrainTile.getCreationsForCell( 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 { { pathOrJson = string, pos = Vec3, rot = Quat }, ... } of creations in the cell.