Vector4.sqrMagnitude 长度平方


var sqrMagnitude : float

Description描述

Returns the squared length of this vector (Read Only).

返回这个向量的长度的平方(只读)。

Calculating the squared magnitude instead of the magnitude is much faster.

计算长度的平方而不是magnitude是更快的。

参考: magnitude。


,