Class SoUnitsElement


public class SoUnitsElement extends SoInt32Element
Stores the current units type. This element stores the current units type.

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 SoUnitsElement.Units getDefault()
      Returns the default units.
    • set

      public static void set(SoState state, SoUnitsElement.Units units)
      Sets the current units in the state.
    • get

      public static SoUnitsElement.Units get(SoState state)
      Returns current units from the state.
    • set

      public static void set(SoState state, SoNode name_24156, SoUnitsElement.Units units)
      Sets the current units in the state.