Class SoModifyLogicalViewportElement

  • public class SoModifyLogicalViewportElement
    extends SoElement
    Stores a logical viewport region subset. This element stores a logical viewport region subset.
    • Method Detail

      • getClassStackIndex

        public static int getClassStackIndex()
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • set

        public static void set​(SoState state,
                               SbVec4f portion)
        Sets the portion of the viewport.
      • getDefault

        public static SbVec4f getDefault()
        Returns the default viewport region.
      • get

        public static SbVec4f get​(SoState state)
        Returns the current portion from the state.