Class SoLightElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoAccumulatedElement
-
- com.openinventor.inventor.elements.SoLightElement
-
public class SoLightElement extends SoAccumulatedElement
Stores information on lights. This element stores information on lights.- See Also:
SoLight
,SoDirectionalLight
,SoPointLight
,SoSpotLight
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
add(SoState state, SoLight light, SbMatrix WCToVRCMatrix)
Add to the current light list and to the current matrix list.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static java.util.Vector<SoNode>
getLights(SoState state)
Returns the current list of light nodes from the state.static SbMatrix
getMatrix(SoState state, int index)
Returns the matrix transform (WC to VRC) for the light i for anSoCallbackAction
.void
push(SoState state)
Overridespush()
method to copy values from next instance in the stack.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getMatrix
public static SbMatrix getMatrix(SoState state, int index)
Returns the matrix transform (WC to VRC) for the light i for anSoCallbackAction
. Returns the modelling matrix for other action.
-
add
public static void add(SoState state, SoLight light, SbMatrix WCToVRCMatrix)
Add to the current light list and to the current matrix list.
-
push
public void push(SoState state)
Overridespush()
method to copy values from next instance in the stack.- Overrides:
push
in classSoAccumulatedElement
-
-