GetTerrainTileLayerBlend()

语法

Result = GetTerrainTileLayerBlend(#Terrain, TileX, TileY, Layer, x, y)
概要
Returns the terrain tile layer blend value at the specified position.

参数

#Terrain The terrain to use.
TileX The tile 'x' index.
TileY The tile 'y' index.
Layer The layer index. The first layer index starts from 0. The maximum number of layers is defined when creating the terrain, see CreateTerrain().
x, y The position in the tile (in pixels) to get the blend value.

返回值

Returns the terrain tile layer blend value at the specified position. The blend value ranges from 0.0 (fully transparent) to 1.0 (fully opaque).

参阅

CreateTerrain()

已支持操作系统

所有

<- GetTerrainTileHeightAtPoint() - Terrain Index - SaveTerrain() ->