Class SoLightModelElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoLightModelElement
Stores the current lighting model.
This element stores the current lighting model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThese 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
Modifier and TypeMethodDescriptionstatic SoLightModelElement.ModelsReturns current lighting model from the state.static intDeprecated.As of Open Inventor 9.3.0.0.static SoLightModelElement.ModelsReturns the default lighting model.static voidset(SoState state, SoLightModelElement.Models model) Sets the current lighting model in the state.static voidset(SoState state, SoNode name_14240, SoLightModelElement.Models model) Sets the current lighting model in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, pushMethods 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. ] * -
get
Returns current lighting model from the state. -
set
Sets the current lighting model in the state. -
getDefault
Returns the default lighting model. -
set
Sets the current lighting model in the state.
-