SoSceneManagerSetAntialiasing Method (SoAntialiasingParameters) |
Enable (or disable) antialiasing with specific parameters.
Namespace: OIV.Inventor
Provides specific parameters for an antialiasing mode. Use a null parameter to turn off antialiasing or use one of the subclasses of OIV.Inventor.Antialiasing.SoAntialiasingParameters.
Use one of the subclasses of OIV.Inventor.Antialiasing.SoAntialiasingParameters. The antialiasing mode is determined by which subclass is used to set the parameters. For example, passing an OIV.Inventor.Antialiasing.SoFXAAParameters object automatically sets FXAA mode. Note that the parameters are overridden if a quality and mode are subsequently set using the OIV.Inventor.SoSceneManager.SetAntialiasing(System.Single, OIV.Inventor.SoSceneManager.AntialiasingModes) method.
When the antialiasing parameters are modified a listener is called if it has been defined. See also OIV.Inventor.SoSceneManager.SetAntialiasingEventListener(OIV.Inventor.Antialiasing.SiAntialiasingEventListener).