Added memoryOffset value to DNAFieldAttribute, regenerated files.

This commit is contained in:
Samuele Lorefice
2025-02-20 21:00:55 +01:00
parent b171b65aa5
commit f383debd18
939 changed files with 9636 additions and 9605 deletions

View File

@@ -15,145 +15,145 @@ namespace BlendFile.DNA {
[DNAClassAttribute(154, "ClothSimSettings", 272)]
public class ClothSimSettings {
[DNAFieldAttribute(0, "LinkNode", "*cache", "LinkNode", 8, true)]
[DNAFieldAttribute(0, "LinkNode", "*cache", "LinkNode", 8, true, 0)]
public LinkNode ptr_cache;
[DNAFieldAttribute(1, "float", "mingoal", "float", 4, false)]
[DNAFieldAttribute(1, "float", "mingoal", "float", 4, false, 8)]
public float mingoal;
[DNAFieldAttribute(2, "float", "Cdis", "float", 4, false)]
[DNAFieldAttribute(2, "float", "Cdis", "float", 4, false, 12)]
public float Cdis;
[DNAFieldAttribute(3, "float", "Cvi", "float", 4, false)]
[DNAFieldAttribute(3, "float", "Cvi", "float", 4, false, 16)]
public float Cvi;
[DNAFieldAttribute(4, "float", "gravity[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(4, "float", "gravity[3]", "System.Single[]", 12, false, 20)]
public float[] gravity = new System.Single[3];
[DNAFieldAttribute(5, "float", "dt", "float", 4, false)]
[DNAFieldAttribute(5, "float", "dt", "float", 4, false, 32)]
public float dt;
[DNAFieldAttribute(6, "float", "mass", "float", 4, false)]
[DNAFieldAttribute(6, "float", "mass", "float", 4, false, 36)]
public float mass;
[DNAFieldAttribute(7, "float", "structural", "float", 4, false)]
[DNAFieldAttribute(7, "float", "structural", "float", 4, false, 40)]
public float structural;
[DNAFieldAttribute(8, "float", "shear", "float", 4, false)]
[DNAFieldAttribute(8, "float", "shear", "float", 4, false, 44)]
public float shear;
[DNAFieldAttribute(9, "float", "bending", "float", 4, false)]
[DNAFieldAttribute(9, "float", "bending", "float", 4, false, 48)]
public float bending;
[DNAFieldAttribute(10, "float", "max_bend", "float", 4, false)]
[DNAFieldAttribute(10, "float", "max_bend", "float", 4, false, 52)]
public float max_bend;
[DNAFieldAttribute(11, "float", "max_struct", "float", 4, false)]
[DNAFieldAttribute(11, "float", "max_struct", "float", 4, false, 56)]
public float max_struct;
[DNAFieldAttribute(12, "float", "max_shear", "float", 4, false)]
[DNAFieldAttribute(12, "float", "max_shear", "float", 4, false, 60)]
public float max_shear;
[DNAFieldAttribute(13, "float", "max_sewing", "float", 4, false)]
[DNAFieldAttribute(13, "float", "max_sewing", "float", 4, false, 64)]
public float max_sewing;
[DNAFieldAttribute(14, "float", "avg_spring_len", "float", 4, false)]
[DNAFieldAttribute(14, "float", "avg_spring_len", "float", 4, false, 68)]
public float avg_spring_len;
[DNAFieldAttribute(15, "float", "timescale", "float", 4, false)]
[DNAFieldAttribute(15, "float", "timescale", "float", 4, false, 72)]
public float timescale;
[DNAFieldAttribute(16, "float", "time_scale", "float", 4, false)]
[DNAFieldAttribute(16, "float", "time_scale", "float", 4, false, 76)]
public float time_scale;
[DNAFieldAttribute(17, "float", "maxgoal", "float", 4, false)]
[DNAFieldAttribute(17, "float", "maxgoal", "float", 4, false, 80)]
public float maxgoal;
[DNAFieldAttribute(18, "float", "eff_force_scale", "float", 4, false)]
[DNAFieldAttribute(18, "float", "eff_force_scale", "float", 4, false, 84)]
public float eff_force_scale;
[DNAFieldAttribute(19, "float", "eff_wind_scale", "float", 4, false)]
[DNAFieldAttribute(19, "float", "eff_wind_scale", "float", 4, false, 88)]
public float eff_wind_scale;
[DNAFieldAttribute(20, "float", "sim_time_old", "float", 4, false)]
[DNAFieldAttribute(20, "float", "sim_time_old", "float", 4, false, 92)]
public float sim_time_old;
[DNAFieldAttribute(21, "float", "defgoal", "float", 4, false)]
[DNAFieldAttribute(21, "float", "defgoal", "float", 4, false, 96)]
public float defgoal;
[DNAFieldAttribute(22, "float", "goalspring", "float", 4, false)]
[DNAFieldAttribute(22, "float", "goalspring", "float", 4, false, 100)]
public float goalspring;
[DNAFieldAttribute(23, "float", "goalfrict", "float", 4, false)]
[DNAFieldAttribute(23, "float", "goalfrict", "float", 4, false, 104)]
public float goalfrict;
[DNAFieldAttribute(24, "float", "velocity_smooth", "float", 4, false)]
[DNAFieldAttribute(24, "float", "velocity_smooth", "float", 4, false, 108)]
public float velocity_smooth;
[DNAFieldAttribute(25, "float", "density_target", "float", 4, false)]
[DNAFieldAttribute(25, "float", "density_target", "float", 4, false, 112)]
public float density_target;
[DNAFieldAttribute(26, "float", "density_strength", "float", 4, false)]
[DNAFieldAttribute(26, "float", "density_strength", "float", 4, false, 116)]
public float density_strength;
[DNAFieldAttribute(27, "float", "collider_friction", "float", 4, false)]
[DNAFieldAttribute(27, "float", "collider_friction", "float", 4, false, 120)]
public float collider_friction;
[DNAFieldAttribute(28, "float", "vel_damping", "float", 4, false)]
[DNAFieldAttribute(28, "float", "vel_damping", "float", 4, false, 124)]
public float vel_damping;
[DNAFieldAttribute(29, "float", "shrink_min", "float", 4, false)]
[DNAFieldAttribute(29, "float", "shrink_min", "float", 4, false, 128)]
public float shrink_min;
[DNAFieldAttribute(30, "float", "shrink_max", "float", 4, false)]
[DNAFieldAttribute(30, "float", "shrink_max", "float", 4, false, 132)]
public float shrink_max;
[DNAFieldAttribute(31, "float", "uniform_pressure_force", "float", 4, false)]
[DNAFieldAttribute(31, "float", "uniform_pressure_force", "float", 4, false, 136)]
public float uniform_pressure_force;
[DNAFieldAttribute(32, "float", "target_volume", "float", 4, false)]
[DNAFieldAttribute(32, "float", "target_volume", "float", 4, false, 140)]
public float target_volume;
[DNAFieldAttribute(33, "float", "pressure_factor", "float", 4, false)]
[DNAFieldAttribute(33, "float", "pressure_factor", "float", 4, false, 144)]
public float pressure_factor;
[DNAFieldAttribute(34, "float", "fluid_density", "float", 4, false)]
[DNAFieldAttribute(34, "float", "fluid_density", "float", 4, false, 148)]
public float fluid_density;
[DNAFieldAttribute(35, "short", "vgroup_pressure", "short", 2, false)]
[DNAFieldAttribute(35, "short", "vgroup_pressure", "short", 2, false, 152)]
public short vgroup_pressure;
[DNAFieldAttribute(36, "char", "_pad7[6]", "System.Char[]", 6, false)]
[DNAFieldAttribute(36, "char", "_pad7[6]", "System.Char[]", 6, false, 154)]
public char[] _pad7 = new System.Char[6];
[DNAFieldAttribute(37, "float", "bending_damping", "float", 4, false)]
[DNAFieldAttribute(37, "float", "bending_damping", "float", 4, false, 160)]
public float bending_damping;
[DNAFieldAttribute(38, "float", "voxel_cell_size", "float", 4, false)]
[DNAFieldAttribute(38, "float", "voxel_cell_size", "float", 4, false, 164)]
public float voxel_cell_size;
[DNAFieldAttribute(39, "int", "stepsPerFrame", "int", 4, false)]
[DNAFieldAttribute(39, "int", "stepsPerFrame", "int", 4, false, 168)]
public int stepsPerFrame;
[DNAFieldAttribute(40, "int", "flags", "int", 4, false)]
[DNAFieldAttribute(40, "int", "flags", "int", 4, false, 172)]
public int flags;
[DNAFieldAttribute(41, "int", "preroll", "int", 4, false)]
[DNAFieldAttribute(41, "int", "preroll", "int", 4, false, 176)]
public int preroll;
[DNAFieldAttribute(42, "int", "maxspringlen", "int", 4, false)]
[DNAFieldAttribute(42, "int", "maxspringlen", "int", 4, false, 180)]
public int maxspringlen;
[DNAFieldAttribute(43, "short", "solver_type", "short", 2, false)]
[DNAFieldAttribute(43, "short", "solver_type", "short", 2, false, 184)]
public short solver_type;
[DNAFieldAttribute(44, "short", "vgroup_bend", "short", 2, false)]
[DNAFieldAttribute(44, "short", "vgroup_bend", "short", 2, false, 186)]
public short vgroup_bend;
[DNAFieldAttribute(45, "short", "vgroup_mass", "short", 2, false)]
[DNAFieldAttribute(45, "short", "vgroup_mass", "short", 2, false, 188)]
public short vgroup_mass;
[DNAFieldAttribute(46, "short", "vgroup_struct", "short", 2, false)]
[DNAFieldAttribute(46, "short", "vgroup_struct", "short", 2, false, 190)]
public short vgroup_struct;
[DNAFieldAttribute(47, "short", "vgroup_shrink", "short", 2, false)]
[DNAFieldAttribute(47, "short", "vgroup_shrink", "short", 2, false, 192)]
public short vgroup_shrink;
[DNAFieldAttribute(48, "short", "shapekey_rest", "short", 2, false)]
[DNAFieldAttribute(48, "short", "shapekey_rest", "short", 2, false, 194)]
public short shapekey_rest;
[DNAFieldAttribute(49, "short", "presets", "short", 2, false)]
[DNAFieldAttribute(49, "short", "presets", "short", 2, false, 196)]
public short presets;
[DNAFieldAttribute(50, "short", "reset", "short", 2, false)]
[DNAFieldAttribute(50, "short", "reset", "short", 2, false, 198)]
public short reset;
[DNAFieldAttribute(51, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true)]
[DNAFieldAttribute(51, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 200)]
public EffectorWeights ptr_effector_weights;
[DNAFieldAttribute(52, "short", "bending_model", "short", 2, false)]
[DNAFieldAttribute(52, "short", "bending_model", "short", 2, false, 208)]
public short bending_model;
[DNAFieldAttribute(53, "short", "vgroup_shear", "short", 2, false)]
[DNAFieldAttribute(53, "short", "vgroup_shear", "short", 2, false, 210)]
public short vgroup_shear;
[DNAFieldAttribute(54, "float", "tension", "float", 4, false)]
[DNAFieldAttribute(54, "float", "tension", "float", 4, false, 212)]
public float tension;
[DNAFieldAttribute(55, "float", "compression", "float", 4, false)]
[DNAFieldAttribute(55, "float", "compression", "float", 4, false, 216)]
public float compression;
[DNAFieldAttribute(56, "float", "max_tension", "float", 4, false)]
[DNAFieldAttribute(56, "float", "max_tension", "float", 4, false, 220)]
public float max_tension;
[DNAFieldAttribute(57, "float", "max_compression", "float", 4, false)]
[DNAFieldAttribute(57, "float", "max_compression", "float", 4, false, 224)]
public float max_compression;
[DNAFieldAttribute(58, "float", "tension_damp", "float", 4, false)]
[DNAFieldAttribute(58, "float", "tension_damp", "float", 4, false, 228)]
public float tension_damp;
[DNAFieldAttribute(59, "float", "compression_damp", "float", 4, false)]
[DNAFieldAttribute(59, "float", "compression_damp", "float", 4, false, 232)]
public float compression_damp;
[DNAFieldAttribute(60, "float", "shear_damp", "float", 4, false)]
[DNAFieldAttribute(60, "float", "shear_damp", "float", 4, false, 236)]
public float shear_damp;
[DNAFieldAttribute(61, "float", "internal_spring_max_length", "float", 4, false)]
[DNAFieldAttribute(61, "float", "internal_spring_max_length", "float", 4, false, 240)]
public float internal_spring_max_length;
[DNAFieldAttribute(62, "float", "internal_spring_max_diversion", "float", 4, false)]
[DNAFieldAttribute(62, "float", "internal_spring_max_diversion", "float", 4, false, 244)]
public float internal_spring_max_diversion;
[DNAFieldAttribute(63, "short", "vgroup_intern", "short", 2, false)]
[DNAFieldAttribute(63, "short", "vgroup_intern", "short", 2, false, 248)]
public short vgroup_intern;
[DNAFieldAttribute(64, "char", "_pad1[2]", "System.Char[]", 2, false)]
[DNAFieldAttribute(64, "char", "_pad1[2]", "System.Char[]", 2, false, 250)]
public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(65, "float", "internal_tension", "float", 4, false)]
[DNAFieldAttribute(65, "float", "internal_tension", "float", 4, false, 252)]
public float internal_tension;
[DNAFieldAttribute(66, "float", "internal_compression", "float", 4, false)]
[DNAFieldAttribute(66, "float", "internal_compression", "float", 4, false, 256)]
public float internal_compression;
[DNAFieldAttribute(67, "float", "max_internal_tension", "float", 4, false)]
[DNAFieldAttribute(67, "float", "max_internal_tension", "float", 4, false, 260)]
public float max_internal_tension;
[DNAFieldAttribute(68, "float", "max_internal_compression", "float", 4, false)]
[DNAFieldAttribute(68, "float", "max_internal_compression", "float", 4, false, 264)]
public float max_internal_compression;
[DNAFieldAttribute(69, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAFieldAttribute(69, "char", "_pad0[4]", "System.Char[]", 4, false, 268)]
public char[] _pad0 = new System.Char[4];
public ClothSimSettings() {
this.ptr_cache = default;