Click or drag to resize
SoWinGLWidgetSetAntialiasing Method (SoAntialiasingParameters)

Enable (or disable) antialiasing with specific parameters.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetAntialiasing(
	SoAntialiasingParameters advancedParameters
)

Parameters

advancedParameters
Type: OIV.Inventor.AntialiasingSoAntialiasingParameters

Provides specific parameters for an antialiasing mode. Use a null parameter to turn off antialiasing or use one of the subclasses of SoAntialiasingParameters.

Remarks

Use one of the subclasses of SoAntialiasingParameters. The antialiasing mode is determined by which subclass is used to set the parameters. For example, passing an SoFXAAParameters object automatically sets FXAA mode. Note that the parameters are overridden if a quality and mode are subsequently set using the setAntialiasing(float,AntialiasingMode) method.

NOTES

  • When the antialiasing parameters are modified a listener is called if it has been defined. See also setAntialiasingEventListener.

  • The caller is responsible for allocation and destruction of the advancedParameters object. SoSceneManager makes a copy of the parameter values, so the object can be destroyed after calling this method.

See Also