SaturnRingLibrary
0.9
SGL wrapper
Loading...
Searching...
No Matches
◆
DrawSprite()
[2/6]
static bool SRL::Scene2D::DrawSprite
(
const uint16_t
texture
,
const SRL::Math::Types::Vector3D &
location
,
const SRL::Math::Types::Angle &
angle
=
SRL::Math::Types::Angle::Zero()
,
const SRL::Math::Types::Vector2D &
scale
=
SRL::Math::Types::Vector2D(1.0, 1.0)
)
inline
static
Draw simple sprite.
Parameters
texture
Sprite texture
location
Location of the sprite (Z coordinate is used for sorting)
angle
Sprite rotation angle
scale
Scale of the sprite
Returns
True on success
SRL
Scene2D