Files
BlenderSharp/BlendFile/DNA/NodeChroma.cs

60 lines
2.2 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", 44)]
public struct NodeChroma {
[DNAFieldAttribute(0, "float", "t1", "float", 4, false, 0)]
public float t1;
[DNAFieldAttribute(1, "float", "t2", "float", 4, false, 4)]
public float t2;
[DNAFieldAttribute(2, "float", "t3", "float", 4, false, 8)]
public float t3;
[DNAFieldAttribute(3, "float", "fsize", "float", 4, false, 12)]
public float fsize;
[DNAFieldAttribute(4, "float", "fstrength", "float", 4, false, 16)]
public float fstrength;
[DNAFieldAttribute(5, "float", "falpha", "float", 4, false, 20)]
public float falpha;
[DNAFieldAttribute(6, "float", "key[4]", "System.Single[]", 16, false, 24)]
public float[] key = new System.Single[4];
[DNAFieldAttribute(7, "short", "algorithm", "short", 2, false, 40)]
public short algorithm;
[DNAFieldAttribute(8, "short", "channel", "short", 2, false, 42)]
public short channel;
public NodeChroma() {
this.t1 = default;
this.t2 = default;
this.t3 = default;
this.fsize = default;
this.fstrength = default;
this.falpha = default;
this.key = default;
this.algorithm = default;
this.channel = default;
}
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;
}
}
}