Base class: Entity
This class provides 2D shapes and images on the screen.
Property | Type | Description |
---|---|---|
mesh | const shared_ptr<Mesh>& | read-only mesh object |
SetViewMode | Method | sets the sprite auto-orientation setting |
CreateSprite | Function | creates a new sprite object |
LoadSprite | Function | loads a texture and applies it to a new sprite |