기술 자료

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분최근 업데이트: 한 달 전

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