Implements
- View
Members
_texture core
_tileTransform Transform
Methods
Destroys this sprite renderable and optionally its texture.
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
options |
TypeOrBool<TextureDestroyOptions> | false |
Options parameter. A boolean will act as if all options have been set to that value |
|
options.texture |
boolean |
<optional> |
false |
Should it destroy the current texture of the renderable as well |
options.textureSource |
boolean |
<optional> |
false |
Should it destroy the textureSource of the renderable as well |