sourceRect property

RectangleD? sourceRect
getter/setter pair

If provided, draws a sub-rect from the texture (sprite sheet). If null, draws the full texture.

Implementation

RectangleD? sourceRect;