TerrainData.GetInterpolatedHeight

Cambiar al Manual
public float GetInterpolatedHeight (float x, float y);

Parámetros

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

Descripción

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