SiAntialiasingEventListenerOnAntialiasingSwitch Method |
This method is called when the antialiasing parameters are modified in the scene manager.
Namespace: OIV.Inventor.Antialiasing
public bool OnAntialiasingSwitch( SoSceneManagerAntialiasingModes mode, float quality, SoAntialiasingParameters parameters )
a boolean to indicates if the listener was able to configure the graphic device for the specified mode.
The mode provided here is the actual mode. If the OIV.Inventor.SoSceneManager.SetAntialiasing(System.Single, OIV.Inventor.SoSceneManager.AntialiasingModes) method is called with AUTO, the mode provided here will be the algorithm selected by the scenemanager. The AUTO mode will never be used here.