Class BrushGpencilSettings


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Amount of smoothing to apply to newly created strokes.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_smoothfac);
         CPointer<Float> p_draw_smoothfac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_smoothfac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_factor

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

        Field Documentation

        Blender Python API

        Factor for fill boundary accuracy, higher values are more accurate but slower

        Blender Source Code

        Fill zoom factor

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_factor);
         CPointer<Float> p_fill_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fill_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_strength

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

        Field Documentation

        Blender Source Code

        Amount of alpha strength to apply to newly created strokes.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_strength);
         CPointer<Float> p_draw_strength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_strength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_jitter

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

        Field Documentation

        Blender Source Code

        Amount of jitter to apply to newly created strokes.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_jitter);
         CPointer<Float> p_draw_jitter = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_jitter'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_angle

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

        Field Documentation

        Blender Source Code

        Angle when the brush has full thickness.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_angle);
         CPointer<Float> p_draw_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_angle_factor

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

        Field Documentation

        Blender Source Code

        Factor to apply when angle change (only 90 degrees).

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_angle_factor);
         CPointer<Float> p_draw_angle_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_angle_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_random_press

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

        Field Documentation

        Blender Source Code

        Factor of randomness for pressure.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_random_press);
         CPointer<Float> p_draw_random_press = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_random_press'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_random_strength

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

        Field Documentation

        Blender Source Code

        Factor of strength for strength.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_random_strength);
         CPointer<Float> p_draw_random_strength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'draw_random_strength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_smoothlvl

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

        Field Documentation

        Blender Source Code

        Number of times to apply smooth factor to new strokes.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_smoothlvl);
         CPointer<Short> p_draw_smoothlvl = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'draw_smoothlvl'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__draw_subdivide

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

        Field Documentation

        Blender Source Code

        Number of times to subdivide new strokes.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__draw_subdivide);
         CPointer<Short> p_draw_subdivide = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'draw_subdivide'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__fill_layer_mode

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

        Field Documentation

        Blender Python API

        Layers used as boundaries

        Blender Source Code

        Layers used for fill.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_layer_mode);
         CPointer<Short> p_fill_layer_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'fill_layer_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__fill_direction

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

        Field Documentation

        Blender Python API

        Direction of the fill

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_direction);
         CPointer<Short> p_fill_direction = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'fill_direction'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__fill_threshold

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

        Field Documentation

        Blender Python API

        Threshold to consider color transparent for filling

        Blender Source Code

        Factor for transparency.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_threshold);
         CPointer<Float> p_fill_threshold = p.cast(new Class[]{Float.class});
         

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        The shape of the start and end of the stroke

        Blender Source Code

        Type of caps: eGPDstroke_Caps.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__caps_type);
         CPointer<Byte> p_caps_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'caps_type'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__flag2);
         CPointer<Integer> p_flag2 = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag2'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_simplylvl

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

        Field Documentation

        Blender Source Code

        Number of simplify steps.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_simplylvl);
         CPointer<Integer> p_fill_simplylvl = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'fill_simplylvl'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_draw_mode

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

        Field Documentation

        Blender Python API

        Mode to draw boundary limits

        Blender Source Code

        Type of control lines drawing mode.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_draw_mode);
         CPointer<Integer> p_fill_draw_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'fill_draw_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_extend_mode

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

        Field Documentation

        Blender Python API

        Types of stroke extensions used for closing gaps

        Blender Source Code

        Type of gap filling extension to use.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_extend_mode);
         CPointer<Integer> p_fill_extend_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'fill_extend_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__icon_id

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

        Field Documentation

        Blender Source Code

        Icon identifier.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__icon_id);
         CPointer<Integer> p_icon_id = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'icon_id'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__input_samples

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

        Field Documentation

        Blender Python API

        Generate intermediate points for very fast mouse movements. Set to 0 to disable

        Blender Source Code

        Maximum distance before generate new point for very fast mouse movements.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__input_samples);
         CPointer<Integer> p_input_samples = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'input_samples'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uv_random

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

        Field Documentation

        Blender Python API

        Random factor for auto-generated UV rotation

        Blender Source Code

        Random factor for UV rotation.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__uv_random);
         CPointer<Float> p_uv_random = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uv_random'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__brush_type

        public static final long[] __DNA__FIELD__brush_type
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__brush_type);
         CPointer<Integer> p_brush_type = p.cast(new Class[]{Integer.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Moved to 'Brush.getGpencil_tool() '.

      • __DNA__FIELD__eraser_mode

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

        Field Documentation

        Blender Python API

        Eraser Mode

        Blender Source Code

        Soft, hard or stroke.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__eraser_mode);
         CPointer<Integer> p_eraser_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'eraser_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__active_smooth

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

        Field Documentation

        Blender Source Code

        Smooth while drawing factor.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__active_smooth);
         CPointer<Float> p_active_smooth = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'active_smooth'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__era_strength_f

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

        Field Documentation

        Blender Source Code

        Factor to apply to strength for soft eraser.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__era_strength_f);
         CPointer<Float> p_era_strength_f = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'era_strength_f'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__era_thickness_f

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

        Field Documentation

        Blender Source Code

        Factor to apply to thickness for soft eraser.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__era_thickness_f);
         CPointer<Float> p_era_thickness_f = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'era_thickness_f'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Internal grease pencil drawing flags.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__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__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:

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__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:

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__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__simplify_f

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

        Field Documentation

        Blender Source Code

        Simplify adaptive factor

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__simplify_f);
         CPointer<Float> p_simplify_f = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'simplify_f'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vertex_factor

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

        Field Documentation

        Blender Source Code

        Mix color-factor.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__vertex_factor);
         CPointer<Float> p_vertex_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'vertex_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vertex_mode

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

        Field Documentation

        Blender Python API

        Defines how vertex color affect to the strokes

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__vertex_mode);
         CPointer<Integer> p_vertex_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'vertex_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sculpt_flag

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

        Field Documentation

        Blender Source Code

        eGP_Sculpt_Flag.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__sculpt_flag);
         CPointer<Integer> p_sculpt_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sculpt_flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sculpt_mode_flag

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

        Field Documentation

        Blender Source Code

        eGP_Sculpt_Mode_Flag.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__sculpt_mode_flag);
         CPointer<Integer> p_sculpt_mode_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sculpt_mode_flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__preset_type

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

        Field Documentation

        Blender Source Code

        Preset type (used to reset brushes - internal).

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__preset_type);
         CPointer<Short> p_preset_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'preset_type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__brush_draw_mode

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

        Field Documentation

        Blender Python API

        Preselected mode when using this brush

        Blender Source Code

        Brush preselected mode (Active/Material/Vertex-color).

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__brush_draw_mode);
         CPointer<Short> p_brush_draw_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'brush_draw_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__random_hue

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

        Field Documentation

        Blender Source Code

        Randomness for Hue.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__random_hue);
         CPointer<Float> p_random_hue = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'random_hue'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__random_saturation

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

        Field Documentation

        Blender Source Code

        Randomness for Saturation.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__random_saturation);
         CPointer<Float> p_random_saturation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'random_saturation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__random_value

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

        Field Documentation

        Blender Source Code

        Randomness for Value.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__random_value);
         CPointer<Float> p_random_value = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'random_value'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fill_extend_fac

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

        Field Documentation

        Blender Source Code

        Factor to extend stroke extremes using fill tool.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__fill_extend_fac);
         CPointer<Float> p_fill_extend_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fill_extend_fac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__dilate_pixels

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

        Field Documentation

        Blender Source Code

        Number of pixels to dilate fill area.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__dilate_pixels);
         CPointer<Integer> p_dilate_pixels = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'dilate_pixels'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curve_sensitivity

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

        Field Documentation

        Blender Python API

        (read-only) Curve used for the sensitivity

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_sensitivity);
         CPointer<CPointer<CurveMapping>> p_curve_sensitivity = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_sensitivity'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_strength

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

        Field Documentation

        Blender Python API

        (read-only) Curve used for the strength

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_strength);
         CPointer<CPointer<CurveMapping>> p_curve_strength = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_strength'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_jitter

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

        Field Documentation

        Blender Python API

        (read-only) Curve used for the jitter effect

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_jitter);
         CPointer<CPointer<CurveMapping>> p_curve_jitter = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_jitter'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_rand_pressure

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_rand_pressure);
         CPointer<CPointer<CurveMapping>> p_curve_rand_pressure = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_rand_pressure'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_rand_strength

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_rand_strength);
         CPointer<CPointer<CurveMapping>> p_curve_rand_strength = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_rand_strength'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_rand_uv

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_rand_uv);
         CPointer<CPointer<CurveMapping>> p_curve_rand_uv = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_rand_uv'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_rand_hue

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_rand_hue);
         CPointer<CPointer<CurveMapping>> p_curve_rand_hue = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_rand_hue'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_rand_saturation

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_rand_saturation);
         CPointer<CPointer<CurveMapping>> p_curve_rand_saturation = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_rand_saturation'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curve_rand_value

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

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__curve_rand_value);
         CPointer<CPointer<CurveMapping>> p_curve_rand_value = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

        • Field: 'curve_rand_value'
        • Signature: 'CurveMapping*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__outline_fac

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

        Field Documentation

        Blender Source Code

        Factor for external line thickness conversion to outline.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__outline_fac);
         CPointer<Float> p_outline_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'outline_fac'
        • Signature: 'float'
        • 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:

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__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__material

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

        Field Documentation

        Blender Python API

        Material used for strokes drawn using this brush

        Blender Source Code

        optional link of material to replace default in context Material .

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__material);
         CPointer<CPointer<Material>> p_material = p.cast(new Class[]{CPointer.class, Material.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Material used for secondary uses for this brush

        Blender Source Code

        Material Alternative for secondary operations.

        Pointer Arithmetics

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

         BrushGpencilSettings brushgpencilsettings = ...;
         CPointer<Object> p = brushgpencilsettings.__dna__addressof(BrushGpencilSettings.__DNA__FIELD__material_alt);
         CPointer<CPointer<Material>> p_material_alt = p.cast(new Class[]{CPointer.class, Material.class});
         

        Metadata

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

      • BrushGpencilSettings

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

      • getDraw_smoothfac

        public float getDraw_smoothfac()
                                throws java.io.IOException
        Get method for struct member 'draw_smoothfac'.

        Field Documentation

        Blender Source Code

        Amount of smoothing to apply to newly created strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_smoothfac
      • setDraw_smoothfac

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

        Field Documentation

        Blender Source Code

        Amount of smoothing to apply to newly created strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_smoothfac
      • getFill_factor

        public float getFill_factor()
                             throws java.io.IOException
        Get method for struct member 'fill_factor'.

        Field Documentation

        Blender Python API

        Factor for fill boundary accuracy, higher values are more accurate but slower

        Blender Source Code

        Fill zoom factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_factor
      • setFill_factor

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

        Field Documentation

        Blender Python API

        Factor for fill boundary accuracy, higher values are more accurate but slower

        Blender Source Code

        Fill zoom factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_factor
      • getDraw_strength

        public float getDraw_strength()
                               throws java.io.IOException
        Get method for struct member 'draw_strength'.

        Field Documentation

        Blender Source Code

        Amount of alpha strength to apply to newly created strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_strength
      • setDraw_strength

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

        Field Documentation

        Blender Source Code

        Amount of alpha strength to apply to newly created strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_strength
      • getDraw_jitter

        public float getDraw_jitter()
                             throws java.io.IOException
        Get method for struct member 'draw_jitter'.

        Field Documentation

        Blender Source Code

        Amount of jitter to apply to newly created strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_jitter
      • setDraw_jitter

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

        Field Documentation

        Blender Source Code

        Amount of jitter to apply to newly created strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_jitter
      • getDraw_angle

        public float getDraw_angle()
                            throws java.io.IOException
        Get method for struct member 'draw_angle'.

        Field Documentation

        Blender Source Code

        Angle when the brush has full thickness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_angle
      • setDraw_angle

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

        Field Documentation

        Blender Source Code

        Angle when the brush has full thickness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_angle
      • getDraw_angle_factor

        public float getDraw_angle_factor()
                                   throws java.io.IOException
        Get method for struct member 'draw_angle_factor'.

        Field Documentation

        Blender Source Code

        Factor to apply when angle change (only 90 degrees).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_angle_factor
      • setDraw_angle_factor

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

        Field Documentation

        Blender Source Code

        Factor to apply when angle change (only 90 degrees).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_angle_factor
      • getDraw_random_press

        public float getDraw_random_press()
                                   throws java.io.IOException
        Get method for struct member 'draw_random_press'.

        Field Documentation

        Blender Source Code

        Factor of randomness for pressure.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_random_press
      • setDraw_random_press

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

        Field Documentation

        Blender Source Code

        Factor of randomness for pressure.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_random_press
      • getDraw_random_strength

        public float getDraw_random_strength()
                                      throws java.io.IOException
        Get method for struct member 'draw_random_strength'.

        Field Documentation

        Blender Source Code

        Factor of strength for strength.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_random_strength
      • setDraw_random_strength

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

        Field Documentation

        Blender Source Code

        Factor of strength for strength.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_random_strength
      • getDraw_smoothlvl

        public short getDraw_smoothlvl()
                                throws java.io.IOException
        Get method for struct member 'draw_smoothlvl'.

        Field Documentation

        Blender Source Code

        Number of times to apply smooth factor to new strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_smoothlvl
      • setDraw_smoothlvl

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

        Field Documentation

        Blender Source Code

        Number of times to apply smooth factor to new strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_smoothlvl
      • getDraw_subdivide

        public short getDraw_subdivide()
                                throws java.io.IOException
        Get method for struct member 'draw_subdivide'.

        Field Documentation

        Blender Source Code

        Number of times to subdivide new strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_subdivide
      • setDraw_subdivide

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

        Field Documentation

        Blender Source Code

        Number of times to subdivide new strokes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_subdivide
      • getFill_layer_mode

        public short getFill_layer_mode()
                                 throws java.io.IOException
        Get method for struct member 'fill_layer_mode'.

        Field Documentation

        Blender Python API

        Layers used as boundaries

        Blender Source Code

        Layers used for fill.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_layer_mode
      • setFill_layer_mode

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

        Field Documentation

        Blender Python API

        Layers used as boundaries

        Blender Source Code

        Layers used for fill.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_layer_mode
      • getFill_direction

        public short getFill_direction()
                                throws java.io.IOException
        Get method for struct member 'fill_direction'.

        Field Documentation

        Blender Python API

        Direction of the fill
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_direction
      • setFill_direction

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

        Field Documentation

        Blender Python API

        Direction of the fill
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_direction
      • getFill_threshold

        public float getFill_threshold()
                                throws java.io.IOException
        Get method for struct member 'fill_threshold'.

        Field Documentation

        Blender Python API

        Threshold to consider color transparent for filling

        Blender Source Code

        Factor for transparency.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_threshold
      • setFill_threshold

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

        Field Documentation

        Blender Python API

        Threshold to consider color transparent for filling

        Blender Source Code

        Factor for transparency.

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

        public byte getCaps_type()
                          throws java.io.IOException
        Get method for struct member 'caps_type'.

        Field Documentation

        Blender Python API

        The shape of the start and end of the stroke

        Blender Source Code

        Type of caps: eGPDstroke_Caps.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__caps_type
      • setCaps_type

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

        Field Documentation

        Blender Python API

        The shape of the start and end of the stroke

        Blender Source Code

        Type of caps: eGPDstroke_Caps.

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

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

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

        public int getFlag2()
                     throws java.io.IOException
        Get method for struct member 'flag2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag2
      • setFlag2

        public void setFlag2​(int flag2)
                      throws java.io.IOException
        Set method for struct member 'flag2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag2
      • getFill_simplylvl

        public int getFill_simplylvl()
                              throws java.io.IOException
        Get method for struct member 'fill_simplylvl'.

        Field Documentation

        Blender Source Code

        Number of simplify steps.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_simplylvl
      • setFill_simplylvl

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

        Field Documentation

        Blender Source Code

        Number of simplify steps.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_simplylvl
      • getFill_draw_mode

        public int getFill_draw_mode()
                              throws java.io.IOException
        Get method for struct member 'fill_draw_mode'.

        Field Documentation

        Blender Python API

        Mode to draw boundary limits

        Blender Source Code

        Type of control lines drawing mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_draw_mode
      • setFill_draw_mode

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

        Field Documentation

        Blender Python API

        Mode to draw boundary limits

        Blender Source Code

        Type of control lines drawing mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_draw_mode
      • getFill_extend_mode

        public int getFill_extend_mode()
                                throws java.io.IOException
        Get method for struct member 'fill_extend_mode'.

        Field Documentation

        Blender Python API

        Types of stroke extensions used for closing gaps

        Blender Source Code

        Type of gap filling extension to use.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_extend_mode
      • setFill_extend_mode

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

        Field Documentation

        Blender Python API

        Types of stroke extensions used for closing gaps

        Blender Source Code

        Type of gap filling extension to use.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_extend_mode
      • getIcon_id

        public int getIcon_id()
                       throws java.io.IOException
        Get method for struct member 'icon_id'.

        Field Documentation

        Blender Source Code

        Icon identifier.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_id
      • setIcon_id

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

        Field Documentation

        Blender Source Code

        Icon identifier.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_id
      • getInput_samples

        public int getInput_samples()
                             throws java.io.IOException
        Get method for struct member 'input_samples'.

        Field Documentation

        Blender Python API

        Generate intermediate points for very fast mouse movements. Set to 0 to disable

        Blender Source Code

        Maximum distance before generate new point for very fast mouse movements.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_samples
      • setInput_samples

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

        Field Documentation

        Blender Python API

        Generate intermediate points for very fast mouse movements. Set to 0 to disable

        Blender Source Code

        Maximum distance before generate new point for very fast mouse movements.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__input_samples
      • getUv_random

        public float getUv_random()
                           throws java.io.IOException
        Get method for struct member 'uv_random'.

        Field Documentation

        Blender Python API

        Random factor for auto-generated UV rotation

        Blender Source Code

        Random factor for UV rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_random
      • setUv_random

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

        Field Documentation

        Blender Python API

        Random factor for auto-generated UV rotation

        Blender Source Code

        Random factor for UV rotation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_random
      • getBrush_type

        public int getBrush_type()
                          throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'brush_type'.

        Field Documentation

        Blender Source Code

        Moved to 'Brush.getGpencil_tool() '.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_type
      • setBrush_type

        public void setBrush_type​(int brush_type)
                           throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'brush_type'.

        Field Documentation

        Blender Source Code

        Moved to 'Brush.getGpencil_tool() '.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_type
      • getEraser_mode

        public int getEraser_mode()
                           throws java.io.IOException
        Get method for struct member 'eraser_mode'.

        Field Documentation

        Blender Python API

        Eraser Mode

        Blender Source Code

        Soft, hard or stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eraser_mode
      • setEraser_mode

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

        Field Documentation

        Blender Python API

        Eraser Mode

        Blender Source Code

        Soft, hard or stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eraser_mode
      • getActive_smooth

        public float getActive_smooth()
                               throws java.io.IOException
        Get method for struct member 'active_smooth'.

        Field Documentation

        Blender Source Code

        Smooth while drawing factor.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_smooth
      • setActive_smooth

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

        Field Documentation

        Blender Source Code

        Smooth while drawing factor.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_smooth
      • getEra_strength_f

        public float getEra_strength_f()
                                throws java.io.IOException
        Get method for struct member 'era_strength_f'.

        Field Documentation

        Blender Source Code

        Factor to apply to strength for soft eraser.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__era_strength_f
      • setEra_strength_f

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

        Field Documentation

        Blender Source Code

        Factor to apply to strength for soft eraser.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__era_strength_f
      • getEra_thickness_f

        public float getEra_thickness_f()
                                 throws java.io.IOException
        Get method for struct member 'era_thickness_f'.

        Field Documentation

        Blender Source Code

        Factor to apply to thickness for soft eraser.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__era_thickness_f
      • setEra_thickness_f

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

        Field Documentation

        Blender Source Code

        Factor to apply to thickness for soft eraser.

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

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

        Field Documentation

        Blender Source Code

        Internal grease pencil drawing flags.

        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

        Internal grease pencil drawing flags.

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

        public float getSimplify_f()
                            throws java.io.IOException
        Get method for struct member 'simplify_f'.

        Field Documentation

        Blender Source Code

        Simplify adaptive factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__simplify_f
      • setSimplify_f

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

        Field Documentation

        Blender Source Code

        Simplify adaptive factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__simplify_f
      • getVertex_factor

        public float getVertex_factor()
                               throws java.io.IOException
        Get method for struct member 'vertex_factor'.

        Field Documentation

        Blender Source Code

        Mix color-factor.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_factor
      • setVertex_factor

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

        Field Documentation

        Blender Source Code

        Mix color-factor.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_factor
      • getVertex_mode

        public int getVertex_mode()
                           throws java.io.IOException
        Get method for struct member 'vertex_mode'.

        Field Documentation

        Blender Python API

        Defines how vertex color affect to the strokes
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_mode
      • setVertex_mode

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

        Field Documentation

        Blender Python API

        Defines how vertex color affect to the strokes
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_mode
      • getSculpt_flag

        public int getSculpt_flag()
                           throws java.io.IOException
        Get method for struct member 'sculpt_flag'.

        Field Documentation

        Blender Source Code

        eGP_Sculpt_Flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_flag
      • setSculpt_flag

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

        Field Documentation

        Blender Source Code

        eGP_Sculpt_Flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_flag
      • getSculpt_mode_flag

        public int getSculpt_mode_flag()
                                throws java.io.IOException
        Get method for struct member 'sculpt_mode_flag'.

        Field Documentation

        Blender Source Code

        eGP_Sculpt_Mode_Flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_mode_flag
      • setSculpt_mode_flag

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

        Field Documentation

        Blender Source Code

        eGP_Sculpt_Mode_Flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_mode_flag
      • getPreset_type

        public short getPreset_type()
                             throws java.io.IOException
        Get method for struct member 'preset_type'.

        Field Documentation

        Blender Source Code

        Preset type (used to reset brushes - internal).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__preset_type
      • setPreset_type

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

        Field Documentation

        Blender Source Code

        Preset type (used to reset brushes - internal).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__preset_type
      • getBrush_draw_mode

        public short getBrush_draw_mode()
                                 throws java.io.IOException
        Get method for struct member 'brush_draw_mode'.

        Field Documentation

        Blender Python API

        Preselected mode when using this brush

        Blender Source Code

        Brush preselected mode (Active/Material/Vertex-color).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_draw_mode
      • setBrush_draw_mode

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

        Field Documentation

        Blender Python API

        Preselected mode when using this brush

        Blender Source Code

        Brush preselected mode (Active/Material/Vertex-color).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_draw_mode
      • getRandom_hue

        public float getRandom_hue()
                            throws java.io.IOException
        Get method for struct member 'random_hue'.

        Field Documentation

        Blender Source Code

        Randomness for Hue.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__random_hue
      • setRandom_hue

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

        Field Documentation

        Blender Source Code

        Randomness for Hue.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__random_hue
      • getRandom_saturation

        public float getRandom_saturation()
                                   throws java.io.IOException
        Get method for struct member 'random_saturation'.

        Field Documentation

        Blender Source Code

        Randomness for Saturation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__random_saturation
      • setRandom_saturation

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

        Field Documentation

        Blender Source Code

        Randomness for Saturation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__random_saturation
      • getRandom_value

        public float getRandom_value()
                              throws java.io.IOException
        Get method for struct member 'random_value'.

        Field Documentation

        Blender Source Code

        Randomness for Value.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__random_value
      • setRandom_value

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

        Field Documentation

        Blender Source Code

        Randomness for Value.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__random_value
      • getFill_extend_fac

        public float getFill_extend_fac()
                                 throws java.io.IOException
        Get method for struct member 'fill_extend_fac'.

        Field Documentation

        Blender Source Code

        Factor to extend stroke extremes using fill tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_extend_fac
      • setFill_extend_fac

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

        Field Documentation

        Blender Source Code

        Factor to extend stroke extremes using fill tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_extend_fac
      • getDilate_pixels

        public int getDilate_pixels()
                             throws java.io.IOException
        Get method for struct member 'dilate_pixels'.

        Field Documentation

        Blender Source Code

        Number of pixels to dilate fill area.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dilate_pixels
      • setDilate_pixels

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

        Field Documentation

        Blender Source Code

        Number of pixels to dilate fill area.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dilate_pixels
      • getCurve_sensitivity

        public CPointer<CurveMapping> getCurve_sensitivity()
                                                    throws java.io.IOException
        Get method for struct member 'curve_sensitivity'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the sensitivity
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_sensitivity
      • setCurve_sensitivity

        public void setCurve_sensitivity​(CPointer<CurveMapping> curve_sensitivity)
                                  throws java.io.IOException
        Set method for struct member 'curve_sensitivity'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the sensitivity
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_sensitivity
      • getCurve_strength

        public CPointer<CurveMapping> getCurve_strength()
                                                 throws java.io.IOException
        Get method for struct member 'curve_strength'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the strength
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_strength
      • setCurve_strength

        public void setCurve_strength​(CPointer<CurveMapping> curve_strength)
                               throws java.io.IOException
        Set method for struct member 'curve_strength'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the strength
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_strength
      • getCurve_jitter

        public CPointer<CurveMapping> getCurve_jitter()
                                               throws java.io.IOException
        Get method for struct member 'curve_jitter'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the jitter effect
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_jitter
      • setCurve_jitter

        public void setCurve_jitter​(CPointer<CurveMapping> curve_jitter)
                             throws java.io.IOException
        Set method for struct member 'curve_jitter'.

        Field Documentation

        Blender Python API

        (read-only) Curve used for the jitter effect
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_jitter
      • getOutline_fac

        public float getOutline_fac()
                             throws java.io.IOException
        Get method for struct member 'outline_fac'.

        Field Documentation

        Blender Source Code

        Factor for external line thickness conversion to outline.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__outline_fac
      • setOutline_fac

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

        Field Documentation

        Blender Source Code

        Factor for external line thickness conversion to outline.

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

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

        Field Documentation

        Blender Python API

        Material used for strokes drawn using this brush

        Blender Source Code

        optional link of material to replace default in context Material .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material
      • setMaterial

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

        Field Documentation

        Blender Python API

        Material used for strokes drawn using this brush

        Blender Source Code

        optional link of material to replace default in context Material .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material
      • getMaterial_alt

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

        Field Documentation

        Blender Python API

        Material used for secondary uses for this brush

        Blender Source Code

        Material Alternative for secondary operations.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material_alt
      • setMaterial_alt

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

        Field Documentation

        Blender Python API

        Material used for secondary uses for this brush

        Blender Source Code

        Material Alternative for secondary operations.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__material_alt