文档

Unity Engine

Unity Engine

GetInterpolatedNormal(float, float)

Get an interpolated normal at a given location.
阅读时间1 分钟最后更新于 1 个月前

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.