TerrainData.GetInterpolatedNormal 获取插值法线

function GetInterpolatedNormal (x : float, y : float) : Vector3

Description描述

Get an interpolated normal at a given location.

获取在给定位置的插值法线。

/x/ and y coordinates are specified as normalized coordinates between 0 ... 1

x和y坐标是指定规范化的坐标,在0...1之间。

最后修改:2011年3月25日 Friday 15:55

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。