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

130 lines
5.1 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(957, "SpaceNode")]
public class SpaceNode {
[DNAFieldAttribute(0, "SpaceLink", "*next", 40)]
public SpaceLink ptr_next;
[DNAFieldAttribute(1, "SpaceLink", "*prev", 40)]
public SpaceLink ptr_prev;
[DNAFieldAttribute(2, "ListBase", "regionbase", 16)]
public ListBase regionbase;
[DNAFieldAttribute(3, "char", "spacetype", 1)]
public char spacetype;
[DNAFieldAttribute(4, "char", "link_flag", 1)]
public char link_flag;
[DNAFieldAttribute(5, "char", "_pad0[6]", 1)]
public char[] _pad0 = new System.Char[6];
[DNAFieldAttribute(6, "View2D", "v2d", 152)]
public View2D v2d;
[DNAFieldAttribute(7, "ID", "*id", 208)]
public ID ptr_id;
[DNAFieldAttribute(8, "ID", "*from", 208)]
public ID ptr_from;
[DNAFieldAttribute(9, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(10, "char", "insert_ofs_dir", 1)]
public char insert_ofs_dir;
[DNAFieldAttribute(11, "char", "_pad1", 1)]
public char _pad1;
[DNAFieldAttribute(12, "float", "xof", 4)]
public float xof;
[DNAFieldAttribute(13, "float", "yof", 4)]
public float yof;
[DNAFieldAttribute(14, "float", "zoom", 4)]
public float zoom;
[DNAFieldAttribute(15, "ListBase", "treepath", 16)]
public ListBase treepath;
[DNAFieldAttribute(16, "bNodeTree", "*edittree", 544)]
public bNodeTree ptr_edittree;
[DNAFieldAttribute(17, "bNodeTree", "*nodetree", 544)]
public bNodeTree ptr_nodetree;
[DNAFieldAttribute(18, "char", "tree_idname[64]", 1)]
public char[] tree_idname = new System.Char[64];
[DNAFieldAttribute(19, "int", "treetype", 4)]
public int treetype;
[DNAFieldAttribute(20, "short", "texfrom", 2)]
public short texfrom;
[DNAFieldAttribute(21, "char", "shaderfrom", 1)]
public char shaderfrom;
[DNAFieldAttribute(22, "char", "geometry_nodes_type", 1)]
public char geometry_nodes_type;
[DNAFieldAttribute(23, "bNodeTree", "*geometry_nodes_tool_tree", 544)]
public bNodeTree ptr_geometry_nodes_tool_tree;
[DNAFieldAttribute(24, "bGPdata", "*gpd", 616)]
public bGPdata ptr_gpd;
[DNAFieldAttribute(25, "SpaceNodeOverlay", "overlay", 8)]
public SpaceNodeOverlay overlay;
[DNAFieldAttribute(26, "SpaceNode_Runtime", "*runtime", 0)]
public SpaceNode_Runtime ptr_runtime;
public SpaceNode(
SpaceLink ptr_next,
SpaceLink ptr_prev,
ListBase regionbase,
char spacetype,
char link_flag,
char[] _pad0,
View2D v2d,
ID ptr_id,
ID ptr_from,
short flag,
char insert_ofs_dir,
char _pad1,
float xof,
float yof,
float zoom,
ListBase treepath,
bNodeTree ptr_edittree,
bNodeTree ptr_nodetree,
char[] tree_idname,
int treetype,
short texfrom,
char shaderfrom,
char geometry_nodes_type,
bNodeTree ptr_geometry_nodes_tool_tree,
bGPdata ptr_gpd,
SpaceNodeOverlay overlay,
SpaceNode_Runtime ptr_runtime) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.regionbase = regionbase;
this.spacetype = spacetype;
this.link_flag = link_flag;
this._pad0 = _pad0;
this.v2d = v2d;
this.ptr_id = ptr_id;
this.ptr_from = ptr_from;
this.flag = flag;
this.insert_ofs_dir = insert_ofs_dir;
this._pad1 = _pad1;
this.xof = xof;
this.yof = yof;
this.zoom = zoom;
this.treepath = treepath;
this.ptr_edittree = ptr_edittree;
this.ptr_nodetree = ptr_nodetree;
this.tree_idname = tree_idname;
this.treetype = treetype;
this.texfrom = texfrom;
this.shaderfrom = shaderfrom;
this.geometry_nodes_type = geometry_nodes_type;
this.ptr_geometry_nodes_tool_tree = ptr_geometry_nodes_tool_tree;
this.ptr_gpd = ptr_gpd;
this.overlay = overlay;
this.ptr_runtime = ptr_runtime;
}
}
}