Class bGPdata


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

    Class Documentation

    Blender Source Code

    Grease-Pencil Annotations - 'DataBlock'

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Grease Pencil data is a data-block.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 128/160
      • __DNA__FIELD__adt

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

        Field Documentation

        Blender Source Code

        Animation data - for animating draw settings.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__adt);
         CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
         

        Metadata

        • Field: 'adt'
        • Signature: 'AnimData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__layers

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

        Field Documentation

        Blender Source Code

        Grease-Pencil data bGPDlayer .

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__layers);
         CPointer<ListBase> p_layers = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'layers'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Settings for this data-block.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__palettes

        public static final long[] __DNA__FIELD__palettes
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__palettes);
         CPointer<ListBase> p_palettes = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'palettes'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
        Field descriptor (offset) for struct member 'palettes'.

        Field Documentation

        Blender Source Code

        Palettes List of bGPDpalette 's - Deprecated (2.78 - 2.79 only).

      • __DNA__FIELD__pixfactor

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

        Field Documentation

        Blender Source Code

        3D Viewport/Appearance Settings Factor to define pixel size conversion.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__pixfactor);
         CPointer<Float> p_pixfactor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pixfactor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__line_color

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

        Field Documentation

        Blender Source Code

        Color for edit line.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__line_color);
         CPointer<CArrayFacade<Float>> p_line_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'line_color'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__onion_factor

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

        Field Documentation

        Blender Source Code

        Onion skinning Onion alpha factor change.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__onion_factor);
         CPointer<Float> p_onion_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'onion_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__onion_mode

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

        Field Documentation

        Blender Source Code

        Onion skinning range (eGP_OnionModes).

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__onion_mode);
         CPointer<Integer> p_onion_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'onion_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__onion_flag

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

        Field Documentation

        Blender Source Code

        Onion skinning flags (eGPD_OnionFlag).

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__onion_flag);
         CPointer<Integer> p_onion_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'onion_flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gstep

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

        Field Documentation

        Blender Source Code

        Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__gstep);
         CPointer<Short> p_gstep = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gstep'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gstep_next

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

        Field Documentation

        Blender Source Code

        Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__gstep_next);
         CPointer<Short> p_gstep_next = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gstep_next'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gcolor_prev

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

        Field Documentation

        Blender Source Code

        Optional color for ghosts before the active frame.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__gcolor_prev);
         CPointer<CArrayFacade<Float>> p_gcolor_prev = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'gcolor_prev'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__gcolor_next

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

        Field Documentation

        Blender Source Code

        Optional color for ghosts after the active frame.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__gcolor_next);
         CPointer<CArrayFacade<Float>> p_gcolor_next = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'gcolor_next'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__zdepth_offset

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

        Field Documentation

        Blender Source Code

        Offset for drawing over surfaces to keep strokes on top.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__zdepth_offset);
         CPointer<Float> p_zdepth_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'zdepth_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mat

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

        Field Documentation

        Blender Source Code

        Materials array.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__mat);
         CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
         

        Metadata

        • Field: 'mat'
        • Signature: 'Material**'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totcol

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

        Field Documentation

        Blender Source Code

        Total materials.

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__totcol);
         CPointer<Short> p_totcol = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'totcol'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__totlayer

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

        Field Documentation

        Blender Source Code

        stats

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__totlayer);
         CPointer<Short> p_totlayer = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'totlayer'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__totframe

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__totframe);
         CPointer<Short> p_totframe = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'totframe'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad2

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__totstroke);
         CPointer<Integer> p_totstroke = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totstroke'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totpoint

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__totpoint);
         CPointer<Integer> p_totpoint = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totpoint'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_mode

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

        Field Documentation

        Blender Source Code

        Draw mode for strokes (eGP_DrawMode).

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__draw_mode);
         CPointer<Short> p_draw_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'draw_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__onion_keytype

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

        Field Documentation

        Blender Source Code

        Keyframe type for onion filter (eBezTriple_KeyframeType plus All option)

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__onion_keytype);
         CPointer<Short> p_onion_keytype = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'onion_keytype'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__grid

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__grid);
         CPointer<bGPgrid> p_grid = p.cast(new Class[]{bGPgrid.class});
         

        Metadata

        • Field: 'grid'
        • Signature: 'bGPgrid'
        • Actual Size (32bit/64bit): 40/40
      • __DNA__FIELD__runtime

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

        Pointer Arithmetics

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

         bGPdata bgpdata = ...;
         CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__runtime);
         CPointer<bGPdata_Runtime> p_runtime = p.cast(new Class[]{bGPdata_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'bGPdata_Runtime'
        • Actual Size (32bit/64bit): 84/112
    • Constructor Detail

      • bGPdata

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

        protected bGPdata​(bGPdata that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.

        Field Documentation

        Blender Source Code

        Grease Pencil data is a data-block.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.

        Field Documentation

        Blender Source Code

        Grease Pencil data is a data-block.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getAdt

        public CPointer<AnimData> getAdt()
                                  throws java.io.IOException
        Get method for struct member 'adt'.

        Field Documentation

        Blender Source Code

        Animation data - for animating draw settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • setAdt

        public void setAdt​(CPointer<AnimData> adt)
                    throws java.io.IOException
        Set method for struct member 'adt'.

        Field Documentation

        Blender Source Code

        Animation data - for animating draw settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • getLayers

        public ListBase getLayers()
                           throws java.io.IOException
        Get method for struct member 'layers'.

        Field Documentation

        Blender Source Code

        Grease-Pencil data bGPDlayer .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layers
      • setLayers

        public void setLayers​(ListBase layers)
                       throws java.io.IOException
        Set method for struct member 'layers'.

        Field Documentation

        Blender Source Code

        Grease-Pencil data bGPDlayer .

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

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

        Field Documentation

        Blender Source Code

        Settings for this data-block.

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

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

        Field Documentation

        Blender Source Code

        Settings for this data-block.

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

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getPalettes

        public ListBase getPalettes()
                             throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'palettes'.

        Field Documentation

        Blender Source Code

        Palettes List of bGPDpalette 's - Deprecated (2.78 - 2.79 only).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__palettes
      • setPalettes

        public void setPalettes​(ListBase palettes)
                         throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'palettes'.

        Field Documentation

        Blender Source Code

        Palettes List of bGPDpalette 's - Deprecated (2.78 - 2.79 only).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__palettes
      • getPixfactor

        public float getPixfactor()
                           throws java.io.IOException
        Get method for struct member 'pixfactor'.

        Field Documentation

        Blender Source Code

        3D Viewport/Appearance Settings Factor to define pixel size conversion.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pixfactor
      • setPixfactor

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

        Field Documentation

        Blender Source Code

        3D Viewport/Appearance Settings Factor to define pixel size conversion.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pixfactor
      • getLine_color

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

        Field Documentation

        Blender Source Code

        Color for edit line.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line_color
      • setLine_color

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

        Field Documentation

        Blender Source Code

        Color for edit line.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line_color
      • getOnion_factor

        public float getOnion_factor()
                              throws java.io.IOException
        Get method for struct member 'onion_factor'.

        Field Documentation

        Blender Source Code

        Onion skinning Onion alpha factor change.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_factor
      • setOnion_factor

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

        Field Documentation

        Blender Source Code

        Onion skinning Onion alpha factor change.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_factor
      • getOnion_mode

        public int getOnion_mode()
                          throws java.io.IOException
        Get method for struct member 'onion_mode'.

        Field Documentation

        Blender Source Code

        Onion skinning range (eGP_OnionModes).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_mode
      • setOnion_mode

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

        Field Documentation

        Blender Source Code

        Onion skinning range (eGP_OnionModes).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_mode
      • getOnion_flag

        public int getOnion_flag()
                          throws java.io.IOException
        Get method for struct member 'onion_flag'.

        Field Documentation

        Blender Source Code

        Onion skinning flags (eGPD_OnionFlag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_flag
      • setOnion_flag

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

        Field Documentation

        Blender Source Code

        Onion skinning flags (eGPD_OnionFlag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_flag
      • getGstep

        public short getGstep()
                       throws java.io.IOException
        Get method for struct member 'gstep'.

        Field Documentation

        Blender Source Code

        Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep
      • setGstep

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

        Field Documentation

        Blender Source Code

        Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep
      • getGstep_next

        public short getGstep_next()
                            throws java.io.IOException
        Get method for struct member 'gstep_next'.

        Field Documentation

        Blender Source Code

        Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep_next
      • setGstep_next

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

        Field Documentation

        Blender Source Code

        Ghosts After: max number of ghost frames to show after active frame and the following it (0 = only the ghost itself).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gstep_next
      • getGcolor_prev

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

        Field Documentation

        Blender Source Code

        Optional color for ghosts before the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_prev
      • setGcolor_prev

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

        Field Documentation

        Blender Source Code

        Optional color for ghosts before the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_prev
      • getGcolor_next

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

        Field Documentation

        Blender Source Code

        Optional color for ghosts after the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_next
      • setGcolor_next

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

        Field Documentation

        Blender Source Code

        Optional color for ghosts after the active frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gcolor_next
      • getZdepth_offset

        public float getZdepth_offset()
                               throws java.io.IOException
        Get method for struct member 'zdepth_offset'.

        Field Documentation

        Blender Source Code

        Offset for drawing over surfaces to keep strokes on top.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__zdepth_offset
      • setZdepth_offset

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

        Field Documentation

        Blender Source Code

        Offset for drawing over surfaces to keep strokes on top.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__zdepth_offset
      • getMat

        public CPointer<CPointer<Material>> getMat()
                                            throws java.io.IOException
        Get method for struct member 'mat'.

        Field Documentation

        Blender Source Code

        Materials array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat
      • setMat

        public void setMat​(CPointer<CPointer<Material>> mat)
                    throws java.io.IOException
        Set method for struct member 'mat'.

        Field Documentation

        Blender Source Code

        Materials array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat
      • getTotcol

        public short getTotcol()
                        throws java.io.IOException
        Get method for struct member 'totcol'.

        Field Documentation

        Blender Source Code

        Total materials.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • setTotcol

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

        Field Documentation

        Blender Source Code

        Total materials.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totcol
      • getTotlayer

        public short getTotlayer()
                          throws java.io.IOException
        Get method for struct member 'totlayer'.

        Field Documentation

        Blender Source Code

        stats

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totlayer
      • setTotlayer

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

        Field Documentation

        Blender Source Code

        stats

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totlayer
      • getTotframe

        public short getTotframe()
                          throws java.io.IOException
        Get method for struct member 'totframe'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totframe
      • setTotframe

        public void setTotframe​(short totframe)
                         throws java.io.IOException
        Set method for struct member 'totframe'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totframe
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getTotstroke

        public int getTotstroke()
                         throws java.io.IOException
        Get method for struct member 'totstroke'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totstroke
      • setTotstroke

        public void setTotstroke​(int totstroke)
                          throws java.io.IOException
        Set method for struct member 'totstroke'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totstroke
      • getTotpoint

        public int getTotpoint()
                        throws java.io.IOException
        Get method for struct member 'totpoint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoint
      • setTotpoint

        public void setTotpoint​(int totpoint)
                         throws java.io.IOException
        Set method for struct member 'totpoint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoint
      • getDraw_mode

        public short getDraw_mode()
                           throws java.io.IOException
        Get method for struct member 'draw_mode'.

        Field Documentation

        Blender Source Code

        Draw mode for strokes (eGP_DrawMode).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_mode
      • setDraw_mode

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

        Field Documentation

        Blender Source Code

        Draw mode for strokes (eGP_DrawMode).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_mode
      • getOnion_keytype

        public short getOnion_keytype()
                               throws java.io.IOException
        Get method for struct member 'onion_keytype'.

        Field Documentation

        Blender Source Code

        Keyframe type for onion filter (eBezTriple_KeyframeType plus All option)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_keytype
      • setOnion_keytype

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

        Field Documentation

        Blender Source Code

        Keyframe type for onion filter (eBezTriple_KeyframeType plus All option)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__onion_keytype
      • getGrid

        public bGPgrid getGrid()
                        throws java.io.IOException
        Get method for struct member 'grid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grid
      • setGrid

        public void setGrid​(bGPgrid grid)
                     throws java.io.IOException
        Set method for struct member 'grid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grid
      • setRuntime

        public void setRuntime​(bGPdata_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • __io__addressof

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