289 lines
12 KiB
C#
289 lines
12 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(247, "Mesh", 1712)]
|
|
public class Mesh {
|
|
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
|
public ID id;
|
|
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
|
|
public AnimData adt;
|
|
[DNAFieldAttribute(8, "Ipo", 2, "*ipo", "Ipo", true, 216)]
|
|
public Ipo ipo;
|
|
[DNAFieldAttribute(8, "Key", 3, "*key", "Key", true, 224)]
|
|
public Key key;
|
|
[DNAFieldAttribute(8, "Material", 4, "**mat", "Material", true, 232)]
|
|
public Material mat;
|
|
[DNAFieldAttribute(4, "int", 5, "totvert", "int", false, 240)]
|
|
public int totvert;
|
|
[DNAFieldAttribute(4, "int", 6, "totedge", "int", false, 244)]
|
|
public int totedge;
|
|
[DNAFieldAttribute(4, "int", 7, "totpoly", "int", false, 248)]
|
|
public int totpoly;
|
|
[DNAFieldAttribute(4, "int", 8, "totloop", "int", false, 252)]
|
|
public int totloop;
|
|
[DNAFieldAttribute(8, "int", 9, "*poly_offset_indices", "int", true, 256)]
|
|
public int poly_offset_indices;
|
|
[DNAFieldAttribute(248, "CustomData", 10, "vdata", "CustomData", false, 264)]
|
|
public CustomData vdata;
|
|
[DNAFieldAttribute(248, "CustomData", 11, "edata", "CustomData", false, 512)]
|
|
public CustomData edata;
|
|
[DNAFieldAttribute(248, "CustomData", 12, "pdata", "CustomData", false, 760)]
|
|
public CustomData pdata;
|
|
[DNAFieldAttribute(248, "CustomData", 13, "ldata", "CustomData", false, 1008)]
|
|
public CustomData ldata;
|
|
[DNAFieldAttribute(16, "ListBase", 14, "vertex_group_names", "ListBase", false, 1256)]
|
|
public ListBase vertex_group_names;
|
|
[DNAFieldAttribute(4, "int", 15, "vertex_group_active_index", "int", false, 1272)]
|
|
public int vertex_group_active_index;
|
|
[DNAFieldAttribute(4, "int", 16, "attributes_active_index", "int", false, 1276)]
|
|
public int attributes_active_index;
|
|
[DNAFieldAttribute(8, "MSelect", 17, "*mselect", "MSelect", true, 1280)]
|
|
public MSelect mselect;
|
|
[DNAFieldAttribute(4, "int", 18, "totselect", "int", false, 1288)]
|
|
public int totselect;
|
|
[DNAFieldAttribute(4, "int", 19, "act_face", "int", false, 1292)]
|
|
public int act_face;
|
|
[DNAFieldAttribute(8, "Mesh", 20, "*texcomesh", "Mesh", true, 1296)]
|
|
public Mesh texcomesh;
|
|
[DNAArrayAttribute(12, "float", 21, "loc[3]", "System.Single[]", 3, false, 1304)]
|
|
public float[] loc = new System.Single[3];
|
|
[DNAArrayAttribute(12, "float", 22, "size[3]", "System.Single[]", 3, false, 1316)]
|
|
public float[] size = new System.Single[3];
|
|
[DNAFieldAttribute(1, "char", 23, "texflag", "char", false, 1328)]
|
|
public char texflag;
|
|
[DNAFieldAttribute(1, "char", 24, "editflag", "char", false, 1329)]
|
|
public char editflag;
|
|
[DNAFieldAttribute(2, "ushort", 25, "flag", "ushort", false, 1330)]
|
|
public ushort flag;
|
|
[DNAFieldAttribute(4, "float", 26, "smoothresh", "float", false, 1332)]
|
|
public float smoothresh;
|
|
[DNAFieldAttribute(4, "float", 27, "remesh_voxel_size", "float", false, 1336)]
|
|
public float remesh_voxel_size;
|
|
[DNAFieldAttribute(4, "float", 28, "remesh_voxel_adaptivity", "float", false, 1340)]
|
|
public float remesh_voxel_adaptivity;
|
|
[DNAFieldAttribute(4, "int", 29, "face_sets_color_seed", "int", false, 1344)]
|
|
public int face_sets_color_seed;
|
|
[DNAFieldAttribute(4, "int", 30, "face_sets_color_default", "int", false, 1348)]
|
|
public int face_sets_color_default;
|
|
[DNAFieldAttribute(8, "char", 31, "*active_color_attribute", "char", true, 1352)]
|
|
public char active_color_attribute;
|
|
[DNAFieldAttribute(8, "char", 32, "*default_color_attribute", "char", true, 1360)]
|
|
public char default_color_attribute;
|
|
[DNAFieldAttribute(1, "char", 33, "symmetry", "char", false, 1368)]
|
|
public char symmetry;
|
|
[DNAFieldAttribute(1, "char", 34, "remesh_mode", "char", false, 1369)]
|
|
public char remesh_mode;
|
|
[DNAFieldAttribute(2, "short", 35, "totcol", "short", false, 1370)]
|
|
public short totcol;
|
|
[DNAFieldAttribute(1, "char", 36, "cd_flag", "char", false, 1372)]
|
|
public char cd_flag;
|
|
[DNAFieldAttribute(1, "char", 37, "subdiv", "char", false, 1373)]
|
|
public char subdiv;
|
|
[DNAFieldAttribute(1, "char", 38, "subdivr", "char", false, 1374)]
|
|
public char subdivr;
|
|
[DNAFieldAttribute(1, "char", 39, "subsurftype", "char", false, 1375)]
|
|
public char subsurftype;
|
|
[DNAFieldAttribute(8, "MPoly", 40, "*mpoly", "MPoly", true, 1376)]
|
|
public MPoly mpoly;
|
|
[DNAFieldAttribute(8, "MLoop", 41, "*mloop", "MLoop", true, 1384)]
|
|
public MLoop mloop;
|
|
[DNAFieldAttribute(8, "MVert", 42, "*mvert", "MVert", true, 1392)]
|
|
public MVert mvert;
|
|
[DNAFieldAttribute(8, "MEdge", 43, "*medge", "MEdge", true, 1400)]
|
|
public MEdge medge;
|
|
[DNAFieldAttribute(8, "MDeformVert", 44, "*dvert", "MDeformVert", true, 1408)]
|
|
public MDeformVert dvert;
|
|
[DNAFieldAttribute(8, "MTFace", 45, "*mtface", "MTFace", true, 1416)]
|
|
public MTFace mtface;
|
|
[DNAFieldAttribute(8, "TFace", 46, "*tface", "TFace", true, 1424)]
|
|
public TFace tface;
|
|
[DNAFieldAttribute(8, "MCol", 47, "*mcol", "MCol", true, 1432)]
|
|
public MCol mcol;
|
|
[DNAFieldAttribute(8, "MFace", 48, "*mface", "MFace", true, 1440)]
|
|
public MFace mface;
|
|
[DNAFieldAttribute(248, "CustomData", 49, "fdata", "CustomData", false, 1448)]
|
|
public CustomData fdata;
|
|
[DNAFieldAttribute(4, "int", 50, "totface", "int", false, 1696)]
|
|
public int totface;
|
|
[DNAArrayAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", 4, false, 1700)]
|
|
public char[] _pad1 = new System.Char[4];
|
|
[DNAFieldAttribute(8, "MeshRuntimeHandle", 52, "*runtime", "MeshRuntimeHandle", true, 1704)]
|
|
public MeshRuntimeHandle runtime;
|
|
public Mesh() {
|
|
this.id = default;
|
|
this.adt = default;
|
|
this.ipo = default;
|
|
this.key = default;
|
|
this.mat = default;
|
|
this.totvert = default;
|
|
this.totedge = default;
|
|
this.totpoly = default;
|
|
this.totloop = default;
|
|
this.poly_offset_indices = default;
|
|
this.vdata = default;
|
|
this.edata = default;
|
|
this.pdata = default;
|
|
this.ldata = default;
|
|
this.vertex_group_names = default;
|
|
this.vertex_group_active_index = default;
|
|
this.attributes_active_index = default;
|
|
this.mselect = default;
|
|
this.totselect = default;
|
|
this.act_face = default;
|
|
this.texcomesh = default;
|
|
this.loc = default;
|
|
this.size = default;
|
|
this.texflag = default;
|
|
this.editflag = default;
|
|
this.flag = default;
|
|
this.smoothresh = default;
|
|
this.remesh_voxel_size = default;
|
|
this.remesh_voxel_adaptivity = default;
|
|
this.face_sets_color_seed = default;
|
|
this.face_sets_color_default = default;
|
|
this.active_color_attribute = default;
|
|
this.default_color_attribute = default;
|
|
this.symmetry = default;
|
|
this.remesh_mode = default;
|
|
this.totcol = default;
|
|
this.cd_flag = default;
|
|
this.subdiv = default;
|
|
this.subdivr = default;
|
|
this.subsurftype = default;
|
|
this.mpoly = default;
|
|
this.mloop = default;
|
|
this.mvert = default;
|
|
this.medge = default;
|
|
this.dvert = default;
|
|
this.mtface = default;
|
|
this.tface = default;
|
|
this.mcol = default;
|
|
this.mface = default;
|
|
this.fdata = default;
|
|
this.totface = default;
|
|
this._pad1 = default;
|
|
this.runtime = default;
|
|
}
|
|
public Mesh(
|
|
ID id,
|
|
AnimData adt,
|
|
Ipo ipo,
|
|
Key key,
|
|
Material mat,
|
|
int totvert,
|
|
int totedge,
|
|
int totpoly,
|
|
int totloop,
|
|
int poly_offset_indices,
|
|
CustomData vdata,
|
|
CustomData edata,
|
|
CustomData pdata,
|
|
CustomData ldata,
|
|
ListBase vertex_group_names,
|
|
int vertex_group_active_index,
|
|
int attributes_active_index,
|
|
MSelect mselect,
|
|
int totselect,
|
|
int act_face,
|
|
Mesh texcomesh,
|
|
float[] loc,
|
|
float[] size,
|
|
char texflag,
|
|
char editflag,
|
|
ushort flag,
|
|
float smoothresh,
|
|
float remesh_voxel_size,
|
|
float remesh_voxel_adaptivity,
|
|
int face_sets_color_seed,
|
|
int face_sets_color_default,
|
|
char active_color_attribute,
|
|
char default_color_attribute,
|
|
char symmetry,
|
|
char remesh_mode,
|
|
short totcol,
|
|
char cd_flag,
|
|
char subdiv,
|
|
char subdivr,
|
|
char subsurftype,
|
|
MPoly mpoly,
|
|
MLoop mloop,
|
|
MVert mvert,
|
|
MEdge medge,
|
|
MDeformVert dvert,
|
|
MTFace mtface,
|
|
TFace tface,
|
|
MCol mcol,
|
|
MFace mface,
|
|
CustomData fdata,
|
|
int totface,
|
|
char[] _pad1,
|
|
MeshRuntimeHandle runtime) {
|
|
this.id = id;
|
|
this.adt = adt;
|
|
this.ipo = ipo;
|
|
this.key = key;
|
|
this.mat = mat;
|
|
this.totvert = totvert;
|
|
this.totedge = totedge;
|
|
this.totpoly = totpoly;
|
|
this.totloop = totloop;
|
|
this.poly_offset_indices = poly_offset_indices;
|
|
this.vdata = vdata;
|
|
this.edata = edata;
|
|
this.pdata = pdata;
|
|
this.ldata = ldata;
|
|
this.vertex_group_names = vertex_group_names;
|
|
this.vertex_group_active_index = vertex_group_active_index;
|
|
this.attributes_active_index = attributes_active_index;
|
|
this.mselect = mselect;
|
|
this.totselect = totselect;
|
|
this.act_face = act_face;
|
|
this.texcomesh = texcomesh;
|
|
this.loc = loc;
|
|
this.size = size;
|
|
this.texflag = texflag;
|
|
this.editflag = editflag;
|
|
this.flag = flag;
|
|
this.smoothresh = smoothresh;
|
|
this.remesh_voxel_size = remesh_voxel_size;
|
|
this.remesh_voxel_adaptivity = remesh_voxel_adaptivity;
|
|
this.face_sets_color_seed = face_sets_color_seed;
|
|
this.face_sets_color_default = face_sets_color_default;
|
|
this.active_color_attribute = active_color_attribute;
|
|
this.default_color_attribute = default_color_attribute;
|
|
this.symmetry = symmetry;
|
|
this.remesh_mode = remesh_mode;
|
|
this.totcol = totcol;
|
|
this.cd_flag = cd_flag;
|
|
this.subdiv = subdiv;
|
|
this.subdivr = subdivr;
|
|
this.subsurftype = subsurftype;
|
|
this.mpoly = mpoly;
|
|
this.mloop = mloop;
|
|
this.mvert = mvert;
|
|
this.medge = medge;
|
|
this.dvert = dvert;
|
|
this.mtface = mtface;
|
|
this.tface = tface;
|
|
this.mcol = mcol;
|
|
this.mface = mface;
|
|
this.fdata = fdata;
|
|
this.totface = totface;
|
|
this._pad1 = _pad1;
|
|
this.runtime = runtime;
|
|
}
|
|
}
|
|
}
|