label

m3sh.vis.label(pos, text, size=12, opacity=1.0, color=(1.0, 1.0, 1.0))[source]

Billboard text labels.

Label that always faces the camera.

Parameters:
  • pos (array_like, shape (3, )) – Label position in space.

  • text (str) – Text to be displayed.

  • size (int, optional) – Font size.

  • opacity (float, optional) – Label opacity.

  • color (array_like, shape (3, ), optional) – Label color.

Returns:

The created Prop instance.

Return type:

Prop