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

Hierarchy

  • Vector2Utils

Constructors

Methods

Constructors

Methods

  • toString

    Create a string representation of a vector2

    Parameters

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

    Returns string