Class Brush


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

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

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 152/192
      • __DNA__FIELD__clone

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__clone);
         CPointer<BrushClone> p_clone = p.cast(new Class[]{BrushClone.class});
         

        Metadata

        • Field: 'clone'
        • Signature: 'BrushClone'
        • Actual Size (32bit/64bit): 20/24
      • __DNA__FIELD__curve

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

        Field Documentation

        Blender Python API

        (read-only) Editable falloff curve

        Blender Source Code

        Falloff curve.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__curve);
         CPointer<CPointer<CurveMapping>> p_curve = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mtex);
         CPointer<MTex> p_mtex = p.cast(new Class[]{MTex.class});
         

        Metadata

        • Field: 'mtex'
        • Signature: 'MTex'
        • Actual Size (32bit/64bit): 304/312
      • __DNA__FIELD__mask_mtex

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mask_mtex);
         CPointer<MTex> p_mask_mtex = p.cast(new Class[]{MTex.class});
         

        Metadata

        • Field: 'mask_mtex'
        • Signature: 'MTex'
        • Actual Size (32bit/64bit): 304/312
      • __DNA__FIELD__toggle_brush

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__toggle_brush);
         CPointer<CPointer<Brush>> p_toggle_brush = p.cast(new Class[]{CPointer.class, Brush.class});
         

        Metadata

        • Field: 'toggle_brush'
        • Signature: 'Brush*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__icon_imbuf

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__icon_imbuf);
         CPointer<CPointer<Object>> p_icon_imbuf = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'icon_imbuf'
        • Signature: 'ImBuf*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__preview

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__preview);
         CPointer<CPointer<PreviewImage>> p_preview = p.cast(new Class[]{CPointer.class, PreviewImage.class});
         

        Metadata

        • Field: 'preview'
        • Signature: 'PreviewImage*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__gradient

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

        Field Documentation

        Blender Python API

        (read-only)

        Blender Source Code

        Color gradient.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gradient);
         CPointer<CPointer<ColorBand>> p_gradient = p.cast(new Class[]{CPointer.class, ColorBand.class});
         

        Metadata

        • Field: 'gradient'
        • Signature: 'ColorBand*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__paint_curve

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

        Field Documentation

        Blender Python API

        Active paint curve

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__paint_curve);
         CPointer<CPointer<PaintCurve>> p_paint_curve = p.cast(new Class[]{CPointer.class, PaintCurve.class});
         

        Metadata

        • Field: 'paint_curve'
        • Signature: 'PaintCurve*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__icon_filepath

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

        Field Documentation

        Blender Python API

        File path to brush icon

        Blender Source Code

        1024 = FILE_MAX.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__icon_filepath);
         CPointer<CArrayFacade<Byte>> p_icon_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'icon_filepath'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__normal_weight

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

        Field Documentation

        Blender Python API

        How much grab will pull vertices out of surface during a grab

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__normal_weight);
         CPointer<Float> p_normal_weight = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'normal_weight'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rake_factor

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

        Field Documentation

        Blender Python API

        How much grab will follow cursor rotation

        Blender Source Code

        Rake actual data (not texture), used for sculpt.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__rake_factor);
         CPointer<Float> p_rake_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rake_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__blend

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

        Field Documentation

        Blender Python API

        Brush blending mode

        Blender Source Code

        Blend mode.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__blend);
         CPointer<Short> p_blend = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'blend'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__ob_mode

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

        Field Documentation

        Blender Source Code

        eObjectMode : to see if the brush is compatible, use for display only.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__ob_mode);
         CPointer<Short> p_ob_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'ob_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__weight

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

        Field Documentation

        Blender Python API

        Vertex weight when brush is applied

        Blender Source Code

        Brush weight.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__weight);
         CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'weight'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__size

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

        Field Documentation

        Blender Python API

        Radius of the brush in pixels

        Blender Source Code

        Brush diameter.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__size);
         CPointer<Integer> p_size = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'size'
        • Signature: 'int'
        • 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

        General purpose flags.

        Pointer Arithmetics

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

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__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__sampling_flag

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__sampling_flag);
         CPointer<Integer> p_sampling_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sampling_flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mask_pressure

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

        Field Documentation

        Blender Source Code

        Pressure influence for mask.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mask_pressure);
         CPointer<Integer> p_mask_pressure = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mask_pressure'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__jitter

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

        Field Documentation

        Blender Python API

        Jitter the position of the brush while painting

        Blender Source Code

        Jitter the position of the brush.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__jitter);
         CPointer<Float> p_jitter = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'jitter'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__jitter_absolute

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

        Field Documentation

        Blender Python API

        Jitter the position of the brush in pixels while painting

        Blender Source Code

        Absolute jitter in pixels.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__jitter_absolute);
         CPointer<Integer> p_jitter_absolute = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'jitter_absolute'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__overlay_flags

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__overlay_flags);
         CPointer<Integer> p_overlay_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'overlay_flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__spacing

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

        Field Documentation

        Blender Python API

        Spacing between brush daubs as a percentage of brush diameter

        Blender Source Code

        Spacing of paint operations.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__spacing);
         CPointer<Integer> p_spacing = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'spacing'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__smooth_stroke_radius

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

        Field Documentation

        Blender Python API

        Minimum distance from last point before stroke continues

        Blender Source Code

        Turning radius (in pixels) for smooth stroke.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__smooth_stroke_radius);
         CPointer<Integer> p_smooth_stroke_radius = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'smooth_stroke_radius'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__smooth_stroke_factor

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

        Field Documentation

        Blender Python API

        Higher values give a smoother stroke

        Blender Source Code

        Higher values limit fast changes in the stroke direction.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__smooth_stroke_factor);
         CPointer<Float> p_smooth_stroke_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'smooth_stroke_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rate

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

        Field Documentation

        Blender Python API

        Interval between paints for Airbrush

        Blender Source Code

        Paint operations / second (airbrush).

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__rate);
         CPointer<Float> p_rate = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rate'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rgb

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

        Field Documentation

        Blender Source Code

        Color.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__rgb);
         CPointer<CArrayFacade<Float>> p_rgb = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Opacity.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__alpha);
         CPointer<Float> p_alpha = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'alpha'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__hardness

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

        Field Documentation

        Blender Python API

        How close the brush falloff starts from the edge of the brush

        Blender Source Code

        Hardness

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__hardness);
         CPointer<Float> p_hardness = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'hardness'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flow

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

        Field Documentation

        Blender Python API

        Amount of paint that is applied per stroke sample

        Blender Source Code

        Flow

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__flow);
         CPointer<Float> p_flow = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'flow'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wet_mix

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

        Field Documentation

        Blender Python API

        Amount of paint that is picked from the surface into the brush color

        Blender Source Code

        Wet Mix

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__wet_mix);
         CPointer<Float> p_wet_mix = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'wet_mix'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wet_persistence

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

        Field Documentation

        Blender Python API

        Amount of wet paint that stays in the brush after applying paint to the surface

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__wet_persistence);
         CPointer<Float> p_wet_persistence = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'wet_persistence'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__density

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

        Field Documentation

        Blender Python API

        Amount of random elements that are going to be affected by the brush

        Blender Source Code

        Density

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__density);
         CPointer<Float> p_density = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'density'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__paint_flags

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__paint_flags);
         CPointer<Integer> p_paint_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'paint_flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tip_roundness

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

        Field Documentation

        Blender Python API

        Roundness of the brush tip

        Blender Source Code

        Tip Shape Factor that controls the shape of the brush tip by rounding the corners of a square. 0.0 value produces a square, 1.0 produces a circle.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__tip_roundness);
         CPointer<Float> p_tip_roundness = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'tip_roundness'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tip_scale_x

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

        Field Documentation

        Blender Python API

        Scale of the brush tip in the X axis

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__tip_scale_x);
         CPointer<Float> p_tip_scale_x = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'tip_scale_x'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__secondary_rgb

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

        Field Documentation

        Blender Source Code

        Background color.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__secondary_rgb);
         CPointer<CArrayFacade<Float>> p_secondary_rgb = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Ratio of samples in a cycle that the brush is enabled

        Blender Source Code

        Rate

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__dash_ratio);
         CPointer<Float> p_dash_ratio = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'dash_ratio'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__dash_samples

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

        Field Documentation

        Blender Python API

        Length of a dash cycle measured in stroke samples

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__dash_samples);
         CPointer<Integer> p_dash_samples = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'dash_samples'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sculpt_plane

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

        Field Documentation

        Blender Source Code

        The direction of movement for sculpt vertices.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__sculpt_plane);
         CPointer<Integer> p_sculpt_plane = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sculpt_plane'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__plane_offset

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

        Field Documentation

        Blender Python API

        Adjust plane on which the brush acts towards or away from the object surface

        Blender Source Code

        Offset for plane brushes (clay, flatten, fill, scrape).

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__plane_offset);
         CPointer<Float> p_plane_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'plane_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gradient_spacing

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gradient_spacing);
         CPointer<Integer> p_gradient_spacing = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'gradient_spacing'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gradient_stroke_mode

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

        Field Documentation

        Blender Source Code

        Source for stroke color gradient application.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gradient_stroke_mode);
         CPointer<Byte> p_gradient_stroke_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gradient_stroke_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gradient_fill_mode

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

        Field Documentation

        Blender Source Code

        Source for fill tool color gradient application.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gradient_fill_mode);
         CPointer<Byte> p_gradient_fill_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gradient_fill_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Use projected or spherical falloff

        Blender Source Code

        Projection shape (sphere, circle).

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__falloff_shape);
         CPointer<Byte> p_falloff_shape = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'falloff_shape'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__falloff_angle

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

        Field Documentation

        Blender Python API

        Paint most on faces pointing towards the view according to this angle

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__falloff_angle);
         CPointer<Float> p_falloff_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'falloff_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active sculpt tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__sculpt_tool);
         CPointer<Byte> p_sculpt_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'sculpt_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__uv_sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active sculpt tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__uv_sculpt_tool);
         CPointer<Byte> p_uv_sculpt_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'uv_sculpt_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__vertexpaint_tool

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

        Field Documentation

        Blender Source Code

        Active vertex paint.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__vertexpaint_tool);
         CPointer<Byte> p_vertexpaint_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'vertexpaint_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__weightpaint_tool

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

        Field Documentation

        Blender Source Code

        Active weight paint.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__weightpaint_tool);
         CPointer<Byte> p_weightpaint_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'weightpaint_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__imagepaint_tool

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

        Field Documentation

        Blender Source Code

        Active image paint tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__imagepaint_tool);
         CPointer<Byte> p_imagepaint_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'imagepaint_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__mask_tool

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

        Field Documentation

        Blender Source Code

        Enum eBrushMaskTool, only used if sculpt_tool is SCULPT_TOOL_MASK.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mask_tool);
         CPointer<Byte> p_mask_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'mask_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gpencil_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gpencil_tool);
         CPointer<Byte> p_gpencil_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gpencil_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gpencil_vertex_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil vertex tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gpencil_vertex_tool);
         CPointer<Byte> p_gpencil_vertex_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gpencil_vertex_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gpencil_sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil sculpt tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gpencil_sculpt_tool);
         CPointer<Byte> p_gpencil_sculpt_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gpencil_sculpt_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gpencil_weight_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil weight tool.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gpencil_weight_tool);
         CPointer<Byte> p_gpencil_weight_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gpencil_weight_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__curves_sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active curves sculpt tool (eBrushCurvesSculptTool ).

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__curves_sculpt_tool);
         CPointer<Byte> p_curves_sculpt_tool = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'curves_sculpt_tool'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

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

        Metadata

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

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__autosmooth_factor);
         CPointer<Float> p_autosmooth_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'autosmooth_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tilt_strength_factor

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

        Field Documentation

        Blender Python API

        How much the tilt of the pen will affect the brush

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__tilt_strength_factor);
         CPointer<Float> p_tilt_strength_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'tilt_strength_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__topology_rake_factor

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

        Field Documentation

        Blender Python API

        Automatically align edges to the brush direction to generate cleaner topology and define sharp features. Best used on low-poly meshes as it has a performance impact

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__topology_rake_factor);
         CPointer<Float> p_topology_rake_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'topology_rake_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__crease_pinch_factor

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

        Field Documentation

        Blender Python API

        How much the crease brush pinches

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__crease_pinch_factor);
         CPointer<Float> p_crease_pinch_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'crease_pinch_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__normal_radius_factor

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

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the normal

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__normal_radius_factor);
         CPointer<Float> p_normal_radius_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'normal_radius_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__area_radius_factor

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

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the area center

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__area_radius_factor);
         CPointer<Float> p_area_radius_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'area_radius_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wet_paint_radius_factor

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

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the color to blend in wet paint

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__wet_paint_radius_factor);
         CPointer<Float> p_wet_paint_radius_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'wet_paint_radius_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__plane_trim

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

        Field Documentation

        Blender Python API

        If a vertex is further away from offset plane than this, then it is not affected

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__plane_trim);
         CPointer<Float> p_plane_trim = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'plane_trim'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__height

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

        Field Documentation

        Blender Python API

        Affectable height of brush (layer height for layer tool, i.e.)

        Blender Source Code

        Affectable height of brush (layer height for layer tool, i.e.).

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__height);
         CPointer<Float> p_height = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'height'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__texture_sample_bias

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

        Field Documentation

        Blender Python API

        Value added to texture samples

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__texture_sample_bias);
         CPointer<Float> p_texture_sample_bias = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'texture_sample_bias'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curve_preset

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__curve_preset);
         CPointer<Integer> p_curve_preset = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'curve_preset'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__disconnected_distance_max

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

        Field Documentation

        Blender Python API

        Maximum distance to search for disconnected loose parts in the mesh

        Blender Source Code

        Maximum distance to search fake neighbors from a vertex.

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__disconnected_distance_max);
         CPointer<Float> p_disconnected_distance_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'disconnected_distance_max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__deform_target

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

        Field Documentation

        Blender Python API

        How the deformation of the brush will affect the object

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__deform_target);
         CPointer<Integer> p_deform_target = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'deform_target'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__automasking_flags

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

        Field Documentation

        Blender Source Code

        automasking

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__automasking_flags);
         CPointer<Integer> p_automasking_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'automasking_flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__automasking_boundary_edges_propagation_steps

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

        Field Documentation

        Blender Python API

        Distance where boundary edge automasking is going to protect vertices from the fully masked edge

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__automasking_boundary_edges_propagation_steps);
         CPointer<Integer> p_automasking_boundary_edges_propagation_steps = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'automasking_boundary_edges_propagation_steps'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__elastic_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__elastic_deform_type);
         CPointer<Integer> p_elastic_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'elastic_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__elastic_deform_volume_preservation

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

        Field Documentation

        Blender Python API

        Poisson ratio for elastic deformation. Higher values preserve volume more, but also lead to more bulging

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__elastic_deform_volume_preservation);
         CPointer<Float> p_elastic_deform_volume_preservation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'elastic_deform_volume_preservation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__snake_hook_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        snake hook

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__snake_hook_deform_type);
         CPointer<Integer> p_snake_hook_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'snake_hook_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pose_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        pose

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__pose_deform_type);
         CPointer<Integer> p_pose_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pose_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pose_offset

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

        Field Documentation

        Blender Python API

        Offset of the pose origin in relation to the brush radius

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__pose_offset);
         CPointer<Float> p_pose_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pose_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pose_smooth_iterations

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

        Field Documentation

        Blender Python API

        Smooth iterations applied after calculating the pose factor of each vertex

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__pose_smooth_iterations);
         CPointer<Integer> p_pose_smooth_iterations = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pose_smooth_iterations'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pose_ik_segments

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

        Field Documentation

        Blender Python API

        Number of segments of the inverse kinematics chain that will deform the mesh

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__pose_ik_segments);
         CPointer<Integer> p_pose_ik_segments = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pose_ik_segments'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pose_origin_type

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

        Field Documentation

        Blender Python API

        Method to set the rotation origins for the segments of the brush

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__pose_origin_type);
         CPointer<Integer> p_pose_origin_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pose_origin_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__boundary_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        boundary

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__boundary_deform_type);
         CPointer<Integer> p_boundary_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'boundary_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__boundary_falloff_type

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

        Field Documentation

        Blender Python API

        How the brush falloff is applied across the boundary

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__boundary_falloff_type);
         CPointer<Integer> p_boundary_falloff_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'boundary_falloff_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__boundary_offset

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

        Field Documentation

        Blender Python API

        Offset of the boundary origin in relation to the brush radius

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__boundary_offset);
         CPointer<Float> p_boundary_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'boundary_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        cloth

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_deform_type);
         CPointer<Integer> p_cloth_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'cloth_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_force_falloff_type

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

        Field Documentation

        Blender Python API

        Shape used in the brush to apply force to the cloth

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_force_falloff_type);
         CPointer<Integer> p_cloth_force_falloff_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'cloth_force_falloff_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_simulation_area_type

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

        Field Documentation

        Blender Python API

        Part of the mesh that is going to be simulated when the stroke is active

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_simulation_area_type);
         CPointer<Integer> p_cloth_simulation_area_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'cloth_simulation_area_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_mass

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

        Field Documentation

        Blender Python API

        Mass of each simulation particle

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_mass);
         CPointer<Float> p_cloth_mass = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cloth_mass'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_damping

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

        Field Documentation

        Blender Python API

        How much the applied forces are propagated through the cloth

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_damping);
         CPointer<Float> p_cloth_damping = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cloth_damping'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_sim_limit

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

        Field Documentation

        Blender Python API

        Factor added relative to the size of the radius to limit the cloth simulation effects

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_sim_limit);
         CPointer<Float> p_cloth_sim_limit = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cloth_sim_limit'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_sim_falloff

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

        Field Documentation

        Blender Python API

        Area to apply deformation falloff to the effects of the simulation

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_sim_falloff);
         CPointer<Float> p_cloth_sim_falloff = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cloth_sim_falloff'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cloth_constraint_softbody_strength

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

        Field Documentation

        Blender Python API

        How much the cloth preserves the original shape, acting as a soft body

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cloth_constraint_softbody_strength);
         CPointer<Float> p_cloth_constraint_softbody_strength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cloth_constraint_softbody_strength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__smooth_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        smooth

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__smooth_deform_type);
         CPointer<Integer> p_smooth_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'smooth_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__surface_smooth_shape_preservation

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

        Field Documentation

        Blender Python API

        How much of the original shape is preserved when smoothing

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__surface_smooth_shape_preservation);
         CPointer<Float> p_surface_smooth_shape_preservation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'surface_smooth_shape_preservation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__surface_smooth_current_vertex

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

        Field Documentation

        Blender Python API

        How much the position of each individual vertex influences the final result

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__surface_smooth_current_vertex);
         CPointer<Float> p_surface_smooth_current_vertex = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'surface_smooth_current_vertex'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__surface_smooth_iterations

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

        Field Documentation

        Blender Python API

        Number of smoothing iterations per brush step

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__surface_smooth_iterations);
         CPointer<Integer> p_surface_smooth_iterations = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'surface_smooth_iterations'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__multiplane_scrape_angle

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

        Field Documentation

        Blender Python API

        Angle between the planes of the crease

        Blender Source Code

        multiplane scrape

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__multiplane_scrape_angle);
         CPointer<Float> p_multiplane_scrape_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'multiplane_scrape_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__smear_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        smear

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__smear_deform_type);
         CPointer<Integer> p_smear_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'smear_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__slide_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        slide/relax

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__slide_deform_type);
         CPointer<Integer> p_slide_deform_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'slide_deform_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__texture_overlay_alpha

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

        Field Documentation

        Blender Source Code

        overlay

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__texture_overlay_alpha);
         CPointer<Integer> p_texture_overlay_alpha = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'texture_overlay_alpha'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mask_overlay_alpha

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mask_overlay_alpha);
         CPointer<Integer> p_mask_overlay_alpha = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mask_overlay_alpha'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cursor_overlay_alpha

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__cursor_overlay_alpha);
         CPointer<Integer> p_cursor_overlay_alpha = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'cursor_overlay_alpha'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__unprojected_radius

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

        Field Documentation

        Blender Python API

        Radius of brush in Blender units

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__unprojected_radius);
         CPointer<Float> p_unprojected_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'unprojected_radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sharp_threshold

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

        Field Documentation

        Blender Python API

        Threshold below which, no sharpening is done

        Blender Source Code

        soften/sharpen

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__sharp_threshold);
         CPointer<Float> p_sharp_threshold = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'sharp_threshold'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__blur_kernel_radius

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

        Field Documentation

        Blender Python API

        Radius of kernel used for soften and sharpen in pixels

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__blur_kernel_radius);
         CPointer<Integer> p_blur_kernel_radius = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'blur_kernel_radius'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__blur_mode

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__blur_mode);
         CPointer<Integer> p_blur_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'blur_mode'
        • Signature: 'int'
        • 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 above which filling is not propagated

        Blender Source Code

        fill tool

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__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__add_col

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__add_col);
         CPointer<CArrayFacade<Float>> p_add_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__sub_col);
         CPointer<CArrayFacade<Float>> p_sub_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Position of stencil in viewport

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__stencil_pos);
         CPointer<CArrayFacade<Float>> p_stencil_pos = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Dimensions of stencil in viewport

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__stencil_dimension);
         CPointer<CArrayFacade<Float>> p_stencil_dimension = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Position of mask stencil in viewport

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mask_stencil_pos);
         CPointer<CArrayFacade<Float>> p_mask_stencil_pos = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Dimensions of mask stencil in viewport

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__mask_stencil_dimension);
         CPointer<CArrayFacade<Float>> p_mask_stencil_dimension = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only)

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__gpencil_settings);
         CPointer<CPointer<BrushGpencilSettings>> p_gpencil_settings = p.cast(new Class[]{CPointer.class, BrushGpencilSettings.class});
         

        Metadata

        • Field: 'gpencil_settings'
        • Signature: 'BrushGpencilSettings*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__curves_sculpt_settings

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

        Field Documentation

        Blender Python API

        (read-only)

        Pointer Arithmetics

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

         Brush brush = ...;
         CPointer<Object> p = brush.__dna__addressof(Brush.__DNA__FIELD__curves_sculpt_settings);
         CPointer<CPointer<BrushCurvesSculptSettings>> p_curves_sculpt_settings = p.cast(new Class[]{CPointer.class, BrushCurvesSculptSettings.class});
         

        Metadata

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

      • Brush

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

        protected Brush​(Brush that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getClone

        public BrushClone getClone()
                            throws java.io.IOException
        Get method for struct member 'clone'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clone
      • setClone

        public void setClone​(BrushClone clone)
                      throws java.io.IOException
        Set method for struct member 'clone'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clone
      • getCurve

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

        Field Documentation

        Blender Python API

        (read-only) Editable falloff curve

        Blender Source Code

        Falloff curve.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve
      • setCurve

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

        Field Documentation

        Blender Python API

        (read-only) Editable falloff curve

        Blender Source Code

        Falloff curve.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve
      • getMtex

        public MTex getMtex()
                     throws java.io.IOException
        Get method for struct member 'mtex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mtex
      • setMtex

        public void setMtex​(MTex mtex)
                     throws java.io.IOException
        Set method for struct member 'mtex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mtex
      • getMask_mtex

        public MTex getMask_mtex()
                          throws java.io.IOException
        Get method for struct member 'mask_mtex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_mtex
      • setMask_mtex

        public void setMask_mtex​(MTex mask_mtex)
                          throws java.io.IOException
        Set method for struct member 'mask_mtex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_mtex
      • getToggle_brush

        public CPointer<Brush> getToggle_brush()
                                        throws java.io.IOException
        Get method for struct member 'toggle_brush'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__toggle_brush
      • setToggle_brush

        public void setToggle_brush​(CPointer<Brush> toggle_brush)
                             throws java.io.IOException
        Set method for struct member 'toggle_brush'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__toggle_brush
      • getIcon_imbuf

        public CPointer<java.lang.Object> getIcon_imbuf()
                                                 throws java.io.IOException
        Get method for struct member 'icon_imbuf'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_imbuf
      • setIcon_imbuf

        public void setIcon_imbuf​(CPointer<java.lang.Object> icon_imbuf)
                           throws java.io.IOException
        Set method for struct member 'icon_imbuf'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_imbuf
      • getGradient

        public CPointer<ColorBand> getGradient()
                                        throws java.io.IOException
        Get method for struct member 'gradient'.

        Field Documentation

        Blender Python API

        (read-only)

        Blender Source Code

        Color gradient.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient
      • setGradient

        public void setGradient​(CPointer<ColorBand> gradient)
                         throws java.io.IOException
        Set method for struct member 'gradient'.

        Field Documentation

        Blender Python API

        (read-only)

        Blender Source Code

        Color gradient.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient
      • getPaint_curve

        public CPointer<PaintCurve> getPaint_curve()
                                            throws java.io.IOException
        Get method for struct member 'paint_curve'.

        Field Documentation

        Blender Python API

        Active paint curve
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint_curve
      • setPaint_curve

        public void setPaint_curve​(CPointer<PaintCurve> paint_curve)
                            throws java.io.IOException
        Set method for struct member 'paint_curve'.

        Field Documentation

        Blender Python API

        Active paint curve
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint_curve
      • getIcon_filepath

        public CArrayFacade<java.lang.Byte> getIcon_filepath()
                                                      throws java.io.IOException
        Get method for struct member 'icon_filepath'.

        Field Documentation

        Blender Python API

        File path to brush icon

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_filepath
      • setIcon_filepath

        public void setIcon_filepath​(CArrayFacade<java.lang.Byte> icon_filepath)
                              throws java.io.IOException
        Set method for struct member 'icon_filepath'.

        Field Documentation

        Blender Python API

        File path to brush icon

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_filepath
      • getNormal_weight

        public float getNormal_weight()
                               throws java.io.IOException
        Get method for struct member 'normal_weight'.

        Field Documentation

        Blender Python API

        How much grab will pull vertices out of surface during a grab
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_weight
      • setNormal_weight

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

        Field Documentation

        Blender Python API

        How much grab will pull vertices out of surface during a grab
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_weight
      • getRake_factor

        public float getRake_factor()
                             throws java.io.IOException
        Get method for struct member 'rake_factor'.

        Field Documentation

        Blender Python API

        How much grab will follow cursor rotation

        Blender Source Code

        Rake actual data (not texture), used for sculpt.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rake_factor
      • setRake_factor

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

        Field Documentation

        Blender Python API

        How much grab will follow cursor rotation

        Blender Source Code

        Rake actual data (not texture), used for sculpt.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rake_factor
      • getBlend

        public short getBlend()
                       throws java.io.IOException
        Get method for struct member 'blend'.

        Field Documentation

        Blender Python API

        Brush blending mode

        Blender Source Code

        Blend mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend
      • setBlend

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

        Field Documentation

        Blender Python API

        Brush blending mode

        Blender Source Code

        Blend mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend
      • getOb_mode

        public short getOb_mode()
                         throws java.io.IOException
        Get method for struct member 'ob_mode'.

        Field Documentation

        Blender Source Code

        eObjectMode : to see if the brush is compatible, use for display only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ob_mode
      • setOb_mode

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

        Field Documentation

        Blender Source Code

        eObjectMode : to see if the brush is compatible, use for display only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ob_mode
      • getWeight

        public float getWeight()
                        throws java.io.IOException
        Get method for struct member 'weight'.

        Field Documentation

        Blender Python API

        Vertex weight when brush is applied

        Blender Source Code

        Brush weight.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • setWeight

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

        Field Documentation

        Blender Python API

        Vertex weight when brush is applied

        Blender Source Code

        Brush weight.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • getSize

        public int getSize()
                    throws java.io.IOException
        Get method for struct member 'size'.

        Field Documentation

        Blender Python API

        Radius of the brush in pixels

        Blender Source Code

        Brush diameter.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • setSize

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

        Field Documentation

        Blender Python API

        Radius of the brush in pixels

        Blender Source Code

        Brush diameter.

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

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

        Field Documentation

        Blender Source Code

        General purpose 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

        General purpose flags.

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

        public int getSampling_flag()
                             throws java.io.IOException
        Get method for struct member 'sampling_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sampling_flag
      • setSampling_flag

        public void setSampling_flag​(int sampling_flag)
                              throws java.io.IOException
        Set method for struct member 'sampling_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sampling_flag
      • getMask_pressure

        public int getMask_pressure()
                             throws java.io.IOException
        Get method for struct member 'mask_pressure'.

        Field Documentation

        Blender Source Code

        Pressure influence for mask.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_pressure
      • setMask_pressure

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

        Field Documentation

        Blender Source Code

        Pressure influence for mask.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_pressure
      • getJitter

        public float getJitter()
                        throws java.io.IOException
        Get method for struct member 'jitter'.

        Field Documentation

        Blender Python API

        Jitter the position of the brush while painting

        Blender Source Code

        Jitter the position of the brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__jitter
      • setJitter

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

        Field Documentation

        Blender Python API

        Jitter the position of the brush while painting

        Blender Source Code

        Jitter the position of the brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__jitter
      • getJitter_absolute

        public int getJitter_absolute()
                               throws java.io.IOException
        Get method for struct member 'jitter_absolute'.

        Field Documentation

        Blender Python API

        Jitter the position of the brush in pixels while painting

        Blender Source Code

        Absolute jitter in pixels.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__jitter_absolute
      • setJitter_absolute

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

        Field Documentation

        Blender Python API

        Jitter the position of the brush in pixels while painting

        Blender Source Code

        Absolute jitter in pixels.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__jitter_absolute
      • getOverlay_flags

        public int getOverlay_flags()
                             throws java.io.IOException
        Get method for struct member 'overlay_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__overlay_flags
      • setOverlay_flags

        public void setOverlay_flags​(int overlay_flags)
                              throws java.io.IOException
        Set method for struct member 'overlay_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__overlay_flags
      • getSpacing

        public int getSpacing()
                       throws java.io.IOException
        Get method for struct member 'spacing'.

        Field Documentation

        Blender Python API

        Spacing between brush daubs as a percentage of brush diameter

        Blender Source Code

        Spacing of paint operations.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacing
      • setSpacing

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

        Field Documentation

        Blender Python API

        Spacing between brush daubs as a percentage of brush diameter

        Blender Source Code

        Spacing of paint operations.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacing
      • getSmooth_stroke_radius

        public int getSmooth_stroke_radius()
                                    throws java.io.IOException
        Get method for struct member 'smooth_stroke_radius'.

        Field Documentation

        Blender Python API

        Minimum distance from last point before stroke continues

        Blender Source Code

        Turning radius (in pixels) for smooth stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_stroke_radius
      • setSmooth_stroke_radius

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

        Field Documentation

        Blender Python API

        Minimum distance from last point before stroke continues

        Blender Source Code

        Turning radius (in pixels) for smooth stroke.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_stroke_radius
      • getSmooth_stroke_factor

        public float getSmooth_stroke_factor()
                                      throws java.io.IOException
        Get method for struct member 'smooth_stroke_factor'.

        Field Documentation

        Blender Python API

        Higher values give a smoother stroke

        Blender Source Code

        Higher values limit fast changes in the stroke direction.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_stroke_factor
      • setSmooth_stroke_factor

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

        Field Documentation

        Blender Python API

        Higher values give a smoother stroke

        Blender Source Code

        Higher values limit fast changes in the stroke direction.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_stroke_factor
      • getRate

        public float getRate()
                      throws java.io.IOException
        Get method for struct member 'rate'.

        Field Documentation

        Blender Python API

        Interval between paints for Airbrush

        Blender Source Code

        Paint operations / second (airbrush).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rate
      • setRate

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

        Field Documentation

        Blender Python API

        Interval between paints for Airbrush

        Blender Source Code

        Paint operations / second (airbrush).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rate
      • getRgb

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

        Field Documentation

        Blender Source Code

        Color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rgb
      • setRgb

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

        Field Documentation

        Blender Source Code

        Color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rgb
      • getAlpha

        public float getAlpha()
                       throws java.io.IOException
        Get method for struct member 'alpha'.

        Field Documentation

        Blender Source Code

        Opacity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha
      • setAlpha

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

        Field Documentation

        Blender Source Code

        Opacity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha
      • getHardness

        public float getHardness()
                          throws java.io.IOException
        Get method for struct member 'hardness'.

        Field Documentation

        Blender Python API

        How close the brush falloff starts from the edge of the brush

        Blender Source Code

        Hardness

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hardness
      • setHardness

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

        Field Documentation

        Blender Python API

        How close the brush falloff starts from the edge of the brush

        Blender Source Code

        Hardness

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hardness
      • getFlow

        public float getFlow()
                      throws java.io.IOException
        Get method for struct member 'flow'.

        Field Documentation

        Blender Python API

        Amount of paint that is applied per stroke sample

        Blender Source Code

        Flow

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flow
      • setFlow

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

        Field Documentation

        Blender Python API

        Amount of paint that is applied per stroke sample

        Blender Source Code

        Flow

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flow
      • getWet_mix

        public float getWet_mix()
                         throws java.io.IOException
        Get method for struct member 'wet_mix'.

        Field Documentation

        Blender Python API

        Amount of paint that is picked from the surface into the brush color

        Blender Source Code

        Wet Mix

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wet_mix
      • setWet_mix

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

        Field Documentation

        Blender Python API

        Amount of paint that is picked from the surface into the brush color

        Blender Source Code

        Wet Mix

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wet_mix
      • getWet_persistence

        public float getWet_persistence()
                                 throws java.io.IOException
        Get method for struct member 'wet_persistence'.

        Field Documentation

        Blender Python API

        Amount of wet paint that stays in the brush after applying paint to the surface
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wet_persistence
      • setWet_persistence

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

        Field Documentation

        Blender Python API

        Amount of wet paint that stays in the brush after applying paint to the surface
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wet_persistence
      • getDensity

        public float getDensity()
                         throws java.io.IOException
        Get method for struct member 'density'.

        Field Documentation

        Blender Python API

        Amount of random elements that are going to be affected by the brush

        Blender Source Code

        Density

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density
      • setDensity

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

        Field Documentation

        Blender Python API

        Amount of random elements that are going to be affected by the brush

        Blender Source Code

        Density

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density
      • getPaint_flags

        public int getPaint_flags()
                           throws java.io.IOException
        Get method for struct member 'paint_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint_flags
      • setPaint_flags

        public void setPaint_flags​(int paint_flags)
                            throws java.io.IOException
        Set method for struct member 'paint_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint_flags
      • getTip_roundness

        public float getTip_roundness()
                               throws java.io.IOException
        Get method for struct member 'tip_roundness'.

        Field Documentation

        Blender Python API

        Roundness of the brush tip

        Blender Source Code

        Tip Shape Factor that controls the shape of the brush tip by rounding the corners of a square. 0.0 value produces a square, 1.0 produces a circle.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tip_roundness
      • setTip_roundness

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

        Field Documentation

        Blender Python API

        Roundness of the brush tip

        Blender Source Code

        Tip Shape Factor that controls the shape of the brush tip by rounding the corners of a square. 0.0 value produces a square, 1.0 produces a circle.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tip_roundness
      • getTip_scale_x

        public float getTip_scale_x()
                             throws java.io.IOException
        Get method for struct member 'tip_scale_x'.

        Field Documentation

        Blender Python API

        Scale of the brush tip in the X axis
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tip_scale_x
      • setTip_scale_x

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

        Field Documentation

        Blender Python API

        Scale of the brush tip in the X axis
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tip_scale_x
      • getSecondary_rgb

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

        Field Documentation

        Blender Source Code

        Background color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__secondary_rgb
      • setSecondary_rgb

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

        Field Documentation

        Blender Source Code

        Background color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__secondary_rgb
      • getDash_ratio

        public float getDash_ratio()
                            throws java.io.IOException
        Get method for struct member 'dash_ratio'.

        Field Documentation

        Blender Python API

        Ratio of samples in a cycle that the brush is enabled

        Blender Source Code

        Rate

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dash_ratio
      • setDash_ratio

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

        Field Documentation

        Blender Python API

        Ratio of samples in a cycle that the brush is enabled

        Blender Source Code

        Rate

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dash_ratio
      • getDash_samples

        public int getDash_samples()
                            throws java.io.IOException
        Get method for struct member 'dash_samples'.

        Field Documentation

        Blender Python API

        Length of a dash cycle measured in stroke samples
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dash_samples
      • setDash_samples

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

        Field Documentation

        Blender Python API

        Length of a dash cycle measured in stroke samples
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dash_samples
      • getSculpt_plane

        public int getSculpt_plane()
                            throws java.io.IOException
        Get method for struct member 'sculpt_plane'.

        Field Documentation

        Blender Source Code

        The direction of movement for sculpt vertices.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_plane
      • setSculpt_plane

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

        Field Documentation

        Blender Source Code

        The direction of movement for sculpt vertices.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_plane
      • getPlane_offset

        public float getPlane_offset()
                              throws java.io.IOException
        Get method for struct member 'plane_offset'.

        Field Documentation

        Blender Python API

        Adjust plane on which the brush acts towards or away from the object surface

        Blender Source Code

        Offset for plane brushes (clay, flatten, fill, scrape).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__plane_offset
      • setPlane_offset

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

        Field Documentation

        Blender Python API

        Adjust plane on which the brush acts towards or away from the object surface

        Blender Source Code

        Offset for plane brushes (clay, flatten, fill, scrape).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__plane_offset
      • getGradient_spacing

        public int getGradient_spacing()
                                throws java.io.IOException
        Get method for struct member 'gradient_spacing'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_spacing
      • setGradient_spacing

        public void setGradient_spacing​(int gradient_spacing)
                                 throws java.io.IOException
        Set method for struct member 'gradient_spacing'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_spacing
      • getGradient_stroke_mode

        public byte getGradient_stroke_mode()
                                     throws java.io.IOException
        Get method for struct member 'gradient_stroke_mode'.

        Field Documentation

        Blender Source Code

        Source for stroke color gradient application.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_stroke_mode
      • setGradient_stroke_mode

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

        Field Documentation

        Blender Source Code

        Source for stroke color gradient application.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_stroke_mode
      • getGradient_fill_mode

        public byte getGradient_fill_mode()
                                   throws java.io.IOException
        Get method for struct member 'gradient_fill_mode'.

        Field Documentation

        Blender Source Code

        Source for fill tool color gradient application.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_fill_mode
      • setGradient_fill_mode

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

        Field Documentation

        Blender Source Code

        Source for fill tool color gradient application.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gradient_fill_mode
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getFalloff_shape

        public byte getFalloff_shape()
                              throws java.io.IOException
        Get method for struct member 'falloff_shape'.

        Field Documentation

        Blender Python API

        Use projected or spherical falloff

        Blender Source Code

        Projection shape (sphere, circle).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff_shape
      • setFalloff_shape

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

        Field Documentation

        Blender Python API

        Use projected or spherical falloff

        Blender Source Code

        Projection shape (sphere, circle).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff_shape
      • getFalloff_angle

        public float getFalloff_angle()
                               throws java.io.IOException
        Get method for struct member 'falloff_angle'.

        Field Documentation

        Blender Python API

        Paint most on faces pointing towards the view according to this angle
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff_angle
      • setFalloff_angle

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

        Field Documentation

        Blender Python API

        Paint most on faces pointing towards the view according to this angle
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff_angle
      • getSculpt_tool

        public byte getSculpt_tool()
                            throws java.io.IOException
        Get method for struct member 'sculpt_tool'.

        Field Documentation

        Blender Source Code

        Active sculpt tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_tool
      • setSculpt_tool

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

        Field Documentation

        Blender Source Code

        Active sculpt tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sculpt_tool
      • getUv_sculpt_tool

        public byte getUv_sculpt_tool()
                               throws java.io.IOException
        Get method for struct member 'uv_sculpt_tool'.

        Field Documentation

        Blender Source Code

        Active sculpt tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_sculpt_tool
      • setUv_sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active sculpt tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uv_sculpt_tool
      • getVertexpaint_tool

        public byte getVertexpaint_tool()
                                 throws java.io.IOException
        Get method for struct member 'vertexpaint_tool'.

        Field Documentation

        Blender Source Code

        Active vertex paint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertexpaint_tool
      • setVertexpaint_tool

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

        Field Documentation

        Blender Source Code

        Active vertex paint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertexpaint_tool
      • getWeightpaint_tool

        public byte getWeightpaint_tool()
                                 throws java.io.IOException
        Get method for struct member 'weightpaint_tool'.

        Field Documentation

        Blender Source Code

        Active weight paint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weightpaint_tool
      • setWeightpaint_tool

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

        Field Documentation

        Blender Source Code

        Active weight paint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weightpaint_tool
      • getImagepaint_tool

        public byte getImagepaint_tool()
                                throws java.io.IOException
        Get method for struct member 'imagepaint_tool'.

        Field Documentation

        Blender Source Code

        Active image paint tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__imagepaint_tool
      • setImagepaint_tool

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

        Field Documentation

        Blender Source Code

        Active image paint tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__imagepaint_tool
      • getMask_tool

        public byte getMask_tool()
                          throws java.io.IOException
        Get method for struct member 'mask_tool'.

        Field Documentation

        Blender Source Code

        Enum eBrushMaskTool, only used if sculpt_tool is SCULPT_TOOL_MASK.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_tool
      • setMask_tool

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

        Field Documentation

        Blender Source Code

        Enum eBrushMaskTool, only used if sculpt_tool is SCULPT_TOOL_MASK.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_tool
      • getGpencil_tool

        public byte getGpencil_tool()
                             throws java.io.IOException
        Get method for struct member 'gpencil_tool'.

        Field Documentation

        Blender Source Code

        Active grease pencil tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_tool
      • setGpencil_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_tool
      • getGpencil_vertex_tool

        public byte getGpencil_vertex_tool()
                                    throws java.io.IOException
        Get method for struct member 'gpencil_vertex_tool'.

        Field Documentation

        Blender Source Code

        Active grease pencil vertex tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_vertex_tool
      • setGpencil_vertex_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil vertex tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_vertex_tool
      • getGpencil_sculpt_tool

        public byte getGpencil_sculpt_tool()
                                    throws java.io.IOException
        Get method for struct member 'gpencil_sculpt_tool'.

        Field Documentation

        Blender Source Code

        Active grease pencil sculpt tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_sculpt_tool
      • setGpencil_sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil sculpt tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_sculpt_tool
      • getGpencil_weight_tool

        public byte getGpencil_weight_tool()
                                    throws java.io.IOException
        Get method for struct member 'gpencil_weight_tool'.

        Field Documentation

        Blender Source Code

        Active grease pencil weight tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_weight_tool
      • setGpencil_weight_tool

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

        Field Documentation

        Blender Source Code

        Active grease pencil weight tool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_weight_tool
      • getCurves_sculpt_tool

        public byte getCurves_sculpt_tool()
                                   throws java.io.IOException
        Get method for struct member 'curves_sculpt_tool'.

        Field Documentation

        Blender Source Code

        Active curves sculpt tool (eBrushCurvesSculptTool ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curves_sculpt_tool
      • setCurves_sculpt_tool

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

        Field Documentation

        Blender Source Code

        Active curves sculpt tool (eBrushCurvesSculptTool ).

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

        public float getAutosmooth_factor()
                                   throws java.io.IOException
        Get method for struct member 'autosmooth_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__autosmooth_factor
      • setAutosmooth_factor

        public void setAutosmooth_factor​(float autosmooth_factor)
                                  throws java.io.IOException
        Set method for struct member 'autosmooth_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__autosmooth_factor
      • getTilt_strength_factor

        public float getTilt_strength_factor()
                                      throws java.io.IOException
        Get method for struct member 'tilt_strength_factor'.

        Field Documentation

        Blender Python API

        How much the tilt of the pen will affect the brush
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tilt_strength_factor
      • setTilt_strength_factor

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

        Field Documentation

        Blender Python API

        How much the tilt of the pen will affect the brush
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tilt_strength_factor
      • getTopology_rake_factor

        public float getTopology_rake_factor()
                                      throws java.io.IOException
        Get method for struct member 'topology_rake_factor'.

        Field Documentation

        Blender Python API

        Automatically align edges to the brush direction to generate cleaner topology and define sharp features. Best used on low-poly meshes as it has a performance impact
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__topology_rake_factor
      • setTopology_rake_factor

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

        Field Documentation

        Blender Python API

        Automatically align edges to the brush direction to generate cleaner topology and define sharp features. Best used on low-poly meshes as it has a performance impact
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__topology_rake_factor
      • getCrease_pinch_factor

        public float getCrease_pinch_factor()
                                     throws java.io.IOException
        Get method for struct member 'crease_pinch_factor'.

        Field Documentation

        Blender Python API

        How much the crease brush pinches
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__crease_pinch_factor
      • setCrease_pinch_factor

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

        Field Documentation

        Blender Python API

        How much the crease brush pinches
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__crease_pinch_factor
      • getNormal_radius_factor

        public float getNormal_radius_factor()
                                      throws java.io.IOException
        Get method for struct member 'normal_radius_factor'.

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the normal
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_radius_factor
      • setNormal_radius_factor

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

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the normal
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_radius_factor
      • getArea_radius_factor

        public float getArea_radius_factor()
                                    throws java.io.IOException
        Get method for struct member 'area_radius_factor'.

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the area center
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__area_radius_factor
      • setArea_radius_factor

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

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the area center
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__area_radius_factor
      • getWet_paint_radius_factor

        public float getWet_paint_radius_factor()
                                         throws java.io.IOException
        Get method for struct member 'wet_paint_radius_factor'.

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the color to blend in wet paint
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wet_paint_radius_factor
      • setWet_paint_radius_factor

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

        Field Documentation

        Blender Python API

        Ratio between the brush radius and the radius that is going to be used to sample the color to blend in wet paint
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wet_paint_radius_factor
      • getPlane_trim

        public float getPlane_trim()
                            throws java.io.IOException
        Get method for struct member 'plane_trim'.

        Field Documentation

        Blender Python API

        If a vertex is further away from offset plane than this, then it is not affected
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__plane_trim
      • setPlane_trim

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

        Field Documentation

        Blender Python API

        If a vertex is further away from offset plane than this, then it is not affected
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__plane_trim
      • getHeight

        public float getHeight()
                        throws java.io.IOException
        Get method for struct member 'height'.

        Field Documentation

        Blender Python API

        Affectable height of brush (layer height for layer tool, i.e.)

        Blender Source Code

        Affectable height of brush (layer height for layer tool, i.e.).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__height
      • setHeight

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

        Field Documentation

        Blender Python API

        Affectable height of brush (layer height for layer tool, i.e.)

        Blender Source Code

        Affectable height of brush (layer height for layer tool, i.e.).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__height
      • getTexture_sample_bias

        public float getTexture_sample_bias()
                                     throws java.io.IOException
        Get method for struct member 'texture_sample_bias'.

        Field Documentation

        Blender Python API

        Value added to texture samples
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_sample_bias
      • setTexture_sample_bias

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

        Field Documentation

        Blender Python API

        Value added to texture samples
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_sample_bias
      • getCurve_preset

        public int getCurve_preset()
                            throws java.io.IOException
        Get method for struct member 'curve_preset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_preset
      • setCurve_preset

        public void setCurve_preset​(int curve_preset)
                             throws java.io.IOException
        Set method for struct member 'curve_preset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_preset
      • getDisconnected_distance_max

        public float getDisconnected_distance_max()
                                           throws java.io.IOException
        Get method for struct member 'disconnected_distance_max'.

        Field Documentation

        Blender Python API

        Maximum distance to search for disconnected loose parts in the mesh

        Blender Source Code

        Maximum distance to search fake neighbors from a vertex.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__disconnected_distance_max
      • setDisconnected_distance_max

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

        Field Documentation

        Blender Python API

        Maximum distance to search for disconnected loose parts in the mesh

        Blender Source Code

        Maximum distance to search fake neighbors from a vertex.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__disconnected_distance_max
      • getDeform_target

        public int getDeform_target()
                             throws java.io.IOException
        Get method for struct member 'deform_target'.

        Field Documentation

        Blender Python API

        How the deformation of the brush will affect the object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deform_target
      • setDeform_target

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

        Field Documentation

        Blender Python API

        How the deformation of the brush will affect the object
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deform_target
      • getAutomasking_flags

        public int getAutomasking_flags()
                                 throws java.io.IOException
        Get method for struct member 'automasking_flags'.

        Field Documentation

        Blender Source Code

        automasking

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__automasking_flags
      • setAutomasking_flags

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

        Field Documentation

        Blender Source Code

        automasking

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__automasking_flags
      • getAutomasking_boundary_edges_propagation_steps

        public int getAutomasking_boundary_edges_propagation_steps()
                                                            throws java.io.IOException
        Get method for struct member 'automasking_boundary_edges_propagation_steps'.

        Field Documentation

        Blender Python API

        Distance where boundary edge automasking is going to protect vertices from the fully masked edge
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__automasking_boundary_edges_propagation_steps
      • setAutomasking_boundary_edges_propagation_steps

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

        Field Documentation

        Blender Python API

        Distance where boundary edge automasking is going to protect vertices from the fully masked edge
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__automasking_boundary_edges_propagation_steps
      • getElastic_deform_type

        public int getElastic_deform_type()
                                   throws java.io.IOException
        Get method for struct member 'elastic_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__elastic_deform_type
      • setElastic_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__elastic_deform_type
      • getElastic_deform_volume_preservation

        public float getElastic_deform_volume_preservation()
                                                    throws java.io.IOException
        Get method for struct member 'elastic_deform_volume_preservation'.

        Field Documentation

        Blender Python API

        Poisson ratio for elastic deformation. Higher values preserve volume more, but also lead to more bulging
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__elastic_deform_volume_preservation
      • setElastic_deform_volume_preservation

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

        Field Documentation

        Blender Python API

        Poisson ratio for elastic deformation. Higher values preserve volume more, but also lead to more bulging
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__elastic_deform_volume_preservation
      • getSnake_hook_deform_type

        public int getSnake_hook_deform_type()
                                      throws java.io.IOException
        Get method for struct member 'snake_hook_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        snake hook

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__snake_hook_deform_type
      • setSnake_hook_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        snake hook

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__snake_hook_deform_type
      • getPose_deform_type

        public int getPose_deform_type()
                                throws java.io.IOException
        Get method for struct member 'pose_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        pose

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_deform_type
      • setPose_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        pose

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_deform_type
      • getPose_offset

        public float getPose_offset()
                             throws java.io.IOException
        Get method for struct member 'pose_offset'.

        Field Documentation

        Blender Python API

        Offset of the pose origin in relation to the brush radius
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_offset
      • setPose_offset

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

        Field Documentation

        Blender Python API

        Offset of the pose origin in relation to the brush radius
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_offset
      • getPose_smooth_iterations

        public int getPose_smooth_iterations()
                                      throws java.io.IOException
        Get method for struct member 'pose_smooth_iterations'.

        Field Documentation

        Blender Python API

        Smooth iterations applied after calculating the pose factor of each vertex
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_smooth_iterations
      • setPose_smooth_iterations

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

        Field Documentation

        Blender Python API

        Smooth iterations applied after calculating the pose factor of each vertex
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_smooth_iterations
      • getPose_ik_segments

        public int getPose_ik_segments()
                                throws java.io.IOException
        Get method for struct member 'pose_ik_segments'.

        Field Documentation

        Blender Python API

        Number of segments of the inverse kinematics chain that will deform the mesh
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_ik_segments
      • setPose_ik_segments

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

        Field Documentation

        Blender Python API

        Number of segments of the inverse kinematics chain that will deform the mesh
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_ik_segments
      • getPose_origin_type

        public int getPose_origin_type()
                                throws java.io.IOException
        Get method for struct member 'pose_origin_type'.

        Field Documentation

        Blender Python API

        Method to set the rotation origins for the segments of the brush
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_origin_type
      • setPose_origin_type

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

        Field Documentation

        Blender Python API

        Method to set the rotation origins for the segments of the brush
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pose_origin_type
      • getBoundary_deform_type

        public int getBoundary_deform_type()
                                    throws java.io.IOException
        Get method for struct member 'boundary_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        boundary

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundary_deform_type
      • setBoundary_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        boundary

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundary_deform_type
      • getBoundary_falloff_type

        public int getBoundary_falloff_type()
                                     throws java.io.IOException
        Get method for struct member 'boundary_falloff_type'.

        Field Documentation

        Blender Python API

        How the brush falloff is applied across the boundary
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundary_falloff_type
      • setBoundary_falloff_type

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

        Field Documentation

        Blender Python API

        How the brush falloff is applied across the boundary
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundary_falloff_type
      • getBoundary_offset

        public float getBoundary_offset()
                                 throws java.io.IOException
        Get method for struct member 'boundary_offset'.

        Field Documentation

        Blender Python API

        Offset of the boundary origin in relation to the brush radius
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundary_offset
      • setBoundary_offset

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

        Field Documentation

        Blender Python API

        Offset of the boundary origin in relation to the brush radius
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boundary_offset
      • getCloth_deform_type

        public int getCloth_deform_type()
                                 throws java.io.IOException
        Get method for struct member 'cloth_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        cloth

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_deform_type
      • setCloth_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        cloth

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_deform_type
      • getCloth_force_falloff_type

        public int getCloth_force_falloff_type()
                                        throws java.io.IOException
        Get method for struct member 'cloth_force_falloff_type'.

        Field Documentation

        Blender Python API

        Shape used in the brush to apply force to the cloth
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_force_falloff_type
      • setCloth_force_falloff_type

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

        Field Documentation

        Blender Python API

        Shape used in the brush to apply force to the cloth
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_force_falloff_type
      • getCloth_simulation_area_type

        public int getCloth_simulation_area_type()
                                          throws java.io.IOException
        Get method for struct member 'cloth_simulation_area_type'.

        Field Documentation

        Blender Python API

        Part of the mesh that is going to be simulated when the stroke is active
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_simulation_area_type
      • setCloth_simulation_area_type

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

        Field Documentation

        Blender Python API

        Part of the mesh that is going to be simulated when the stroke is active
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_simulation_area_type
      • getCloth_mass

        public float getCloth_mass()
                            throws java.io.IOException
        Get method for struct member 'cloth_mass'.

        Field Documentation

        Blender Python API

        Mass of each simulation particle
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_mass
      • setCloth_mass

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

        Field Documentation

        Blender Python API

        Mass of each simulation particle
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_mass
      • getCloth_damping

        public float getCloth_damping()
                               throws java.io.IOException
        Get method for struct member 'cloth_damping'.

        Field Documentation

        Blender Python API

        How much the applied forces are propagated through the cloth
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_damping
      • setCloth_damping

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

        Field Documentation

        Blender Python API

        How much the applied forces are propagated through the cloth
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_damping
      • getCloth_sim_limit

        public float getCloth_sim_limit()
                                 throws java.io.IOException
        Get method for struct member 'cloth_sim_limit'.

        Field Documentation

        Blender Python API

        Factor added relative to the size of the radius to limit the cloth simulation effects
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_sim_limit
      • setCloth_sim_limit

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

        Field Documentation

        Blender Python API

        Factor added relative to the size of the radius to limit the cloth simulation effects
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_sim_limit
      • getCloth_sim_falloff

        public float getCloth_sim_falloff()
                                   throws java.io.IOException
        Get method for struct member 'cloth_sim_falloff'.

        Field Documentation

        Blender Python API

        Area to apply deformation falloff to the effects of the simulation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_sim_falloff
      • setCloth_sim_falloff

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

        Field Documentation

        Blender Python API

        Area to apply deformation falloff to the effects of the simulation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_sim_falloff
      • getCloth_constraint_softbody_strength

        public float getCloth_constraint_softbody_strength()
                                                    throws java.io.IOException
        Get method for struct member 'cloth_constraint_softbody_strength'.

        Field Documentation

        Blender Python API

        How much the cloth preserves the original shape, acting as a soft body
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_constraint_softbody_strength
      • setCloth_constraint_softbody_strength

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

        Field Documentation

        Blender Python API

        How much the cloth preserves the original shape, acting as a soft body
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cloth_constraint_softbody_strength
      • getSmooth_deform_type

        public int getSmooth_deform_type()
                                  throws java.io.IOException
        Get method for struct member 'smooth_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        smooth

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_deform_type
      • setSmooth_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        smooth

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smooth_deform_type
      • getSurface_smooth_shape_preservation

        public float getSurface_smooth_shape_preservation()
                                                   throws java.io.IOException
        Get method for struct member 'surface_smooth_shape_preservation'.

        Field Documentation

        Blender Python API

        How much of the original shape is preserved when smoothing
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_smooth_shape_preservation
      • setSurface_smooth_shape_preservation

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

        Field Documentation

        Blender Python API

        How much of the original shape is preserved when smoothing
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_smooth_shape_preservation
      • getSurface_smooth_current_vertex

        public float getSurface_smooth_current_vertex()
                                               throws java.io.IOException
        Get method for struct member 'surface_smooth_current_vertex'.

        Field Documentation

        Blender Python API

        How much the position of each individual vertex influences the final result
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_smooth_current_vertex
      • setSurface_smooth_current_vertex

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

        Field Documentation

        Blender Python API

        How much the position of each individual vertex influences the final result
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_smooth_current_vertex
      • getSurface_smooth_iterations

        public int getSurface_smooth_iterations()
                                         throws java.io.IOException
        Get method for struct member 'surface_smooth_iterations'.

        Field Documentation

        Blender Python API

        Number of smoothing iterations per brush step
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_smooth_iterations
      • setSurface_smooth_iterations

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

        Field Documentation

        Blender Python API

        Number of smoothing iterations per brush step
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_smooth_iterations
      • getMultiplane_scrape_angle

        public float getMultiplane_scrape_angle()
                                         throws java.io.IOException
        Get method for struct member 'multiplane_scrape_angle'.

        Field Documentation

        Blender Python API

        Angle between the planes of the crease

        Blender Source Code

        multiplane scrape

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__multiplane_scrape_angle
      • setMultiplane_scrape_angle

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

        Field Documentation

        Blender Python API

        Angle between the planes of the crease

        Blender Source Code

        multiplane scrape

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__multiplane_scrape_angle
      • getSmear_deform_type

        public int getSmear_deform_type()
                                 throws java.io.IOException
        Get method for struct member 'smear_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        smear

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smear_deform_type
      • setSmear_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        smear

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smear_deform_type
      • getSlide_deform_type

        public int getSlide_deform_type()
                                 throws java.io.IOException
        Get method for struct member 'slide_deform_type'.

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        slide/relax

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__slide_deform_type
      • setSlide_deform_type

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

        Field Documentation

        Blender Python API

        Deformation type that is used in the brush

        Blender Source Code

        slide/relax

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__slide_deform_type
      • getTexture_overlay_alpha

        public int getTexture_overlay_alpha()
                                     throws java.io.IOException
        Get method for struct member 'texture_overlay_alpha'.

        Field Documentation

        Blender Source Code

        overlay

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_overlay_alpha
      • setTexture_overlay_alpha

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

        Field Documentation

        Blender Source Code

        overlay

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__texture_overlay_alpha
      • getMask_overlay_alpha

        public int getMask_overlay_alpha()
                                  throws java.io.IOException
        Get method for struct member 'mask_overlay_alpha'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_overlay_alpha
      • setMask_overlay_alpha

        public void setMask_overlay_alpha​(int mask_overlay_alpha)
                                   throws java.io.IOException
        Set method for struct member 'mask_overlay_alpha'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_overlay_alpha
      • getCursor_overlay_alpha

        public int getCursor_overlay_alpha()
                                    throws java.io.IOException
        Get method for struct member 'cursor_overlay_alpha'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cursor_overlay_alpha
      • setCursor_overlay_alpha

        public void setCursor_overlay_alpha​(int cursor_overlay_alpha)
                                     throws java.io.IOException
        Set method for struct member 'cursor_overlay_alpha'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cursor_overlay_alpha
      • getUnprojected_radius

        public float getUnprojected_radius()
                                    throws java.io.IOException
        Get method for struct member 'unprojected_radius'.

        Field Documentation

        Blender Python API

        Radius of brush in Blender units
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__unprojected_radius
      • setUnprojected_radius

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

        Field Documentation

        Blender Python API

        Radius of brush in Blender units
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__unprojected_radius
      • getSharp_threshold

        public float getSharp_threshold()
                                 throws java.io.IOException
        Get method for struct member 'sharp_threshold'.

        Field Documentation

        Blender Python API

        Threshold below which, no sharpening is done

        Blender Source Code

        soften/sharpen

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sharp_threshold
      • setSharp_threshold

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

        Field Documentation

        Blender Python API

        Threshold below which, no sharpening is done

        Blender Source Code

        soften/sharpen

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sharp_threshold
      • getBlur_kernel_radius

        public int getBlur_kernel_radius()
                                  throws java.io.IOException
        Get method for struct member 'blur_kernel_radius'.

        Field Documentation

        Blender Python API

        Radius of kernel used for soften and sharpen in pixels
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blur_kernel_radius
      • setBlur_kernel_radius

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

        Field Documentation

        Blender Python API

        Radius of kernel used for soften and sharpen in pixels
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blur_kernel_radius
      • getBlur_mode

        public int getBlur_mode()
                         throws java.io.IOException
        Get method for struct member 'blur_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blur_mode
      • setBlur_mode

        public void setBlur_mode​(int blur_mode)
                          throws java.io.IOException
        Set method for struct member 'blur_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blur_mode
      • getFill_threshold

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

        Field Documentation

        Blender Python API

        Threshold above which filling is not propagated

        Blender Source Code

        fill tool

        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 above which filling is not propagated

        Blender Source Code

        fill tool

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

        public CArrayFacade<java.lang.Float> getAdd_col()
                                                 throws java.io.IOException
        Get method for struct member 'add_col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__add_col
      • setAdd_col

        public void setAdd_col​(CArrayFacade<java.lang.Float> add_col)
                        throws java.io.IOException
        Set method for struct member 'add_col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__add_col
      • getSub_col

        public CArrayFacade<java.lang.Float> getSub_col()
                                                 throws java.io.IOException
        Get method for struct member 'sub_col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sub_col
      • setSub_col

        public void setSub_col​(CArrayFacade<java.lang.Float> sub_col)
                        throws java.io.IOException
        Set method for struct member 'sub_col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sub_col
      • getStencil_pos

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

        Field Documentation

        Blender Python API

        Position of stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stencil_pos
      • setStencil_pos

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

        Field Documentation

        Blender Python API

        Position of stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stencil_pos
      • getStencil_dimension

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

        Field Documentation

        Blender Python API

        Dimensions of stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stencil_dimension
      • setStencil_dimension

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

        Field Documentation

        Blender Python API

        Dimensions of stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stencil_dimension
      • getMask_stencil_pos

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

        Field Documentation

        Blender Python API

        Position of mask stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_stencil_pos
      • setMask_stencil_pos

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

        Field Documentation

        Blender Python API

        Position of mask stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_stencil_pos
      • getMask_stencil_dimension

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

        Field Documentation

        Blender Python API

        Dimensions of mask stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_stencil_dimension
      • setMask_stencil_dimension

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

        Field Documentation

        Blender Python API

        Dimensions of mask stencil in viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_stencil_dimension
      • setGpencil_settings

        public void setGpencil_settings​(CPointer<BrushGpencilSettings> gpencil_settings)
                                 throws java.io.IOException
        Set method for struct member 'gpencil_settings'.

        Field Documentation

        Blender Python API

        (read-only)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpencil_settings
      • __io__addressof

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