Version: 2022.2
言語: 日本語
public static Vector3Int RoundToInt (Vector3 v);

説明

Converts a Vector3 to a Vector3Int by doing a Round to each value.

As there is a conversion of float to integer, there is a loss of precision.