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: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetDecimationValue(
	SoDecimationTypeElementTypes type,
	float percentage
)

Parameters

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