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___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[4]'
        • 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___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[4]'
        • Actual Size (32bit/64bit): 4/4
      • __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__fill_leak

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

        Field Documentation

        Blender Python API

        Size in pixels to consider the leak closed

        Blender Source Code

        Number of pixel to consider the leak is too small (x 2).

        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_leak);
         CPointer<Short> p_fill_leak = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'fill_leak'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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

        Multiplier for fill resolution, higher resolution is 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<Short> p_fill_factor = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'fill_factor'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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__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__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 autogenerated 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 colorfactor

        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___pad3

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

        Pointer Arithmetics

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

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

        Metadata

        • Field: '_pad3'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __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__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
    • 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
      • 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
      • 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
      • 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
      • 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
      • getFill_leak

        public short getFill_leak()
                           throws java.io.IOException
        Get method for struct member 'fill_leak'.

        Field Documentation

        Blender Python API

        Size in pixels to consider the leak closed

        Blender Source Code

        Number of pixel to consider the leak is too small (x 2).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_leak
      • setFill_leak

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

        Field Documentation

        Blender Python API

        Size in pixels to consider the leak closed

        Blender Source Code

        Number of pixel to consider the leak is too small (x 2).

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

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

        Field Documentation

        Blender Python API

        Multiplier for fill resolution, higher resolution is 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​(short fill_factor)
                            throws java.io.IOException
        Set method for struct member 'fill_factor'.

        Field Documentation

        Blender Python API

        Multiplier for fill resolution, higher resolution is more accurate but slower

        Blender Source Code

        Fill zoom factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fill_factor
      • 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
      • 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
      • 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 autogenerated 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 autogenerated 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 colorfactor

        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 colorfactor

        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
      • get_pad3

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

        public void set_pad3​(CArrayFacade<java.lang.Byte> _pad3)
                      throws java.io.IOException
        Set method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • 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
      • 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