Class SoViewportRegionElement

    • 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. ] *
      • set

        public static void set​(SoState state,
                               SbViewportRegion vpReg,
                               boolean sendToGL)
        Sets the viewport region. This method will (indirectly) call glViewport with the new values unless the 'sendToGL' parameter is explicitly false.