YoYo Games Wiki

d3d_vertex_color(x,y,z,col,alpha)

From YoYoGames Wiki


Arguments

  • x = x coordinate of the vertex to add
  • y = y coordinate of the vertex to add
  • z = z coordinate of the vertex to add
  • col = colour of the point to be drawn
  • alpha = alpha of the point to be drawn

Details

This function adds a vertex to the primitive currently being drawn. It will be drawn with its own colour and alpha, specified in the function parameters.

Remarks

Requires a registered copy of Game Maker.

See Also

Content from GMKB, was used to expand this article. The content was contributed by monkey dude.