Files
BlenderSharp/BlendFile/DNA/MetaBall.cs
2025-03-12 19:02:40 +01:00

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(443, "MetaBall", 312)]
public class MetaBall {
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(16, "ListBase", 2, "elems", "ListBase", false, 216)]
public ListBase elems;
[DNAFieldAttribute(8, "ListBase", 3, "*editelems", "ListBase", true, 232)]
public ListBase editelems;
[DNAFieldAttribute(8, "Ipo", 4, "*ipo", "Ipo", true, 240)]
public Ipo ipo;
[DNAFieldAttribute(8, "Material", 5, "**mat", "Material", true, 248)]
public Material mat;
[DNAFieldAttribute(1, "char", 6, "flag", "char", false, 256)]
public char flag;
[DNAFieldAttribute(1, "char", 7, "flag2", "char", false, 257)]
public char flag2;
[DNAFieldAttribute(2, "short", 8, "totcol", "short", false, 258)]
public short totcol;
[DNAFieldAttribute(1, "char", 9, "texflag", "char", false, 260)]
public char texflag;
[DNAArrayAttribute(2, "char", 10, "_pad[2]", "System.Char[]", 2, false, 261)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(1, "char", 11, "needs_flush_to_id", "char", false, 263)]
public char needs_flush_to_id;
[DNAArrayAttribute(12, "float", 12, "loc[3]", "System.Single[]", 3, false, 264)]
public float[] loc = new System.Single[3];
[DNAArrayAttribute(12, "float", 13, "size[3]", "System.Single[]", 3, false, 276)]
public float[] size = new System.Single[3];
[DNAFieldAttribute(4, "float", 14, "wiresize", "float", false, 288)]
public float wiresize;
[DNAFieldAttribute(4, "float", 15, "rendersize", "float", false, 292)]
public float rendersize;
[DNAFieldAttribute(4, "float", 16, "thresh", "float", false, 296)]
public float thresh;
[DNAArrayAttribute(4, "char", 17, "_pad0[4]", "System.Char[]", 4, false, 300)]
public char[] _pad0 = new System.Char[4];
[DNAFieldAttribute(8, "MetaElem", 18, "*lastelem", "MetaElem", true, 304)]
public MetaElem lastelem;
public MetaBall() {
this.id = default;
this.adt = default;
this.elems = default;
this.editelems = default;
this.ipo = default;
this.mat = default;
this.flag = default;
this.flag2 = default;
this.totcol = default;
this.texflag = default;
this._pad = default;
this.needs_flush_to_id = default;
this.loc = default;
this.size = default;
this.wiresize = default;
this.rendersize = default;
this.thresh = default;
this._pad0 = default;
this.lastelem = default;
}
public MetaBall(
ID id,
AnimData adt,
ListBase elems,
ListBase editelems,
Ipo ipo,
Material mat,
char flag,
char flag2,
short totcol,
char texflag,
char[] _pad,
char needs_flush_to_id,
float[] loc,
float[] size,
float wiresize,
float rendersize,
float thresh,
char[] _pad0,
MetaElem lastelem) {
this.id = id;
this.adt = adt;
this.elems = elems;
this.editelems = editelems;
this.ipo = ipo;
this.mat = mat;
this.flag = flag;
this.flag2 = flag2;
this.totcol = totcol;
this.texflag = texflag;
this._pad = _pad;
this.needs_flush_to_id = needs_flush_to_id;
this.loc = loc;
this.size = size;
this.wiresize = wiresize;
this.rendersize = rendersize;
this.thresh = thresh;
this._pad0 = _pad0;
this.lastelem = lastelem;
}
}
}