Version: 2020.3
언어: 한국어
public float magnitude ;

설명

Returns the length of this vector (Read Only).

The length of the vector is square root of (x*x+y*y).

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.