country_code

Draw Screen Space Text (Beta)#

Draw text at a prescribed position in the viewport

Installation#

To use this Node, you must enable omni.graph.visualization.nodes in the Extension Manager.

Inputs#

Name

Type

Description

Default

In (execIn)

execution

Execution input

Text (text)

string

Label text

Text Color (textColor)

colorf[4]

Text color

[0.95, 0.95, 0.95, 1.0]

Background Color (backgroundColor)

colorf[4]

Background color

[0.165, 0.157, 0.145, 0.8]

Size (size)

float

Text size

14.0

Text Max Width (boxWidth)

int

Text box maximum width before wrapping (0 for no wrapping)

0

Screen Position (%) (position)

double[2]

Text position on the viewport (as a percentage of the viewport size)

[50.0, 50.0]

Outputs#

Name

Type

Description

Default

Out (execOut)

execution

Execution output