SoTextPropertystyleColorsUseCurrentMaterial Property |
This field allows to use the current OIV.Inventor.Nodes.SoMaterial instead of the value specified by OIV.Inventor.Nodes.SoTextProperty.styleColors for each available style (default gray).
Namespace: OIV.Inventor.Nodes
For example, if the entry corresponding to UNDERLINE_COLOR is set to true, underline will be rendered using the color inherited from OIV.Inventor.Nodes.SoMaterial. This is convenient if (as usual) the underline should be the same color as the text. Use the index values defined in the OIV.Inventor.Nodes.SoTextProperty.StyleColorType enum (NOT the OIV.Inventor.Nodes.SoTextProperty.Styles enum) to set the value for the desired style (see example code for OIV.Inventor.Nodes.SoTextProperty.styleColors field).
Note |
---|
Field available since Open Inventor 9.4 |