Click or drag to resize
SoGraphicDeviceGetBestGraphicConfig Method

Returns the best graphics configuration according to the user's specifications.

Namespace: OIV.Inventor.Components
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoGraphicConfig GetBestGraphicConfig(
	SoGraphicConfigTemplate temp
)

Parameters

temp
Type: OIV.Inventor.ComponentsSoGraphicConfigTemplate

Return Value

Type: SoGraphicConfig
Remarks

The method used to choose the "best" graphics configuration is very simple: It selects a list of supported graphics configurations according to the user's specifications given by graphicConfigTemplate (see OIV.Inventor.Components.SoGraphicConfigTemplate.IsGraphicsConfigSupported(OIV.Inventor.Components.SoGraphicConfig)). The chosen graphics configuration is the graphics configuration of this list that has the maximum sum of the weight values of the PREFERRED available fields.

See Also