Experimental: this API is experimental and might be changed or removed in the future.

TerrainUtility.TerrainMap.GetTerrain

Cambiar al Manual
public Terrain GetTerrain (int tileX, int tileZ);

Parámetros

tileXTile X coordinate.
tileZTile Z coordinate.

Valor de retorno

Terrain Returns a valid Terrain object if successful, null otherwise.

Descripción

Retrieves the Terrain object corresponding to the tile coordinates (tileX,tileZ).