Class SoComplexityElement


  • public class SoComplexityElement
    extends SoFloatElement
    Stores the current shape complexity. This element stores the current shape complexity.
    See Also:
    SoComplexity
    • Method Detail

      • 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 complexity.
      • set

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

        public static float get​(SoState state)
        Returns current complexity from the state.
      • set

        public static void set​(SoState state,
                               SoNode name_9721,
                               float comp)
        Sets the current complexity in the state.