Vector3
- Angle
- ClampMagnitude
- Cross
- Distance
- Dot
- forward
- Lerp
- magnitude
- Max
- Min
- MoveTowards
- normalized
- Normalize
- one
- operator !=
- operator *
- operator +
- operator -
- operator /
- operator ==
- OrthoNormalize
- Project
- Reflect
- right
- RotateTowards
- Scale
- Slerp
- SmoothDamp
- sqrMagnitude
- this [int index]
- ToString
- up
- Vector3
- x
- y
- zero
- z
Vector3.Normalize 规范化
function Normalize () : void
Description描述
Makes this vector have a magnitude of 1.
使向量的长度为1。
When normalized, a vector keeps the same direction but its length is 1.0.
当规范化的,一个向量保持相同的方向,但它的长度为1.0。
Note that this function will change the current vector. If you want to keep the current vector unchanged, use normalized variable.
注意,这个函数将改变当前向量,如果你想保持当前的向量不改变,使用normalized变量。
If this vector is too small to be normalized it will be set to zero.
如果这个向量太小而不能被规范化,一个零向量将会被返回。
参见: normalized 变量
最后修改:2011年1月2日 Sunday 22:09