Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetInterpolatedNormal(float, float)

Get an interpolated normal at a given location.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public Vector3 GetInterpolatedNormal(float x, float y)

Parameters

Returns

Type

Description

Vector3

Remarks

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