Свойство | Type | Description | |
---|---|---|---|
CityTerrain | |||
Generated | bool |
Méthode | Description | |
---|---|---|
BuildTerrain ( ) : void |
Creates the terrain and applies the height map and alpha map
|
|
Clear ( ) : void | ||
InitializeSettings ( |
set required data for generating the terrain
|
Méthode | Description | |
---|---|---|
AddLake ( |
Add a lake to the terrain
|
|
CreatePrototypes ( ) : void |
Create splatmaps, trees and detail prototypes
|
|
CreateTerrainTile ( int x, int z ) : |
Create terrain for the given tile
|
|
FindCityTerrainTile ( ) : |
Find the ideal position for the city to be spawned on
|
|
FixTerrainSeams ( ) : void |
Fix seams between tiles by correctly setting the neighbours
|
|
GenerateAlphaMap ( |
Generate textures for the terrain
|
|
GenerateDetailLayers ( |
Generate detail like grass and props on the terrain
|
|
GenerateHeightMap ( int tileX, int tileZ ) : ].float[ |
Generate height information for the terrain at the given tile
|
|
GenerateTrees ( |
Generate trees on the terrain
|
public InitializeSettings ( |
||
terrainSettings | ||
voronoiSettings | ||
parent | ||
citySettings | ||
Résultat | void |