Class SoLightElement

    • 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 an SoCallbackAction. 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.
      • getLights

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