Version: 2021.2
言語: 日本語
public void Normalize ();

説明

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

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

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

関連項目: normalized 変数