Class SoLightElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoAccumulatedElement
com.openinventor.inventor.elements.SoLightElement
Stores information on lights.
This element stores information on lights.
- See Also:
-
Nested Class Summary
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 void
Add to the current light list and to the current matrix list.static int
Deprecated.As of Open Inventor 9.3.0.0.Returns the current list of light nodes from the state.static SbMatrix
Returns the matrix transform (WC to VRC) for the light i for anSoCallbackAction
.void
Pops element.void
Overridespush()
method to copy values from next instance in the stack.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
add
Add to the current light list and to the current matrix list. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
pop
Pops element. Allows for side effects to occur. Default methods do nothing. -
push
Overridespush()
method to copy values from next instance in the stack.- Overrides:
push
in classSoAccumulatedElement
-
getMatrix
Returns the matrix transform (WC to VRC) for the light i for anSoCallbackAction
. Returns the modelling matrix for other action. -
getLights
Returns the current list of light nodes from the state.
-