display

m3sh.vis.display(message, x=0.05, y=0.95, size=12, color=(1.0, 1.0, 1.0), bold=False, italic=False, shadow=False, frame=False)[source]

Display static text in the render window.

Location of the displayed text is given in normalized window coordinates, i.e., relative to the width and height of the render window.

Parameters:
  • message (str) – The message to be displayed.

  • x (float, optional) – Coordinate in the interval [0, 1].

  • y (float, optional) – Coordinate in the interval [0, 1].

  • size (int, optional) – Font size.

Returns:

The wrapped text actor.

Return type:

Prop