TerrainTilePointY()

语法

Result = TerrainTilePointY(#Terrain, TileX, TileY, x, y, z)
概要
Returns the 'y' position of the point in the terrain tile.

参数

#Terrain The terrain to use.
TileX The tile 'x' index.
TileY The tile 'y' index.
x, y, z The position of the point in the world (in world unit).

返回值

Returns 'y' position (in pixels) of the point in the terrain tile.

参阅

CreateTerrain(), DefineTerrainTile()

已支持操作系统

所有

<- TerrainTilePointX() - Terrain Index - TerrainTileSize() ->