Files
BlenderSharp/BlendFile/DNA/MPoly.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

37 lines
1.1 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(417, "MPoly")]
public struct MPoly {
[DNAFieldAttribute(0, "int", "loopstart", 4)]
public int loopstart;
[DNAFieldAttribute(1, "int", "totloop", 4)]
public int totloop;
[DNAFieldAttribute(2, "short", "mat_nr", 2)]
public short mat_nr;
[DNAFieldAttribute(3, "char", "flag", 1)]
public char flag;
[DNAFieldAttribute(4, "char", "_pad", 1)]
public char _pad;
public MPoly(int loopstart, int totloop, short mat_nr, char flag, char _pad) {
this.loopstart = loopstart;
this.totloop = totloop;
this.mat_nr = mat_nr;
this.flag = flag;
this._pad = _pad;
}
}
}