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)
Please login to continue.