User guide

257
Control (UI) Default Value Function
height globals.height The height of the text frame in pixels.
The default setting, globals.height, resizes the text frame to
the height of the resolution indicated on the Project Settings
tab.
Note: You can only edit this field when the initial resolution is
modified.
text none Enter the text you want to display here.
You can optionally query Scene Graph values from an incoming
3D scene by:
Connecting a 3D scene as input
Creating a text GroupAttribute at /root, containing the
attributes you are interested in using as children. The
AttributeScript node is usually most convenient for this
manipulation. GroupAttribute structure is preserved, so for
example you can place a whole materialAttr as a child of text,
and then query the individual values below.
Reference attrs within the text node using the {attr:ATTRNAME}
syntax.
fontSource Builtin Select:
Builtin - to use a built-in font (either Arial or Courier) for the
text.
File - to use a font from an external font file for the text. Enter
the file path to the font or use the file browser to browse to it.
Fonts are loaded using FreeType2, which supports TrueType
and OpenType fonts among others.
fontSource: Builtin
font Arial Lets you select a font for the text when fontSource is set to
Builtin: either Arial or Courier.
fontSource: File
4 NODES I-K | IMAGETEXT