Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TerrainData.GetHeight

GetHeight(x: int, y: int): float;
float GetHeight(int x, int y);
def GetHeight(x as int, y as int) as float

Description

Gets the height at a certain point x,y.