Files
BlenderSharp/BlendFile/DNA/bNode.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

150 lines
5.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(575, "bNode")]
public class bNode {
[DNAFieldAttribute(0, "bNode", "*next", 368)]
public bNode ptr_next;
[DNAFieldAttribute(1, "bNode", "*prev", 368)]
public bNode ptr_prev;
[DNAFieldAttribute(2, "ListBase", "inputs", 16)]
public ListBase inputs;
[DNAFieldAttribute(3, "ListBase", "outputs", 16)]
public ListBase outputs;
[DNAFieldAttribute(4, "char", "name[64]", 1)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(5, "int", "identifier", 4)]
public int identifier;
[DNAFieldAttribute(6, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(7, "char", "idname[64]", 1)]
public char[] idname = new System.Char[64];
[DNAFieldAttribute(8, "bNodeTypeHandle", "*typeinfo", 0)]
public bNodeTypeHandle ptr_typeinfo;
[DNAFieldAttribute(9, "short", "type", 2)]
public short type;
[DNAFieldAttribute(10, "short", "ui_order", 2)]
public short ui_order;
[DNAFieldAttribute(11, "short", "custom1", 2)]
public short custom1;
[DNAFieldAttribute(12, "short", "custom2", 2)]
public short custom2;
[DNAFieldAttribute(13, "float", "custom3", 4)]
public float custom3;
[DNAFieldAttribute(14, "float", "custom4", 4)]
public float custom4;
[DNAFieldAttribute(15, "int8_t", "warning_propagation", 1)]
public sbyte warning_propagation;
[DNAFieldAttribute(16, "char", "_pad[7]", 1)]
public char[] _pad = new System.Char[7];
[DNAFieldAttribute(17, "ID", "*id", 208)]
public ID ptr_id;
[DNAFieldAttribute(18, "void", "*storage", 0)]
public object ptr_storage;
[DNAFieldAttribute(19, "IDProperty", "*prop", 136)]
public IDProperty ptr_prop;
[DNAFieldAttribute(20, "bNode", "*parent", 368)]
public bNode ptr_parent;
[DNAFieldAttribute(21, "float", "locx", 4)]
public float locx;
[DNAFieldAttribute(22, "float", "locy", 4)]
public float locy;
[DNAFieldAttribute(23, "float", "width", 4)]
public float width;
[DNAFieldAttribute(24, "float", "height", 4)]
public float height;
[DNAFieldAttribute(25, "float", "offsetx", 4)]
public float offsetx;
[DNAFieldAttribute(26, "float", "offsety", 4)]
public float offsety;
[DNAFieldAttribute(27, "char", "label[64]", 1)]
public char[] label = new System.Char[64];
[DNAFieldAttribute(28, "float", "color[3]", 4)]
public float[] color = new System.Single[3];
[DNAFieldAttribute(29, "int", "num_panel_states", 4)]
public int num_panel_states;
[DNAFieldAttribute(30, "bNodePanelState", "*panel_states_array", 8)]
public bNodePanelState ptr_panel_states_array;
[DNAFieldAttribute(31, "bNodeRuntimeHandle", "*runtime", 0)]
public bNodeRuntimeHandle ptr_runtime;
public bNode(
bNode ptr_next,
bNode ptr_prev,
ListBase inputs,
ListBase outputs,
char[] name,
int identifier,
int flag,
char[] idname,
bNodeTypeHandle ptr_typeinfo,
short type,
short ui_order,
short custom1,
short custom2,
float custom3,
float custom4,
sbyte warning_propagation,
char[] _pad,
ID ptr_id,
object ptr_storage,
IDProperty ptr_prop,
bNode ptr_parent,
float locx,
float locy,
float width,
float height,
float offsetx,
float offsety,
char[] label,
float[] color,
int num_panel_states,
bNodePanelState ptr_panel_states_array,
bNodeRuntimeHandle ptr_runtime) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.inputs = inputs;
this.outputs = outputs;
this.name = name;
this.identifier = identifier;
this.flag = flag;
this.idname = idname;
this.ptr_typeinfo = ptr_typeinfo;
this.type = type;
this.ui_order = ui_order;
this.custom1 = custom1;
this.custom2 = custom2;
this.custom3 = custom3;
this.custom4 = custom4;
this.warning_propagation = warning_propagation;
this._pad = _pad;
this.ptr_id = ptr_id;
this.ptr_storage = ptr_storage;
this.ptr_prop = ptr_prop;
this.ptr_parent = ptr_parent;
this.locx = locx;
this.locy = locy;
this.width = width;
this.height = height;
this.offsetx = offsetx;
this.offsety = offsety;
this.label = label;
this.color = color;
this.num_panel_states = num_panel_states;
this.ptr_panel_states_array = ptr_panel_states_array;
this.ptr_runtime = ptr_runtime;
}
}
}