SoInteractiveComplexityfieldSettings Property |
Each string in this field specifies the interactionValue and stillValue for a specific field of a specific node class.
Namespace: OIV.Inventor.Nodes
The format is:
For scalar fields (OIV.Inventor.Fields.SoSFInt32, OIV.Inventor.Fields.SoSFFloat...) | ClassName FieldName InteractionValue StillValue [IncrementPerSecond] |
For OIV.Inventor.Fields.SoSFBool fields (NumberOfSeconds = delay before switching state) | ClassName FieldName InteractionValue [StillValue] [NumberOfSeconds] |
For SoSFEnum fields | ClassName FieldName InteractionValue StillValue |
The following example defines values for a OIV.Inventor.Fields.SoSFFloat, a OIV.Inventor.Fields.SoSFBool and a SoSFEnum:
SoInteractiveComplexity icplx = new SoInteractiveComplexity(); icplx.fieldSettings[0] = "SoComplexity value 0.1 0.5 2"; icplx.fieldSettings[1] = "SoShadowGroup isActive false 2"; icplx.fieldSettings[2] = "SoVolumeRenderingQuality gradientQuality LOW HIGH";