Class SoInteractiveSwitchElement

    • Method Detail

      • getClassStackIndex

        @Deprecated
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • getDefault

        public static int getDefault()
        Returns the default switch index.
      • set

        public static void set​(SoState state,
                               int index)
        Sets the current switch index in the state.
      • get

        public static int get​(SoState state)
        Returns current switch index from the state.
      • set

        public static void set​(SoState state,
                               SoNode name_14173,
                               int index)
        Sets the current switch index in the state.