Sprite

Class: PIXI.Sprite

Constructor

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: 登录查看完整内容