Class ClothCollSettings


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        E.g. pointer to temp memory for collisions.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__collision_list);
         CPointer<CPointer<Object>> p_collision_list = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'collision_list'
        • Signature: 'LinkNode*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__epsilon

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

        Field Documentation

        Blender Source Code

        Min distance for collisions.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__epsilon);
         CPointer<Float> p_epsilon = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'epsilon'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__self_friction

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

        Field Documentation

        Blender Source Code

        Fiction/damping with self contact.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__self_friction);
         CPointer<Float> p_self_friction = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'self_friction'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__friction

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

        Field Documentation

        Blender Source Code

        Friction/damping applied on contact with other object.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__friction);
         CPointer<Float> p_friction = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'friction'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__damping

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

        Field Documentation

        Blender Source Code

        Collision restitution on contact with other object.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__damping);
         CPointer<Float> p_damping = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'damping'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__selfepsilon

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

        Field Documentation

        Blender Source Code

        For selfcollision.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__selfepsilon);
         CPointer<Float> p_selfepsilon = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'selfepsilon'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__repel_force

        public static final long[] __DNA__FIELD__repel_force
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__repel_force);
         CPointer<Float> p_repel_force = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'repel_force'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
        Field descriptor (offset) for struct member 'repel_force'.

        Field Documentation

        Blender Source Code

      • __DNA__FIELD__distance_repel

        public static final long[] __DNA__FIELD__distance_repel
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__distance_repel);
         CPointer<Float> p_distance_repel = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'distance_repel'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
        Field descriptor (offset) for struct member 'distance_repel'.

        Field Documentation

        Blender Source Code

      • __DNA__FIELD__flags

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

        Field Documentation

        Blender Source Code

        Collision flags defined in BKE_cloth.h.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__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__self_loop_count

        public static final long[] __DNA__FIELD__self_loop_count
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__self_loop_count);
         CPointer<Short> p_self_loop_count = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'self_loop_count'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
        Field descriptor (offset) for struct member 'self_loop_count'.

        Field Documentation

        Blender Source Code

        How many iterations for the selfcollision loop.

      • __DNA__FIELD__loop_count

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

        Field Documentation

        Blender Source Code

        How many iterations for the collision loop.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__loop_count);
         CPointer<Short> p_loop_count = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'loop_count'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__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__group

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

        Field Documentation

        Blender Source Code

        Only use colliders from this group of objects.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__group);
         CPointer<CPointer<Collection>> p_group = p.cast(new Class[]{CPointer.class, Collection.class});
         

        Metadata

        • Field: 'group'
        • Signature: 'Collection*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__vgroup_selfcol

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

        Field Documentation

        Blender Source Code

        Vgroup to paint which vertices are used for self collisions.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__vgroup_selfcol);
         CPointer<Short> p_vgroup_selfcol = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_selfcol'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad2

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

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__clamp

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

        Field Documentation

        Blender Source Code

        Impulse clamp for object collisions.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__clamp);
         CPointer<Float> p_clamp = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'clamp'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__self_clamp

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

        Field Documentation

        Blender Source Code

        Impulse clamp for self collisions.

        Pointer Arithmetics

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

         ClothCollSettings clothcollsettings = ...;
         CPointer<Object> p = clothcollsettings.__dna__addressof(ClothCollSettings.__DNA__FIELD__self_clamp);
         CPointer<Float> p_self_clamp = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • ClothCollSettings

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

      • getCollision_list

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

        Field Documentation

        Blender Source Code

        E.g. pointer to temp memory for collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__collision_list
      • setCollision_list

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

        Field Documentation

        Blender Source Code

        E.g. pointer to temp memory for collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__collision_list
      • getEpsilon

        public float getEpsilon()
                         throws java.io.IOException
        Get method for struct member 'epsilon'.

        Field Documentation

        Blender Source Code

        Min distance for collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__epsilon
      • setEpsilon

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

        Field Documentation

        Blender Source Code

        Min distance for collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__epsilon
      • getSelf_friction

        public float getSelf_friction()
                               throws java.io.IOException
        Get method for struct member 'self_friction'.

        Field Documentation

        Blender Source Code

        Fiction/damping with self contact.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__self_friction
      • setSelf_friction

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

        Field Documentation

        Blender Source Code

        Fiction/damping with self contact.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__self_friction
      • getFriction

        public float getFriction()
                          throws java.io.IOException
        Get method for struct member 'friction'.

        Field Documentation

        Blender Source Code

        Friction/damping applied on contact with other object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__friction
      • setFriction

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

        Field Documentation

        Blender Source Code

        Friction/damping applied on contact with other object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__friction
      • getDamping

        public float getDamping()
                         throws java.io.IOException
        Get method for struct member 'damping'.

        Field Documentation

        Blender Source Code

        Collision restitution on contact with other object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__damping
      • setDamping

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

        Field Documentation

        Blender Source Code

        Collision restitution on contact with other object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__damping
      • getSelfepsilon

        public float getSelfepsilon()
                             throws java.io.IOException
        Get method for struct member 'selfepsilon'.

        Field Documentation

        Blender Source Code

        For selfcollision.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__selfepsilon
      • setSelfepsilon

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

        Field Documentation

        Blender Source Code

        For selfcollision.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__selfepsilon
      • getRepel_force

        public float getRepel_force()
                             throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'repel_force'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__repel_force
      • setRepel_force

        public void setRepel_force​(float repel_force)
                            throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'repel_force'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__repel_force
      • getDistance_repel

        public float getDistance_repel()
                                throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'distance_repel'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance_repel
      • setDistance_repel

        public void setDistance_repel​(float distance_repel)
                               throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'distance_repel'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance_repel
      • getFlags

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

        Field Documentation

        Blender Source Code

        Collision flags defined in BKE_cloth.h.

        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

        Collision flags defined in BKE_cloth.h.

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

        public short getSelf_loop_count()
                                 throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'self_loop_count'.

        Field Documentation

        Blender Source Code

        How many iterations for the selfcollision loop.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__self_loop_count
      • setSelf_loop_count

        public void setSelf_loop_count​(short self_loop_count)
                                throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'self_loop_count'.

        Field Documentation

        Blender Source Code

        How many iterations for the selfcollision loop.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__self_loop_count
      • getLoop_count

        public short getLoop_count()
                            throws java.io.IOException
        Get method for struct member 'loop_count'.

        Field Documentation

        Blender Source Code

        How many iterations for the collision loop.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loop_count
      • setLoop_count

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

        Field Documentation

        Blender Source Code

        How many iterations for the collision loop.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loop_count
      • 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
      • getGroup

        public CPointer<Collection> getGroup()
                                      throws java.io.IOException
        Get method for struct member 'group'.

        Field Documentation

        Blender Source Code

        Only use colliders from this group of objects.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__group
      • setGroup

        public void setGroup​(CPointer<Collection> group)
                      throws java.io.IOException
        Set method for struct member 'group'.

        Field Documentation

        Blender Source Code

        Only use colliders from this group of objects.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__group
      • getVgroup_selfcol

        public short getVgroup_selfcol()
                                throws java.io.IOException
        Get method for struct member 'vgroup_selfcol'.

        Field Documentation

        Blender Source Code

        Vgroup to paint which vertices are used for self collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_selfcol
      • setVgroup_selfcol

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

        Field Documentation

        Blender Source Code

        Vgroup to paint which vertices are used for self collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_selfcol
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getClamp

        public float getClamp()
                       throws java.io.IOException
        Get method for struct member 'clamp'.

        Field Documentation

        Blender Source Code

        Impulse clamp for object collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp
      • setClamp

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

        Field Documentation

        Blender Source Code

        Impulse clamp for object collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp
      • getSelf_clamp

        public float getSelf_clamp()
                            throws java.io.IOException
        Get method for struct member 'self_clamp'.

        Field Documentation

        Blender Source Code

        Impulse clamp for self collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__self_clamp
      • setSelf_clamp

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

        Field Documentation

        Blender Source Code

        Impulse clamp for self collisions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__self_clamp