SoFontStyle¶
-
InventorModule
¶ genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
The module SoFontStyle
sets the font and its style to be used in the following Open Inventor scene. For more information, see the help file of the module SoFont
.
Parameter Fields¶
Visible Fields¶
Name¶
-
name:
name
, type:
String
, default:
"defaultFont"
¶ Sets the font name as a PostScript name.
For example, Times Roman is specified as
Times-Roman
.Multiple fonts can be specified by separating the font names with semicolons. When multiple fonts are provided, the first font in the list that contains a given character is used to render that character.
Size¶
-
name:
size
, type:
Float
, default:
10
¶ Sets the font size.
The value is expressed in points for 2D text and in the current units for 3D text.