Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

TerrainData.GetInterpolatedNormal

Switch to Manual
public function GetInterpolatedNormal(x: float, y: float): Vector3;

Parameters

Description

Get an interpolated normal at a given location.

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