Files
BlenderSharp/BlendFile/DNA/UnitSettings.cs
2025-03-04 18:48:04 +01:00

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