add_graphic#

GraphicCollection.add_graphic(graphic)[source]#

Add a graphic to the collection.

Parameters:

graphic (Graphic) – the graphic to add; must be of the collection’s _child_type and match the per-vertex or uniform buffer mode of the graphics already in the collection