Image#tintedTexture

tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this) Inherited From PIXI.Sprite#tintedTexture Default Value null Source code: pixi/display/Sprite.js (Line 73)

Component.Health#Health

new Health() The Health component provides the ability for Game Objects to have a health propertythat can be damaged and reset through game code.Requires the LifeSpan component. Source code: gameobjects/components/Health.js (Line 14)

Point.normalRightHand()

<static> normalRightHand(a, out) → {Phaser.Point} Right-hand normalize (make unit length) a Point. Parameters Name Type Argument Description a Phaser.Point The Point object. out Phaser.Point <optional> Optional Point to store the value in, if not supplied a new Point object will be created. Returns Phaser.Point - The new Point object. Source code: geom/Point.js (Line 748)

Circle#copyTo()

copyTo(dest) → {object} Copies the x, y and diameter properties from this Circle to any given object. Parameters Name Type Description dest any The object to copy to. Returns object - This dest object. Source code: geom/Circle.js (Line 140)

Tilemap#setTileIndexCallback()

setTileIndexCallback(indexes, callback, callbackContext, layer) Sets a global collision callback for the given tile index within the layer. This will affect all tiles on this layer that have the same index.If a callback is already set for the tile index it will be replaced. Set the callback to null to remove it.If you want to set a callback for a tile at a specific location on the map then see setTileLocationCallback. Parameters Name Type Argument Description indexes number | array Eithe

Group#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)

Group#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 PIXI.DisplayObjectContainer#getLocalBounds Source code: pixi/display/DisplayObjectContainer.js (Line 437)

RenderTexture#getCanvas()

getCanvas() → {HTMLCanvasElement} Creates a Canvas element, renders this RenderTexture to it and then returns it. Returns HTMLCanvasElement - A Canvas element with the texture rendered on. Inherited From PIXI.RenderTexture#getCanvas Source code: pixi/textures/RenderTexture.js (Line 320)

Physics.P2.BodyDebug#width

width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set Inherited From PIXI.DisplayObjectContainer#width Source code: pixi/display/DisplayObjectContainer.js (Line 571)

Color.toABGR()

<static> toABGR(r, g, b, a) → {number} Converts RGBA components to a 32 bit integer in AABBGGRR format. Parameters Name Type Description r number The red color component, in the range 0 - 255. g number The green color component, in the range 0 - 255. b number The blue color component, in the range 0 - 255. a number The alpha color component, in the range 0 - 255. Returns number - A RGBA-packed 32 bit integer Source code: utils/Color.js (Line 144)