Sprite.setTextureRect

Set the Texture Rect. With this you can define a specific view of the Texture, so that only this specific view will be drawn.

class Sprite
final @nogc
void
setTextureRect
pure nothrow
()

Meta