119 lines
4.6 KiB
C#
119 lines
4.6 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(783, "ParticleData", 200)]
|
|
public class ParticleData {
|
|
[DNAFieldAttribute(56, "ParticleKey", 0, "state", "ParticleKey", false, 0)]
|
|
public ParticleKey state;
|
|
[DNAFieldAttribute(56, "ParticleKey", 1, "prev_state", "ParticleKey", false, 56)]
|
|
public ParticleKey prev_state;
|
|
[DNAFieldAttribute(8, "HairKey", 2, "*hair", "HairKey", true, 112)]
|
|
public HairKey hair;
|
|
[DNAFieldAttribute(8, "ParticleKey", 3, "*keys", "ParticleKey", true, 120)]
|
|
public ParticleKey keys;
|
|
[DNAFieldAttribute(8, "BoidParticle", 4, "*boid", "BoidParticle", true, 128)]
|
|
public BoidParticle boid;
|
|
[DNAFieldAttribute(4, "int", 5, "totkey", "int", false, 136)]
|
|
public int totkey;
|
|
[DNAFieldAttribute(4, "float", 6, "time", "float", false, 140)]
|
|
public float time;
|
|
[DNAFieldAttribute(4, "float", 7, "lifetime", "float", false, 144)]
|
|
public float lifetime;
|
|
[DNAFieldAttribute(4, "float", 8, "dietime", "float", false, 148)]
|
|
public float dietime;
|
|
[DNAFieldAttribute(4, "int", 9, "num", "int", false, 152)]
|
|
public int num;
|
|
[DNAFieldAttribute(4, "int", 10, "num_dmcache", "int", false, 156)]
|
|
public int num_dmcache;
|
|
[DNAArrayAttribute(16, "float", 11, "fuv[4]", "System.Single[]", 4, 160)]
|
|
public float[] fuv = new System.Single[4];
|
|
[DNAFieldAttribute(4, "float", 12, "foffset", "float", false, 176)]
|
|
public float foffset;
|
|
[DNAFieldAttribute(4, "float", 13, "size", "float", false, 180)]
|
|
public float size;
|
|
[DNAFieldAttribute(4, "float", 14, "sphdensity", "float", false, 184)]
|
|
public float sphdensity;
|
|
[DNAArrayAttribute(4, "char", 15, "_pad[4]", "System.Char[]", 4, 188)]
|
|
public char[] _pad = new System.Char[4];
|
|
[DNAFieldAttribute(4, "int", 16, "hair_index", "int", false, 192)]
|
|
public int hair_index;
|
|
[DNAFieldAttribute(2, "short", 17, "flag", "short", false, 196)]
|
|
public short flag;
|
|
[DNAFieldAttribute(2, "short", 18, "alive", "short", false, 198)]
|
|
public short alive;
|
|
public ParticleData() {
|
|
this.state = default;
|
|
this.prev_state = default;
|
|
this.hair = default;
|
|
this.keys = default;
|
|
this.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 hair,
|
|
ParticleKey keys,
|
|
BoidParticle 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.hair = hair;
|
|
this.keys = keys;
|
|
this.boid = 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;
|
|
}
|
|
}
|
|
}
|