//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(457, "DecimateModifierData")] public struct DecimateModifierData { [DNAFieldAttribute(0, "ModifierData", "modifier", 120)] public ModifierData modifier; [DNAFieldAttribute(1, "float", "percent", 4)] public float percent; [DNAFieldAttribute(2, "short", "iter", 2)] public short iter; [DNAFieldAttribute(3, "char", "delimit", 1)] public char delimit; [DNAFieldAttribute(4, "char", "symmetry_axis", 1)] public char symmetry_axis; [DNAFieldAttribute(5, "float", "angle", 4)] public float angle; [DNAFieldAttribute(6, "char", "defgrp_name[64]", 1)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(7, "float", "defgrp_factor", 4)] public float defgrp_factor; [DNAFieldAttribute(8, "short", "flag", 2)] public short flag; [DNAFieldAttribute(9, "short", "mode", 2)] public short mode; [DNAFieldAttribute(10, "int", "face_count", 4)] public int face_count; public DecimateModifierData() { this.modifier = default; this.percent = default; this.iter = default; this.delimit = default; this.symmetry_axis = default; this.angle = default; this.defgrp_name = default; this.defgrp_factor = default; this.flag = default; this.mode = default; this.face_count = default; } public DecimateModifierData(ModifierData modifier, float percent, short iter, char delimit, char symmetry_axis, float angle, char[] defgrp_name, float defgrp_factor, short flag, short mode, int face_count) { this.modifier = modifier; this.percent = percent; this.iter = iter; this.delimit = delimit; this.symmetry_axis = symmetry_axis; this.angle = angle; this.defgrp_name = defgrp_name; this.defgrp_factor = defgrp_factor; this.flag = flag; this.mode = mode; this.face_count = face_count; } } }