MeshArtist.draw_vertexlabels

MeshArtist.draw_vertexlabels(text=None, color=None)[source]

Draw labels for a selection vertices.

Parameters
  • text (dict[int, str], optional) – A dictionary of vertex labels as vertex-text pairs. The default value is None, in which case every vertex will be labeled with its identifier.

  • color (rgb-tuple or dict[int, rgb-tuple], optional) – The color specification of the labels. The default color is the same as the default vertex color, default_vertexcolor.

Returns

list[bpy.types.Object]