기술 자료

Unity Engine

Download Unity

Unity Engine

GetHeight(int, int)

Calculates the height in world space units of a point on the heightmap. x and y are pixel coordinates in the heightmap, and the returned value does not take into account the heightmap's position.
읽는 시간 1분최근 업데이트: 12시간 전

Definition

public float GetHeight(int x, int y)

Parameters

Returns

Type

Description

float