Vector4.normalized 规范化

var normalized : Vector4

Description描述

Returns this vector with a magnitude of 1 (Read Only).

返回这个向量的长度为1。(只读)

Note that the current vector is unchanged and a new normalized vector is returned. If you want to normalize the current vector, use Normalize function.

注意:当前的向量没有被改变,只是返回一个新的规范化的向量。如果你想要规范这个向量,使用Normalize函数。

If the vector is too small to be normalized a zero vector will be returned.

如果向量值太小而不能被规范化,一个零向量将会被返回。

参考:Normalize函数。

Page last updated: 2011-1-9