Class SoModifyLogicalViewportElement


  • public class SoModifyLogicalViewportElement
    extends SoElement
    Stores a logical viewport region subset. This element stores a logical viewport region subset.
    • 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,
                               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.