texture property
The texture that the sprite will render to screen.
If the texture is null, the sprite will be rendered as a red square marking the bounds of the sprite.
mySprite.texture = myTexture;
Implementation
SpriteTexture texture;
The texture that the sprite will render to screen.
If the texture is null, the sprite will be rendered as a red square marking the bounds of the sprite.
mySprite.texture = myTexture;
SpriteTexture texture;