Class SoLightModelElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoLightModelElement
-
public class SoLightModelElement extends SoElement
Stores the current lighting model. This element stores the current lighting model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoLightModelElement.Models
These are the available lighting models.-
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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SoLightModelElement.Models
get(SoState state)
Returns current lighting model from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static SoLightModelElement.Models
getDefault()
Returns the default lighting model.static void
set(SoState state, SoLightModelElement.Models model)
Sets the current lighting model in the state.static void
set(SoState state, SoNode name_14211, SoLightModelElement.Models model)
Sets the current lighting model 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 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. ] *
-
get
public static SoLightModelElement.Models get(SoState state)
Returns current lighting model from the state.
-
set
public static void set(SoState state, SoLightModelElement.Models model)
Sets the current lighting model in the state.
-
getDefault
public static SoLightModelElement.Models getDefault()
Returns the default lighting model.
-
set
public static void set(SoState state, SoNode name_14211, SoLightModelElement.Models model)
Sets the current lighting model in the state.
-
-