Class SoViewportRegionElement

    • Method Detail

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