Class MaterialGPencilStyle


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Texture image for strokes.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__sima);
         CPointer<CPointer<Image>> p_sima = p.cast(new Class[]{CPointer.class, Image.class});
         

        Metadata

        • Field: 'sima'
        • Signature: 'Image*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ima

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

        Field Documentation

        Blender Source Code

        Texture image for filling.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__ima);
         CPointer<CPointer<Image>> p_ima = p.cast(new Class[]{CPointer.class, Image.class});
         

        Metadata

        • Field: 'ima'
        • Signature: 'Image*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__stroke_rgba

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

        Field Documentation

        Blender Source Code

        Color for paint and strokes (alpha included).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__stroke_rgba);
         CPointer<CArrayFacade<Float>> p_stroke_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Color that should be used for drawing "fills" for strokes (alpha included).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__fill_rgba);
         CPointer<CArrayFacade<Float>> p_fill_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Secondary color used for gradients and other stuff.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mix_rgba);
         CPointer<CArrayFacade<Float>> p_mix_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'mix_rgba'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __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:

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__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__index

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

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__index);
         CPointer<Short> p_index = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'index'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__stroke_style

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

        Field Documentation

        Blender Python API

        Select style used to draw strokes

        Blender Source Code

        Style for drawing strokes (used to select shader type).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__stroke_style);
         CPointer<Short> p_stroke_style = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'stroke_style'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__fill_style

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

        Field Documentation

        Blender Python API

        Select style used to fill strokes

        Blender Source Code

        Style for filling areas (used to select shader type).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__fill_style);
         CPointer<Short> p_fill_style = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'fill_style'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__mix_factor

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

        Field Documentation

        Blender Python API

        Mix Factor

        Blender Source Code

        Factor used to define shader behavior (several uses).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mix_factor);
         CPointer<Float> p_mix_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mix_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gradient_angle

        public static final long[] __DNA__FIELD__gradient_angle
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_angle);
         CPointer<Float> p_gradient_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'gradient_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
        Field descriptor (offset) for struct member 'gradient_angle'.

        Field Documentation

        Blender Source Code

        Angle used for gradients orientation.

      • __DNA__FIELD__gradient_radius

        public static final long[] __DNA__FIELD__gradient_radius
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_radius);
         CPointer<Float> p_gradient_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'gradient_radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
        Field descriptor (offset) for struct member 'gradient_radius'.

        Field Documentation

        Blender Source Code

        Radius for radial gradients.

      • __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:

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

        Metadata

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

        public static final long[] __DNA__FIELD__gradient_scale
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_scale);
         CPointer<CArrayFacade<Float>> p_gradient_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'gradient_scale'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
        Field descriptor (offset) for struct member 'gradient_scale'.

        Field Documentation

        Blender Source Code

        Uv coordinates scale.

      • __DNA__FIELD__gradient_shift

        public static final long[] __DNA__FIELD__gradient_shift
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_shift);
         CPointer<CArrayFacade<Float>> p_gradient_shift = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'gradient_shift'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
        Field descriptor (offset) for struct member 'gradient_shift'.

        Field Documentation

        Blender Source Code

        Factor to shift filling in 2d space.

      • __DNA__FIELD__texture_angle

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

        Field Documentation

        Blender Python API

        Texture Orientation Angle

        Blender Source Code

        Angle used for texture orientation.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_angle);
         CPointer<Float> p_texture_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'texture_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__texture_scale

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

        Field Documentation

        Blender Python API

        Scale Factor for Texture

        Blender Source Code

        Texture scale (separated of uv scale).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_scale);
         CPointer<CArrayFacade<Float>> p_texture_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Shift Texture in 2d Space

        Blender Source Code

        Factor to shift texture in 2d space.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_offset);
         CPointer<CArrayFacade<Float>> p_texture_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__texture_opacity
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_opacity);
         CPointer<Float> p_texture_opacity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'texture_opacity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
        Field descriptor (offset) for struct member 'texture_opacity'.

        Field Documentation

        Blender Source Code

        Texture opacity.

      • __DNA__FIELD__texture_pixsize

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

        Field Documentation

        Blender Source Code

        Pixel size for uv along the stroke.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_pixsize);
         CPointer<Float> p_texture_pixsize = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'texture_pixsize'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mode

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

        Field Documentation

        Blender Python API

        Select line type for strokes

        Blender Source Code

        Drawing mode (line or dots).

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mode);
         CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gradient_type

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

        Field Documentation

        Blender Python API

        Select type of gradient used to fill strokes

        Blender Source Code

        Type of gradient.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_type);
         CPointer<Integer> p_gradient_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'gradient_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mix_stroke_factor

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

        Field Documentation

        Blender Python API

        Mix Stroke Factor

        Blender Source Code

        Factor used to mix texture and stroke color.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mix_stroke_factor);
         CPointer<Float> p_mix_stroke_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mix_stroke_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__alignment_mode

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

        Field Documentation

        Blender Python API

        Defines how align Dots and Boxes with drawing path and object rotation

        Blender Source Code

        Mode used to align Dots and Boxes with stroke drawing path and object rotation

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__alignment_mode);
         CPointer<Integer> p_alignment_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'alignment_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__alignment_rotation

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

        Field Documentation

        Blender Python API

        Additional rotation applied to dots and square texture of strokes. Only applies in texture shading mode

        Blender Source Code

        Rotation for texture for Dots and Squares.

        Pointer Arithmetics

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

         MaterialGPencilStyle materialgpencilstyle = ...;
         CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__alignment_rotation);
         CPointer<Float> p_alignment_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'alignment_rotation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • MaterialGPencilStyle

        public MaterialGPencilStyle​(long __address,
                                    Block __block,
                                    BlockTable __blockTable)
    • Method Detail

      • getSima

        public CPointer<Image> getSima()
                                throws java.io.IOException
        Get method for struct member 'sima'.

        Field Documentation

        Blender Source Code

        Texture image for strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sima
      • setSima

        public void setSima​(CPointer<Image> sima)
                     throws java.io.IOException
        Set method for struct member 'sima'.

        Field Documentation

        Blender Source Code

        Texture image for strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sima
      • getIma

        public CPointer<Image> getIma()
                               throws java.io.IOException
        Get method for struct member 'ima'.

        Field Documentation

        Blender Source Code

        Texture image for filling.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ima
      • setIma

        public void setIma​(CPointer<Image> ima)
                    throws java.io.IOException
        Set method for struct member 'ima'.

        Field Documentation

        Blender Source Code

        Texture image for filling.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ima
      • getStroke_rgba

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

        Field Documentation

        Blender Source Code

        Color for paint and strokes (alpha included).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stroke_rgba
      • setStroke_rgba

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

        Field Documentation

        Blender Source Code

        Color for paint and strokes (alpha included).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stroke_rgba
      • getFill_rgba

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

        Field Documentation

        Blender Source Code

        Color that should be used for drawing "fills" for strokes (alpha included).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_rgba
      • setFill_rgba

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

        Field Documentation

        Blender Source Code

        Color that should be used for drawing "fills" for strokes (alpha included).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_rgba
      • getMix_rgba

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

        Field Documentation

        Blender Source Code

        Secondary color used for gradients and other stuff.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_rgba
      • setMix_rgba

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

        Field Documentation

        Blender Source Code

        Secondary color used for gradients and other stuff.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_rgba
      • 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
      • getIndex

        public short getIndex()
                       throws java.io.IOException
        Get method for struct member 'index'.

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index
      • setIndex

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

        Field Documentation

        Blender Source Code

        Custom index for passes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index
      • getStroke_style

        public short getStroke_style()
                              throws java.io.IOException
        Get method for struct member 'stroke_style'.

        Field Documentation

        Blender Python API

        Select style used to draw strokes

        Blender Source Code

        Style for drawing strokes (used to select shader type).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stroke_style
      • setStroke_style

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

        Field Documentation

        Blender Python API

        Select style used to draw strokes

        Blender Source Code

        Style for drawing strokes (used to select shader type).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stroke_style
      • getFill_style

        public short getFill_style()
                            throws java.io.IOException
        Get method for struct member 'fill_style'.

        Field Documentation

        Blender Python API

        Select style used to fill strokes

        Blender Source Code

        Style for filling areas (used to select shader type).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_style
      • setFill_style

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

        Field Documentation

        Blender Python API

        Select style used to fill strokes

        Blender Source Code

        Style for filling areas (used to select shader type).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_style
      • getMix_factor

        public float getMix_factor()
                            throws java.io.IOException
        Get method for struct member 'mix_factor'.

        Field Documentation

        Blender Python API

        Mix Factor

        Blender Source Code

        Factor used to define shader behavior (several uses).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_factor
      • setMix_factor

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

        Field Documentation

        Blender Python API

        Mix Factor

        Blender Source Code

        Factor used to define shader behavior (several uses).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_factor
      • getGradient_angle

        public float getGradient_angle()
                                throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'gradient_angle'.

        Field Documentation

        Blender Source Code

        Angle used for gradients orientation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_angle
      • setGradient_angle

        public void setGradient_angle​(float gradient_angle)
                               throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'gradient_angle'.

        Field Documentation

        Blender Source Code

        Angle used for gradients orientation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_angle
      • getGradient_radius

        public float getGradient_radius()
                                 throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'gradient_radius'.

        Field Documentation

        Blender Source Code

        Radius for radial gradients.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_radius
      • setGradient_radius

        public void setGradient_radius​(float gradient_radius)
                                throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'gradient_radius'.

        Field Documentation

        Blender Source Code

        Radius for radial gradients.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_radius
      • 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
      • getGradient_scale

        public CArrayFacade<java.lang.Float> getGradient_scale()
                                                        throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'gradient_scale'.

        Field Documentation

        Blender Source Code

        Uv coordinates scale.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_scale
      • setGradient_scale

        public void setGradient_scale​(CArrayFacade<java.lang.Float> gradient_scale)
                               throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'gradient_scale'.

        Field Documentation

        Blender Source Code

        Uv coordinates scale.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_scale
      • getGradient_shift

        public CArrayFacade<java.lang.Float> getGradient_shift()
                                                        throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'gradient_shift'.

        Field Documentation

        Blender Source Code

        Factor to shift filling in 2d space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_shift
      • setGradient_shift

        public void setGradient_shift​(CArrayFacade<java.lang.Float> gradient_shift)
                               throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'gradient_shift'.

        Field Documentation

        Blender Source Code

        Factor to shift filling in 2d space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_shift
      • getTexture_angle

        public float getTexture_angle()
                               throws java.io.IOException
        Get method for struct member 'texture_angle'.

        Field Documentation

        Blender Python API

        Texture Orientation Angle

        Blender Source Code

        Angle used for texture orientation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_angle
      • setTexture_angle

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

        Field Documentation

        Blender Python API

        Texture Orientation Angle

        Blender Source Code

        Angle used for texture orientation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_angle
      • getTexture_scale

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

        Field Documentation

        Blender Python API

        Scale Factor for Texture

        Blender Source Code

        Texture scale (separated of uv scale).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_scale
      • setTexture_scale

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

        Field Documentation

        Blender Python API

        Scale Factor for Texture

        Blender Source Code

        Texture scale (separated of uv scale).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_scale
      • getTexture_offset

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

        Field Documentation

        Blender Python API

        Shift Texture in 2d Space

        Blender Source Code

        Factor to shift texture in 2d space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_offset
      • setTexture_offset

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

        Field Documentation

        Blender Python API

        Shift Texture in 2d Space

        Blender Source Code

        Factor to shift texture in 2d space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_offset
      • getTexture_opacity

        public float getTexture_opacity()
                                 throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'texture_opacity'.

        Field Documentation

        Blender Source Code

        Texture opacity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_opacity
      • setTexture_opacity

        public void setTexture_opacity​(float texture_opacity)
                                throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'texture_opacity'.

        Field Documentation

        Blender Source Code

        Texture opacity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_opacity
      • getTexture_pixsize

        public float getTexture_pixsize()
                                 throws java.io.IOException
        Get method for struct member 'texture_pixsize'.

        Field Documentation

        Blender Source Code

        Pixel size for uv along the stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_pixsize
      • setTexture_pixsize

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

        Field Documentation

        Blender Source Code

        Pixel size for uv along the stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_pixsize
      • getMode

        public int getMode()
                    throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Python API

        Select line type for strokes

        Blender Source Code

        Drawing mode (line or dots).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

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

        Field Documentation

        Blender Python API

        Select line type for strokes

        Blender Source Code

        Drawing mode (line or dots).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getGradient_type

        public int getGradient_type()
                             throws java.io.IOException
        Get method for struct member 'gradient_type'.

        Field Documentation

        Blender Python API

        Select type of gradient used to fill strokes

        Blender Source Code

        Type of gradient.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_type
      • setGradient_type

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

        Field Documentation

        Blender Python API

        Select type of gradient used to fill strokes

        Blender Source Code

        Type of gradient.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_type
      • getMix_stroke_factor

        public float getMix_stroke_factor()
                                   throws java.io.IOException
        Get method for struct member 'mix_stroke_factor'.

        Field Documentation

        Blender Python API

        Mix Stroke Factor

        Blender Source Code

        Factor used to mix texture and stroke color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_stroke_factor
      • setMix_stroke_factor

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

        Field Documentation

        Blender Python API

        Mix Stroke Factor

        Blender Source Code

        Factor used to mix texture and stroke color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_stroke_factor
      • getAlignment_mode

        public int getAlignment_mode()
                              throws java.io.IOException
        Get method for struct member 'alignment_mode'.

        Field Documentation

        Blender Python API

        Defines how align Dots and Boxes with drawing path and object rotation

        Blender Source Code

        Mode used to align Dots and Boxes with stroke drawing path and object rotation

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alignment_mode
      • setAlignment_mode

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

        Field Documentation

        Blender Python API

        Defines how align Dots and Boxes with drawing path and object rotation

        Blender Source Code

        Mode used to align Dots and Boxes with stroke drawing path and object rotation

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alignment_mode
      • getAlignment_rotation

        public float getAlignment_rotation()
                                    throws java.io.IOException
        Get method for struct member 'alignment_rotation'.

        Field Documentation

        Blender Python API

        Additional rotation applied to dots and square texture of strokes. Only applies in texture shading mode

        Blender Source Code

        Rotation for texture for Dots and Squares.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alignment_rotation
      • setAlignment_rotation

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

        Field Documentation

        Blender Python API

        Additional rotation applied to dots and square texture of strokes. Only applies in texture shading mode

        Blender Source Code

        Rotation for texture for Dots and Squares.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alignment_rotation