Version: 2017.2
public float magnitude ;

Descripción

Retorna la longitud de este vector (Read Only).

La longitud del vector es la raíz cuadrada de (x*x+y*y+z*z).

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.