Version: 2017.2
public float sqrMagnitude ;

説明

ベクトルの 2 乗の長さを返します(読み取り専用)

Calculating the squared magnitude instead of the magnitude is much faster. Often if you are comparing magnitudes of two vectors you can just compare their squared magnitudes.

See Also: magnitude.