Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

TerrainData.GetInterpolatedNormal

public Vector3 GetInterpolatedNormal(float x, float y);

Parameters

Description

Get an interpolated normal at a given location.

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