public class ClothSimSettings extends CFacade
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.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.
|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD___pad7
Field descriptor (offset) for struct member '_pad7'.
|
static long[] |
__DNA__FIELD__avg_spring_len
Field descriptor (offset) for struct member 'avg_spring_len'.
|
static long[] |
__DNA__FIELD__bending
Field descriptor (offset) for struct member 'bending'.
|
static long[] |
__DNA__FIELD__bending_damping
Field descriptor (offset) for struct member 'bending_damping'.
|
static long[] |
__DNA__FIELD__bending_model
Field descriptor (offset) for struct member 'bending_model'.
|
static long[] |
__DNA__FIELD__cache
Field descriptor (offset) for struct member 'cache'.
|
static long[] |
__DNA__FIELD__Cdis
Deprecated.
Deprecated
Pointer ArithmeticsThis 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
|
static long[] |
__DNA__FIELD__collider_friction
Field descriptor (offset) for struct member 'collider_friction'.
|
static long[] |
__DNA__FIELD__compression
Field descriptor (offset) for struct member 'compression'.
|
static long[] |
__DNA__FIELD__compression_damp
Field descriptor (offset) for struct member 'compression_damp'.
|
static long[] |
__DNA__FIELD__Cvi
Field descriptor (offset) for struct member 'Cvi'.
|
static long[] |
__DNA__FIELD__defgoal
Field descriptor (offset) for struct member 'defgoal'.
|
static long[] |
__DNA__FIELD__density_strength
Field descriptor (offset) for struct member 'density_strength'.
|
static long[] |
__DNA__FIELD__density_target
Field descriptor (offset) for struct member 'density_target'.
|
static long[] |
__DNA__FIELD__dt
Field descriptor (offset) for struct member 'dt'.
|
static long[] |
__DNA__FIELD__eff_force_scale
Field descriptor (offset) for struct member 'eff_force_scale'.
|
static long[] |
__DNA__FIELD__eff_wind_scale
Field descriptor (offset) for struct member 'eff_wind_scale'.
|
static long[] |
__DNA__FIELD__effector_weights
Field descriptor (offset) for struct member 'effector_weights'.
|
static long[] |
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.
|
static long[] |
__DNA__FIELD__goalfrict
Field descriptor (offset) for struct member 'goalfrict'.
|
static long[] |
__DNA__FIELD__goalspring
Field descriptor (offset) for struct member 'goalspring'.
|
static long[] |
__DNA__FIELD__gravity
Field descriptor (offset) for struct member 'gravity'.
|
static long[] |
__DNA__FIELD__internal_compression
Field descriptor (offset) for struct member 'internal_compression'.
|
static long[] |
__DNA__FIELD__internal_spring_max_diversion
Field descriptor (offset) for struct member 'internal_spring_max_diversion'.
|
static long[] |
__DNA__FIELD__internal_spring_max_length
Field descriptor (offset) for struct member 'internal_spring_max_length'.
|
static long[] |
__DNA__FIELD__internal_tension
Field descriptor (offset) for struct member 'internal_tension'.
|
static long[] |
__DNA__FIELD__mass
Field descriptor (offset) for struct member 'mass'.
|
static long[] |
__DNA__FIELD__max_bend
Field descriptor (offset) for struct member 'max_bend'.
|
static long[] |
__DNA__FIELD__max_compression
Field descriptor (offset) for struct member 'max_compression'.
|
static long[] |
__DNA__FIELD__max_internal_compression
Field descriptor (offset) for struct member 'max_internal_compression'.
|
static long[] |
__DNA__FIELD__max_internal_tension
Field descriptor (offset) for struct member 'max_internal_tension'.
|
static long[] |
__DNA__FIELD__max_sewing
Field descriptor (offset) for struct member 'max_sewing'.
|
static long[] |
__DNA__FIELD__max_shear
Field descriptor (offset) for struct member 'max_shear'.
|
static long[] |
__DNA__FIELD__max_struct
Deprecated.
Deprecated
Pointer ArithmeticsThis 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
|
static long[] |
__DNA__FIELD__max_tension
Field descriptor (offset) for struct member 'max_tension'.
|
static long[] |
__DNA__FIELD__maxgoal
Field descriptor (offset) for struct member 'maxgoal'.
|
static long[] |
__DNA__FIELD__maxspringlen
Field descriptor (offset) for struct member 'maxspringlen'.
|
static long[] |
__DNA__FIELD__mingoal
Field descriptor (offset) for struct member 'mingoal'.
|
static long[] |
__DNA__FIELD__preroll
Deprecated.
Deprecated
Pointer ArithmeticsThis 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
|
static long[] |
__DNA__FIELD__presets
Field descriptor (offset) for struct member 'presets'.
|
static long[] |
__DNA__FIELD__pressure_factor
Field descriptor (offset) for struct member 'pressure_factor'.
|
static long[] |
__DNA__FIELD__reset
Field descriptor (offset) for struct member 'reset'.
|
static long[] |
__DNA__FIELD__shapekey_rest
Field descriptor (offset) for struct member 'shapekey_rest'.
|
static long[] |
__DNA__FIELD__shear
Field descriptor (offset) for struct member 'shear'.
|
static long[] |
__DNA__FIELD__shear_damp
Field descriptor (offset) for struct member 'shear_damp'.
|
static long[] |
__DNA__FIELD__shrink_max
Field descriptor (offset) for struct member 'shrink_max'.
|
static long[] |
__DNA__FIELD__shrink_min
Field descriptor (offset) for struct member 'shrink_min'.
|
static long[] |
__DNA__FIELD__sim_time_old
Field descriptor (offset) for struct member 'sim_time_old'.
|
static long[] |
__DNA__FIELD__solver_type
Field descriptor (offset) for struct member 'solver_type'.
|
static long[] |
__DNA__FIELD__stepsPerFrame
Field descriptor (offset) for struct member 'stepsPerFrame'.
|
static long[] |
__DNA__FIELD__structural
Deprecated.
Deprecated
Pointer ArithmeticsThis 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
|
static long[] |
__DNA__FIELD__target_volume
Field descriptor (offset) for struct member 'target_volume'.
|
static long[] |
__DNA__FIELD__tension
Field descriptor (offset) for struct member 'tension'.
|
static long[] |
__DNA__FIELD__tension_damp
Field descriptor (offset) for struct member 'tension_damp'.
|
static long[] |
__DNA__FIELD__time_scale
Field descriptor (offset) for struct member 'time_scale'.
|
static long[] |
__DNA__FIELD__timescale
Field descriptor (offset) for struct member 'timescale'.
|
static long[] |
__DNA__FIELD__uniform_pressure_force
Field descriptor (offset) for struct member 'uniform_pressure_force'.
|
static long[] |
__DNA__FIELD__vel_damping
Deprecated.
Deprecated
Pointer ArithmeticsThis 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
|
static long[] |
__DNA__FIELD__velocity_smooth
Field descriptor (offset) for struct member 'velocity_smooth'.
|
static long[] |
__DNA__FIELD__vgroup_bend
Field descriptor (offset) for struct member 'vgroup_bend'.
|
static long[] |
__DNA__FIELD__vgroup_intern
Field descriptor (offset) for struct member 'vgroup_intern'.
|
static long[] |
__DNA__FIELD__vgroup_mass
Field descriptor (offset) for struct member 'vgroup_mass'.
|
static long[] |
__DNA__FIELD__vgroup_pressure
Field descriptor (offset) for struct member 'vgroup_pressure'.
|
static long[] |
__DNA__FIELD__vgroup_shear
Field descriptor (offset) for struct member 'vgroup_shear'.
|
static long[] |
__DNA__FIELD__vgroup_shrink
Field descriptor (offset) for struct member 'vgroup_shrink'.
|
static long[] |
__DNA__FIELD__vgroup_struct
Field descriptor (offset) for struct member 'vgroup_struct'.
|
static long[] |
__DNA__FIELD__voxel_cell_size
Field descriptor (offset) for struct member 'voxel_cell_size'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ClothSimSettings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ClothSimSettings(ClothSimSettings that) |
|
ClothSimSettings(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ClothSimSettings> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad0()
Get method for struct member '_pad0'.
|
CArrayFacade<java.lang.Byte> |
get_pad1()
Get method for struct member '_pad1'.
|
CArrayFacade<java.lang.Byte> |
get_pad7()
Get method for struct member '_pad7'.
|
float |
getAvg_spring_len()
Get method for struct member 'avg_spring_len'.
|
float |
getBending_damping()
Get method for struct member 'bending_damping'.
|
short |
getBending_model()
Get method for struct member 'bending_model'.
|
float |
getBending()
Get method for struct member 'bending'.
|
CPointer<java.lang.Object> |
getCache()
Get method for struct member 'cache'.
|
float |
getCdis()
Deprecated.
Deprecated
|
float |
getCollider_friction()
Get method for struct member 'collider_friction'.
|
float |
getCompression_damp()
Get method for struct member 'compression_damp'.
|
float |
getCompression()
Get method for struct member 'compression'.
|
float |
getCvi()
Get method for struct member 'Cvi'.
|
float |
getDefgoal()
Get method for struct member 'defgoal'.
|
float |
getDensity_strength()
Get method for struct member 'density_strength'.
|
float |
getDensity_target()
Get method for struct member 'density_target'.
|
float |
getDt()
Get method for struct member 'dt'.
|
float |
getEff_force_scale()
Get method for struct member 'eff_force_scale'.
|
float |
getEff_wind_scale()
Get method for struct member 'eff_wind_scale'.
|
CPointer<EffectorWeights> |
getEffector_weights()
Get method for struct member 'effector_weights'.
|
int |
getFlags()
Get method for struct member 'flags'.
|
float |
getGoalfrict()
Get method for struct member 'goalfrict'.
|
float |
getGoalspring()
Get method for struct member 'goalspring'.
|
CArrayFacade<java.lang.Float> |
getGravity()
Get method for struct member 'gravity'.
|
float |
getInternal_compression()
Get method for struct member 'internal_compression'.
|
float |
getInternal_spring_max_diversion()
Get method for struct member 'internal_spring_max_diversion'.
|
float |
getInternal_spring_max_length()
Get method for struct member 'internal_spring_max_length'.
|
float |
getInternal_tension()
Get method for struct member 'internal_tension'.
|
float |
getMass()
Get method for struct member 'mass'.
|
float |
getMax_bend()
Get method for struct member 'max_bend'.
|
float |
getMax_compression()
Get method for struct member 'max_compression'.
|
float |
getMax_internal_compression()
Get method for struct member 'max_internal_compression'.
|
float |
getMax_internal_tension()
Get method for struct member 'max_internal_tension'.
|
float |
getMax_sewing()
Get method for struct member 'max_sewing'.
|
float |
getMax_shear()
Get method for struct member 'max_shear'.
|
float |
getMax_struct()
Deprecated.
Deprecated
|
float |
getMax_tension()
Get method for struct member 'max_tension'.
|
float |
getMaxgoal()
Get method for struct member 'maxgoal'.
|
int |
getMaxspringlen()
Get method for struct member 'maxspringlen'.
|
float |
getMingoal()
Get method for struct member 'mingoal'.
|
int |
getPreroll()
Deprecated.
Deprecated
|
short |
getPresets()
Get method for struct member 'presets'.
|
float |
getPressure_factor()
Get method for struct member 'pressure_factor'.
|
short |
getReset()
Get method for struct member 'reset'.
|
short |
getShapekey_rest()
Get method for struct member 'shapekey_rest'.
|
float |
getShear_damp()
Get method for struct member 'shear_damp'.
|
float |
getShear()
Get method for struct member 'shear'.
|
float |
getShrink_max()
Get method for struct member 'shrink_max'.
|
float |
getShrink_min()
Get method for struct member 'shrink_min'.
|
float |
getSim_time_old()
Get method for struct member 'sim_time_old'.
|
short |
getSolver_type()
Get method for struct member 'solver_type'.
|
int |
getStepsPerFrame()
Get method for struct member 'stepsPerFrame'.
|
float |
getStructural()
Deprecated.
Deprecated
|
float |
getTarget_volume()
Get method for struct member 'target_volume'.
|
float |
getTension_damp()
Get method for struct member 'tension_damp'.
|
float |
getTension()
Get method for struct member 'tension'.
|
float |
getTime_scale()
Get method for struct member 'time_scale'.
|
float |
getTimescale()
Get method for struct member 'timescale'.
|
float |
getUniform_pressure_force()
Get method for struct member 'uniform_pressure_force'.
|
float |
getVel_damping()
Deprecated.
Deprecated
|
float |
getVelocity_smooth()
Get method for struct member 'velocity_smooth'.
|
short |
getVgroup_bend()
Get method for struct member 'vgroup_bend'.
|
short |
getVgroup_intern()
Get method for struct member 'vgroup_intern'.
|
short |
getVgroup_mass()
Get method for struct member 'vgroup_mass'.
|
short |
getVgroup_pressure()
Get method for struct member 'vgroup_pressure'.
|
short |
getVgroup_shear()
Get method for struct member 'vgroup_shear'.
|
short |
getVgroup_shrink()
Get method for struct member 'vgroup_shrink'.
|
short |
getVgroup_struct()
Get method for struct member 'vgroup_struct'.
|
float |
getVoxel_cell_size()
Get method for struct member 'voxel_cell_size'.
|
void |
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.
|
void |
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.
|
void |
set_pad7(CArrayFacade<java.lang.Byte> _pad7)
Set method for struct member '_pad7'.
|
void |
setAvg_spring_len(float avg_spring_len)
Set method for struct member 'avg_spring_len'.
|
void |
setBending_damping(float bending_damping)
Set method for struct member 'bending_damping'.
|
void |
setBending_model(short bending_model)
Set method for struct member 'bending_model'.
|
void |
setBending(float bending)
Set method for struct member 'bending'.
|
void |
setCache(CPointer<java.lang.Object> cache)
Set method for struct member 'cache'.
|
void |
setCdis(float Cdis)
Deprecated.
Deprecated
|
void |
setCollider_friction(float collider_friction)
Set method for struct member 'collider_friction'.
|
void |
setCompression_damp(float compression_damp)
Set method for struct member 'compression_damp'.
|
void |
setCompression(float compression)
Set method for struct member 'compression'.
|
void |
setCvi(float Cvi)
Set method for struct member 'Cvi'.
|
void |
setDefgoal(float defgoal)
Set method for struct member 'defgoal'.
|
void |
setDensity_strength(float density_strength)
Set method for struct member 'density_strength'.
|
void |
setDensity_target(float density_target)
Set method for struct member 'density_target'.
|
void |
setDt(float dt)
Set method for struct member 'dt'.
|
void |
setEff_force_scale(float eff_force_scale)
Set method for struct member 'eff_force_scale'.
|
void |
setEff_wind_scale(float eff_wind_scale)
Set method for struct member 'eff_wind_scale'.
|
void |
setEffector_weights(CPointer<EffectorWeights> effector_weights)
Set method for struct member 'effector_weights'.
|
void |
setFlags(int flags)
Set method for struct member 'flags'.
|
void |
setGoalfrict(float goalfrict)
Set method for struct member 'goalfrict'.
|
void |
setGoalspring(float goalspring)
Set method for struct member 'goalspring'.
|
void |
setGravity(CArrayFacade<java.lang.Float> gravity)
Set method for struct member 'gravity'.
|
void |
setInternal_compression(float internal_compression)
Set method for struct member 'internal_compression'.
|
void |
setInternal_spring_max_diversion(float internal_spring_max_diversion)
Set method for struct member 'internal_spring_max_diversion'.
|
void |
setInternal_spring_max_length(float internal_spring_max_length)
Set method for struct member 'internal_spring_max_length'.
|
void |
setInternal_tension(float internal_tension)
Set method for struct member 'internal_tension'.
|
void |
setMass(float mass)
Set method for struct member 'mass'.
|
void |
setMax_bend(float max_bend)
Set method for struct member 'max_bend'.
|
void |
setMax_compression(float max_compression)
Set method for struct member 'max_compression'.
|
void |
setMax_internal_compression(float max_internal_compression)
Set method for struct member 'max_internal_compression'.
|
void |
setMax_internal_tension(float max_internal_tension)
Set method for struct member 'max_internal_tension'.
|
void |
setMax_sewing(float max_sewing)
Set method for struct member 'max_sewing'.
|
void |
setMax_shear(float max_shear)
Set method for struct member 'max_shear'.
|
void |
setMax_struct(float max_struct)
Deprecated.
Deprecated
|
void |
setMax_tension(float max_tension)
Set method for struct member 'max_tension'.
|
void |
setMaxgoal(float maxgoal)
Set method for struct member 'maxgoal'.
|
void |
setMaxspringlen(int maxspringlen)
Set method for struct member 'maxspringlen'.
|
void |
setMingoal(float mingoal)
Set method for struct member 'mingoal'.
|
void |
setPreroll(int preroll)
Deprecated.
Deprecated
|
void |
setPresets(short presets)
Set method for struct member 'presets'.
|
void |
setPressure_factor(float pressure_factor)
Set method for struct member 'pressure_factor'.
|
void |
setReset(short reset)
Set method for struct member 'reset'.
|
void |
setShapekey_rest(short shapekey_rest)
Set method for struct member 'shapekey_rest'.
|
void |
setShear_damp(float shear_damp)
Set method for struct member 'shear_damp'.
|
void |
setShear(float shear)
Set method for struct member 'shear'.
|
void |
setShrink_max(float shrink_max)
Set method for struct member 'shrink_max'.
|
void |
setShrink_min(float shrink_min)
Set method for struct member 'shrink_min'.
|
void |
setSim_time_old(float sim_time_old)
Set method for struct member 'sim_time_old'.
|
void |
setSolver_type(short solver_type)
Set method for struct member 'solver_type'.
|
void |
setStepsPerFrame(int stepsPerFrame)
Set method for struct member 'stepsPerFrame'.
|
void |
setStructural(float structural)
Deprecated.
Deprecated
|
void |
setTarget_volume(float target_volume)
Set method for struct member 'target_volume'.
|
void |
setTension_damp(float tension_damp)
Set method for struct member 'tension_damp'.
|
void |
setTension(float tension)
Set method for struct member 'tension'.
|
void |
setTime_scale(float time_scale)
Set method for struct member 'time_scale'.
|
void |
setTimescale(float timescale)
Set method for struct member 'timescale'.
|
void |
setUniform_pressure_force(float uniform_pressure_force)
Set method for struct member 'uniform_pressure_force'.
|
void |
setVel_damping(float vel_damping)
Deprecated.
Deprecated
|
void |
setVelocity_smooth(float velocity_smooth)
Set method for struct member 'velocity_smooth'.
|
void |
setVgroup_bend(short vgroup_bend)
Set method for struct member 'vgroup_bend'.
|
void |
setVgroup_intern(short vgroup_intern)
Set method for struct member 'vgroup_intern'.
|
void |
setVgroup_mass(short vgroup_mass)
Set method for struct member 'vgroup_mass'.
|
void |
setVgroup_pressure(short vgroup_pressure)
Set method for struct member 'vgroup_pressure'.
|
void |
setVgroup_shear(short vgroup_shear)
Set method for struct member 'vgroup_shear'.
|
void |
setVgroup_shrink(short vgroup_shrink)
Set method for struct member 'vgroup_shrink'.
|
void |
setVgroup_struct(short vgroup_struct)
Set method for struct member 'vgroup_struct'.
|
void |
setVoxel_cell_size(float voxel_cell_size)
Set method for struct member 'voxel_cell_size'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for ClothSimSettings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__cache
UNUSED atm.
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});
public static final long[] __DNA__FIELD__mingoal
See SB.
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});
public static final long[] __DNA__FIELD__Cdis
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});
Mechanical damping of springs.
public static final long[] __DNA__FIELD__Cvi
Viscous/fluid damping.
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});
public static final long[] __DNA__FIELD__gravity
Gravity/external force vector.
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});
public static final long[] __DNA__FIELD__dt
This is the duration of our time step, computed..
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});
public static final long[] __DNA__FIELD__mass
The mass of the entire cloth.
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});
public static final long[] __DNA__FIELD__structural
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});
Structural spring stiffness.
public static final long[] __DNA__FIELD__shear
Shear spring stiffness.
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});
public static final long[] __DNA__FIELD__bending
Flexion spring stiffness.
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});
public static final long[] __DNA__FIELD__max_bend
Max bending scaling value, min is "bending".
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});
public static final long[] __DNA__FIELD__max_struct
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});
Max structural scaling value, min is "structural".
public static final long[] __DNA__FIELD__max_shear
Max shear scaling value.
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});
public static final long[] __DNA__FIELD__max_sewing
Max sewing force.
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});
public static final long[] __DNA__FIELD__avg_spring_len
Used for normalized springs.
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});
public static final long[] __DNA__FIELD__timescale
Parameter how fast cloth runs.
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});
public static final long[] __DNA__FIELD__time_scale
Multiplies cloth speed.
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});
public static final long[] __DNA__FIELD__maxgoal
See SB.
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});
public static final long[] __DNA__FIELD__eff_force_scale
Scaling of effector forces (see softbody_calc_forces)..
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});
public static final long[] __DNA__FIELD__eff_wind_scale
Scaling of effector wind (see softbody_calc_forces)..
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});
public static final long[] __DNA__FIELD__sim_time_old
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});
public static final long[] __DNA__FIELD__defgoal
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});
public static final long[] __DNA__FIELD__goalspring
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});
public static final long[] __DNA__FIELD__goalfrict
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});
public static final long[] __DNA__FIELD__velocity_smooth
Smoothing of velocities for hair.
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});
public static final long[] __DNA__FIELD__density_target
Minimum density for hair.
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});
public static final long[] __DNA__FIELD__density_strength
Influence of hair density.
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});
public static final long[] __DNA__FIELD__collider_friction
Friction with colliders.
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});
public static final long[] __DNA__FIELD__vel_damping
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});
Damp the velocity to speed up getting to the resting position.
public static final long[] __DNA__FIELD__shrink_min
Min amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).
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});
public static final long[] __DNA__FIELD__shrink_max
Max amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).
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});
public static final long[] __DNA__FIELD__uniform_pressure_force
Air pressure The uniform pressure that is constanty applied to the mesh. Can be negative
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});
public static final long[] __DNA__FIELD__target_volume
User set volume. This is the volume the mesh wants to expand to (the equilibrium volume).
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});
public static final long[] __DNA__FIELD__pressure_factor
The scaling factor to apply to the actual pressure. pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor
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});
public static final long[] __DNA__FIELD__vgroup_pressure
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});
public static final long[] __DNA__FIELD___pad7
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});
public static final long[] __DNA__FIELD__bending_damping
XXX various hair stuff should really be separate, this struct is a horrible mess alreadyDamping of bending springs.
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});
public static final long[] __DNA__FIELD__voxel_cell_size
Size of voxel grid cells for continuum dynamics.
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});
public static final long[] __DNA__FIELD__stepsPerFrame
Number of time steps per frame.
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});
public static final long[] __DNA__FIELD__flags
Flags, see CSIMSETT_FLAGS enum above.
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});
public static final long[] __DNA__FIELD__preroll
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});
How many frames of simulation to do before we start.
public static final long[] __DNA__FIELD__maxspringlen
In percent!; if tearing enabled, a spring will get cut.
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});
public static final long[] __DNA__FIELD__solver_type
Which solver should be used? txold.
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});
public static final long[] __DNA__FIELD__vgroup_bend
Vertex group for scaling bending stiffness.
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});
public static final long[] __DNA__FIELD__vgroup_mass
Optional vertexgroup name for assigning weight..
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});
public static final long[] __DNA__FIELD__vgroup_struct
Vertex group for scaling structural stiffness.
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});
public static final long[] __DNA__FIELD__vgroup_shrink
Vertex group for shrinking cloth.
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});
public static final long[] __DNA__FIELD__shapekey_rest
Vertex group for scaling structural stiffness.
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});
public static final long[] __DNA__FIELD__presets
Used for presets on GUI.
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});
public static final long[] __DNA__FIELD__reset
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});
public static final long[] __DNA__FIELD__effector_weights
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});
public static final long[] __DNA__FIELD__bending_model
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});
public static final long[] __DNA__FIELD__vgroup_shear
Vertex group for scaling structural stiffness.
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});
public static final long[] __DNA__FIELD__tension
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});
public static final long[] __DNA__FIELD__compression
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});
public static final long[] __DNA__FIELD__max_tension
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});
public static final long[] __DNA__FIELD__max_compression
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});
public static final long[] __DNA__FIELD__tension_damp
Mechanical damping of tension springs.
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});
public static final long[] __DNA__FIELD__compression_damp
Mechanical damping of compression springs.
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});
public static final long[] __DNA__FIELD__shear_damp
Mechanical damping of shear springs.
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});
public static final long[] __DNA__FIELD__internal_spring_max_length
The maximum lenght an internal spring can have during creation.
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});
public static final long[] __DNA__FIELD__internal_spring_max_diversion
How much the interal spring can diverge from the vertex normal during creation.
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});
public static final long[] __DNA__FIELD__vgroup_intern
Vertex group for scaling structural stiffness.
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});
public static final long[] __DNA__FIELD___pad1
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});
public static final long[] __DNA__FIELD__internal_tension
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});
public static final long[] __DNA__FIELD__internal_compression
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});
public static final long[] __DNA__FIELD__max_internal_tension
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});
public static final long[] __DNA__FIELD__max_internal_compression
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});
public static final long[] __DNA__FIELD___pad0
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});
public ClothSimSettings(long __address, Block __block, BlockTable __blockTable)
protected ClothSimSettings(ClothSimSettings that)
public CPointer<java.lang.Object> getCache() throws java.io.IOException
UNUSED atm.
java.io.IOException
__DNA__FIELD__cache
public void setCache(CPointer<java.lang.Object> cache) throws java.io.IOException
UNUSED atm.
java.io.IOException
__DNA__FIELD__cache
public float getMingoal() throws java.io.IOException
See SB.
java.io.IOException
__DNA__FIELD__mingoal
public void setMingoal(float mingoal) throws java.io.IOException
See SB.
java.io.IOException
__DNA__FIELD__mingoal
public float getCdis() throws java.io.IOException
Mechanical damping of springs.
java.io.IOException
__DNA__FIELD__Cdis
public void setCdis(float Cdis) throws java.io.IOException
Mechanical damping of springs.
java.io.IOException
__DNA__FIELD__Cdis
public float getCvi() throws java.io.IOException
Viscous/fluid damping.
java.io.IOException
__DNA__FIELD__Cvi
public void setCvi(float Cvi) throws java.io.IOException
Viscous/fluid damping.
java.io.IOException
__DNA__FIELD__Cvi
public CArrayFacade<java.lang.Float> getGravity() throws java.io.IOException
Gravity/external force vector.
java.io.IOException
__DNA__FIELD__gravity
public void setGravity(CArrayFacade<java.lang.Float> gravity) throws java.io.IOException
Gravity/external force vector.
java.io.IOException
__DNA__FIELD__gravity
public float getDt() throws java.io.IOException
This is the duration of our time step, computed..
java.io.IOException
__DNA__FIELD__dt
public void setDt(float dt) throws java.io.IOException
This is the duration of our time step, computed..
java.io.IOException
__DNA__FIELD__dt
public float getMass() throws java.io.IOException
The mass of the entire cloth.
java.io.IOException
__DNA__FIELD__mass
public void setMass(float mass) throws java.io.IOException
The mass of the entire cloth.
java.io.IOException
__DNA__FIELD__mass
public float getStructural() throws java.io.IOException
Structural spring stiffness.
java.io.IOException
__DNA__FIELD__structural
public void setStructural(float structural) throws java.io.IOException
Structural spring stiffness.
java.io.IOException
__DNA__FIELD__structural
public float getShear() throws java.io.IOException
Shear spring stiffness.
java.io.IOException
__DNA__FIELD__shear
public void setShear(float shear) throws java.io.IOException
Shear spring stiffness.
java.io.IOException
__DNA__FIELD__shear
public float getBending() throws java.io.IOException
Flexion spring stiffness.
java.io.IOException
__DNA__FIELD__bending
public void setBending(float bending) throws java.io.IOException
Flexion spring stiffness.
java.io.IOException
__DNA__FIELD__bending
public float getMax_bend() throws java.io.IOException
Max bending scaling value, min is "bending".
java.io.IOException
__DNA__FIELD__max_bend
public void setMax_bend(float max_bend) throws java.io.IOException
Max bending scaling value, min is "bending".
java.io.IOException
__DNA__FIELD__max_bend
public float getMax_struct() throws java.io.IOException
Max structural scaling value, min is "structural".
java.io.IOException
__DNA__FIELD__max_struct
public void setMax_struct(float max_struct) throws java.io.IOException
Max structural scaling value, min is "structural".
java.io.IOException
__DNA__FIELD__max_struct
public float getMax_shear() throws java.io.IOException
Max shear scaling value.
java.io.IOException
__DNA__FIELD__max_shear
public void setMax_shear(float max_shear) throws java.io.IOException
Max shear scaling value.
java.io.IOException
__DNA__FIELD__max_shear
public float getMax_sewing() throws java.io.IOException
Max sewing force.
java.io.IOException
__DNA__FIELD__max_sewing
public void setMax_sewing(float max_sewing) throws java.io.IOException
Max sewing force.
java.io.IOException
__DNA__FIELD__max_sewing
public float getAvg_spring_len() throws java.io.IOException
Used for normalized springs.
java.io.IOException
__DNA__FIELD__avg_spring_len
public void setAvg_spring_len(float avg_spring_len) throws java.io.IOException
Used for normalized springs.
java.io.IOException
__DNA__FIELD__avg_spring_len
public float getTimescale() throws java.io.IOException
Parameter how fast cloth runs.
java.io.IOException
__DNA__FIELD__timescale
public void setTimescale(float timescale) throws java.io.IOException
Parameter how fast cloth runs.
java.io.IOException
__DNA__FIELD__timescale
public float getTime_scale() throws java.io.IOException
Multiplies cloth speed.
java.io.IOException
__DNA__FIELD__time_scale
public void setTime_scale(float time_scale) throws java.io.IOException
Multiplies cloth speed.
java.io.IOException
__DNA__FIELD__time_scale
public float getMaxgoal() throws java.io.IOException
See SB.
java.io.IOException
__DNA__FIELD__maxgoal
public void setMaxgoal(float maxgoal) throws java.io.IOException
See SB.
java.io.IOException
__DNA__FIELD__maxgoal
public float getEff_force_scale() throws java.io.IOException
Scaling of effector forces (see softbody_calc_forces)..
java.io.IOException
__DNA__FIELD__eff_force_scale
public void setEff_force_scale(float eff_force_scale) throws java.io.IOException
Scaling of effector forces (see softbody_calc_forces)..
java.io.IOException
__DNA__FIELD__eff_force_scale
public float getEff_wind_scale() throws java.io.IOException
Scaling of effector wind (see softbody_calc_forces)..
java.io.IOException
__DNA__FIELD__eff_wind_scale
public void setEff_wind_scale(float eff_wind_scale) throws java.io.IOException
Scaling of effector wind (see softbody_calc_forces)..
java.io.IOException
__DNA__FIELD__eff_wind_scale
public float getSim_time_old() throws java.io.IOException
java.io.IOException
__DNA__FIELD__sim_time_old
public void setSim_time_old(float sim_time_old) throws java.io.IOException
java.io.IOException
__DNA__FIELD__sim_time_old
public float getDefgoal() throws java.io.IOException
java.io.IOException
__DNA__FIELD__defgoal
public void setDefgoal(float defgoal) throws java.io.IOException
java.io.IOException
__DNA__FIELD__defgoal
public float getGoalspring() throws java.io.IOException
java.io.IOException
__DNA__FIELD__goalspring
public void setGoalspring(float goalspring) throws java.io.IOException
java.io.IOException
__DNA__FIELD__goalspring
public float getGoalfrict() throws java.io.IOException
java.io.IOException
__DNA__FIELD__goalfrict
public void setGoalfrict(float goalfrict) throws java.io.IOException
java.io.IOException
__DNA__FIELD__goalfrict
public float getVelocity_smooth() throws java.io.IOException
Smoothing of velocities for hair.
java.io.IOException
__DNA__FIELD__velocity_smooth
public void setVelocity_smooth(float velocity_smooth) throws java.io.IOException
Smoothing of velocities for hair.
java.io.IOException
__DNA__FIELD__velocity_smooth
public float getDensity_target() throws java.io.IOException
Minimum density for hair.
java.io.IOException
__DNA__FIELD__density_target
public void setDensity_target(float density_target) throws java.io.IOException
Minimum density for hair.
java.io.IOException
__DNA__FIELD__density_target
public float getDensity_strength() throws java.io.IOException
Influence of hair density.
java.io.IOException
__DNA__FIELD__density_strength
public void setDensity_strength(float density_strength) throws java.io.IOException
Influence of hair density.
java.io.IOException
__DNA__FIELD__density_strength
public float getCollider_friction() throws java.io.IOException
Friction with colliders.
java.io.IOException
__DNA__FIELD__collider_friction
public void setCollider_friction(float collider_friction) throws java.io.IOException
Friction with colliders.
java.io.IOException
__DNA__FIELD__collider_friction
public float getVel_damping() throws java.io.IOException
Damp the velocity to speed up getting to the resting position.
java.io.IOException
__DNA__FIELD__vel_damping
public void setVel_damping(float vel_damping) throws java.io.IOException
Damp the velocity to speed up getting to the resting position.
java.io.IOException
__DNA__FIELD__vel_damping
public float getShrink_min() throws java.io.IOException
Min amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).
java.io.IOException
__DNA__FIELD__shrink_min
public void setShrink_min(float shrink_min) throws java.io.IOException
Min amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).
java.io.IOException
__DNA__FIELD__shrink_min
public float getShrink_max() throws java.io.IOException
Max amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).
java.io.IOException
__DNA__FIELD__shrink_max
public void setShrink_max(float shrink_max) throws java.io.IOException
Max amount to shrink cloth by 0.0f (no shrink), 1.0f (shrink to nothing), -1.0f (double the edge length).
java.io.IOException
__DNA__FIELD__shrink_max
public float getUniform_pressure_force() throws java.io.IOException
Air pressure The uniform pressure that is constanty applied to the mesh. Can be negative
java.io.IOException
__DNA__FIELD__uniform_pressure_force
public void setUniform_pressure_force(float uniform_pressure_force) throws java.io.IOException
Air pressure The uniform pressure that is constanty applied to the mesh. Can be negative
java.io.IOException
__DNA__FIELD__uniform_pressure_force
public float getTarget_volume() throws java.io.IOException
User set volume. This is the volume the mesh wants to expand to (the equilibrium volume).
java.io.IOException
__DNA__FIELD__target_volume
public void setTarget_volume(float target_volume) throws java.io.IOException
User set volume. This is the volume the mesh wants to expand to (the equilibrium volume).
java.io.IOException
__DNA__FIELD__target_volume
public float getPressure_factor() throws java.io.IOException
The scaling factor to apply to the actual pressure. pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor
java.io.IOException
__DNA__FIELD__pressure_factor
public void setPressure_factor(float pressure_factor) throws java.io.IOException
The scaling factor to apply to the actual pressure. pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor
java.io.IOException
__DNA__FIELD__pressure_factor
public short getVgroup_pressure() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vgroup_pressure
public void setVgroup_pressure(short vgroup_pressure) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vgroup_pressure
public CArrayFacade<java.lang.Byte> get_pad7() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad7
public void set_pad7(CArrayFacade<java.lang.Byte> _pad7) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad7
public float getBending_damping() throws java.io.IOException
XXX various hair stuff should really be separate, this struct is a horrible mess alreadyDamping of bending springs.
java.io.IOException
__DNA__FIELD__bending_damping
public void setBending_damping(float bending_damping) throws java.io.IOException
XXX various hair stuff should really be separate, this struct is a horrible mess alreadyDamping of bending springs.
java.io.IOException
__DNA__FIELD__bending_damping
public float getVoxel_cell_size() throws java.io.IOException
Size of voxel grid cells for continuum dynamics.
java.io.IOException
__DNA__FIELD__voxel_cell_size
public void setVoxel_cell_size(float voxel_cell_size) throws java.io.IOException
Size of voxel grid cells for continuum dynamics.
java.io.IOException
__DNA__FIELD__voxel_cell_size
public int getStepsPerFrame() throws java.io.IOException
Number of time steps per frame.
java.io.IOException
__DNA__FIELD__stepsPerFrame
public void setStepsPerFrame(int stepsPerFrame) throws java.io.IOException
Number of time steps per frame.
java.io.IOException
__DNA__FIELD__stepsPerFrame
public int getFlags() throws java.io.IOException
Flags, see CSIMSETT_FLAGS enum above.
java.io.IOException
__DNA__FIELD__flags
public void setFlags(int flags) throws java.io.IOException
Flags, see CSIMSETT_FLAGS enum above.
java.io.IOException
__DNA__FIELD__flags
public int getPreroll() throws java.io.IOException
How many frames of simulation to do before we start.
java.io.IOException
__DNA__FIELD__preroll
public void setPreroll(int preroll) throws java.io.IOException
How many frames of simulation to do before we start.
java.io.IOException
__DNA__FIELD__preroll
public int getMaxspringlen() throws java.io.IOException
In percent!; if tearing enabled, a spring will get cut.
java.io.IOException
__DNA__FIELD__maxspringlen
public void setMaxspringlen(int maxspringlen) throws java.io.IOException
In percent!; if tearing enabled, a spring will get cut.
java.io.IOException
__DNA__FIELD__maxspringlen
public short getSolver_type() throws java.io.IOException
Which solver should be used? txold.
java.io.IOException
__DNA__FIELD__solver_type
public void setSolver_type(short solver_type) throws java.io.IOException
Which solver should be used? txold.
java.io.IOException
__DNA__FIELD__solver_type
public short getVgroup_bend() throws java.io.IOException
Vertex group for scaling bending stiffness.
java.io.IOException
__DNA__FIELD__vgroup_bend
public void setVgroup_bend(short vgroup_bend) throws java.io.IOException
Vertex group for scaling bending stiffness.
java.io.IOException
__DNA__FIELD__vgroup_bend
public short getVgroup_mass() throws java.io.IOException
Optional vertexgroup name for assigning weight..
java.io.IOException
__DNA__FIELD__vgroup_mass
public void setVgroup_mass(short vgroup_mass) throws java.io.IOException
Optional vertexgroup name for assigning weight..
java.io.IOException
__DNA__FIELD__vgroup_mass
public short getVgroup_struct() throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__vgroup_struct
public void setVgroup_struct(short vgroup_struct) throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__vgroup_struct
public short getVgroup_shrink() throws java.io.IOException
Vertex group for shrinking cloth.
java.io.IOException
__DNA__FIELD__vgroup_shrink
public void setVgroup_shrink(short vgroup_shrink) throws java.io.IOException
Vertex group for shrinking cloth.
java.io.IOException
__DNA__FIELD__vgroup_shrink
public short getShapekey_rest() throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__shapekey_rest
public void setShapekey_rest(short shapekey_rest) throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__shapekey_rest
public short getPresets() throws java.io.IOException
Used for presets on GUI.
java.io.IOException
__DNA__FIELD__presets
public void setPresets(short presets) throws java.io.IOException
Used for presets on GUI.
java.io.IOException
__DNA__FIELD__presets
public short getReset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__reset
public void setReset(short reset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__reset
public CPointer<EffectorWeights> getEffector_weights() throws java.io.IOException
java.io.IOException
__DNA__FIELD__effector_weights
public void setEffector_weights(CPointer<EffectorWeights> effector_weights) throws java.io.IOException
java.io.IOException
__DNA__FIELD__effector_weights
public short getBending_model() throws java.io.IOException
java.io.IOException
__DNA__FIELD__bending_model
public void setBending_model(short bending_model) throws java.io.IOException
java.io.IOException
__DNA__FIELD__bending_model
public short getVgroup_shear() throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__vgroup_shear
public void setVgroup_shear(short vgroup_shear) throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__vgroup_shear
public float getTension() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tension
public void setTension(float tension) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tension
public float getCompression() throws java.io.IOException
java.io.IOException
__DNA__FIELD__compression
public void setCompression(float compression) throws java.io.IOException
java.io.IOException
__DNA__FIELD__compression
public float getMax_tension() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_tension
public void setMax_tension(float max_tension) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_tension
public float getMax_compression() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_compression
public void setMax_compression(float max_compression) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_compression
public float getTension_damp() throws java.io.IOException
Mechanical damping of tension springs.
java.io.IOException
__DNA__FIELD__tension_damp
public void setTension_damp(float tension_damp) throws java.io.IOException
Mechanical damping of tension springs.
java.io.IOException
__DNA__FIELD__tension_damp
public float getCompression_damp() throws java.io.IOException
Mechanical damping of compression springs.
java.io.IOException
__DNA__FIELD__compression_damp
public void setCompression_damp(float compression_damp) throws java.io.IOException
Mechanical damping of compression springs.
java.io.IOException
__DNA__FIELD__compression_damp
public float getShear_damp() throws java.io.IOException
Mechanical damping of shear springs.
java.io.IOException
__DNA__FIELD__shear_damp
public void setShear_damp(float shear_damp) throws java.io.IOException
Mechanical damping of shear springs.
java.io.IOException
__DNA__FIELD__shear_damp
public float getInternal_spring_max_length() throws java.io.IOException
The maximum lenght an internal spring can have during creation.
java.io.IOException
__DNA__FIELD__internal_spring_max_length
public void setInternal_spring_max_length(float internal_spring_max_length) throws java.io.IOException
The maximum lenght an internal spring can have during creation.
java.io.IOException
__DNA__FIELD__internal_spring_max_length
public float getInternal_spring_max_diversion() throws java.io.IOException
How much the interal spring can diverge from the vertex normal during creation.
java.io.IOException
__DNA__FIELD__internal_spring_max_diversion
public void setInternal_spring_max_diversion(float internal_spring_max_diversion) throws java.io.IOException
How much the interal spring can diverge from the vertex normal during creation.
java.io.IOException
__DNA__FIELD__internal_spring_max_diversion
public short getVgroup_intern() throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__vgroup_intern
public void setVgroup_intern(short vgroup_intern) throws java.io.IOException
Vertex group for scaling structural stiffness.
java.io.IOException
__DNA__FIELD__vgroup_intern
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public float getInternal_tension() throws java.io.IOException
java.io.IOException
__DNA__FIELD__internal_tension
public void setInternal_tension(float internal_tension) throws java.io.IOException
java.io.IOException
__DNA__FIELD__internal_tension
public float getInternal_compression() throws java.io.IOException
java.io.IOException
__DNA__FIELD__internal_compression
public void setInternal_compression(float internal_compression) throws java.io.IOException
java.io.IOException
__DNA__FIELD__internal_compression
public float getMax_internal_tension() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_internal_tension
public void setMax_internal_tension(float max_internal_tension) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_internal_tension
public float getMax_internal_compression() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_internal_compression
public void setMax_internal_compression(float max_internal_compression) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max_internal_compression
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad0
public CPointer<ClothSimSettings> __io__addressof()