Files
BlenderSharp/BlendFile/DNA/KeyBlock.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

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