SetupTerrains()

语法

SetupTerrains(LightID, CompositeMapDistance, Flags)
概要
Setup the default parameters for all the future created terrains.

参数

LightID The light to use for the terrain rendering. To get a valid light id, use LightID().
CompositeMapDistance The distance at which to start using a composite map if present, in world unit.
Flags Can be a combination of the following values:
  #PB_Terrain_Lightmap:      enable the light map for the terrains (a texture with static shadows).
  #PB_Terrain_NormalMapping: enable the normal mapping for the terrains. This is a special texture
                             which simulate relief like small rocks, etc.

返回值

无.

参阅

CreateTerrain()

已支持操作系统

所有

<- SetTerrainTileLayerBlend() - Terrain Index - TerrainHeight() ->