Class Sculpt


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

    Class Documentation

    Blender Source Code


    Sculpt Sculpt

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__paint);
         CPointer<Paint> p_paint = p.cast(new Class[]{Paint.class});
         

        Metadata

        • Field: 'paint'
        • Signature: 'Paint'
        • Actual Size (32bit/64bit): 68/88
      • __DNA__FIELD__flags

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

        Field Documentation

        Blender Source Code

        float pivot[3]; XXX not used?

        For rotating around a pivot point

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__flags);
         CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__automasking_flags

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

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__automasking_flags);
         CPointer<Integer> p_automasking_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'automasking_flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__radial_symm

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

        Field Documentation

        Blender Source Code

        char tablet_size, tablet_strength; XXX not used?

        Control tablet input

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__radial_symm);
         CPointer<CArrayFacade<Integer>> p_radial_symm = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

        • Field: 'radial_symm'
        • Signature: 'int[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__detail_size

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

        Field Documentation

        Blender Python API

        Maximum edge length for dynamic topology sculpting (in pixels)

        Blender Source Code

        Maximum edge length for dynamic topology sculpting (in pixels)

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__detail_size);
         CPointer<Float> p_detail_size = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'detail_size'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__symmetrize_direction

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

        Field Documentation

        Blender Python API

        Source and destination for symmetrize operator

        Blender Source Code

        Direction used for SCULPT_OT_symmetrize operator

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__symmetrize_direction);
         CPointer<Integer> p_symmetrize_direction = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'symmetrize_direction'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gravity_factor

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

        Field Documentation

        Blender Source Code

        gravity factor for sculpting

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__gravity_factor);
         CPointer<Float> p_gravity_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'gravity_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__constant_detail

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

        Field Documentation

        Blender Source Code

        scale for constant detail size Constant detail resolution (Blender unit / constant_detail).

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__constant_detail);
         CPointer<Float> p_constant_detail = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'constant_detail'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__detail_percent

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

        Field Documentation

        Blender Python API

        Maximum edge length for dynamic topology sculpting (in brush percenage)

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__detail_percent);
         CPointer<Float> p_detail_percent = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'detail_percent'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gravity_object

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

        Field Documentation

        Blender Python API

        Object whose Z axis defines orientation of gravity

        Pointer Arithmetics

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

         Sculpt sculpt = ...;
         CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__gravity_object);
         CPointer<CPointer<BlenderObject>> p_gravity_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

      • Sculpt

        public Sculpt​(long __address,
                      Block __block,
                      BlockTable __blockTable)
      • Sculpt

        protected Sculpt​(Sculpt that)
    • Method Detail

      • getPaint

        public Paint getPaint()
                       throws java.io.IOException
        Get method for struct member 'paint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint
      • setPaint

        public void setPaint​(Paint paint)
                      throws java.io.IOException
        Set method for struct member 'paint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paint
      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.

        Field Documentation

        Blender Source Code

        float pivot[3]; XXX not used?

        For rotating around a pivot point

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

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

        Field Documentation

        Blender Source Code

        float pivot[3]; XXX not used?

        For rotating around a pivot point

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getAutomasking_flags

        public int getAutomasking_flags()
                                 throws java.io.IOException
        Get method for struct member 'automasking_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__automasking_flags
      • setAutomasking_flags

        public void setAutomasking_flags​(int automasking_flags)
                                  throws java.io.IOException
        Set method for struct member 'automasking_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__automasking_flags
      • getRadial_symm

        public CArrayFacade<java.lang.Integer> getRadial_symm()
                                                       throws java.io.IOException
        Get method for struct member 'radial_symm'.

        Field Documentation

        Blender Source Code

        char tablet_size, tablet_strength; XXX not used?

        Control tablet input

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radial_symm
      • setRadial_symm

        public void setRadial_symm​(CArrayFacade<java.lang.Integer> radial_symm)
                            throws java.io.IOException
        Set method for struct member 'radial_symm'.

        Field Documentation

        Blender Source Code

        char tablet_size, tablet_strength; XXX not used?

        Control tablet input

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radial_symm
      • getDetail_size

        public float getDetail_size()
                             throws java.io.IOException
        Get method for struct member 'detail_size'.

        Field Documentation

        Blender Python API

        Maximum edge length for dynamic topology sculpting (in pixels)

        Blender Source Code

        Maximum edge length for dynamic topology sculpting (in pixels)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__detail_size
      • setDetail_size

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

        Field Documentation

        Blender Python API

        Maximum edge length for dynamic topology sculpting (in pixels)

        Blender Source Code

        Maximum edge length for dynamic topology sculpting (in pixels)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__detail_size
      • getSymmetrize_direction

        public int getSymmetrize_direction()
                                    throws java.io.IOException
        Get method for struct member 'symmetrize_direction'.

        Field Documentation

        Blender Python API

        Source and destination for symmetrize operator

        Blender Source Code

        Direction used for SCULPT_OT_symmetrize operator

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__symmetrize_direction
      • setSymmetrize_direction

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

        Field Documentation

        Blender Python API

        Source and destination for symmetrize operator

        Blender Source Code

        Direction used for SCULPT_OT_symmetrize operator

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__symmetrize_direction
      • getGravity_factor

        public float getGravity_factor()
                                throws java.io.IOException
        Get method for struct member 'gravity_factor'.

        Field Documentation

        Blender Source Code

        gravity factor for sculpting

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gravity_factor
      • setGravity_factor

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

        Field Documentation

        Blender Source Code

        gravity factor for sculpting

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gravity_factor
      • getConstant_detail

        public float getConstant_detail()
                                 throws java.io.IOException
        Get method for struct member 'constant_detail'.

        Field Documentation

        Blender Source Code

        scale for constant detail size Constant detail resolution (Blender unit / constant_detail).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constant_detail
      • setConstant_detail

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

        Field Documentation

        Blender Source Code

        scale for constant detail size Constant detail resolution (Blender unit / constant_detail).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constant_detail
      • getDetail_percent

        public float getDetail_percent()
                                throws java.io.IOException
        Get method for struct member 'detail_percent'.

        Field Documentation

        Blender Python API

        Maximum edge length for dynamic topology sculpting (in brush percenage)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__detail_percent
      • setDetail_percent

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

        Field Documentation

        Blender Python API

        Maximum edge length for dynamic topology sculpting (in brush percenage)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__detail_percent
      • getGravity_object

        public CPointer<BlenderObject> getGravity_object()
                                                  throws java.io.IOException
        Get method for struct member 'gravity_object'.

        Field Documentation

        Blender Python API

        Object whose Z axis defines orientation of gravity
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gravity_object
      • setGravity_object

        public void setGravity_object​(CPointer<BlenderObject> gravity_object)
                               throws java.io.IOException
        Set method for struct member 'gravity_object'.

        Field Documentation

        Blender Python API

        Object whose Z axis defines orientation of gravity
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gravity_object
      • __io__addressof

        public CPointer<Sculpt> __io__addressof()
        Instantiates a pointer on this instance.