TilemapLayer#shader

shader : PIXI.AbstractFilter The shader that will be used to render this Sprite.Set to null to remove a current shader. Inherited From PIXI.Sprite#shader Default Value null Source code: pixi/display/Sprite.js (Line 93)

TilemapLayer#setTexture()

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy the previoustexture this Sprite was using. Parameters Name Type Argument Default Description texture PIXI.Texture The PIXI texture that is displayed by the sprite destroy Boolean <optional> false Call Texture.destroy on the current texture before replacing it with the new one? Inherited From PIXI.Sprite#setTexture Source code: pixi/display/Sprite.js (Line 163)

TilemapLayer#setScaleMinMax()

setScaleMinMax(minX, minY, maxX, maxY) Sets the scaleMin and scaleMax values. These values are used to limit how far this Game Object will scale based on its parent. For example if this Game Object has a minScale value of 1 and its parent has a scale value of 0.5, the 0.5 will be ignoredand the scale value of 1 will be used, as the parents scale is lower than the minimum scale this Game Object should adhere to. By setting these values you can carefully control how Game Objects deal with respo

TilemapLayer#setScale()

setScale(xScale, yScale) This method will set the scale of the tilemap as well as update the underlying block data of this layer. Parameters Name Type Argument Default Description xScale number <optional> 1 The scale factor along the X-plane yScale number <optional> The scale factor along the Y-plane Source code: tilemap/TilemapLayer.js (Line 712)

TilemapLayer#setHealth

setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value. Inherited From Phaser.Component.Health#setHealth Source code: gameobjects/components/Health.js (Line 70)

TilemapLayer#setFrame()

setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by loadTexture, but is exposed for the use of plugins and custom classes. Parameters Name Type Description frame Phaser.Frame The Frame to be used by the texture. Inherited From Phaser.Component.LoadTexture#setFrame Source code: gameobjects/components/LoadTexture.js (Line 155)

TilemapLayer#setChildIndex()

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters Name Type Description child DisplayObject The child DisplayObject instance for which you want to change the index number index Number The resulting index number for the child display object Inherited From PIXI.DisplayObjectContainer#setChildIndex Source code: pixi/display/DisplayObjectContainer.js (Line 132)

TilemapLayer#sendToBack()

sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display list.Visually this means it will render below all other children in the same Group. If this Game Object hasn't been added to a custom Group then this method will send it to the bottom of the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#sendToBack Source code: gameob

TilemapLayer#scrollFactorY

scrollFactorY : number Speed at which this layer scrolls vertically, relative to the camera (e.g. scrollFactorY of 0.5 scrolls half as quickly as the 'normal' camera-locked layers do) Default Value 1 Source code: tilemap/TilemapLayer.js (Line 160)

TilemapLayer#scrollFactorX

scrollFactorX : number Speed at which this layer scrolls horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls half as quickly as the 'normal' camera-locked layers do). Default Value 1 Source code: tilemap/TilemapLayer.js (Line 152)