Video#add()

add(object) → {Phaser.Video}

Updates the given Display Objects so they use this Video as their texture.
This will replace any texture they will currently have set.

Parameters
Name Type Description
object Phaser.Sprite | Array.<Phaser.Sprite> | Phaser.Image | Array.<Phaser.Image>

Either a single Sprite/Image or an Array of Sprites/Images.

Returns

This Video object for method chaining.

Source code: gameobjects/Video.js (Line 804)
doc_phaser
2017-02-14 11:19:20
Comments
Leave a Comment

Please login to continue.