Version: 2018.1
public float magnitude ;

説明

ベクトルの長さ(読み取り専用)

ベクトルの (x *x+y* y+z *z+w* w) の平方根の長さを返します

If you only need to compare magnitudes of some vectors, you can compare squared magnitudes of them using sqrMagnitude (computing squared magnitudes is faster).

See Also: sqrMagnitude.