CanvasItemDrawTextureRect Method |
Draws a textured rectangle 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 DrawTextureRect( Texture texture, Rect2 rect, bool tile, Color? modulate = null, bool transpose = false, Texture normalMap = null )
[Missing <param name="texture"/> documentation for "M:Godot.CanvasItem.DrawTextureRect(Godot.Texture,Godot.Rect2,System.Boolean,System.Nullable{Godot.Color},System.Boolean,Godot.Texture)"]
[Missing <param name="rect"/> documentation for "M:Godot.CanvasItem.DrawTextureRect(Godot.Texture,Godot.Rect2,System.Boolean,System.Nullable{Godot.Color},System.Boolean,Godot.Texture)"]
[Missing <param name="tile"/> documentation for "M:Godot.CanvasItem.DrawTextureRect(Godot.Texture,Godot.Rect2,System.Boolean,System.Nullable{Godot.Color},System.Boolean,Godot.Texture)"]
[Missing <param name="transpose"/> documentation for "M:Godot.CanvasItem.DrawTextureRect(Godot.Texture,Godot.Rect2,System.Boolean,System.Nullable{Godot.Color},System.Boolean,Godot.Texture)"]
[Missing <param name="normalMap"/> documentation for "M:Godot.CanvasItem.DrawTextureRect(Godot.Texture,Godot.Rect2,System.Boolean,System.Nullable{Godot.Color},System.Boolean,Godot.Texture)"]