Class SoDecimationPercentageElement


public class SoDecimationPercentageElement extends SoFloatElement
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:
  • Method Details

    • getClassStackIndex

      @Deprecated(since="9.3.0.0") public static int 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

      public static void set(SoState state, float comp)
      Sets the current decimation in the state.
    • get

      public static float get(SoState state)
      Returns current decimation percentage from the state.
    • set

      public static void set(SoState state, SoNode name_10711, float comp)
      Sets the current decimation in the state.