Utilities operating on Vector2 objects. All methods are static and do not modify the input objects.

操作 Vector2 对象的工具类。所有方法都是静态的,并且不会修改输入对象。

构造函数

方法

构造函数

方法

  • toString

    Create a string representation of a vector2

    将 Vector2 转换为字符串形式。

    参数

    • v: Vector2
    • 可选options: { decimals?: number; delimiter?: string }

    返回 string