open3d.visualization.gui.Label3D

class open3d.visualization.gui.Label3D

Displays text in a 3D scene

__init__(self: open3d.cpu.pybind.visualization.gui.Label3D, arg0: str, arg1: numpy.ndarray[numpy.float32[3, 1]]) → None

Create a 3D Label with given text and position

property color

The color of the text (gui.Color)

property position

The position of the text in 3D coordinates

property scale

large values of scale may result in blurry text as the underlying font is not resized.

Type

The scale of the 3D label. When set to 1.0 (the default) text will be rendered at its native font size. Larger and smaller values of scale will enlarge or shrink the rendered text. Note

property text

The text to display with this label.