76 lines
3.0 KiB
C#
76 lines
3.0 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(128, "CurveMapping", 424)]
|
|
public struct CurveMapping {
|
|
[DNAFieldAttribute(0, "int", "flag", "int", 4, false)]
|
|
public int flag;
|
|
[DNAFieldAttribute(1, "int", "cur", "int", 4, false)]
|
|
public int cur;
|
|
[DNAFieldAttribute(2, "int", "preset", "int", 4, false)]
|
|
public int preset;
|
|
[DNAFieldAttribute(3, "int", "changed_timestamp", "int", 4, false)]
|
|
public int changed_timestamp;
|
|
[DNAFieldAttribute(4, "rctf", "curr", "rctf", 16, false)]
|
|
public rctf curr;
|
|
[DNAFieldAttribute(5, "rctf", "clipr", "rctf", 16, false)]
|
|
public rctf clipr;
|
|
[DNAFieldAttribute(6, "CurveMap", "cm[4]", "CurveMap[]", 320, false)]
|
|
public CurveMap[] cm = new CurveMap[4];
|
|
[DNAFieldAttribute(7, "float", "black[3]", "System.Single[]", 12, false)]
|
|
public float[] black = new System.Single[3];
|
|
[DNAFieldAttribute(8, "float", "white[3]", "System.Single[]", 12, false)]
|
|
public float[] white = new System.Single[3];
|
|
[DNAFieldAttribute(9, "float", "bwmul[3]", "System.Single[]", 12, false)]
|
|
public float[] bwmul = new System.Single[3];
|
|
[DNAFieldAttribute(10, "float", "sample[3]", "System.Single[]", 12, false)]
|
|
public float[] sample = new System.Single[3];
|
|
[DNAFieldAttribute(11, "short", "tone", "short", 2, false)]
|
|
public short tone;
|
|
[DNAFieldAttribute(12, "char", "_pad[6]", "System.Char[]", 6, false)]
|
|
public char[] _pad = new System.Char[6];
|
|
public CurveMapping() {
|
|
this.flag = default;
|
|
this.cur = default;
|
|
this.preset = default;
|
|
this.changed_timestamp = default;
|
|
this.curr = default;
|
|
this.clipr = default;
|
|
this.cm = default;
|
|
this.black = default;
|
|
this.white = default;
|
|
this.bwmul = default;
|
|
this.sample = default;
|
|
this.tone = default;
|
|
this._pad = default;
|
|
}
|
|
public CurveMapping(int flag, int cur, int preset, int changed_timestamp, rctf curr, rctf clipr, CurveMap[] cm, float[] black, float[] white, float[] bwmul, float[] sample, short tone, char[] _pad) {
|
|
this.flag = flag;
|
|
this.cur = cur;
|
|
this.preset = preset;
|
|
this.changed_timestamp = changed_timestamp;
|
|
this.curr = curr;
|
|
this.clipr = clipr;
|
|
this.cm = cm;
|
|
this.black = black;
|
|
this.white = white;
|
|
this.bwmul = bwmul;
|
|
this.sample = sample;
|
|
this.tone = tone;
|
|
this._pad = _pad;
|
|
}
|
|
}
|
|
}
|