Class CurvePaintSettings


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Type of curve to use for new strokes

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__curve_type);
         CPointer<Byte> p_curve_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'curve_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__depth_mode

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

        Field Documentation

        Blender Python API

        Method of projecting depth

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__depth_mode);
         CPointer<Byte> p_depth_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'depth_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__surface_plane

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

        Field Documentation

        Blender Python API

        Plane for projected stroke

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__surface_plane);
         CPointer<Byte> p_surface_plane = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'surface_plane'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__fit_method

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

        Field Documentation

        Blender Python API

        Curve fitting method

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__fit_method);
         CPointer<Byte> p_fit_method = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'fit_method'
        • Signature: 'char'
        • 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:

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__error_threshold

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

        Field Documentation

        Blender Python API

        Allow deviation for a smoother, less precise line

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__error_threshold);
         CPointer<Short> p_error_threshold = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'error_threshold'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__radius_min

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

        Field Documentation

        Blender Python API

        Minimum radius when the minimum pressure is applied (also the minimum when tapering)

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_min);
         CPointer<Float> p_radius_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius_min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__radius_max

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

        Field Documentation

        Blender Python API

        Radius to use when the maximum pressure is applied (or when a tablet isn't used)

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_max);
         CPointer<Float> p_radius_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius_max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__radius_taper_start

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

        Field Documentation

        Blender Python API

        Taper factor for the radius of each point along the curve

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_taper_start);
         CPointer<Float> p_radius_taper_start = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius_taper_start'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__radius_taper_end

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

        Field Documentation

        Blender Python API

        Taper factor for the radius of each point along the curve

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_taper_end);
         CPointer<Float> p_radius_taper_end = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius_taper_end'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__surface_offset

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

        Field Documentation

        Blender Python API

        Offset the stroke from the surface

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__surface_offset);
         CPointer<Float> p_surface_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'surface_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__corner_angle

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

        Field Documentation

        Blender Python API

        Angles above this are considered corners

        Pointer Arithmetics

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

         CurvePaintSettings curvepaintsettings = ...;
         CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__corner_angle);
         CPointer<Float> p_corner_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'corner_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • CurvePaintSettings

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

      • getCurve_type

        public byte getCurve_type()
                           throws java.io.IOException
        Get method for struct member 'curve_type'.

        Field Documentation

        Blender Python API

        Type of curve to use for new strokes
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_type
      • setCurve_type

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

        Field Documentation

        Blender Python API

        Type of curve to use for new strokes
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve_type
      • getFlag

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getDepth_mode

        public byte getDepth_mode()
                           throws java.io.IOException
        Get method for struct member 'depth_mode'.

        Field Documentation

        Blender Python API

        Method of projecting depth
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__depth_mode
      • setDepth_mode

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

        Field Documentation

        Blender Python API

        Method of projecting depth
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__depth_mode
      • getSurface_plane

        public byte getSurface_plane()
                              throws java.io.IOException
        Get method for struct member 'surface_plane'.

        Field Documentation

        Blender Python API

        Plane for projected stroke
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_plane
      • setSurface_plane

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

        Field Documentation

        Blender Python API

        Plane for projected stroke
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_plane
      • getFit_method

        public byte getFit_method()
                           throws java.io.IOException
        Get method for struct member 'fit_method'.

        Field Documentation

        Blender Python API

        Curve fitting method
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fit_method
      • setFit_method

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

        Field Documentation

        Blender Python API

        Curve fitting method
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fit_method
      • get_pad

        public 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​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getError_threshold

        public short getError_threshold()
                                 throws java.io.IOException
        Get method for struct member 'error_threshold'.

        Field Documentation

        Blender Python API

        Allow deviation for a smoother, less precise line
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__error_threshold
      • setError_threshold

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

        Field Documentation

        Blender Python API

        Allow deviation for a smoother, less precise line
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__error_threshold
      • getRadius_min

        public float getRadius_min()
                            throws java.io.IOException
        Get method for struct member 'radius_min'.

        Field Documentation

        Blender Python API

        Minimum radius when the minimum pressure is applied (also the minimum when tapering)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_min
      • setRadius_min

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

        Field Documentation

        Blender Python API

        Minimum radius when the minimum pressure is applied (also the minimum when tapering)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_min
      • getRadius_max

        public float getRadius_max()
                            throws java.io.IOException
        Get method for struct member 'radius_max'.

        Field Documentation

        Blender Python API

        Radius to use when the maximum pressure is applied (or when a tablet isn't used)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_max
      • setRadius_max

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

        Field Documentation

        Blender Python API

        Radius to use when the maximum pressure is applied (or when a tablet isn't used)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_max
      • getRadius_taper_start

        public float getRadius_taper_start()
                                    throws java.io.IOException
        Get method for struct member 'radius_taper_start'.

        Field Documentation

        Blender Python API

        Taper factor for the radius of each point along the curve
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_taper_start
      • setRadius_taper_start

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

        Field Documentation

        Blender Python API

        Taper factor for the radius of each point along the curve
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_taper_start
      • getRadius_taper_end

        public float getRadius_taper_end()
                                  throws java.io.IOException
        Get method for struct member 'radius_taper_end'.

        Field Documentation

        Blender Python API

        Taper factor for the radius of each point along the curve
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_taper_end
      • setRadius_taper_end

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

        Field Documentation

        Blender Python API

        Taper factor for the radius of each point along the curve
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_taper_end
      • getSurface_offset

        public float getSurface_offset()
                                throws java.io.IOException
        Get method for struct member 'surface_offset'.

        Field Documentation

        Blender Python API

        Offset the stroke from the surface
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_offset
      • setSurface_offset

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

        Field Documentation

        Blender Python API

        Offset the stroke from the surface
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_offset
      • getCorner_angle

        public float getCorner_angle()
                              throws java.io.IOException
        Get method for struct member 'corner_angle'.

        Field Documentation

        Blender Python API

        Angles above this are considered corners
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__corner_angle
      • setCorner_angle

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

        Field Documentation

        Blender Python API

        Angles above this are considered corners
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__corner_angle