Class SoLightElement

    • Method Detail

      • add

        public static void add​(SoState state,
                               SoLight light,
                               SbMatrix WCToVRCMatrix)
        Add to the current light list and to the current matrix list.
      • 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. ] *
      • pop

        public void pop​(SoState state,
                        SoElement prevTopElement)
        Pops element. Allows for side effects to occur. Default methods do nothing.
        Overrides:
        pop in class SoElement
      • getMatrix

        public static SbMatrix getMatrix​(SoState state,
                                         int index)
        Returns the matrix transform (WC to VRC) for the light i for an SoCallbackAction. Returns the modelling matrix for other action.
      • getLights

        public static java.util.Vector<SoNode> getLights​(SoState state)
        Returns the current list of light nodes from the state.