- Added auto generation of DNAClass attributes on file generation - Regenerated all files
49 lines
1.8 KiB
C#
49 lines
1.8 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", 776)]
|
|
public ColorBand coba;
|
|
[DNAFieldAttribute(1, "float", "bright", 4)]
|
|
public float bright;
|
|
[DNAFieldAttribute(2, "float", "contrast", 4)]
|
|
public float contrast;
|
|
[DNAFieldAttribute(3, "float", "saturation", 4)]
|
|
public float saturation;
|
|
[DNAFieldAttribute(4, "int", "flag", 4)]
|
|
public int flag;
|
|
[DNAFieldAttribute(5, "float", "blend_color[3]", 4)]
|
|
public float[] blend_color = new System.Single[3];
|
|
[DNAFieldAttribute(6, "float", "blend_factor", 4)]
|
|
public float blend_factor;
|
|
[DNAFieldAttribute(7, "int", "blend_type", 4)]
|
|
public int blend_type;
|
|
[DNAFieldAttribute(8, "char", "_pad[4]", 1)]
|
|
public char[] _pad = new System.Char[4];
|
|
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;
|
|
}
|
|
}
|
|
}
|