Class View2D


  • public class View2D
    extends CFacade
    Generated facet for DNA struct type 'View2D'.

    Class Documentation

    Blender Source Code


    View 2D data - stored per region

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct View2D.

        It is required when allocating a new block to store data for View2D.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__tot

        public static final long[] __DNA__FIELD__tot
        Field descriptor (offset) for struct member 'tot'.

        Field Documentation

        Blender Source Code

        Tot - area that data can be drawn in; cur - region of tot that is visible in viewport.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tot);
         CPointer<rctf> p_tot = p.cast(new Class[]{rctf.class});
         

        Metadata

        • Field: 'tot'
        • Signature: 'rctf'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__cur

        public static final long[] __DNA__FIELD__cur
        Field descriptor (offset) for struct member 'cur'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__cur);
         CPointer<rctf> p_cur = p.cast(new Class[]{rctf.class});
         

        Metadata

        • Field: 'cur'
        • Signature: 'rctf'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__vert

        public static final long[] __DNA__FIELD__vert
        Field descriptor (offset) for struct member 'vert'.

        Field Documentation

        Blender Source Code

        Vert - vertical scrollbar region; hor - horizontal scrollbar region.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__vert);
         CPointer<rcti> p_vert = p.cast(new Class[]{rcti.class});
         

        Metadata

        • Field: 'vert'
        • Signature: 'rcti'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__hor

        public static final long[] __DNA__FIELD__hor
        Field descriptor (offset) for struct member 'hor'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__hor);
         CPointer<rcti> p_hor = p.cast(new Class[]{rcti.class});
         

        Metadata

        • Field: 'hor'
        • Signature: 'rcti'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__mask

        public static final long[] __DNA__FIELD__mask
        Field descriptor (offset) for struct member 'mask'.

        Field Documentation

        Blender Source Code

        Mask - region (in screenspace) within which 'cur' can be viewed.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__mask);
         CPointer<rcti> p_mask = p.cast(new Class[]{rcti.class});
         

        Metadata

        • Field: 'mask'
        • Signature: 'rcti'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__min

        public static final long[] __DNA__FIELD__min
        Field descriptor (offset) for struct member 'min'.

        Field Documentation

        Blender Source Code

        Min/max sizes of 'cur' rect (only when keepzoom not set).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__min);
         CPointer<CArrayFacade<Float>> p_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'min'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__max

        public static final long[] __DNA__FIELD__max
        Field descriptor (offset) for struct member 'max'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__max);
         CPointer<CArrayFacade<Float>> p_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'max'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__minzoom

        public static final long[] __DNA__FIELD__minzoom
        Field descriptor (offset) for struct member 'minzoom'.

        Field Documentation

        Blender Source Code

        Allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__minzoom);
         CPointer<Float> p_minzoom = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'minzoom'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__maxzoom

        public static final long[] __DNA__FIELD__maxzoom
        Field descriptor (offset) for struct member 'maxzoom'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__maxzoom);
         CPointer<Float> p_maxzoom = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'maxzoom'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scroll

        public static final long[] __DNA__FIELD__scroll
        Field descriptor (offset) for struct member 'scroll'.

        Field Documentation

        Blender Source Code

        Scroll - scrollbars to display (bitflag).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__scroll);
         CPointer<Short> p_scroll = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'scroll'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__scroll_ui

        public static final long[] __DNA__FIELD__scroll_ui
        Field descriptor (offset) for struct member 'scroll_ui'.

        Field Documentation

        Blender Source Code

        Scroll_ui - temp settings used for UI drawing of scrollers.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__scroll_ui);
         CPointer<Short> p_scroll_ui = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'scroll_ui'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__keeptot

        public static final long[] __DNA__FIELD__keeptot
        Field descriptor (offset) for struct member 'keeptot'.

        Field Documentation

        Blender Source Code

        Keeptot - 'cur' rect cannot move outside the 'tot' rect?.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__keeptot);
         CPointer<Short> p_keeptot = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'keeptot'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__keepzoom

        public static final long[] __DNA__FIELD__keepzoom
        Field descriptor (offset) for struct member 'keepzoom'.

        Field Documentation

        Blender Source Code

        Keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__keepzoom);
         CPointer<Short> p_keepzoom = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'keepzoom'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__keepofs

        public static final long[] __DNA__FIELD__keepofs
        Field descriptor (offset) for struct member 'keepofs'.

        Field Documentation

        Blender Source Code

        Keepofs - axes that translation is not allowed to occur on.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__keepofs);
         CPointer<Short> p_keepofs = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'keepofs'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Settings.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__align

        public static final long[] __DNA__FIELD__align
        Field descriptor (offset) for struct member 'align'.

        Field Documentation

        Blender Source Code

        Alignment of content in totrect.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__align);
         CPointer<Short> p_align = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'align'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__winx

        public static final long[] __DNA__FIELD__winx
        Field descriptor (offset) for struct member 'winx'.

        Field Documentation

        Blender Source Code

        Storage of current winx/winy values, set in UI_view2d_size_update.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__winx);
         CPointer<Short> p_winx = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'winx'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__winy

        public static final long[] __DNA__FIELD__winy
        Field descriptor (offset) for struct member 'winy'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__winy);
         CPointer<Short> p_winy = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'winy'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__oldwinx

        public static final long[] __DNA__FIELD__oldwinx
        Field descriptor (offset) for struct member 'oldwinx'.

        Field Documentation

        Blender Source Code

        Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__oldwinx);
         CPointer<Short> p_oldwinx = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'oldwinx'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__oldwiny

        public static final long[] __DNA__FIELD__oldwiny
        Field descriptor (offset) for struct member 'oldwiny'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__oldwiny);
         CPointer<Short> p_oldwiny = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'oldwiny'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__around

        public static final long[] __DNA__FIELD__around
        Field descriptor (offset) for struct member 'around'.

        Field Documentation

        Blender Source Code

        Pivot point for transforms (rotate and scale).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__around);
         CPointer<Short> p_around = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'around'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__tab_offset

        public static final long[] __DNA__FIELD__tab_offset
        Field descriptor (offset) for struct member 'tab_offset'.

        Field Documentation

        Blender Source Code

        Different offset per tab, for buttons.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tab_offset);
         CPointer<CPointer<Float>> p_tab_offset = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

        • Field: 'tab_offset'
        • Signature: 'float*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tab_num

        public static final long[] __DNA__FIELD__tab_num
        Field descriptor (offset) for struct member 'tab_num'.

        Field Documentation

        Blender Source Code

        Number of tabs stored.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tab_num);
         CPointer<Integer> p_tab_num = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tab_num'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tab_cur

        public static final long[] __DNA__FIELD__tab_cur
        Field descriptor (offset) for struct member 'tab_cur'.

        Field Documentation

        Blender Source Code

        Current tab.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__tab_cur);
         CPointer<Integer> p_tab_cur = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tab_cur'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__alpha_vert

        public static final long[] __DNA__FIELD__alpha_vert
        Field descriptor (offset) for struct member 'alpha_vert'.

        Field Documentation

        Blender Source Code

        Usually set externally (as in, not in view2d files). Alpha of vertical and horizontal scrollbars (range is [0, 255]).

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__alpha_vert);
         CPointer<Byte> p_alpha_vert = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'alpha_vert'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__alpha_hor

        public static final long[] __DNA__FIELD__alpha_hor
        Field descriptor (offset) for struct member 'alpha_hor'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__alpha_hor);
         CPointer<Byte> p_alpha_hor = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'alpha_hor'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

        public static final long[] __DNA__FIELD___pad
        Field descriptor (offset) for struct member '_pad'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__sms

        public static final long[] __DNA__FIELD__sms
        Field descriptor (offset) for struct member 'sms'.

        Field Documentation

        Blender Source Code

        animated smooth view

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__sms);
         CPointer<CPointer<Object>> p_sms = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'sms'
        • Signature: 'SmoothView2DStore*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__smooth_timer

        public static final long[] __DNA__FIELD__smooth_timer
        Field descriptor (offset) for struct member 'smooth_timer'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         View2D view2d = ...;
         CPointer<Object> p = view2d.__dna__addressof(View2D.__DNA__FIELD__smooth_timer);
         CPointer<CPointer<Object>> p_smooth_timer = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'smooth_timer'
        • Signature: 'wmTimer*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • View2D

        public View2D​(long __address,
                      Block __block,
                      BlockTable __blockTable)
      • View2D

        protected View2D​(View2D that)
    • Method Detail

      • getTot

        public rctf getTot()
                    throws java.io.IOException
        Get method for struct member 'tot'.

        Field Documentation

        Blender Source Code

        Tot - area that data can be drawn in; cur - region of tot that is visible in viewport.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot
      • setTot

        public void setTot​(rctf tot)
                    throws java.io.IOException
        Set method for struct member 'tot'.

        Field Documentation

        Blender Source Code

        Tot - area that data can be drawn in; cur - region of tot that is visible in viewport.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot
      • getCur

        public rctf getCur()
                    throws java.io.IOException
        Get method for struct member 'cur'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur
      • setCur

        public void setCur​(rctf cur)
                    throws java.io.IOException
        Set method for struct member 'cur'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur
      • getVert

        public rcti getVert()
                     throws java.io.IOException
        Get method for struct member 'vert'.

        Field Documentation

        Blender Source Code

        Vert - vertical scrollbar region; hor - horizontal scrollbar region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert
      • setVert

        public void setVert​(rcti vert)
                     throws java.io.IOException
        Set method for struct member 'vert'.

        Field Documentation

        Blender Source Code

        Vert - vertical scrollbar region; hor - horizontal scrollbar region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert
      • getHor

        public rcti getHor()
                    throws java.io.IOException
        Get method for struct member 'hor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hor
      • setHor

        public void setHor​(rcti hor)
                    throws java.io.IOException
        Set method for struct member 'hor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hor
      • getMask

        public rcti getMask()
                     throws java.io.IOException
        Get method for struct member 'mask'.

        Field Documentation

        Blender Source Code

        Mask - region (in screenspace) within which 'cur' can be viewed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask
      • setMask

        public void setMask​(rcti mask)
                     throws java.io.IOException
        Set method for struct member 'mask'.

        Field Documentation

        Blender Source Code

        Mask - region (in screenspace) within which 'cur' can be viewed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask
      • getMin

        public CArrayFacade<java.lang.Float> getMin()
                                             throws java.io.IOException
        Get method for struct member 'min'.

        Field Documentation

        Blender Source Code

        Min/max sizes of 'cur' rect (only when keepzoom not set).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • setMin

        public void setMin​(CArrayFacade<java.lang.Float> min)
                    throws java.io.IOException
        Set method for struct member 'min'.

        Field Documentation

        Blender Source Code

        Min/max sizes of 'cur' rect (only when keepzoom not set).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • getMax

        public CArrayFacade<java.lang.Float> getMax()
                                             throws java.io.IOException
        Get method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • setMax

        public void setMax​(CArrayFacade<java.lang.Float> max)
                    throws java.io.IOException
        Set method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • getMinzoom

        public float getMinzoom()
                         throws java.io.IOException
        Get method for struct member 'minzoom'.

        Field Documentation

        Blender Source Code

        Allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minzoom
      • setMinzoom

        public void setMinzoom​(float minzoom)
                        throws java.io.IOException
        Set method for struct member 'minzoom'.

        Field Documentation

        Blender Source Code

        Allowable zoom factor range (only when (keepzoom & V2D_LIMITZOOM)) is set.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minzoom
      • getMaxzoom

        public float getMaxzoom()
                         throws java.io.IOException
        Get method for struct member 'maxzoom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxzoom
      • setMaxzoom

        public void setMaxzoom​(float maxzoom)
                        throws java.io.IOException
        Set method for struct member 'maxzoom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxzoom
      • getScroll

        public short getScroll()
                        throws java.io.IOException
        Get method for struct member 'scroll'.

        Field Documentation

        Blender Source Code

        Scroll - scrollbars to display (bitflag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scroll
      • setScroll

        public void setScroll​(short scroll)
                       throws java.io.IOException
        Set method for struct member 'scroll'.

        Field Documentation

        Blender Source Code

        Scroll - scrollbars to display (bitflag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scroll
      • getScroll_ui

        public short getScroll_ui()
                           throws java.io.IOException
        Get method for struct member 'scroll_ui'.

        Field Documentation

        Blender Source Code

        Scroll_ui - temp settings used for UI drawing of scrollers.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scroll_ui
      • setScroll_ui

        public void setScroll_ui​(short scroll_ui)
                          throws java.io.IOException
        Set method for struct member 'scroll_ui'.

        Field Documentation

        Blender Source Code

        Scroll_ui - temp settings used for UI drawing of scrollers.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scroll_ui
      • getKeeptot

        public short getKeeptot()
                         throws java.io.IOException
        Get method for struct member 'keeptot'.

        Field Documentation

        Blender Source Code

        Keeptot - 'cur' rect cannot move outside the 'tot' rect?.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keeptot
      • setKeeptot

        public void setKeeptot​(short keeptot)
                        throws java.io.IOException
        Set method for struct member 'keeptot'.

        Field Documentation

        Blender Source Code

        Keeptot - 'cur' rect cannot move outside the 'tot' rect?.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keeptot
      • getKeepzoom

        public short getKeepzoom()
                          throws java.io.IOException
        Get method for struct member 'keepzoom'.

        Field Documentation

        Blender Source Code

        Keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keepzoom
      • setKeepzoom

        public void setKeepzoom​(short keepzoom)
                         throws java.io.IOException
        Set method for struct member 'keepzoom'.

        Field Documentation

        Blender Source Code

        Keepzoom - axes that zooming cannot occur on, and also clamp within zoom-limits.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keepzoom
      • getKeepofs

        public short getKeepofs()
                         throws java.io.IOException
        Get method for struct member 'keepofs'.

        Field Documentation

        Blender Source Code

        Keepofs - axes that translation is not allowed to occur on.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keepofs
      • setKeepofs

        public void setKeepofs​(short keepofs)
                        throws java.io.IOException
        Set method for struct member 'keepofs'.

        Field Documentation

        Blender Source Code

        Keepofs - axes that translation is not allowed to occur on.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keepofs
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getAlign

        public short getAlign()
                       throws java.io.IOException
        Get method for struct member 'align'.

        Field Documentation

        Blender Source Code

        Alignment of content in totrect.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__align
      • setAlign

        public void setAlign​(short align)
                      throws java.io.IOException
        Set method for struct member 'align'.

        Field Documentation

        Blender Source Code

        Alignment of content in totrect.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__align
      • getWinx

        public short getWinx()
                      throws java.io.IOException
        Get method for struct member 'winx'.

        Field Documentation

        Blender Source Code

        Storage of current winx/winy values, set in UI_view2d_size_update.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__winx
      • setWinx

        public void setWinx​(short winx)
                     throws java.io.IOException
        Set method for struct member 'winx'.

        Field Documentation

        Blender Source Code

        Storage of current winx/winy values, set in UI_view2d_size_update.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__winx
      • getWiny

        public short getWiny()
                      throws java.io.IOException
        Get method for struct member 'winy'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__winy
      • setWiny

        public void setWiny​(short winy)
                     throws java.io.IOException
        Set method for struct member 'winy'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__winy
      • getOldwinx

        public short getOldwinx()
                         throws java.io.IOException
        Get method for struct member 'oldwinx'.

        Field Documentation

        Blender Source Code

        Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__oldwinx
      • setOldwinx

        public void setOldwinx​(short oldwinx)
                        throws java.io.IOException
        Set method for struct member 'oldwinx'.

        Field Documentation

        Blender Source Code

        Storage of previous winx/winy values encountered by UI_view2d_curRect_validate(), for keepaspect.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__oldwinx
      • getOldwiny

        public short getOldwiny()
                         throws java.io.IOException
        Get method for struct member 'oldwiny'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__oldwiny
      • setOldwiny

        public void setOldwiny​(short oldwiny)
                        throws java.io.IOException
        Set method for struct member 'oldwiny'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__oldwiny
      • getAround

        public short getAround()
                        throws java.io.IOException
        Get method for struct member 'around'.

        Field Documentation

        Blender Source Code

        Pivot point for transforms (rotate and scale).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__around
      • setAround

        public void setAround​(short around)
                       throws java.io.IOException
        Set method for struct member 'around'.

        Field Documentation

        Blender Source Code

        Pivot point for transforms (rotate and scale).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__around
      • getTab_offset

        public CPointer<java.lang.Float> getTab_offset()
                                                throws java.io.IOException
        Get method for struct member 'tab_offset'.

        Field Documentation

        Blender Source Code

        Different offset per tab, for buttons.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tab_offset
      • setTab_offset

        public void setTab_offset​(CPointer<java.lang.Float> tab_offset)
                           throws java.io.IOException
        Set method for struct member 'tab_offset'.

        Field Documentation

        Blender Source Code

        Different offset per tab, for buttons.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tab_offset
      • getTab_num

        public int getTab_num()
                       throws java.io.IOException
        Get method for struct member 'tab_num'.

        Field Documentation

        Blender Source Code

        Number of tabs stored.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tab_num
      • setTab_num

        public void setTab_num​(int tab_num)
                        throws java.io.IOException
        Set method for struct member 'tab_num'.

        Field Documentation

        Blender Source Code

        Number of tabs stored.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tab_num
      • getTab_cur

        public int getTab_cur()
                       throws java.io.IOException
        Get method for struct member 'tab_cur'.

        Field Documentation

        Blender Source Code

        Current tab.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tab_cur
      • setTab_cur

        public void setTab_cur​(int tab_cur)
                        throws java.io.IOException
        Set method for struct member 'tab_cur'.

        Field Documentation

        Blender Source Code

        Current tab.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tab_cur
      • getAlpha_vert

        public byte getAlpha_vert()
                           throws java.io.IOException
        Get method for struct member 'alpha_vert'.

        Field Documentation

        Blender Source Code

        Usually set externally (as in, not in view2d files). Alpha of vertical and horizontal scrollbars (range is [0, 255]).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha_vert
      • setAlpha_vert

        public void setAlpha_vert​(byte alpha_vert)
                           throws java.io.IOException
        Set method for struct member 'alpha_vert'.

        Field Documentation

        Blender Source Code

        Usually set externally (as in, not in view2d files). Alpha of vertical and horizontal scrollbars (range is [0, 255]).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha_vert
      • getAlpha_hor

        public byte getAlpha_hor()
                          throws java.io.IOException
        Get method for struct member 'alpha_hor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha_hor
      • setAlpha_hor

        public void setAlpha_hor​(byte alpha_hor)
                          throws java.io.IOException
        Set method for struct member 'alpha_hor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha_hor
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getSms

        public CPointer<java.lang.Object> getSms()
                                          throws java.io.IOException
        Get method for struct member 'sms'.

        Field Documentation

        Blender Source Code

        animated smooth view

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sms
      • setSms

        public void setSms​(CPointer<java.lang.Object> sms)
                    throws java.io.IOException
        Set method for struct member 'sms'.

        Field Documentation

        Blender Source Code

        animated smooth view

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sms
      • getSmooth_timer

        public CPointer<java.lang.Object> getSmooth_timer()
                                                   throws java.io.IOException
        Get method for struct member 'smooth_timer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_timer
      • setSmooth_timer

        public void setSmooth_timer​(CPointer<java.lang.Object> smooth_timer)
                             throws java.io.IOException
        Set method for struct member 'smooth_timer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_timer
      • __io__addressof

        public CPointer<View2D> __io__addressof()
        Instantiates a pointer on this instance.