Files
BlenderSharp/BlendFile/DNA/MEdge.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(420, "MEdge")]
public struct MEdge {
[DNAFieldAttribute(0, "int", "v1", 4)]
public int v1;
[DNAFieldAttribute(1, "int", "v2", 4)]
public int v2;
[DNAFieldAttribute(2, "char", "crease", 1)]
public char crease;
[DNAFieldAttribute(3, "char", "bweight", 1)]
public char bweight;
[DNAFieldAttribute(4, "short", "flag", 2)]
public short flag;
public MEdge(int v1, int v2, char crease, char bweight, short flag) {
this.v1 = v1;
this.v2 = v2;
this.crease = crease;
this.bweight = bweight;
this.flag = flag;
}
}
}