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

43 lines
1.5 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(879, "StripTransform")]
public struct StripTransform {
[DNAFieldAttribute(0, "float", "xofs", 4)]
public float xofs;
[DNAFieldAttribute(1, "float", "yofs", 4)]
public float yofs;
[DNAFieldAttribute(2, "float", "scale_x", 4)]
public float scale_x;
[DNAFieldAttribute(3, "float", "scale_y", 4)]
public float scale_y;
[DNAFieldAttribute(4, "float", "rotation", 4)]
public float rotation;
[DNAFieldAttribute(5, "float", "origin[2]", 4)]
public float[] origin = new System.Single[2];
[DNAFieldAttribute(6, "int", "filter", 4)]
public int filter;
public StripTransform(float xofs, float yofs, float scale_x, float scale_y, float rotation, float[] origin, int filter) {
this.xofs = xofs;
this.yofs = yofs;
this.scale_x = scale_x;
this.scale_y = scale_y;
this.rotation = rotation;
this.origin = origin;
this.filter = filter;
}
}
}