VisualServerCanvasItemAddPrimitive Method |
Adds a primitive to the CanvasItem's draw commands.
Namespace: Godot
public static void CanvasItemAddPrimitive( RID item, Vector2[] points, Color[] colors, Vector2[] uvs, RID texture, float width = 1f, RID normalMap = null )
[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]
[Missing <param name="points"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]
[Missing <param name="colors"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]
[Missing <param name="uvs"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]
[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]
[Missing <param name="width"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]
[Missing <param name="normalMap"/> documentation for "M:Godot.VisualServer.CanvasItemAddPrimitive(Godot.RID,Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.RID,System.Single,Godot.RID)"]