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.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetDecimationValue(
SoDecimationTypeElementTypes type,
float percentage
)
Public Sub SetDecimationValue (
type As SoDecimationTypeElementTypes,
percentage As Single
)
public:
void SetDecimationValue(
SoDecimationTypeElementTypes type,
float percentage
)
member SetDecimationValue :
type : SoDecimationTypeElementTypes *
percentage : float32 -> unit
Parameters
- type
- Type: OIV.Inventor.ElementsSoDecimationTypeElementTypes
- percentage
- Type: SystemSingle
Remarks See Also