Manual     Reference     Scripting  
  
Scripting > Runtime Classes > TerrainData   

TerrainData.GetSteepness  

function GetSteepness (x : float, y : float) : float

Description

Gets the gradient of the terrain at point .

The x and y values are normalized coordinates in the range 0..1.