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

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")]
public class Mesh {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 4, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "Ipo", "*ipo", "Ipo", 4, true)]
public Ipo ptr_ipo;
[DNAFieldAttribute(3, "Key", "*key", "Key", 4, true)]
public Key ptr_key;
[DNAFieldAttribute(4, "Material", "**mat", "Material", 4, true)]
public Material ptr_ptr_mat;
[DNAFieldAttribute(5, "int", "totvert", "int", 4, false)]
public int totvert;
[DNAFieldAttribute(6, "int", "totedge", "int", 4, false)]
public int totedge;
[DNAFieldAttribute(7, "int", "totpoly", "int", 4, false)]
public int totpoly;
[DNAFieldAttribute(8, "int", "totloop", "int", 4, false)]
public int totloop;
[DNAFieldAttribute(9, "int", "*poly_offset_indices", "int", 4, true)]
public int ptr_poly_offset_indices;
[DNAFieldAttribute(10, "CustomData", "vdata", "CustomData", 248, false)]
public CustomData vdata;
[DNAFieldAttribute(11, "CustomData", "edata", "CustomData", 248, false)]
public CustomData edata;
[DNAFieldAttribute(12, "CustomData", "pdata", "CustomData", 248, false)]
public CustomData pdata;
[DNAFieldAttribute(13, "CustomData", "ldata", "CustomData", 248, false)]
public CustomData ldata;
[DNAFieldAttribute(14, "ListBase", "vertex_group_names", "ListBase", 16, false)]
public ListBase vertex_group_names;
[DNAFieldAttribute(15, "int", "vertex_group_active_index", "int", 4, false)]
public int vertex_group_active_index;
[DNAFieldAttribute(16, "int", "attributes_active_index", "int", 4, false)]
public int attributes_active_index;
[DNAFieldAttribute(17, "MSelect", "*mselect", "MSelect", 4, true)]
public MSelect ptr_mselect;
[DNAFieldAttribute(18, "int", "totselect", "int", 4, false)]
public int totselect;
[DNAFieldAttribute(19, "int", "act_face", "int", 4, false)]
public int act_face;
[DNAFieldAttribute(20, "Mesh", "*texcomesh", "Mesh", 4, true)]
public Mesh ptr_texcomesh;
[DNAFieldAttribute(21, "float", "loc[3]", "System.Single[]", 12, false)]
public float[] loc = new System.Single[3];
[DNAFieldAttribute(22, "float", "size[3]", "System.Single[]", 12, false)]
public float[] size = new System.Single[3];
[DNAFieldAttribute(23, "char", "texflag", "char", 1, false)]
public char texflag;
[DNAFieldAttribute(24, "char", "editflag", "char", 1, false)]
public char editflag;
[DNAFieldAttribute(25, "ushort", "flag", "ushort", 2, false)]
public ushort flag;
[DNAFieldAttribute(26, "float", "smoothresh", "float", 4, false)]
public float smoothresh;
[DNAFieldAttribute(27, "float", "remesh_voxel_size", "float", 4, false)]
public float remesh_voxel_size;
[DNAFieldAttribute(28, "float", "remesh_voxel_adaptivity", "float", 4, false)]
public float remesh_voxel_adaptivity;
[DNAFieldAttribute(29, "int", "face_sets_color_seed", "int", 4, false)]
public int face_sets_color_seed;
[DNAFieldAttribute(30, "int", "face_sets_color_default", "int", 4, false)]
public int face_sets_color_default;
[DNAFieldAttribute(31, "char", "*active_color_attribute", "char", 4, true)]
public char ptr_active_color_attribute;
[DNAFieldAttribute(32, "char", "*default_color_attribute", "char", 4, true)]
public char ptr_default_color_attribute;
[DNAFieldAttribute(33, "char", "symmetry", "char", 1, false)]
public char symmetry;
[DNAFieldAttribute(34, "char", "remesh_mode", "char", 1, false)]
public char remesh_mode;
[DNAFieldAttribute(35, "short", "totcol", "short", 2, false)]
public short totcol;
[DNAFieldAttribute(36, "char", "cd_flag", "char", 1, false)]
public char cd_flag;
[DNAFieldAttribute(37, "char", "subdiv", "char", 1, false)]
public char subdiv;
[DNAFieldAttribute(38, "char", "subdivr", "char", 1, false)]
public char subdivr;
[DNAFieldAttribute(39, "char", "subsurftype", "char", 1, false)]
public char subsurftype;
[DNAFieldAttribute(40, "MPoly", "*mpoly", "MPoly", 4, true)]
public MPoly ptr_mpoly;
[DNAFieldAttribute(41, "MLoop", "*mloop", "MLoop", 4, true)]
public MLoop ptr_mloop;
[DNAFieldAttribute(42, "MVert", "*mvert", "MVert", 4, true)]
public MVert ptr_mvert;
[DNAFieldAttribute(43, "MEdge", "*medge", "MEdge", 4, true)]
public MEdge ptr_medge;
[DNAFieldAttribute(44, "MDeformVert", "*dvert", "MDeformVert", 4, true)]
public MDeformVert ptr_dvert;
[DNAFieldAttribute(45, "MTFace", "*mtface", "MTFace", 4, true)]
public MTFace ptr_mtface;
[DNAFieldAttribute(46, "TFace", "*tface", "TFace", 4, true)]
public TFace ptr_tface;
[DNAFieldAttribute(47, "MCol", "*mcol", "MCol", 4, true)]
public MCol ptr_mcol;
[DNAFieldAttribute(48, "MFace", "*mface", "MFace", 4, true)]
public MFace ptr_mface;
[DNAFieldAttribute(49, "CustomData", "fdata", "CustomData", 248, false)]
public CustomData fdata;
[DNAFieldAttribute(50, "int", "totface", "int", 4, false)]
public int totface;
[DNAFieldAttribute(51, "char", "_pad1[4]", "System.Char[]", 4, false)]
public char[] _pad1 = new System.Char[4];
[DNAFieldAttribute(52, "MeshRuntimeHandle", "*runtime", "MeshRuntimeHandle", 4, true)]
public MeshRuntimeHandle ptr_runtime;
public Mesh() {
this.id = default;
this.ptr_adt = default;
this.ptr_ipo = default;
this.ptr_key = default;
this.ptr_ptr_mat = default;
this.totvert = default;
this.totedge = default;
this.totpoly = default;
this.totloop = default;
this.ptr_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.ptr_mselect = default;
this.totselect = default;
this.act_face = default;
this.ptr_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.ptr_active_color_attribute = default;
this.ptr_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.ptr_mpoly = default;
this.ptr_mloop = default;
this.ptr_mvert = default;
this.ptr_medge = default;
this.ptr_dvert = default;
this.ptr_mtface = default;
this.ptr_tface = default;
this.ptr_mcol = default;
this.ptr_mface = default;
this.fdata = default;
this.totface = default;
this._pad1 = default;
this.ptr_runtime = default;
}
public Mesh(
ID id,
AnimData ptr_adt,
Ipo ptr_ipo,
Key ptr_key,
Material ptr_ptr_mat,
int totvert,
int totedge,
int totpoly,
int totloop,
int ptr_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 ptr_mselect,
int totselect,
int act_face,
Mesh ptr_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 ptr_active_color_attribute,
char ptr_default_color_attribute,
char symmetry,
char remesh_mode,
short totcol,
char cd_flag,
char subdiv,
char subdivr,
char subsurftype,
MPoly ptr_mpoly,
MLoop ptr_mloop,
MVert ptr_mvert,
MEdge ptr_medge,
MDeformVert ptr_dvert,
MTFace ptr_mtface,
TFace ptr_tface,
MCol ptr_mcol,
MFace ptr_mface,
CustomData fdata,
int totface,
char[] _pad1,
MeshRuntimeHandle ptr_runtime) {
this.id = id;
this.ptr_adt = ptr_adt;
this.ptr_ipo = ptr_ipo;
this.ptr_key = ptr_key;
this.ptr_ptr_mat = ptr_ptr_mat;
this.totvert = totvert;
this.totedge = totedge;
this.totpoly = totpoly;
this.totloop = totloop;
this.ptr_poly_offset_indices = ptr_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.ptr_mselect = ptr_mselect;
this.totselect = totselect;
this.act_face = act_face;
this.ptr_texcomesh = ptr_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.ptr_active_color_attribute = ptr_active_color_attribute;
this.ptr_default_color_attribute = ptr_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.ptr_mpoly = ptr_mpoly;
this.ptr_mloop = ptr_mloop;
this.ptr_mvert = ptr_mvert;
this.ptr_medge = ptr_medge;
this.ptr_dvert = ptr_dvert;
this.ptr_mtface = ptr_mtface;
this.ptr_tface = ptr_tface;
this.ptr_mcol = ptr_mcol;
this.ptr_mface = ptr_mface;
this.fdata = fdata;
this.totface = totface;
this._pad1 = _pad1;
this.ptr_runtime = ptr_runtime;
}
}
}