Skip to content

Commit b3757ed

Browse files
committed
jsdocs update phaserjs#2384
1 parent 896b32a commit b3757ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gameobjects/components/LoadTexture.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Phaser.Component.LoadTexture.prototype = {
4141
* to use a Texture Atlas later in development by simply searching your code for 'PENDING_ATLAS'
4242
* and swapping it to be the key of the atlas data.
4343
*
44+
* Note: You cannot use a RenderTexture as a texture for a TileSprite.
45+
*
4446
* @method
4547
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|Phaser.Video|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache Image entry, or an instance of a RenderTexture, BitmapData, Video or PIXI.Texture.
4648
* @param {string|number} [frame] - If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.

0 commit comments

Comments
 (0)