Files
BlenderSharp/BlendFile/DNA/SoftBody.cs
2025-03-11 19:12:04 +01:00

294 lines
13 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(760, "SoftBody", 480)]
public class SoftBody {
[DNAFieldAttribute(4, "int", 0, "totpoint", "int", false, 0)]
public int totpoint;
[DNAFieldAttribute(4, "int", 1, "totspring", "int", false, 4)]
public int totspring;
[DNAFieldAttribute(8, "BodyPoint", 2, "*bpoint", "BodyPoint", true, 8)]
public BodyPoint bpoint;
[DNAFieldAttribute(8, "BodySpring", 3, "*bspring", "BodySpring", true, 16)]
public BodySpring bspring;
[DNAFieldAttribute(1, "char", 4, "_pad", "char", false, 24)]
public char _pad;
[DNAFieldAttribute(1, "char", 5, "msg_lock", "char", false, 25)]
public char msg_lock;
[DNAFieldAttribute(2, "short", 6, "msg_value", "short", false, 26)]
public short msg_value;
[DNAFieldAttribute(4, "float", 7, "nodemass", "float", false, 28)]
public float nodemass;
[DNAArrayAttribute(64, "char", 8, "namedVG_Mass[64]", "System.Char[]", 64, 32)]
public char[] namedVG_Mass = new System.Char[64];
[DNAFieldAttribute(4, "float", 9, "grav", "float", false, 96)]
public float grav;
[DNAFieldAttribute(4, "float", 10, "mediafrict", "float", false, 100)]
public float mediafrict;
[DNAFieldAttribute(4, "float", 11, "rklimit", "float", false, 104)]
public float rklimit;
[DNAFieldAttribute(4, "float", 12, "physics_speed", "float", false, 108)]
public float physics_speed;
[DNAFieldAttribute(4, "float", 13, "goalspring", "float", false, 112)]
public float goalspring;
[DNAFieldAttribute(4, "float", 14, "goalfrict", "float", false, 116)]
public float goalfrict;
[DNAFieldAttribute(4, "float", 15, "mingoal", "float", false, 120)]
public float mingoal;
[DNAFieldAttribute(4, "float", 16, "maxgoal", "float", false, 124)]
public float maxgoal;
[DNAFieldAttribute(4, "float", 17, "defgoal", "float", false, 128)]
public float defgoal;
[DNAFieldAttribute(2, "short", 18, "vertgroup", "short", false, 132)]
public short vertgroup;
[DNAArrayAttribute(64, "char", 19, "namedVG_Softgoal[64]", "System.Char[]", 64, 134)]
public char[] namedVG_Softgoal = new System.Char[64];
[DNAFieldAttribute(2, "short", 20, "fuzzyness", "short", false, 198)]
public short fuzzyness;
[DNAFieldAttribute(4, "float", 21, "inspring", "float", false, 200)]
public float inspring;
[DNAFieldAttribute(4, "float", 22, "infrict", "float", false, 204)]
public float infrict;
[DNAArrayAttribute(64, "char", 23, "namedVG_Spring_K[64]", "System.Char[]", 64, 208)]
public char[] namedVG_Spring_K = new System.Char[64];
[DNAArrayAttribute(6, "char", 24, "_pad1[6]", "System.Char[]", 6, 272)]
public char[] _pad1 = new System.Char[6];
[DNAFieldAttribute(1, "char", 25, "local", "char", false, 278)]
public char local;
[DNAFieldAttribute(1, "char", 26, "solverflags", "char", false, 279)]
public char solverflags;
[DNAFieldAttribute(8, "SBVertex", 27, "**keys", "SBVertex", true, 280)]
public SBVertex keys;
[DNAFieldAttribute(4, "int", 28, "totpointkey", "int", false, 288)]
public int totpointkey;
[DNAFieldAttribute(4, "int", 29, "totkey", "int", false, 292)]
public int totkey;
[DNAFieldAttribute(4, "float", 30, "secondspring", "float", false, 296)]
public float secondspring;
[DNAFieldAttribute(4, "float", 31, "colball", "float", false, 300)]
public float colball;
[DNAFieldAttribute(4, "float", 32, "balldamp", "float", false, 304)]
public float balldamp;
[DNAFieldAttribute(4, "float", 33, "ballstiff", "float", false, 308)]
public float ballstiff;
[DNAFieldAttribute(2, "short", 34, "sbc_mode", "short", false, 312)]
public short sbc_mode;
[DNAFieldAttribute(2, "short", 35, "aeroedge", "short", false, 314)]
public short aeroedge;
[DNAFieldAttribute(2, "short", 36, "minloops", "short", false, 316)]
public short minloops;
[DNAFieldAttribute(2, "short", 37, "maxloops", "short", false, 318)]
public short maxloops;
[DNAFieldAttribute(2, "short", 38, "choke", "short", false, 320)]
public short choke;
[DNAFieldAttribute(2, "short", 39, "solver_ID", "short", false, 322)]
public short solver_ID;
[DNAFieldAttribute(2, "short", 40, "plastic", "short", false, 324)]
public short plastic;
[DNAFieldAttribute(2, "short", 41, "springpreload", "short", false, 326)]
public short springpreload;
[DNAFieldAttribute(8, "SBScratch", 42, "*scratch", "SBScratch", true, 328)]
public SBScratch scratch;
[DNAFieldAttribute(4, "float", 43, "shearstiff", "float", false, 336)]
public float shearstiff;
[DNAFieldAttribute(4, "float", 44, "inpush", "float", false, 340)]
public float inpush;
[DNAFieldAttribute(8, "SoftBody_Shared", 45, "*shared", "SoftBody_Shared", true, 344)]
public SoftBody_Shared shared;
[DNAFieldAttribute(8, "PointCache", 46, "*pointcache", "PointCache", true, 352)]
public PointCache pointcache;
[DNAFieldAttribute(16, "ListBase", 47, "ptcaches", "ListBase", false, 360)]
public ListBase ptcaches;
[DNAFieldAttribute(8, "Collection", 48, "*collision_group", "Collection", true, 376)]
public Collection collision_group;
[DNAFieldAttribute(8, "EffectorWeights", 49, "*effector_weights", "EffectorWeights", true, 384)]
public EffectorWeights effector_weights;
[DNAArrayAttribute(12, "float", 50, "lcom[3]", "System.Single[]", 3, 392)]
public float[] lcom = new System.Single[3];
[DNAArrayAttribute(36, "float", 51, "lrot[3][3]", "System.Single[,]", 6, 404)]
public float[,] lrot = new System.Single[3,3];
[DNAArrayAttribute(36, "float", 52, "lscale[3][3]", "System.Single[,]", 6, 440)]
public float[,] lscale = new System.Single[3,3];
[DNAFieldAttribute(4, "int", 53, "last_frame", "int", false, 476)]
public int last_frame;
public SoftBody() {
this.totpoint = default;
this.totspring = default;
this.bpoint = default;
this.bspring = default;
this._pad = default;
this.msg_lock = default;
this.msg_value = default;
this.nodemass = default;
this.namedVG_Mass = default;
this.grav = default;
this.mediafrict = default;
this.rklimit = default;
this.physics_speed = default;
this.goalspring = default;
this.goalfrict = default;
this.mingoal = default;
this.maxgoal = default;
this.defgoal = default;
this.vertgroup = default;
this.namedVG_Softgoal = default;
this.fuzzyness = default;
this.inspring = default;
this.infrict = default;
this.namedVG_Spring_K = default;
this._pad1 = default;
this.local = default;
this.solverflags = default;
this.keys = default;
this.totpointkey = default;
this.totkey = default;
this.secondspring = default;
this.colball = default;
this.balldamp = default;
this.ballstiff = default;
this.sbc_mode = default;
this.aeroedge = default;
this.minloops = default;
this.maxloops = default;
this.choke = default;
this.solver_ID = default;
this.plastic = default;
this.springpreload = default;
this.scratch = default;
this.shearstiff = default;
this.inpush = default;
this.shared = default;
this.pointcache = default;
this.ptcaches = default;
this.collision_group = default;
this.effector_weights = default;
this.lcom = default;
this.lrot = default;
this.lscale = default;
this.last_frame = default;
}
public SoftBody(
int totpoint,
int totspring,
BodyPoint bpoint,
BodySpring bspring,
char _pad,
char msg_lock,
short msg_value,
float nodemass,
char[] namedVG_Mass,
float grav,
float mediafrict,
float rklimit,
float physics_speed,
float goalspring,
float goalfrict,
float mingoal,
float maxgoal,
float defgoal,
short vertgroup,
char[] namedVG_Softgoal,
short fuzzyness,
float inspring,
float infrict,
char[] namedVG_Spring_K,
char[] _pad1,
char local,
char solverflags,
SBVertex keys,
int totpointkey,
int totkey,
float secondspring,
float colball,
float balldamp,
float ballstiff,
short sbc_mode,
short aeroedge,
short minloops,
short maxloops,
short choke,
short solver_ID,
short plastic,
short springpreload,
SBScratch scratch,
float shearstiff,
float inpush,
SoftBody_Shared shared,
PointCache pointcache,
ListBase ptcaches,
Collection collision_group,
EffectorWeights effector_weights,
float[] lcom,
float[,] lrot,
float[,] lscale,
int last_frame) {
this.totpoint = totpoint;
this.totspring = totspring;
this.bpoint = bpoint;
this.bspring = bspring;
this._pad = _pad;
this.msg_lock = msg_lock;
this.msg_value = msg_value;
this.nodemass = nodemass;
this.namedVG_Mass = namedVG_Mass;
this.grav = grav;
this.mediafrict = mediafrict;
this.rklimit = rklimit;
this.physics_speed = physics_speed;
this.goalspring = goalspring;
this.goalfrict = goalfrict;
this.mingoal = mingoal;
this.maxgoal = maxgoal;
this.defgoal = defgoal;
this.vertgroup = vertgroup;
this.namedVG_Softgoal = namedVG_Softgoal;
this.fuzzyness = fuzzyness;
this.inspring = inspring;
this.infrict = infrict;
this.namedVG_Spring_K = namedVG_Spring_K;
this._pad1 = _pad1;
this.local = local;
this.solverflags = solverflags;
this.keys = keys;
this.totpointkey = totpointkey;
this.totkey = totkey;
this.secondspring = secondspring;
this.colball = colball;
this.balldamp = balldamp;
this.ballstiff = ballstiff;
this.sbc_mode = sbc_mode;
this.aeroedge = aeroedge;
this.minloops = minloops;
this.maxloops = maxloops;
this.choke = choke;
this.solver_ID = solver_ID;
this.plastic = plastic;
this.springpreload = springpreload;
this.scratch = scratch;
this.shearstiff = shearstiff;
this.inpush = inpush;
this.shared = shared;
this.pointcache = pointcache;
this.ptcaches = ptcaches;
this.collision_group = collision_group;
this.effector_weights = effector_weights;
this.lcom = lcom;
this.lrot = lrot;
this.lscale = lscale;
this.last_frame = last_frame;
}
}
}