Files
BlenderSharp/BlendFile/DNA/ColorMapping.cs
2025-03-04 18:48:04 +01:00

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