Class SpriteSceneComponent
Hierarchy
- SpriteSceneComponent
Implements
Index
Constructors
constructor
-
Creates a new instance of the component for the given scene
Parameters
-
scene: Scene
Defines the scene to register the component in
Returns SpriteSceneComponent
-
Properties
Readonly nameSearch playground for name
The component name helpfull to identify the component in the list of scene components.
sceneSearch playground for scene
The scene the component belongs to.
Methods
disposeSearch playground for dispose
-
Disposes the component and the associated ressources.
Returns void
rebuildSearch playground for rebuild
-
Rebuilds the elements related to this component in case of context lost for instance.
Returns void
registerSearch playground for register
-
Registers the component in a given scene
Returns void
Defines the sprite scene component responsible to manage sprites in a given scene.