Files
BlenderSharp/BlendFile/DNA/SoftBody.cs

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