60 lines
2.4 KiB
C#
60 lines
2.4 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(636, "ColorMapping", 816)]
|
|
public struct ColorMapping {
|
|
[DNAFieldAttribute(0, "ColorBand", "coba", "ColorBand", 776, false, 0)]
|
|
public ColorBand coba;
|
|
[DNAFieldAttribute(1, "float", "bright", "float", 4, false, 776)]
|
|
public float bright;
|
|
[DNAFieldAttribute(2, "float", "contrast", "float", 4, false, 780)]
|
|
public float contrast;
|
|
[DNAFieldAttribute(3, "float", "saturation", "float", 4, false, 784)]
|
|
public float saturation;
|
|
[DNAFieldAttribute(4, "int", "flag", "int", 4, false, 788)]
|
|
public int flag;
|
|
[DNAFieldAttribute(5, "float", "blend_color[3]", "System.Single[]", 12, false, 792)]
|
|
public float[] blend_color = new System.Single[3];
|
|
[DNAFieldAttribute(6, "float", "blend_factor", "float", 4, false, 804)]
|
|
public float blend_factor;
|
|
[DNAFieldAttribute(7, "int", "blend_type", "int", 4, false, 808)]
|
|
public int blend_type;
|
|
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 812)]
|
|
public char[] _pad = new System.Char[4];
|
|
public ColorMapping() {
|
|
this.coba = default;
|
|
this.bright = default;
|
|
this.contrast = default;
|
|
this.saturation = default;
|
|
this.flag = default;
|
|
this.blend_color = default;
|
|
this.blend_factor = default;
|
|
this.blend_type = default;
|
|
this._pad = default;
|
|
}
|
|
public ColorMapping(ColorBand coba, float bright, float contrast, float saturation, int flag, float[] blend_color, float blend_factor, int blend_type, char[] _pad) {
|
|
this.coba = coba;
|
|
this.bright = bright;
|
|
this.contrast = contrast;
|
|
this.saturation = saturation;
|
|
this.flag = flag;
|
|
this.blend_color = blend_color;
|
|
this.blend_factor = blend_factor;
|
|
this.blend_type = blend_type;
|
|
this._pad = _pad;
|
|
}
|
|
}
|
|
}
|