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