phaser - v4.0.0-rc.4
    Preparing search index...

    Function GetVec2Bounds

    • Calculates the Axis Aligned Bounding Box (or aabb) from an array of points.

      Type Parameters

      Parameters

      • points: Vector2Like[]

        An array of Vector2Like objects to get the AABB from.

      • Optionalout: O

        A Rectangle object to store the results in. If not given, a new Rectangle instance is created.

      Returns O