60 lines
2.4 KiB
C#
60 lines
2.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(829, "UnitSettings", 16)]
|
|
public struct UnitSettings {
|
|
[DNAFieldAttribute(0, "float", "scale_length", "float", 4, false, 0)]
|
|
public float scale_length;
|
|
[DNAFieldAttribute(1, "char", "system", "char", 1, false, 4)]
|
|
public char system;
|
|
[DNAFieldAttribute(2, "char", "system_rotation", "char", 1, false, 5)]
|
|
public char system_rotation;
|
|
[DNAFieldAttribute(3, "short", "flag", "short", 2, false, 6)]
|
|
public short flag;
|
|
[DNAFieldAttribute(4, "char", "length_unit", "char", 1, false, 8)]
|
|
public char length_unit;
|
|
[DNAFieldAttribute(5, "char", "mass_unit", "char", 1, false, 9)]
|
|
public char mass_unit;
|
|
[DNAFieldAttribute(6, "char", "time_unit", "char", 1, false, 10)]
|
|
public char time_unit;
|
|
[DNAFieldAttribute(7, "char", "temperature_unit", "char", 1, false, 11)]
|
|
public char temperature_unit;
|
|
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 12)]
|
|
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;
|
|
}
|
|
}
|
|
}
|