Class GP_Sculpt_Settings


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

    Class Documentation

    Blender Source Code

    GPencil Stroke Sculpting Settings

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Runtime.

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD__paintcursor);
         CPointer<CPointer<Object>> p_paintcursor = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'paintcursor'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        eGP_Sculpt_SettingsFlag .

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__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__lock_axis

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

        Field Documentation

        Blender Source Code

        eGP_Lockaxis_Types lock drawing to one axis.

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD__lock_axis);
         CPointer<Integer> p_lock_axis = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lock_axis'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__isect_threshold

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

        Field Documentation

        Blender Source Code

        Threshold for intersections

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD__isect_threshold);
         CPointer<Float> p_isect_threshold = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'isect_threshold'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD___pad_);
         CPointer<CArrayFacade<Byte>> p__pad_ = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad_'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cur_falloff

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

        Field Documentation

        Blender Source Code

        Multiframe edit falloff effect by frame.

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD__cur_falloff);
         CPointer<CPointer<CurveMapping>> p_cur_falloff = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Curve used for primitive tools.

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD__cur_primitive);
         CPointer<CPointer<CurveMapping>> p_cur_primitive = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Guides used for paint tools

        Pointer Arithmetics

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

         GP_Sculpt_Settings gp_sculpt_settings = ...;
         CPointer<Object> p = gp_sculpt_settings.__dna__addressof(GP_Sculpt_Settings.__DNA__FIELD__guide);
         CPointer<GP_Sculpt_Guide> p_guide = p.cast(new Class[]{GP_Sculpt_Guide.class});
         

        Metadata

        • Field: 'guide'
        • Signature: 'GP_Sculpt_Guide'
        • Actual Size (32bit/64bit): 36/40
    • Constructor Detail

      • GP_Sculpt_Settings

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

      • getPaintcursor

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

        Field Documentation

        Blender Source Code

        Runtime.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paintcursor
      • setPaintcursor

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

        Field Documentation

        Blender Source Code

        Runtime.

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

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

        Field Documentation

        Blender Source Code

        eGP_Sculpt_SettingsFlag .

        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

        eGP_Sculpt_SettingsFlag .

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

        public int getLock_axis()
                         throws java.io.IOException
        Get method for struct member 'lock_axis'.

        Field Documentation

        Blender Source Code

        eGP_Lockaxis_Types lock drawing to one axis.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lock_axis
      • setLock_axis

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

        Field Documentation

        Blender Source Code

        eGP_Lockaxis_Types lock drawing to one axis.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lock_axis
      • getIsect_threshold

        public float getIsect_threshold()
                                 throws java.io.IOException
        Get method for struct member 'isect_threshold'.

        Field Documentation

        Blender Source Code

        Threshold for intersections

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__isect_threshold
      • setIsect_threshold

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

        Field Documentation

        Blender Source Code

        Threshold for intersections

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

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

        Field Documentation

        Blender Source Code

        Multiframe edit falloff effect by frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur_falloff
      • setCur_falloff

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

        Field Documentation

        Blender Source Code

        Multiframe edit falloff effect by frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur_falloff
      • getCur_primitive

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

        Field Documentation

        Blender Source Code

        Curve used for primitive tools.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur_primitive
      • setCur_primitive

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

        Field Documentation

        Blender Source Code

        Curve used for primitive tools.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur_primitive
      • getGuide

        public GP_Sculpt_Guide getGuide()
                                 throws java.io.IOException
        Get method for struct member 'guide'.

        Field Documentation

        Blender Source Code

        Guides used for paint tools

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__guide
      • setGuide

        public void setGuide​(GP_Sculpt_Guide guide)
                      throws java.io.IOException
        Set method for struct member 'guide'.

        Field Documentation

        Blender Source Code

        Guides used for paint tools

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__guide