The application's object for this sprite, free (e.g. its marker): set it when the sprite is added, read it back from a hit. Cleared when the sprite is removed.
Whether it is left whole by the scene's cutting planes, as a mesh (MeshProxy).
The key of its image.
Whether its sprite is still in the controller.
Its opacity, in 0..1 (its image still alpha-tested): drawn transparent below the scene's
settings.meshes.opaqueAbove, as the parts.
Whether it is drawn.
Its world bounds, whatever the camera: its centre, plus half its diagonal on each axis,
written to target.
The size of its image, in pixels, as given (width, height), written to target.
World position of its centre, written to target.
Its size (width, height), in world units, written to target.
Replaces its image: the previous one freed with its last sprite.
Moves its centre to position, world frame.
Sets its size, in world units.
A sprite of a
SpriteController, asaddSpritesreturns it and its hits give it back (SpriteHit.sprite): reads and changes its sprite in the controller, which holds it (no state of its own). Removed (removeSprites,clear), it is no longer isValid: its setters do nothing, its getters throw.