Files
BlenderSharp/BlendFile/DNA/Mesh.cs
2025-01-22 20:24:55 +01:00

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