//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(783, "ParticleData", 200)] public class ParticleData { [DNAFieldAttribute(0, "ParticleKey", "state", "ParticleKey", 56, false, 0)] public ParticleKey state; [DNAFieldAttribute(1, "ParticleKey", "prev_state", "ParticleKey", 56, false, 56)] public ParticleKey prev_state; [DNAFieldAttribute(2, "HairKey", "*hair", "HairKey", 8, true, 112)] public HairKey ptr_hair; [DNAFieldAttribute(3, "ParticleKey", "*keys", "ParticleKey", 8, true, 120)] public ParticleKey ptr_keys; [DNAFieldAttribute(4, "BoidParticle", "*boid", "BoidParticle", 8, true, 128)] public BoidParticle ptr_boid; [DNAFieldAttribute(5, "int", "totkey", "int", 4, false, 136)] public int totkey; [DNAFieldAttribute(6, "float", "time", "float", 4, false, 140)] public float time; [DNAFieldAttribute(7, "float", "lifetime", "float", 4, false, 144)] public float lifetime; [DNAFieldAttribute(8, "float", "dietime", "float", 4, false, 148)] public float dietime; [DNAFieldAttribute(9, "int", "num", "int", 4, false, 152)] public int num; [DNAFieldAttribute(10, "int", "num_dmcache", "int", 4, false, 156)] public int num_dmcache; [DNAFieldAttribute(11, "float", "fuv[4]", "System.Single[]", 16, false, 160)] public float[] fuv = new System.Single[4]; [DNAFieldAttribute(12, "float", "foffset", "float", 4, false, 176)] public float foffset; [DNAFieldAttribute(13, "float", "size", "float", 4, false, 180)] public float size; [DNAFieldAttribute(14, "float", "sphdensity", "float", 4, false, 184)] public float sphdensity; [DNAFieldAttribute(15, "char", "_pad[4]", "System.Char[]", 4, false, 188)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(16, "int", "hair_index", "int", 4, false, 192)] public int hair_index; [DNAFieldAttribute(17, "short", "flag", "short", 2, false, 196)] public short flag; [DNAFieldAttribute(18, "short", "alive", "short", 2, false, 198)] public short alive; public ParticleData() { this.state = default; this.prev_state = default; this.ptr_hair = default; this.ptr_keys = default; this.ptr_boid = default; this.totkey = default; this.time = default; this.lifetime = default; this.dietime = default; this.num = default; this.num_dmcache = default; this.fuv = default; this.foffset = default; this.size = default; this.sphdensity = default; this._pad = default; this.hair_index = default; this.flag = default; this.alive = default; } public ParticleData( ParticleKey state, ParticleKey prev_state, HairKey ptr_hair, ParticleKey ptr_keys, BoidParticle ptr_boid, int totkey, float time, float lifetime, float dietime, int num, int num_dmcache, float[] fuv, float foffset, float size, float sphdensity, char[] _pad, int hair_index, short flag, short alive) { this.state = state; this.prev_state = prev_state; this.ptr_hair = ptr_hair; this.ptr_keys = ptr_keys; this.ptr_boid = ptr_boid; this.totkey = totkey; this.time = time; this.lifetime = lifetime; this.dietime = dietime; this.num = num; this.num_dmcache = num_dmcache; this.fuv = fuv; this.foffset = foffset; this.size = size; this.sphdensity = sphdensity; this._pad = _pad; this.hair_index = hair_index; this.flag = flag; this.alive = alive; } } }