Class bGPDstroke


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

    Class Documentation

    Blender Source Code

    Grease-Pencil Annotations - 'Stroke' -> A stroke represents a (simplified version) of the curve drawn by the user in one 'mouse-down'->'mouse-up' operation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__next);
         CPointer<CPointer<bGPDstroke>> p_next = p.cast(new Class[]{CPointer.class, bGPDstroke.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'bGPDstroke*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__prev);
         CPointer<CPointer<bGPDstroke>> p_prev = p.cast(new Class[]{CPointer.class, bGPDstroke.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'bGPDstroke*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__points

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

        Field Documentation

        Blender Source Code

        Array of data-points for stroke.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__points);
         CPointer<CPointer<bGPDspoint>> p_points = p.cast(new Class[]{CPointer.class, bGPDspoint.class});
         

        Metadata

        • Field: 'points'
        • Signature: 'bGPDspoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__triangles

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

        Field Documentation

        Blender Source Code

        Tessellated triangles for GP Fill.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__triangles);
         CPointer<CPointer<bGPDtriangle>> p_triangles = p.cast(new Class[]{CPointer.class, bGPDtriangle.class});
         

        Metadata

        • Field: 'triangles'
        • Signature: 'bGPDtriangle*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totpoints

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

        Field Documentation

        Blender Source Code

        Number of data-points in array.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__totpoints);
         CPointer<Integer> p_totpoints = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totpoints'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tot_triangles

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

        Field Documentation

        Blender Source Code

        Number of triangles in array.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__tot_triangles);
         CPointer<Integer> p_tot_triangles = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tot_triangles'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__thickness

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

        Field Documentation

        Blender Source Code

        Thickness of stroke.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__thickness);
         CPointer<Short> p_thickness = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'thickness'
        • 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

        Various settings about this stroke.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__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___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:

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Short>> p__pad = p.cast(new Class[]{CArrayFacade.class, Short.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'short[2]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__inittime

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

        Field Documentation

        Blender Source Code

        Init time of stroke.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__inittime);
         CPointer<Double> p_inittime = p.cast(new Class[]{Double.class});
         

        Metadata

        • Field: 'inittime'
        • Signature: 'double'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__colorname

        public static final long[] __DNA__FIELD__colorname
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__colorname);
         CPointer<CArrayFacade<Byte>> p_colorname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'colorname'
        • Signature: 'char[128]'
        • Actual Size (32bit/64bit): 128/128
        Field descriptor (offset) for struct member 'colorname'.

        Field Documentation

        Blender Source Code

        Color name.

      • __DNA__FIELD__mat_nr

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

        Field Documentation

        Blender Source Code

        Material index.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__mat_nr);
         CPointer<Integer> p_mat_nr = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mat_nr'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__caps

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

        Field Documentation

        Blender Source Code

        Caps mode for each stroke extreme

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__caps);
         CPointer<CArrayFacade<Short>> p_caps = p.cast(new Class[]{CArrayFacade.class, Short.class});
         

        Metadata

        • Field: 'caps'
        • Signature: 'short[2]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gradient_f

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__gradient_f);
         CPointer<Float> p_gradient_f = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'gradient_f'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gradient_s

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__gradient_s);
         CPointer<CArrayFacade<Float>> p_gradient_s = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Factor of opacity for Fill color (used by opacity modifier).

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__fill_opacity_fac);
         CPointer<Float> p_fill_opacity_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fill_opacity_fac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__boundbox_min

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

        Field Documentation

        Blender Source Code

        Min of the bound box used to speedup painting operators.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__boundbox_min);
         CPointer<CArrayFacade<Float>> p_boundbox_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Max of the bound box used to speedup painting operators.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__boundbox_max);
         CPointer<CArrayFacade<Float>> p_boundbox_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        UV rotation

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__uv_rotation);
         CPointer<Float> p_uv_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_rotation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_translation

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

        Field Documentation

        Blender Source Code

        UV translation (X and Y axis)

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__uv_translation);
         CPointer<CArrayFacade<Float>> p_uv_translation = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__uv_scale);
         CPointer<Float> p_uv_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__select_index

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

        Field Documentation

        Blender Source Code

        Stroke selection index.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__select_index);
         CPointer<Integer> p_select_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'select_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad4

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad4);
         CPointer<CArrayFacade<Byte>> p__pad4 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Vertex weight data.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__dvert);
         CPointer<CPointer<MDeformVert>> p_dvert = p.cast(new Class[]{CPointer.class, MDeformVert.class});
         

        Metadata

        • Field: 'dvert'
        • Signature: 'MDeformVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD___pad3

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad3);
         CPointer<CPointer<Object>> p__pad3 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: '_pad3'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__vert_color_fill

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

        Field Documentation

        Blender Source Code

        Vertex Color for Fill (one for all stroke, A=mix factor).

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__vert_color_fill);
         CPointer<CArrayFacade<Float>> p_vert_color_fill = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Curve used to edit the stroke using Bezier handlers.

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__editcurve);
         CPointer<CPointer<bGPDcurve>> p_editcurve = p.cast(new Class[]{CPointer.class, bGPDcurve.class});
         

        Metadata

        • Field: 'editcurve'
        • Signature: 'bGPDcurve*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__runtime

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

        Field Documentation

        Blender Source Code

        NOTE: When adding new members, make sure to add them to BKE_gpencil_stroke_copy_settings as well!

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__runtime);
         CPointer<bGPDstroke_Runtime> p_runtime = p.cast(new Class[]{bGPDstroke_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'bGPDstroke_Runtime'
        • Actual Size (32bit/64bit): 160/168
      • __DNA__FIELD___pad5

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

        Pointer Arithmetics

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

         bGPDstroke bgpdstroke = ...;
         CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD___pad5);
         CPointer<CPointer<Object>> p__pad5 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • bGPDstroke

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

        protected bGPDstroke​(bGPDstroke that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<bGPDstroke> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<bGPDstroke> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getPoints

        public CPointer<bGPDspoint> getPoints()
                                       throws java.io.IOException
        Get method for struct member 'points'.

        Field Documentation

        Blender Source Code

        Array of data-points for stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • setPoints

        public void setPoints​(CPointer<bGPDspoint> points)
                       throws java.io.IOException
        Set method for struct member 'points'.

        Field Documentation

        Blender Source Code

        Array of data-points for stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • getTriangles

        public CPointer<bGPDtriangle> getTriangles()
                                            throws java.io.IOException
        Get method for struct member 'triangles'.

        Field Documentation

        Blender Source Code

        Tessellated triangles for GP Fill.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__triangles
      • setTriangles

        public void setTriangles​(CPointer<bGPDtriangle> triangles)
                          throws java.io.IOException
        Set method for struct member 'triangles'.

        Field Documentation

        Blender Source Code

        Tessellated triangles for GP Fill.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__triangles
      • getTotpoints

        public int getTotpoints()
                         throws java.io.IOException
        Get method for struct member 'totpoints'.

        Field Documentation

        Blender Source Code

        Number of data-points in array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoints
      • setTotpoints

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

        Field Documentation

        Blender Source Code

        Number of data-points in array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoints
      • getTot_triangles

        public int getTot_triangles()
                             throws java.io.IOException
        Get method for struct member 'tot_triangles'.

        Field Documentation

        Blender Source Code

        Number of triangles in array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot_triangles
      • setTot_triangles

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

        Field Documentation

        Blender Source Code

        Number of triangles in array.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tot_triangles
      • getThickness

        public short getThickness()
                           throws java.io.IOException
        Get method for struct member 'thickness'.

        Field Documentation

        Blender Source Code

        Thickness of stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__thickness
      • setThickness

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

        Field Documentation

        Blender Source Code

        Thickness of stroke.

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

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

        Field Documentation

        Blender Source Code

        Various settings about this stroke.

        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

        Various settings about this stroke.

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

        public CArrayFacade<java.lang.Short> 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.Short> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getInittime

        public double getInittime()
                           throws java.io.IOException
        Get method for struct member 'inittime'.

        Field Documentation

        Blender Source Code

        Init time of stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__inittime
      • setInittime

        public void setInittime​(double inittime)
                         throws java.io.IOException
        Set method for struct member 'inittime'.

        Field Documentation

        Blender Source Code

        Init time of stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__inittime
      • getColorname

        public CArrayFacade<java.lang.Byte> getColorname()
                                                  throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'colorname'.

        Field Documentation

        Blender Source Code

        Color name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colorname
      • setColorname

        public void setColorname​(CArrayFacade<java.lang.Byte> colorname)
                          throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'colorname'.

        Field Documentation

        Blender Source Code

        Color name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colorname
      • getMat_nr

        public int getMat_nr()
                      throws java.io.IOException
        Get method for struct member 'mat_nr'.

        Field Documentation

        Blender Source Code

        Material index.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_nr
      • setMat_nr

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

        Field Documentation

        Blender Source Code

        Material index.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_nr
      • getCaps

        public CArrayFacade<java.lang.Short> getCaps()
                                              throws java.io.IOException
        Get method for struct member 'caps'.

        Field Documentation

        Blender Source Code

        Caps mode for each stroke extreme

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__caps
      • setCaps

        public void setCaps​(CArrayFacade<java.lang.Short> caps)
                     throws java.io.IOException
        Set method for struct member 'caps'.

        Field Documentation

        Blender Source Code

        Caps mode for each stroke extreme

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__caps
      • getGradient_f

        public float getGradient_f()
                            throws java.io.IOException
        Get method for struct member 'gradient_f'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_f
      • setGradient_f

        public void setGradient_f​(float gradient_f)
                           throws java.io.IOException
        Set method for struct member 'gradient_f'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_f
      • getGradient_s

        public CArrayFacade<java.lang.Float> getGradient_s()
                                                    throws java.io.IOException
        Get method for struct member 'gradient_s'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_s
      • setGradient_s

        public void setGradient_s​(CArrayFacade<java.lang.Float> gradient_s)
                           throws java.io.IOException
        Set method for struct member 'gradient_s'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_s
      • getFill_opacity_fac

        public float getFill_opacity_fac()
                                  throws java.io.IOException
        Get method for struct member 'fill_opacity_fac'.

        Field Documentation

        Blender Source Code

        Factor of opacity for Fill color (used by opacity modifier).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_opacity_fac
      • setFill_opacity_fac

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

        Field Documentation

        Blender Source Code

        Factor of opacity for Fill color (used by opacity modifier).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_opacity_fac
      • getBoundbox_min

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

        Field Documentation

        Blender Source Code

        Min of the bound box used to speedup painting operators.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundbox_min
      • setBoundbox_min

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

        Field Documentation

        Blender Source Code

        Min of the bound box used to speedup painting operators.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundbox_min
      • getBoundbox_max

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

        Field Documentation

        Blender Source Code

        Max of the bound box used to speedup painting operators.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundbox_max
      • setBoundbox_max

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

        Field Documentation

        Blender Source Code

        Max of the bound box used to speedup painting operators.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundbox_max
      • getUv_rotation

        public float getUv_rotation()
                             throws java.io.IOException
        Get method for struct member 'uv_rotation'.

        Field Documentation

        Blender Source Code

        UV rotation

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_rotation
      • setUv_rotation

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

        Field Documentation

        Blender Source Code

        UV rotation

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_rotation
      • getUv_translation

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

        Field Documentation

        Blender Source Code

        UV translation (X and Y axis)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_translation
      • setUv_translation

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

        Field Documentation

        Blender Source Code

        UV translation (X and Y axis)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_translation
      • getUv_scale

        public float getUv_scale()
                          throws java.io.IOException
        Get method for struct member 'uv_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_scale
      • setUv_scale

        public void setUv_scale​(float uv_scale)
                         throws java.io.IOException
        Set method for struct member 'uv_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_scale
      • getSelect_index

        public int getSelect_index()
                            throws java.io.IOException
        Get method for struct member 'select_index'.

        Field Documentation

        Blender Source Code

        Stroke selection index.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__select_index
      • setSelect_index

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

        Field Documentation

        Blender Source Code

        Stroke selection index.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__select_index
      • get_pad4

        public CArrayFacade<java.lang.Byte> get_pad4()
                                              throws java.io.IOException
        Get method for struct member '_pad4'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad4
      • set_pad4

        public void set_pad4​(CArrayFacade<java.lang.Byte> _pad4)
                      throws java.io.IOException
        Set method for struct member '_pad4'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad4
      • getDvert

        public CPointer<MDeformVert> getDvert()
                                       throws java.io.IOException
        Get method for struct member 'dvert'.

        Field Documentation

        Blender Source Code

        Vertex weight data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dvert
      • setDvert

        public void setDvert​(CPointer<MDeformVert> dvert)
                      throws java.io.IOException
        Set method for struct member 'dvert'.

        Field Documentation

        Blender Source Code

        Vertex weight data.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dvert
      • get_pad3

        public CPointer<java.lang.Object> get_pad3()
                                            throws java.io.IOException
        Get method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • set_pad3

        public void set_pad3​(CPointer<java.lang.Object> _pad3)
                      throws java.io.IOException
        Set method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • getVert_color_fill

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

        Field Documentation

        Blender Source Code

        Vertex Color for Fill (one for all stroke, A=mix factor).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_color_fill
      • setVert_color_fill

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

        Field Documentation

        Blender Source Code

        Vertex Color for Fill (one for all stroke, A=mix factor).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_color_fill
      • getEditcurve

        public CPointer<bGPDcurve> getEditcurve()
                                         throws java.io.IOException
        Get method for struct member 'editcurve'.

        Field Documentation

        Blender Source Code

        Curve used to edit the stroke using Bezier handlers.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editcurve
      • setEditcurve

        public void setEditcurve​(CPointer<bGPDcurve> editcurve)
                          throws java.io.IOException
        Set method for struct member 'editcurve'.

        Field Documentation

        Blender Source Code

        Curve used to edit the stroke using Bezier handlers.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__editcurve
      • getRuntime

        public bGPDstroke_Runtime getRuntime()
                                      throws java.io.IOException
        Get method for struct member 'runtime'.

        Field Documentation

        Blender Source Code

        NOTE: When adding new members, make sure to add them to BKE_gpencil_stroke_copy_settings as well!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(bGPDstroke_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.

        Field Documentation

        Blender Source Code

        NOTE: When adding new members, make sure to add them to BKE_gpencil_stroke_copy_settings as well!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • get_pad5

        public CPointer<java.lang.Object> get_pad5()
                                            throws java.io.IOException
        Get method for struct member '_pad5'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad5
      • set_pad5

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

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