sourceRect property
If provided, draws a sub-rect from the texture (sprite sheet). If null, draws the full texture.
Implementation
RectangleD? sourceRect;
If provided, draws a sub-rect from the texture (sprite sheet). If null, draws the full texture.
RectangleD? sourceRect;