Class SoDecimationPercentageElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoFloatElement
com.openinventor.inventor.elements.SoDecimationPercentageElement
Stores the current shape decimation percentage.
This element stores the current shape decimation percentage. If the
SoDecimationTypeElement
is set to "PERCENTAGE", shapes should use this element to determine the desired percentage of the total amount of triangles.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
Returns current decimation percentage from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static float
Returns the default decimation percentage.static void
Sets the current decimation in the state.static void
Sets the current decimation in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getDefault
public static float getDefault()Returns the default decimation percentage. -
set
Sets the current decimation in the state. -
get
Returns current decimation percentage from the state. -
set
Sets the current decimation in the state.
-