drawTextureRectRegion(texture:rect:srcRect:modulate:transpose:clipUv:)

    Draws a textured rectangle from a texture’s region (specified by srcRect) at a given position, optionally modulated by a color. If transpose is true, the texture will have its X and Y coordinates swapped. See also drawTextureRect(texture:rect:tile:modulate:transpose:).

    CanvasItem.swift:1452
    final func drawTextureRectRegion(texture: Texture2D?, rect: Rect2, srcRect: Rect2, modulate: Color = Color (r: 1, g: 1, b: 1, a: 1), transpose: Bool = false, clipUv: Bool = true)

    Other members in extension

    Types

    Type members

    Instance members

    Show implementation details (1)

    Hide implementation details