Texture.drawRectRegion

Draws a part of the texture using a CanvasItem with the VisualServer API. Equivalent to VisualServer.canvasItemAddTextureRectRegion.

struct Texture
@nogc nothrow const
void
drawRectRegion
(,
in Rect2 rect
,
in Rect2 src_rect
,
in Color modulate = Color(1, 1, 1, 1)
,
in bool transpose = false
,,
in bool clip_uv = true
)

Meta