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 (SoSFInt32, SoSFFloat...) | ClassName FieldName InteractionValue StillValue [IncrementPerSecond] |
For 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 SoSFFloat, a 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";