sm.terrainTile.getSize
Returns the size of a tile as the number of cells along one of the axises.
Kind: Function
Environments: Terrain
Terrain
sm.terrainTile.getSize( path )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
path |
string | The tile's path. |
Returns:
| Type | Description |
|---|---|
| integer | The size. |