Files
BlenderSharp/BlendFile/DNA/ParticleData.cs
2025-02-19 17:07:50 +01:00

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