TerrainData.GetInterpolatedHeight
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].