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