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
)
inline
static
Draw simple sprite.
Parameters
texture
Sprite texture
location
Location of the sprite (Z coordinate is used for sorting)
scale
Scale of the sprite
zoomPoint
Zoom point of the sprite
Returns
True on success
SRL
Scene2D