SoSceneManagerSetAntialiasing Method (Single, SoSceneManagerAntialiasingModes) |
Enable (or disable) antialiasing with specified quality and mode.
Namespace: OIV.Inventor
The quality is a factor in the range [0.0,1.0]. Use the value 0.0 to turn off antialiasing. 0.5 is a typical value.
The antialiasing algorithm. Default is AUTO, which means use the best for the current hardware. Use the value NO_ANTIALIASING to turn off antialiasing.
Specific antialiasing parameters will be set automatically based on the quality value. Note that the quality and mode settings are overridden if specific antialiasing parameters are subsequently set using the OIV.Inventor.SoSceneManager.SetAntialiasing(OIV.Inventor.Antialiasing.SoAntialiasingParameters) method.
The default mode is AUTO but this may be overridden by setting the environment variable OIV_ANTIALIASING_DEFAULT_MODE (see OIV.Inventor.SoPreferences).