Files
BlenderSharp/BlendFile/DNA/CurveMap.cs
2025-02-19 17:07:50 +01:00

80 lines
3.6 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(165, "CurveMap")]
public class CurveMap {
[DNAFieldAttribute(0, "short", "totpoint", "short", 2, false)]
public short totpoint;
[DNAFieldAttribute(1, "short", "flag", "short", 2, false)]
public short flag;
[DNAFieldAttribute(2, "float", "range", "float", 4, false)]
public float range;
[DNAFieldAttribute(3, "float", "mintable", "float", 4, false)]
public float mintable;
[DNAFieldAttribute(4, "float", "maxtable", "float", 4, false)]
public float maxtable;
[DNAFieldAttribute(5, "float", "ext_in[2]", "System.Single[]", 8, false)]
public float[] ext_in = new System.Single[2];
[DNAFieldAttribute(6, "float", "ext_out[2]", "System.Single[]", 8, false)]
public float[] ext_out = new System.Single[2];
[DNAFieldAttribute(7, "CurveMapPoint", "*curve", "CurveMapPoint", 4, true)]
public CurveMapPoint ptr_curve;
[DNAFieldAttribute(8, "CurveMapPoint", "*table", "CurveMapPoint", 4, true)]
public CurveMapPoint ptr_table;
[DNAFieldAttribute(9, "CurveMapPoint", "*premultable", "CurveMapPoint", 4, true)]
public CurveMapPoint ptr_premultable;
[DNAFieldAttribute(10, "float", "premul_ext_in[2]", "System.Single[]", 8, false)]
public float[] premul_ext_in = new System.Single[2];
[DNAFieldAttribute(11, "float", "premul_ext_out[2]", "System.Single[]", 8, false)]
public float[] premul_ext_out = new System.Single[2];
[DNAFieldAttribute(12, "short", "default_handle_type", "short", 2, false)]
public short default_handle_type;
[DNAFieldAttribute(13, "char", "_pad[6]", "System.Char[]", 6, false)]
public char[] _pad = new System.Char[6];
public CurveMap() {
this.totpoint = default;
this.flag = default;
this.range = default;
this.mintable = default;
this.maxtable = default;
this.ext_in = default;
this.ext_out = default;
this.ptr_curve = default;
this.ptr_table = default;
this.ptr_premultable = default;
this.premul_ext_in = default;
this.premul_ext_out = default;
this.default_handle_type = default;
this._pad = default;
}
public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint ptr_curve, CurveMapPoint ptr_table, CurveMapPoint ptr_premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) {
this.totpoint = totpoint;
this.flag = flag;
this.range = range;
this.mintable = mintable;
this.maxtable = maxtable;
this.ext_in = ext_in;
this.ext_out = ext_out;
this.ptr_curve = ptr_curve;
this.ptr_table = ptr_table;
this.ptr_premultable = ptr_premultable;
this.premul_ext_in = premul_ext_in;
this.premul_ext_out = premul_ext_out;
this.default_handle_type = default_handle_type;
this._pad = _pad;
}
}
}