Function CanvasItem.drawMesh

Draws a Mesh in 2D, using the provided texture. See MeshInstance2D for related documentation.

void drawMesh (
  Mesh mesh,
  Texture texture,
  Texture normal_map = Texture(godot_object(null), ),
  const(Transform2D) transform = Transform2D([Vector2(1.00000F, , 0.00000F, , ), Vector2(0.00000F, , 1.00000F, , ), Vector2(0.00000F, , 0.00000F, , )], , , ),
  const(Color) modulate = Color(0.00000F, 0.00000F, 0.00000F, 1.00000F, ).this(1.00000F, 1.00000F, 1.00000F, 1.00000F)
) nothrow @nogc;