World.setTerrainScriptData
Set data to pass on to the terrain generation script. If no data is set the terrain generation script receives the same data as the world script.
Kind: Function
Environments: Game
Game
world:setTerrainScriptData( data )
Parameters:
| Name | Type | Description |
|---|---|---|
world |
World | The world. |
data |
any | Any data, available to the terrain generation script as parameter 6 in the create callback. |