This version of Unity is unsupported.

TerrainData.GetHeight

public float GetHeight(int x, int y);

Description

Gets the height at a certain point x,y.