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