Vizard 8 » Reference » 3D models » Text nodes » Text node command table
8.0

Text node command table

Viz command for adding text

<viz>.addText

Node3d commands for text parameters

(3D text nodes also inherit the more general node3d commands)

<node3d>.getMessage

<node3d>.getResolution

<node3d:text3d>.alignment

<node3d:text3d>.font

<node3d:text3d>.fontSize

<node3d:text3d>.message

<node3d:text3d>.resolution

Alignment Modes

Mode

Description

viz.ALIGN_LEFT_TOP

Text is aligned with upper left corner

viz.ALIGN_LEFT_CENTER

Text is aligned with center left side

viz.ALIGN_LEFT_BOTTOM

Text is aligned with bottom left corner

viz.ALIGN_CENTER_TOP

Text is aligned with center top side

viz.ALIGN_CENTER_CENTER

Text is aligned with center

viz.ALIGN_CENTER_BOTTOM

Text is aligned with center bottom side

viz.ALIGN_RIGHT_TOP

Text is aligned with upper right corner

viz.ALIGN_RIGHT_CENTER

Text is aligned with center right side

viz.ALIGN_RIGHT_BOTTOM

Text is aligned with bottom right corner

See also

In this section:

3D text basics

Other sections:

3D model command tables

GUI command table

Example scripts:

3D text