Class SoUnitsElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoInt32Element
com.openinventor.inventor.elements.SoUnitsElement
Stores the current units type.
This element stores the current units type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
These are the available types of units.Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoUnitsElement.Units
Returns current units from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static SoUnitsElement.Units
Returns the default units.static void
set
(SoState state, SoUnitsElement.Units units) Sets the current units in the state.static void
set
(SoState state, SoNode name_24156, SoUnitsElement.Units units) Sets the current units in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getDefault
Returns the default units. -
set
Sets the current units in the state. -
get
Returns current units from the state. -
set
Sets the current units in the state.
-