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

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