MCPcopy
hub / github.com/phaserjs/phaser / getBounds

Method getBounds

types/phaser.d.ts:19459–19459  ·  view source on GitHub ↗

* Gets the axis-aligned bounding rectangle of this Game Object, regardless of origin. * * The bounding rectangle is computed by retrieving all four corner positions of the * Game Object (top-left, top-right, bottom-left, bottom-right), applying any

(output?: O)

Source from the content-addressed store, hash-verified

19457 * @returns The values stored in the output object.
19458 */
19459 getBounds<O extends Phaser.Geom.Rectangle>(output?: O): O;
19460 }
19461
19462 /**

Callers 13

MatterTileBody.jsFile · 0.80
Body.jsFile · 0.80
Container.jsFile · 0.80
ParticleEmitter.jsFile · 0.80
Curve.jsFile · 0.80
Path.jsFile · 0.80
StaticBody.test.jsFile · 0.80
Body.test.jsFile · 0.80
BaseCamera.test.jsFile · 0.80
Particle.test.jsFile · 0.80
Curve.test.jsFile · 0.80
LineCurve.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected