Class ClothModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__modifier);
         CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'ModifierData'
        • Actual Size (32bit/64bit): 100/120
      • __DNA__FIELD__clothObject

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

        Field Documentation

        Blender Source Code

        The internal data structure for cloth.

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__clothObject);
         CPointer<CPointer<Object>> p_clothObject = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'clothObject'
        • Signature: 'Cloth*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__sim_parms

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

        Field Documentation

        Blender Source Code

        Definition is in DNA_cloth_types.h .

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__sim_parms);
         CPointer<CPointer<ClothSimSettings>> p_sim_parms = p.cast(new Class[]{CPointer.class, ClothSimSettings.class});
         

        Metadata

        • Field: 'sim_parms'
        • Signature: 'ClothSimSettings*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__coll_parms

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

        Field Documentation

        Blender Source Code

        Definition is in DNA_cloth_types.h .

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__coll_parms);
         CPointer<CPointer<ClothCollSettings>> p_coll_parms = p.cast(new Class[]{CPointer.class, ClothCollSettings.class});
         

        Metadata

        • Field: 'coll_parms'
        • Signature: 'ClothCollSettings*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__point_cache

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

        Field Documentation

        Blender Source Code

        PointCache can be shared with other instances of ClothModifierData . Inspect (modifier.flag & eModifierFlag_SharedCaches) to find out. Definition is in DNA_object_force_types.h .

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__point_cache);
         CPointer<CPointer<PointCache>> p_point_cache = p.cast(new Class[]{CPointer.class, PointCache.class});
         

        Metadata

        • Field: 'point_cache'
        • Signature: 'PointCache*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ptcaches

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

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__ptcaches);
         CPointer<ListBase> p_ptcaches = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'ptcaches'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__hairdata

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

        Field Documentation

        Blender Source Code

        XXX nasty hack, remove once hair can be separated from cloth modifier data

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hairdata);
         CPointer<CPointer<Object>> p_hairdata = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'hairdata'
        • Signature: 'ClothHairData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__hair_grid_min

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

        Field Documentation

        Blender Source Code

        grid geometry values of hair continuum

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_min);
         CPointer<CArrayFacade<Float>> p_hair_grid_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'hair_grid_min'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__hair_grid_max

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

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_max);
         CPointer<CArrayFacade<Float>> p_hair_grid_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'hair_grid_max'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__hair_grid_res

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

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_res);
         CPointer<CArrayFacade<Integer>> p_hair_grid_res = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__hair_grid_cellsize);
         CPointer<Float> p_hair_grid_cellsize = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'hair_grid_cellsize'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__solver_result

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

        Pointer Arithmetics

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

         ClothModifierData clothmodifierdata = ...;
         CPointer<Object> p = clothmodifierdata.__dna__addressof(ClothModifierData.__DNA__FIELD__solver_result);
         CPointer<CPointer<Object>> p_solver_result = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • ClothModifierData

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

      • getModifier

        public ModifierData getModifier()
                                 throws java.io.IOException
        Get method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • setModifier

        public void setModifier​(ModifierData modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getClothObject

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

        Field Documentation

        Blender Source Code

        The internal data structure for cloth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clothObject
      • setClothObject

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

        Field Documentation

        Blender Source Code

        The internal data structure for cloth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clothObject
      • getSim_parms

        public CPointer<ClothSimSettings> getSim_parms()
                                                throws java.io.IOException
        Get method for struct member 'sim_parms'.

        Field Documentation

        Blender Source Code

        Definition is in DNA_cloth_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sim_parms
      • setSim_parms

        public void setSim_parms​(CPointer<ClothSimSettings> sim_parms)
                          throws java.io.IOException
        Set method for struct member 'sim_parms'.

        Field Documentation

        Blender Source Code

        Definition is in DNA_cloth_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sim_parms
      • getColl_parms

        public CPointer<ClothCollSettings> getColl_parms()
                                                  throws java.io.IOException
        Get method for struct member 'coll_parms'.

        Field Documentation

        Blender Source Code

        Definition is in DNA_cloth_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__coll_parms
      • setColl_parms

        public void setColl_parms​(CPointer<ClothCollSettings> coll_parms)
                           throws java.io.IOException
        Set method for struct member 'coll_parms'.

        Field Documentation

        Blender Source Code

        Definition is in DNA_cloth_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__coll_parms
      • getPoint_cache

        public CPointer<PointCache> getPoint_cache()
                                            throws java.io.IOException
        Get method for struct member 'point_cache'.

        Field Documentation

        Blender Source Code

        PointCache can be shared with other instances of ClothModifierData . Inspect (modifier.flag & eModifierFlag_SharedCaches) to find out. Definition is in DNA_object_force_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__point_cache
      • setPoint_cache

        public void setPoint_cache​(CPointer<PointCache> point_cache)
                            throws java.io.IOException
        Set method for struct member 'point_cache'.

        Field Documentation

        Blender Source Code

        PointCache can be shared with other instances of ClothModifierData . Inspect (modifier.flag & eModifierFlag_SharedCaches) to find out. Definition is in DNA_object_force_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__point_cache
      • getPtcaches

        public ListBase getPtcaches()
                             throws java.io.IOException
        Get method for struct member 'ptcaches'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ptcaches
      • setPtcaches

        public void setPtcaches​(ListBase ptcaches)
                         throws java.io.IOException
        Set method for struct member 'ptcaches'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ptcaches
      • getHairdata

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

        Field Documentation

        Blender Source Code

        XXX nasty hack, remove once hair can be separated from cloth modifier data

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hairdata
      • setHairdata

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

        Field Documentation

        Blender Source Code

        XXX nasty hack, remove once hair can be separated from cloth modifier data

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hairdata
      • getHair_grid_min

        public CArrayFacade<java.lang.Float> getHair_grid_min()
                                                       throws java.io.IOException
        Get method for struct member 'hair_grid_min'.

        Field Documentation

        Blender Source Code

        grid geometry values of hair continuum

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_min
      • setHair_grid_min

        public void setHair_grid_min​(CArrayFacade<java.lang.Float> hair_grid_min)
                              throws java.io.IOException
        Set method for struct member 'hair_grid_min'.

        Field Documentation

        Blender Source Code

        grid geometry values of hair continuum

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_min
      • getHair_grid_max

        public CArrayFacade<java.lang.Float> getHair_grid_max()
                                                       throws java.io.IOException
        Get method for struct member 'hair_grid_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_max
      • setHair_grid_max

        public void setHair_grid_max​(CArrayFacade<java.lang.Float> hair_grid_max)
                              throws java.io.IOException
        Set method for struct member 'hair_grid_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_max
      • getHair_grid_res

        public CArrayFacade<java.lang.Integer> getHair_grid_res()
                                                         throws java.io.IOException
        Get method for struct member 'hair_grid_res'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_res
      • setHair_grid_res

        public void setHair_grid_res​(CArrayFacade<java.lang.Integer> hair_grid_res)
                              throws java.io.IOException
        Set method for struct member 'hair_grid_res'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_res
      • getHair_grid_cellsize

        public float getHair_grid_cellsize()
                                    throws java.io.IOException
        Get method for struct member 'hair_grid_cellsize'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_cellsize
      • setHair_grid_cellsize

        public void setHair_grid_cellsize​(float hair_grid_cellsize)
                                   throws java.io.IOException
        Set method for struct member 'hair_grid_cellsize'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hair_grid_cellsize
      • getSolver_result

        public CPointer<java.lang.Object> getSolver_result()
                                                    throws java.io.IOException
        Get method for struct member 'solver_result'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__solver_result
      • setSolver_result

        public void setSolver_result​(CPointer<java.lang.Object> solver_result)
                              throws java.io.IOException
        Set method for struct member 'solver_result'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__solver_result