Click or drag to resize
SoSceneManagerSetAntialiasing Method (Single, SoSceneManagerAntialiasingModes)

Enable (or disable) antialiasing with specified quality and mode.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void SetAntialiasing(
	float quality,
	SoSceneManagerAntialiasingModes mode
)

Parameters

quality
Type: SystemSingle

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.

mode
Type: OIV.InventorSoSceneManagerAntialiasingModes

The antialiasing algorithm. Default is AUTO, which means use the best for the current hardware. Use the value NO_ANTIALIASING to turn off antialiasing.

Remarks

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).

See Also