294 lines
12 KiB
C#
294 lines
12 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")]
|
|
public class SoftBody {
|
|
[DNAFieldAttribute(0, "int", "totpoint", 4)]
|
|
public int totpoint;
|
|
[DNAFieldAttribute(1, "int", "totspring", 4)]
|
|
public int totspring;
|
|
[DNAFieldAttribute(2, "BodyPoint", "*bpoint", 0)]
|
|
public BodyPoint ptr_bpoint;
|
|
[DNAFieldAttribute(3, "BodySpring", "*bspring", 0)]
|
|
public BodySpring ptr_bspring;
|
|
[DNAFieldAttribute(4, "char", "_pad", 1)]
|
|
public char _pad;
|
|
[DNAFieldAttribute(5, "char", "msg_lock", 1)]
|
|
public char msg_lock;
|
|
[DNAFieldAttribute(6, "short", "msg_value", 2)]
|
|
public short msg_value;
|
|
[DNAFieldAttribute(7, "float", "nodemass", 4)]
|
|
public float nodemass;
|
|
[DNAFieldAttribute(8, "char", "namedVG_Mass[64]", 1)]
|
|
public char[] namedVG_Mass = new System.Char[64];
|
|
[DNAFieldAttribute(9, "float", "grav", 4)]
|
|
public float grav;
|
|
[DNAFieldAttribute(10, "float", "mediafrict", 4)]
|
|
public float mediafrict;
|
|
[DNAFieldAttribute(11, "float", "rklimit", 4)]
|
|
public float rklimit;
|
|
[DNAFieldAttribute(12, "float", "physics_speed", 4)]
|
|
public float physics_speed;
|
|
[DNAFieldAttribute(13, "float", "goalspring", 4)]
|
|
public float goalspring;
|
|
[DNAFieldAttribute(14, "float", "goalfrict", 4)]
|
|
public float goalfrict;
|
|
[DNAFieldAttribute(15, "float", "mingoal", 4)]
|
|
public float mingoal;
|
|
[DNAFieldAttribute(16, "float", "maxgoal", 4)]
|
|
public float maxgoal;
|
|
[DNAFieldAttribute(17, "float", "defgoal", 4)]
|
|
public float defgoal;
|
|
[DNAFieldAttribute(18, "short", "vertgroup", 2)]
|
|
public short vertgroup;
|
|
[DNAFieldAttribute(19, "char", "namedVG_Softgoal[64]", 1)]
|
|
public char[] namedVG_Softgoal = new System.Char[64];
|
|
[DNAFieldAttribute(20, "short", "fuzzyness", 2)]
|
|
public short fuzzyness;
|
|
[DNAFieldAttribute(21, "float", "inspring", 4)]
|
|
public float inspring;
|
|
[DNAFieldAttribute(22, "float", "infrict", 4)]
|
|
public float infrict;
|
|
[DNAFieldAttribute(23, "char", "namedVG_Spring_K[64]", 1)]
|
|
public char[] namedVG_Spring_K = new System.Char[64];
|
|
[DNAFieldAttribute(24, "char", "_pad1[6]", 1)]
|
|
public char[] _pad1 = new System.Char[6];
|
|
[DNAFieldAttribute(25, "char", "local", 1)]
|
|
public char local;
|
|
[DNAFieldAttribute(26, "char", "solverflags", 1)]
|
|
public char solverflags;
|
|
[DNAFieldAttribute(27, "SBVertex", "**keys", 16)]
|
|
public SBVertex ptr_ptr_keys;
|
|
[DNAFieldAttribute(28, "int", "totpointkey", 4)]
|
|
public int totpointkey;
|
|
[DNAFieldAttribute(29, "int", "totkey", 4)]
|
|
public int totkey;
|
|
[DNAFieldAttribute(30, "float", "secondspring", 4)]
|
|
public float secondspring;
|
|
[DNAFieldAttribute(31, "float", "colball", 4)]
|
|
public float colball;
|
|
[DNAFieldAttribute(32, "float", "balldamp", 4)]
|
|
public float balldamp;
|
|
[DNAFieldAttribute(33, "float", "ballstiff", 4)]
|
|
public float ballstiff;
|
|
[DNAFieldAttribute(34, "short", "sbc_mode", 2)]
|
|
public short sbc_mode;
|
|
[DNAFieldAttribute(35, "short", "aeroedge", 2)]
|
|
public short aeroedge;
|
|
[DNAFieldAttribute(36, "short", "minloops", 2)]
|
|
public short minloops;
|
|
[DNAFieldAttribute(37, "short", "maxloops", 2)]
|
|
public short maxloops;
|
|
[DNAFieldAttribute(38, "short", "choke", 2)]
|
|
public short choke;
|
|
[DNAFieldAttribute(39, "short", "solver_ID", 2)]
|
|
public short solver_ID;
|
|
[DNAFieldAttribute(40, "short", "plastic", 2)]
|
|
public short plastic;
|
|
[DNAFieldAttribute(41, "short", "springpreload", 2)]
|
|
public short springpreload;
|
|
[DNAFieldAttribute(42, "SBScratch", "*scratch", 0)]
|
|
public SBScratch ptr_scratch;
|
|
[DNAFieldAttribute(43, "float", "shearstiff", 4)]
|
|
public float shearstiff;
|
|
[DNAFieldAttribute(44, "float", "inpush", 4)]
|
|
public float inpush;
|
|
[DNAFieldAttribute(45, "SoftBody_Shared", "*shared", 24)]
|
|
public SoftBody_Shared ptr_shared;
|
|
[DNAFieldAttribute(46, "PointCache", "*pointcache", 1392)]
|
|
public PointCache ptr_pointcache;
|
|
[DNAFieldAttribute(47, "ListBase", "ptcaches", 16)]
|
|
public ListBase ptcaches;
|
|
[DNAFieldAttribute(48, "Collection", "*collision_group", 376)]
|
|
public Collection ptr_collision_group;
|
|
[DNAFieldAttribute(49, "EffectorWeights", "*effector_weights", 72)]
|
|
public EffectorWeights ptr_effector_weights;
|
|
[DNAFieldAttribute(50, "float", "lcom[3]", 4)]
|
|
public float[] lcom = new System.Single[3];
|
|
[DNAFieldAttribute(51, "float", "lrot[3][3]", 4)]
|
|
public float[,] lrot = new System.Single[3,3];
|
|
[DNAFieldAttribute(52, "float", "lscale[3][3]", 4)]
|
|
public float[,] lscale = new System.Single[3,3];
|
|
[DNAFieldAttribute(53, "int", "last_frame", 4)]
|
|
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;
|
|
}
|
|
}
|
|
}
|