ドキュメント

Unity Engine

Unity Engine

GetInterpolatedHeight(float, float)

Gets an interpolated height at a point x,y. The x and y coordinates are clamped to [0, 1].
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public float GetInterpolatedHeight(float x, float y)

Parameters

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

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

Returns

Type

Description

float