Files
BlenderSharp/BlendFile/DNA/ParticleData.cs

119 lines
4.2 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")]
public class ParticleData {
[DNAFieldAttribute(0, "ParticleKey", "state", 56)]
public ParticleKey state;
[DNAFieldAttribute(1, "ParticleKey", "prev_state", 56)]
public ParticleKey prev_state;
[DNAFieldAttribute(2, "HairKey", "*hair", 36)]
public HairKey ptr_hair;
[DNAFieldAttribute(3, "ParticleKey", "*keys", 56)]
public ParticleKey ptr_keys;
[DNAFieldAttribute(4, "BoidParticle", "*boid", 56)]
public BoidParticle ptr_boid;
[DNAFieldAttribute(5, "int", "totkey", 4)]
public int totkey;
[DNAFieldAttribute(6, "float", "time", 4)]
public float time;
[DNAFieldAttribute(7, "float", "lifetime", 4)]
public float lifetime;
[DNAFieldAttribute(8, "float", "dietime", 4)]
public float dietime;
[DNAFieldAttribute(9, "int", "num", 4)]
public int num;
[DNAFieldAttribute(10, "int", "num_dmcache", 4)]
public int num_dmcache;
[DNAFieldAttribute(11, "float", "fuv[4]", 4)]
public float[] fuv = new System.Single[4];
[DNAFieldAttribute(12, "float", "foffset", 4)]
public float foffset;
[DNAFieldAttribute(13, "float", "size", 4)]
public float size;
[DNAFieldAttribute(14, "float", "sphdensity", 4)]
public float sphdensity;
[DNAFieldAttribute(15, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(16, "int", "hair_index", 4)]
public int hair_index;
[DNAFieldAttribute(17, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(18, "short", "alive", 2)]
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;
}
}
}