Version: 5.4
public void Normalize ();

説明

magnitude を 1 としたベクトルを作成します

正規化されたときベクトルは同じ方向は維持したままで長さが 1.0 のものが作成されます。

Note that this function will change the current vector. If you want to keep the current vector unchanged, use normalized variable.

ベクトルが小さすぎる場合は、正規化した場合、0 が設定されます。

関連項目: normalized 変数