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

        public static int getClassStackIndex()
        As of Open Inventor 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.
        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.