Click or drag to resize
SoTextPropertystyleColorsUseCurrentMaterial Property

This field allows to use the current SoMaterial instead of the value specified by styleColors for each available style (default gray).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoMFBool styleColorsUseCurrentMaterial { get; }

Property Value

Type: SoMFBool
Remarks

For example, if the entry corresponding to UNDERLINE_COLOR is set to true, underline will be rendered using the color inherited from SoMaterial. This is convenient if (as usual) the underline should be the same color as the text. Use the index values defined in the StyleColor enum (NOT the Style enum) to set the value for the desired style (see example code for styleColors field). NOTE: field available since Open Inventor 9.4

See Also