SoText2¶
-
InventorModule
¶ genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
This node defines one or more strings of 2D text.
The text is always aligned horizontally with the screen and does not change size with distance in a perspective projection. The text origin is at (0,0,0) after applying the current transformation. Rotations and scales have no effect on the orientation or size of 2D text, just the location.
Parameter Fields¶
Visible Fields¶
String¶
-
name:
string
, type:
Other
, default:
""
¶ The text string(s) to display. Each string will appear on its own line. The string(s) can be ASCII or UTF-8.
Spacing¶
-
name:
spacing
, type:
Float
, default:
1
¶ Defines the distance (in the negative y direction) between the base points of successive strings, measured with respect to the current font height. A value of 1 indicates single spacing, a value of 2 indicates double spacing, and so on.
Justification¶
-
name:
justification
, type:
Enum
, default:
LEFT
¶ Indicates placement and alignment of strings. With LEFT justification, the left edge of the first line is at the (transformed) origin, and all left edges are aligned. RIGHT justification is similar. CENTER justification places the center of the first string at the (transformed) origin, with the centers of all remaining strings aligned under it.
Values:
Title | Name |
---|---|
Left | LEFT |
Right | RIGHT |
Center | CENTER |