Returns the unrotated bounds of the Game Object as a rectangle.
name | type | arguments | description |
---|---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object to get the bounds value from. |
|
output | object | Phaser.Geom.Rectangle | <optional> |
An object to store the values in. |