VisualServerCanvasItemAddPolygon Method |
Adds a polygon to the CanvasItem's draw commands.
Namespace: Godot
public static void CanvasItemAddPolygon( RID item, Vector2[] points, Color[] colors, Vector2[] uvs = null, RID texture = null, RID normalMap = null, bool antialiased = false )
[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolygon(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,Godot.RID,System.Boolean)"]
[Missing <param name="points"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolygon(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,Godot.RID,System.Boolean)"]
[Missing <param name="colors"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolygon(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,Godot.RID,System.Boolean)"]
[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolygon(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,Godot.RID,System.Boolean)"]
[Missing <param name="normalMap"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolygon(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,Godot.RID,System.Boolean)"]
[Missing <param name="antialiased"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolygon(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,Godot.RID,System.Boolean)"]