int Returns the index of the terrain layer if it exists or -1 if it doesn't exist.
Finds the index of a TerrainLayer in a Terrain tile.