프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CityTerrain | |||
Generated | bool |
메소드 | 설명 | |
---|---|---|
BuildTerrain ( ) : void |
Creates the terrain and applies the height map and alpha map
|
|
Clear ( ) : void | ||
InitializeSettings ( |
set required data for generating the terrain
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | void |