SoPreferencesGetColor Method |
Returns the value of the specified environment variable in the Open Inventor environment, interpreted as an SbColor.
Namespace: OIV.Inventor
The search process is the same as for getValue. If the environment variable is not defined in the Open Inventor environment, or if its value cannot be interpreted as an SbColor, the specified default value will be returned. To be correctly interpreted, the environment value must be a series of 3 floats between 0.0 and 1.0, separated by spaces.