//------------------------------------------------------------------------------ // // 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(829, "UnitSettings")] public struct UnitSettings { [DNAFieldAttribute(0, "float", "scale_length", "float", 4, false)] public float scale_length; [DNAFieldAttribute(1, "char", "system", "char", 1, false)] public char system; [DNAFieldAttribute(2, "char", "system_rotation", "char", 1, false)] public char system_rotation; [DNAFieldAttribute(3, "short", "flag", "short", 2, false)] public short flag; [DNAFieldAttribute(4, "char", "length_unit", "char", 1, false)] public char length_unit; [DNAFieldAttribute(5, "char", "mass_unit", "char", 1, false)] public char mass_unit; [DNAFieldAttribute(6, "char", "time_unit", "char", 1, false)] public char time_unit; [DNAFieldAttribute(7, "char", "temperature_unit", "char", 1, false)] public char temperature_unit; [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false)] public char[] _pad = new System.Char[4]; public UnitSettings() { this.scale_length = default; this.system = default; this.system_rotation = default; this.flag = default; this.length_unit = default; this.mass_unit = default; this.time_unit = default; this.temperature_unit = default; this._pad = default; } public UnitSettings(float scale_length, char system, char system_rotation, short flag, char length_unit, char mass_unit, char time_unit, char temperature_unit, char[] _pad) { this.scale_length = scale_length; this.system = system; this.system_rotation = system_rotation; this.flag = flag; this.length_unit = length_unit; this.mass_unit = mass_unit; this.time_unit = time_unit; this.temperature_unit = temperature_unit; this._pad = _pad; } } }