SoGLRenderAction.SetDecimationValue Method (SoDecimationTypeElement.Types, 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: 2023.1.3.0 (2023.1.3)
Syntaxpublic void SetDecimationValue(
SoDecimationTypeElement. Types type,
float percentage
)
Public Sub SetDecimationValue (
type As SoDecimationTypeElement.Types,
percentage As Single
)
public:
void SetDecimationValue(
SoDecimationTypeElement. Types type,
float percentage
)
member SetDecimationValue :
type : SoDecimationTypeElement. Types *
percentage : float32 -> unit
Parameters
- type
- Type: OIV.Inventor.Elements.SoDecimationTypeElement.Types
- percentage
- Type: System.Single
Remarks
See Also