Version: 2019.2

TerrainData.GetInterpolatedHeight

Switch to Manual
public float GetInterpolatedHeight (float x, float y);

Parameters

xX coordinate of the point in the range of [0, 1].
yY coordinate of the point in the range of [0, 1].

Description

Gets an interpolated height at a point x,y. The x and y coordinates are clamped to [0, 1].