Class: SpriteView

SpriteView

Implements

  • View

Members

_didUpdate boolean

Default Value:
  • false

_texture core

Methods

destroy (options)

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

onUpdate ()