Files
BlenderSharp/BlendFile/DNA/NodeChroma.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.7 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(618, "NodeChroma")]
public struct NodeChroma {
[DNAFieldAttribute(0, "float", "t1", 4)]
public float t1;
[DNAFieldAttribute(1, "float", "t2", 4)]
public float t2;
[DNAFieldAttribute(2, "float", "t3", 4)]
public float t3;
[DNAFieldAttribute(3, "float", "fsize", 4)]
public float fsize;
[DNAFieldAttribute(4, "float", "fstrength", 4)]
public float fstrength;
[DNAFieldAttribute(5, "float", "falpha", 4)]
public float falpha;
[DNAFieldAttribute(6, "float", "key[4]", 4)]
public float[] key = new System.Single[4];
[DNAFieldAttribute(7, "short", "algorithm", 2)]
public short algorithm;
[DNAFieldAttribute(8, "short", "channel", 2)]
public short channel;
public NodeChroma(float t1, float t2, float t3, float fsize, float fstrength, float falpha, float[] key, short algorithm, short channel) {
this.t1 = t1;
this.t2 = t2;
this.t3 = t3;
this.fsize = fsize;
this.fstrength = fstrength;
this.falpha = falpha;
this.key = key;
this.algorithm = algorithm;
this.channel = channel;
}
}
}