Class UnifiedPaintSettings


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

    Class Documentation

    Blender Source Code


    Unified Paint Settings These settings can override the equivalent fields in the active Brush for any paint mode; the flag field controls whether these values are used

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __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

        Blender Source Code

        unified radius of brush in pixels

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__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

        Blender Source Code

        unified radius of brush in Blender units

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__alpha

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

        Field Documentation

        Blender Source Code

        unified strength of brush

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__weight

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

        Field Documentation

        Blender Python API

        Weight to assign in vertex groups

        Blender Source Code

        unified brush weight, [0, 1]

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__rgb

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

        Field Documentation

        Blender Source Code

        unified brush color

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__secondary_rgb

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

        Field Documentation

        Blender Source Code

        unified brush secondary color

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__flag

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

        Field Documentation

        Blender Source Code

        user preferences for sculpt and paint

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__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__last_rake

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

        Field Documentation

        Blender Source Code

        rake rotation record movement of mouse so that rake can start at an intuitive angle

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__last_rake);
         CPointer<CArrayFacade<Float>> p_last_rake = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__last_rake_angle);
         CPointer<Float> p_last_rake_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'last_rake_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__last_stroke_valid

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__last_stroke_valid);
         CPointer<Integer> p_last_stroke_valid = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'last_stroke_valid'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__average_stroke_accum

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__average_stroke_accum);
         CPointer<CArrayFacade<Float>> p_average_stroke_accum = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__average_stroke_counter);
         CPointer<Integer> p_average_stroke_counter = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'average_stroke_counter'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__brush_rotation

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__brush_rotation);
         CPointer<Float> p_brush_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'brush_rotation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__brush_rotation_sec

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__brush_rotation_sec);
         CPointer<Float> p_brush_rotation_sec = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'brush_rotation_sec'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__anchored_size

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__anchored_size);
         CPointer<Integer> p_anchored_size = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'anchored_size'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__overlap_factor

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

        Field Documentation

        Blender Source Code

        Normalization factor due to accumulated value of curve along spacing. Calculated when brush spacing changes to dampen strength of stroke if space attenuation is used.

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__overlap_factor);
         CPointer<Float> p_overlap_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'overlap_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__draw_inverted

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__draw_inverted);
         CPointer<Byte> p_draw_inverted = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'draw_inverted'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__stroke_active

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

        Field Documentation

        Blender Source Code

        check is there an ongoing stroke right now

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__stroke_active);
         CPointer<Byte> p_stroke_active = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'stroke_active'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__draw_anchored

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__draw_anchored);
         CPointer<Byte> p_draw_anchored = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'draw_anchored'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__do_linear_conversion

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__do_linear_conversion);
         CPointer<Byte> p_do_linear_conversion = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'do_linear_conversion'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__last_location

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

        Field Documentation

        Blender Source Code

        store last location of stroke or whether the mesh was hit. Valid only while stroke is active

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__last_location);
         CPointer<CArrayFacade<Float>> p_last_location = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__last_hit);
         CPointer<Integer> p_last_hit = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'last_hit'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__anchored_initial_mouse

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__anchored_initial_mouse);
         CPointer<CArrayFacade<Float>> p_anchored_initial_mouse = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        radius of brush, premultiplied with pressure. In case of anchored brushes contains the anchored radius

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__pixel_radius);
         CPointer<Float> p_pixel_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pixel_radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__initial_pixel_radius

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__initial_pixel_radius);
         CPointer<Float> p_initial_pixel_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'initial_pixel_radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__start_pixel_radius

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

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__start_pixel_radius);
         CPointer<Float> p_start_pixel_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'start_pixel_radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__size_pressure_value

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

        Field Documentation

        Blender Source Code

        drawing pressure

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__size_pressure_value);
         CPointer<Float> p_size_pressure_value = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'size_pressure_value'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tex_mouse

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

        Field Documentation

        Blender Source Code

        position of mouse, used to sample the texture

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__tex_mouse);
         CPointer<CArrayFacade<Float>> p_tex_mouse = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        position of mouse, used to sample the mask texture

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__mask_tex_mouse);
         CPointer<CArrayFacade<Float>> p_mask_tex_mouse = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        ColorSpace cache to avoid locking up during sampling

        Pointer Arithmetics

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

         UnifiedPaintSettings unifiedpaintsettings = ...;
         CPointer<Object> p = unifiedpaintsettings.__dna__addressof(UnifiedPaintSettings.__DNA__FIELD__colorspace);
         CPointer<CPointer<Object>> p_colorspace = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • UnifiedPaintSettings

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

      • getSize

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

        Field Documentation

        Blender Python API

        Radius of the brush

        Blender Source Code

        unified radius of brush in pixels

        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

        Blender Source Code

        unified radius of brush in pixels

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

        Blender Source Code

        unified 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

        Blender Source Code

        unified radius of brush in Blender units

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

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

        Field Documentation

        Blender Source Code

        unified strength of brush

        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

        unified strength of brush

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

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

        Field Documentation

        Blender Python API

        Weight to assign in vertex groups

        Blender Source Code

        unified brush weight, [0, 1]

        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

        Weight to assign in vertex groups

        Blender Source Code

        unified brush weight, [0, 1]

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

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

        Field Documentation

        Blender Source Code

        unified brush 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

        unified brush color

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

        unified brush secondary 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

        unified brush secondary color

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

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

        Field Documentation

        Blender Source Code

        user preferences for sculpt and paint

        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

        user preferences for sculpt and paint

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

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

        Field Documentation

        Blender Source Code

        rake rotation record movement of mouse so that rake can start at an intuitive angle

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_rake
      • setLast_rake

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

        Field Documentation

        Blender Source Code

        rake rotation record movement of mouse so that rake can start at an intuitive angle

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_rake
      • getLast_rake_angle

        public float getLast_rake_angle()
                                 throws java.io.IOException
        Get method for struct member 'last_rake_angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_rake_angle
      • setLast_rake_angle

        public void setLast_rake_angle​(float last_rake_angle)
                                throws java.io.IOException
        Set method for struct member 'last_rake_angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_rake_angle
      • getLast_stroke_valid

        public int getLast_stroke_valid()
                                 throws java.io.IOException
        Get method for struct member 'last_stroke_valid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_stroke_valid
      • setLast_stroke_valid

        public void setLast_stroke_valid​(int last_stroke_valid)
                                  throws java.io.IOException
        Set method for struct member 'last_stroke_valid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_stroke_valid
      • getAverage_stroke_accum

        public CArrayFacade<java.lang.Float> getAverage_stroke_accum()
                                                              throws java.io.IOException
        Get method for struct member 'average_stroke_accum'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__average_stroke_accum
      • setAverage_stroke_accum

        public void setAverage_stroke_accum​(CArrayFacade<java.lang.Float> average_stroke_accum)
                                     throws java.io.IOException
        Set method for struct member 'average_stroke_accum'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__average_stroke_accum
      • getAverage_stroke_counter

        public int getAverage_stroke_counter()
                                      throws java.io.IOException
        Get method for struct member 'average_stroke_counter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__average_stroke_counter
      • setAverage_stroke_counter

        public void setAverage_stroke_counter​(int average_stroke_counter)
                                       throws java.io.IOException
        Set method for struct member 'average_stroke_counter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__average_stroke_counter
      • getBrush_rotation

        public float getBrush_rotation()
                                throws java.io.IOException
        Get method for struct member 'brush_rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_rotation
      • setBrush_rotation

        public void setBrush_rotation​(float brush_rotation)
                               throws java.io.IOException
        Set method for struct member 'brush_rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_rotation
      • getBrush_rotation_sec

        public float getBrush_rotation_sec()
                                    throws java.io.IOException
        Get method for struct member 'brush_rotation_sec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_rotation_sec
      • setBrush_rotation_sec

        public void setBrush_rotation_sec​(float brush_rotation_sec)
                                   throws java.io.IOException
        Set method for struct member 'brush_rotation_sec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__brush_rotation_sec
      • getAnchored_size

        public int getAnchored_size()
                             throws java.io.IOException
        Get method for struct member 'anchored_size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__anchored_size
      • setAnchored_size

        public void setAnchored_size​(int anchored_size)
                              throws java.io.IOException
        Set method for struct member 'anchored_size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__anchored_size
      • getOverlap_factor

        public float getOverlap_factor()
                                throws java.io.IOException
        Get method for struct member 'overlap_factor'.

        Field Documentation

        Blender Source Code

        Normalization factor due to accumulated value of curve along spacing. Calculated when brush spacing changes to dampen strength of stroke if space attenuation is used.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__overlap_factor
      • setOverlap_factor

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

        Field Documentation

        Blender Source Code

        Normalization factor due to accumulated value of curve along spacing. Calculated when brush spacing changes to dampen strength of stroke if space attenuation is used.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__overlap_factor
      • getDraw_inverted

        public byte getDraw_inverted()
                              throws java.io.IOException
        Get method for struct member 'draw_inverted'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_inverted
      • setDraw_inverted

        public void setDraw_inverted​(byte draw_inverted)
                              throws java.io.IOException
        Set method for struct member 'draw_inverted'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_inverted
      • getStroke_active

        public byte getStroke_active()
                              throws java.io.IOException
        Get method for struct member 'stroke_active'.

        Field Documentation

        Blender Source Code

        check is there an ongoing stroke right now

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stroke_active
      • setStroke_active

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

        Field Documentation

        Blender Source Code

        check is there an ongoing stroke right now

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stroke_active
      • getDraw_anchored

        public byte getDraw_anchored()
                              throws java.io.IOException
        Get method for struct member 'draw_anchored'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_anchored
      • setDraw_anchored

        public void setDraw_anchored​(byte draw_anchored)
                              throws java.io.IOException
        Set method for struct member 'draw_anchored'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_anchored
      • getDo_linear_conversion

        public byte getDo_linear_conversion()
                                     throws java.io.IOException
        Get method for struct member 'do_linear_conversion'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__do_linear_conversion
      • setDo_linear_conversion

        public void setDo_linear_conversion​(byte do_linear_conversion)
                                     throws java.io.IOException
        Set method for struct member 'do_linear_conversion'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__do_linear_conversion
      • getLast_location

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

        Field Documentation

        Blender Source Code

        store last location of stroke or whether the mesh was hit. Valid only while stroke is active

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_location
      • setLast_location

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

        Field Documentation

        Blender Source Code

        store last location of stroke or whether the mesh was hit. Valid only while stroke is active

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_location
      • getLast_hit

        public int getLast_hit()
                        throws java.io.IOException
        Get method for struct member 'last_hit'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_hit
      • setLast_hit

        public void setLast_hit​(int last_hit)
                         throws java.io.IOException
        Set method for struct member 'last_hit'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_hit
      • getAnchored_initial_mouse

        public CArrayFacade<java.lang.Float> getAnchored_initial_mouse()
                                                                throws java.io.IOException
        Get method for struct member 'anchored_initial_mouse'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__anchored_initial_mouse
      • setAnchored_initial_mouse

        public void setAnchored_initial_mouse​(CArrayFacade<java.lang.Float> anchored_initial_mouse)
                                       throws java.io.IOException
        Set method for struct member 'anchored_initial_mouse'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__anchored_initial_mouse
      • getPixel_radius

        public float getPixel_radius()
                              throws java.io.IOException
        Get method for struct member 'pixel_radius'.

        Field Documentation

        Blender Source Code

        radius of brush, premultiplied with pressure. In case of anchored brushes contains the anchored radius

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pixel_radius
      • setPixel_radius

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

        Field Documentation

        Blender Source Code

        radius of brush, premultiplied with pressure. In case of anchored brushes contains the anchored radius

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pixel_radius
      • getInitial_pixel_radius

        public float getInitial_pixel_radius()
                                      throws java.io.IOException
        Get method for struct member 'initial_pixel_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__initial_pixel_radius
      • setInitial_pixel_radius

        public void setInitial_pixel_radius​(float initial_pixel_radius)
                                     throws java.io.IOException
        Set method for struct member 'initial_pixel_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__initial_pixel_radius
      • getStart_pixel_radius

        public float getStart_pixel_radius()
                                    throws java.io.IOException
        Get method for struct member 'start_pixel_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_pixel_radius
      • setStart_pixel_radius

        public void setStart_pixel_radius​(float start_pixel_radius)
                                   throws java.io.IOException
        Set method for struct member 'start_pixel_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_pixel_radius
      • getSize_pressure_value

        public float getSize_pressure_value()
                                     throws java.io.IOException
        Get method for struct member 'size_pressure_value'.

        Field Documentation

        Blender Source Code

        drawing pressure

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_pressure_value
      • setSize_pressure_value

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

        Field Documentation

        Blender Source Code

        drawing pressure

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_pressure_value
      • getTex_mouse

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

        Field Documentation

        Blender Source Code

        position of mouse, used to sample the texture

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tex_mouse
      • setTex_mouse

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

        Field Documentation

        Blender Source Code

        position of mouse, used to sample the texture

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tex_mouse
      • getMask_tex_mouse

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

        Field Documentation

        Blender Source Code

        position of mouse, used to sample the mask texture

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_tex_mouse
      • setMask_tex_mouse

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

        Field Documentation

        Blender Source Code

        position of mouse, used to sample the mask texture

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask_tex_mouse
      • getColorspace

        public CPointer<java.lang.Object> getColorspace()
                                                 throws java.io.IOException
        Get method for struct member 'colorspace'.

        Field Documentation

        Blender Source Code

        ColorSpace cache to avoid locking up during sampling

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colorspace
      • setColorspace

        public void setColorspace​(CPointer<java.lang.Object> colorspace)
                           throws java.io.IOException
        Set method for struct member 'colorspace'.

        Field Documentation

        Blender Source Code

        ColorSpace cache to avoid locking up during sampling

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colorspace