Click or drag to resize
SoGLRenderActionSetDecimationValue Method (SoDecimationTypeElementTypes, Single)

Sets decimation percentage, the value should be a number between 0.0 and 1.0 Useful for reducing the number of triangles rendered in the scene.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void SetDecimationValue(
	SoDecimationTypeElementTypes type,
	float percentage
)

Parameters

type
Type: OIV.Inventor.ElementsSoDecimationTypeElementTypes
percentage
Type: SystemSingle
Remarks