Physics.P2.BodyDebug#getLocalBounds()

getLocalBounds() → {Rectangle}

Retrieves the non-global local bounds of the displayObjectContainer as a rectangle without any transformations. The calculation takes all visible children into consideration.

Returns
Rectangle -

The rectangular bounding area

Inherited From
Source code: pixi/display/DisplayObjectContainer.js (Line 437)
doc_phaser
2017-02-14 11:03:33
Comments
Leave a Comment

Please login to continue.