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

49 lines
1.9 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(505, "WireframeModifierData")]
public struct WireframeModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", 120)]
public ModifierData modifier;
[DNAFieldAttribute(1, "char", "defgrp_name[64]", 1)]
public char[] defgrp_name = new System.Char[64];
[DNAFieldAttribute(2, "float", "offset", 4)]
public float offset;
[DNAFieldAttribute(3, "float", "offset_fac", 4)]
public float offset_fac;
[DNAFieldAttribute(4, "float", "offset_fac_vg", 4)]
public float offset_fac_vg;
[DNAFieldAttribute(5, "float", "crease_weight", 4)]
public float crease_weight;
[DNAFieldAttribute(6, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(7, "short", "mat_ofs", 2)]
public short mat_ofs;
[DNAFieldAttribute(8, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
public WireframeModifierData(ModifierData modifier, char[] defgrp_name, float offset, float offset_fac, float offset_fac_vg, float crease_weight, short flag, short mat_ofs, char[] _pad) {
this.modifier = modifier;
this.defgrp_name = defgrp_name;
this.offset = offset;
this.offset_fac = offset_fac;
this.offset_fac_vg = offset_fac_vg;
this.crease_weight = crease_weight;
this.flag = flag;
this.mat_ofs = mat_ofs;
this._pad = _pad;
}
}
}