Function CanvasItem.drawTextureRectRegion
Draws a textured rectangle region at a given position, optionally modulated by a color. If transpose
is true
, the texture will have its X and Y coordinates swapped.
void drawTextureRectRegion
(
Texture texture,
const(Rect2) rect,
const(Rect2) src_rect,
const(Color) modulate = Color(0.00000F, 0.00000F, 0.00000F, 1.00000F, ) .this(1.00000F, 1.00000F, 1.00000F, 1.00000F),
const(bool) transpose = false,
Texture normal_map = Texture(godot_object(null), ),
const(bool) clip_uv = true
) nothrow @nogc;