Function VisualServerSingleton.canvasItemAddPolygon
Adds a polygon to the CanvasItem
's draw commands.
void canvasItemAddPolygon
(
const(RID) item,
const(PoolArray!(godot.core.vector2.Vector2)) points,
const(PoolArray!(godot.core.color.Color)) colors,
const(PoolArray!(godot.core.vector2.Vector2)) uvs = PoolArray(godot_pool_vector2_array(0LU)),
const(RID) texture = RID(godot_rid(0LU)),
const(RID) normal_map = RID(godot_rid(0LU)),
const(bool) antialiased = false
) nothrow @nogc;