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

169 lines
7.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(351, "bNodeTree")]
public class bNodeTree {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 4, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "ID", "*owner_id", "ID", 4, true)]
public ID ptr_owner_id;
[DNAFieldAttribute(3, "bNodeTreeTypeHandle", "*typeinfo", "bNodeTreeTypeHandle", 4, true)]
public bNodeTreeTypeHandle ptr_typeinfo;
[DNAFieldAttribute(4, "char", "idname[64]", "System.Char[]", 64, false)]
public char[] idname = new System.Char[64];
[DNAFieldAttribute(5, "char", "*description", "char", 4, true)]
public char ptr_description;
[DNAFieldAttribute(6, "bGPdata", "*gpd", "bGPdata", 4, true)]
public bGPdata ptr_gpd;
[DNAFieldAttribute(7, "float", "view_center[2]", "System.Single[]", 8, false)]
public float[] view_center = new System.Single[2];
[DNAFieldAttribute(8, "ListBase", "nodes", "ListBase", 16, false)]
public ListBase nodes;
[DNAFieldAttribute(9, "ListBase", "links", "ListBase", 16, false)]
public ListBase links;
[DNAFieldAttribute(10, "int", "type", "int", 4, false)]
public int type;
[DNAFieldAttribute(11, "int", "cur_index", "int", 4, false)]
public int cur_index;
[DNAFieldAttribute(12, "int", "flag", "int", 4, false)]
public int flag;
[DNAFieldAttribute(13, "int", "chunksize", "int", 4, false)]
public int chunksize;
[DNAFieldAttribute(14, "int", "execution_mode", "int", 4, false)]
public int execution_mode;
[DNAFieldAttribute(15, "int", "precision", "int", 4, false)]
public int precision;
[DNAFieldAttribute(16, "int", "color_tag", "int", 4, false)]
public int color_tag;
[DNAFieldAttribute(17, "int", "default_group_node_width", "int", 4, false)]
public int default_group_node_width;
[DNAFieldAttribute(18, "rctf", "viewer_border", "rctf", 16, false)]
public rctf viewer_border;
[DNAFieldAttribute(19, "ListBase", "inputs", "ListBase", 16, false)]
public ListBase inputs;
[DNAFieldAttribute(20, "ListBase", "outputs", "ListBase", 16, false)]
public ListBase outputs;
[DNAFieldAttribute(21, "bNodeTreeInterface", "tree_interface", "bNodeTreeInterface", 64, false)]
public bNodeTreeInterface tree_interface;
[DNAFieldAttribute(22, "NodeInstanceHashHandle", "*previews", "NodeInstanceHashHandle", 4, true)]
public NodeInstanceHashHandle ptr_previews;
[DNAFieldAttribute(23, "bNodeInstanceKey", "active_viewer_key", "bNodeInstanceKey", 4, false)]
public bNodeInstanceKey active_viewer_key;
[DNAFieldAttribute(24, "int", "nested_node_refs_num", "int", 4, false)]
public int nested_node_refs_num;
[DNAFieldAttribute(25, "bNestedNodeRef", "*nested_node_refs", "bNestedNodeRef", 4, true)]
public bNestedNodeRef ptr_nested_node_refs;
[DNAFieldAttribute(26, "GeometryNodeAssetTraits", "*geometry_node_asset_traits", "GeometryNodeAssetTraits", 4, true)]
public GeometryNodeAssetTraits ptr_geometry_node_asset_traits;
[DNAFieldAttribute(27, "PreviewImage", "*preview", "PreviewImage", 4, true)]
public PreviewImage ptr_preview;
[DNAFieldAttribute(28, "bNodeTreeRuntimeHandle", "*runtime", "bNodeTreeRuntimeHandle", 4, true)]
public bNodeTreeRuntimeHandle ptr_runtime;
public bNodeTree() {
this.id = default;
this.ptr_adt = default;
this.ptr_owner_id = default;
this.ptr_typeinfo = default;
this.idname = default;
this.ptr_description = default;
this.ptr_gpd = default;
this.view_center = default;
this.nodes = default;
this.links = default;
this.type = default;
this.cur_index = default;
this.flag = default;
this.chunksize = default;
this.execution_mode = default;
this.precision = default;
this.color_tag = default;
this.default_group_node_width = default;
this.viewer_border = default;
this.inputs = default;
this.outputs = default;
this.tree_interface = default;
this.ptr_previews = default;
this.active_viewer_key = default;
this.nested_node_refs_num = default;
this.ptr_nested_node_refs = default;
this.ptr_geometry_node_asset_traits = default;
this.ptr_preview = default;
this.ptr_runtime = default;
}
public bNodeTree(
ID id,
AnimData ptr_adt,
ID ptr_owner_id,
bNodeTreeTypeHandle ptr_typeinfo,
char[] idname,
char ptr_description,
bGPdata ptr_gpd,
float[] view_center,
ListBase nodes,
ListBase links,
int type,
int cur_index,
int flag,
int chunksize,
int execution_mode,
int precision,
int color_tag,
int default_group_node_width,
rctf viewer_border,
ListBase inputs,
ListBase outputs,
bNodeTreeInterface tree_interface,
NodeInstanceHashHandle ptr_previews,
bNodeInstanceKey active_viewer_key,
int nested_node_refs_num,
bNestedNodeRef ptr_nested_node_refs,
GeometryNodeAssetTraits ptr_geometry_node_asset_traits,
PreviewImage ptr_preview,
bNodeTreeRuntimeHandle ptr_runtime) {
this.id = id;
this.ptr_adt = ptr_adt;
this.ptr_owner_id = ptr_owner_id;
this.ptr_typeinfo = ptr_typeinfo;
this.idname = idname;
this.ptr_description = ptr_description;
this.ptr_gpd = ptr_gpd;
this.view_center = view_center;
this.nodes = nodes;
this.links = links;
this.type = type;
this.cur_index = cur_index;
this.flag = flag;
this.chunksize = chunksize;
this.execution_mode = execution_mode;
this.precision = precision;
this.color_tag = color_tag;
this.default_group_node_width = default_group_node_width;
this.viewer_border = viewer_border;
this.inputs = inputs;
this.outputs = outputs;
this.tree_interface = tree_interface;
this.ptr_previews = ptr_previews;
this.active_viewer_key = active_viewer_key;
this.nested_node_refs_num = nested_node_refs_num;
this.ptr_nested_node_refs = ptr_nested_node_refs;
this.ptr_geometry_node_asset_traits = ptr_geometry_node_asset_traits;
this.ptr_preview = ptr_preview;
this.ptr_runtime = ptr_runtime;
}
}
}