Spritesheet.fetchTextureRect

Fetch the current Texture Rect, so that you can modify it, if you want to.

class Spritesheet
final inout pure nothrow
inout(ShortRect)*
fetchTextureRect
()

Examples

Spritesheet s = new Spritesheet(...);
// A lot of code
s.fetchTextureRect().collapse();

Meta