MeshArtist.draw_vertexlabels

MeshArtist.draw_vertexlabels(text: Optional[Dict[int, str]] = None, color: Optional[Union[str, Tuple[int, int, int], Tuple[float, float, float], List[Union[Tuple[int, int, int], Tuple[float, float, float]]], Dict[int, Union[Tuple[int, int, int], Tuple[float, float, float]]]]] = None) List[bpy.types.Object][source]

Draw labels for a selection vertices.

Parameters
  • text (dict, 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 key.

  • color (rgb-tuple or dict of rgb-tuple) – The color specification of the labels. The default color is the same as the default vertex color.

Returns

list of bpy.types.Object