Class SoInteractiveSwitchElement


public class SoInteractiveSwitchElement extends SoInt32Element
Stores the current interactive switch index. This element stores the current interactive switch index. This is set by several nodes and is used to allow SoInteractiveSwitch nodes to inherit the index.

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 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_13789, int index)
      Sets the current switch index in the state.