Class ClothSimSettings


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

    Class Documentation

    Blender Source Code

    This struct contains all the global data required to run a simulation. At the time of this writing, this structure contains data appropriate to run a simulation as described in Deformation Constraints in a Mass-Spring Model to Describe Rigid Cloth Behavior by Xavier Provot.

    I've tried to keep similar, if not exact names for the variables as are presented in the paper. Where I've changed the concept slightly, as in stepsPerFrame compared to the time step in the paper, I've used variables with different names to minimize confusion.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        UNUSED atm.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__cache);
         CPointer<CPointer<Object>> p_cache = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        See SB.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__mingoal);
         CPointer<Float> p_mingoal = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mingoal'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__Cdis

        public static final long[] __DNA__FIELD__Cdis
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__Cdis);
         CPointer<Float> p_Cdis = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Mechanical damping of springs.

      • __DNA__FIELD__Cvi

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

        Field Documentation

        Blender Source Code

        Viscous/fluid damping.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__Cvi);
         CPointer<Float> p_Cvi = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'Cvi'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gravity

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

        Field Documentation

        Blender Source Code

        Gravity/external force vector.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__gravity);
         CPointer<CArrayFacade<Float>> p_gravity = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        This is the duration of our time step, computed..

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__dt);
         CPointer<Float> p_dt = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'dt'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mass

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

        Field Documentation

        Blender Source Code

        The mass of the entire cloth.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__mass);
         CPointer<Float> p_mass = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mass'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__structural

        public static final long[] __DNA__FIELD__structural
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__structural);
         CPointer<Float> p_structural = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Structural spring stiffness.

      • __DNA__FIELD__shear

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

        Field Documentation

        Blender Source Code

        Shear spring stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__shear);
         CPointer<Float> p_shear = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shear'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__bending

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

        Field Documentation

        Blender Source Code

        Flexion spring stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__bending);
         CPointer<Float> p_bending = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'bending'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_bend

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

        Field Documentation

        Blender Source Code

        Max bending scaling value, min is "bending".

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_bend);
         CPointer<Float> p_max_bend = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_bend'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_struct

        public static final long[] __DNA__FIELD__max_struct
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_struct);
         CPointer<Float> p_max_struct = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Max structural scaling value, min is "structural".

      • __DNA__FIELD__max_shear

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

        Field Documentation

        Blender Source Code

        Max shear scaling value.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_shear);
         CPointer<Float> p_max_shear = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_shear'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_sewing

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

        Field Documentation

        Blender Source Code

        Max sewing force.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_sewing);
         CPointer<Float> p_max_sewing = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_sewing'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__avg_spring_len

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

        Field Documentation

        Blender Source Code

        Used for normalized springs.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__avg_spring_len);
         CPointer<Float> p_avg_spring_len = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'avg_spring_len'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__timescale

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

        Field Documentation

        Blender Source Code

        Parameter how fast cloth runs.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__timescale);
         CPointer<Float> p_timescale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'timescale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__time_scale

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

        Field Documentation

        Blender Source Code

        Multiplies cloth speed.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__time_scale);
         CPointer<Float> p_time_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'time_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__maxgoal

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

        Field Documentation

        Blender Source Code

        See SB.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__maxgoal);
         CPointer<Float> p_maxgoal = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'maxgoal'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__eff_force_scale

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

        Field Documentation

        Blender Source Code

        Scaling of effector forces (see softbody_calc_forces)..

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__eff_force_scale);
         CPointer<Float> p_eff_force_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'eff_force_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__eff_wind_scale

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

        Field Documentation

        Blender Source Code

        Scaling of effector wind (see softbody_calc_forces)..

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__eff_wind_scale);
         CPointer<Float> p_eff_wind_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'eff_wind_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sim_time_old

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__sim_time_old);
         CPointer<Float> p_sim_time_old = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'sim_time_old'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__defgoal

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__defgoal);
         CPointer<Float> p_defgoal = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'defgoal'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__goalspring

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__goalspring);
         CPointer<Float> p_goalspring = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'goalspring'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__goalfrict

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__goalfrict);
         CPointer<Float> p_goalfrict = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'goalfrict'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__velocity_smooth

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

        Field Documentation

        Blender Source Code

        Smoothing of velocities for hair.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__velocity_smooth);
         CPointer<Float> p_velocity_smooth = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'velocity_smooth'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__density_target

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

        Field Documentation

        Blender Source Code

        Minimum density for hair.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__density_target);
         CPointer<Float> p_density_target = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'density_target'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__density_strength

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

        Field Documentation

        Blender Source Code

        Influence of hair density.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__density_strength);
         CPointer<Float> p_density_strength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'density_strength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__collider_friction

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

        Field Documentation

        Blender Source Code

        Friction with colliders.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__collider_friction);
         CPointer<Float> p_collider_friction = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'collider_friction'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vel_damping

        public static final long[] __DNA__FIELD__vel_damping
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vel_damping);
         CPointer<Float> p_vel_damping = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Damp the velocity to speed up getting to the resting position.

      • __DNA__FIELD__shrink_min

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

        Field Documentation

        Blender Source Code

        Min amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__shrink_min);
         CPointer<Float> p_shrink_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shrink_min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__shrink_max

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

        Field Documentation

        Blender Source Code

        Max amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__shrink_max);
         CPointer<Float> p_shrink_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shrink_max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__uniform_pressure_force

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

        Field Documentation

        Blender Source Code

        Air pressure The uniform pressure that is constanty applied to the mesh. Can be negative

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__uniform_pressure_force);
         CPointer<Float> p_uniform_pressure_force = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'uniform_pressure_force'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__target_volume

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

        Field Documentation

        Blender Source Code

        User set volume. This is the volume the mesh wants to expand to (the equilibrium volume).

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__target_volume);
         CPointer<Float> p_target_volume = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'target_volume'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pressure_factor

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

        Field Documentation

        Blender Source Code

        The scaling factor to apply to the actual pressure. pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__pressure_factor);
         CPointer<Float> p_pressure_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'pressure_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vgroup_pressure

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_pressure);
         CPointer<Short> p_vgroup_pressure = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_pressure'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad7

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD___pad7);
         CPointer<CArrayFacade<Byte>> p__pad7 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad7'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__bending_damping

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

        Field Documentation

        Blender Source Code

        XXX various hair stuff should really be separate, this struct is a horrible mess already Damping of bending springs.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__bending_damping);
         CPointer<Float> p_bending_damping = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'bending_damping'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__voxel_cell_size

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

        Field Documentation

        Blender Source Code

        Size of voxel grid cells for continuum dynamics.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__voxel_cell_size);
         CPointer<Float> p_voxel_cell_size = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'voxel_cell_size'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__stepsPerFrame

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

        Field Documentation

        Blender Source Code

        Number of time steps per frame.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__stepsPerFrame);
         CPointer<Integer> p_stepsPerFrame = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'stepsPerFrame'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flags

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

        Field Documentation

        Blender Source Code

        Flags, see CSIMSETT_FLAGS enum above.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__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__preroll

        public static final long[] __DNA__FIELD__preroll
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__preroll);
         CPointer<Integer> p_preroll = p.cast(new Class[]{Integer.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        How many frames of simulation to do before we start.

      • __DNA__FIELD__maxspringlen

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

        Field Documentation

        Blender Source Code

        In percent!; if tearing enabled, a spring will get cut.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__maxspringlen);
         CPointer<Integer> p_maxspringlen = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'maxspringlen'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__solver_type

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

        Field Documentation

        Blender Source Code

        Which solver should be used? txold.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__solver_type);
         CPointer<Short> p_solver_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'solver_type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__vgroup_bend

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling bending stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_bend);
         CPointer<Short> p_vgroup_bend = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_bend'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__vgroup_mass

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name for assigning weight..

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_mass);
         CPointer<Short> p_vgroup_mass = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_mass'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__vgroup_struct

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_struct);
         CPointer<Short> p_vgroup_struct = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_struct'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__vgroup_shrink

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

        Field Documentation

        Blender Source Code

        Vertex group for shrinking cloth.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_shrink);
         CPointer<Short> p_vgroup_shrink = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_shrink'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__shapekey_rest

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__shapekey_rest);
         CPointer<Short> p_shapekey_rest = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'shapekey_rest'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__presets

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

        Field Documentation

        Blender Source Code

        Used for presets on GUI.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__presets);
         CPointer<Short> p_presets = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'presets'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__reset

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__reset);
         CPointer<Short> p_reset = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'reset'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__effector_weights

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__effector_weights);
         CPointer<CPointer<EffectorWeights>> p_effector_weights = p.cast(new Class[]{CPointer.class, EffectorWeights.class});
         

        Metadata

        • Field: 'effector_weights'
        • Signature: 'EffectorWeights*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__bending_model

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__bending_model);
         CPointer<Short> p_bending_model = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'bending_model'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__vgroup_shear

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_shear);
         CPointer<Short> p_vgroup_shear = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_shear'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__tension

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__tension);
         CPointer<Float> p_tension = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'tension'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__compression

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__compression);
         CPointer<Float> p_compression = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'compression'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_tension

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_tension);
         CPointer<Float> p_max_tension = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_tension'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_compression

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_compression);
         CPointer<Float> p_max_compression = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_compression'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tension_damp

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

        Field Documentation

        Blender Source Code

        Mechanical damping of tension springs.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__tension_damp);
         CPointer<Float> p_tension_damp = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'tension_damp'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__compression_damp

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

        Field Documentation

        Blender Source Code

        Mechanical damping of compression springs.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__compression_damp);
         CPointer<Float> p_compression_damp = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'compression_damp'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__shear_damp

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

        Field Documentation

        Blender Source Code

        Mechanical damping of shear springs.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__shear_damp);
         CPointer<Float> p_shear_damp = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shear_damp'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__internal_spring_max_length

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

        Field Documentation

        Blender Source Code

        The maximum lenght an internal spring can have during creation.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__internal_spring_max_length);
         CPointer<Float> p_internal_spring_max_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'internal_spring_max_length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__internal_spring_max_diversion

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

        Field Documentation

        Blender Source Code

        How much the interal spring can diverge from the vertex normal during creation.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__internal_spring_max_diversion);
         CPointer<Float> p_internal_spring_max_diversion = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'internal_spring_max_diversion'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vgroup_intern

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__vgroup_intern);
         CPointer<Short> p_vgroup_intern = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'vgroup_intern'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__internal_tension

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__internal_tension);
         CPointer<Float> p_internal_tension = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'internal_tension'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__internal_compression

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__internal_compression);
         CPointer<Float> p_internal_compression = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'internal_compression'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_internal_tension

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_internal_tension);
         CPointer<Float> p_max_internal_tension = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_internal_tension'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max_internal_compression

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD__max_internal_compression);
         CPointer<Float> p_max_internal_compression = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max_internal_compression'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         ClothSimSettings clothsimsettings = ...;
         CPointer<Object> p = clothsimsettings.__dna__addressof(ClothSimSettings.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • ClothSimSettings

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

      • getCache

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

        Field Documentation

        Blender Source Code

        UNUSED atm.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache
      • setCache

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

        Field Documentation

        Blender Source Code

        UNUSED atm.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache
      • getMingoal

        public float getMingoal()
                         throws java.io.IOException
        Get method for struct member 'mingoal'.

        Field Documentation

        Blender Source Code

        See SB.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mingoal
      • setMingoal

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

        Field Documentation

        Blender Source Code

        See SB.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mingoal
      • getCdis

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

        Get method for struct member 'Cdis'.

        Field Documentation

        Blender Source Code

        Mechanical damping of springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__Cdis
      • setCdis

        public void setCdis​(float Cdis)
                     throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'Cdis'.

        Field Documentation

        Blender Source Code

        Mechanical damping of springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__Cdis
      • getCvi

        public float getCvi()
                     throws java.io.IOException
        Get method for struct member 'Cvi'.

        Field Documentation

        Blender Source Code

        Viscous/fluid damping.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__Cvi
      • setCvi

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

        Field Documentation

        Blender Source Code

        Viscous/fluid damping.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__Cvi
      • getGravity

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

        Field Documentation

        Blender Source Code

        Gravity/external force vector.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gravity
      • setGravity

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

        Field Documentation

        Blender Source Code

        Gravity/external force vector.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gravity
      • getDt

        public float getDt()
                    throws java.io.IOException
        Get method for struct member 'dt'.

        Field Documentation

        Blender Source Code

        This is the duration of our time step, computed..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dt
      • setDt

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

        Field Documentation

        Blender Source Code

        This is the duration of our time step, computed..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dt
      • getMass

        public float getMass()
                      throws java.io.IOException
        Get method for struct member 'mass'.

        Field Documentation

        Blender Source Code

        The mass of the entire cloth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mass
      • setMass

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

        Field Documentation

        Blender Source Code

        The mass of the entire cloth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mass
      • getStructural

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

        Get method for struct member 'structural'.

        Field Documentation

        Blender Source Code

        Structural spring stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__structural
      • setStructural

        public void setStructural​(float structural)
                           throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'structural'.

        Field Documentation

        Blender Source Code

        Structural spring stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__structural
      • getShear

        public float getShear()
                       throws java.io.IOException
        Get method for struct member 'shear'.

        Field Documentation

        Blender Source Code

        Shear spring stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shear
      • setShear

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

        Field Documentation

        Blender Source Code

        Shear spring stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shear
      • getBending

        public float getBending()
                         throws java.io.IOException
        Get method for struct member 'bending'.

        Field Documentation

        Blender Source Code

        Flexion spring stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bending
      • setBending

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

        Field Documentation

        Blender Source Code

        Flexion spring stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bending
      • getMax_bend

        public float getMax_bend()
                          throws java.io.IOException
        Get method for struct member 'max_bend'.

        Field Documentation

        Blender Source Code

        Max bending scaling value, min is "bending".

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_bend
      • setMax_bend

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

        Field Documentation

        Blender Source Code

        Max bending scaling value, min is "bending".

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_bend
      • getMax_struct

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

        Get method for struct member 'max_struct'.

        Field Documentation

        Blender Source Code

        Max structural scaling value, min is "structural".

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_struct
      • setMax_struct

        public void setMax_struct​(float max_struct)
                           throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'max_struct'.

        Field Documentation

        Blender Source Code

        Max structural scaling value, min is "structural".

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_struct
      • getMax_shear

        public float getMax_shear()
                           throws java.io.IOException
        Get method for struct member 'max_shear'.

        Field Documentation

        Blender Source Code

        Max shear scaling value.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_shear
      • setMax_shear

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

        Field Documentation

        Blender Source Code

        Max shear scaling value.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_shear
      • getMax_sewing

        public float getMax_sewing()
                            throws java.io.IOException
        Get method for struct member 'max_sewing'.

        Field Documentation

        Blender Source Code

        Max sewing force.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_sewing
      • setMax_sewing

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

        Field Documentation

        Blender Source Code

        Max sewing force.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_sewing
      • getAvg_spring_len

        public float getAvg_spring_len()
                                throws java.io.IOException
        Get method for struct member 'avg_spring_len'.

        Field Documentation

        Blender Source Code

        Used for normalized springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__avg_spring_len
      • setAvg_spring_len

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

        Field Documentation

        Blender Source Code

        Used for normalized springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__avg_spring_len
      • getTimescale

        public float getTimescale()
                           throws java.io.IOException
        Get method for struct member 'timescale'.

        Field Documentation

        Blender Source Code

        Parameter how fast cloth runs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__timescale
      • setTimescale

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

        Field Documentation

        Blender Source Code

        Parameter how fast cloth runs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__timescale
      • getTime_scale

        public float getTime_scale()
                            throws java.io.IOException
        Get method for struct member 'time_scale'.

        Field Documentation

        Blender Source Code

        Multiplies cloth speed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_scale
      • setTime_scale

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

        Field Documentation

        Blender Source Code

        Multiplies cloth speed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_scale
      • getMaxgoal

        public float getMaxgoal()
                         throws java.io.IOException
        Get method for struct member 'maxgoal'.

        Field Documentation

        Blender Source Code

        See SB.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxgoal
      • setMaxgoal

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

        Field Documentation

        Blender Source Code

        See SB.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxgoal
      • getEff_force_scale

        public float getEff_force_scale()
                                 throws java.io.IOException
        Get method for struct member 'eff_force_scale'.

        Field Documentation

        Blender Source Code

        Scaling of effector forces (see softbody_calc_forces)..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eff_force_scale
      • setEff_force_scale

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

        Field Documentation

        Blender Source Code

        Scaling of effector forces (see softbody_calc_forces)..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eff_force_scale
      • getEff_wind_scale

        public float getEff_wind_scale()
                                throws java.io.IOException
        Get method for struct member 'eff_wind_scale'.

        Field Documentation

        Blender Source Code

        Scaling of effector wind (see softbody_calc_forces)..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eff_wind_scale
      • setEff_wind_scale

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

        Field Documentation

        Blender Source Code

        Scaling of effector wind (see softbody_calc_forces)..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eff_wind_scale
      • getSim_time_old

        public float getSim_time_old()
                              throws java.io.IOException
        Get method for struct member 'sim_time_old'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sim_time_old
      • setSim_time_old

        public void setSim_time_old​(float sim_time_old)
                             throws java.io.IOException
        Set method for struct member 'sim_time_old'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sim_time_old
      • getDefgoal

        public float getDefgoal()
                         throws java.io.IOException
        Get method for struct member 'defgoal'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgoal
      • setDefgoal

        public void setDefgoal​(float defgoal)
                        throws java.io.IOException
        Set method for struct member 'defgoal'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgoal
      • getGoalspring

        public float getGoalspring()
                            throws java.io.IOException
        Get method for struct member 'goalspring'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__goalspring
      • setGoalspring

        public void setGoalspring​(float goalspring)
                           throws java.io.IOException
        Set method for struct member 'goalspring'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__goalspring
      • getGoalfrict

        public float getGoalfrict()
                           throws java.io.IOException
        Get method for struct member 'goalfrict'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__goalfrict
      • setGoalfrict

        public void setGoalfrict​(float goalfrict)
                          throws java.io.IOException
        Set method for struct member 'goalfrict'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__goalfrict
      • getVelocity_smooth

        public float getVelocity_smooth()
                                 throws java.io.IOException
        Get method for struct member 'velocity_smooth'.

        Field Documentation

        Blender Source Code

        Smoothing of velocities for hair.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__velocity_smooth
      • setVelocity_smooth

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

        Field Documentation

        Blender Source Code

        Smoothing of velocities for hair.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__velocity_smooth
      • getDensity_target

        public float getDensity_target()
                                throws java.io.IOException
        Get method for struct member 'density_target'.

        Field Documentation

        Blender Source Code

        Minimum density for hair.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_target
      • setDensity_target

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

        Field Documentation

        Blender Source Code

        Minimum density for hair.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_target
      • getDensity_strength

        public float getDensity_strength()
                                  throws java.io.IOException
        Get method for struct member 'density_strength'.

        Field Documentation

        Blender Source Code

        Influence of hair density.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_strength
      • setDensity_strength

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

        Field Documentation

        Blender Source Code

        Influence of hair density.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density_strength
      • getCollider_friction

        public float getCollider_friction()
                                   throws java.io.IOException
        Get method for struct member 'collider_friction'.

        Field Documentation

        Blender Source Code

        Friction with colliders.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__collider_friction
      • setCollider_friction

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

        Field Documentation

        Blender Source Code

        Friction with colliders.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__collider_friction
      • getVel_damping

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

        Get method for struct member 'vel_damping'.

        Field Documentation

        Blender Source Code

        Damp the velocity to speed up getting to the resting position.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vel_damping
      • setVel_damping

        public void setVel_damping​(float vel_damping)
                            throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'vel_damping'.

        Field Documentation

        Blender Source Code

        Damp the velocity to speed up getting to the resting position.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vel_damping
      • getShrink_min

        public float getShrink_min()
                            throws java.io.IOException
        Get method for struct member 'shrink_min'.

        Field Documentation

        Blender Source Code

        Min amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrink_min
      • setShrink_min

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

        Field Documentation

        Blender Source Code

        Min amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrink_min
      • getShrink_max

        public float getShrink_max()
                            throws java.io.IOException
        Get method for struct member 'shrink_max'.

        Field Documentation

        Blender Source Code

        Max amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrink_max
      • setShrink_max

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

        Field Documentation

        Blender Source Code

        Max amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrink_max
      • getUniform_pressure_force

        public float getUniform_pressure_force()
                                        throws java.io.IOException
        Get method for struct member 'uniform_pressure_force'.

        Field Documentation

        Blender Source Code

        Air pressure The uniform pressure that is constanty applied to the mesh. Can be negative

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uniform_pressure_force
      • setUniform_pressure_force

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

        Field Documentation

        Blender Source Code

        Air pressure The uniform pressure that is constanty applied to the mesh. Can be negative

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__uniform_pressure_force
      • getTarget_volume

        public float getTarget_volume()
                               throws java.io.IOException
        Get method for struct member 'target_volume'.

        Field Documentation

        Blender Source Code

        User set volume. This is the volume the mesh wants to expand to (the equilibrium volume).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target_volume
      • setTarget_volume

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

        Field Documentation

        Blender Source Code

        User set volume. This is the volume the mesh wants to expand to (the equilibrium volume).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target_volume
      • getPressure_factor

        public float getPressure_factor()
                                 throws java.io.IOException
        Get method for struct member 'pressure_factor'.

        Field Documentation

        Blender Source Code

        The scaling factor to apply to the actual pressure. pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pressure_factor
      • setPressure_factor

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

        Field Documentation

        Blender Source Code

        The scaling factor to apply to the actual pressure. pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pressure_factor
      • getVgroup_pressure

        public short getVgroup_pressure()
                                 throws java.io.IOException
        Get method for struct member 'vgroup_pressure'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_pressure
      • setVgroup_pressure

        public void setVgroup_pressure​(short vgroup_pressure)
                                throws java.io.IOException
        Set method for struct member 'vgroup_pressure'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_pressure
      • get_pad7

        public CArrayFacade<java.lang.Byte> get_pad7()
                                              throws java.io.IOException
        Get method for struct member '_pad7'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad7
      • set_pad7

        public void set_pad7​(CArrayFacade<java.lang.Byte> _pad7)
                      throws java.io.IOException
        Set method for struct member '_pad7'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad7
      • getBending_damping

        public float getBending_damping()
                                 throws java.io.IOException
        Get method for struct member 'bending_damping'.

        Field Documentation

        Blender Source Code

        XXX various hair stuff should really be separate, this struct is a horrible mess already Damping of bending springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bending_damping
      • setBending_damping

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

        Field Documentation

        Blender Source Code

        XXX various hair stuff should really be separate, this struct is a horrible mess already Damping of bending springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bending_damping
      • getVoxel_cell_size

        public float getVoxel_cell_size()
                                 throws java.io.IOException
        Get method for struct member 'voxel_cell_size'.

        Field Documentation

        Blender Source Code

        Size of voxel grid cells for continuum dynamics.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__voxel_cell_size
      • setVoxel_cell_size

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

        Field Documentation

        Blender Source Code

        Size of voxel grid cells for continuum dynamics.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__voxel_cell_size
      • getStepsPerFrame

        public int getStepsPerFrame()
                             throws java.io.IOException
        Get method for struct member 'stepsPerFrame'.

        Field Documentation

        Blender Source Code

        Number of time steps per frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__stepsPerFrame
      • setStepsPerFrame

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

        Field Documentation

        Blender Source Code

        Number of time steps per frame.

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

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

        Field Documentation

        Blender Source Code

        Flags, see CSIMSETT_FLAGS enum above.

        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

        Flags, see CSIMSETT_FLAGS enum above.

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

        public int getPreroll()
                       throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'preroll'.

        Field Documentation

        Blender Source Code

        How many frames of simulation to do before we start.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__preroll
      • setPreroll

        public void setPreroll​(int preroll)
                        throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'preroll'.

        Field Documentation

        Blender Source Code

        How many frames of simulation to do before we start.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__preroll
      • getMaxspringlen

        public int getMaxspringlen()
                            throws java.io.IOException
        Get method for struct member 'maxspringlen'.

        Field Documentation

        Blender Source Code

        In percent!; if tearing enabled, a spring will get cut.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxspringlen
      • setMaxspringlen

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

        Field Documentation

        Blender Source Code

        In percent!; if tearing enabled, a spring will get cut.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxspringlen
      • getSolver_type

        public short getSolver_type()
                             throws java.io.IOException
        Get method for struct member 'solver_type'.

        Field Documentation

        Blender Source Code

        Which solver should be used? txold.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__solver_type
      • setSolver_type

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

        Field Documentation

        Blender Source Code

        Which solver should be used? txold.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__solver_type
      • getVgroup_bend

        public short getVgroup_bend()
                             throws java.io.IOException
        Get method for struct member 'vgroup_bend'.

        Field Documentation

        Blender Source Code

        Vertex group for scaling bending stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_bend
      • setVgroup_bend

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling bending stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_bend
      • getVgroup_mass

        public short getVgroup_mass()
                             throws java.io.IOException
        Get method for struct member 'vgroup_mass'.

        Field Documentation

        Blender Source Code

        Optional vertexgroup name for assigning weight..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_mass
      • setVgroup_mass

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name for assigning weight..

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_mass
      • getVgroup_struct

        public short getVgroup_struct()
                               throws java.io.IOException
        Get method for struct member 'vgroup_struct'.

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_struct
      • setVgroup_struct

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_struct
      • getVgroup_shrink

        public short getVgroup_shrink()
                               throws java.io.IOException
        Get method for struct member 'vgroup_shrink'.

        Field Documentation

        Blender Source Code

        Vertex group for shrinking cloth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_shrink
      • setVgroup_shrink

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

        Field Documentation

        Blender Source Code

        Vertex group for shrinking cloth.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_shrink
      • getShapekey_rest

        public short getShapekey_rest()
                               throws java.io.IOException
        Get method for struct member 'shapekey_rest'.

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shapekey_rest
      • setShapekey_rest

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shapekey_rest
      • getPresets

        public short getPresets()
                         throws java.io.IOException
        Get method for struct member 'presets'.

        Field Documentation

        Blender Source Code

        Used for presets on GUI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__presets
      • setPresets

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

        Field Documentation

        Blender Source Code

        Used for presets on GUI.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__presets
      • getReset

        public short getReset()
                       throws java.io.IOException
        Get method for struct member 'reset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reset
      • setReset

        public void setReset​(short reset)
                      throws java.io.IOException
        Set method for struct member 'reset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reset
      • getBending_model

        public short getBending_model()
                               throws java.io.IOException
        Get method for struct member 'bending_model'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bending_model
      • setBending_model

        public void setBending_model​(short bending_model)
                              throws java.io.IOException
        Set method for struct member 'bending_model'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bending_model
      • getVgroup_shear

        public short getVgroup_shear()
                              throws java.io.IOException
        Get method for struct member 'vgroup_shear'.

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_shear
      • setVgroup_shear

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_shear
      • getTension

        public float getTension()
                         throws java.io.IOException
        Get method for struct member 'tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tension
      • setTension

        public void setTension​(float tension)
                        throws java.io.IOException
        Set method for struct member 'tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tension
      • getCompression

        public float getCompression()
                             throws java.io.IOException
        Get method for struct member 'compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__compression
      • setCompression

        public void setCompression​(float compression)
                            throws java.io.IOException
        Set method for struct member 'compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__compression
      • getMax_tension

        public float getMax_tension()
                             throws java.io.IOException
        Get method for struct member 'max_tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_tension
      • setMax_tension

        public void setMax_tension​(float max_tension)
                            throws java.io.IOException
        Set method for struct member 'max_tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_tension
      • getMax_compression

        public float getMax_compression()
                                 throws java.io.IOException
        Get method for struct member 'max_compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_compression
      • setMax_compression

        public void setMax_compression​(float max_compression)
                                throws java.io.IOException
        Set method for struct member 'max_compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_compression
      • getTension_damp

        public float getTension_damp()
                              throws java.io.IOException
        Get method for struct member 'tension_damp'.

        Field Documentation

        Blender Source Code

        Mechanical damping of tension springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tension_damp
      • setTension_damp

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

        Field Documentation

        Blender Source Code

        Mechanical damping of tension springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tension_damp
      • getCompression_damp

        public float getCompression_damp()
                                  throws java.io.IOException
        Get method for struct member 'compression_damp'.

        Field Documentation

        Blender Source Code

        Mechanical damping of compression springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__compression_damp
      • setCompression_damp

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

        Field Documentation

        Blender Source Code

        Mechanical damping of compression springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__compression_damp
      • getShear_damp

        public float getShear_damp()
                            throws java.io.IOException
        Get method for struct member 'shear_damp'.

        Field Documentation

        Blender Source Code

        Mechanical damping of shear springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shear_damp
      • setShear_damp

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

        Field Documentation

        Blender Source Code

        Mechanical damping of shear springs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shear_damp
      • getInternal_spring_max_length

        public float getInternal_spring_max_length()
                                            throws java.io.IOException
        Get method for struct member 'internal_spring_max_length'.

        Field Documentation

        Blender Source Code

        The maximum lenght an internal spring can have during creation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_spring_max_length
      • setInternal_spring_max_length

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

        Field Documentation

        Blender Source Code

        The maximum lenght an internal spring can have during creation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_spring_max_length
      • getInternal_spring_max_diversion

        public float getInternal_spring_max_diversion()
                                               throws java.io.IOException
        Get method for struct member 'internal_spring_max_diversion'.

        Field Documentation

        Blender Source Code

        How much the interal spring can diverge from the vertex normal during creation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_spring_max_diversion
      • setInternal_spring_max_diversion

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

        Field Documentation

        Blender Source Code

        How much the interal spring can diverge from the vertex normal during creation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_spring_max_diversion
      • getVgroup_intern

        public short getVgroup_intern()
                               throws java.io.IOException
        Get method for struct member 'vgroup_intern'.

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_intern
      • setVgroup_intern

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

        Field Documentation

        Blender Source Code

        Vertex group for scaling structural stiffness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_intern
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getInternal_tension

        public float getInternal_tension()
                                  throws java.io.IOException
        Get method for struct member 'internal_tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_tension
      • setInternal_tension

        public void setInternal_tension​(float internal_tension)
                                 throws java.io.IOException
        Set method for struct member 'internal_tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_tension
      • getInternal_compression

        public float getInternal_compression()
                                      throws java.io.IOException
        Get method for struct member 'internal_compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_compression
      • setInternal_compression

        public void setInternal_compression​(float internal_compression)
                                     throws java.io.IOException
        Set method for struct member 'internal_compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__internal_compression
      • getMax_internal_tension

        public float getMax_internal_tension()
                                      throws java.io.IOException
        Get method for struct member 'max_internal_tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_internal_tension
      • setMax_internal_tension

        public void setMax_internal_tension​(float max_internal_tension)
                                     throws java.io.IOException
        Set method for struct member 'max_internal_tension'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_internal_tension
      • getMax_internal_compression

        public float getMax_internal_compression()
                                          throws java.io.IOException
        Get method for struct member 'max_internal_compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_internal_compression
      • setMax_internal_compression

        public void setMax_internal_compression​(float max_internal_compression)
                                         throws java.io.IOException
        Set method for struct member 'max_internal_compression'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max_internal_compression
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0