Physics.P2.BodyDebug#getBounds()

getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global bounds of the displayObjectContainer as a rectangle. The bounds calculation takes all visible children into consideration. Parameters Name Type Argument Description targetCoordinateSpace PIXIDisplayObject | PIXIMatrix <optional> Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object. Returns Rectangle - The rectangular bounding area

Physics.P2#nothingCollisionGroup

nothingCollisionGroup : Phaser.Physics.P2.CollisionGroup A default collision group. Source code: physics/p2/World.js (Line 217)

Physics.P2#createLockConstraint()

createLockConstraint(bodyA, bodyB, offset, angle, maxForce) → {Phaser.Physics.P2.LockConstraint} Locks the relative position between two bodies. Parameters Name Type Argument Default Description bodyA Phaser.Sprite | Phaser.Physics.P2.Body | p2.Body First connected body. bodyB Phaser.Sprite | Phaser.Physics.P2.Body | p2.Body Second connected body. offset Array <optional> The offset of bodyB in bodyA's frame. The value is an array with 2 elements matching x and y, i.e:

Video#stop()

stop() → {Phaser.Video} Stops the video playing. This removes all locally set signals. If you only wish to pause playback of the video, to resume at a later time, use Video.paused = true instead.If the video hasn't finished downloading calling Video.stop will not abort the download. To do that you need tocall Video.destroy instead. If you are using a video stream from a webcam then calling Stop will disconnect the MediaStream session and disable the webcam. Returns Phaser.Video - This Vi

StateManager#add()

add(key, state, autoStart) Adds a new State into the StateManager. You must give each State a unique key by which you'll identify it.The State can be either a Phaser.State object (or an object that extends it), a plain JavaScript object or a function.If a function is given a new state object will be created by calling it. Parameters Name Type Argument Default Description key string A unique key you use to reference this state, i.e. "MainMenu", "Level1". state Phaser.State | object | f

Text#overlap()

overlap(displayObject) → {boolean} Checks to see if the bounds of this Game Object overlaps with the bounds of the given Display Object,which can be a Sprite, Image, TileSprite or anything that extends those such as Button or provides a getBounds method and result. This check ignores the hitArea property if set and runs a getBounds comparison on both objects to determine the result. Therefore it's relatively expensive to use in large quantities, i.e. with lots of Sprites at a high frequency.I

Physics.P2#addContactMaterial()

addContactMaterial(material) → {Phaser.Physics.P2.ContactMaterial} Adds a Contact Material to the world. Parameters Name Type Description material Phaser.Physics.P2.ContactMaterial The Contact Material to be added to the World. Returns Phaser.Physics.P2.ContactMaterial - The Contact Material that was added. Source code: physics/p2/World.js (Line 1153)

Rope#ignoreChildInput

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children to be considered as valid for Input events. If this property is true then the children will not be considered as valid for Input events. Note that this property isn't recursive: only immediate children are influenced, it doesn't scan further down. Inherited From PIXI.DisplayObjectContainer#ignoreChildInput Source code: pixi/display/DisplayObjectContainer.js (Line 26)

Rectangle#centerOn()

centerOn(x, y) → {Phaser.Rectangle} Centers this Rectangle so that the center coordinates match the given x and y values. Parameters Name Type Description x number The x coordinate to place the center of the Rectangle at. y number The y coordinate to place the center of the Rectangle at. Returns Phaser.Rectangle - This Rectangle object Source code: geom/Rectangle.js (Line 122)

CanvasMaskManager#pushMask()

pushMask(maskData, renderSession) This method adds it to the current stack of masks. Parameters Name Type Description maskData Object the maskData that will be pushed renderSession Object The renderSession whose context will be used for this mask manager. Source code: pixi/renderers/canvas/utils/CanvasMaskManager.js (Line 17)