Text Display
A special VO that display any text the user wants
"Text Display" is a Special Virtual Object that displays text in the simulation.
Add a text display
Search for "TextDisplay" in the virtual object search panel and add it to the simulation. Then add the customizable attributes below and set them as needed.
Customizable attributes
Text
String
Value of the display text
Color
Integer
Text color (see color codes below)
BackgroundColor
Integer
Background color (see color codes below)
FontSize
Integer
If the attribute does not exist or is less than 0, it defaults to auto size
Justification
Integer
Justification type (see below). Default is 1, center
Visibility
Bool
Whether the text is visible
Transparency
Integer
0-255, sets the alpha value of the text
Color codes (Color and BackgroundColor)
0: white
1: black
2: red
3: green
4: blue
5: yellow
6: cyan
7: magenta
Justification codes
0: Left
1: Center
2: Right
3: Justified
4: Flush
Last updated