sm.terrainTile.getDecalsForCell

Returns all decals for a cell in a tile.

Kind: Function

Environments: Terrain

Terrain

sm.terrainTile.getDecalsForCell( 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 = Vec3, scale = Vec3, decalId = integer, color = Color, layer = integer, tags = { string, ... } }, ... } of decals in the cell.