API

Function Vector2ToFixed

  • Creates a string representation of the IVector2Like

    Parameters

    • vector: DeepImmutable<IVector2Like>

      defines the IVector2Like to stringify

    • decimalCount: number

      defines the number of decimals to use

    Returns string

    a string with the IVector2Like coordinates.