Files
BlenderSharp/BlendFile/DNA/KeyBlock.cs
2025-02-19 18:48:50 +01:00

84 lines
3.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(337, "KeyBlock", 184)]
public class KeyBlock {
[DNAFieldAttribute(0, "KeyBlock", "*next", "KeyBlock", 8, true)]
public KeyBlock ptr_next;
[DNAFieldAttribute(1, "KeyBlock", "*prev", "KeyBlock", 8, true)]
public KeyBlock ptr_prev;
[DNAFieldAttribute(2, "float", "pos", "float", 4, false)]
public float pos;
[DNAFieldAttribute(3, "float", "curval", "float", 4, false)]
public float curval;
[DNAFieldAttribute(4, "short", "type", "short", 2, false)]
public short type;
[DNAFieldAttribute(5, "char", "_pad1[2]", "System.Char[]", 2, false)]
public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(6, "short", "relative", "short", 2, false)]
public short relative;
[DNAFieldAttribute(7, "short", "flag", "short", 2, false)]
public short flag;
[DNAFieldAttribute(8, "int", "totelem", "int", 4, false)]
public int totelem;
[DNAFieldAttribute(9, "int", "uid", "int", 4, false)]
public int uid;
[DNAFieldAttribute(10, "void", "*data", "void", 8, true)]
public object ptr_data;
[DNAFieldAttribute(11, "char", "name[64]", "System.Char[]", 64, false)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(12, "char", "vgroup[64]", "System.Char[]", 64, false)]
public char[] vgroup = new System.Char[64];
[DNAFieldAttribute(13, "float", "slidermin", "float", 4, false)]
public float slidermin;
[DNAFieldAttribute(14, "float", "slidermax", "float", 4, false)]
public float slidermax;
public KeyBlock() {
this.ptr_next = default;
this.ptr_prev = default;
this.pos = default;
this.curval = default;
this.type = default;
this._pad1 = default;
this.relative = default;
this.flag = default;
this.totelem = default;
this.uid = default;
this.ptr_data = default;
this.name = default;
this.vgroup = default;
this.slidermin = default;
this.slidermax = default;
}
public KeyBlock(KeyBlock ptr_next, KeyBlock ptr_prev, float pos, float curval, short type, char[] _pad1, short relative, short flag, int totelem, int uid, object ptr_data, char[] name, char[] vgroup, float slidermin, float slidermax) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.pos = pos;
this.curval = curval;
this.type = type;
this._pad1 = _pad1;
this.relative = relative;
this.flag = flag;
this.totelem = totelem;
this.uid = uid;
this.ptr_data = ptr_data;
this.name = name;
this.vgroup = vgroup;
this.slidermin = slidermin;
this.slidermax = slidermax;
}
}
}