SoGetPrimitiveCountActionSetDecimationValue Method (SoDecimationTypeElementTypes, Single) |
Sets decimation type and percentage.
Namespace: OIV.Inventor.Actions
Percentage should be a number between 0.0 and 1.0 (1.0 is full complexity).
Type is one of:
OIV.Inventor.Elements.SoDecimationTypeElement.Types.LOWEST Lowest complexity possible for scene.
OIV.Inventor.Elements.SoDecimationTypeElement.Types.HIGHEST Highest complexity possible for scene.
OIV.Inventor.Elements.SoDecimationTypeElement.Types.AUTOMATIC Scene uses decimation percentage; LODs calculate range value and then adjust them with percentage.
OIV.Inventor.Elements.SoDecimationTypeElement.Types.PERCENTAGE Scene uses decimation percentage; LODs use child based solely on decimation without looking at camera position.