new Sprite(texture)
The Sprite object is the base for all textured objects that are rendered to the screen
Parameters
Name | Type | Description |
---|---|---|
texture | PIXI.Texture | The texture for this sprite |
- Source code: pixi/display/Sprite.js (Line 5)
new Sprite(texture)
The Sprite object is the base for all textured objects that are rendered to the screen
Name | Type | Description |
---|---|---|
texture | PIXI.Texture | The texture for this sprite |
Please login to continue.