CanvasItemDrawTextureRectRegion Method |
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.
Namespace: Godot
public void DrawTextureRectRegion( Texture texture, Rect2 rect, Rect2 srcRect, Color? modulate = null, bool transpose = false, Texture normalMap = null, bool clipUv = true )
[Missing <param name="texture"/> documentation for "M:Godot.CanvasItem.DrawTextureRectRegion(Godot.Texture,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="rect"/> documentation for "M:Godot.CanvasItem.DrawTextureRectRegion(Godot.Texture,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="srcRect"/> documentation for "M:Godot.CanvasItem.DrawTextureRectRegion(Godot.Texture,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="transpose"/> documentation for "M:Godot.CanvasItem.DrawTextureRectRegion(Godot.Texture,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="normalMap"/> documentation for "M:Godot.CanvasItem.DrawTextureRectRegion(Godot.Texture,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]
[Missing <param name="clipUv"/> documentation for "M:Godot.CanvasItem.DrawTextureRectRegion(Godot.Texture,Godot.Rect2,Godot.Rect2,System.Nullable{Godot.Color},System.Boolean,Godot.Texture,System.Boolean)"]