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

40 lines
1.4 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(513, "WeightedNormalModifierData")]
public struct WeightedNormalModifierData {
[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, "char", "mode", 1)]
public char mode;
[DNAFieldAttribute(3, "char", "flag", 1)]
public char flag;
[DNAFieldAttribute(4, "short", "weight", 2)]
public short weight;
[DNAFieldAttribute(5, "float", "thresh", 4)]
public float thresh;
public WeightedNormalModifierData(ModifierData modifier, char[] defgrp_name, char mode, char flag, short weight, float thresh) {
this.modifier = modifier;
this.defgrp_name = defgrp_name;
this.mode = mode;
this.flag = flag;
this.weight = weight;
this.thresh = thresh;
}
}
}