Function Sprite.setRegionRect

void setRegionRect (
  const(Rect2) rect
) nothrow @nogc;