Files
BlenderSharp/BlendFile/DNA/MetaBall.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

98 lines
3.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")]
public class MetaBall {
[DNAFieldAttribute(0, "ID", "id", 208)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", 248)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "ListBase", "elems", 16)]
public ListBase elems;
[DNAFieldAttribute(3, "ListBase", "*editelems", 16)]
public ListBase ptr_editelems;
[DNAFieldAttribute(4, "Ipo", "*ipo", 248)]
public Ipo ptr_ipo;
[DNAFieldAttribute(5, "Material", "**mat", 392)]
public Material ptr_ptr_mat;
[DNAFieldAttribute(6, "char", "flag", 1)]
public char flag;
[DNAFieldAttribute(7, "char", "flag2", 1)]
public char flag2;
[DNAFieldAttribute(8, "short", "totcol", 2)]
public short totcol;
[DNAFieldAttribute(9, "char", "texflag", 1)]
public char texflag;
[DNAFieldAttribute(10, "char", "_pad[2]", 1)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(11, "char", "needs_flush_to_id", 1)]
public char needs_flush_to_id;
[DNAFieldAttribute(12, "float", "loc[3]", 4)]
public float[] loc = new System.Single[3];
[DNAFieldAttribute(13, "float", "size[3]", 4)]
public float[] size = new System.Single[3];
[DNAFieldAttribute(14, "float", "wiresize", 4)]
public float wiresize;
[DNAFieldAttribute(15, "float", "rendersize", 4)]
public float rendersize;
[DNAFieldAttribute(16, "float", "thresh", 4)]
public float thresh;
[DNAFieldAttribute(17, "char", "_pad0[4]", 1)]
public char[] _pad0 = new System.Char[4];
[DNAFieldAttribute(18, "MetaElem", "*lastelem", 104)]
public MetaElem ptr_lastelem;
public MetaBall(
ID id,
AnimData ptr_adt,
ListBase elems,
ListBase ptr_editelems,
Ipo ptr_ipo,
Material ptr_ptr_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 ptr_lastelem) {
this.id = id;
this.ptr_adt = ptr_adt;
this.elems = elems;
this.ptr_editelems = ptr_editelems;
this.ptr_ipo = ptr_ipo;
this.ptr_ptr_mat = ptr_ptr_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.ptr_lastelem = ptr_lastelem;
}
}
}