Class BrushCurvesSculptSettings


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Number of curves added by the Add brush

        Blender Source Code

        Number of curves added by the add brush.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__add_amount);
         CPointer<Integer> p_add_amount = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'add_amount'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__points_per_curve

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

        Field Documentation

        Blender Python API

        Number of control points in a newly added curve

        Blender Source Code

        Number of control points in new curves added by the add brush.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__points_per_curve);
         CPointer<Integer> p_points_per_curve = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'points_per_curve'
        • 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

        eBrushCurvesSculptFlag.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__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__minimum_length

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

        Field Documentation

        Blender Python API

        Avoid shrinking curves shorter than this length

        Blender Source Code

        When shrinking curves, they shouldn't become shorter than this length.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__minimum_length);
         CPointer<Float> p_minimum_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'minimum_length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curve_length

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

        Field Documentation

        Blender Python API

        Length of newly added curves when it is not interpolated from other curves

        Blender Source Code

        Length of newly added curves when it is not interpolated from other curves.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__curve_length);
         CPointer<Float> p_curve_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curve_length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__minimum_distance

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

        Field Documentation

        Blender Python API

        Goal distance between curve roots for the Density brush

        Blender Source Code

        Minimum distance between curve root points used by the Density brush.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__minimum_distance);
         CPointer<Float> p_minimum_distance = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'minimum_distance'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__density_add_attempts

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

        Field Documentation

        Blender Python API

        How many times the Density brush tries to add a new curve

        Blender Source Code

        How often the Density brush tries to add a new curve.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__density_add_attempts);
         CPointer<Integer> p_density_add_attempts = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'density_add_attempts'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__density_mode

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

        Field Documentation

        Blender Python API

        Determines whether the brush adds or removes curves

        Blender Source Code

        #eBrushCurvesSculptDensityMode.

        Pointer Arithmetics

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

         BrushCurvesSculptSettings brushcurvessculptsettings = ...;
         CPointer<Object> p = brushcurvessculptsettings.__dna__addressof(BrushCurvesSculptSettings.__DNA__FIELD__density_mode);
         CPointer<Byte> p_density_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'density_mode'
        • Signature: 'uchar'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

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

        Metadata

        • Field: '_pad'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
    • Constructor Detail

      • BrushCurvesSculptSettings

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

      • getAdd_amount

        public int getAdd_amount()
                          throws java.io.IOException
        Get method for struct member 'add_amount'.

        Field Documentation

        Blender Python API

        Number of curves added by the Add brush

        Blender Source Code

        Number of curves added by the add brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__add_amount
      • setAdd_amount

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

        Field Documentation

        Blender Python API

        Number of curves added by the Add brush

        Blender Source Code

        Number of curves added by the add brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__add_amount
      • getPoints_per_curve

        public int getPoints_per_curve()
                                throws java.io.IOException
        Get method for struct member 'points_per_curve'.

        Field Documentation

        Blender Python API

        Number of control points in a newly added curve

        Blender Source Code

        Number of control points in new curves added by the add brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points_per_curve
      • setPoints_per_curve

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

        Field Documentation

        Blender Python API

        Number of control points in a newly added curve

        Blender Source Code

        Number of control points in new curves added by the add brush.

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

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

        Field Documentation

        Blender Source Code

        eBrushCurvesSculptFlag.

        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

        eBrushCurvesSculptFlag.

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

        public float getMinimum_length()
                                throws java.io.IOException
        Get method for struct member 'minimum_length'.

        Field Documentation

        Blender Python API

        Avoid shrinking curves shorter than this length

        Blender Source Code

        When shrinking curves, they shouldn't become shorter than this length.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minimum_length
      • setMinimum_length

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

        Field Documentation

        Blender Python API

        Avoid shrinking curves shorter than this length

        Blender Source Code

        When shrinking curves, they shouldn't become shorter than this length.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minimum_length
      • getCurve_length

        public float getCurve_length()
                              throws java.io.IOException
        Get method for struct member 'curve_length'.

        Field Documentation

        Blender Python API

        Length of newly added curves when it is not interpolated from other curves

        Blender Source Code

        Length of newly added curves when it is not interpolated from other curves.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_length
      • setCurve_length

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

        Field Documentation

        Blender Python API

        Length of newly added curves when it is not interpolated from other curves

        Blender Source Code

        Length of newly added curves when it is not interpolated from other curves.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_length
      • getMinimum_distance

        public float getMinimum_distance()
                                  throws java.io.IOException
        Get method for struct member 'minimum_distance'.

        Field Documentation

        Blender Python API

        Goal distance between curve roots for the Density brush

        Blender Source Code

        Minimum distance between curve root points used by the Density brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minimum_distance
      • setMinimum_distance

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

        Field Documentation

        Blender Python API

        Goal distance between curve roots for the Density brush

        Blender Source Code

        Minimum distance between curve root points used by the Density brush.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minimum_distance
      • getDensity_add_attempts

        public int getDensity_add_attempts()
                                    throws java.io.IOException
        Get method for struct member 'density_add_attempts'.

        Field Documentation

        Blender Python API

        How many times the Density brush tries to add a new curve

        Blender Source Code

        How often the Density brush tries to add a new curve.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_add_attempts
      • setDensity_add_attempts

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

        Field Documentation

        Blender Python API

        How many times the Density brush tries to add a new curve

        Blender Source Code

        How often the Density brush tries to add a new curve.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_add_attempts
      • getDensity_mode

        public byte getDensity_mode()
                             throws java.io.IOException
        Get method for struct member 'density_mode'.

        Field Documentation

        Blender Python API

        Determines whether the brush adds or removes curves

        Blender Source Code

        #eBrushCurvesSculptDensityMode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_mode
      • setDensity_mode

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

        Field Documentation

        Blender Python API

        Determines whether the brush adds or removes curves

        Blender Source Code

        #eBrushCurvesSculptDensityMode.

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

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

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