SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ DrawSprite() [3/6]

static bool SRL::Scene2D::DrawSprite ( const uint16_t texture,
const SRL::Math::Types::Vector3D & location,
const SRL::Math::Types::Vector2D & scale,
const Scene2D::ZoomPoint zoomPoint = Scene2D::ZoomPoint::Center )
inlinestatic

Draw simple sprite.

Parameters
textureSprite texture
locationLocation of the sprite (Z coordinate is used for sorting)
scaleScale of the sprite
zoomPointZoom point of the sprite
Returns
True on success