Files
BlenderSharp/BlendFile/DNA/ColorMapping.cs
2025-02-18 18:16:57 +01:00

60 lines
2.3 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")]
public struct ColorMapping {
[DNAFieldAttribute(0, "ColorBand", "coba", "ColorBand", 776)]
public ColorBand coba;
[DNAFieldAttribute(1, "float", "bright", "float", 4)]
public float bright;
[DNAFieldAttribute(2, "float", "contrast", "float", 4)]
public float contrast;
[DNAFieldAttribute(3, "float", "saturation", "float", 4)]
public float saturation;
[DNAFieldAttribute(4, "int", "flag", "int", 4)]
public int flag;
[DNAFieldAttribute(5, "float", "blend_color[3]", "System.Single[]", 4)]
public float[] blend_color = new System.Single[3];
[DNAFieldAttribute(6, "float", "blend_factor", "float", 4)]
public float blend_factor;
[DNAFieldAttribute(7, "int", "blend_type", "int", 4)]
public int blend_type;
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 1)]
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;
}
}
}