TextureDrawRectRegion Method |
Draws a part of the texture using a CanvasItem with the VisualServer API. Equivalent to CanvasItemAddTextureRectRegion(RID, Rect2, RID, Rect2, NullableColor, Boolean, RID, Boolean).
Namespace: Godot
public void DrawRectRegion( RID canvasItem, Rect2 rect, Rect2 srcRect, Color? modulate = null, bool transpose = false, Texture normalMap = null, bool clipUv = true )
[Missing <param name="canvasItem"/> documentation for "M:Godot.Texture.DrawRectRegion(Godot.RID,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="rect"/> documentation for "M:Godot.Texture.DrawRectRegion(Godot.RID,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="srcRect"/> documentation for "M:Godot.Texture.DrawRectRegion(Godot.RID,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="transpose"/> documentation for "M:Godot.Texture.DrawRectRegion(Godot.RID,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="normalMap"/> documentation for "M:Godot.Texture.DrawRectRegion(Godot.RID,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="clipUv"/> documentation for "M:Godot.Texture.DrawRectRegion(Godot.RID,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]