Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
◆
setTextureRect()
void Flint::Sprite::setTextureRect
(
const
IntRect
&
rect
)
Set the source rectangle (sub-region) within the texture.
Parameters
rect
Integer pixel rectangle in texture space.
Flint
Sprite
Generated by
1.12.0