TerrainData.GetInterpolatedHeight

Declaration

public float GetInterpolatedHeight(float x, float y);

Parameters

x X coordinate of the point in the range of [0, 1].
y Y 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].


Did you find this page useful? Please give it a rating: