Compare commits

..

59 Commits

Author SHA1 Message Date
Samuele Lorefice
bc53e27647 Added some handling of array vs field data attributes. 2025-05-09 17:11:25 +02:00
mm00
3657d34746 Only log not found blocks 2025-05-09 16:46:03 +02:00
mm00
eb76262e42 changed getblock function to just check beginning of block 2025-05-08 18:15:20 +02:00
Samuele Lorefice
679f15bce0 Added IsPrincipal implementation 2025-05-08 18:02:42 +02:00
Samuele Lorefice
e3c269af47 Added scaffolding + TODO 2025-05-02 17:02:32 +02:00
Samuele Lorefice
f03d907441 Formatting (again) 2025-05-02 16:25:03 +02:00
mm00
a7337dd1d6 Fixed various pointer problems 2025-03-12 19:56:34 +01:00
mm00
ba61ea59f9 updated generated files 2025-03-12 19:02:40 +01:00
mm00
226f001c78 handling of array of pointers, refactoring, fixes n shit 2025-03-12 19:02:25 +01:00
mm00
934c878878 Added IsPointer field for array attribute, fixed pointer arrays sizes 2025-03-12 19:01:52 +01:00
mm00
6533511a4a refactored GetArrayDimensions method, ParseFSize now returns null if not found 2025-03-12 19:01:20 +01:00
Samuele Lorefice
c48d84bb7c Formatting and documentation pass 2025-03-12 01:58:56 +01:00
Samuele Lorefice
633b2b4376 Implemented convert array field 2025-03-12 01:56:06 +01:00
Samuele Lorefice
8202c2185b Half-Handled generation of the same object, added docs, removed array specific handling from ConvertNormalField. Disabled exception thrown due to caveats. 2025-03-12 01:54:56 +01:00
Samuele Lorefice
c0bc1f0a0f Removed redundant statements 2025-03-12 00:55:23 +01:00
Samuele Lorefice
5b8158ea1a Added scaffolding for ArrayAttribute specific conversion 2025-03-11 19:18:41 +01:00
Samuele Lorefice
c30467acc5 Regenerated code files 2025-03-11 19:12:04 +01:00
Samuele Lorefice
3756f864ed Code Reformat 2025-03-11 19:09:47 +01:00
Samuele Lorefice
0fee1f10d2 Integrated DnaArrayAtribute generation in the generator 2025-03-11 19:08:47 +01:00
Samuele Lorefice
0bf0aeab09 Added Array specific logic to Reader. **NOTE: This doesn't use the new attribute yet** 2025-03-11 18:44:48 +01:00
Samuele Lorefice
8678ee6c85 Added DNAArrayAttribute to the generation and AddArrayField method. Disabled Array checking in AddNormalField and done Array checking at the main logic 2025-03-11 18:44:09 +01:00
Samuele Lorefice
fbc0f9be49 Changed String extensions to retunr char size as a 1 byte (cpp size) instead of 2 bytes (C# size) 2025-03-11 18:42:12 +01:00
Samuele Lorefice
9cbed0a8b8 Imported static Kaitai.BlendFile, compressing bunch of lines 2025-03-11 18:41:27 +01:00
mm00
37ebc71cf3 Added pointers and list handling in reader 2025-03-10 19:09:11 +01:00
Samuele Lorefice
b6760ab27a Fixed wrong attribute position being modified. Regenerated code files 2025-03-07 19:18:52 +01:00
Samuele Lorefice
73e98f5c5d Regenerated code files 2025-03-07 19:13:29 +01:00
Samuele Lorefice
26add1559f Fixed wrong name determination in field-count value coupling 2025-03-07 19:11:17 +01:00
mm00
d3e54246c4 fixed double loop problem and refactored field additions 2025-03-07 18:55:17 +01:00
Samuele Lorefice
bfa185c8e4 Added count field type argument to the list attribute 2025-03-06 19:41:37 +01:00
Samuele Lorefice
e11cd54096 Fioxed dictionary being recreated every step of the for loop. 2025-03-06 19:14:59 +01:00
Samuele Lorefice
9e1d65d08d Added start offset param to the field conversion methods, started implementing list conversions 2025-03-06 19:11:50 +01:00
Samuele Lorefice
fb50e3fa44 Fixed list length value returning always zero.
Added separated pointer and count memory offsets to list attributes.
Tried handling them
2025-03-06 19:11:03 +01:00
Samuele Lorefice
0bc7f73aee Moved pointer and struct conversion to a separate method 2025-03-06 18:32:21 +01:00
Samuele Lorefice
02aa7db319 Changed attribute builder to derive from correct class, also added method to pass base class parameters using string refs. Regenerated the files 2025-03-06 17:37:55 +01:00
Samuele Lorefice
a784eed61d General code cleanup in reader class. Added stub methods for extracting data retrieval to a separate method. 2025-03-05 18:43:39 +01:00
Samuele Lorefice
8e4eac0568 Regenerated codefiles 2025-03-04 18:48:04 +01:00
Samuele Lorefice
8bbfb49720 Fixed a critical bug in Array field name generation. Added DNAAttribute and DNAListAttribute classes 2025-03-04 18:47:55 +01:00
Samuele Lorefice
b70bcd4d02 Reordered parameters in Attributes 2025-03-04 18:33:17 +01:00
Samuele Lorefice
a8bf5e6e82 Added DnaListAttribute generation 2025-03-04 18:27:53 +01:00
mm00
b100dc8020 Fixed list length search 2025-03-04 18:03:40 +01:00
Samuele Lorefice
0dccefb7e4 added method to create ListFields and generation of Lists 2025-03-04 17:40:57 +01:00
Samuele Lorefice
d986670268 Added queue for log messages and logger on a separate thread, added telemetry. 2025-02-27 23:44:51 +01:00
Samuele Lorefice
30cdc7a23d Changed code gen to use latest lang version 2025-02-27 23:44:10 +01:00
Samuele Lorefice
7a0ad7e968 Added IsClass and FilterFields methods to streamline types creation, added more documentation 2025-02-27 20:57:12 +01:00
Samuele Lorefice
bdc9624d13 Added derive from class parts to the attribute building process. Added static Lists of substrings for attribute filtering. 2025-02-26 19:24:14 +01:00
Samuele Lorefice
80234eb599 Fixed a bug in AttributeBuilder where setting the derived type would not be applied if there wasn't one already set up. 2025-02-26 19:23:33 +01:00
Samuele Lorefice
55f3d411b3 Added documentation to Attribute builder. Added Inheritance methods. Added a base DNA attribute to GenerateTypeDeclarations method. 2025-02-26 18:59:14 +01:00
Samuele Lorefice
1a34d70f8d added heuristcs substrings 2025-02-26 17:37:49 +01:00
Samuele Lorefice
869fd3b794 Made AttributeBuilder not a singleton, replaced multiple methods per attribute with a single method that returns all the attributes in a single sweep. 2025-02-26 17:03:15 +01:00
Samuele Lorefice
4166482022 Fixed naming of variables in the code generator class 2025-02-26 16:01:16 +01:00
Samuele Lorefice
5aeaf064ce Added todo 2025-02-25 18:44:48 +01:00
Samuele Lorefice
9081c9b32e Unrolled loops so the debugger works 2025-02-25 18:27:37 +01:00
Samuele Lorefice
91b74a24dd Created a builder for attributes in code generator 2025-02-25 16:32:38 +01:00
Samuele Lorefice
23cec0bd0f Replaced longs with built in IntPtr type. 2025-02-25 16:32:08 +01:00
Samuele Lorefice
315cd6eb44 Added ToPointer ByteArray extension method 2025-02-25 16:31:28 +01:00
Samuele Lorefice
b5e0793692 Added check to avoid storing nullpointers in the pointers map. Updated comments. 2025-02-21 17:04:13 +01:00
Samuele Lorefice
9a0024884c Optimized memory usage 2025-02-20 21:20:10 +01:00
Samuele Lorefice
f383debd18 Added memoryOffset value to DNAFieldAttribute, regenerated files. 2025-02-20 21:00:55 +01:00
Samuele Lorefice
b171b65aa5 Added handling of pointers, huge memory improvements 2025-02-20 19:58:33 +01:00
953 changed files with 17419 additions and 16631 deletions

View File

@@ -14,6 +14,9 @@
<Compile Include="..\CodeGenerator\BlendFile.cs">
<Link>BlendFile.cs</Link>
</Compile>
<Compile Include="..\CodeGenerator\StrExt.cs">
<Link>StrExt.cs</Link>
</Compile>
</ItemGroup>
</Project>

View File

@@ -3,4 +3,7 @@ namespace BlendFile;
public static class ByteArrayExt{
public static long ToMemAddr(this Byte[] bytes, bool isLittleEndian = true) =>
BitConverter.ToInt64(isLittleEndian == BitConverter.IsLittleEndian ? bytes : bytes.Reverse().ToArray(), 0);
public static IntPtr ToPointer(this Byte[] bytes, bool isLittleEndian = true) =>
new (BitConverter.ToInt64(isLittleEndian == BitConverter.IsLittleEndian ? bytes : bytes.Reverse().ToArray(), 0));
}

View File

@@ -13,77 +13,75 @@ using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(842, "ARegion", 440)]
[DNAClassAttribute(842, "ARegion", 424)]
public class ARegion {
[DNAFieldAttribute(0, "ARegion", "*next", "ARegion", 8, true)]
public ARegion ptr_next;
[DNAFieldAttribute(1, "ARegion", "*prev", "ARegion", 8, true)]
public ARegion ptr_prev;
[DNAFieldAttribute(2, "View2D", "v2d", "View2D", 152, false)]
[DNAFieldAttribute(8, "ARegion", 0, "*next", "ARegion", true, 0)]
public ARegion next;
[DNAFieldAttribute(8, "ARegion", 1, "*prev", "ARegion", true, 8)]
public ARegion prev;
[DNAFieldAttribute(152, "View2D", 2, "v2d", "View2D", false, 16)]
public View2D v2d;
[DNAFieldAttribute(3, "rcti", "winrct", "rcti", 16, false)]
[DNAFieldAttribute(16, "rcti", 3, "winrct", "rcti", false, 168)]
public rcti winrct;
[DNAFieldAttribute(4, "rcti", "drawrct", "rcti", 16, false)]
[DNAFieldAttribute(16, "rcti", 4, "drawrct", "rcti", false, 184)]
public rcti drawrct;
[DNAFieldAttribute(5, "short", "winx", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "winx", "short", false, 200)]
public short winx;
[DNAFieldAttribute(6, "short", "winy", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "winy", "short", false, 202)]
public short winy;
[DNAFieldAttribute(7, "int", "category_scroll", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "category_scroll", "int", false, 204)]
public int category_scroll;
[DNAFieldAttribute(8, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 8, "_pad0[4]", "System.Char[]", 4, false, 208)]
public char[] _pad0 = new System.Char[4];
[DNAFieldAttribute(9, "short", "visible", "short", 2, false)]
[DNAFieldAttribute(2, "short", 9, "visible", "short", false, 212)]
public short visible;
[DNAFieldAttribute(10, "short", "regiontype", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "regiontype", "short", false, 214)]
public short regiontype;
[DNAFieldAttribute(11, "short", "alignment", "short", 2, false)]
[DNAFieldAttribute(2, "short", 11, "alignment", "short", false, 216)]
public short alignment;
[DNAFieldAttribute(12, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 12, "flag", "short", false, 218)]
public short flag;
[DNAFieldAttribute(13, "short", "sizex", "short", 2, false)]
[DNAFieldAttribute(2, "short", 13, "sizex", "short", false, 220)]
public short sizex;
[DNAFieldAttribute(14, "short", "sizey", "short", 2, false)]
[DNAFieldAttribute(2, "short", 14, "sizey", "short", false, 222)]
public short sizey;
[DNAFieldAttribute(15, "short", "do_draw", "short", 2, false)]
[DNAFieldAttribute(2, "short", 15, "do_draw", "short", false, 224)]
public short do_draw;
[DNAFieldAttribute(16, "short", "do_draw_paintcursor", "short", 2, false)]
[DNAFieldAttribute(2, "short", 16, "do_draw_paintcursor", "short", false, 226)]
public short do_draw_paintcursor;
[DNAFieldAttribute(17, "short", "overlap", "short", 2, false)]
[DNAFieldAttribute(2, "short", 17, "overlap", "short", false, 228)]
public short overlap;
[DNAFieldAttribute(18, "short", "flagfullscreen", "short", 2, false)]
[DNAFieldAttribute(2, "short", 18, "flagfullscreen", "short", false, 230)]
public short flagfullscreen;
[DNAFieldAttribute(19, "ARegionType", "*type", "ARegionType", 8, true)]
public ARegionType ptr_type;
[DNAFieldAttribute(20, "ListBase", "uiblocks", "ListBase", 16, false)]
[DNAFieldAttribute(8, "ARegionType", 19, "*type", "ARegionType", true, 232)]
public ARegionType type;
[DNAFieldAttribute(16, "ListBase", 20, "uiblocks", "ListBase", false, 240)]
public ListBase uiblocks;
[DNAFieldAttribute(21, "ListBase", "panels", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 21, "panels", "ListBase", false, 256)]
public ListBase panels;
[DNAFieldAttribute(22, "ListBase", "panels_category_active", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 22, "panels_category_active", "ListBase", false, 272)]
public ListBase panels_category_active;
[DNAFieldAttribute(23, "ListBase", "ui_lists", "ListBase", 16, false)]
public ListBase ui_lists;
[DNAFieldAttribute(24, "ListBase", "ui_previews", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 24, "ui_previews", "ListBase", false, 288)]
public ListBase ui_previews;
[DNAFieldAttribute(25, "ListBase", "handlers", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 25, "handlers", "ListBase", false, 304)]
public ListBase handlers;
[DNAFieldAttribute(26, "ListBase", "panels_category", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 26, "panels_category", "ListBase", false, 320)]
public ListBase panels_category;
[DNAFieldAttribute(27, "wmGizmoMap", "*gizmo_map", "wmGizmoMap", 8, true)]
public wmGizmoMap ptr_gizmo_map;
[DNAFieldAttribute(28, "wmTimer", "*regiontimer", "wmTimer", 8, true)]
public wmTimer ptr_regiontimer;
[DNAFieldAttribute(29, "wmDrawBuffer", "*draw_buffer", "wmDrawBuffer", 8, true)]
public wmDrawBuffer ptr_draw_buffer;
[DNAFieldAttribute(30, "char", "*headerstr", "char", 8, true)]
public char ptr_headerstr;
[DNAFieldAttribute(31, "void", "*regiondata", "void", 8, true)]
public object ptr_regiondata;
[DNAFieldAttribute(32, "ARegion_Runtime", "runtime", "ARegion_Runtime", 48, false)]
[DNAFieldAttribute(8, "wmGizmoMap", 27, "*gizmo_map", "wmGizmoMap", true, 336)]
public wmGizmoMap gizmo_map;
[DNAFieldAttribute(8, "wmTimer", 28, "*regiontimer", "wmTimer", true, 344)]
public wmTimer regiontimer;
[DNAFieldAttribute(8, "wmDrawBuffer", 29, "*draw_buffer", "wmDrawBuffer", true, 352)]
public wmDrawBuffer draw_buffer;
[DNAFieldAttribute(8, "char", 30, "*headerstr", "char", true, 360)]
public char headerstr;
[DNAFieldAttribute(8, "void", 31, "*regiondata", "void", true, 368)]
public object regiondata;
[DNAFieldAttribute(48, "ARegion_Runtime", 32, "runtime", "ARegion_Runtime", false, 376)]
public ARegion_Runtime runtime;
public ARegion() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.v2d = default;
this.winrct = default;
this.drawrct = default;
@@ -101,24 +99,23 @@ namespace BlendFile.DNA {
this.do_draw_paintcursor = default;
this.overlap = default;
this.flagfullscreen = default;
this.ptr_type = default;
this.type = default;
this.uiblocks = default;
this.panels = default;
this.panels_category_active = default;
this.ui_lists = default;
this.ui_previews = default;
this.handlers = default;
this.panels_category = default;
this.ptr_gizmo_map = default;
this.ptr_regiontimer = default;
this.ptr_draw_buffer = default;
this.ptr_headerstr = default;
this.ptr_regiondata = default;
this.gizmo_map = default;
this.regiontimer = default;
this.draw_buffer = default;
this.headerstr = default;
this.regiondata = default;
this.runtime = default;
}
public ARegion(
ARegion ptr_next,
ARegion ptr_prev,
ARegion next,
ARegion prev,
View2D v2d,
rcti winrct,
rcti drawrct,
@@ -136,22 +133,21 @@ namespace BlendFile.DNA {
short do_draw_paintcursor,
short overlap,
short flagfullscreen,
ARegionType ptr_type,
ARegionType type,
ListBase uiblocks,
ListBase panels,
ListBase panels_category_active,
ListBase ui_lists,
ListBase ui_previews,
ListBase handlers,
ListBase panels_category,
wmGizmoMap ptr_gizmo_map,
wmTimer ptr_regiontimer,
wmDrawBuffer ptr_draw_buffer,
char ptr_headerstr,
object ptr_regiondata,
wmGizmoMap gizmo_map,
wmTimer regiontimer,
wmDrawBuffer draw_buffer,
char headerstr,
object regiondata,
ARegion_Runtime runtime) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.next = next;
this.prev = prev;
this.v2d = v2d;
this.winrct = winrct;
this.drawrct = drawrct;
@@ -169,19 +165,18 @@ namespace BlendFile.DNA {
this.do_draw_paintcursor = do_draw_paintcursor;
this.overlap = overlap;
this.flagfullscreen = flagfullscreen;
this.ptr_type = ptr_type;
this.type = type;
this.uiblocks = uiblocks;
this.panels = panels;
this.panels_category_active = panels_category_active;
this.ui_lists = ui_lists;
this.ui_previews = ui_previews;
this.handlers = handlers;
this.panels_category = panels_category;
this.ptr_gizmo_map = ptr_gizmo_map;
this.ptr_regiontimer = ptr_regiontimer;
this.ptr_draw_buffer = ptr_draw_buffer;
this.ptr_headerstr = ptr_headerstr;
this.ptr_regiondata = ptr_regiondata;
this.gizmo_map = gizmo_map;
this.regiontimer = regiontimer;
this.draw_buffer = draw_buffer;
this.headerstr = headerstr;
this.regiondata = regiondata;
this.runtime = runtime;
}
}

View File

@@ -15,33 +15,33 @@ namespace BlendFile.DNA {
[DNAClassAttribute(866, "ARegion_Runtime", 48)]
public class ARegion_Runtime {
[DNAFieldAttribute(0, "char", "*category", "char", 8, true)]
public char ptr_category;
[DNAFieldAttribute(1, "rcti", "visible_rect", "rcti", 16, false)]
[DNAFieldAttribute(8, "char", 0, "*category", "char", true, 0)]
public char category;
[DNAFieldAttribute(16, "rcti", 1, "visible_rect", "rcti", false, 8)]
public rcti visible_rect;
[DNAFieldAttribute(2, "int", "offset_x", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "offset_x", "int", false, 24)]
public int offset_x;
[DNAFieldAttribute(3, "int", "offset_y", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "offset_y", "int", false, 28)]
public int offset_y;
[DNAFieldAttribute(4, "GHash", "*block_name_map", "GHash", 8, true)]
public GHash ptr_block_name_map;
[DNAFieldAttribute(5, "Panel", "*popup_block_panel", "Panel", 8, true)]
public Panel ptr_popup_block_panel;
[DNAFieldAttribute(8, "GHash", 4, "*block_name_map", "GHash", true, 32)]
public GHash block_name_map;
[DNAFieldAttribute(8, "Panel", 5, "*popup_block_panel", "Panel", true, 40)]
public Panel popup_block_panel;
public ARegion_Runtime() {
this.ptr_category = default;
this.category = default;
this.visible_rect = default;
this.offset_x = default;
this.offset_y = default;
this.ptr_block_name_map = default;
this.ptr_popup_block_panel = default;
this.block_name_map = default;
this.popup_block_panel = default;
}
public ARegion_Runtime(char ptr_category, rcti visible_rect, int offset_x, int offset_y, GHash ptr_block_name_map, Panel ptr_popup_block_panel) {
this.ptr_category = ptr_category;
public ARegion_Runtime(char category, rcti visible_rect, int offset_x, int offset_y, GHash block_name_map, Panel popup_block_panel) {
this.category = category;
this.visible_rect = visible_rect;
this.offset_x = offset_x;
this.offset_y = offset_y;
this.ptr_block_name_map = ptr_block_name_map;
this.ptr_popup_block_panel = ptr_popup_block_panel;
this.block_name_map = block_name_map;
this.popup_block_panel = popup_block_panel;
}
}
}

View File

@@ -15,33 +15,25 @@ namespace BlendFile.DNA {
[DNAClassAttribute(63, "ActionChannelBag", 32)]
public class ActionChannelBag {
[DNAFieldAttribute(0, "int", "slot_handle", "int", 4, false)]
[DNAFieldAttribute(4, "int", 0, "slot_handle", "int", false, 0)]
public int slot_handle;
[DNAFieldAttribute(1, "int", "group_array_num", "int", 4, false)]
public int group_array_num;
[DNAFieldAttribute(2, "bActionGroup", "**group_array", "bActionGroup", 8, true)]
public bActionGroup ptr_ptr_group_array;
[DNAFieldAttribute(3, "uchar", "_pad[4]", "System.Byte[]", 4, false)]
[DNAListAttribute(8, "bActionGroup", "**group_array", 2, "bActionGroup", "int", "group_array_num", 1, 8, 4)]
public System.Collections.Generic.List<bActionGroup> group_array;
[DNAArrayAttribute(4, "uchar", 3, "_pad[4]", "System.Byte[]", 4, false, 16)]
public byte[] _pad = new System.Byte[4];
[DNAFieldAttribute(4, "int", "fcurve_array_num", "int", 4, false)]
public int fcurve_array_num;
[DNAFieldAttribute(5, "FCurve", "**fcurve_array", "FCurve", 8, true)]
public FCurve ptr_ptr_fcurve_array;
[DNAListAttribute(8, "FCurve", "**fcurve_array", 5, "FCurve", "int", "fcurve_array_num", 4, 24, 20)]
public System.Collections.Generic.List<FCurve> fcurve_array;
public ActionChannelBag() {
this.slot_handle = default;
this.group_array_num = default;
this.ptr_ptr_group_array = default;
this.group_array = default;
this._pad = default;
this.fcurve_array_num = default;
this.ptr_ptr_fcurve_array = default;
this.fcurve_array = default;
}
public ActionChannelBag(int slot_handle, int group_array_num, bActionGroup ptr_ptr_group_array, byte[] _pad, int fcurve_array_num, FCurve ptr_ptr_fcurve_array) {
public ActionChannelBag(int slot_handle, System.Collections.Generic.List<bActionGroup> group_array, byte[] _pad, System.Collections.Generic.List<FCurve> fcurve_array) {
this.slot_handle = slot_handle;
this.group_array_num = group_array_num;
this.ptr_ptr_group_array = ptr_ptr_group_array;
this.group_array = group_array;
this._pad = _pad;
this.fcurve_array_num = fcurve_array_num;
this.ptr_ptr_fcurve_array = ptr_ptr_fcurve_array;
this.fcurve_array = fcurve_array;
}
}
}

View File

@@ -15,21 +15,19 @@ namespace BlendFile.DNA {
[DNAClassAttribute(66, "ActionLayer", 88)]
public class ActionLayer {
[DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, false, 0)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(1, "float", "influence", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "influence", "float", false, 64)]
public float influence;
[DNAFieldAttribute(2, "uchar", "layer_flags", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 2, "layer_flags", "uchar", false, 68)]
public byte layer_flags;
[DNAFieldAttribute(3, "int8_t", "layer_mix_mode", "int8_t", 1, false)]
[DNAFieldAttribute(1, "int8_t", 3, "layer_mix_mode", "int8_t", false, 69)]
public sbyte layer_mix_mode;
[DNAFieldAttribute(4, "uchar", "_pad0[2]", "System.Byte[]", 2, false)]
[DNAArrayAttribute(2, "uchar", 4, "_pad0[2]", "System.Byte[]", 2, false, 70)]
public byte[] _pad0 = new System.Byte[2];
[DNAFieldAttribute(5, "ActionStrip", "**strip_array", "ActionStrip", 8, true)]
public ActionStrip ptr_ptr_strip_array;
[DNAFieldAttribute(6, "int", "strip_array_num", "int", 4, false)]
public int strip_array_num;
[DNAFieldAttribute(7, "uchar", "_pad1[4]", "System.Byte[]", 4, false)]
[DNAListAttribute(8, "ActionStrip", "**strip_array", 5, "ActionStrip", "int", "strip_array_num", 6, 72, 80)]
public System.Collections.Generic.List<ActionStrip> strip_array;
[DNAArrayAttribute(4, "uchar", 7, "_pad1[4]", "System.Byte[]", 4, false, 84)]
public byte[] _pad1 = new System.Byte[4];
public ActionLayer() {
this.name = default;
@@ -37,18 +35,16 @@ namespace BlendFile.DNA {
this.layer_flags = default;
this.layer_mix_mode = default;
this._pad0 = default;
this.ptr_ptr_strip_array = default;
this.strip_array_num = default;
this.strip_array = default;
this._pad1 = default;
}
public ActionLayer(char[] name, float influence, byte layer_flags, sbyte layer_mix_mode, byte[] _pad0, ActionStrip ptr_ptr_strip_array, int strip_array_num, byte[] _pad1) {
public ActionLayer(char[] name, float influence, byte layer_flags, sbyte layer_mix_mode, byte[] _pad0, System.Collections.Generic.List<ActionStrip> strip_array, byte[] _pad1) {
this.name = name;
this.influence = influence;
this.layer_flags = layer_flags;
this.layer_mix_mode = layer_mix_mode;
this._pad0 = _pad0;
this.ptr_ptr_strip_array = ptr_ptr_strip_array;
this.strip_array_num = strip_array_num;
this.strip_array = strip_array;
this._pad1 = _pad1;
}
}

View File

@@ -15,20 +15,20 @@ namespace BlendFile.DNA {
[DNAClassAttribute(67, "ActionSlot", 88)]
public class ActionSlot {
[DNAFieldAttribute(0, "char", "name[66]", "System.Char[]", 66, false)]
[DNAArrayAttribute(66, "char", 0, "name[66]", "System.Char[]", 66, false, 0)]
public char[] name = new System.Char[66];
[DNAFieldAttribute(1, "uchar", "_pad0[2]", "System.Byte[]", 2, false)]
[DNAArrayAttribute(2, "uchar", 1, "_pad0[2]", "System.Byte[]", 2, false, 66)]
public byte[] _pad0 = new System.Byte[2];
[DNAFieldAttribute(2, "int", "idtype", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "idtype", "int", false, 68)]
public int idtype;
[DNAFieldAttribute(3, "int", "handle", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "handle", "int", false, 72)]
public int handle;
[DNAFieldAttribute(4, "int8_t", "slot_flags", "int8_t", 1, false)]
[DNAFieldAttribute(1, "int8_t", 4, "slot_flags", "int8_t", false, 76)]
public sbyte slot_flags;
[DNAFieldAttribute(5, "uchar", "_pad1[3]", "System.Byte[]", 3, false)]
[DNAArrayAttribute(3, "uchar", 5, "_pad1[3]", "System.Byte[]", 3, false, 77)]
public byte[] _pad1 = new System.Byte[3];
[DNAFieldAttribute(6, "ActionSlotRuntimeHandle", "*runtime", "ActionSlotRuntimeHandle", 8, true)]
public ActionSlotRuntimeHandle ptr_runtime;
[DNAFieldAttribute(8, "ActionSlotRuntimeHandle", 6, "*runtime", "ActionSlotRuntimeHandle", true, 80)]
public ActionSlotRuntimeHandle runtime;
public ActionSlot() {
this.name = default;
this._pad0 = default;
@@ -36,16 +36,16 @@ namespace BlendFile.DNA {
this.handle = default;
this.slot_flags = default;
this._pad1 = default;
this.ptr_runtime = default;
this.runtime = default;
}
public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle ptr_runtime) {
public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle runtime) {
this.name = name;
this._pad0 = _pad0;
this.idtype = idtype;
this.handle = handle;
this.slot_flags = slot_flags;
this._pad1 = _pad1;
this.ptr_runtime = ptr_runtime;
this.runtime = runtime;
}
}
}

View File

@@ -14,20 +14,20 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(77, "ActionStrip", 24)]
public struct ActionStrip {
[DNAFieldAttribute(0, "int8_t", "strip_type", "int8_t", 1, false)]
public class ActionStrip {
[DNAFieldAttribute(1, "int8_t", 0, "strip_type", "int8_t", false, 0)]
public sbyte strip_type;
[DNAFieldAttribute(1, "uchar", "_pad0[3]", "System.Byte[]", 3, false)]
[DNAArrayAttribute(3, "uchar", 1, "_pad0[3]", "System.Byte[]", 3, false, 1)]
public byte[] _pad0 = new System.Byte[3];
[DNAFieldAttribute(2, "int", "data_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "data_index", "int", false, 4)]
public int data_index;
[DNAFieldAttribute(3, "float", "frame_start", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "frame_start", "float", false, 8)]
public float frame_start;
[DNAFieldAttribute(4, "float", "frame_end", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "frame_end", "float", false, 12)]
public float frame_end;
[DNAFieldAttribute(5, "float", "frame_offset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "frame_offset", "float", false, 16)]
public float frame_offset;
[DNAFieldAttribute(6, "uchar", "_pad1[4]", "System.Byte[]", 4, false)]
[DNAArrayAttribute(4, "uchar", 6, "_pad1[4]", "System.Byte[]", 4, false, 20)]
public byte[] _pad1 = new System.Byte[4];
public ActionStrip() {
this.strip_type = default;

View File

@@ -15,20 +15,16 @@ namespace BlendFile.DNA {
[DNAClassAttribute(68, "ActionStripKeyframeData", 16)]
public class ActionStripKeyframeData {
[DNAFieldAttribute(0, "ActionChannelBag", "**channelbag_array", "ActionChannelBag", 8, true)]
public ActionChannelBag ptr_ptr_channelbag_array;
[DNAFieldAttribute(1, "int", "channelbag_array_num", "int", 4, false)]
public int channelbag_array_num;
[DNAFieldAttribute(2, "uchar", "_pad[4]", "System.Byte[]", 4, false)]
[DNAListAttribute(8, "ActionChannelBag", "**channelbag_array", 0, "ActionChannelBag", "int", "channelbag_array_num", 1, 0, 8)]
public System.Collections.Generic.List<ActionChannelBag> channelbag_array;
[DNAArrayAttribute(4, "uchar", 2, "_pad[4]", "System.Byte[]", 4, false, 12)]
public byte[] _pad = new System.Byte[4];
public ActionStripKeyframeData() {
this.ptr_ptr_channelbag_array = default;
this.channelbag_array_num = default;
this.channelbag_array = default;
this._pad = default;
}
public ActionStripKeyframeData(ActionChannelBag ptr_ptr_channelbag_array, int channelbag_array_num, byte[] _pad) {
this.ptr_ptr_channelbag_array = ptr_ptr_channelbag_array;
this.channelbag_array_num = channelbag_array_num;
public ActionStripKeyframeData(System.Collections.Generic.List<ActionChannelBag> channelbag_array, byte[] _pad) {
this.channelbag_array = channelbag_array;
this._pad = _pad;
}
}

View File

@@ -13,61 +13,58 @@ using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(101, "AnimData", 248)]
[DNAClassAttribute(101, "AnimData", 240)]
public class AnimData {
[DNAFieldAttribute(0, "bAction", "*action", "bAction", 8, true)]
public bAction ptr_action;
[DNAFieldAttribute(1, "int", "slot_handle", "int", 4, false)]
[DNAFieldAttribute(8, "bAction", 0, "*action", "bAction", true, 0)]
public bAction action;
[DNAFieldAttribute(4, "int", 1, "slot_handle", "int", false, 8)]
public int slot_handle;
[DNAFieldAttribute(2, "char", "slot_name[66]", "System.Char[]", 66, false)]
[DNAArrayAttribute(66, "char", 2, "slot_name[66]", "System.Char[]", 66, false, 12)]
public char[] slot_name = new System.Char[66];
[DNAFieldAttribute(3, "uchar", "_pad0[2]", "System.Byte[]", 2, false)]
[DNAArrayAttribute(2, "uchar", 3, "_pad0[2]", "System.Byte[]", 2, false, 78)]
public byte[] _pad0 = new System.Byte[2];
[DNAFieldAttribute(4, "bAction", "*tmpact", "bAction", 8, true)]
public bAction ptr_tmpact;
[DNAFieldAttribute(5, "int", "tmp_slot_handle", "int", 4, false)]
[DNAFieldAttribute(8, "bAction", 4, "*tmpact", "bAction", true, 80)]
public bAction tmpact;
[DNAFieldAttribute(4, "int", 5, "tmp_slot_handle", "int", false, 88)]
public int tmp_slot_handle;
[DNAFieldAttribute(6, "char", "tmp_slot_name[66]", "System.Char[]", 66, false)]
[DNAArrayAttribute(66, "char", 6, "tmp_slot_name[66]", "System.Char[]", 66, false, 92)]
public char[] tmp_slot_name = new System.Char[66];
[DNAFieldAttribute(7, "uchar", "_pad1[2]", "System.Byte[]", 2, false)]
[DNAArrayAttribute(2, "uchar", 7, "_pad1[2]", "System.Byte[]", 2, false, 158)]
public byte[] _pad1 = new System.Byte[2];
[DNAFieldAttribute(8, "ListBase", "nla_tracks", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 8, "nla_tracks", "ListBase", false, 160)]
public ListBase nla_tracks;
[DNAFieldAttribute(9, "NlaTrack", "*act_track", "NlaTrack", 8, true)]
public NlaTrack ptr_act_track;
[DNAFieldAttribute(10, "NlaStrip", "*actstrip", "NlaStrip", 8, true)]
public NlaStrip ptr_actstrip;
[DNAFieldAttribute(11, "ListBase", "drivers", "ListBase", 16, false)]
[DNAFieldAttribute(8, "NlaTrack", 9, "*act_track", "NlaTrack", true, 176)]
public NlaTrack act_track;
[DNAFieldAttribute(8, "NlaStrip", 10, "*actstrip", "NlaStrip", true, 184)]
public NlaStrip actstrip;
[DNAFieldAttribute(16, "ListBase", 11, "drivers", "ListBase", false, 192)]
public ListBase drivers;
[DNAFieldAttribute(12, "ListBase", "overrides", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 12, "overrides", "ListBase", false, 208)]
public ListBase overrides;
[DNAFieldAttribute(13, "FCurve", "**driver_array", "FCurve", 8, true)]
public FCurve ptr_ptr_driver_array;
[DNAFieldAttribute(14, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 14, "flag", "int", false, 224)]
public int flag;
[DNAFieldAttribute(15, "short", "act_blendmode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 15, "act_blendmode", "short", false, 228)]
public short act_blendmode;
[DNAFieldAttribute(16, "short", "act_extendmode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 16, "act_extendmode", "short", false, 230)]
public short act_extendmode;
[DNAFieldAttribute(17, "float", "act_influence", "float", 4, false)]
[DNAFieldAttribute(4, "float", 17, "act_influence", "float", false, 232)]
public float act_influence;
[DNAFieldAttribute(18, "uchar", "_pad2[4]", "System.Byte[]", 4, false)]
[DNAArrayAttribute(4, "uchar", 18, "_pad2[4]", "System.Byte[]", 4, false, 236)]
public byte[] _pad2 = new System.Byte[4];
public AnimData() {
this.ptr_action = default;
this.action = default;
this.slot_handle = default;
this.slot_name = default;
this._pad0 = default;
this.ptr_tmpact = default;
this.tmpact = default;
this.tmp_slot_handle = default;
this.tmp_slot_name = default;
this._pad1 = default;
this.nla_tracks = default;
this.ptr_act_track = default;
this.ptr_actstrip = default;
this.act_track = default;
this.actstrip = default;
this.drivers = default;
this.overrides = default;
this.ptr_ptr_driver_array = default;
this.flag = default;
this.act_blendmode = default;
this.act_extendmode = default;
@@ -75,39 +72,37 @@ namespace BlendFile.DNA {
this._pad2 = default;
}
public AnimData(
bAction ptr_action,
bAction action,
int slot_handle,
char[] slot_name,
byte[] _pad0,
bAction ptr_tmpact,
bAction tmpact,
int tmp_slot_handle,
char[] tmp_slot_name,
byte[] _pad1,
ListBase nla_tracks,
NlaTrack ptr_act_track,
NlaStrip ptr_actstrip,
NlaTrack act_track,
NlaStrip actstrip,
ListBase drivers,
ListBase overrides,
FCurve ptr_ptr_driver_array,
int flag,
short act_blendmode,
short act_extendmode,
float act_influence,
byte[] _pad2) {
this.ptr_action = ptr_action;
this.action = action;
this.slot_handle = slot_handle;
this.slot_name = slot_name;
this._pad0 = _pad0;
this.ptr_tmpact = ptr_tmpact;
this.tmpact = tmpact;
this.tmp_slot_handle = tmp_slot_handle;
this.tmp_slot_name = tmp_slot_name;
this._pad1 = _pad1;
this.nla_tracks = nla_tracks;
this.ptr_act_track = ptr_act_track;
this.ptr_actstrip = ptr_actstrip;
this.act_track = act_track;
this.actstrip = actstrip;
this.drivers = drivers;
this.overrides = overrides;
this.ptr_ptr_driver_array = ptr_ptr_driver_array;
this.flag = flag;
this.act_blendmode = act_blendmode;
this.act_extendmode = act_extendmode;

View File

@@ -13,30 +13,26 @@ using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(100, "AnimOverride", 32)]
[DNAClassAttribute(100, "AnimOverride", 28)]
public class AnimOverride {
[DNAFieldAttribute(0, "AnimOverride", "*next", "AnimOverride", 8, true)]
public AnimOverride ptr_next;
[DNAFieldAttribute(1, "AnimOverride", "*prev", "AnimOverride", 8, true)]
public AnimOverride ptr_prev;
[DNAFieldAttribute(2, "char", "*rna_path", "char", 8, true)]
public char ptr_rna_path;
[DNAFieldAttribute(3, "int", "array_index", "int", 4, false)]
public int array_index;
[DNAFieldAttribute(4, "float", "value", "float", 4, false)]
[DNAFieldAttribute(8, "AnimOverride", 0, "*next", "AnimOverride", true, 0)]
public AnimOverride next;
[DNAFieldAttribute(8, "AnimOverride", 1, "*prev", "AnimOverride", true, 8)]
public AnimOverride prev;
[DNAFieldAttribute(8, "char", 2, "*rna_path", "char", true, 16)]
public char rna_path;
[DNAFieldAttribute(4, "float", 4, "value", "float", false, 24)]
public float value;
public AnimOverride() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_rna_path = default;
this.array_index = default;
this.next = default;
this.prev = default;
this.rna_path = default;
this.value = default;
}
public AnimOverride(AnimOverride ptr_next, AnimOverride ptr_prev, char ptr_rna_path, int array_index, float value) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_rna_path = ptr_rna_path;
this.array_index = array_index;
public AnimOverride(AnimOverride next, AnimOverride prev, char rna_path, float value) {
this.next = next;
this.prev = prev;
this.rna_path = rna_path;
this.value = value;
}
}

View File

@@ -15,32 +15,32 @@ namespace BlendFile.DNA {
[DNAClassAttribute(296, "ArmatureGpencilModifierData", 184)]
public class ArmatureGpencilModifierData {
[DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false)]
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
public GpencilModifierData modifier;
[DNAFieldAttribute(1, "short", "deformflag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "deformflag", "short", false, 104)]
public short deformflag;
[DNAFieldAttribute(2, "short", "multi", "short", 2, false)]
[DNAFieldAttribute(2, "short", 2, "multi", "short", false, 106)]
public short multi;
[DNAFieldAttribute(3, "int", "_pad", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "_pad", "int", false, 108)]
public int _pad;
[DNAFieldAttribute(4, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(6, "char", "vgname[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 112)]
public Object @object;
[DNAArrayAttribute(64, "char", 6, "vgname[64]", "System.Char[]", 64, false, 120)]
public char[] vgname = new System.Char[64];
public ArmatureGpencilModifierData() {
this.modifier = default;
this.deformflag = default;
this.multi = default;
this._pad = default;
this.ptr_object = default;
this.@object = default;
this.vgname = default;
}
public ArmatureGpencilModifierData(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object ptr_object, char[] vgname) {
public ArmatureGpencilModifierData(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object @object, char[] vgname) {
this.modifier = modifier;
this.deformflag = deformflag;
this.multi = multi;
this._pad = _pad;
this.ptr_object = ptr_object;
this.@object = @object;
this.vgname = vgname;
}
}

View File

@@ -15,32 +15,32 @@ namespace BlendFile.DNA {
[DNAClassAttribute(461, "ArmatureModifierData", 200)]
public class ArmatureModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "short", "deformflag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "deformflag", "short", false, 120)]
public short deformflag;
[DNAFieldAttribute(2, "short", "multi", "short", 2, false)]
[DNAFieldAttribute(2, "short", 2, "multi", "short", false, 122)]
public short multi;
[DNAFieldAttribute(3, "char", "_pad2[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 3, "_pad2[4]", "System.Char[]", 4, false, 124)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(4, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(6, "char", "defgrp_name[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 128)]
public Object @object;
[DNAArrayAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", 64, false, 136)]
public char[] defgrp_name = new System.Char[64];
public ArmatureModifierData() {
this.modifier = default;
this.deformflag = default;
this.multi = default;
this._pad2 = default;
this.ptr_object = default;
this.@object = default;
this.defgrp_name = default;
}
public ArmatureModifierData(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object ptr_object, char[] defgrp_name) {
public ArmatureModifierData(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object @object, char[] defgrp_name) {
this.modifier = modifier;
this.deformflag = deformflag;
this.multi = multi;
this._pad2 = _pad2;
this.ptr_object = ptr_object;
this.@object = @object;
this.defgrp_name = defgrp_name;
}
}

View File

@@ -15,44 +15,44 @@ namespace BlendFile.DNA {
[DNAClassAttribute(284, "ArrayGpencilModifierData", 336)]
public class ArrayGpencilModifierData {
[DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false)]
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
public GpencilModifierData modifier;
[DNAFieldAttribute(1, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(2, "Material", "*material", "Material", 8, true)]
public Material ptr_material;
[DNAFieldAttribute(3, "int", "count", "int", 4, false)]
[DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)]
public Object @object;
[DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)]
public Material material;
[DNAFieldAttribute(4, "int", 3, "count", "int", false, 120)]
public int count;
[DNAFieldAttribute(4, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "flag", "int", false, 124)]
public int flag;
[DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, false, 128)]
public float[] offset = new System.Single[3];
[DNAFieldAttribute(6, "float", "shift[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 6, "shift[3]", "System.Single[]", 3, false, 140)]
public float[] shift = new System.Single[3];
[DNAFieldAttribute(7, "float", "rnd_offset[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", 3, false, 152)]
public float[] rnd_offset = new System.Single[3];
[DNAFieldAttribute(8, "float", "rnd_rot[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", 3, false, 164)]
public float[] rnd_rot = new System.Single[3];
[DNAFieldAttribute(9, "float", "rnd_scale[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", 3, false, 176)]
public float[] rnd_scale = new System.Single[3];
[DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, false, 188)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(11, "int", "seed", "int", 4, false)]
[DNAFieldAttribute(4, "int", 11, "seed", "int", false, 192)]
public int seed;
[DNAFieldAttribute(12, "int", "pass_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 12, "pass_index", "int", false, 196)]
public int pass_index;
[DNAFieldAttribute(13, "char", "layername[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 13, "layername[64]", "System.Char[]", 64, false, 200)]
public char[] layername = new System.Char[64];
[DNAFieldAttribute(14, "char", "materialname[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 14, "materialname[64]", "System.Char[]", 64, false, 264)]
public char[] materialname = new System.Char[64];
[DNAFieldAttribute(15, "int", "mat_rpl", "int", 4, false)]
[DNAFieldAttribute(4, "int", 15, "mat_rpl", "int", false, 328)]
public int mat_rpl;
[DNAFieldAttribute(16, "int", "layer_pass", "int", 4, false)]
[DNAFieldAttribute(4, "int", 16, "layer_pass", "int", false, 332)]
public int layer_pass;
public ArrayGpencilModifierData() {
this.modifier = default;
this.ptr_object = default;
this.ptr_material = default;
this.@object = default;
this.material = default;
this.count = default;
this.flag = default;
this.offset = default;
@@ -70,8 +70,8 @@ namespace BlendFile.DNA {
}
public ArrayGpencilModifierData(
GpencilModifierData modifier,
Object ptr_object,
Material ptr_material,
Object @object,
Material material,
int count,
int flag,
float[] offset,
@@ -87,8 +87,8 @@ namespace BlendFile.DNA {
int mat_rpl,
int layer_pass) {
this.modifier = modifier;
this.ptr_object = ptr_object;
this.ptr_material = ptr_material;
this.@object = @object;
this.material = material;
this.count = count;
this.flag = flag;
this.offset = offset;

View File

@@ -15,40 +15,40 @@ namespace BlendFile.DNA {
[DNAClassAttribute(451, "ArrayModifierData", 208)]
public class ArrayModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "Object", "*start_cap", "Object", 8, true)]
public Object ptr_start_cap;
[DNAFieldAttribute(2, "Object", "*end_cap", "Object", 8, true)]
public Object ptr_end_cap;
[DNAFieldAttribute(3, "Object", "*curve_ob", "Object", 8, true)]
public Object ptr_curve_ob;
[DNAFieldAttribute(4, "Object", "*offset_ob", "Object", 8, true)]
public Object ptr_offset_ob;
[DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(8, "Object", 1, "*start_cap", "Object", true, 120)]
public Object start_cap;
[DNAFieldAttribute(8, "Object", 2, "*end_cap", "Object", true, 128)]
public Object end_cap;
[DNAFieldAttribute(8, "Object", 3, "*curve_ob", "Object", true, 136)]
public Object curve_ob;
[DNAFieldAttribute(8, "Object", 4, "*offset_ob", "Object", true, 144)]
public Object offset_ob;
[DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, false, 152)]
public float[] offset = new System.Single[3];
[DNAFieldAttribute(6, "float", "scale[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 6, "scale[3]", "System.Single[]", 3, false, 164)]
public float[] scale = new System.Single[3];
[DNAFieldAttribute(7, "float", "length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "length", "float", false, 176)]
public float length;
[DNAFieldAttribute(8, "float", "merge_dist", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "merge_dist", "float", false, 180)]
public float merge_dist;
[DNAFieldAttribute(9, "int", "fit_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 9, "fit_type", "int", false, 184)]
public int fit_type;
[DNAFieldAttribute(10, "int", "offset_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 10, "offset_type", "int", false, 188)]
public int offset_type;
[DNAFieldAttribute(11, "int", "flags", "int", 4, false)]
[DNAFieldAttribute(4, "int", 11, "flags", "int", false, 192)]
public int flags;
[DNAFieldAttribute(12, "int", "count", "int", 4, false)]
[DNAFieldAttribute(4, "int", 12, "count", "int", false, 196)]
public int count;
[DNAFieldAttribute(13, "float", "uv_offset[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 13, "uv_offset[2]", "System.Single[]", 2, false, 200)]
public float[] uv_offset = new System.Single[2];
public ArrayModifierData() {
this.modifier = default;
this.ptr_start_cap = default;
this.ptr_end_cap = default;
this.ptr_curve_ob = default;
this.ptr_offset_ob = default;
this.start_cap = default;
this.end_cap = default;
this.curve_ob = default;
this.offset_ob = default;
this.offset = default;
this.scale = default;
this.length = default;
@@ -59,12 +59,12 @@ namespace BlendFile.DNA {
this.count = default;
this.uv_offset = default;
}
public ArrayModifierData(ModifierData modifier, Object ptr_start_cap, Object ptr_end_cap, Object ptr_curve_ob, Object ptr_offset_ob, float[] offset, float[] scale, float length, float merge_dist, int fit_type, int offset_type, int flags, int count, float[] uv_offset) {
public ArrayModifierData(ModifierData modifier, Object start_cap, Object end_cap, Object curve_ob, Object offset_ob, float[] offset, float[] scale, float length, float merge_dist, int fit_type, int offset_type, int flags, int count, float[] uv_offset) {
this.modifier = modifier;
this.ptr_start_cap = ptr_start_cap;
this.ptr_end_cap = ptr_end_cap;
this.ptr_curve_ob = ptr_curve_ob;
this.ptr_offset_ob = ptr_offset_ob;
this.start_cap = start_cap;
this.end_cap = end_cap;
this.curve_ob = curve_ob;
this.offset_ob = offset_ob;
this.offset = offset;
this.scale = scale;
this.length = length;

View File

@@ -15,21 +15,21 @@ namespace BlendFile.DNA {
[DNAClassAttribute(115, "AssetCatalogPathLink", 24)]
public class AssetCatalogPathLink {
[DNAFieldAttribute(0, "AssetCatalogPathLink", "*next", "AssetCatalogPathLink", 8, true)]
public AssetCatalogPathLink ptr_next;
[DNAFieldAttribute(1, "AssetCatalogPathLink", "*prev", "AssetCatalogPathLink", 8, true)]
public AssetCatalogPathLink ptr_prev;
[DNAFieldAttribute(2, "char", "*path", "char", 8, true)]
public char ptr_path;
[DNAFieldAttribute(8, "AssetCatalogPathLink", 0, "*next", "AssetCatalogPathLink", true, 0)]
public AssetCatalogPathLink next;
[DNAFieldAttribute(8, "AssetCatalogPathLink", 1, "*prev", "AssetCatalogPathLink", true, 8)]
public AssetCatalogPathLink prev;
[DNAFieldAttribute(8, "char", 2, "*path", "char", true, 16)]
public char path;
public AssetCatalogPathLink() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_path = default;
this.next = default;
this.prev = default;
this.path = default;
}
public AssetCatalogPathLink(AssetCatalogPathLink ptr_next, AssetCatalogPathLink ptr_prev, char ptr_path) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_path = ptr_path;
public AssetCatalogPathLink(AssetCatalogPathLink next, AssetCatalogPathLink prev, char path) {
this.next = next;
this.prev = prev;
this.path = path;
}
}
}

View File

@@ -14,12 +14,12 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(113, "AssetLibraryReference", 8)]
public struct AssetLibraryReference {
[DNAFieldAttribute(0, "short", "type", "short", 2, false)]
public class AssetLibraryReference {
[DNAFieldAttribute(2, "short", 0, "type", "short", false, 0)]
public short type;
[DNAFieldAttribute(1, "char", "_pad1[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", 2, false, 2)]
public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(2, "int", "custom_library_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "custom_library_index", "int", false, 4)]
public int custom_library_index;
public AssetLibraryReference() {
this.type = default;

View File

@@ -15,53 +15,53 @@ namespace BlendFile.DNA {
[DNAClassAttribute(35, "AssetMetaData", 152)]
public class AssetMetaData {
[DNAFieldAttribute(0, "AssetTypeInfo", "*local_type_info", "AssetTypeInfo", 8, true)]
public AssetTypeInfo ptr_local_type_info;
[DNAFieldAttribute(1, "IDProperty", "*properties", "IDProperty", 8, true)]
public IDProperty ptr_properties;
[DNAFieldAttribute(2, "bUUID", "catalog_id", "bUUID", 16, false)]
[DNAFieldAttribute(8, "AssetTypeInfo", 0, "*local_type_info", "AssetTypeInfo", true, 0)]
public AssetTypeInfo local_type_info;
[DNAFieldAttribute(8, "IDProperty", 1, "*properties", "IDProperty", true, 8)]
public IDProperty properties;
[DNAFieldAttribute(16, "bUUID", 2, "catalog_id", "bUUID", false, 16)]
public bUUID catalog_id;
[DNAFieldAttribute(3, "char", "catalog_simple_name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 3, "catalog_simple_name[64]", "System.Char[]", 64, false, 32)]
public char[] catalog_simple_name = new System.Char[64];
[DNAFieldAttribute(4, "char", "*author", "char", 8, true)]
public char ptr_author;
[DNAFieldAttribute(5, "char", "*description", "char", 8, true)]
public char ptr_description;
[DNAFieldAttribute(6, "char", "*copyright", "char", 8, true)]
public char ptr_copyright;
[DNAFieldAttribute(7, "char", "*license", "char", 8, true)]
public char ptr_license;
[DNAFieldAttribute(8, "ListBase", "tags", "ListBase", 16, false)]
[DNAFieldAttribute(8, "char", 4, "*author", "char", true, 96)]
public char author;
[DNAFieldAttribute(8, "char", 5, "*description", "char", true, 104)]
public char description;
[DNAFieldAttribute(8, "char", 6, "*copyright", "char", true, 112)]
public char copyright;
[DNAFieldAttribute(8, "char", 7, "*license", "char", true, 120)]
public char license;
[DNAFieldAttribute(16, "ListBase", 8, "tags", "ListBase", false, 128)]
public ListBase tags;
[DNAFieldAttribute(9, "short", "active_tag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 9, "active_tag", "short", false, 144)]
public short active_tag;
[DNAFieldAttribute(10, "short", "tot_tags", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "tot_tags", "short", false, 146)]
public short tot_tags;
[DNAFieldAttribute(11, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, false, 148)]
public char[] _pad = new System.Char[4];
public AssetMetaData() {
this.ptr_local_type_info = default;
this.ptr_properties = default;
this.local_type_info = default;
this.properties = default;
this.catalog_id = default;
this.catalog_simple_name = default;
this.ptr_author = default;
this.ptr_description = default;
this.ptr_copyright = default;
this.ptr_license = default;
this.author = default;
this.description = default;
this.copyright = default;
this.license = default;
this.tags = default;
this.active_tag = default;
this.tot_tags = default;
this._pad = default;
}
public AssetMetaData(AssetTypeInfo ptr_local_type_info, IDProperty ptr_properties, bUUID catalog_id, char[] catalog_simple_name, char ptr_author, char ptr_description, char ptr_copyright, char ptr_license, ListBase tags, short active_tag, short tot_tags, char[] _pad) {
this.ptr_local_type_info = ptr_local_type_info;
this.ptr_properties = ptr_properties;
public AssetMetaData(AssetTypeInfo local_type_info, IDProperty properties, bUUID catalog_id, char[] catalog_simple_name, char author, char description, char copyright, char license, ListBase tags, short active_tag, short tot_tags, char[] _pad) {
this.local_type_info = local_type_info;
this.properties = properties;
this.catalog_id = catalog_id;
this.catalog_simple_name = catalog_simple_name;
this.ptr_author = ptr_author;
this.ptr_description = ptr_description;
this.ptr_copyright = ptr_copyright;
this.ptr_license = ptr_license;
this.author = author;
this.description = description;
this.copyright = copyright;
this.license = license;
this.tags = tags;
this.active_tag = active_tag;
this.tot_tags = tot_tags;

View File

@@ -15,37 +15,37 @@ namespace BlendFile.DNA {
[DNAClassAttribute(871, "AssetShelf", 216)]
public class AssetShelf {
[DNAFieldAttribute(0, "AssetShelf", "*next", "AssetShelf", 8, true)]
public AssetShelf ptr_next;
[DNAFieldAttribute(1, "AssetShelf", "*prev", "AssetShelf", 8, true)]
public AssetShelf ptr_prev;
[DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "AssetShelf", 0, "*next", "AssetShelf", true, 0)]
public AssetShelf next;
[DNAFieldAttribute(8, "AssetShelf", 1, "*prev", "AssetShelf", true, 8)]
public AssetShelf prev;
[DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, false, 16)]
public char[] idname = new System.Char[64];
[DNAFieldAttribute(3, "AssetShelfType", "*type", "AssetShelfType", 8, true)]
public AssetShelfType ptr_type;
[DNAFieldAttribute(4, "AssetShelfSettings", "settings", "AssetShelfSettings", 120, false)]
[DNAFieldAttribute(8, "AssetShelfType", 3, "*type", "AssetShelfType", true, 80)]
public AssetShelfType type;
[DNAFieldAttribute(120, "AssetShelfSettings", 4, "settings", "AssetShelfSettings", false, 88)]
public AssetShelfSettings settings;
[DNAFieldAttribute(5, "short", "preferred_row_count", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "preferred_row_count", "short", false, 208)]
public short preferred_row_count;
[DNAFieldAttribute(6, "short", "instance_flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "instance_flag", "short", false, 210)]
public short instance_flag;
[DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, false, 212)]
public char[] _pad = new System.Char[4];
public AssetShelf() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.idname = default;
this.ptr_type = default;
this.type = default;
this.settings = default;
this.preferred_row_count = default;
this.instance_flag = default;
this._pad = default;
}
public AssetShelf(AssetShelf ptr_next, AssetShelf ptr_prev, char[] idname, AssetShelfType ptr_type, AssetShelfSettings settings, short preferred_row_count, short instance_flag, char[] _pad) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public AssetShelf(AssetShelf next, AssetShelf prev, char[] idname, AssetShelfType type, AssetShelfSettings settings, short preferred_row_count, short instance_flag, char[] _pad) {
this.next = next;
this.prev = prev;
this.idname = idname;
this.ptr_type = ptr_type;
this.type = type;
this.settings = settings;
this.preferred_row_count = preferred_row_count;
this.instance_flag = instance_flag;

View File

@@ -15,41 +15,41 @@ namespace BlendFile.DNA {
[DNAClassAttribute(870, "AssetShelfSettings", 120)]
public class AssetShelfSettings {
[DNAFieldAttribute(0, "AssetShelfSettings", "*next", "AssetShelfSettings", 8, true)]
public AssetShelfSettings ptr_next;
[DNAFieldAttribute(1, "AssetShelfSettings", "*prev", "AssetShelfSettings", 8, true)]
public AssetShelfSettings ptr_prev;
[DNAFieldAttribute(2, "AssetLibraryReference", "asset_library_reference", "AssetLibraryReference", 8, false)]
[DNAFieldAttribute(8, "AssetShelfSettings", 0, "*next", "AssetShelfSettings", true, 0)]
public AssetShelfSettings next;
[DNAFieldAttribute(8, "AssetShelfSettings", 1, "*prev", "AssetShelfSettings", true, 8)]
public AssetShelfSettings prev;
[DNAFieldAttribute(8, "AssetLibraryReference", 2, "asset_library_reference", "AssetLibraryReference", false, 16)]
public AssetLibraryReference asset_library_reference;
[DNAFieldAttribute(3, "ListBase", "enabled_catalog_paths", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 3, "enabled_catalog_paths", "ListBase", false, 24)]
public ListBase enabled_catalog_paths;
[DNAFieldAttribute(4, "char", "*active_catalog_path", "char", 8, true)]
public char ptr_active_catalog_path;
[DNAFieldAttribute(5, "char", "search_string[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "char", 4, "*active_catalog_path", "char", true, 40)]
public char active_catalog_path;
[DNAArrayAttribute(64, "char", 5, "search_string[64]", "System.Char[]", 64, false, 48)]
public char[] search_string = new System.Char[64];
[DNAFieldAttribute(6, "short", "preview_size", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "preview_size", "short", false, 112)]
public short preview_size;
[DNAFieldAttribute(7, "short", "display_flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 7, "display_flag", "short", false, 114)]
public short display_flag;
[DNAFieldAttribute(8, "char", "_pad1[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 8, "_pad1[4]", "System.Char[]", 4, false, 116)]
public char[] _pad1 = new System.Char[4];
public AssetShelfSettings() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.asset_library_reference = default;
this.enabled_catalog_paths = default;
this.ptr_active_catalog_path = default;
this.active_catalog_path = default;
this.search_string = default;
this.preview_size = default;
this.display_flag = default;
this._pad1 = default;
}
public AssetShelfSettings(AssetShelfSettings ptr_next, AssetShelfSettings ptr_prev, AssetLibraryReference asset_library_reference, ListBase enabled_catalog_paths, char ptr_active_catalog_path, char[] search_string, short preview_size, short display_flag, char[] _pad1) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public AssetShelfSettings(AssetShelfSettings next, AssetShelfSettings prev, AssetLibraryReference asset_library_reference, ListBase enabled_catalog_paths, char active_catalog_path, char[] search_string, short preview_size, short display_flag, char[] _pad1) {
this.next = next;
this.prev = prev;
this.asset_library_reference = asset_library_reference;
this.enabled_catalog_paths = enabled_catalog_paths;
this.ptr_active_catalog_path = ptr_active_catalog_path;
this.active_catalog_path = active_catalog_path;
this.search_string = search_string;
this.preview_size = preview_size;
this.display_flag = display_flag;

View File

@@ -15,20 +15,20 @@ namespace BlendFile.DNA {
[DNAClassAttribute(110, "AssetTag", 80)]
public class AssetTag {
[DNAFieldAttribute(0, "AssetTag", "*next", "AssetTag", 8, true)]
public AssetTag ptr_next;
[DNAFieldAttribute(1, "AssetTag", "*prev", "AssetTag", 8, true)]
public AssetTag ptr_prev;
[DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "AssetTag", 0, "*next", "AssetTag", true, 0)]
public AssetTag next;
[DNAFieldAttribute(8, "AssetTag", 1, "*prev", "AssetTag", true, 8)]
public AssetTag prev;
[DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, false, 16)]
public char[] name = new System.Char[64];
public AssetTag() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.name = default;
}
public AssetTag(AssetTag ptr_next, AssetTag ptr_prev, char[] name) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public AssetTag(AssetTag next, AssetTag prev, char[] name) {
this.next = next;
this.prev = prev;
this.name = name;
}
}

View File

@@ -15,25 +15,25 @@ namespace BlendFile.DNA {
[DNAClassAttribute(114, "AssetWeakReference", 24)]
public class AssetWeakReference {
[DNAFieldAttribute(0, "char", "_pad[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 0, "_pad[6]", "System.Char[]", 6, false, 0)]
public char[] _pad = new System.Char[6];
[DNAFieldAttribute(1, "short", "asset_library_type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "asset_library_type", "short", false, 6)]
public short asset_library_type;
[DNAFieldAttribute(2, "char", "*asset_library_identifier", "char", 8, true)]
public char ptr_asset_library_identifier;
[DNAFieldAttribute(3, "char", "*relative_asset_identifier", "char", 8, true)]
public char ptr_relative_asset_identifier;
[DNAFieldAttribute(8, "char", 2, "*asset_library_identifier", "char", true, 8)]
public char asset_library_identifier;
[DNAFieldAttribute(8, "char", 3, "*relative_asset_identifier", "char", true, 16)]
public char relative_asset_identifier;
public AssetWeakReference() {
this._pad = default;
this.asset_library_type = default;
this.ptr_asset_library_identifier = default;
this.ptr_relative_asset_identifier = default;
this.asset_library_identifier = default;
this.relative_asset_identifier = default;
}
public AssetWeakReference(char[] _pad, short asset_library_type, char ptr_asset_library_identifier, char ptr_relative_asset_identifier) {
public AssetWeakReference(char[] _pad, short asset_library_type, char asset_library_identifier, char relative_asset_identifier) {
this._pad = _pad;
this.asset_library_type = asset_library_type;
this.ptr_asset_library_identifier = ptr_asset_library_identifier;
this.ptr_relative_asset_identifier = ptr_relative_asset_identifier;
this.asset_library_identifier = asset_library_identifier;
this.relative_asset_identifier = relative_asset_identifier;
}
}
}

View File

@@ -14,24 +14,24 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(798, "AudioData", 32)]
public struct AudioData {
[DNAFieldAttribute(0, "int", "mixrate", "int", 4, false)]
public class AudioData {
[DNAFieldAttribute(4, "int", 0, "mixrate", "int", false, 0)]
public int mixrate;
[DNAFieldAttribute(1, "float", "main", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "main", "float", false, 4)]
public float main;
[DNAFieldAttribute(2, "float", "speed_of_sound", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "speed_of_sound", "float", false, 8)]
public float speed_of_sound;
[DNAFieldAttribute(3, "float", "doppler_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "doppler_factor", "float", false, 12)]
public float doppler_factor;
[DNAFieldAttribute(4, "int", "distance_model", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "distance_model", "int", false, 16)]
public int distance_model;
[DNAFieldAttribute(5, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 20)]
public short flag;
[DNAFieldAttribute(6, "char", "_pad[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, false, 22)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(7, "float", "volume", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "volume", "float", false, 24)]
public float volume;
[DNAFieldAttribute(8, "char", "_pad2[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", 4, false, 28)]
public char[] _pad2 = new System.Char[4];
public AudioData() {
this.mixrate = default;

View File

@@ -14,22 +14,22 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(206, "BPoint", 36)]
public struct BPoint {
[DNAFieldAttribute(0, "float", "vec[4]", "System.Single[]", 16, false)]
public class BPoint {
[DNAArrayAttribute(16, "float", 0, "vec[4]", "System.Single[]", 4, false, 0)]
public float[] vec = new System.Single[4];
[DNAFieldAttribute(1, "float", "alfa", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 16)]
public float alfa;
[DNAFieldAttribute(2, "float", "weight", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "weight", "float", false, 20)]
public float weight;
[DNAFieldAttribute(3, "uchar", "f1", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 3, "f1", "uchar", false, 24)]
public byte f1;
[DNAFieldAttribute(4, "char", "_pad1[1]", "System.Char[]", 1, false)]
[DNAArrayAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", 1, false, 25)]
public char[] _pad1 = new System.Char[1];
[DNAFieldAttribute(5, "short", "hide", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "hide", "short", false, 26)]
public short hide;
[DNAFieldAttribute(6, "float", "radius", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "radius", "float", false, 28)]
public float radius;
[DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, false, 32)]
public char[] _pad = new System.Char[4];
public BPoint() {
this.vec = default;

View File

@@ -15,40 +15,40 @@ namespace BlendFile.DNA {
[DNAClassAttribute(801, "BakeData", 1400)]
public class BakeData {
[DNAFieldAttribute(0, "ImageFormatData", "im_format", "ImageFormatData", 336, false)]
[DNAFieldAttribute(336, "ImageFormatData", 0, "im_format", "ImageFormatData", false, 0)]
public ImageFormatData im_format;
[DNAFieldAttribute(1, "char", "filepath[1024]", "System.Char[]", 1024, false)]
[DNAArrayAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", 1024, false, 336)]
public char[] filepath = new System.Char[1024];
[DNAFieldAttribute(2, "short", "width", "short", 2, false)]
[DNAFieldAttribute(2, "short", 2, "width", "short", false, 1360)]
public short width;
[DNAFieldAttribute(3, "short", "height", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "height", "short", false, 1362)]
public short height;
[DNAFieldAttribute(4, "short", "margin", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "margin", "short", false, 1364)]
public short margin;
[DNAFieldAttribute(5, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 1366)]
public short flag;
[DNAFieldAttribute(6, "float", "cage_extrusion", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "cage_extrusion", "float", false, 1368)]
public float cage_extrusion;
[DNAFieldAttribute(7, "float", "max_ray_distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "max_ray_distance", "float", false, 1372)]
public float max_ray_distance;
[DNAFieldAttribute(8, "int", "pass_filter", "int", 4, false)]
[DNAFieldAttribute(4, "int", 8, "pass_filter", "int", false, 1376)]
public int pass_filter;
[DNAFieldAttribute(9, "char", "normal_swizzle[3]", "System.Char[]", 3, false)]
[DNAArrayAttribute(3, "char", 9, "normal_swizzle[3]", "System.Char[]", 3, false, 1380)]
public char[] normal_swizzle = new System.Char[3];
[DNAFieldAttribute(10, "char", "normal_space", "char", 1, false)]
[DNAFieldAttribute(1, "char", 10, "normal_space", "char", false, 1383)]
public char normal_space;
[DNAFieldAttribute(11, "char", "target", "char", 1, false)]
[DNAFieldAttribute(1, "char", 11, "target", "char", false, 1384)]
public char target;
[DNAFieldAttribute(12, "char", "save_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 12, "save_mode", "char", false, 1385)]
public char save_mode;
[DNAFieldAttribute(13, "char", "margin_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 13, "margin_type", "char", false, 1386)]
public char margin_type;
[DNAFieldAttribute(14, "char", "view_from", "char", 1, false)]
[DNAFieldAttribute(1, "char", 14, "view_from", "char", false, 1387)]
public char view_from;
[DNAFieldAttribute(15, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 15, "_pad[4]", "System.Char[]", 4, false, 1388)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(16, "Object", "*cage_object", "Object", 8, true)]
public Object ptr_cage_object;
[DNAFieldAttribute(8, "Object", 16, "*cage_object", "Object", true, 1392)]
public Object cage_object;
public BakeData() {
this.im_format = default;
this.filepath = default;
@@ -66,7 +66,7 @@ namespace BlendFile.DNA {
this.margin_type = default;
this.view_from = default;
this._pad = default;
this.ptr_cage_object = default;
this.cage_object = default;
}
public BakeData(
ImageFormatData im_format,
@@ -85,7 +85,7 @@ namespace BlendFile.DNA {
char margin_type,
char view_from,
char[] _pad,
Object ptr_cage_object) {
Object cage_object) {
this.im_format = im_format;
this.filepath = filepath;
this.width = width;
@@ -102,7 +102,7 @@ namespace BlendFile.DNA {
this.margin_type = margin_type;
this.view_from = view_from;
this._pad = _pad;
this.ptr_cage_object = ptr_cage_object;
this.cage_object = cage_object;
}
}
}

View File

@@ -15,33 +15,33 @@ namespace BlendFile.DNA {
[DNAClassAttribute(340, "Base", 48)]
public class Base {
[DNAFieldAttribute(0, "Base", "*next", "Base", 8, true)]
public Base ptr_next;
[DNAFieldAttribute(1, "Base", "*prev", "Base", 8, true)]
public Base ptr_prev;
[DNAFieldAttribute(2, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(3, "Base", "*base_orig", "Base", 8, true)]
public Base ptr_base_orig;
[DNAFieldAttribute(4, "int", "lay", "int", 4, false)]
[DNAFieldAttribute(8, "Base", 0, "*next", "Base", true, 0)]
public Base next;
[DNAFieldAttribute(8, "Base", 1, "*prev", "Base", true, 8)]
public Base prev;
[DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 16)]
public Object @object;
[DNAFieldAttribute(8, "Base", 3, "*base_orig", "Base", true, 24)]
public Base base_orig;
[DNAFieldAttribute(4, "int", 4, "lay", "int", false, 32)]
public int lay;
[DNAFieldAttribute(5, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 36)]
public short flag;
[DNAFieldAttribute(6, "short", "flag_from_collection", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "flag_from_collection", "short", false, 38)]
public short flag_from_collection;
[DNAFieldAttribute(7, "short", "flag_legacy", "short", 2, false)]
[DNAFieldAttribute(2, "short", 7, "flag_legacy", "short", false, 40)]
public short flag_legacy;
[DNAFieldAttribute(8, "short", "local_view_bits", "short", 2, false)]
[DNAFieldAttribute(2, "short", 8, "local_view_bits", "short", false, 42)]
public short local_view_bits;
[DNAFieldAttribute(9, "short", "local_collections_bits", "short", 2, false)]
[DNAFieldAttribute(2, "short", 9, "local_collections_bits", "short", false, 44)]
public short local_collections_bits;
[DNAFieldAttribute(10, "char", "_pad1[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 10, "_pad1[2]", "System.Char[]", 2, false, 46)]
public char[] _pad1 = new System.Char[2];
public Base() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_object = default;
this.ptr_base_orig = default;
this.next = default;
this.prev = default;
this.@object = default;
this.base_orig = default;
this.lay = default;
this.flag = default;
this.flag_from_collection = default;
@@ -50,11 +50,11 @@ namespace BlendFile.DNA {
this.local_collections_bits = default;
this._pad1 = default;
}
public Base(Base ptr_next, Base ptr_prev, Object ptr_object, Base ptr_base_orig, int lay, short flag, short flag_from_collection, short flag_legacy, short local_view_bits, short local_collections_bits, char[] _pad1) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_object = ptr_object;
this.ptr_base_orig = ptr_base_orig;
public Base(Base next, Base prev, Object @object, Base base_orig, int lay, short flag, short flag_from_collection, short flag_legacy, short local_view_bits, short local_collections_bits, char[] _pad1) {
this.next = next;
this.prev = prev;
this.@object = @object;
this.base_orig = base_orig;
this.lay = lay;
this.flag = flag;
this.flag_from_collection = flag_from_collection;

View File

@@ -15,53 +15,53 @@ namespace BlendFile.DNA {
[DNAClassAttribute(454, "BevelModifierData", 368)]
public class BevelModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "float", "value", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "value", "float", false, 120)]
public float value;
[DNAFieldAttribute(2, "int", "res", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "res", "int", false, 124)]
public int res;
[DNAFieldAttribute(3, "short", "flags", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "flags", "short", false, 128)]
public short flags;
[DNAFieldAttribute(4, "short", "val_flags", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "val_flags", "short", false, 130)]
public short val_flags;
[DNAFieldAttribute(5, "short", "profile_type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "profile_type", "short", false, 132)]
public short profile_type;
[DNAFieldAttribute(6, "short", "lim_flags", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "lim_flags", "short", false, 134)]
public short lim_flags;
[DNAFieldAttribute(7, "short", "e_flags", "short", 2, false)]
[DNAFieldAttribute(2, "short", 7, "e_flags", "short", false, 136)]
public short e_flags;
[DNAFieldAttribute(8, "short", "mat", "short", 2, false)]
[DNAFieldAttribute(2, "short", 8, "mat", "short", false, 138)]
public short mat;
[DNAFieldAttribute(9, "short", "edge_flags", "short", 2, false)]
[DNAFieldAttribute(2, "short", 9, "edge_flags", "short", false, 140)]
public short edge_flags;
[DNAFieldAttribute(10, "short", "face_str_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "face_str_mode", "short", false, 142)]
public short face_str_mode;
[DNAFieldAttribute(11, "short", "miter_inner", "short", 2, false)]
[DNAFieldAttribute(2, "short", 11, "miter_inner", "short", false, 144)]
public short miter_inner;
[DNAFieldAttribute(12, "short", "miter_outer", "short", 2, false)]
[DNAFieldAttribute(2, "short", 12, "miter_outer", "short", false, 146)]
public short miter_outer;
[DNAFieldAttribute(13, "short", "vmesh_method", "short", 2, false)]
[DNAFieldAttribute(2, "short", 13, "vmesh_method", "short", false, 148)]
public short vmesh_method;
[DNAFieldAttribute(14, "char", "affect_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 14, "affect_type", "char", false, 150)]
public char affect_type;
[DNAFieldAttribute(15, "char", "_pad", "char", 1, false)]
[DNAFieldAttribute(1, "char", 15, "_pad", "char", false, 151)]
public char _pad;
[DNAFieldAttribute(16, "float", "profile", "float", 4, false)]
[DNAFieldAttribute(4, "float", 16, "profile", "float", false, 152)]
public float profile;
[DNAFieldAttribute(17, "float", "bevel_angle", "float", 4, false)]
[DNAFieldAttribute(4, "float", 17, "bevel_angle", "float", false, 156)]
public float bevel_angle;
[DNAFieldAttribute(18, "float", "spread", "float", 4, false)]
[DNAFieldAttribute(4, "float", 18, "spread", "float", false, 160)]
public float spread;
[DNAFieldAttribute(19, "char", "defgrp_name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 19, "defgrp_name[64]", "System.Char[]", 64, false, 164)]
public char[] defgrp_name = new System.Char[64];
[DNAFieldAttribute(20, "char", "_pad1[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 20, "_pad1[4]", "System.Char[]", 4, false, 228)]
public char[] _pad1 = new System.Char[4];
[DNAFieldAttribute(21, "CurveProfile", "*custom_profile", "CurveProfile", 8, true)]
public CurveProfile ptr_custom_profile;
[DNAFieldAttribute(22, "char", "edge_weight_name[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "CurveProfile", 21, "*custom_profile", "CurveProfile", true, 232)]
public CurveProfile custom_profile;
[DNAArrayAttribute(64, "char", 22, "edge_weight_name[64]", "System.Char[]", 64, false, 240)]
public char[] edge_weight_name = new System.Char[64];
[DNAFieldAttribute(23, "char", "vertex_weight_name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 23, "vertex_weight_name[64]", "System.Char[]", 64, false, 304)]
public char[] vertex_weight_name = new System.Char[64];
public BevelModifierData() {
this.modifier = default;
@@ -85,7 +85,7 @@ namespace BlendFile.DNA {
this.spread = default;
this.defgrp_name = default;
this._pad1 = default;
this.ptr_custom_profile = default;
this.custom_profile = default;
this.edge_weight_name = default;
this.vertex_weight_name = default;
}
@@ -111,7 +111,7 @@ namespace BlendFile.DNA {
float spread,
char[] defgrp_name,
char[] _pad1,
CurveProfile ptr_custom_profile,
CurveProfile custom_profile,
char[] edge_weight_name,
char[] vertex_weight_name) {
this.modifier = modifier;
@@ -135,7 +135,7 @@ namespace BlendFile.DNA {
this.spread = spread;
this.defgrp_name = defgrp_name;
this._pad1 = _pad1;
this.ptr_custom_profile = ptr_custom_profile;
this.custom_profile = custom_profile;
this.edge_weight_name = edge_weight_name;
this.vertex_weight_name = vertex_weight_name;
}

View File

@@ -14,40 +14,40 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(95, "BezTriple", 72)]
public struct BezTriple {
[DNAFieldAttribute(0, "float", "vec[3][3]", "System.Single[,]", 36, false)]
public class BezTriple {
[DNAArrayAttribute(36, "float", 0, "vec[3][3]", "System.Single[,]", 9, false, 0)]
public float[,] vec = new System.Single[3,3];
[DNAFieldAttribute(1, "float", "alfa", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 36)]
public float alfa;
[DNAFieldAttribute(2, "float", "weight", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "weight", "float", false, 40)]
public float weight;
[DNAFieldAttribute(3, "float", "radius", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "radius", "float", false, 44)]
public float radius;
[DNAFieldAttribute(4, "char", "ipo", "char", 1, false)]
[DNAFieldAttribute(1, "char", 4, "ipo", "char", false, 48)]
public char ipo;
[DNAFieldAttribute(5, "uchar", "h1", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 5, "h1", "uchar", false, 49)]
public byte h1;
[DNAFieldAttribute(6, "uchar", "h2", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 6, "h2", "uchar", false, 50)]
public byte h2;
[DNAFieldAttribute(7, "uchar", "f1", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 7, "f1", "uchar", false, 51)]
public byte f1;
[DNAFieldAttribute(8, "uchar", "f2", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 8, "f2", "uchar", false, 52)]
public byte f2;
[DNAFieldAttribute(9, "uchar", "f3", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 9, "f3", "uchar", false, 53)]
public byte f3;
[DNAFieldAttribute(10, "char", "hide", "char", 1, false)]
[DNAFieldAttribute(1, "char", 10, "hide", "char", false, 54)]
public char hide;
[DNAFieldAttribute(11, "char", "easing", "char", 1, false)]
[DNAFieldAttribute(1, "char", 11, "easing", "char", false, 55)]
public char easing;
[DNAFieldAttribute(12, "float", "back", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "back", "float", false, 56)]
public float back;
[DNAFieldAttribute(13, "float", "amplitude", "float", 4, false)]
[DNAFieldAttribute(4, "float", 13, "amplitude", "float", false, 60)]
public float amplitude;
[DNAFieldAttribute(14, "float", "period", "float", 4, false)]
[DNAFieldAttribute(4, "float", 14, "period", "float", false, 64)]
public float period;
[DNAFieldAttribute(15, "char", "auto_handle_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 15, "auto_handle_type", "char", false, 68)]
public char auto_handle_type;
[DNAFieldAttribute(16, "char", "_pad[3]", "System.Char[]", 3, false)]
[DNAArrayAttribute(3, "char", 16, "_pad[3]", "System.Char[]", 3, false, 69)]
public char[] _pad = new System.Char[3];
public BezTriple() {
this.vec = default;

View File

@@ -14,20 +14,20 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(917, "BlurShaderFxData", 168)]
public struct BlurShaderFxData {
[DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false)]
public class BlurShaderFxData {
[DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)]
public ShaderFxData shaderfx;
[DNAFieldAttribute(1, "float", "radius[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 1, "radius[2]", "System.Single[]", 2, false, 104)]
public float[] radius = new System.Single[2];
[DNAFieldAttribute(2, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)]
public int flag;
[DNAFieldAttribute(3, "int", "samples", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "samples", "int", false, 116)]
public int samples;
[DNAFieldAttribute(4, "float", "rotation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 120)]
public float rotation;
[DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, false, 124)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false)]
[DNAFieldAttribute(40, "ShaderFxData_Runtime", 6, "runtime", "ShaderFxData_Runtime", false, 128)]
public ShaderFxData_Runtime runtime;
public BlurShaderFxData() {
this.shaderfx = default;

View File

@@ -14,14 +14,14 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(122, "BoidData", 20)]
public struct BoidData {
[DNAFieldAttribute(0, "float", "health", "float", 4, false)]
public class BoidData {
[DNAFieldAttribute(4, "float", 0, "health", "float", false, 0)]
public float health;
[DNAFieldAttribute(1, "float", "acc[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 1, "acc[3]", "System.Single[]", 3, false, 4)]
public float[] acc = new System.Single[3];
[DNAFieldAttribute(2, "short", "state_id", "short", 2, false)]
[DNAFieldAttribute(2, "short", 2, "state_id", "short", false, 16)]
public short state_id;
[DNAFieldAttribute(3, "short", "mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "mode", "short", false, 18)]
public short mode;
public BoidData() {
this.health = default;

View File

@@ -15,25 +15,25 @@ namespace BlendFile.DNA {
[DNAClassAttribute(778, "BoidParticle", 56)]
public class BoidParticle {
[DNAFieldAttribute(0, "Object", "*ground", "Object", 8, true)]
public Object ptr_ground;
[DNAFieldAttribute(1, "BoidData", "data", "BoidData", 20, false)]
[DNAFieldAttribute(8, "Object", 0, "*ground", "Object", true, 0)]
public Object ground;
[DNAFieldAttribute(20, "BoidData", 1, "data", "BoidData", false, 8)]
public BoidData data;
[DNAFieldAttribute(2, "float", "gravity[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 2, "gravity[3]", "System.Single[]", 3, false, 28)]
public float[] gravity = new System.Single[3];
[DNAFieldAttribute(3, "float", "wander[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 3, "wander[3]", "System.Single[]", 3, false, 40)]
public float[] wander = new System.Single[3];
[DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, false, 52)]
public char[] _pad0 = new System.Char[4];
public BoidParticle() {
this.ptr_ground = default;
this.ground = default;
this.data = default;
this.gravity = default;
this.wander = default;
this._pad0 = default;
}
public BoidParticle(Object ptr_ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) {
this.ptr_ground = ptr_ground;
public BoidParticle(Object ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) {
this.ground = ground;
this.data = data;
this.gravity = gravity;
this.wander = wander;

View File

@@ -15,26 +15,26 @@ namespace BlendFile.DNA {
[DNAClassAttribute(116, "BoidRule", 56)]
public class BoidRule {
[DNAFieldAttribute(0, "BoidRule", "*next", "BoidRule", 8, true)]
public BoidRule ptr_next;
[DNAFieldAttribute(1, "BoidRule", "*prev", "BoidRule", 8, true)]
public BoidRule ptr_prev;
[DNAFieldAttribute(2, "int", "type", "int", 4, false)]
[DNAFieldAttribute(8, "BoidRule", 0, "*next", "BoidRule", true, 0)]
public BoidRule next;
[DNAFieldAttribute(8, "BoidRule", 1, "*prev", "BoidRule", true, 8)]
public BoidRule prev;
[DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)]
public int type;
[DNAFieldAttribute(3, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "flag", "int", false, 20)]
public int flag;
[DNAFieldAttribute(4, "char", "name[32]", "System.Char[]", 32, false)]
[DNAArrayAttribute(32, "char", 4, "name[32]", "System.Char[]", 32, false, 24)]
public char[] name = new System.Char[32];
public BoidRule() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.type = default;
this.flag = default;
this.name = default;
}
public BoidRule(BoidRule ptr_next, BoidRule ptr_prev, int type, int flag, char[] name) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public BoidRule(BoidRule next, BoidRule prev, int type, int flag, char[] name) {
this.next = next;
this.prev = prev;
this.type = type;
this.flag = flag;
this.name = name;

View File

@@ -14,16 +14,16 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(120, "BoidRuleAverageSpeed", 72)]
public struct BoidRuleAverageSpeed {
[DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false)]
public class BoidRuleAverageSpeed {
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
public BoidRule rule;
[DNAFieldAttribute(1, "float", "wander", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "wander", "float", false, 56)]
public float wander;
[DNAFieldAttribute(2, "float", "level", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "level", "float", false, 60)]
public float level;
[DNAFieldAttribute(3, "float", "speed", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "speed", "float", false, 64)]
public float speed;
[DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, false, 68)]
public char[] _pad0 = new System.Char[4];
public BoidRuleAverageSpeed() {
this.rule = default;

View File

@@ -14,12 +14,12 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(118, "BoidRuleAvoidCollision", 64)]
public struct BoidRuleAvoidCollision {
[DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false)]
public class BoidRuleAvoidCollision {
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
public BoidRule rule;
[DNAFieldAttribute(1, "int", "options", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "options", "int", false, 56)]
public int options;
[DNAFieldAttribute(2, "float", "look_ahead", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "look_ahead", "float", false, 60)]
public float look_ahead;
public BoidRuleAvoidCollision() {
this.rule = default;

View File

@@ -14,12 +14,12 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(121, "BoidRuleFight", 64)]
public struct BoidRuleFight {
[DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false)]
public class BoidRuleFight {
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
public BoidRule rule;
[DNAFieldAttribute(1, "float", "distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "distance", "float", false, 56)]
public float distance;
[DNAFieldAttribute(2, "float", "flee_distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "flee_distance", "float", false, 60)]
public float flee_distance;
public BoidRuleFight() {
this.rule = default;

View File

@@ -15,25 +15,25 @@ namespace BlendFile.DNA {
[DNAClassAttribute(119, "BoidRuleFollowLeader", 104)]
public class BoidRuleFollowLeader {
[DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false)]
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
public BoidRule rule;
[DNAFieldAttribute(1, "Object", "*ob", "Object", 8, true)]
public Object ptr_ob;
[DNAFieldAttribute(2, "float", "loc[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 56)]
public Object ob;
[DNAArrayAttribute(12, "float", 2, "loc[3]", "System.Single[]", 3, false, 64)]
public float[] loc = new System.Single[3];
[DNAFieldAttribute(3, "float", "oloc[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 3, "oloc[3]", "System.Single[]", 3, false, 76)]
public float[] oloc = new System.Single[3];
[DNAFieldAttribute(4, "float", "cfra", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "cfra", "float", false, 88)]
public float cfra;
[DNAFieldAttribute(5, "float", "distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "distance", "float", false, 92)]
public float distance;
[DNAFieldAttribute(6, "int", "options", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "options", "int", false, 96)]
public int options;
[DNAFieldAttribute(7, "int", "queue_size", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "queue_size", "int", false, 100)]
public int queue_size;
public BoidRuleFollowLeader() {
this.rule = default;
this.ptr_ob = default;
this.ob = default;
this.loc = default;
this.oloc = default;
this.cfra = default;
@@ -41,9 +41,9 @@ namespace BlendFile.DNA {
this.options = default;
this.queue_size = default;
}
public BoidRuleFollowLeader(BoidRule rule, Object ptr_ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) {
public BoidRuleFollowLeader(BoidRule rule, Object ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) {
this.rule = rule;
this.ptr_ob = ptr_ob;
this.ob = ob;
this.loc = loc;
this.oloc = oloc;
this.cfra = cfra;

View File

@@ -15,29 +15,29 @@ namespace BlendFile.DNA {
[DNAClassAttribute(117, "BoidRuleGoalAvoid", 80)]
public class BoidRuleGoalAvoid {
[DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false)]
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
public BoidRule rule;
[DNAFieldAttribute(1, "Object", "*ob", "Object", 8, true)]
public Object ptr_ob;
[DNAFieldAttribute(2, "int", "options", "int", 4, false)]
[DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 56)]
public Object ob;
[DNAFieldAttribute(4, "int", 2, "options", "int", false, 64)]
public int options;
[DNAFieldAttribute(3, "float", "fear_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "fear_factor", "float", false, 68)]
public float fear_factor;
[DNAFieldAttribute(4, "int", "signal_id", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "signal_id", "int", false, 72)]
public int signal_id;
[DNAFieldAttribute(5, "int", "channels", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "channels", "int", false, 76)]
public int channels;
public BoidRuleGoalAvoid() {
this.rule = default;
this.ptr_ob = default;
this.ob = default;
this.options = default;
this.fear_factor = default;
this.signal_id = default;
this.channels = default;
}
public BoidRuleGoalAvoid(BoidRule rule, Object ptr_ob, int options, float fear_factor, int signal_id, int channels) {
public BoidRuleGoalAvoid(BoidRule rule, Object ob, int options, float fear_factor, int signal_id, int channels) {
this.rule = rule;
this.ptr_ob = ptr_ob;
this.ob = ob;
this.options = options;
this.fear_factor = fear_factor;
this.signal_id = signal_id;

View File

@@ -14,52 +14,52 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(124, "BoidSettings", 104)]
public struct BoidSettings {
[DNAFieldAttribute(0, "int", "options", "int", 4, false)]
public class BoidSettings {
[DNAFieldAttribute(4, "int", 0, "options", "int", false, 0)]
public int options;
[DNAFieldAttribute(1, "int", "last_state_id", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "last_state_id", "int", false, 4)]
public int last_state_id;
[DNAFieldAttribute(2, "float", "landing_smoothness", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "landing_smoothness", "float", false, 8)]
public float landing_smoothness;
[DNAFieldAttribute(3, "float", "height", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "height", "float", false, 12)]
public float height;
[DNAFieldAttribute(4, "float", "banking", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "banking", "float", false, 16)]
public float banking;
[DNAFieldAttribute(5, "float", "pitch", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "pitch", "float", false, 20)]
public float pitch;
[DNAFieldAttribute(6, "float", "health", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "health", "float", false, 24)]
public float health;
[DNAFieldAttribute(7, "float", "aggression", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "aggression", "float", false, 28)]
public float aggression;
[DNAFieldAttribute(8, "float", "strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "strength", "float", false, 32)]
public float strength;
[DNAFieldAttribute(9, "float", "accuracy", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "accuracy", "float", false, 36)]
public float accuracy;
[DNAFieldAttribute(10, "float", "range", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "range", "float", false, 40)]
public float range;
[DNAFieldAttribute(11, "float", "air_min_speed", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "air_min_speed", "float", false, 44)]
public float air_min_speed;
[DNAFieldAttribute(12, "float", "air_max_speed", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "air_max_speed", "float", false, 48)]
public float air_max_speed;
[DNAFieldAttribute(13, "float", "air_max_acc", "float", 4, false)]
[DNAFieldAttribute(4, "float", 13, "air_max_acc", "float", false, 52)]
public float air_max_acc;
[DNAFieldAttribute(14, "float", "air_max_ave", "float", 4, false)]
[DNAFieldAttribute(4, "float", 14, "air_max_ave", "float", false, 56)]
public float air_max_ave;
[DNAFieldAttribute(15, "float", "air_personal_space", "float", 4, false)]
[DNAFieldAttribute(4, "float", 15, "air_personal_space", "float", false, 60)]
public float air_personal_space;
[DNAFieldAttribute(16, "float", "land_jump_speed", "float", 4, false)]
[DNAFieldAttribute(4, "float", 16, "land_jump_speed", "float", false, 64)]
public float land_jump_speed;
[DNAFieldAttribute(17, "float", "land_max_speed", "float", 4, false)]
[DNAFieldAttribute(4, "float", 17, "land_max_speed", "float", false, 68)]
public float land_max_speed;
[DNAFieldAttribute(18, "float", "land_max_acc", "float", 4, false)]
[DNAFieldAttribute(4, "float", 18, "land_max_acc", "float", false, 72)]
public float land_max_acc;
[DNAFieldAttribute(19, "float", "land_max_ave", "float", 4, false)]
[DNAFieldAttribute(4, "float", 19, "land_max_ave", "float", false, 76)]
public float land_max_ave;
[DNAFieldAttribute(20, "float", "land_personal_space", "float", 4, false)]
[DNAFieldAttribute(4, "float", 20, "land_personal_space", "float", false, 80)]
public float land_personal_space;
[DNAFieldAttribute(21, "float", "land_stick_force", "float", 4, false)]
[DNAFieldAttribute(4, "float", 21, "land_stick_force", "float", false, 84)]
public float land_stick_force;
[DNAFieldAttribute(22, "ListBase", "states", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 22, "states", "ListBase", false, 88)]
public ListBase states;
public BoidSettings() {
this.options = default;

View File

@@ -15,37 +15,37 @@ namespace BlendFile.DNA {
[DNAClassAttribute(123, "BoidState", 128)]
public class BoidState {
[DNAFieldAttribute(0, "BoidState", "*next", "BoidState", 8, true)]
public BoidState ptr_next;
[DNAFieldAttribute(1, "BoidState", "*prev", "BoidState", 8, true)]
public BoidState ptr_prev;
[DNAFieldAttribute(2, "ListBase", "rules", "ListBase", 16, false)]
[DNAFieldAttribute(8, "BoidState", 0, "*next", "BoidState", true, 0)]
public BoidState next;
[DNAFieldAttribute(8, "BoidState", 1, "*prev", "BoidState", true, 8)]
public BoidState prev;
[DNAFieldAttribute(16, "ListBase", 2, "rules", "ListBase", false, 16)]
public ListBase rules;
[DNAFieldAttribute(3, "ListBase", "conditions", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 3, "conditions", "ListBase", false, 32)]
public ListBase conditions;
[DNAFieldAttribute(4, "ListBase", "actions", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 4, "actions", "ListBase", false, 48)]
public ListBase actions;
[DNAFieldAttribute(5, "char", "name[32]", "System.Char[]", 32, false)]
[DNAArrayAttribute(32, "char", 5, "name[32]", "System.Char[]", 32, false, 64)]
public char[] name = new System.Char[32];
[DNAFieldAttribute(6, "int", "id", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "id", "int", false, 96)]
public int id;
[DNAFieldAttribute(7, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "flag", "int", false, 100)]
public int flag;
[DNAFieldAttribute(8, "int", "ruleset_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 8, "ruleset_type", "int", false, 104)]
public int ruleset_type;
[DNAFieldAttribute(9, "float", "rule_fuzziness", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "rule_fuzziness", "float", false, 108)]
public float rule_fuzziness;
[DNAFieldAttribute(10, "int", "signal_id", "int", 4, false)]
[DNAFieldAttribute(4, "int", 10, "signal_id", "int", false, 112)]
public int signal_id;
[DNAFieldAttribute(11, "int", "channels", "int", 4, false)]
[DNAFieldAttribute(4, "int", 11, "channels", "int", false, 116)]
public int channels;
[DNAFieldAttribute(12, "float", "volume", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "volume", "float", false, 120)]
public float volume;
[DNAFieldAttribute(13, "float", "falloff", "float", 4, false)]
[DNAFieldAttribute(4, "float", 13, "falloff", "float", false, 124)]
public float falloff;
public BoidState() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.rules = default;
this.conditions = default;
this.actions = default;
@@ -59,9 +59,9 @@ namespace BlendFile.DNA {
this.volume = default;
this.falloff = default;
}
public BoidState(BoidState ptr_next, BoidState ptr_prev, ListBase rules, ListBase conditions, ListBase actions, char[] name, int id, int flag, int ruleset_type, float rule_fuzziness, int signal_id, int channels, float volume, float falloff) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public BoidState(BoidState next, BoidState prev, ListBase rules, ListBase conditions, ListBase actions, char[] name, int id, int flag, int ruleset_type, float rule_fuzziness, int signal_id, int channels, float volume, float falloff) {
this.next = next;
this.prev = prev;
this.rules = rules;
this.conditions = conditions;
this.actions = actions;

View File

@@ -15,117 +15,117 @@ namespace BlendFile.DNA {
[DNAClassAttribute(54, "Bone", 472)]
public class Bone {
[DNAFieldAttribute(0, "Bone", "*next", "Bone", 8, true)]
public Bone ptr_next;
[DNAFieldAttribute(1, "Bone", "*prev", "Bone", 8, true)]
public Bone ptr_prev;
[DNAFieldAttribute(2, "IDProperty", "*prop", "IDProperty", 8, true)]
public IDProperty ptr_prop;
[DNAFieldAttribute(3, "Bone", "*parent", "Bone", 8, true)]
public Bone ptr_parent;
[DNAFieldAttribute(4, "ListBase", "childbase", "ListBase", 16, false)]
[DNAFieldAttribute(8, "Bone", 0, "*next", "Bone", true, 0)]
public Bone next;
[DNAFieldAttribute(8, "Bone", 1, "*prev", "Bone", true, 8)]
public Bone prev;
[DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 16)]
public IDProperty prop;
[DNAFieldAttribute(8, "Bone", 3, "*parent", "Bone", true, 24)]
public Bone parent;
[DNAFieldAttribute(16, "ListBase", 4, "childbase", "ListBase", false, 32)]
public ListBase childbase;
[DNAFieldAttribute(5, "char", "name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 5, "name[64]", "System.Char[]", 64, false, 48)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(6, "float", "roll", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "roll", "float", false, 112)]
public float roll;
[DNAFieldAttribute(7, "float", "head[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 7, "head[3]", "System.Single[]", 3, false, 116)]
public float[] head = new System.Single[3];
[DNAFieldAttribute(8, "float", "tail[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 8, "tail[3]", "System.Single[]", 3, false, 128)]
public float[] tail = new System.Single[3];
[DNAFieldAttribute(9, "float", "bone_mat[3][3]", "System.Single[,]", 36, false)]
[DNAArrayAttribute(36, "float", 9, "bone_mat[3][3]", "System.Single[,]", 9, false, 140)]
public float[,] bone_mat = new System.Single[3,3];
[DNAFieldAttribute(10, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 10, "flag", "int", false, 176)]
public int flag;
[DNAFieldAttribute(11, "char", "_pad1[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", 4, false, 180)]
public char[] _pad1 = new System.Char[4];
[DNAFieldAttribute(12, "BoneColor", "color", "BoneColor", 24, false)]
[DNAFieldAttribute(24, "BoneColor", 12, "color", "BoneColor", false, 184)]
public BoneColor color;
[DNAFieldAttribute(13, "char", "inherit_scale_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 13, "inherit_scale_mode", "char", false, 208)]
public char inherit_scale_mode;
[DNAFieldAttribute(14, "char", "_pad[3]", "System.Char[]", 3, false)]
[DNAArrayAttribute(3, "char", 14, "_pad[3]", "System.Char[]", 3, false, 209)]
public char[] _pad = new System.Char[3];
[DNAFieldAttribute(15, "float", "arm_head[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 15, "arm_head[3]", "System.Single[]", 3, false, 212)]
public float[] arm_head = new System.Single[3];
[DNAFieldAttribute(16, "float", "arm_tail[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 16, "arm_tail[3]", "System.Single[]", 3, false, 224)]
public float[] arm_tail = new System.Single[3];
[DNAFieldAttribute(17, "float", "arm_mat[4][4]", "System.Single[,]", 64, false)]
[DNAArrayAttribute(64, "float", 17, "arm_mat[4][4]", "System.Single[,]", 16, false, 236)]
public float[,] arm_mat = new System.Single[4,4];
[DNAFieldAttribute(18, "float", "arm_roll", "float", 4, false)]
[DNAFieldAttribute(4, "float", 18, "arm_roll", "float", false, 300)]
public float arm_roll;
[DNAFieldAttribute(19, "float", "dist", "float", 4, false)]
[DNAFieldAttribute(4, "float", 19, "dist", "float", false, 304)]
public float dist;
[DNAFieldAttribute(20, "float", "weight", "float", 4, false)]
[DNAFieldAttribute(4, "float", 20, "weight", "float", false, 308)]
public float weight;
[DNAFieldAttribute(21, "float", "xwidth", "float", 4, false)]
[DNAFieldAttribute(4, "float", 21, "xwidth", "float", false, 312)]
public float xwidth;
[DNAFieldAttribute(22, "float", "length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 22, "length", "float", false, 316)]
public float length;
[DNAFieldAttribute(23, "float", "zwidth", "float", 4, false)]
[DNAFieldAttribute(4, "float", 23, "zwidth", "float", false, 320)]
public float zwidth;
[DNAFieldAttribute(24, "float", "rad_head", "float", 4, false)]
[DNAFieldAttribute(4, "float", 24, "rad_head", "float", false, 324)]
public float rad_head;
[DNAFieldAttribute(25, "float", "rad_tail", "float", 4, false)]
[DNAFieldAttribute(4, "float", 25, "rad_tail", "float", false, 328)]
public float rad_tail;
[DNAFieldAttribute(26, "float", "roll1", "float", 4, false)]
[DNAFieldAttribute(4, "float", 26, "roll1", "float", false, 332)]
public float roll1;
[DNAFieldAttribute(27, "float", "roll2", "float", 4, false)]
[DNAFieldAttribute(4, "float", 27, "roll2", "float", false, 336)]
public float roll2;
[DNAFieldAttribute(28, "float", "curveInX", "float", 4, false)]
[DNAFieldAttribute(4, "float", 28, "curveInX", "float", false, 340)]
public float curveInX;
[DNAFieldAttribute(29, "float", "curveInY", "float", 4, false)]
[DNAFieldAttribute(4, "float", 29, "curveInY", "float", false, 344)]
public float curveInY;
[DNAFieldAttribute(30, "float", "curveOutX", "float", 4, false)]
[DNAFieldAttribute(4, "float", 30, "curveOutX", "float", false, 348)]
public float curveOutX;
[DNAFieldAttribute(31, "float", "curveOutY", "float", 4, false)]
[DNAFieldAttribute(4, "float", 31, "curveOutY", "float", false, 352)]
public float curveOutY;
[DNAFieldAttribute(32, "float", "ease1", "float", 4, false)]
[DNAFieldAttribute(4, "float", 32, "ease1", "float", false, 356)]
public float ease1;
[DNAFieldAttribute(33, "float", "ease2", "float", 4, false)]
[DNAFieldAttribute(4, "float", 33, "ease2", "float", false, 360)]
public float ease2;
[DNAFieldAttribute(34, "float", "scaleIn", "float", 4, false)]
[DNAFieldAttribute(4, "float", 34, "scaleIn", "float", false, 364)]
public float scaleIn;
[DNAFieldAttribute(35, "float", "scale_in_y", "float", 4, false)]
[DNAFieldAttribute(4, "float", 35, "scale_in_y", "float", false, 368)]
public float scale_in_y;
[DNAFieldAttribute(36, "float", "scaleOut", "float", 4, false)]
[DNAFieldAttribute(4, "float", 36, "scaleOut", "float", false, 372)]
public float scaleOut;
[DNAFieldAttribute(37, "float", "scale_out_y", "float", 4, false)]
[DNAFieldAttribute(4, "float", 37, "scale_out_y", "float", false, 376)]
public float scale_out_y;
[DNAFieldAttribute(38, "float", "scale_in[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 38, "scale_in[3]", "System.Single[]", 3, false, 380)]
public float[] scale_in = new System.Single[3];
[DNAFieldAttribute(39, "float", "scale_out[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 39, "scale_out[3]", "System.Single[]", 3, false, 392)]
public float[] scale_out = new System.Single[3];
[DNAFieldAttribute(40, "float", "size[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 40, "size[3]", "System.Single[]", 3, false, 404)]
public float[] size = new System.Single[3];
[DNAFieldAttribute(41, "int", "layer", "int", 4, false)]
[DNAFieldAttribute(4, "int", 41, "layer", "int", false, 416)]
public int layer;
[DNAFieldAttribute(42, "short", "segments", "short", 2, false)]
[DNAFieldAttribute(2, "short", 42, "segments", "short", false, 420)]
public short segments;
[DNAFieldAttribute(43, "char", "bbone_mapping_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 43, "bbone_mapping_mode", "char", false, 422)]
public char bbone_mapping_mode;
[DNAFieldAttribute(44, "char", "_pad2[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 44, "_pad2[7]", "System.Char[]", 7, false, 423)]
public char[] _pad2 = new System.Char[7];
[DNAFieldAttribute(45, "char", "bbone_prev_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 45, "bbone_prev_type", "char", false, 430)]
public char bbone_prev_type;
[DNAFieldAttribute(46, "char", "bbone_next_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 46, "bbone_next_type", "char", false, 431)]
public char bbone_next_type;
[DNAFieldAttribute(47, "int", "bbone_flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 47, "bbone_flag", "int", false, 432)]
public int bbone_flag;
[DNAFieldAttribute(48, "short", "bbone_prev_flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 48, "bbone_prev_flag", "short", false, 436)]
public short bbone_prev_flag;
[DNAFieldAttribute(49, "short", "bbone_next_flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 49, "bbone_next_flag", "short", false, 438)]
public short bbone_next_flag;
[DNAFieldAttribute(50, "Bone", "*bbone_prev", "Bone", 8, true)]
public Bone ptr_bbone_prev;
[DNAFieldAttribute(51, "Bone", "*bbone_next", "Bone", 8, true)]
public Bone ptr_bbone_next;
[DNAFieldAttribute(52, "Bone_Runtime", "runtime", "Bone_Runtime", 16, false)]
[DNAFieldAttribute(8, "Bone", 50, "*bbone_prev", "Bone", true, 440)]
public Bone bbone_prev;
[DNAFieldAttribute(8, "Bone", 51, "*bbone_next", "Bone", true, 448)]
public Bone bbone_next;
[DNAFieldAttribute(16, "Bone_Runtime", 52, "runtime", "Bone_Runtime", false, 456)]
public Bone_Runtime runtime;
public Bone() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_prop = default;
this.ptr_parent = default;
this.next = default;
this.prev = default;
this.prop = default;
this.parent = default;
this.childbase = default;
this.name = default;
this.roll = default;
@@ -172,15 +172,15 @@ namespace BlendFile.DNA {
this.bbone_flag = default;
this.bbone_prev_flag = default;
this.bbone_next_flag = default;
this.ptr_bbone_prev = default;
this.ptr_bbone_next = default;
this.bbone_prev = default;
this.bbone_next = default;
this.runtime = default;
}
public Bone(
Bone ptr_next,
Bone ptr_prev,
IDProperty ptr_prop,
Bone ptr_parent,
Bone next,
Bone prev,
IDProperty prop,
Bone parent,
ListBase childbase,
char[] name,
float roll,
@@ -227,13 +227,13 @@ namespace BlendFile.DNA {
int bbone_flag,
short bbone_prev_flag,
short bbone_next_flag,
Bone ptr_bbone_prev,
Bone ptr_bbone_next,
Bone bbone_prev,
Bone bbone_next,
Bone_Runtime runtime) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_prop = ptr_prop;
this.ptr_parent = ptr_parent;
this.next = next;
this.prev = prev;
this.prop = prop;
this.parent = parent;
this.childbase = childbase;
this.name = name;
this.roll = roll;
@@ -280,8 +280,8 @@ namespace BlendFile.DNA {
this.bbone_flag = bbone_flag;
this.bbone_prev_flag = bbone_prev_flag;
this.bbone_next_flag = bbone_next_flag;
this.ptr_bbone_prev = ptr_bbone_prev;
this.ptr_bbone_next = ptr_bbone_next;
this.bbone_prev = bbone_prev;
this.bbone_next = bbone_next;
this.runtime = runtime;
}
}

View File

@@ -15,45 +15,45 @@ namespace BlendFile.DNA {
[DNAClassAttribute(105, "BoneCollection", 120)]
public class BoneCollection {
[DNAFieldAttribute(0, "BoneCollection", "*next", "BoneCollection", 8, true)]
public BoneCollection ptr_next;
[DNAFieldAttribute(1, "BoneCollection", "*prev", "BoneCollection", 8, true)]
public BoneCollection ptr_prev;
[DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "BoneCollection", 0, "*next", "BoneCollection", true, 0)]
public BoneCollection next;
[DNAFieldAttribute(8, "BoneCollection", 1, "*prev", "BoneCollection", true, 8)]
public BoneCollection prev;
[DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, false, 16)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(3, "ListBase", "bones", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 3, "bones", "ListBase", false, 80)]
public ListBase bones;
[DNAFieldAttribute(4, "uchar", "flags", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 4, "flags", "uchar", false, 96)]
public byte flags;
[DNAFieldAttribute(5, "uchar", "_pad0[7]", "System.Byte[]", 7, false)]
[DNAArrayAttribute(7, "uchar", 5, "_pad0[7]", "System.Byte[]", 7, false, 97)]
public byte[] _pad0 = new System.Byte[7];
[DNAFieldAttribute(6, "int", "child_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "child_index", "int", false, 104)]
public int child_index;
[DNAFieldAttribute(7, "int", "child_count", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "child_count", "int", false, 108)]
public int child_count;
[DNAFieldAttribute(8, "IDProperty", "*prop", "IDProperty", 8, true)]
public IDProperty ptr_prop;
[DNAFieldAttribute(8, "IDProperty", 8, "*prop", "IDProperty", true, 112)]
public IDProperty prop;
public BoneCollection() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.name = default;
this.bones = default;
this.flags = default;
this._pad0 = default;
this.child_index = default;
this.child_count = default;
this.ptr_prop = default;
this.prop = default;
}
public BoneCollection(BoneCollection ptr_next, BoneCollection ptr_prev, char[] name, ListBase bones, byte flags, byte[] _pad0, int child_index, int child_count, IDProperty ptr_prop) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public BoneCollection(BoneCollection next, BoneCollection prev, char[] name, ListBase bones, byte flags, byte[] _pad0, int child_index, int child_count, IDProperty prop) {
this.next = next;
this.prev = prev;
this.name = name;
this.bones = bones;
this.flags = flags;
this._pad0 = _pad0;
this.child_index = child_index;
this.child_count = child_count;
this.ptr_prop = ptr_prop;
this.prop = prop;
}
}
}

View File

@@ -15,21 +15,21 @@ namespace BlendFile.DNA {
[DNAClassAttribute(108, "BoneCollectionMember", 24)]
public class BoneCollectionMember {
[DNAFieldAttribute(0, "BoneCollectionMember", "*next", "BoneCollectionMember", 8, true)]
public BoneCollectionMember ptr_next;
[DNAFieldAttribute(1, "BoneCollectionMember", "*prev", "BoneCollectionMember", 8, true)]
public BoneCollectionMember ptr_prev;
[DNAFieldAttribute(2, "Bone", "*bone", "Bone", 8, true)]
public Bone ptr_bone;
[DNAFieldAttribute(8, "BoneCollectionMember", 0, "*next", "BoneCollectionMember", true, 0)]
public BoneCollectionMember next;
[DNAFieldAttribute(8, "BoneCollectionMember", 1, "*prev", "BoneCollectionMember", true, 8)]
public BoneCollectionMember prev;
[DNAFieldAttribute(8, "Bone", 2, "*bone", "Bone", true, 16)]
public Bone bone;
public BoneCollectionMember() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_bone = default;
this.next = default;
this.prev = default;
this.bone = default;
}
public BoneCollectionMember(BoneCollectionMember ptr_next, BoneCollectionMember ptr_prev, Bone ptr_bone) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_bone = ptr_bone;
public BoneCollectionMember(BoneCollectionMember next, BoneCollectionMember prev, Bone bone) {
this.next = next;
this.prev = prev;
this.bone = bone;
}
}
}

View File

@@ -15,21 +15,21 @@ namespace BlendFile.DNA {
[DNAClassAttribute(109, "BoneCollectionReference", 24)]
public class BoneCollectionReference {
[DNAFieldAttribute(0, "BoneCollectionReference", "*next", "BoneCollectionReference", 8, true)]
public BoneCollectionReference ptr_next;
[DNAFieldAttribute(1, "BoneCollectionReference", "*prev", "BoneCollectionReference", 8, true)]
public BoneCollectionReference ptr_prev;
[DNAFieldAttribute(2, "BoneCollection", "*bcoll", "BoneCollection", 8, true)]
public BoneCollection ptr_bcoll;
[DNAFieldAttribute(8, "BoneCollectionReference", 0, "*next", "BoneCollectionReference", true, 0)]
public BoneCollectionReference next;
[DNAFieldAttribute(8, "BoneCollectionReference", 1, "*prev", "BoneCollectionReference", true, 8)]
public BoneCollectionReference prev;
[DNAFieldAttribute(8, "BoneCollection", 2, "*bcoll", "BoneCollection", true, 16)]
public BoneCollection bcoll;
public BoneCollectionReference() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_bcoll = default;
this.next = default;
this.prev = default;
this.bcoll = default;
}
public BoneCollectionReference(BoneCollectionReference ptr_next, BoneCollectionReference ptr_prev, BoneCollection ptr_bcoll) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_bcoll = ptr_bcoll;
public BoneCollectionReference(BoneCollectionReference next, BoneCollectionReference prev, BoneCollection bcoll) {
this.next = next;
this.prev = prev;
this.bcoll = bcoll;
}
}
}

View File

@@ -14,12 +14,12 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(57, "BoneColor", 24)]
public struct BoneColor {
[DNAFieldAttribute(0, "int8_t", "palette_index", "int8_t", 1, false)]
public class BoneColor {
[DNAFieldAttribute(1, "int8_t", 0, "palette_index", "int8_t", false, 0)]
public sbyte palette_index;
[DNAFieldAttribute(1, "uchar", "_pad0[7]", "System.Byte[]", 7, false)]
[DNAArrayAttribute(7, "uchar", 1, "_pad0[7]", "System.Byte[]", 7, false, 1)]
public byte[] _pad0 = new System.Byte[7];
[DNAFieldAttribute(2, "ThemeWireColor", "custom", "ThemeWireColor", 16, false)]
[DNAFieldAttribute(16, "ThemeWireColor", 2, "custom", "ThemeWireColor", false, 8)]
public ThemeWireColor custom;
public BoneColor() {
this.palette_index = default;

View File

@@ -14,8 +14,8 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(103, "Bone_Runtime", 16)]
public struct Bone_Runtime {
[DNAFieldAttribute(0, "ListBase", "collections", "ListBase", 16, false)]
public class Bone_Runtime {
[DNAFieldAttribute(16, "ListBase", 0, "collections", "ListBase", false, 0)]
public ListBase collections;
public Bone_Runtime() {
this.collections = default;

View File

@@ -15,30 +15,30 @@ namespace BlendFile.DNA {
[DNAClassAttribute(473, "BooleanModifierData", 152)]
public class BooleanModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(2, "Collection", "*collection", "Collection", 8, true)]
public Collection ptr_collection;
[DNAFieldAttribute(3, "float", "double_threshold", "float", 4, false)]
[DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)]
public Object @object;
[DNAFieldAttribute(8, "Collection", 2, "*collection", "Collection", true, 128)]
public Collection collection;
[DNAFieldAttribute(4, "float", 3, "double_threshold", "float", false, 136)]
public float double_threshold;
[DNAFieldAttribute(4, "char", "operation", "char", 1, false)]
[DNAFieldAttribute(1, "char", 4, "operation", "char", false, 140)]
public char operation;
[DNAFieldAttribute(5, "char", "solver", "char", 1, false)]
[DNAFieldAttribute(1, "char", 5, "solver", "char", false, 141)]
public char solver;
[DNAFieldAttribute(6, "char", "material_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 6, "material_mode", "char", false, 142)]
public char material_mode;
[DNAFieldAttribute(7, "char", "flag", "char", 1, false)]
[DNAFieldAttribute(1, "char", 7, "flag", "char", false, 143)]
public char flag;
[DNAFieldAttribute(8, "char", "bm_flag", "char", 1, false)]
[DNAFieldAttribute(1, "char", 8, "bm_flag", "char", false, 144)]
public char bm_flag;
[DNAFieldAttribute(9, "char", "_pad[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 9, "_pad[7]", "System.Char[]", 7, false, 145)]
public char[] _pad = new System.Char[7];
public BooleanModifierData() {
this.modifier = default;
this.ptr_object = default;
this.ptr_collection = default;
this.@object = default;
this.collection = default;
this.double_threshold = default;
this.operation = default;
this.solver = default;
@@ -47,10 +47,10 @@ namespace BlendFile.DNA {
this.bm_flag = default;
this._pad = default;
}
public BooleanModifierData(ModifierData modifier, Object ptr_object, Collection ptr_collection, float double_threshold, char operation, char solver, char material_mode, char flag, char bm_flag, char[] _pad) {
public BooleanModifierData(ModifierData modifier, Object @object, Collection collection, float double_threshold, char operation, char solver, char material_mode, char flag, char bm_flag, char[] _pad) {
this.modifier = modifier;
this.ptr_object = ptr_object;
this.ptr_collection = ptr_collection;
this.@object = @object;
this.collection = collection;
this.double_threshold = double_threshold;
this.operation = operation;
this.solver = solver;

View File

@@ -14,8 +14,8 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(442, "BoundBox", 96)]
public struct BoundBox {
[DNAFieldAttribute(0, "float", "vec[8][3]", "System.Single[,]", 96, false)]
public class BoundBox {
[DNAArrayAttribute(96, "float", 0, "vec[8][3]", "System.Single[,]", 24, false, 0)]
public float[,] vec = new System.Single[8,3];
public BoundBox() {
this.vec = default;

View File

@@ -14,12 +14,12 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(908, "BrightContrastModifierData", 120)]
public struct BrightContrastModifierData {
[DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false)]
public class BrightContrastModifierData {
[DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)]
public SequenceModifierData modifier;
[DNAFieldAttribute(1, "float", "bright", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "bright", "float", false, 112)]
public float bright;
[DNAFieldAttribute(2, "float", "contrast", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "contrast", "float", false, 116)]
public float contrast;
public BrightContrastModifierData() {
this.modifier = default;

View File

@@ -15,267 +15,267 @@ namespace BlendFile.DNA {
[DNAClassAttribute(131, "Brush", 2216)]
public class Brush {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(1, "BrushClone", "clone", "BrushClone", 24, false)]
[DNAFieldAttribute(24, "BrushClone", 1, "clone", "BrushClone", false, 208)]
public BrushClone clone;
[DNAFieldAttribute(2, "CurveMapping", "*curve", "CurveMapping", 8, true)]
public CurveMapping ptr_curve;
[DNAFieldAttribute(3, "MTex", "mtex", "MTex", 216, false)]
[DNAFieldAttribute(8, "CurveMapping", 2, "*curve", "CurveMapping", true, 232)]
public CurveMapping curve;
[DNAFieldAttribute(216, "MTex", 3, "mtex", "MTex", false, 240)]
public MTex mtex;
[DNAFieldAttribute(4, "MTex", "mask_mtex", "MTex", 216, false)]
[DNAFieldAttribute(216, "MTex", 4, "mask_mtex", "MTex", false, 456)]
public MTex mask_mtex;
[DNAFieldAttribute(5, "Brush", "*toggle_brush", "Brush", 8, true)]
public Brush ptr_toggle_brush;
[DNAFieldAttribute(6, "ImBuf", "*icon_imbuf", "ImBuf", 8, true)]
public ImBuf ptr_icon_imbuf;
[DNAFieldAttribute(7, "PreviewImage", "*preview", "PreviewImage", 8, true)]
public PreviewImage ptr_preview;
[DNAFieldAttribute(8, "ColorBand", "*gradient", "ColorBand", 8, true)]
public ColorBand ptr_gradient;
[DNAFieldAttribute(9, "PaintCurve", "*paint_curve", "PaintCurve", 8, true)]
public PaintCurve ptr_paint_curve;
[DNAFieldAttribute(10, "char", "icon_filepath[1024]", "System.Char[]", 1024, false)]
[DNAFieldAttribute(8, "Brush", 5, "*toggle_brush", "Brush", true, 672)]
public Brush toggle_brush;
[DNAFieldAttribute(8, "ImBuf", 6, "*icon_imbuf", "ImBuf", true, 680)]
public ImBuf icon_imbuf;
[DNAFieldAttribute(8, "PreviewImage", 7, "*preview", "PreviewImage", true, 688)]
public PreviewImage preview;
[DNAFieldAttribute(8, "ColorBand", 8, "*gradient", "ColorBand", true, 696)]
public ColorBand gradient;
[DNAFieldAttribute(8, "PaintCurve", 9, "*paint_curve", "PaintCurve", true, 704)]
public PaintCurve paint_curve;
[DNAArrayAttribute(1024, "char", 10, "icon_filepath[1024]", "System.Char[]", 1024, false, 712)]
public char[] icon_filepath = new System.Char[1024];
[DNAFieldAttribute(11, "float", "normal_weight", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "normal_weight", "float", false, 1736)]
public float normal_weight;
[DNAFieldAttribute(12, "float", "rake_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "rake_factor", "float", false, 1740)]
public float rake_factor;
[DNAFieldAttribute(13, "short", "blend", "short", 2, false)]
[DNAFieldAttribute(2, "short", 13, "blend", "short", false, 1744)]
public short blend;
[DNAFieldAttribute(14, "short", "ob_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 14, "ob_mode", "short", false, 1746)]
public short ob_mode;
[DNAFieldAttribute(15, "float", "weight", "float", 4, false)]
[DNAFieldAttribute(4, "float", 15, "weight", "float", false, 1748)]
public float weight;
[DNAFieldAttribute(16, "int", "size", "int", 4, false)]
[DNAFieldAttribute(4, "int", 16, "size", "int", false, 1752)]
public int size;
[DNAFieldAttribute(17, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 17, "flag", "int", false, 1756)]
public int flag;
[DNAFieldAttribute(18, "int", "flag2", "int", 4, false)]
[DNAFieldAttribute(4, "int", 18, "flag2", "int", false, 1760)]
public int flag2;
[DNAFieldAttribute(19, "int", "sampling_flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 19, "sampling_flag", "int", false, 1764)]
public int sampling_flag;
[DNAFieldAttribute(20, "int", "input_samples", "int", 4, false)]
[DNAFieldAttribute(4, "int", 20, "input_samples", "int", false, 1768)]
public int input_samples;
[DNAFieldAttribute(21, "int", "mask_pressure", "int", 4, false)]
[DNAFieldAttribute(4, "int", 21, "mask_pressure", "int", false, 1772)]
public int mask_pressure;
[DNAFieldAttribute(22, "float", "jitter", "float", 4, false)]
[DNAFieldAttribute(4, "float", 22, "jitter", "float", false, 1776)]
public float jitter;
[DNAFieldAttribute(23, "int", "jitter_absolute", "int", 4, false)]
[DNAFieldAttribute(4, "int", 23, "jitter_absolute", "int", false, 1780)]
public int jitter_absolute;
[DNAFieldAttribute(24, "int", "overlay_flags", "int", 4, false)]
[DNAFieldAttribute(4, "int", 24, "overlay_flags", "int", false, 1784)]
public int overlay_flags;
[DNAFieldAttribute(25, "int", "spacing", "int", 4, false)]
[DNAFieldAttribute(4, "int", 25, "spacing", "int", false, 1788)]
public int spacing;
[DNAFieldAttribute(26, "int", "smooth_stroke_radius", "int", 4, false)]
[DNAFieldAttribute(4, "int", 26, "smooth_stroke_radius", "int", false, 1792)]
public int smooth_stroke_radius;
[DNAFieldAttribute(27, "float", "smooth_stroke_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 27, "smooth_stroke_factor", "float", false, 1796)]
public float smooth_stroke_factor;
[DNAFieldAttribute(28, "float", "rate", "float", 4, false)]
[DNAFieldAttribute(4, "float", 28, "rate", "float", false, 1800)]
public float rate;
[DNAFieldAttribute(29, "float", "rgb[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 29, "rgb[3]", "System.Single[]", 3, false, 1804)]
public float[] rgb = new System.Single[3];
[DNAFieldAttribute(30, "float", "alpha", "float", 4, false)]
[DNAFieldAttribute(4, "float", 30, "alpha", "float", false, 1816)]
public float alpha;
[DNAFieldAttribute(31, "float", "hardness", "float", 4, false)]
[DNAFieldAttribute(4, "float", 31, "hardness", "float", false, 1820)]
public float hardness;
[DNAFieldAttribute(32, "float", "flow", "float", 4, false)]
[DNAFieldAttribute(4, "float", 32, "flow", "float", false, 1824)]
public float flow;
[DNAFieldAttribute(33, "float", "wet_mix", "float", 4, false)]
[DNAFieldAttribute(4, "float", 33, "wet_mix", "float", false, 1828)]
public float wet_mix;
[DNAFieldAttribute(34, "float", "wet_persistence", "float", 4, false)]
[DNAFieldAttribute(4, "float", 34, "wet_persistence", "float", false, 1832)]
public float wet_persistence;
[DNAFieldAttribute(35, "float", "density", "float", 4, false)]
[DNAFieldAttribute(4, "float", 35, "density", "float", false, 1836)]
public float density;
[DNAFieldAttribute(36, "int", "paint_flags", "int", 4, false)]
[DNAFieldAttribute(4, "int", 36, "paint_flags", "int", false, 1840)]
public int paint_flags;
[DNAFieldAttribute(37, "float", "tip_roundness", "float", 4, false)]
[DNAFieldAttribute(4, "float", 37, "tip_roundness", "float", false, 1844)]
public float tip_roundness;
[DNAFieldAttribute(38, "float", "tip_scale_x", "float", 4, false)]
[DNAFieldAttribute(4, "float", 38, "tip_scale_x", "float", false, 1848)]
public float tip_scale_x;
[DNAFieldAttribute(39, "float", "secondary_rgb[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 39, "secondary_rgb[3]", "System.Single[]", 3, false, 1852)]
public float[] secondary_rgb = new System.Single[3];
[DNAFieldAttribute(40, "float", "dash_ratio", "float", 4, false)]
[DNAFieldAttribute(4, "float", 40, "dash_ratio", "float", false, 1864)]
public float dash_ratio;
[DNAFieldAttribute(41, "int", "dash_samples", "int", 4, false)]
[DNAFieldAttribute(4, "int", 41, "dash_samples", "int", false, 1868)]
public int dash_samples;
[DNAFieldAttribute(42, "int", "sculpt_plane", "int", 4, false)]
[DNAFieldAttribute(4, "int", 42, "sculpt_plane", "int", false, 1872)]
public int sculpt_plane;
[DNAFieldAttribute(43, "float", "plane_offset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 43, "plane_offset", "float", false, 1876)]
public float plane_offset;
[DNAFieldAttribute(44, "int", "gradient_spacing", "int", 4, false)]
[DNAFieldAttribute(4, "int", 44, "gradient_spacing", "int", false, 1880)]
public int gradient_spacing;
[DNAFieldAttribute(45, "char", "gradient_stroke_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 45, "gradient_stroke_mode", "char", false, 1884)]
public char gradient_stroke_mode;
[DNAFieldAttribute(46, "char", "gradient_fill_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 46, "gradient_fill_mode", "char", false, 1885)]
public char gradient_fill_mode;
[DNAFieldAttribute(47, "char", "has_unsaved_changes", "char", 1, false)]
[DNAFieldAttribute(1, "char", 47, "has_unsaved_changes", "char", false, 1886)]
public char has_unsaved_changes;
[DNAFieldAttribute(48, "char", "falloff_shape", "char", 1, false)]
[DNAFieldAttribute(1, "char", 48, "falloff_shape", "char", false, 1887)]
public char falloff_shape;
[DNAFieldAttribute(49, "float", "falloff_angle", "float", 4, false)]
[DNAFieldAttribute(4, "float", 49, "falloff_angle", "float", false, 1888)]
public float falloff_angle;
[DNAFieldAttribute(50, "char", "sculpt_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 50, "sculpt_tool", "char", false, 1892)]
public char sculpt_tool;
[DNAFieldAttribute(51, "char", "vertexpaint_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 51, "vertexpaint_tool", "char", false, 1893)]
public char vertexpaint_tool;
[DNAFieldAttribute(52, "char", "weightpaint_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 52, "weightpaint_tool", "char", false, 1894)]
public char weightpaint_tool;
[DNAFieldAttribute(53, "char", "imagepaint_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 53, "imagepaint_tool", "char", false, 1895)]
public char imagepaint_tool;
[DNAFieldAttribute(54, "char", "mask_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 54, "mask_tool", "char", false, 1896)]
public char mask_tool;
[DNAFieldAttribute(55, "char", "gpencil_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 55, "gpencil_tool", "char", false, 1897)]
public char gpencil_tool;
[DNAFieldAttribute(56, "char", "gpencil_vertex_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 56, "gpencil_vertex_tool", "char", false, 1898)]
public char gpencil_vertex_tool;
[DNAFieldAttribute(57, "char", "gpencil_sculpt_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 57, "gpencil_sculpt_tool", "char", false, 1899)]
public char gpencil_sculpt_tool;
[DNAFieldAttribute(58, "char", "gpencil_weight_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 58, "gpencil_weight_tool", "char", false, 1900)]
public char gpencil_weight_tool;
[DNAFieldAttribute(59, "char", "curves_sculpt_tool", "char", 1, false)]
[DNAFieldAttribute(1, "char", 59, "curves_sculpt_tool", "char", false, 1901)]
public char curves_sculpt_tool;
[DNAFieldAttribute(60, "char", "_pad1[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 60, "_pad1[6]", "System.Char[]", 6, false, 1902)]
public char[] _pad1 = new System.Char[6];
[DNAFieldAttribute(61, "float", "autosmooth_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 61, "autosmooth_factor", "float", false, 1908)]
public float autosmooth_factor;
[DNAFieldAttribute(62, "float", "tilt_strength_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 62, "tilt_strength_factor", "float", false, 1912)]
public float tilt_strength_factor;
[DNAFieldAttribute(63, "float", "topology_rake_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 63, "topology_rake_factor", "float", false, 1916)]
public float topology_rake_factor;
[DNAFieldAttribute(64, "float", "crease_pinch_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 64, "crease_pinch_factor", "float", false, 1920)]
public float crease_pinch_factor;
[DNAFieldAttribute(65, "float", "normal_radius_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 65, "normal_radius_factor", "float", false, 1924)]
public float normal_radius_factor;
[DNAFieldAttribute(66, "float", "area_radius_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 66, "area_radius_factor", "float", false, 1928)]
public float area_radius_factor;
[DNAFieldAttribute(67, "float", "wet_paint_radius_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 67, "wet_paint_radius_factor", "float", false, 1932)]
public float wet_paint_radius_factor;
[DNAFieldAttribute(68, "float", "plane_trim", "float", 4, false)]
[DNAFieldAttribute(4, "float", 68, "plane_trim", "float", false, 1936)]
public float plane_trim;
[DNAFieldAttribute(69, "float", "height", "float", 4, false)]
[DNAFieldAttribute(4, "float", 69, "height", "float", false, 1940)]
public float height;
[DNAFieldAttribute(70, "float", "texture_sample_bias", "float", 4, false)]
[DNAFieldAttribute(4, "float", 70, "texture_sample_bias", "float", false, 1944)]
public float texture_sample_bias;
[DNAFieldAttribute(71, "int", "curve_preset", "int", 4, false)]
[DNAFieldAttribute(4, "int", 71, "curve_preset", "int", false, 1948)]
public int curve_preset;
[DNAFieldAttribute(72, "float", "disconnected_distance_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 72, "disconnected_distance_max", "float", false, 1952)]
public float disconnected_distance_max;
[DNAFieldAttribute(73, "int", "deform_target", "int", 4, false)]
[DNAFieldAttribute(4, "int", 73, "deform_target", "int", false, 1956)]
public int deform_target;
[DNAFieldAttribute(74, "int", "automasking_flags", "int", 4, false)]
[DNAFieldAttribute(4, "int", 74, "automasking_flags", "int", false, 1960)]
public int automasking_flags;
[DNAFieldAttribute(75, "int", "automasking_boundary_edges_propagation_steps", "int", 4, false)]
[DNAFieldAttribute(4, "int", 75, "automasking_boundary_edges_propagation_steps", "int", false, 1964)]
public int automasking_boundary_edges_propagation_steps;
[DNAFieldAttribute(76, "float", "automasking_start_normal_limit", "float", 4, false)]
[DNAFieldAttribute(4, "float", 76, "automasking_start_normal_limit", "float", false, 1968)]
public float automasking_start_normal_limit;
[DNAFieldAttribute(77, "float", "automasking_start_normal_falloff", "float", 4, false)]
[DNAFieldAttribute(4, "float", 77, "automasking_start_normal_falloff", "float", false, 1972)]
public float automasking_start_normal_falloff;
[DNAFieldAttribute(78, "float", "automasking_view_normal_limit", "float", 4, false)]
[DNAFieldAttribute(4, "float", 78, "automasking_view_normal_limit", "float", false, 1976)]
public float automasking_view_normal_limit;
[DNAFieldAttribute(79, "float", "automasking_view_normal_falloff", "float", 4, false)]
[DNAFieldAttribute(4, "float", 79, "automasking_view_normal_falloff", "float", false, 1980)]
public float automasking_view_normal_falloff;
[DNAFieldAttribute(80, "int", "elastic_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 80, "elastic_deform_type", "int", false, 1984)]
public int elastic_deform_type;
[DNAFieldAttribute(81, "float", "elastic_deform_volume_preservation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 81, "elastic_deform_volume_preservation", "float", false, 1988)]
public float elastic_deform_volume_preservation;
[DNAFieldAttribute(82, "int", "snake_hook_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 82, "snake_hook_deform_type", "int", false, 1992)]
public int snake_hook_deform_type;
[DNAFieldAttribute(83, "int", "pose_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 83, "pose_deform_type", "int", false, 1996)]
public int pose_deform_type;
[DNAFieldAttribute(84, "float", "pose_offset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 84, "pose_offset", "float", false, 2000)]
public float pose_offset;
[DNAFieldAttribute(85, "int", "pose_smooth_iterations", "int", 4, false)]
[DNAFieldAttribute(4, "int", 85, "pose_smooth_iterations", "int", false, 2004)]
public int pose_smooth_iterations;
[DNAFieldAttribute(86, "int", "pose_ik_segments", "int", 4, false)]
[DNAFieldAttribute(4, "int", 86, "pose_ik_segments", "int", false, 2008)]
public int pose_ik_segments;
[DNAFieldAttribute(87, "int", "pose_origin_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 87, "pose_origin_type", "int", false, 2012)]
public int pose_origin_type;
[DNAFieldAttribute(88, "int", "boundary_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 88, "boundary_deform_type", "int", false, 2016)]
public int boundary_deform_type;
[DNAFieldAttribute(89, "int", "boundary_falloff_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 89, "boundary_falloff_type", "int", false, 2020)]
public int boundary_falloff_type;
[DNAFieldAttribute(90, "float", "boundary_offset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 90, "boundary_offset", "float", false, 2024)]
public float boundary_offset;
[DNAFieldAttribute(91, "int", "cloth_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 91, "cloth_deform_type", "int", false, 2028)]
public int cloth_deform_type;
[DNAFieldAttribute(92, "int", "cloth_force_falloff_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 92, "cloth_force_falloff_type", "int", false, 2032)]
public int cloth_force_falloff_type;
[DNAFieldAttribute(93, "int", "cloth_simulation_area_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 93, "cloth_simulation_area_type", "int", false, 2036)]
public int cloth_simulation_area_type;
[DNAFieldAttribute(94, "float", "cloth_mass", "float", 4, false)]
[DNAFieldAttribute(4, "float", 94, "cloth_mass", "float", false, 2040)]
public float cloth_mass;
[DNAFieldAttribute(95, "float", "cloth_damping", "float", 4, false)]
[DNAFieldAttribute(4, "float", 95, "cloth_damping", "float", false, 2044)]
public float cloth_damping;
[DNAFieldAttribute(96, "float", "cloth_sim_limit", "float", 4, false)]
[DNAFieldAttribute(4, "float", 96, "cloth_sim_limit", "float", false, 2048)]
public float cloth_sim_limit;
[DNAFieldAttribute(97, "float", "cloth_sim_falloff", "float", 4, false)]
[DNAFieldAttribute(4, "float", 97, "cloth_sim_falloff", "float", false, 2052)]
public float cloth_sim_falloff;
[DNAFieldAttribute(98, "float", "cloth_constraint_softbody_strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 98, "cloth_constraint_softbody_strength", "float", false, 2056)]
public float cloth_constraint_softbody_strength;
[DNAFieldAttribute(99, "int", "smooth_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 99, "smooth_deform_type", "int", false, 2060)]
public int smooth_deform_type;
[DNAFieldAttribute(100, "float", "surface_smooth_shape_preservation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 100, "surface_smooth_shape_preservation", "float", false, 2064)]
public float surface_smooth_shape_preservation;
[DNAFieldAttribute(101, "float", "surface_smooth_current_vertex", "float", 4, false)]
[DNAFieldAttribute(4, "float", 101, "surface_smooth_current_vertex", "float", false, 2068)]
public float surface_smooth_current_vertex;
[DNAFieldAttribute(102, "int", "surface_smooth_iterations", "int", 4, false)]
[DNAFieldAttribute(4, "int", 102, "surface_smooth_iterations", "int", false, 2072)]
public int surface_smooth_iterations;
[DNAFieldAttribute(103, "float", "multiplane_scrape_angle", "float", 4, false)]
[DNAFieldAttribute(4, "float", 103, "multiplane_scrape_angle", "float", false, 2076)]
public float multiplane_scrape_angle;
[DNAFieldAttribute(104, "int", "smear_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 104, "smear_deform_type", "int", false, 2080)]
public int smear_deform_type;
[DNAFieldAttribute(105, "int", "slide_deform_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 105, "slide_deform_type", "int", false, 2084)]
public int slide_deform_type;
[DNAFieldAttribute(106, "int", "texture_overlay_alpha", "int", 4, false)]
[DNAFieldAttribute(4, "int", 106, "texture_overlay_alpha", "int", false, 2088)]
public int texture_overlay_alpha;
[DNAFieldAttribute(107, "int", "mask_overlay_alpha", "int", 4, false)]
[DNAFieldAttribute(4, "int", 107, "mask_overlay_alpha", "int", false, 2092)]
public int mask_overlay_alpha;
[DNAFieldAttribute(108, "int", "cursor_overlay_alpha", "int", 4, false)]
[DNAFieldAttribute(4, "int", 108, "cursor_overlay_alpha", "int", false, 2096)]
public int cursor_overlay_alpha;
[DNAFieldAttribute(109, "float", "unprojected_radius", "float", 4, false)]
[DNAFieldAttribute(4, "float", 109, "unprojected_radius", "float", false, 2100)]
public float unprojected_radius;
[DNAFieldAttribute(110, "float", "sharp_threshold", "float", 4, false)]
[DNAFieldAttribute(4, "float", 110, "sharp_threshold", "float", false, 2104)]
public float sharp_threshold;
[DNAFieldAttribute(111, "int", "blur_kernel_radius", "int", 4, false)]
[DNAFieldAttribute(4, "int", 111, "blur_kernel_radius", "int", false, 2108)]
public int blur_kernel_radius;
[DNAFieldAttribute(112, "int", "blur_mode", "int", 4, false)]
[DNAFieldAttribute(4, "int", 112, "blur_mode", "int", false, 2112)]
public int blur_mode;
[DNAFieldAttribute(113, "float", "fill_threshold", "float", 4, false)]
[DNAFieldAttribute(4, "float", 113, "fill_threshold", "float", false, 2116)]
public float fill_threshold;
[DNAFieldAttribute(114, "float", "add_col[4]", "System.Single[]", 16, false)]
[DNAArrayAttribute(16, "float", 114, "add_col[4]", "System.Single[]", 4, false, 2120)]
public float[] add_col = new System.Single[4];
[DNAFieldAttribute(115, "float", "sub_col[4]", "System.Single[]", 16, false)]
[DNAArrayAttribute(16, "float", 115, "sub_col[4]", "System.Single[]", 4, false, 2136)]
public float[] sub_col = new System.Single[4];
[DNAFieldAttribute(116, "float", "stencil_pos[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 116, "stencil_pos[2]", "System.Single[]", 2, false, 2152)]
public float[] stencil_pos = new System.Single[2];
[DNAFieldAttribute(117, "float", "stencil_dimension[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 117, "stencil_dimension[2]", "System.Single[]", 2, false, 2160)]
public float[] stencil_dimension = new System.Single[2];
[DNAFieldAttribute(118, "float", "mask_stencil_pos[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 118, "mask_stencil_pos[2]", "System.Single[]", 2, false, 2168)]
public float[] mask_stencil_pos = new System.Single[2];
[DNAFieldAttribute(119, "float", "mask_stencil_dimension[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 119, "mask_stencil_dimension[2]", "System.Single[]", 2, false, 2176)]
public float[] mask_stencil_dimension = new System.Single[2];
[DNAFieldAttribute(120, "BrushGpencilSettings", "*gpencil_settings", "BrushGpencilSettings", 8, true)]
public BrushGpencilSettings ptr_gpencil_settings;
[DNAFieldAttribute(121, "BrushCurvesSculptSettings", "*curves_sculpt_settings", "BrushCurvesSculptSettings", 8, true)]
public BrushCurvesSculptSettings ptr_curves_sculpt_settings;
[DNAFieldAttribute(122, "int", "automasking_cavity_blur_steps", "int", 4, false)]
[DNAFieldAttribute(8, "BrushGpencilSettings", 120, "*gpencil_settings", "BrushGpencilSettings", true, 2184)]
public BrushGpencilSettings gpencil_settings;
[DNAFieldAttribute(8, "BrushCurvesSculptSettings", 121, "*curves_sculpt_settings", "BrushCurvesSculptSettings", true, 2192)]
public BrushCurvesSculptSettings curves_sculpt_settings;
[DNAFieldAttribute(4, "int", 122, "automasking_cavity_blur_steps", "int", false, 2200)]
public int automasking_cavity_blur_steps;
[DNAFieldAttribute(123, "float", "automasking_cavity_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 123, "automasking_cavity_factor", "float", false, 2204)]
public float automasking_cavity_factor;
[DNAFieldAttribute(124, "CurveMapping", "*automasking_cavity_curve", "CurveMapping", 8, true)]
public CurveMapping ptr_automasking_cavity_curve;
[DNAFieldAttribute(8, "CurveMapping", 124, "*automasking_cavity_curve", "CurveMapping", true, 2208)]
public CurveMapping automasking_cavity_curve;
public Brush() {
this.id = default;
this.clone = default;
this.ptr_curve = default;
this.curve = default;
this.mtex = default;
this.mask_mtex = default;
this.ptr_toggle_brush = default;
this.ptr_icon_imbuf = default;
this.ptr_preview = default;
this.ptr_gradient = default;
this.ptr_paint_curve = default;
this.toggle_brush = default;
this.icon_imbuf = default;
this.preview = default;
this.gradient = default;
this.paint_curve = default;
this.icon_filepath = default;
this.normal_weight = default;
this.rake_factor = default;
@@ -386,23 +386,23 @@ namespace BlendFile.DNA {
this.stencil_dimension = default;
this.mask_stencil_pos = default;
this.mask_stencil_dimension = default;
this.ptr_gpencil_settings = default;
this.ptr_curves_sculpt_settings = default;
this.gpencil_settings = default;
this.curves_sculpt_settings = default;
this.automasking_cavity_blur_steps = default;
this.automasking_cavity_factor = default;
this.ptr_automasking_cavity_curve = default;
this.automasking_cavity_curve = default;
}
public Brush(
ID id,
BrushClone clone,
CurveMapping ptr_curve,
CurveMapping curve,
MTex mtex,
MTex mask_mtex,
Brush ptr_toggle_brush,
ImBuf ptr_icon_imbuf,
PreviewImage ptr_preview,
ColorBand ptr_gradient,
PaintCurve ptr_paint_curve,
Brush toggle_brush,
ImBuf icon_imbuf,
PreviewImage preview,
ColorBand gradient,
PaintCurve paint_curve,
char[] icon_filepath,
float normal_weight,
float rake_factor,
@@ -513,21 +513,21 @@ namespace BlendFile.DNA {
float[] stencil_dimension,
float[] mask_stencil_pos,
float[] mask_stencil_dimension,
BrushGpencilSettings ptr_gpencil_settings,
BrushCurvesSculptSettings ptr_curves_sculpt_settings,
BrushGpencilSettings gpencil_settings,
BrushCurvesSculptSettings curves_sculpt_settings,
int automasking_cavity_blur_steps,
float automasking_cavity_factor,
CurveMapping ptr_automasking_cavity_curve) {
CurveMapping automasking_cavity_curve) {
this.id = id;
this.clone = clone;
this.ptr_curve = ptr_curve;
this.curve = curve;
this.mtex = mtex;
this.mask_mtex = mask_mtex;
this.ptr_toggle_brush = ptr_toggle_brush;
this.ptr_icon_imbuf = ptr_icon_imbuf;
this.ptr_preview = ptr_preview;
this.ptr_gradient = ptr_gradient;
this.ptr_paint_curve = ptr_paint_curve;
this.toggle_brush = toggle_brush;
this.icon_imbuf = icon_imbuf;
this.preview = preview;
this.gradient = gradient;
this.paint_curve = paint_curve;
this.icon_filepath = icon_filepath;
this.normal_weight = normal_weight;
this.rake_factor = rake_factor;
@@ -638,11 +638,11 @@ namespace BlendFile.DNA {
this.stencil_dimension = stencil_dimension;
this.mask_stencil_pos = mask_stencil_pos;
this.mask_stencil_dimension = mask_stencil_dimension;
this.ptr_gpencil_settings = ptr_gpencil_settings;
this.ptr_curves_sculpt_settings = ptr_curves_sculpt_settings;
this.gpencil_settings = gpencil_settings;
this.curves_sculpt_settings = curves_sculpt_settings;
this.automasking_cavity_blur_steps = automasking_cavity_blur_steps;
this.automasking_cavity_factor = automasking_cavity_factor;
this.ptr_automasking_cavity_curve = ptr_automasking_cavity_curve;
this.automasking_cavity_curve = automasking_cavity_curve;
}
}
}

View File

@@ -15,22 +15,22 @@ namespace BlendFile.DNA {
[DNAClassAttribute(125, "BrushClone", 24)]
public class BrushClone {
[DNAFieldAttribute(0, "Image", "*image", "Image", 8, true)]
public Image ptr_image;
[DNAFieldAttribute(1, "float", "offset[2]", "System.Single[]", 8, false)]
[DNAFieldAttribute(8, "Image", 0, "*image", "Image", true, 0)]
public Image image;
[DNAArrayAttribute(8, "float", 1, "offset[2]", "System.Single[]", 2, false, 8)]
public float[] offset = new System.Single[2];
[DNAFieldAttribute(2, "float", "alpha", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "alpha", "float", false, 16)]
public float alpha;
[DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, false, 20)]
public char[] _pad = new System.Char[4];
public BrushClone() {
this.ptr_image = default;
this.image = default;
this.offset = default;
this.alpha = default;
this._pad = default;
}
public BrushClone(Image ptr_image, float[] offset, float alpha, char[] _pad) {
this.ptr_image = ptr_image;
public BrushClone(Image image, float[] offset, float alpha, char[] _pad) {
this.image = image;
this.offset = offset;
this.alpha = alpha;
this._pad = _pad;

View File

@@ -15,28 +15,28 @@ namespace BlendFile.DNA {
[DNAClassAttribute(130, "BrushCurvesSculptSettings", 48)]
public class BrushCurvesSculptSettings {
[DNAFieldAttribute(0, "int", "add_amount", "int", 4, false)]
[DNAFieldAttribute(4, "int", 0, "add_amount", "int", false, 0)]
public int add_amount;
[DNAFieldAttribute(1, "int", "points_per_curve", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "points_per_curve", "int", false, 4)]
public int points_per_curve;
[DNAFieldAttribute(2, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)]
public int flag;
[DNAFieldAttribute(3, "float", "minimum_length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "minimum_length", "float", false, 12)]
public float minimum_length;
[DNAFieldAttribute(4, "float", "curve_length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "curve_length", "float", false, 16)]
public float curve_length;
[DNAFieldAttribute(5, "float", "minimum_distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "minimum_distance", "float", false, 20)]
public float minimum_distance;
[DNAFieldAttribute(6, "float", "curve_radius", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "curve_radius", "float", false, 24)]
public float curve_radius;
[DNAFieldAttribute(7, "int", "density_add_attempts", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "density_add_attempts", "int", false, 28)]
public int density_add_attempts;
[DNAFieldAttribute(8, "uchar", "density_mode", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 8, "density_mode", "uchar", false, 32)]
public byte density_mode;
[DNAFieldAttribute(9, "char", "_pad[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 9, "_pad[7]", "System.Char[]", 7, false, 33)]
public char[] _pad = new System.Char[7];
[DNAFieldAttribute(10, "CurveMapping", "*curve_parameter_falloff", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_parameter_falloff;
[DNAFieldAttribute(8, "CurveMapping", 10, "*curve_parameter_falloff", "CurveMapping", true, 40)]
public CurveMapping curve_parameter_falloff;
public BrushCurvesSculptSettings() {
this.add_amount = default;
this.points_per_curve = default;
@@ -48,9 +48,9 @@ namespace BlendFile.DNA {
this.density_add_attempts = default;
this.density_mode = default;
this._pad = default;
this.ptr_curve_parameter_falloff = default;
this.curve_parameter_falloff = default;
}
public BrushCurvesSculptSettings(int add_amount, int points_per_curve, int flag, float minimum_length, float curve_length, float minimum_distance, float curve_radius, int density_add_attempts, byte density_mode, char[] _pad, CurveMapping ptr_curve_parameter_falloff) {
public BrushCurvesSculptSettings(int add_amount, int points_per_curve, int flag, float minimum_length, float curve_length, float minimum_distance, float curve_radius, int density_add_attempts, byte density_mode, char[] _pad, CurveMapping curve_parameter_falloff) {
this.add_amount = add_amount;
this.points_per_curve = points_per_curve;
this.flag = flag;
@@ -61,7 +61,7 @@ namespace BlendFile.DNA {
this.density_add_attempts = density_add_attempts;
this.density_mode = density_mode;
this._pad = _pad;
this.ptr_curve_parameter_falloff = ptr_curve_parameter_falloff;
this.curve_parameter_falloff = curve_parameter_falloff;
}
}
}

View File

@@ -15,116 +15,116 @@ namespace BlendFile.DNA {
[DNAClassAttribute(127, "BrushGpencilSettings", 248)]
public class BrushGpencilSettings {
[DNAFieldAttribute(0, "float", "draw_smoothfac", "float", 4, false)]
[DNAFieldAttribute(4, "float", 0, "draw_smoothfac", "float", false, 0)]
public float draw_smoothfac;
[DNAFieldAttribute(1, "float", "fill_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "fill_factor", "float", false, 4)]
public float fill_factor;
[DNAFieldAttribute(2, "float", "draw_strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "draw_strength", "float", false, 8)]
public float draw_strength;
[DNAFieldAttribute(3, "float", "draw_jitter", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "draw_jitter", "float", false, 12)]
public float draw_jitter;
[DNAFieldAttribute(4, "float", "draw_angle", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "draw_angle", "float", false, 16)]
public float draw_angle;
[DNAFieldAttribute(5, "float", "draw_angle_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "draw_angle_factor", "float", false, 20)]
public float draw_angle_factor;
[DNAFieldAttribute(6, "float", "draw_random_press", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "draw_random_press", "float", false, 24)]
public float draw_random_press;
[DNAFieldAttribute(7, "float", "draw_random_strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "draw_random_strength", "float", false, 28)]
public float draw_random_strength;
[DNAFieldAttribute(8, "short", "draw_smoothlvl", "short", 2, false)]
[DNAFieldAttribute(2, "short", 8, "draw_smoothlvl", "short", false, 32)]
public short draw_smoothlvl;
[DNAFieldAttribute(9, "short", "draw_subdivide", "short", 2, false)]
[DNAFieldAttribute(2, "short", 9, "draw_subdivide", "short", false, 34)]
public short draw_subdivide;
[DNAFieldAttribute(10, "short", "fill_layer_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "fill_layer_mode", "short", false, 36)]
public short fill_layer_mode;
[DNAFieldAttribute(11, "short", "fill_direction", "short", 2, false)]
[DNAFieldAttribute(2, "short", 11, "fill_direction", "short", false, 38)]
public short fill_direction;
[DNAFieldAttribute(12, "float", "fill_threshold", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "fill_threshold", "float", false, 40)]
public float fill_threshold;
[DNAFieldAttribute(13, "char", "_pad2[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 13, "_pad2[2]", "System.Char[]", 2, false, 44)]
public char[] _pad2 = new System.Char[2];
[DNAFieldAttribute(14, "int8_t", "caps_type", "int8_t", 1, false)]
[DNAFieldAttribute(1, "int8_t", 14, "caps_type", "int8_t", false, 46)]
public sbyte caps_type;
[DNAFieldAttribute(15, "char", "_pad[1]", "System.Char[]", 1, false)]
[DNAArrayAttribute(1, "char", 15, "_pad[1]", "System.Char[]", 1, false, 47)]
public char[] _pad = new System.Char[1];
[DNAFieldAttribute(16, "int", "flag2", "int", 4, false)]
[DNAFieldAttribute(4, "int", 16, "flag2", "int", false, 48)]
public int flag2;
[DNAFieldAttribute(17, "int", "fill_simplylvl", "int", 4, false)]
[DNAFieldAttribute(4, "int", 17, "fill_simplylvl", "int", false, 52)]
public int fill_simplylvl;
[DNAFieldAttribute(18, "int", "fill_draw_mode", "int", 4, false)]
[DNAFieldAttribute(4, "int", 18, "fill_draw_mode", "int", false, 56)]
public int fill_draw_mode;
[DNAFieldAttribute(19, "int", "fill_extend_mode", "int", 4, false)]
[DNAFieldAttribute(4, "int", 19, "fill_extend_mode", "int", false, 60)]
public int fill_extend_mode;
[DNAFieldAttribute(20, "int", "input_samples", "int", 4, false)]
[DNAFieldAttribute(4, "int", 20, "input_samples", "int", false, 64)]
public int input_samples;
[DNAFieldAttribute(21, "float", "uv_random", "float", 4, false)]
[DNAFieldAttribute(4, "float", 21, "uv_random", "float", false, 68)]
public float uv_random;
[DNAFieldAttribute(22, "int", "brush_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 22, "brush_type", "int", false, 72)]
public int brush_type;
[DNAFieldAttribute(23, "int", "eraser_mode", "int", 4, false)]
[DNAFieldAttribute(4, "int", 23, "eraser_mode", "int", false, 76)]
public int eraser_mode;
[DNAFieldAttribute(24, "float", "active_smooth", "float", 4, false)]
[DNAFieldAttribute(4, "float", 24, "active_smooth", "float", false, 80)]
public float active_smooth;
[DNAFieldAttribute(25, "float", "era_strength_f", "float", 4, false)]
[DNAFieldAttribute(4, "float", 25, "era_strength_f", "float", false, 84)]
public float era_strength_f;
[DNAFieldAttribute(26, "float", "era_thickness_f", "float", 4, false)]
[DNAFieldAttribute(4, "float", 26, "era_thickness_f", "float", false, 88)]
public float era_thickness_f;
[DNAFieldAttribute(27, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 27, "flag", "int", false, 92)]
public int flag;
[DNAFieldAttribute(28, "float", "gradient_f", "float", 4, false)]
[DNAFieldAttribute(4, "float", 28, "gradient_f", "float", false, 96)]
public float gradient_f;
[DNAFieldAttribute(29, "float", "gradient_s[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 29, "gradient_s[2]", "System.Single[]", 2, false, 100)]
public float[] gradient_s = new System.Single[2];
[DNAFieldAttribute(30, "float", "simplify_f", "float", 4, false)]
[DNAFieldAttribute(4, "float", 30, "simplify_f", "float", false, 108)]
public float simplify_f;
[DNAFieldAttribute(31, "float", "vertex_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 31, "vertex_factor", "float", false, 112)]
public float vertex_factor;
[DNAFieldAttribute(32, "int", "vertex_mode", "int", 4, false)]
[DNAFieldAttribute(4, "int", 32, "vertex_mode", "int", false, 116)]
public int vertex_mode;
[DNAFieldAttribute(33, "int", "sculpt_flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 33, "sculpt_flag", "int", false, 120)]
public int sculpt_flag;
[DNAFieldAttribute(34, "int", "sculpt_mode_flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 34, "sculpt_mode_flag", "int", false, 124)]
public int sculpt_mode_flag;
[DNAFieldAttribute(35, "short", "preset_type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 35, "preset_type", "short", false, 128)]
public short preset_type;
[DNAFieldAttribute(36, "short", "brush_draw_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 36, "brush_draw_mode", "short", false, 130)]
public short brush_draw_mode;
[DNAFieldAttribute(37, "float", "random_hue", "float", 4, false)]
[DNAFieldAttribute(4, "float", 37, "random_hue", "float", false, 132)]
public float random_hue;
[DNAFieldAttribute(38, "float", "random_saturation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 38, "random_saturation", "float", false, 136)]
public float random_saturation;
[DNAFieldAttribute(39, "float", "random_value", "float", 4, false)]
[DNAFieldAttribute(4, "float", 39, "random_value", "float", false, 140)]
public float random_value;
[DNAFieldAttribute(40, "float", "fill_extend_fac", "float", 4, false)]
[DNAFieldAttribute(4, "float", 40, "fill_extend_fac", "float", false, 144)]
public float fill_extend_fac;
[DNAFieldAttribute(41, "int", "dilate_pixels", "int", 4, false)]
[DNAFieldAttribute(4, "int", 41, "dilate_pixels", "int", false, 148)]
public int dilate_pixels;
[DNAFieldAttribute(42, "CurveMapping", "*curve_sensitivity", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_sensitivity;
[DNAFieldAttribute(43, "CurveMapping", "*curve_strength", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_strength;
[DNAFieldAttribute(44, "CurveMapping", "*curve_jitter", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_jitter;
[DNAFieldAttribute(45, "CurveMapping", "*curve_rand_pressure", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_rand_pressure;
[DNAFieldAttribute(46, "CurveMapping", "*curve_rand_strength", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_rand_strength;
[DNAFieldAttribute(47, "CurveMapping", "*curve_rand_uv", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_rand_uv;
[DNAFieldAttribute(48, "CurveMapping", "*curve_rand_hue", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_rand_hue;
[DNAFieldAttribute(49, "CurveMapping", "*curve_rand_saturation", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_rand_saturation;
[DNAFieldAttribute(50, "CurveMapping", "*curve_rand_value", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_rand_value;
[DNAFieldAttribute(51, "float", "outline_fac", "float", 4, false)]
[DNAFieldAttribute(8, "CurveMapping", 42, "*curve_sensitivity", "CurveMapping", true, 152)]
public CurveMapping curve_sensitivity;
[DNAFieldAttribute(8, "CurveMapping", 43, "*curve_strength", "CurveMapping", true, 160)]
public CurveMapping curve_strength;
[DNAFieldAttribute(8, "CurveMapping", 44, "*curve_jitter", "CurveMapping", true, 168)]
public CurveMapping curve_jitter;
[DNAFieldAttribute(8, "CurveMapping", 45, "*curve_rand_pressure", "CurveMapping", true, 176)]
public CurveMapping curve_rand_pressure;
[DNAFieldAttribute(8, "CurveMapping", 46, "*curve_rand_strength", "CurveMapping", true, 184)]
public CurveMapping curve_rand_strength;
[DNAFieldAttribute(8, "CurveMapping", 47, "*curve_rand_uv", "CurveMapping", true, 192)]
public CurveMapping curve_rand_uv;
[DNAFieldAttribute(8, "CurveMapping", 48, "*curve_rand_hue", "CurveMapping", true, 200)]
public CurveMapping curve_rand_hue;
[DNAFieldAttribute(8, "CurveMapping", 49, "*curve_rand_saturation", "CurveMapping", true, 208)]
public CurveMapping curve_rand_saturation;
[DNAFieldAttribute(8, "CurveMapping", 50, "*curve_rand_value", "CurveMapping", true, 216)]
public CurveMapping curve_rand_value;
[DNAFieldAttribute(4, "float", 51, "outline_fac", "float", false, 224)]
public float outline_fac;
[DNAFieldAttribute(52, "float", "simplify_px", "float", 4, false)]
[DNAFieldAttribute(4, "float", 52, "simplify_px", "float", false, 228)]
public float simplify_px;
[DNAFieldAttribute(53, "Material", "*material", "Material", 8, true)]
public Material ptr_material;
[DNAFieldAttribute(54, "Material", "*material_alt", "Material", 8, true)]
public Material ptr_material_alt;
[DNAFieldAttribute(8, "Material", 53, "*material", "Material", true, 232)]
public Material material;
[DNAFieldAttribute(8, "Material", 54, "*material_alt", "Material", true, 240)]
public Material material_alt;
public BrushGpencilSettings() {
this.draw_smoothfac = default;
this.fill_factor = default;
@@ -168,19 +168,19 @@ namespace BlendFile.DNA {
this.random_value = default;
this.fill_extend_fac = default;
this.dilate_pixels = default;
this.ptr_curve_sensitivity = default;
this.ptr_curve_strength = default;
this.ptr_curve_jitter = default;
this.ptr_curve_rand_pressure = default;
this.ptr_curve_rand_strength = default;
this.ptr_curve_rand_uv = default;
this.ptr_curve_rand_hue = default;
this.ptr_curve_rand_saturation = default;
this.ptr_curve_rand_value = default;
this.curve_sensitivity = default;
this.curve_strength = default;
this.curve_jitter = default;
this.curve_rand_pressure = default;
this.curve_rand_strength = default;
this.curve_rand_uv = default;
this.curve_rand_hue = default;
this.curve_rand_saturation = default;
this.curve_rand_value = default;
this.outline_fac = default;
this.simplify_px = default;
this.ptr_material = default;
this.ptr_material_alt = default;
this.material = default;
this.material_alt = default;
}
public BrushGpencilSettings(
float draw_smoothfac,
@@ -225,19 +225,19 @@ namespace BlendFile.DNA {
float random_value,
float fill_extend_fac,
int dilate_pixels,
CurveMapping ptr_curve_sensitivity,
CurveMapping ptr_curve_strength,
CurveMapping ptr_curve_jitter,
CurveMapping ptr_curve_rand_pressure,
CurveMapping ptr_curve_rand_strength,
CurveMapping ptr_curve_rand_uv,
CurveMapping ptr_curve_rand_hue,
CurveMapping ptr_curve_rand_saturation,
CurveMapping ptr_curve_rand_value,
CurveMapping curve_sensitivity,
CurveMapping curve_strength,
CurveMapping curve_jitter,
CurveMapping curve_rand_pressure,
CurveMapping curve_rand_strength,
CurveMapping curve_rand_uv,
CurveMapping curve_rand_hue,
CurveMapping curve_rand_saturation,
CurveMapping curve_rand_value,
float outline_fac,
float simplify_px,
Material ptr_material,
Material ptr_material_alt) {
Material material,
Material material_alt) {
this.draw_smoothfac = draw_smoothfac;
this.fill_factor = fill_factor;
this.draw_strength = draw_strength;
@@ -280,19 +280,19 @@ namespace BlendFile.DNA {
this.random_value = random_value;
this.fill_extend_fac = fill_extend_fac;
this.dilate_pixels = dilate_pixels;
this.ptr_curve_sensitivity = ptr_curve_sensitivity;
this.ptr_curve_strength = ptr_curve_strength;
this.ptr_curve_jitter = ptr_curve_jitter;
this.ptr_curve_rand_pressure = ptr_curve_rand_pressure;
this.ptr_curve_rand_strength = ptr_curve_rand_strength;
this.ptr_curve_rand_uv = ptr_curve_rand_uv;
this.ptr_curve_rand_hue = ptr_curve_rand_hue;
this.ptr_curve_rand_saturation = ptr_curve_rand_saturation;
this.ptr_curve_rand_value = ptr_curve_rand_value;
this.curve_sensitivity = curve_sensitivity;
this.curve_strength = curve_strength;
this.curve_jitter = curve_jitter;
this.curve_rand_pressure = curve_rand_pressure;
this.curve_rand_strength = curve_rand_strength;
this.curve_rand_uv = curve_rand_uv;
this.curve_rand_hue = curve_rand_hue;
this.curve_rand_saturation = curve_rand_saturation;
this.curve_rand_value = curve_rand_value;
this.outline_fac = outline_fac;
this.simplify_px = simplify_px;
this.ptr_material = ptr_material;
this.ptr_material_alt = ptr_material_alt;
this.material = material;
this.material_alt = material_alt;
}
}
}

View File

@@ -15,25 +15,25 @@ namespace BlendFile.DNA {
[DNAClassAttribute(235, "BuildEff", 32)]
public class BuildEff {
[DNAFieldAttribute(0, "BuildEff", "*next", "BuildEff", 8, true)]
public BuildEff ptr_next;
[DNAFieldAttribute(1, "BuildEff", "*prev", "BuildEff", 8, true)]
public BuildEff ptr_prev;
[DNAFieldAttribute(2, "short", "type", "short", 2, false)]
[DNAFieldAttribute(8, "BuildEff", 0, "*next", "BuildEff", true, 0)]
public BuildEff next;
[DNAFieldAttribute(8, "BuildEff", 1, "*prev", "BuildEff", true, 8)]
public BuildEff prev;
[DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)]
public short type;
[DNAFieldAttribute(3, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)]
public short flag;
[DNAFieldAttribute(4, "short", "buttype", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)]
public short buttype;
[DNAFieldAttribute(5, "char", "_pad0[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, false, 22)]
public char[] _pad0 = new System.Char[2];
[DNAFieldAttribute(6, "float", "len", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "len", "float", false, 24)]
public float len;
[DNAFieldAttribute(7, "float", "sfra", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "sfra", "float", false, 28)]
public float sfra;
public BuildEff() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.type = default;
this.flag = default;
this.buttype = default;
@@ -41,9 +41,9 @@ namespace BlendFile.DNA {
this.len = default;
this.sfra = default;
}
public BuildEff(BuildEff ptr_next, BuildEff ptr_prev, short type, short flag, short buttype, char[] _pad0, float len, float sfra) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public BuildEff(BuildEff next, BuildEff prev, short type, short flag, short buttype, char[] _pad0, float len, float sfra) {
this.next = next;
this.prev = prev;
this.type = type;
this.flag = flag;
this.buttype = buttype;

View File

@@ -15,57 +15,57 @@ namespace BlendFile.DNA {
[DNAClassAttribute(285, "BuildGpencilModifierData", 376)]
public class BuildGpencilModifierData {
[DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false)]
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
public GpencilModifierData modifier;
[DNAFieldAttribute(1, "Material", "*material", "Material", 8, true)]
public Material ptr_material;
[DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)]
public Material material;
[DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, false, 112)]
public char[] layername = new System.Char[64];
[DNAFieldAttribute(3, "int", "pass_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)]
public int pass_index;
[DNAFieldAttribute(4, "char", "materialname[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 4, "materialname[64]", "System.Char[]", 64, false, 180)]
public char[] materialname = new System.Char[64];
[DNAFieldAttribute(5, "int", "layer_pass", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "layer_pass", "int", false, 244)]
public int layer_pass;
[DNAFieldAttribute(6, "float", "start_frame", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "start_frame", "float", false, 248)]
public float start_frame;
[DNAFieldAttribute(7, "float", "end_frame", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "end_frame", "float", false, 252)]
public float end_frame;
[DNAFieldAttribute(8, "float", "start_delay", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "start_delay", "float", false, 256)]
public float start_delay;
[DNAFieldAttribute(9, "float", "length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "length", "float", false, 260)]
public float length;
[DNAFieldAttribute(10, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "flag", "short", false, 264)]
public short flag;
[DNAFieldAttribute(11, "short", "mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 11, "mode", "short", false, 266)]
public short mode;
[DNAFieldAttribute(12, "short", "transition", "short", 2, false)]
[DNAFieldAttribute(2, "short", 12, "transition", "short", false, 268)]
public short transition;
[DNAFieldAttribute(13, "short", "time_alignment", "short", 2, false)]
[DNAFieldAttribute(2, "short", 13, "time_alignment", "short", false, 270)]
public short time_alignment;
[DNAFieldAttribute(14, "float", "speed_fac", "float", 4, false)]
[DNAFieldAttribute(4, "float", 14, "speed_fac", "float", false, 272)]
public float speed_fac;
[DNAFieldAttribute(15, "float", "speed_maxgap", "float", 4, false)]
[DNAFieldAttribute(4, "float", 15, "speed_maxgap", "float", false, 276)]
public float speed_maxgap;
[DNAFieldAttribute(16, "short", "time_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 16, "time_mode", "short", false, 280)]
public short time_mode;
[DNAFieldAttribute(17, "char", "_pad[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 17, "_pad[6]", "System.Char[]", 6, false, 282)]
public char[] _pad = new System.Char[6];
[DNAFieldAttribute(18, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(19, "float", "percentage_fac", "float", 4, false)]
[DNAFieldAttribute(8, "Object", 18, "*object", "Object", true, 288)]
public Object @object;
[DNAFieldAttribute(4, "float", 19, "percentage_fac", "float", false, 296)]
public float percentage_fac;
[DNAFieldAttribute(20, "float", "fade_fac", "float", 4, false)]
[DNAFieldAttribute(4, "float", 20, "fade_fac", "float", false, 300)]
public float fade_fac;
[DNAFieldAttribute(21, "char", "target_vgname[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 21, "target_vgname[64]", "System.Char[]", 64, false, 304)]
public char[] target_vgname = new System.Char[64];
[DNAFieldAttribute(22, "float", "fade_opacity_strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 22, "fade_opacity_strength", "float", false, 368)]
public float fade_opacity_strength;
[DNAFieldAttribute(23, "float", "fade_thickness_strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 23, "fade_thickness_strength", "float", false, 372)]
public float fade_thickness_strength;
public BuildGpencilModifierData() {
this.modifier = default;
this.ptr_material = default;
this.material = default;
this.layername = default;
this.pass_index = default;
this.materialname = default;
@@ -82,7 +82,7 @@ namespace BlendFile.DNA {
this.speed_maxgap = default;
this.time_mode = default;
this._pad = default;
this.ptr_object = default;
this.@object = default;
this.percentage_fac = default;
this.fade_fac = default;
this.target_vgname = default;
@@ -91,7 +91,7 @@ namespace BlendFile.DNA {
}
public BuildGpencilModifierData(
GpencilModifierData modifier,
Material ptr_material,
Material material,
char[] layername,
int pass_index,
char[] materialname,
@@ -108,14 +108,14 @@ namespace BlendFile.DNA {
float speed_maxgap,
short time_mode,
char[] _pad,
Object ptr_object,
Object @object,
float percentage_fac,
float fade_fac,
char[] target_vgname,
float fade_opacity_strength,
float fade_thickness_strength) {
this.modifier = modifier;
this.ptr_material = ptr_material;
this.material = material;
this.layername = layername;
this.pass_index = pass_index;
this.materialname = materialname;
@@ -132,7 +132,7 @@ namespace BlendFile.DNA {
this.speed_maxgap = speed_maxgap;
this.time_mode = time_mode;
this._pad = _pad;
this.ptr_object = ptr_object;
this.@object = @object;
this.percentage_fac = percentage_fac;
this.fade_fac = fade_fac;
this.target_vgname = target_vgname;

View File

@@ -14,18 +14,18 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(449, "BuildModifierData", 136)]
public struct BuildModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
public class BuildModifierData {
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "float", "start", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "start", "float", false, 120)]
public float start;
[DNAFieldAttribute(2, "float", "length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "length", "float", false, 124)]
public float length;
[DNAFieldAttribute(3, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "flag", "short", false, 128)]
public short flag;
[DNAFieldAttribute(4, "short", "randomize", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "randomize", "short", false, 130)]
public short randomize;
[DNAFieldAttribute(5, "int", "seed", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "seed", "int", false, 132)]
public int seed;
public BuildModifierData() {
this.modifier = default;

View File

@@ -14,18 +14,18 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(974, "CBData", 24)]
public struct CBData {
[DNAFieldAttribute(0, "float", "r", "float", 4, false)]
public class CBData {
[DNAFieldAttribute(4, "float", 0, "r", "float", false, 0)]
public float r;
[DNAFieldAttribute(1, "float", "g", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "g", "float", false, 4)]
public float g;
[DNAFieldAttribute(2, "float", "b", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "b", "float", false, 8)]
public float b;
[DNAFieldAttribute(3, "float", "a", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "a", "float", false, 12)]
public float a;
[DNAFieldAttribute(4, "float", "pos", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "pos", "float", false, 16)]
public float pos;
[DNAFieldAttribute(5, "int", "cur", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "cur", "int", false, 20)]
public int cur;
public CBData() {
this.r = default;

View File

@@ -15,61 +15,61 @@ namespace BlendFile.DNA {
[DNAClassAttribute(142, "CacheFile", 2416)]
public class CacheFile {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "ListBase", "object_paths", "ListBase", 16, false)]
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(16, "ListBase", 2, "object_paths", "ListBase", false, 216)]
public ListBase object_paths;
[DNAFieldAttribute(3, "ListBase", "layers", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 3, "layers", "ListBase", false, 232)]
public ListBase layers;
[DNAFieldAttribute(4, "char", "filepath[1024]", "System.Char[]", 1024, false)]
[DNAArrayAttribute(1024, "char", 4, "filepath[1024]", "System.Char[]", 1024, false, 248)]
public char[] filepath = new System.Char[1024];
[DNAFieldAttribute(5, "char", "is_sequence", "char", 1, false)]
[DNAFieldAttribute(1, "char", 5, "is_sequence", "char", false, 1272)]
public char is_sequence;
[DNAFieldAttribute(6, "char", "forward_axis", "char", 1, false)]
[DNAFieldAttribute(1, "char", 6, "forward_axis", "char", false, 1273)]
public char forward_axis;
[DNAFieldAttribute(7, "char", "up_axis", "char", 1, false)]
[DNAFieldAttribute(1, "char", 7, "up_axis", "char", false, 1274)]
public char up_axis;
[DNAFieldAttribute(8, "char", "override_frame", "char", 1, false)]
[DNAFieldAttribute(1, "char", 8, "override_frame", "char", false, 1275)]
public char override_frame;
[DNAFieldAttribute(9, "float", "scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "scale", "float", false, 1276)]
public float scale;
[DNAFieldAttribute(10, "float", "frame", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "frame", "float", false, 1280)]
public float frame;
[DNAFieldAttribute(11, "float", "frame_offset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "frame_offset", "float", false, 1284)]
public float frame_offset;
[DNAFieldAttribute(12, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 12, "_pad[4]", "System.Char[]", 4, false, 1288)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(13, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 13, "flag", "short", false, 1292)]
public short flag;
[DNAFieldAttribute(14, "char", "type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 14, "type", "char", false, 1294)]
public char type;
[DNAFieldAttribute(15, "char", "use_render_procedural", "char", 1, false)]
[DNAFieldAttribute(1, "char", 15, "use_render_procedural", "char", false, 1295)]
public char use_render_procedural;
[DNAFieldAttribute(16, "char", "_pad1[3]", "System.Char[]", 3, false)]
[DNAArrayAttribute(3, "char", 16, "_pad1[3]", "System.Char[]", 3, false, 1296)]
public char[] _pad1 = new System.Char[3];
[DNAFieldAttribute(17, "char", "use_prefetch", "char", 1, false)]
[DNAFieldAttribute(1, "char", 17, "use_prefetch", "char", false, 1299)]
public char use_prefetch;
[DNAFieldAttribute(18, "int", "prefetch_cache_size", "int", 4, false)]
[DNAFieldAttribute(4, "int", 18, "prefetch_cache_size", "int", false, 1300)]
public int prefetch_cache_size;
[DNAFieldAttribute(19, "int", "active_layer", "int", 4, false)]
[DNAFieldAttribute(4, "int", 19, "active_layer", "int", false, 1304)]
public int active_layer;
[DNAFieldAttribute(20, "char", "_pad2[3]", "System.Char[]", 3, false)]
[DNAArrayAttribute(3, "char", 20, "_pad2[3]", "System.Char[]", 3, false, 1308)]
public char[] _pad2 = new System.Char[3];
[DNAFieldAttribute(21, "char", "velocity_unit", "char", 1, false)]
[DNAFieldAttribute(1, "char", 21, "velocity_unit", "char", false, 1311)]
public char velocity_unit;
[DNAFieldAttribute(22, "char", "velocity_name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 22, "velocity_name[64]", "System.Char[]", 64, false, 1312)]
public char[] velocity_name = new System.Char[64];
[DNAFieldAttribute(23, "CacheArchiveHandle", "*handle", "CacheArchiveHandle", 8, true)]
public CacheArchiveHandle ptr_handle;
[DNAFieldAttribute(24, "char", "handle_filepath[1024]", "System.Char[]", 1024, false)]
[DNAFieldAttribute(8, "CacheArchiveHandle", 23, "*handle", "CacheArchiveHandle", true, 1376)]
public CacheArchiveHandle handle;
[DNAArrayAttribute(1024, "char", 24, "handle_filepath[1024]", "System.Char[]", 1024, false, 1384)]
public char[] handle_filepath = new System.Char[1024];
[DNAFieldAttribute(25, "GSet", "*handle_readers", "GSet", 8, true)]
public GSet ptr_handle_readers;
[DNAFieldAttribute(8, "GSet", 25, "*handle_readers", "GSet", true, 2408)]
public GSet handle_readers;
public CacheFile() {
this.id = default;
this.ptr_adt = default;
this.adt = default;
this.object_paths = default;
this.layers = default;
this.filepath = default;
@@ -91,13 +91,13 @@ namespace BlendFile.DNA {
this._pad2 = default;
this.velocity_unit = default;
this.velocity_name = default;
this.ptr_handle = default;
this.handle = default;
this.handle_filepath = default;
this.ptr_handle_readers = default;
this.handle_readers = default;
}
public CacheFile(
ID id,
AnimData ptr_adt,
AnimData adt,
ListBase object_paths,
ListBase layers,
char[] filepath,
@@ -119,11 +119,11 @@ namespace BlendFile.DNA {
char[] _pad2,
char velocity_unit,
char[] velocity_name,
CacheArchiveHandle ptr_handle,
CacheArchiveHandle handle,
char[] handle_filepath,
GSet ptr_handle_readers) {
GSet handle_readers) {
this.id = id;
this.ptr_adt = ptr_adt;
this.adt = adt;
this.object_paths = object_paths;
this.layers = layers;
this.filepath = filepath;
@@ -145,9 +145,9 @@ namespace BlendFile.DNA {
this._pad2 = _pad2;
this.velocity_unit = velocity_unit;
this.velocity_name = velocity_name;
this.ptr_handle = ptr_handle;
this.handle = handle;
this.handle_filepath = handle_filepath;
this.ptr_handle_readers = ptr_handle_readers;
this.handle_readers = handle_readers;
}
}
}

View File

@@ -15,26 +15,26 @@ namespace BlendFile.DNA {
[DNAClassAttribute(141, "CacheFileLayer", 1048)]
public class CacheFileLayer {
[DNAFieldAttribute(0, "CacheFileLayer", "*next", "CacheFileLayer", 8, true)]
public CacheFileLayer ptr_next;
[DNAFieldAttribute(1, "CacheFileLayer", "*prev", "CacheFileLayer", 8, true)]
public CacheFileLayer ptr_prev;
[DNAFieldAttribute(2, "char", "filepath[1024]", "System.Char[]", 1024, false)]
[DNAFieldAttribute(8, "CacheFileLayer", 0, "*next", "CacheFileLayer", true, 0)]
public CacheFileLayer next;
[DNAFieldAttribute(8, "CacheFileLayer", 1, "*prev", "CacheFileLayer", true, 8)]
public CacheFileLayer prev;
[DNAArrayAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", 1024, false, 16)]
public char[] filepath = new System.Char[1024];
[DNAFieldAttribute(3, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "flag", "int", false, 1040)]
public int flag;
[DNAFieldAttribute(4, "int", "_pad", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 1044)]
public int _pad;
public CacheFileLayer() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.filepath = default;
this.flag = default;
this._pad = default;
}
public CacheFileLayer(CacheFileLayer ptr_next, CacheFileLayer ptr_prev, char[] filepath, int flag, int _pad) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public CacheFileLayer(CacheFileLayer next, CacheFileLayer prev, char[] filepath, int flag, int _pad) {
this.next = next;
this.prev = prev;
this.filepath = filepath;
this.flag = flag;
this._pad = _pad;

View File

@@ -15,20 +15,20 @@ namespace BlendFile.DNA {
[DNAClassAttribute(140, "CacheObjectPath", 4112)]
public class CacheObjectPath {
[DNAFieldAttribute(0, "CacheObjectPath", "*next", "CacheObjectPath", 8, true)]
public CacheObjectPath ptr_next;
[DNAFieldAttribute(1, "CacheObjectPath", "*prev", "CacheObjectPath", 8, true)]
public CacheObjectPath ptr_prev;
[DNAFieldAttribute(2, "char", "path[4096]", "System.Char[]", 4096, false)]
[DNAFieldAttribute(8, "CacheObjectPath", 0, "*next", "CacheObjectPath", true, 0)]
public CacheObjectPath next;
[DNAFieldAttribute(8, "CacheObjectPath", 1, "*prev", "CacheObjectPath", true, 8)]
public CacheObjectPath prev;
[DNAArrayAttribute(4096, "char", 2, "path[4096]", "System.Char[]", 4096, false, 16)]
public char[] path = new System.Char[4096];
public CacheObjectPath() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.path = default;
}
public CacheObjectPath(CacheObjectPath ptr_next, CacheObjectPath ptr_prev, char[] path) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public CacheObjectPath(CacheObjectPath next, CacheObjectPath prev, char[] path) {
this.next = next;
this.prev = prev;
this.path = path;
}
}

View File

@@ -15,95 +15,95 @@ namespace BlendFile.DNA {
[DNAClassAttribute(152, "Camera", 736)]
public class Camera {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "char", "type", "char", 1, false)]
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(1, "char", 2, "type", "char", false, 216)]
public char type;
[DNAFieldAttribute(3, "char", "dtx", "char", 1, false)]
[DNAFieldAttribute(1, "char", 3, "dtx", "char", false, 217)]
public char dtx;
[DNAFieldAttribute(4, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 218)]
public short flag;
[DNAFieldAttribute(5, "float", "passepartalpha", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "passepartalpha", "float", false, 220)]
public float passepartalpha;
[DNAFieldAttribute(6, "float", "clipsta", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "clipsta", "float", false, 224)]
public float clipsta;
[DNAFieldAttribute(7, "float", "clipend", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "clipend", "float", false, 228)]
public float clipend;
[DNAFieldAttribute(8, "float", "lens", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "lens", "float", false, 232)]
public float lens;
[DNAFieldAttribute(9, "float", "ortho_scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "ortho_scale", "float", false, 236)]
public float ortho_scale;
[DNAFieldAttribute(10, "float", "drawsize", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "drawsize", "float", false, 240)]
public float drawsize;
[DNAFieldAttribute(11, "float", "sensor_x", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "sensor_x", "float", false, 244)]
public float sensor_x;
[DNAFieldAttribute(12, "float", "sensor_y", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "sensor_y", "float", false, 248)]
public float sensor_y;
[DNAFieldAttribute(13, "float", "shiftx", "float", 4, false)]
[DNAFieldAttribute(4, "float", 13, "shiftx", "float", false, 252)]
public float shiftx;
[DNAFieldAttribute(14, "float", "shifty", "float", 4, false)]
[DNAFieldAttribute(4, "float", 14, "shifty", "float", false, 256)]
public float shifty;
[DNAFieldAttribute(15, "float", "YF_dofdist", "float", 4, false)]
[DNAFieldAttribute(4, "float", 15, "YF_dofdist", "float", false, 260)]
public float YF_dofdist;
[DNAFieldAttribute(16, "char", "sensor_fit", "char", 1, false)]
[DNAFieldAttribute(1, "char", 16, "sensor_fit", "char", false, 264)]
public char sensor_fit;
[DNAFieldAttribute(17, "char", "panorama_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 17, "panorama_type", "char", false, 265)]
public char panorama_type;
[DNAFieldAttribute(18, "char", "_pad[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 18, "_pad[2]", "System.Char[]", 2, false, 266)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(19, "float", "fisheye_fov", "float", 4, false)]
[DNAFieldAttribute(4, "float", 19, "fisheye_fov", "float", false, 268)]
public float fisheye_fov;
[DNAFieldAttribute(20, "float", "fisheye_lens", "float", 4, false)]
[DNAFieldAttribute(4, "float", 20, "fisheye_lens", "float", false, 272)]
public float fisheye_lens;
[DNAFieldAttribute(21, "float", "latitude_min", "float", 4, false)]
[DNAFieldAttribute(4, "float", 21, "latitude_min", "float", false, 276)]
public float latitude_min;
[DNAFieldAttribute(22, "float", "latitude_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 22, "latitude_max", "float", false, 280)]
public float latitude_max;
[DNAFieldAttribute(23, "float", "longitude_min", "float", 4, false)]
[DNAFieldAttribute(4, "float", 23, "longitude_min", "float", false, 284)]
public float longitude_min;
[DNAFieldAttribute(24, "float", "longitude_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 24, "longitude_max", "float", false, 288)]
public float longitude_max;
[DNAFieldAttribute(25, "float", "fisheye_polynomial_k0", "float", 4, false)]
[DNAFieldAttribute(4, "float", 25, "fisheye_polynomial_k0", "float", false, 292)]
public float fisheye_polynomial_k0;
[DNAFieldAttribute(26, "float", "fisheye_polynomial_k1", "float", 4, false)]
[DNAFieldAttribute(4, "float", 26, "fisheye_polynomial_k1", "float", false, 296)]
public float fisheye_polynomial_k1;
[DNAFieldAttribute(27, "float", "fisheye_polynomial_k2", "float", 4, false)]
[DNAFieldAttribute(4, "float", 27, "fisheye_polynomial_k2", "float", false, 300)]
public float fisheye_polynomial_k2;
[DNAFieldAttribute(28, "float", "fisheye_polynomial_k3", "float", 4, false)]
[DNAFieldAttribute(4, "float", 28, "fisheye_polynomial_k3", "float", false, 304)]
public float fisheye_polynomial_k3;
[DNAFieldAttribute(29, "float", "fisheye_polynomial_k4", "float", 4, false)]
[DNAFieldAttribute(4, "float", 29, "fisheye_polynomial_k4", "float", false, 308)]
public float fisheye_polynomial_k4;
[DNAFieldAttribute(30, "float", "central_cylindrical_range_u_min", "float", 4, false)]
[DNAFieldAttribute(4, "float", 30, "central_cylindrical_range_u_min", "float", false, 312)]
public float central_cylindrical_range_u_min;
[DNAFieldAttribute(31, "float", "central_cylindrical_range_u_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 31, "central_cylindrical_range_u_max", "float", false, 316)]
public float central_cylindrical_range_u_max;
[DNAFieldAttribute(32, "float", "central_cylindrical_range_v_min", "float", 4, false)]
[DNAFieldAttribute(4, "float", 32, "central_cylindrical_range_v_min", "float", false, 320)]
public float central_cylindrical_range_v_min;
[DNAFieldAttribute(33, "float", "central_cylindrical_range_v_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 33, "central_cylindrical_range_v_max", "float", false, 324)]
public float central_cylindrical_range_v_max;
[DNAFieldAttribute(34, "float", "central_cylindrical_radius", "float", 4, false)]
[DNAFieldAttribute(4, "float", 34, "central_cylindrical_radius", "float", false, 328)]
public float central_cylindrical_radius;
[DNAFieldAttribute(35, "float", "_pad2", "float", 4, false)]
[DNAFieldAttribute(4, "float", 35, "_pad2", "float", false, 332)]
public float _pad2;
[DNAFieldAttribute(36, "Ipo", "*ipo", "Ipo", 8, true)]
public Ipo ptr_ipo;
[DNAFieldAttribute(37, "Object", "*dof_ob", "Object", 8, true)]
public Object ptr_dof_ob;
[DNAFieldAttribute(38, "GPUDOFSettings", "gpu_dof", "GPUDOFSettings", 32, false)]
[DNAFieldAttribute(8, "Ipo", 36, "*ipo", "Ipo", true, 336)]
public Ipo ipo;
[DNAFieldAttribute(8, "Object", 37, "*dof_ob", "Object", true, 344)]
public Object dof_ob;
[DNAFieldAttribute(32, "GPUDOFSettings", 38, "gpu_dof", "GPUDOFSettings", false, 352)]
public GPUDOFSettings gpu_dof;
[DNAFieldAttribute(39, "CameraDOFSettings", "dof", "CameraDOFSettings", 96, false)]
[DNAFieldAttribute(96, "CameraDOFSettings", 39, "dof", "CameraDOFSettings", false, 384)]
public CameraDOFSettings dof;
[DNAFieldAttribute(40, "ListBase", "bg_images", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 40, "bg_images", "ListBase", false, 480)]
public ListBase bg_images;
[DNAFieldAttribute(41, "CameraStereoSettings", "stereo", "CameraStereoSettings", 24, false)]
[DNAFieldAttribute(24, "CameraStereoSettings", 41, "stereo", "CameraStereoSettings", false, 496)]
public CameraStereoSettings stereo;
[DNAFieldAttribute(42, "Camera_Runtime", "runtime", "Camera_Runtime", 216, false)]
[DNAFieldAttribute(216, "Camera_Runtime", 42, "runtime", "Camera_Runtime", false, 520)]
public Camera_Runtime runtime;
public Camera() {
this.id = default;
this.ptr_adt = default;
this.adt = default;
this.type = default;
this.dtx = default;
this.flag = default;
@@ -138,8 +138,8 @@ namespace BlendFile.DNA {
this.central_cylindrical_range_v_max = default;
this.central_cylindrical_radius = default;
this._pad2 = default;
this.ptr_ipo = default;
this.ptr_dof_ob = default;
this.ipo = default;
this.dof_ob = default;
this.gpu_dof = default;
this.dof = default;
this.bg_images = default;
@@ -148,7 +148,7 @@ namespace BlendFile.DNA {
}
public Camera(
ID id,
AnimData ptr_adt,
AnimData adt,
char type,
char dtx,
short flag,
@@ -183,15 +183,15 @@ namespace BlendFile.DNA {
float central_cylindrical_range_v_max,
float central_cylindrical_radius,
float _pad2,
Ipo ptr_ipo,
Object ptr_dof_ob,
Ipo ipo,
Object dof_ob,
GPUDOFSettings gpu_dof,
CameraDOFSettings dof,
ListBase bg_images,
CameraStereoSettings stereo,
Camera_Runtime runtime) {
this.id = id;
this.ptr_adt = ptr_adt;
this.adt = adt;
this.type = type;
this.dtx = dtx;
this.flag = flag;
@@ -226,8 +226,8 @@ namespace BlendFile.DNA {
this.central_cylindrical_range_v_max = central_cylindrical_range_v_max;
this.central_cylindrical_radius = central_cylindrical_radius;
this._pad2 = _pad2;
this.ptr_ipo = ptr_ipo;
this.ptr_dof_ob = ptr_dof_ob;
this.ipo = ipo;
this.dof_ob = dof_ob;
this.gpu_dof = gpu_dof;
this.dof = dof;
this.bg_images = bg_images;

View File

@@ -15,36 +15,36 @@ namespace BlendFile.DNA {
[DNAClassAttribute(146, "CameraBGImage", 104)]
public class CameraBGImage {
[DNAFieldAttribute(0, "CameraBGImage", "*next", "CameraBGImage", 8, true)]
public CameraBGImage ptr_next;
[DNAFieldAttribute(1, "CameraBGImage", "*prev", "CameraBGImage", 8, true)]
public CameraBGImage ptr_prev;
[DNAFieldAttribute(2, "Image", "*ima", "Image", 8, true)]
public Image ptr_ima;
[DNAFieldAttribute(3, "ImageUser", "iuser", "ImageUser", 40, false)]
[DNAFieldAttribute(8, "CameraBGImage", 0, "*next", "CameraBGImage", true, 0)]
public CameraBGImage next;
[DNAFieldAttribute(8, "CameraBGImage", 1, "*prev", "CameraBGImage", true, 8)]
public CameraBGImage prev;
[DNAFieldAttribute(8, "Image", 2, "*ima", "Image", true, 16)]
public Image ima;
[DNAFieldAttribute(40, "ImageUser", 3, "iuser", "ImageUser", false, 24)]
public ImageUser iuser;
[DNAFieldAttribute(4, "MovieClip", "*clip", "MovieClip", 8, true)]
public MovieClip ptr_clip;
[DNAFieldAttribute(5, "MovieClipUser", "cuser", "MovieClipUser", 8, false)]
[DNAFieldAttribute(8, "MovieClip", 4, "*clip", "MovieClip", true, 64)]
public MovieClip clip;
[DNAFieldAttribute(8, "MovieClipUser", 5, "cuser", "MovieClipUser", false, 72)]
public MovieClipUser cuser;
[DNAFieldAttribute(6, "float", "offset[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 6, "offset[2]", "System.Single[]", 2, false, 80)]
public float[] offset = new System.Single[2];
[DNAFieldAttribute(7, "float", "scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "scale", "float", false, 88)]
public float scale;
[DNAFieldAttribute(8, "float", "rotation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "rotation", "float", false, 92)]
public float rotation;
[DNAFieldAttribute(9, "float", "alpha", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "alpha", "float", false, 96)]
public float alpha;
[DNAFieldAttribute(10, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "flag", "short", false, 100)]
public short flag;
[DNAFieldAttribute(11, "short", "source", "short", 2, false)]
[DNAFieldAttribute(2, "short", 11, "source", "short", false, 102)]
public short source;
public CameraBGImage() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_ima = default;
this.next = default;
this.prev = default;
this.ima = default;
this.iuser = default;
this.ptr_clip = default;
this.clip = default;
this.cuser = default;
this.offset = default;
this.scale = default;
@@ -53,12 +53,12 @@ namespace BlendFile.DNA {
this.flag = default;
this.source = default;
}
public CameraBGImage(CameraBGImage ptr_next, CameraBGImage ptr_prev, Image ptr_ima, ImageUser iuser, MovieClip ptr_clip, MovieClipUser cuser, float[] offset, float scale, float rotation, float alpha, short flag, short source) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_ima = ptr_ima;
public CameraBGImage(CameraBGImage next, CameraBGImage prev, Image ima, ImageUser iuser, MovieClip clip, MovieClipUser cuser, float[] offset, float scale, float rotation, float alpha, short flag, short source) {
this.next = next;
this.prev = prev;
this.ima = ima;
this.iuser = iuser;
this.ptr_clip = ptr_clip;
this.clip = clip;
this.cuser = cuser;
this.offset = offset;
this.scale = scale;

View File

@@ -15,26 +15,26 @@ namespace BlendFile.DNA {
[DNAClassAttribute(150, "CameraDOFSettings", 96)]
public class CameraDOFSettings {
[DNAFieldAttribute(0, "Object", "*focus_object", "Object", 8, true)]
public Object ptr_focus_object;
[DNAFieldAttribute(1, "char", "focus_subtarget[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "Object", 0, "*focus_object", "Object", true, 0)]
public Object focus_object;
[DNAArrayAttribute(64, "char", 1, "focus_subtarget[64]", "System.Char[]", 64, false, 8)]
public char[] focus_subtarget = new System.Char[64];
[DNAFieldAttribute(2, "float", "focus_distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "focus_distance", "float", false, 72)]
public float focus_distance;
[DNAFieldAttribute(3, "float", "aperture_fstop", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "aperture_fstop", "float", false, 76)]
public float aperture_fstop;
[DNAFieldAttribute(4, "float", "aperture_rotation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "aperture_rotation", "float", false, 80)]
public float aperture_rotation;
[DNAFieldAttribute(5, "float", "aperture_ratio", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "aperture_ratio", "float", false, 84)]
public float aperture_ratio;
[DNAFieldAttribute(6, "int", "aperture_blades", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "aperture_blades", "int", false, 88)]
public int aperture_blades;
[DNAFieldAttribute(7, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 7, "flag", "short", false, 92)]
public short flag;
[DNAFieldAttribute(8, "char", "_pad[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 8, "_pad[2]", "System.Char[]", 2, false, 94)]
public char[] _pad = new System.Char[2];
public CameraDOFSettings() {
this.ptr_focus_object = default;
this.focus_object = default;
this.focus_subtarget = default;
this.focus_distance = default;
this.aperture_fstop = default;
@@ -44,8 +44,8 @@ namespace BlendFile.DNA {
this.flag = default;
this._pad = default;
}
public CameraDOFSettings(Object ptr_focus_object, char[] focus_subtarget, float focus_distance, float aperture_fstop, float aperture_rotation, float aperture_ratio, int aperture_blades, short flag, char[] _pad) {
this.ptr_focus_object = ptr_focus_object;
public CameraDOFSettings(Object focus_object, char[] focus_subtarget, float focus_distance, float aperture_fstop, float aperture_rotation, float aperture_ratio, int aperture_blades, short flag, char[] _pad) {
this.focus_object = focus_object;
this.focus_subtarget = focus_subtarget;
this.focus_distance = focus_distance;
this.aperture_fstop = aperture_fstop;

View File

@@ -14,22 +14,22 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(145, "CameraStereoSettings", 24)]
public struct CameraStereoSettings {
[DNAFieldAttribute(0, "float", "interocular_distance", "float", 4, false)]
public class CameraStereoSettings {
[DNAFieldAttribute(4, "float", 0, "interocular_distance", "float", false, 0)]
public float interocular_distance;
[DNAFieldAttribute(1, "float", "convergence_distance", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "convergence_distance", "float", false, 4)]
public float convergence_distance;
[DNAFieldAttribute(2, "short", "convergence_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 2, "convergence_mode", "short", false, 8)]
public short convergence_mode;
[DNAFieldAttribute(3, "short", "pivot", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "pivot", "short", false, 10)]
public short pivot;
[DNAFieldAttribute(4, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 12)]
public short flag;
[DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, false, 14)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(6, "float", "pole_merge_angle_from", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "pole_merge_angle_from", "float", false, 16)]
public float pole_merge_angle_from;
[DNAFieldAttribute(7, "float", "pole_merge_angle_to", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "pole_merge_angle_to", "float", false, 20)]
public float pole_merge_angle_to;
public CameraStereoSettings() {
this.interocular_distance = default;

View File

@@ -14,16 +14,16 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(151, "Camera_Runtime", 216)]
public struct Camera_Runtime {
[DNAFieldAttribute(0, "float", "drw_corners[2][4][2]", "System.Single[,,]", 64, false)]
public class Camera_Runtime {
[DNAArrayAttribute(64, "float", 0, "drw_corners[2][4][2]", "System.Single[,,]", 16, false, 0)]
public float[,,] drw_corners = new System.Single[2,4,2];
[DNAFieldAttribute(1, "float", "drw_tria[2][2]", "System.Single[,]", 16, false)]
[DNAArrayAttribute(16, "float", 1, "drw_tria[2][2]", "System.Single[,]", 4, false, 64)]
public float[,] drw_tria = new System.Single[2,2];
[DNAFieldAttribute(2, "float", "drw_depth[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 2, "drw_depth[2]", "System.Single[]", 2, false, 80)]
public float[] drw_depth = new System.Single[2];
[DNAFieldAttribute(3, "float", "drw_focusmat[4][4]", "System.Single[,]", 64, false)]
[DNAArrayAttribute(64, "float", 3, "drw_focusmat[4][4]", "System.Single[,]", 16, false, 88)]
public float[,] drw_focusmat = new System.Single[4,4];
[DNAFieldAttribute(4, "float", "drw_normalmat[4][4]", "System.Single[,]", 64, false)]
[DNAArrayAttribute(64, "float", 4, "drw_normalmat[4][4]", "System.Single[,]", 16, false, 152)]
public float[,] drw_normalmat = new System.Single[4,4];
public Camera_Runtime() {
this.drw_corners = default;

View File

@@ -15,45 +15,45 @@ namespace BlendFile.DNA {
[DNAClassAttribute(459, "CastModifierData", 216)]
public class CastModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(2, "float", "fac", "float", 4, false)]
[DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)]
public Object @object;
[DNAFieldAttribute(4, "float", 2, "fac", "float", false, 128)]
public float fac;
[DNAFieldAttribute(3, "float", "radius", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "radius", "float", false, 132)]
public float radius;
[DNAFieldAttribute(4, "float", "size", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "size", "float", false, 136)]
public float size;
[DNAFieldAttribute(5, "char", "defgrp_name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 5, "defgrp_name[64]", "System.Char[]", 64, false, 140)]
public char[] defgrp_name = new System.Char[64];
[DNAFieldAttribute(6, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "flag", "short", false, 204)]
public short flag;
[DNAFieldAttribute(7, "short", "type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 7, "type", "short", false, 206)]
public short type;
[DNAFieldAttribute(8, "void", "*_pad1", "void", 8, true)]
public object ptr__pad1;
[DNAFieldAttribute(8, "void", 8, "*_pad1", "void", true, 208)]
public object _pad1;
public CastModifierData() {
this.modifier = default;
this.ptr_object = default;
this.@object = default;
this.fac = default;
this.radius = default;
this.size = default;
this.defgrp_name = default;
this.flag = default;
this.type = default;
this.ptr__pad1 = default;
this._pad1 = default;
}
public CastModifierData(ModifierData modifier, Object ptr_object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object ptr__pad1) {
public CastModifierData(ModifierData modifier, Object @object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object _pad1) {
this.modifier = modifier;
this.ptr_object = ptr_object;
this.@object = @object;
this.fac = fac;
this.radius = radius;
this.size = size;
this.defgrp_name = defgrp_name;
this.flag = flag;
this.type = type;
this.ptr__pad1 = ptr__pad1;
this._pad1 = _pad1;
}
}
}

View File

@@ -15,37 +15,37 @@ namespace BlendFile.DNA {
[DNAClassAttribute(92, "ChannelDriver", 304)]
public class ChannelDriver {
[DNAFieldAttribute(0, "ListBase", "variables", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 0, "variables", "ListBase", false, 0)]
public ListBase variables;
[DNAFieldAttribute(1, "char", "expression[256]", "System.Char[]", 256, false)]
[DNAArrayAttribute(256, "char", 1, "expression[256]", "System.Char[]", 256, false, 16)]
public char[] expression = new System.Char[256];
[DNAFieldAttribute(2, "void", "*expr_comp", "void", 8, true)]
public object ptr_expr_comp;
[DNAFieldAttribute(3, "ExprPyLike_Parsed", "*expr_simple", "ExprPyLike_Parsed", 8, true)]
public ExprPyLike_Parsed ptr_expr_simple;
[DNAFieldAttribute(4, "float", "curval", "float", 4, false)]
[DNAFieldAttribute(8, "void", 2, "*expr_comp", "void", true, 272)]
public object expr_comp;
[DNAFieldAttribute(8, "ExprPyLike_Parsed", 3, "*expr_simple", "ExprPyLike_Parsed", true, 280)]
public ExprPyLike_Parsed expr_simple;
[DNAFieldAttribute(4, "float", 4, "curval", "float", false, 288)]
public float curval;
[DNAFieldAttribute(5, "float", "influence", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "influence", "float", false, 292)]
public float influence;
[DNAFieldAttribute(6, "int", "type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "type", "int", false, 296)]
public int type;
[DNAFieldAttribute(7, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "flag", "int", false, 300)]
public int flag;
public ChannelDriver() {
this.variables = default;
this.expression = default;
this.ptr_expr_comp = default;
this.ptr_expr_simple = default;
this.expr_comp = default;
this.expr_simple = default;
this.curval = default;
this.influence = default;
this.type = default;
this.flag = default;
}
public ChannelDriver(ListBase variables, char[] expression, object ptr_expr_comp, ExprPyLike_Parsed ptr_expr_simple, float curval, float influence, int type, int flag) {
public ChannelDriver(ListBase variables, char[] expression, object expr_comp, ExprPyLike_Parsed expr_simple, float curval, float influence, int type, int flag) {
this.variables = variables;
this.expression = expression;
this.ptr_expr_comp = ptr_expr_comp;
this.ptr_expr_simple = ptr_expr_simple;
this.expr_comp = expr_comp;
this.expr_simple = expr_simple;
this.curval = curval;
this.influence = influence;
this.type = type;

View File

@@ -14,14 +14,14 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(208, "CharInfo", 8)]
public struct CharInfo {
[DNAFieldAttribute(0, "float", "kern", "float", 4, false)]
public class CharInfo {
[DNAFieldAttribute(4, "float", 0, "kern", "float", false, 0)]
public float kern;
[DNAFieldAttribute(1, "short", "mat_nr", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "mat_nr", "short", false, 4)]
public short mat_nr;
[DNAFieldAttribute(2, "char", "flag", "char", 1, false)]
[DNAFieldAttribute(1, "char", 2, "flag", "char", false, 6)]
public char flag;
[DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false)]
[DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, false, 7)]
public char[] _pad = new System.Char[1];
public CharInfo() {
this.kern = default;

View File

@@ -14,20 +14,20 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(780, "ChildParticle", 64)]
public struct ChildParticle {
[DNAFieldAttribute(0, "int", "num", "int", 4, false)]
public class ChildParticle {
[DNAFieldAttribute(4, "int", 0, "num", "int", false, 0)]
public int num;
[DNAFieldAttribute(1, "int", "parent", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "parent", "int", false, 4)]
public int parent;
[DNAFieldAttribute(2, "int", "pa[4]", "System.Int32[]", 16, false)]
[DNAArrayAttribute(16, "int", 2, "pa[4]", "System.Int32[]", 4, false, 8)]
public int[] pa = new System.Int32[4];
[DNAFieldAttribute(3, "float", "w[4]", "System.Single[]", 16, false)]
[DNAArrayAttribute(16, "float", 3, "w[4]", "System.Single[]", 4, false, 24)]
public float[] w = new System.Single[4];
[DNAFieldAttribute(4, "float", "fuv[4]", "System.Single[]", 16, false)]
[DNAArrayAttribute(16, "float", 4, "fuv[4]", "System.Single[]", 4, false, 40)]
public float[] fuv = new System.Single[4];
[DNAFieldAttribute(5, "float", "foffset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "foffset", "float", false, 56)]
public float foffset;
[DNAFieldAttribute(6, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", 4, false, 60)]
public char[] _pad0 = new System.Char[4];
public ChildParticle() {
this.num = default;

View File

@@ -13,46 +13,43 @@ using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(157, "ClothCollSettings", 72)]
[DNAClassAttribute(157, "ClothCollSettings", 64)]
public class ClothCollSettings {
[DNAFieldAttribute(0, "LinkNode", "*collision_list", "LinkNode", 8, true)]
public LinkNode ptr_collision_list;
[DNAFieldAttribute(1, "float", "epsilon", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "epsilon", "float", false, 0)]
public float epsilon;
[DNAFieldAttribute(2, "float", "self_friction", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "self_friction", "float", false, 4)]
public float self_friction;
[DNAFieldAttribute(3, "float", "friction", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "friction", "float", false, 8)]
public float friction;
[DNAFieldAttribute(4, "float", "damping", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "damping", "float", false, 12)]
public float damping;
[DNAFieldAttribute(5, "float", "selfepsilon", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "selfepsilon", "float", false, 16)]
public float selfepsilon;
[DNAFieldAttribute(6, "float", "repel_force", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "repel_force", "float", false, 20)]
public float repel_force;
[DNAFieldAttribute(7, "float", "distance_repel", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "distance_repel", "float", false, 24)]
public float distance_repel;
[DNAFieldAttribute(8, "int", "flags", "int", 4, false)]
[DNAFieldAttribute(4, "int", 8, "flags", "int", false, 28)]
public int flags;
[DNAFieldAttribute(9, "short", "self_loop_count", "short", 2, false)]
[DNAFieldAttribute(2, "short", 9, "self_loop_count", "short", false, 32)]
public short self_loop_count;
[DNAFieldAttribute(10, "short", "loop_count", "short", 2, false)]
[DNAFieldAttribute(2, "short", 10, "loop_count", "short", false, 34)]
public short loop_count;
[DNAFieldAttribute(11, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, false, 36)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(12, "Collection", "*group", "Collection", 8, true)]
public Collection ptr_group;
[DNAFieldAttribute(13, "short", "vgroup_selfcol", "short", 2, false)]
[DNAFieldAttribute(8, "Collection", 12, "*group", "Collection", true, 40)]
public Collection group;
[DNAFieldAttribute(2, "short", 13, "vgroup_selfcol", "short", false, 48)]
public short vgroup_selfcol;
[DNAFieldAttribute(14, "short", "vgroup_objcol", "short", 2, false)]
[DNAFieldAttribute(2, "short", 14, "vgroup_objcol", "short", false, 50)]
public short vgroup_objcol;
[DNAFieldAttribute(15, "char", "_pad2[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 15, "_pad2[4]", "System.Char[]", 4, false, 52)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(16, "float", "clamp", "float", 4, false)]
[DNAFieldAttribute(4, "float", 16, "clamp", "float", false, 56)]
public float clamp;
[DNAFieldAttribute(17, "float", "self_clamp", "float", 4, false)]
[DNAFieldAttribute(4, "float", 17, "self_clamp", "float", false, 60)]
public float self_clamp;
public ClothCollSettings() {
this.ptr_collision_list = default;
this.epsilon = default;
this.self_friction = default;
this.friction = default;
@@ -64,7 +61,7 @@ namespace BlendFile.DNA {
this.self_loop_count = default;
this.loop_count = default;
this._pad = default;
this.ptr_group = default;
this.group = default;
this.vgroup_selfcol = default;
this.vgroup_objcol = default;
this._pad2 = default;
@@ -72,7 +69,6 @@ namespace BlendFile.DNA {
this.self_clamp = default;
}
public ClothCollSettings(
LinkNode ptr_collision_list,
float epsilon,
float self_friction,
float friction,
@@ -84,13 +80,12 @@ namespace BlendFile.DNA {
short self_loop_count,
short loop_count,
char[] _pad,
Collection ptr_group,
Collection group,
short vgroup_selfcol,
short vgroup_objcol,
char[] _pad2,
float clamp,
float self_clamp) {
this.ptr_collision_list = ptr_collision_list;
this.epsilon = epsilon;
this.self_friction = self_friction;
this.friction = friction;
@@ -102,7 +97,7 @@ namespace BlendFile.DNA {
this.self_loop_count = self_loop_count;
this.loop_count = loop_count;
this._pad = _pad;
this.ptr_group = ptr_group;
this.group = group;
this.vgroup_selfcol = vgroup_selfcol;
this.vgroup_objcol = vgroup_objcol;
this._pad2 = _pad2;

View File

@@ -15,57 +15,57 @@ namespace BlendFile.DNA {
[DNAClassAttribute(464, "ClothModifierData", 224)]
public class ClothModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "Cloth", "*clothObject", "Cloth", 8, true)]
public Cloth ptr_clothObject;
[DNAFieldAttribute(2, "ClothSimSettings", "*sim_parms", "ClothSimSettings", 8, true)]
public ClothSimSettings ptr_sim_parms;
[DNAFieldAttribute(3, "ClothCollSettings", "*coll_parms", "ClothCollSettings", 8, true)]
public ClothCollSettings ptr_coll_parms;
[DNAFieldAttribute(4, "PointCache", "*point_cache", "PointCache", 8, true)]
public PointCache ptr_point_cache;
[DNAFieldAttribute(5, "ListBase", "ptcaches", "ListBase", 16, false)]
[DNAFieldAttribute(8, "Cloth", 1, "*clothObject", "Cloth", true, 120)]
public Cloth clothObject;
[DNAFieldAttribute(8, "ClothSimSettings", 2, "*sim_parms", "ClothSimSettings", true, 128)]
public ClothSimSettings sim_parms;
[DNAFieldAttribute(8, "ClothCollSettings", 3, "*coll_parms", "ClothCollSettings", true, 136)]
public ClothCollSettings coll_parms;
[DNAFieldAttribute(8, "PointCache", 4, "*point_cache", "PointCache", true, 144)]
public PointCache point_cache;
[DNAFieldAttribute(16, "ListBase", 5, "ptcaches", "ListBase", false, 152)]
public ListBase ptcaches;
[DNAFieldAttribute(6, "ClothHairData", "*hairdata", "ClothHairData", 8, true)]
public ClothHairData ptr_hairdata;
[DNAFieldAttribute(7, "float", "hair_grid_min[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(8, "ClothHairData", 6, "*hairdata", "ClothHairData", true, 168)]
public ClothHairData hairdata;
[DNAArrayAttribute(12, "float", 7, "hair_grid_min[3]", "System.Single[]", 3, false, 176)]
public float[] hair_grid_min = new System.Single[3];
[DNAFieldAttribute(8, "float", "hair_grid_max[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 8, "hair_grid_max[3]", "System.Single[]", 3, false, 188)]
public float[] hair_grid_max = new System.Single[3];
[DNAFieldAttribute(9, "int", "hair_grid_res[3]", "System.Int32[]", 12, false)]
[DNAArrayAttribute(12, "int", 9, "hair_grid_res[3]", "System.Int32[]", 3, false, 200)]
public int[] hair_grid_res = new System.Int32[3];
[DNAFieldAttribute(10, "float", "hair_grid_cellsize", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "hair_grid_cellsize", "float", false, 212)]
public float hair_grid_cellsize;
[DNAFieldAttribute(11, "ClothSolverResult", "*solver_result", "ClothSolverResult", 8, true)]
public ClothSolverResult ptr_solver_result;
[DNAFieldAttribute(8, "ClothSolverResult", 11, "*solver_result", "ClothSolverResult", true, 216)]
public ClothSolverResult solver_result;
public ClothModifierData() {
this.modifier = default;
this.ptr_clothObject = default;
this.ptr_sim_parms = default;
this.ptr_coll_parms = default;
this.ptr_point_cache = default;
this.clothObject = default;
this.sim_parms = default;
this.coll_parms = default;
this.point_cache = default;
this.ptcaches = default;
this.ptr_hairdata = default;
this.hairdata = default;
this.hair_grid_min = default;
this.hair_grid_max = default;
this.hair_grid_res = default;
this.hair_grid_cellsize = default;
this.ptr_solver_result = default;
this.solver_result = default;
}
public ClothModifierData(ModifierData modifier, Cloth ptr_clothObject, ClothSimSettings ptr_sim_parms, ClothCollSettings ptr_coll_parms, PointCache ptr_point_cache, ListBase ptcaches, ClothHairData ptr_hairdata, float[] hair_grid_min, float[] hair_grid_max, int[] hair_grid_res, float hair_grid_cellsize, ClothSolverResult ptr_solver_result) {
public ClothModifierData(ModifierData modifier, Cloth clothObject, ClothSimSettings sim_parms, ClothCollSettings coll_parms, PointCache point_cache, ListBase ptcaches, ClothHairData hairdata, float[] hair_grid_min, float[] hair_grid_max, int[] hair_grid_res, float hair_grid_cellsize, ClothSolverResult solver_result) {
this.modifier = modifier;
this.ptr_clothObject = ptr_clothObject;
this.ptr_sim_parms = ptr_sim_parms;
this.ptr_coll_parms = ptr_coll_parms;
this.ptr_point_cache = ptr_point_cache;
this.clothObject = clothObject;
this.sim_parms = sim_parms;
this.coll_parms = coll_parms;
this.point_cache = point_cache;
this.ptcaches = ptcaches;
this.ptr_hairdata = ptr_hairdata;
this.hairdata = hairdata;
this.hair_grid_min = hair_grid_min;
this.hair_grid_max = hair_grid_max;
this.hair_grid_res = hair_grid_res;
this.hair_grid_cellsize = hair_grid_cellsize;
this.ptr_solver_result = ptr_solver_result;
this.solver_result = solver_result;
}
}
}

View File

@@ -15,148 +15,148 @@ namespace BlendFile.DNA {
[DNAClassAttribute(154, "ClothSimSettings", 272)]
public class ClothSimSettings {
[DNAFieldAttribute(0, "LinkNode", "*cache", "LinkNode", 8, true)]
public LinkNode ptr_cache;
[DNAFieldAttribute(1, "float", "mingoal", "float", 4, false)]
[DNAFieldAttribute(8, "LinkNode", 0, "*cache", "LinkNode", true, 0)]
public LinkNode cache;
[DNAFieldAttribute(4, "float", 1, "mingoal", "float", false, 8)]
public float mingoal;
[DNAFieldAttribute(2, "float", "Cdis", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "Cdis", "float", false, 12)]
public float Cdis;
[DNAFieldAttribute(3, "float", "Cvi", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "Cvi", "float", false, 16)]
public float Cvi;
[DNAFieldAttribute(4, "float", "gravity[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 4, "gravity[3]", "System.Single[]", 3, false, 20)]
public float[] gravity = new System.Single[3];
[DNAFieldAttribute(5, "float", "dt", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "dt", "float", false, 32)]
public float dt;
[DNAFieldAttribute(6, "float", "mass", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "mass", "float", false, 36)]
public float mass;
[DNAFieldAttribute(7, "float", "structural", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "structural", "float", false, 40)]
public float structural;
[DNAFieldAttribute(8, "float", "shear", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "shear", "float", false, 44)]
public float shear;
[DNAFieldAttribute(9, "float", "bending", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "bending", "float", false, 48)]
public float bending;
[DNAFieldAttribute(10, "float", "max_bend", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "max_bend", "float", false, 52)]
public float max_bend;
[DNAFieldAttribute(11, "float", "max_struct", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "max_struct", "float", false, 56)]
public float max_struct;
[DNAFieldAttribute(12, "float", "max_shear", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "max_shear", "float", false, 60)]
public float max_shear;
[DNAFieldAttribute(13, "float", "max_sewing", "float", 4, false)]
[DNAFieldAttribute(4, "float", 13, "max_sewing", "float", false, 64)]
public float max_sewing;
[DNAFieldAttribute(14, "float", "avg_spring_len", "float", 4, false)]
[DNAFieldAttribute(4, "float", 14, "avg_spring_len", "float", false, 68)]
public float avg_spring_len;
[DNAFieldAttribute(15, "float", "timescale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 15, "timescale", "float", false, 72)]
public float timescale;
[DNAFieldAttribute(16, "float", "time_scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 16, "time_scale", "float", false, 76)]
public float time_scale;
[DNAFieldAttribute(17, "float", "maxgoal", "float", 4, false)]
[DNAFieldAttribute(4, "float", 17, "maxgoal", "float", false, 80)]
public float maxgoal;
[DNAFieldAttribute(18, "float", "eff_force_scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 18, "eff_force_scale", "float", false, 84)]
public float eff_force_scale;
[DNAFieldAttribute(19, "float", "eff_wind_scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 19, "eff_wind_scale", "float", false, 88)]
public float eff_wind_scale;
[DNAFieldAttribute(20, "float", "sim_time_old", "float", 4, false)]
[DNAFieldAttribute(4, "float", 20, "sim_time_old", "float", false, 92)]
public float sim_time_old;
[DNAFieldAttribute(21, "float", "defgoal", "float", 4, false)]
[DNAFieldAttribute(4, "float", 21, "defgoal", "float", false, 96)]
public float defgoal;
[DNAFieldAttribute(22, "float", "goalspring", "float", 4, false)]
[DNAFieldAttribute(4, "float", 22, "goalspring", "float", false, 100)]
public float goalspring;
[DNAFieldAttribute(23, "float", "goalfrict", "float", 4, false)]
[DNAFieldAttribute(4, "float", 23, "goalfrict", "float", false, 104)]
public float goalfrict;
[DNAFieldAttribute(24, "float", "velocity_smooth", "float", 4, false)]
[DNAFieldAttribute(4, "float", 24, "velocity_smooth", "float", false, 108)]
public float velocity_smooth;
[DNAFieldAttribute(25, "float", "density_target", "float", 4, false)]
[DNAFieldAttribute(4, "float", 25, "density_target", "float", false, 112)]
public float density_target;
[DNAFieldAttribute(26, "float", "density_strength", "float", 4, false)]
[DNAFieldAttribute(4, "float", 26, "density_strength", "float", false, 116)]
public float density_strength;
[DNAFieldAttribute(27, "float", "collider_friction", "float", 4, false)]
[DNAFieldAttribute(4, "float", 27, "collider_friction", "float", false, 120)]
public float collider_friction;
[DNAFieldAttribute(28, "float", "vel_damping", "float", 4, false)]
[DNAFieldAttribute(4, "float", 28, "vel_damping", "float", false, 124)]
public float vel_damping;
[DNAFieldAttribute(29, "float", "shrink_min", "float", 4, false)]
[DNAFieldAttribute(4, "float", 29, "shrink_min", "float", false, 128)]
public float shrink_min;
[DNAFieldAttribute(30, "float", "shrink_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 30, "shrink_max", "float", false, 132)]
public float shrink_max;
[DNAFieldAttribute(31, "float", "uniform_pressure_force", "float", 4, false)]
[DNAFieldAttribute(4, "float", 31, "uniform_pressure_force", "float", false, 136)]
public float uniform_pressure_force;
[DNAFieldAttribute(32, "float", "target_volume", "float", 4, false)]
[DNAFieldAttribute(4, "float", 32, "target_volume", "float", false, 140)]
public float target_volume;
[DNAFieldAttribute(33, "float", "pressure_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 33, "pressure_factor", "float", false, 144)]
public float pressure_factor;
[DNAFieldAttribute(34, "float", "fluid_density", "float", 4, false)]
[DNAFieldAttribute(4, "float", 34, "fluid_density", "float", false, 148)]
public float fluid_density;
[DNAFieldAttribute(35, "short", "vgroup_pressure", "short", 2, false)]
[DNAFieldAttribute(2, "short", 35, "vgroup_pressure", "short", false, 152)]
public short vgroup_pressure;
[DNAFieldAttribute(36, "char", "_pad7[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 36, "_pad7[6]", "System.Char[]", 6, false, 154)]
public char[] _pad7 = new System.Char[6];
[DNAFieldAttribute(37, "float", "bending_damping", "float", 4, false)]
[DNAFieldAttribute(4, "float", 37, "bending_damping", "float", false, 160)]
public float bending_damping;
[DNAFieldAttribute(38, "float", "voxel_cell_size", "float", 4, false)]
[DNAFieldAttribute(4, "float", 38, "voxel_cell_size", "float", false, 164)]
public float voxel_cell_size;
[DNAFieldAttribute(39, "int", "stepsPerFrame", "int", 4, false)]
[DNAFieldAttribute(4, "int", 39, "stepsPerFrame", "int", false, 168)]
public int stepsPerFrame;
[DNAFieldAttribute(40, "int", "flags", "int", 4, false)]
[DNAFieldAttribute(4, "int", 40, "flags", "int", false, 172)]
public int flags;
[DNAFieldAttribute(41, "int", "preroll", "int", 4, false)]
[DNAFieldAttribute(4, "int", 41, "preroll", "int", false, 176)]
public int preroll;
[DNAFieldAttribute(42, "int", "maxspringlen", "int", 4, false)]
[DNAFieldAttribute(4, "int", 42, "maxspringlen", "int", false, 180)]
public int maxspringlen;
[DNAFieldAttribute(43, "short", "solver_type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 43, "solver_type", "short", false, 184)]
public short solver_type;
[DNAFieldAttribute(44, "short", "vgroup_bend", "short", 2, false)]
[DNAFieldAttribute(2, "short", 44, "vgroup_bend", "short", false, 186)]
public short vgroup_bend;
[DNAFieldAttribute(45, "short", "vgroup_mass", "short", 2, false)]
[DNAFieldAttribute(2, "short", 45, "vgroup_mass", "short", false, 188)]
public short vgroup_mass;
[DNAFieldAttribute(46, "short", "vgroup_struct", "short", 2, false)]
[DNAFieldAttribute(2, "short", 46, "vgroup_struct", "short", false, 190)]
public short vgroup_struct;
[DNAFieldAttribute(47, "short", "vgroup_shrink", "short", 2, false)]
[DNAFieldAttribute(2, "short", 47, "vgroup_shrink", "short", false, 192)]
public short vgroup_shrink;
[DNAFieldAttribute(48, "short", "shapekey_rest", "short", 2, false)]
[DNAFieldAttribute(2, "short", 48, "shapekey_rest", "short", false, 194)]
public short shapekey_rest;
[DNAFieldAttribute(49, "short", "presets", "short", 2, false)]
[DNAFieldAttribute(2, "short", 49, "presets", "short", false, 196)]
public short presets;
[DNAFieldAttribute(50, "short", "reset", "short", 2, false)]
[DNAFieldAttribute(2, "short", 50, "reset", "short", false, 198)]
public short reset;
[DNAFieldAttribute(51, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true)]
public EffectorWeights ptr_effector_weights;
[DNAFieldAttribute(52, "short", "bending_model", "short", 2, false)]
[DNAFieldAttribute(8, "EffectorWeights", 51, "*effector_weights", "EffectorWeights", true, 200)]
public EffectorWeights effector_weights;
[DNAFieldAttribute(2, "short", 52, "bending_model", "short", false, 208)]
public short bending_model;
[DNAFieldAttribute(53, "short", "vgroup_shear", "short", 2, false)]
[DNAFieldAttribute(2, "short", 53, "vgroup_shear", "short", false, 210)]
public short vgroup_shear;
[DNAFieldAttribute(54, "float", "tension", "float", 4, false)]
[DNAFieldAttribute(4, "float", 54, "tension", "float", false, 212)]
public float tension;
[DNAFieldAttribute(55, "float", "compression", "float", 4, false)]
[DNAFieldAttribute(4, "float", 55, "compression", "float", false, 216)]
public float compression;
[DNAFieldAttribute(56, "float", "max_tension", "float", 4, false)]
[DNAFieldAttribute(4, "float", 56, "max_tension", "float", false, 220)]
public float max_tension;
[DNAFieldAttribute(57, "float", "max_compression", "float", 4, false)]
[DNAFieldAttribute(4, "float", 57, "max_compression", "float", false, 224)]
public float max_compression;
[DNAFieldAttribute(58, "float", "tension_damp", "float", 4, false)]
[DNAFieldAttribute(4, "float", 58, "tension_damp", "float", false, 228)]
public float tension_damp;
[DNAFieldAttribute(59, "float", "compression_damp", "float", 4, false)]
[DNAFieldAttribute(4, "float", 59, "compression_damp", "float", false, 232)]
public float compression_damp;
[DNAFieldAttribute(60, "float", "shear_damp", "float", 4, false)]
[DNAFieldAttribute(4, "float", 60, "shear_damp", "float", false, 236)]
public float shear_damp;
[DNAFieldAttribute(61, "float", "internal_spring_max_length", "float", 4, false)]
[DNAFieldAttribute(4, "float", 61, "internal_spring_max_length", "float", false, 240)]
public float internal_spring_max_length;
[DNAFieldAttribute(62, "float", "internal_spring_max_diversion", "float", 4, false)]
[DNAFieldAttribute(4, "float", 62, "internal_spring_max_diversion", "float", false, 244)]
public float internal_spring_max_diversion;
[DNAFieldAttribute(63, "short", "vgroup_intern", "short", 2, false)]
[DNAFieldAttribute(2, "short", 63, "vgroup_intern", "short", false, 248)]
public short vgroup_intern;
[DNAFieldAttribute(64, "char", "_pad1[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 64, "_pad1[2]", "System.Char[]", 2, false, 250)]
public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(65, "float", "internal_tension", "float", 4, false)]
[DNAFieldAttribute(4, "float", 65, "internal_tension", "float", false, 252)]
public float internal_tension;
[DNAFieldAttribute(66, "float", "internal_compression", "float", 4, false)]
[DNAFieldAttribute(4, "float", 66, "internal_compression", "float", false, 256)]
public float internal_compression;
[DNAFieldAttribute(67, "float", "max_internal_tension", "float", 4, false)]
[DNAFieldAttribute(4, "float", 67, "max_internal_tension", "float", false, 260)]
public float max_internal_tension;
[DNAFieldAttribute(68, "float", "max_internal_compression", "float", 4, false)]
[DNAFieldAttribute(4, "float", 68, "max_internal_compression", "float", false, 264)]
public float max_internal_compression;
[DNAFieldAttribute(69, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 69, "_pad0[4]", "System.Char[]", 4, false, 268)]
public char[] _pad0 = new System.Char[4];
public ClothSimSettings() {
this.ptr_cache = default;
this.cache = default;
this.mingoal = default;
this.Cdis = default;
this.Cvi = default;
@@ -207,7 +207,7 @@ namespace BlendFile.DNA {
this.shapekey_rest = default;
this.presets = default;
this.reset = default;
this.ptr_effector_weights = default;
this.effector_weights = default;
this.bending_model = default;
this.vgroup_shear = default;
this.tension = default;
@@ -228,7 +228,7 @@ namespace BlendFile.DNA {
this._pad0 = default;
}
public ClothSimSettings(
LinkNode ptr_cache,
LinkNode cache,
float mingoal,
float Cdis,
float Cvi,
@@ -279,7 +279,7 @@ namespace BlendFile.DNA {
short shapekey_rest,
short presets,
short reset,
EffectorWeights ptr_effector_weights,
EffectorWeights effector_weights,
short bending_model,
short vgroup_shear,
float tension,
@@ -298,7 +298,7 @@ namespace BlendFile.DNA {
float max_internal_tension,
float max_internal_compression,
char[] _pad0) {
this.ptr_cache = ptr_cache;
this.cache = cache;
this.mingoal = mingoal;
this.Cdis = Cdis;
this.Cvi = Cvi;
@@ -349,7 +349,7 @@ namespace BlendFile.DNA {
this.shapekey_rest = shapekey_rest;
this.presets = presets;
this.reset = reset;
this.ptr_effector_weights = ptr_effector_weights;
this.effector_weights = effector_weights;
this.bending_model = bending_model;
this.vgroup_shear = vgroup_shear;
this.tension = tension;

View File

@@ -15,53 +15,53 @@ namespace BlendFile.DNA {
[DNAClassAttribute(70, "Collection", 376)]
public class Collection {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(1, "ID", "*owner_id", "ID", 8, true)]
public ID ptr_owner_id;
[DNAFieldAttribute(2, "ListBase", "gobject", "ListBase", 16, false)]
[DNAFieldAttribute(8, "ID", 1, "*owner_id", "ID", true, 208)]
public ID owner_id;
[DNAFieldAttribute(16, "ListBase", 2, "gobject", "ListBase", false, 216)]
public ListBase gobject;
[DNAFieldAttribute(3, "ListBase", "children", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 3, "children", "ListBase", false, 232)]
public ListBase children;
[DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, false, 248)]
public char[] _pad0 = new System.Char[4];
[DNAFieldAttribute(5, "int", "active_exporter_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "active_exporter_index", "int", false, 252)]
public int active_exporter_index;
[DNAFieldAttribute(6, "ListBase", "exporters", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 6, "exporters", "ListBase", false, 256)]
public ListBase exporters;
[DNAFieldAttribute(7, "PreviewImage", "*preview", "PreviewImage", 8, true)]
public PreviewImage ptr_preview;
[DNAFieldAttribute(8, "int", "layer", "int", 4, false)]
[DNAFieldAttribute(8, "PreviewImage", 7, "*preview", "PreviewImage", true, 272)]
public PreviewImage preview;
[DNAFieldAttribute(4, "int", 8, "layer", "int", false, 280)]
public int layer;
[DNAFieldAttribute(9, "float", "dupli_ofs[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 9, "dupli_ofs[3]", "System.Single[]", 3, false, 284)]
public float[] dupli_ofs = new System.Single[3];
[DNAFieldAttribute(10, "uchar", "flag", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 10, "flag", "uchar", false, 296)]
public byte flag;
[DNAFieldAttribute(11, "int8_t", "color_tag", "int8_t", 1, false)]
[DNAFieldAttribute(1, "int8_t", 11, "color_tag", "int8_t", false, 297)]
public sbyte color_tag;
[DNAFieldAttribute(12, "char", "_pad1[2]", "System.Char[]", 2, false)]
[DNAArrayAttribute(2, "char", 12, "_pad1[2]", "System.Char[]", 2, false, 298)]
public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(13, "uchar", "lineart_usage", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 13, "lineart_usage", "uchar", false, 300)]
public byte lineart_usage;
[DNAFieldAttribute(14, "uchar", "lineart_flags", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 14, "lineart_flags", "uchar", false, 301)]
public byte lineart_flags;
[DNAFieldAttribute(15, "uchar", "lineart_intersection_mask", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 15, "lineart_intersection_mask", "uchar", false, 302)]
public byte lineart_intersection_mask;
[DNAFieldAttribute(16, "uchar", "lineart_intersection_priority", "uchar", 1, false)]
[DNAFieldAttribute(1, "uchar", 16, "lineart_intersection_priority", "uchar", false, 303)]
public byte lineart_intersection_priority;
[DNAFieldAttribute(17, "ViewLayer", "*view_layer", "ViewLayer", 8, true)]
public ViewLayer ptr_view_layer;
[DNAFieldAttribute(18, "Collection_Runtime", "runtime", "Collection_Runtime", 64, false)]
[DNAFieldAttribute(8, "ViewLayer", 17, "*view_layer", "ViewLayer", true, 304)]
public ViewLayer view_layer;
[DNAFieldAttribute(64, "Collection_Runtime", 18, "runtime", "Collection_Runtime", false, 312)]
public Collection_Runtime runtime;
public Collection() {
this.id = default;
this.ptr_owner_id = default;
this.owner_id = default;
this.gobject = default;
this.children = default;
this._pad0 = default;
this.active_exporter_index = default;
this.exporters = default;
this.ptr_preview = default;
this.preview = default;
this.layer = default;
this.dupli_ofs = default;
this.flag = default;
@@ -71,18 +71,18 @@ namespace BlendFile.DNA {
this.lineart_flags = default;
this.lineart_intersection_mask = default;
this.lineart_intersection_priority = default;
this.ptr_view_layer = default;
this.view_layer = default;
this.runtime = default;
}
public Collection(
ID id,
ID ptr_owner_id,
ID owner_id,
ListBase gobject,
ListBase children,
char[] _pad0,
int active_exporter_index,
ListBase exporters,
PreviewImage ptr_preview,
PreviewImage preview,
int layer,
float[] dupli_ofs,
byte flag,
@@ -92,16 +92,16 @@ namespace BlendFile.DNA {
byte lineart_flags,
byte lineart_intersection_mask,
byte lineart_intersection_priority,
ViewLayer ptr_view_layer,
ViewLayer view_layer,
Collection_Runtime runtime) {
this.id = id;
this.ptr_owner_id = ptr_owner_id;
this.owner_id = owner_id;
this.gobject = gobject;
this.children = children;
this._pad0 = _pad0;
this.active_exporter_index = active_exporter_index;
this.exporters = exporters;
this.ptr_preview = ptr_preview;
this.preview = preview;
this.layer = layer;
this.dupli_ofs = dupli_ofs;
this.flag = flag;
@@ -111,7 +111,7 @@ namespace BlendFile.DNA {
this.lineart_flags = lineart_flags;
this.lineart_intersection_mask = lineart_intersection_mask;
this.lineart_intersection_priority = lineart_intersection_priority;
this.ptr_view_layer = ptr_view_layer;
this.view_layer = view_layer;
this.runtime = runtime;
}
}

View File

@@ -15,27 +15,27 @@ namespace BlendFile.DNA {
[DNAClassAttribute(160, "CollectionChild", 32)]
public class CollectionChild {
[DNAFieldAttribute(0, "CollectionChild", "*next", "CollectionChild", 8, true)]
public CollectionChild ptr_next;
[DNAFieldAttribute(1, "CollectionChild", "*prev", "CollectionChild", 8, true)]
public CollectionChild ptr_prev;
[DNAFieldAttribute(2, "Collection", "*collection", "Collection", 8, true)]
public Collection ptr_collection;
[DNAFieldAttribute(3, "CollectionLightLinking", "light_linking", "CollectionLightLinking", 4, false)]
[DNAFieldAttribute(8, "CollectionChild", 0, "*next", "CollectionChild", true, 0)]
public CollectionChild next;
[DNAFieldAttribute(8, "CollectionChild", 1, "*prev", "CollectionChild", true, 8)]
public CollectionChild prev;
[DNAFieldAttribute(8, "Collection", 2, "*collection", "Collection", true, 16)]
public Collection collection;
[DNAFieldAttribute(4, "CollectionLightLinking", 3, "light_linking", "CollectionLightLinking", false, 24)]
public CollectionLightLinking light_linking;
[DNAFieldAttribute(4, "int", "_pad", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 28)]
public int _pad;
public CollectionChild() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_collection = default;
this.next = default;
this.prev = default;
this.collection = default;
this.light_linking = default;
this._pad = default;
}
public CollectionChild(CollectionChild ptr_next, CollectionChild ptr_prev, Collection ptr_collection, CollectionLightLinking light_linking, int _pad) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_collection = ptr_collection;
public CollectionChild(CollectionChild next, CollectionChild prev, Collection collection, CollectionLightLinking light_linking, int _pad) {
this.next = next;
this.prev = prev;
this.collection = collection;
this.light_linking = light_linking;
this._pad = _pad;
}

View File

@@ -15,35 +15,35 @@ namespace BlendFile.DNA {
[DNAClassAttribute(161, "CollectionExport", 160)]
public class CollectionExport {
[DNAFieldAttribute(0, "CollectionExport", "*next", "CollectionExport", 8, true)]
public CollectionExport ptr_next;
[DNAFieldAttribute(1, "CollectionExport", "*prev", "CollectionExport", 8, true)]
public CollectionExport ptr_prev;
[DNAFieldAttribute(2, "char", "fh_idname[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "CollectionExport", 0, "*next", "CollectionExport", true, 0)]
public CollectionExport next;
[DNAFieldAttribute(8, "CollectionExport", 1, "*prev", "CollectionExport", true, 8)]
public CollectionExport prev;
[DNAArrayAttribute(64, "char", 2, "fh_idname[64]", "System.Char[]", 64, false, 16)]
public char[] fh_idname = new System.Char[64];
[DNAFieldAttribute(3, "char", "name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, false, 80)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(4, "IDProperty", "*export_properties", "IDProperty", 8, true)]
public IDProperty ptr_export_properties;
[DNAFieldAttribute(5, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(8, "IDProperty", 4, "*export_properties", "IDProperty", true, 144)]
public IDProperty export_properties;
[DNAFieldAttribute(4, "int", 5, "flag", "int", false, 152)]
public int flag;
[DNAFieldAttribute(6, "int", "_pad0", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "_pad0", "int", false, 156)]
public int _pad0;
public CollectionExport() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.fh_idname = default;
this.name = default;
this.ptr_export_properties = default;
this.export_properties = default;
this.flag = default;
this._pad0 = default;
}
public CollectionExport(CollectionExport ptr_next, CollectionExport ptr_prev, char[] fh_idname, char[] name, IDProperty ptr_export_properties, int flag, int _pad0) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public CollectionExport(CollectionExport next, CollectionExport prev, char[] fh_idname, char[] name, IDProperty export_properties, int flag, int _pad0) {
this.next = next;
this.prev = prev;
this.fh_idname = fh_idname;
this.name = name;
this.ptr_export_properties = ptr_export_properties;
this.export_properties = export_properties;
this.flag = flag;
this._pad0 = _pad0;
}

View File

@@ -14,10 +14,10 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(158, "CollectionLightLinking", 4)]
public struct CollectionLightLinking {
[DNAFieldAttribute(0, "uchar", "link_state", "uchar", 1, false)]
public class CollectionLightLinking {
[DNAFieldAttribute(1, "uchar", 0, "link_state", "uchar", false, 0)]
public byte link_state;
[DNAFieldAttribute(1, "uchar", "_pad[3]", "System.Byte[]", 3, false)]
[DNAArrayAttribute(3, "uchar", 1, "_pad[3]", "System.Byte[]", 3, false, 1)]
public byte[] _pad = new System.Byte[3];
public CollectionLightLinking() {
this.link_state = default;

View File

@@ -15,27 +15,27 @@ namespace BlendFile.DNA {
[DNAClassAttribute(159, "CollectionObject", 32)]
public class CollectionObject {
[DNAFieldAttribute(0, "CollectionObject", "*next", "CollectionObject", 8, true)]
public CollectionObject ptr_next;
[DNAFieldAttribute(1, "CollectionObject", "*prev", "CollectionObject", 8, true)]
public CollectionObject ptr_prev;
[DNAFieldAttribute(2, "Object", "*ob", "Object", 8, true)]
public Object ptr_ob;
[DNAFieldAttribute(3, "CollectionLightLinking", "light_linking", "CollectionLightLinking", 4, false)]
[DNAFieldAttribute(8, "CollectionObject", 0, "*next", "CollectionObject", true, 0)]
public CollectionObject next;
[DNAFieldAttribute(8, "CollectionObject", 1, "*prev", "CollectionObject", true, 8)]
public CollectionObject prev;
[DNAFieldAttribute(8, "Object", 2, "*ob", "Object", true, 16)]
public Object ob;
[DNAFieldAttribute(4, "CollectionLightLinking", 3, "light_linking", "CollectionLightLinking", false, 24)]
public CollectionLightLinking light_linking;
[DNAFieldAttribute(4, "int", "_pad", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 28)]
public int _pad;
public CollectionObject() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_ob = default;
this.next = default;
this.prev = default;
this.ob = default;
this.light_linking = default;
this._pad = default;
}
public CollectionObject(CollectionObject ptr_next, CollectionObject ptr_prev, Object ptr_ob, CollectionLightLinking light_linking, int _pad) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_ob = ptr_ob;
public CollectionObject(CollectionObject next, CollectionObject prev, Object ob, CollectionLightLinking light_linking, int _pad) {
this.next = next;
this.prev = prev;
this.ob = ob;
this.light_linking = light_linking;
this._pad = _pad;
}

View File

@@ -15,31 +15,31 @@ namespace BlendFile.DNA {
[DNAClassAttribute(162, "Collection_Runtime", 64)]
public class Collection_Runtime {
[DNAFieldAttribute(0, "ListBase", "object_cache", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 0, "object_cache", "ListBase", false, 0)]
public ListBase object_cache;
[DNAFieldAttribute(1, "ListBase", "object_cache_instanced", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 1, "object_cache_instanced", "ListBase", false, 16)]
public ListBase object_cache_instanced;
[DNAFieldAttribute(2, "ListBase", "parents", "ListBase", 16, false)]
[DNAFieldAttribute(16, "ListBase", 2, "parents", "ListBase", false, 32)]
public ListBase parents;
[DNAFieldAttribute(3, "GHash", "*gobject_hash", "GHash", 8, true)]
public GHash ptr_gobject_hash;
[DNAFieldAttribute(4, "uchar", "tag", "uchar", 1, false)]
[DNAFieldAttribute(8, "GHash", 3, "*gobject_hash", "GHash", true, 48)]
public GHash gobject_hash;
[DNAFieldAttribute(1, "uchar", 4, "tag", "uchar", false, 56)]
public byte tag;
[DNAFieldAttribute(5, "char", "_pad0[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", 7, false, 57)]
public char[] _pad0 = new System.Char[7];
public Collection_Runtime() {
this.object_cache = default;
this.object_cache_instanced = default;
this.parents = default;
this.ptr_gobject_hash = default;
this.gobject_hash = default;
this.tag = default;
this._pad0 = default;
}
public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash ptr_gobject_hash, byte tag, char[] _pad0) {
public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash gobject_hash, byte tag, char[] _pad0) {
this.object_cache = object_cache;
this.object_cache_instanced = object_cache_instanced;
this.parents = parents;
this.ptr_gobject_hash = ptr_gobject_hash;
this.gobject_hash = gobject_hash;
this.tag = tag;
this._pad0 = _pad0;
}

View File

@@ -15,22 +15,22 @@ namespace BlendFile.DNA {
[DNAClassAttribute(468, "CollisionModifierData", 152)]
public class CollisionModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(8, "int", "mvert_num", "int", 4, false)]
[DNAFieldAttribute(4, "int", 8, "mvert_num", "int", false, 120)]
public int mvert_num;
[DNAFieldAttribute(9, "int", "tri_num", "int", 4, false)]
[DNAFieldAttribute(4, "int", 9, "tri_num", "int", false, 124)]
public int tri_num;
[DNAFieldAttribute(10, "float", "time_x", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "time_x", "float", false, 128)]
public float time_x;
[DNAFieldAttribute(11, "float", "time_xnew", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "time_xnew", "float", false, 132)]
public float time_xnew;
[DNAFieldAttribute(12, "char", "is_static", "char", 1, false)]
[DNAFieldAttribute(1, "char", 12, "is_static", "char", false, 136)]
public char is_static;
[DNAFieldAttribute(13, "char", "_pad[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 13, "_pad[7]", "System.Char[]", 7, false, 137)]
public char[] _pad = new System.Char[7];
[DNAFieldAttribute(14, "BVHTree", "*bvhtree", "BVHTree", 8, true)]
public BVHTree ptr_bvhtree;
[DNAFieldAttribute(8, "BVHTree", 14, "*bvhtree", "BVHTree", true, 144)]
public BVHTree bvhtree;
public CollisionModifierData() {
this.modifier = default;
this.mvert_num = default;
@@ -39,9 +39,9 @@ namespace BlendFile.DNA {
this.time_xnew = default;
this.is_static = default;
this._pad = default;
this.ptr_bvhtree = default;
this.bvhtree = default;
}
public CollisionModifierData(ModifierData modifier, int mvert_num, int tri_num, float time_x, float time_xnew, char is_static, char[] _pad, BVHTree ptr_bvhtree) {
public CollisionModifierData(ModifierData modifier, int mvert_num, int tri_num, float time_x, float time_xnew, char is_static, char[] _pad, BVHTree bvhtree) {
this.modifier = modifier;
this.mvert_num = mvert_num;
this.tri_num = tri_num;
@@ -49,7 +49,7 @@ namespace BlendFile.DNA {
this.time_xnew = time_xnew;
this.is_static = is_static;
this._pad = _pad;
this.ptr_bvhtree = ptr_bvhtree;
this.bvhtree = bvhtree;
}
}
}

View File

@@ -14,12 +14,12 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(905, "ColorBalanceModifierData", 200)]
public struct ColorBalanceModifierData {
[DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false)]
public class ColorBalanceModifierData {
[DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)]
public SequenceModifierData modifier;
[DNAFieldAttribute(1, "StripColorBalance", "color_balance", "StripColorBalance", 84, false)]
[DNAFieldAttribute(84, "StripColorBalance", 1, "color_balance", "StripColorBalance", false, 112)]
public StripColorBalance color_balance;
[DNAFieldAttribute(2, "float", "color_multiply", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "color_multiply", "float", false, 196)]
public float color_multiply;
public ColorBalanceModifierData() {
this.modifier = default;

View File

@@ -14,20 +14,20 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(134, "ColorBand", 776)]
public struct ColorBand {
[DNAFieldAttribute(0, "short", "tot", "short", 2, false)]
public class ColorBand {
[DNAFieldAttribute(2, "short", 0, "tot", "short", false, 0)]
public short tot;
[DNAFieldAttribute(1, "short", "cur", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "cur", "short", false, 2)]
public short cur;
[DNAFieldAttribute(2, "char", "ipotype", "char", 1, false)]
[DNAFieldAttribute(1, "char", 2, "ipotype", "char", false, 4)]
public char ipotype;
[DNAFieldAttribute(3, "char", "ipotype_hue", "char", 1, false)]
[DNAFieldAttribute(1, "char", 3, "ipotype_hue", "char", false, 5)]
public char ipotype_hue;
[DNAFieldAttribute(4, "char", "color_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 4, "color_mode", "char", false, 6)]
public char color_mode;
[DNAFieldAttribute(5, "char", "_pad[1]", "System.Char[]", 1, false)]
[DNAArrayAttribute(1, "char", 5, "_pad[1]", "System.Char[]", 1, false, 7)]
public char[] _pad = new System.Char[1];
[DNAFieldAttribute(6, "CBData", "data[32]", "CBData[]", 768, false)]
[DNAArrayAttribute(768, "CBData", 6, "data[32]", "CBData[]", 32, false, 8)]
public CBData[] data = new CBData[32];
public ColorBand() {
this.tot = default;

View File

@@ -14,18 +14,18 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(602, "ColorCorrectionData", 24)]
public struct ColorCorrectionData {
[DNAFieldAttribute(0, "float", "saturation", "float", 4, false)]
public class ColorCorrectionData {
[DNAFieldAttribute(4, "float", 0, "saturation", "float", false, 0)]
public float saturation;
[DNAFieldAttribute(1, "float", "contrast", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "contrast", "float", false, 4)]
public float contrast;
[DNAFieldAttribute(2, "float", "gamma", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "gamma", "float", false, 8)]
public float gamma;
[DNAFieldAttribute(3, "float", "gain", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "gain", "float", false, 12)]
public float gain;
[DNAFieldAttribute(4, "float", "lift", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "lift", "float", false, 16)]
public float lift;
[DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, false, 20)]
public char[] _pad = new System.Char[4];
public ColorCorrectionData() {
this.saturation = default;

View File

@@ -15,33 +15,33 @@ namespace BlendFile.DNA {
[DNAClassAttribute(281, "ColorGpencilModifierData", 280)]
public class ColorGpencilModifierData {
[DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false)]
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
public GpencilModifierData modifier;
[DNAFieldAttribute(1, "Material", "*material", "Material", 8, true)]
public Material ptr_material;
[DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)]
public Material material;
[DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, false, 112)]
public char[] layername = new System.Char[64];
[DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, false, 176)]
public char[] materialname = new System.Char[64];
[DNAFieldAttribute(4, "int", "pass_index", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)]
public int pass_index;
[DNAFieldAttribute(5, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)]
public int flag;
[DNAFieldAttribute(6, "float", "hsv[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 6, "hsv[3]", "System.Single[]", 3, false, 248)]
public float[] hsv = new System.Single[3];
[DNAFieldAttribute(7, "char", "modify_color", "char", 1, false)]
[DNAFieldAttribute(1, "char", 7, "modify_color", "char", false, 260)]
public char modify_color;
[DNAFieldAttribute(8, "char", "_pad[3]", "System.Char[]", 3, false)]
[DNAArrayAttribute(3, "char", 8, "_pad[3]", "System.Char[]", 3, false, 261)]
public char[] _pad = new System.Char[3];
[DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false)]
[DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 264)]
public int layer_pass;
[DNAFieldAttribute(10, "char", "_pad1[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", 4, false, 268)]
public char[] _pad1 = new System.Char[4];
[DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_intensity;
[DNAFieldAttribute(8, "CurveMapping", 11, "*curve_intensity", "CurveMapping", true, 272)]
public CurveMapping curve_intensity;
public ColorGpencilModifierData() {
this.modifier = default;
this.ptr_material = default;
this.material = default;
this.layername = default;
this.materialname = default;
this.pass_index = default;
@@ -51,11 +51,11 @@ namespace BlendFile.DNA {
this._pad = default;
this.layer_pass = default;
this._pad1 = default;
this.ptr_curve_intensity = default;
this.curve_intensity = default;
}
public ColorGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, float[] hsv, char modify_color, char[] _pad, int layer_pass, char[] _pad1, CurveMapping ptr_curve_intensity) {
public ColorGpencilModifierData(GpencilModifierData modifier, Material material, char[] layername, char[] materialname, int pass_index, int flag, float[] hsv, char modify_color, char[] _pad, int layer_pass, char[] _pad1, CurveMapping curve_intensity) {
this.modifier = modifier;
this.ptr_material = ptr_material;
this.material = material;
this.layername = layername;
this.materialname = materialname;
this.pass_index = pass_index;
@@ -65,7 +65,7 @@ namespace BlendFile.DNA {
this._pad = _pad;
this.layer_pass = layer_pass;
this._pad1 = _pad1;
this.ptr_curve_intensity = ptr_curve_intensity;
this.curve_intensity = curve_intensity;
}
}
}

View File

@@ -14,8 +14,8 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(170, "ColorManagedColorspaceSettings", 64)]
public struct ColorManagedColorspaceSettings {
[DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false)]
public class ColorManagedColorspaceSettings {
[DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, false, 0)]
public char[] name = new System.Char[64];
public ColorManagedColorspaceSettings() {
this.name = default;

View File

@@ -14,8 +14,8 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(169, "ColorManagedDisplaySettings", 64)]
public struct ColorManagedDisplaySettings {
[DNAFieldAttribute(0, "char", "display_device[64]", "System.Char[]", 64, false)]
public class ColorManagedDisplaySettings {
[DNAArrayAttribute(64, "char", 0, "display_device[64]", "System.Char[]", 64, false, 0)]
public char[] display_device = new System.Char[64];
public ColorManagedDisplaySettings() {
this.display_device = default;

View File

@@ -15,26 +15,26 @@ namespace BlendFile.DNA {
[DNAClassAttribute(168, "ColorManagedViewSettings", 168)]
public class ColorManagedViewSettings {
[DNAFieldAttribute(0, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)]
public int flag;
[DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, false, 4)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(2, "char", "look[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 2, "look[64]", "System.Char[]", 64, false, 8)]
public char[] look = new System.Char[64];
[DNAFieldAttribute(3, "char", "view_transform[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 3, "view_transform[64]", "System.Char[]", 64, false, 72)]
public char[] view_transform = new System.Char[64];
[DNAFieldAttribute(4, "float", "exposure", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "exposure", "float", false, 136)]
public float exposure;
[DNAFieldAttribute(5, "float", "gamma", "float", 4, false)]
[DNAFieldAttribute(4, "float", 5, "gamma", "float", false, 140)]
public float gamma;
[DNAFieldAttribute(6, "float", "temperature", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "temperature", "float", false, 144)]
public float temperature;
[DNAFieldAttribute(7, "float", "tint", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "tint", "float", false, 148)]
public float tint;
[DNAFieldAttribute(8, "CurveMapping", "*curve_mapping", "CurveMapping", 8, true)]
public CurveMapping ptr_curve_mapping;
[DNAFieldAttribute(9, "void", "*_pad2", "void", 8, true)]
public object ptr__pad2;
[DNAFieldAttribute(8, "CurveMapping", 8, "*curve_mapping", "CurveMapping", true, 152)]
public CurveMapping curve_mapping;
[DNAFieldAttribute(8, "void", 9, "*_pad2", "void", true, 160)]
public object _pad2;
public ColorManagedViewSettings() {
this.flag = default;
this._pad = default;
@@ -44,10 +44,10 @@ namespace BlendFile.DNA {
this.gamma = default;
this.temperature = default;
this.tint = default;
this.ptr_curve_mapping = default;
this.ptr__pad2 = default;
this.curve_mapping = default;
this._pad2 = default;
}
public ColorManagedViewSettings(int flag, char[] _pad, char[] look, char[] view_transform, float exposure, float gamma, float temperature, float tint, CurveMapping ptr_curve_mapping, object ptr__pad2) {
public ColorManagedViewSettings(int flag, char[] _pad, char[] look, char[] view_transform, float exposure, float gamma, float temperature, float tint, CurveMapping curve_mapping, object _pad2) {
this.flag = flag;
this._pad = _pad;
this.look = look;
@@ -56,8 +56,8 @@ namespace BlendFile.DNA {
this.gamma = gamma;
this.temperature = temperature;
this.tint = tint;
this.ptr_curve_mapping = ptr_curve_mapping;
this.ptr__pad2 = ptr__pad2;
this.curve_mapping = curve_mapping;
this._pad2 = _pad2;
}
}
}

View File

@@ -14,24 +14,24 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(636, "ColorMapping", 816)]
public struct ColorMapping {
[DNAFieldAttribute(0, "ColorBand", "coba", "ColorBand", 776, false)]
public class ColorMapping {
[DNAFieldAttribute(776, "ColorBand", 0, "coba", "ColorBand", false, 0)]
public ColorBand coba;
[DNAFieldAttribute(1, "float", "bright", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "bright", "float", false, 776)]
public float bright;
[DNAFieldAttribute(2, "float", "contrast", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "contrast", "float", false, 780)]
public float contrast;
[DNAFieldAttribute(3, "float", "saturation", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "saturation", "float", false, 784)]
public float saturation;
[DNAFieldAttribute(4, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 4, "flag", "int", false, 788)]
public int flag;
[DNAFieldAttribute(5, "float", "blend_color[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 5, "blend_color[3]", "System.Single[]", 3, false, 792)]
public float[] blend_color = new System.Single[3];
[DNAFieldAttribute(6, "float", "blend_factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 6, "blend_factor", "float", false, 804)]
public float blend_factor;
[DNAFieldAttribute(7, "int", "blend_type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "blend_type", "int", false, 808)]
public int blend_type;
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, false, 812)]
public char[] _pad = new System.Char[4];
public ColorMapping() {
this.coba = default;

View File

@@ -14,10 +14,10 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(903, "ColorMixVars", 8)]
public struct ColorMixVars {
[DNAFieldAttribute(0, "int", "blend_effect", "int", 4, false)]
public class ColorMixVars {
[DNAFieldAttribute(4, "int", 0, "blend_effect", "int", false, 0)]
public int blend_effect;
[DNAFieldAttribute(1, "float", "factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "factor", "float", false, 4)]
public float factor;
public ColorMixVars() {
this.blend_effect = default;

View File

@@ -14,22 +14,22 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(918, "ColorizeShaderFxData", 192)]
public struct ColorizeShaderFxData {
[DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false)]
public class ColorizeShaderFxData {
[DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)]
public ShaderFxData shaderfx;
[DNAFieldAttribute(1, "int", "mode", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "mode", "int", false, 104)]
public int mode;
[DNAFieldAttribute(2, "float", "low_color[4]", "System.Single[]", 16, false)]
[DNAArrayAttribute(16, "float", 2, "low_color[4]", "System.Single[]", 4, false, 108)]
public float[] low_color = new System.Single[4];
[DNAFieldAttribute(3, "float", "high_color[4]", "System.Single[]", 16, false)]
[DNAArrayAttribute(16, "float", 3, "high_color[4]", "System.Single[]", 4, false, 124)]
public float[] high_color = new System.Single[4];
[DNAFieldAttribute(4, "float", "factor", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "factor", "float", false, 140)]
public float factor;
[DNAFieldAttribute(5, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 5, "flag", "int", false, 144)]
public int flag;
[DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, false, 148)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false)]
[DNAFieldAttribute(40, "ShaderFxData_Runtime", 7, "runtime", "ShaderFxData_Runtime", false, 152)]
public ShaderFxData_Runtime runtime;
public ColorizeShaderFxData() {
this.shaderfx = default;

View File

@@ -15,35 +15,35 @@ namespace BlendFile.DNA {
[DNAClassAttribute(959, "ConsoleLine", 40)]
public class ConsoleLine {
[DNAFieldAttribute(0, "ConsoleLine", "*next", "ConsoleLine", 8, true)]
public ConsoleLine ptr_next;
[DNAFieldAttribute(1, "ConsoleLine", "*prev", "ConsoleLine", 8, true)]
public ConsoleLine ptr_prev;
[DNAFieldAttribute(2, "int", "len_alloc", "int", 4, false)]
[DNAFieldAttribute(8, "ConsoleLine", 0, "*next", "ConsoleLine", true, 0)]
public ConsoleLine next;
[DNAFieldAttribute(8, "ConsoleLine", 1, "*prev", "ConsoleLine", true, 8)]
public ConsoleLine prev;
[DNAFieldAttribute(4, "int", 2, "len_alloc", "int", false, 16)]
public int len_alloc;
[DNAFieldAttribute(3, "int", "len", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "len", "int", false, 20)]
public int len;
[DNAFieldAttribute(4, "char", "*line", "char", 8, true)]
public char ptr_line;
[DNAFieldAttribute(5, "int", "cursor", "int", 4, false)]
[DNAFieldAttribute(8, "char", 4, "*line", "char", true, 24)]
public char line;
[DNAFieldAttribute(4, "int", 5, "cursor", "int", false, 32)]
public int cursor;
[DNAFieldAttribute(6, "int", "type", "int", 4, false)]
[DNAFieldAttribute(4, "int", 6, "type", "int", false, 36)]
public int type;
public ConsoleLine() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.len_alloc = default;
this.len = default;
this.ptr_line = default;
this.line = default;
this.cursor = default;
this.type = default;
}
public ConsoleLine(ConsoleLine ptr_next, ConsoleLine ptr_prev, int len_alloc, int len, char ptr_line, int cursor, int type) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public ConsoleLine(ConsoleLine next, ConsoleLine prev, int len_alloc, int len, char line, int cursor, int type) {
this.next = next;
this.prev = prev;
this.len_alloc = len_alloc;
this.len = len;
this.ptr_line = ptr_line;
this.line = line;
this.cursor = cursor;
this.type = type;
}

View File

@@ -15,21 +15,21 @@ namespace BlendFile.DNA {
[DNAClassAttribute(500, "CorrectiveSmoothDeltaCache", 24)]
public class CorrectiveSmoothDeltaCache {
[DNAFieldAttribute(1, "int", "deltas_num", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "deltas_num", "int", false, 0)]
public int deltas_num;
[DNAFieldAttribute(2, "float", "lambda", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "lambda", "float", false, 4)]
public float lambda;
[DNAFieldAttribute(3, "float", "scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "scale", "float", false, 8)]
public float scale;
[DNAFieldAttribute(4, "short", "repeat", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "repeat", "short", false, 12)]
public short repeat;
[DNAFieldAttribute(5, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 14)]
public short flag;
[DNAFieldAttribute(6, "char", "smooth_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 6, "smooth_type", "char", false, 16)]
public char smooth_type;
[DNAFieldAttribute(7, "char", "rest_source", "char", 1, false)]
[DNAFieldAttribute(1, "char", 7, "rest_source", "char", false, 17)]
public char rest_source;
[DNAFieldAttribute(8, "char", "_pad[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 8, "_pad[6]", "System.Char[]", 6, false, 18)]
public char[] _pad = new System.Char[6];
public CorrectiveSmoothDeltaCache() {
this.deltas_num = default;

View File

@@ -15,27 +15,27 @@ namespace BlendFile.DNA {
[DNAClassAttribute(501, "CorrectiveSmoothModifierData", 240)]
public class CorrectiveSmoothModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(2, "int", "bind_coords_num", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "bind_coords_num", "int", false, 120)]
public int bind_coords_num;
[DNAFieldAttribute(3, "float", "lambda", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "lambda", "float", false, 124)]
public float lambda;
[DNAFieldAttribute(4, "float", "scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "scale", "float", false, 128)]
public float scale;
[DNAFieldAttribute(5, "short", "repeat", "short", 2, false)]
[DNAFieldAttribute(2, "short", 5, "repeat", "short", false, 132)]
public short repeat;
[DNAFieldAttribute(6, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "flag", "short", false, 134)]
public short flag;
[DNAFieldAttribute(7, "char", "smooth_type", "char", 1, false)]
[DNAFieldAttribute(1, "char", 7, "smooth_type", "char", false, 136)]
public char smooth_type;
[DNAFieldAttribute(8, "char", "rest_source", "char", 1, false)]
[DNAFieldAttribute(1, "char", 8, "rest_source", "char", false, 137)]
public char rest_source;
[DNAFieldAttribute(9, "char", "_pad[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 9, "_pad[6]", "System.Char[]", 6, false, 138)]
public char[] _pad = new System.Char[6];
[DNAFieldAttribute(10, "char", "defgrp_name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", 64, false, 144)]
public char[] defgrp_name = new System.Char[64];
[DNAFieldAttribute(11, "CorrectiveSmoothDeltaCache", "delta_cache", "CorrectiveSmoothDeltaCache", 32, false)]
[DNAFieldAttribute(32, "CorrectiveSmoothDeltaCache", 11, "delta_cache", "CorrectiveSmoothDeltaCache", false, 208)]
public CorrectiveSmoothDeltaCache delta_cache;
public CorrectiveSmoothModifierData() {
this.modifier = default;

View File

@@ -15,26 +15,26 @@ namespace BlendFile.DNA {
[DNAClassAttribute(669, "CryptomatteEntry", 88)]
public class CryptomatteEntry {
[DNAFieldAttribute(0, "CryptomatteEntry", "*next", "CryptomatteEntry", 8, true)]
public CryptomatteEntry ptr_next;
[DNAFieldAttribute(1, "CryptomatteEntry", "*prev", "CryptomatteEntry", 8, true)]
public CryptomatteEntry ptr_prev;
[DNAFieldAttribute(2, "float", "encoded_hash", "float", 4, false)]
[DNAFieldAttribute(8, "CryptomatteEntry", 0, "*next", "CryptomatteEntry", true, 0)]
public CryptomatteEntry next;
[DNAFieldAttribute(8, "CryptomatteEntry", 1, "*prev", "CryptomatteEntry", true, 8)]
public CryptomatteEntry prev;
[DNAFieldAttribute(4, "float", 2, "encoded_hash", "float", false, 16)]
public float encoded_hash;
[DNAFieldAttribute(3, "char", "name[64]", "System.Char[]", 64, false)]
[DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, false, 20)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, false, 84)]
public char[] _pad = new System.Char[4];
public CryptomatteEntry() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.encoded_hash = default;
this.name = default;
this._pad = default;
}
public CryptomatteEntry(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, float encoded_hash, char[] name, char[] _pad) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public CryptomatteEntry(CryptomatteEntry next, CryptomatteEntry prev, float encoded_hash, char[] name, char[] _pad) {
this.next = next;
this.prev = prev;
this.encoded_hash = encoded_hash;
this.name = name;
this._pad = _pad;

View File

@@ -15,20 +15,20 @@ namespace BlendFile.DNA {
[DNAClassAttribute(670, "CryptomatteLayer", 80)]
public class CryptomatteLayer {
[DNAFieldAttribute(0, "CryptomatteEntry", "*next", "CryptomatteEntry", 8, true)]
public CryptomatteEntry ptr_next;
[DNAFieldAttribute(1, "CryptomatteEntry", "*prev", "CryptomatteEntry", 8, true)]
public CryptomatteEntry ptr_prev;
[DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "CryptomatteEntry", 0, "*next", "CryptomatteEntry", true, 0)]
public CryptomatteEntry next;
[DNAFieldAttribute(8, "CryptomatteEntry", 1, "*prev", "CryptomatteEntry", true, 8)]
public CryptomatteEntry prev;
[DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, false, 16)]
public char[] name = new System.Char[64];
public CryptomatteLayer() {
this.ptr_next = default;
this.ptr_prev = default;
this.next = default;
this.prev = default;
this.name = default;
}
public CryptomatteLayer(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, char[] name) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
public CryptomatteLayer(CryptomatteEntry next, CryptomatteEntry prev, char[] name) {
this.next = next;
this.prev = prev;
this.name = name;
}
}

View File

@@ -15,172 +15,172 @@ namespace BlendFile.DNA {
[DNAClassAttribute(210, "Curve", 640)]
public class Curve {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "ListBase", "nurb", "ListBase", 16, false)]
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(16, "ListBase", 2, "nurb", "ListBase", false, 216)]
public ListBase nurb;
[DNAFieldAttribute(3, "EditNurb", "*editnurb", "EditNurb", 8, true)]
public EditNurb ptr_editnurb;
[DNAFieldAttribute(4, "Object", "*bevobj", "Object", 8, true)]
public Object ptr_bevobj;
[DNAFieldAttribute(5, "Object", "*taperobj", "Object", 8, true)]
public Object ptr_taperobj;
[DNAFieldAttribute(6, "Object", "*textoncurve", "Object", 8, true)]
public Object ptr_textoncurve;
[DNAFieldAttribute(7, "Ipo", "*ipo", "Ipo", 8, true)]
public Ipo ptr_ipo;
[DNAFieldAttribute(8, "Key", "*key", "Key", 8, true)]
public Key ptr_key;
[DNAFieldAttribute(9, "Material", "**mat", "Material", 8, true)]
public Material ptr_ptr_mat;
[DNAFieldAttribute(10, "CurveProfile", "*bevel_profile", "CurveProfile", 8, true)]
public CurveProfile ptr_bevel_profile;
[DNAFieldAttribute(11, "float", "loc[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(8, "EditNurb", 3, "*editnurb", "EditNurb", true, 232)]
public EditNurb editnurb;
[DNAFieldAttribute(8, "Object", 4, "*bevobj", "Object", true, 240)]
public Object bevobj;
[DNAFieldAttribute(8, "Object", 5, "*taperobj", "Object", true, 248)]
public Object taperobj;
[DNAFieldAttribute(8, "Object", 6, "*textoncurve", "Object", true, 256)]
public Object textoncurve;
[DNAFieldAttribute(8, "Ipo", 7, "*ipo", "Ipo", true, 264)]
public Ipo ipo;
[DNAFieldAttribute(8, "Key", 8, "*key", "Key", true, 272)]
public Key key;
[DNAFieldAttribute(8, "Material", 9, "**mat", "Material", true, 280)]
public Material mat;
[DNAFieldAttribute(8, "CurveProfile", 10, "*bevel_profile", "CurveProfile", true, 288)]
public CurveProfile bevel_profile;
[DNAArrayAttribute(12, "float", 11, "loc[3]", "System.Single[]", 3, false, 296)]
public float[] loc = new System.Single[3];
[DNAFieldAttribute(12, "float", "size[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 12, "size[3]", "System.Single[]", 3, false, 308)]
public float[] size = new System.Single[3];
[DNAFieldAttribute(13, "short", "type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 13, "type", "short", false, 320)]
public short type;
[DNAFieldAttribute(14, "char", "texflag", "char", 1, false)]
[DNAFieldAttribute(1, "char", 14, "texflag", "char", false, 322)]
public char texflag;
[DNAFieldAttribute(15, "char", "_pad0[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 15, "_pad0[7]", "System.Char[]", 7, false, 323)]
public char[] _pad0 = new System.Char[7];
[DNAFieldAttribute(16, "short", "twist_mode", "short", 2, false)]
[DNAFieldAttribute(2, "short", 16, "twist_mode", "short", false, 330)]
public short twist_mode;
[DNAFieldAttribute(17, "float", "twist_smooth", "float", 4, false)]
[DNAFieldAttribute(4, "float", 17, "twist_smooth", "float", false, 332)]
public float twist_smooth;
[DNAFieldAttribute(18, "float", "smallcaps_scale", "float", 4, false)]
[DNAFieldAttribute(4, "float", 18, "smallcaps_scale", "float", false, 336)]
public float smallcaps_scale;
[DNAFieldAttribute(19, "int", "pathlen", "int", 4, false)]
[DNAFieldAttribute(4, "int", 19, "pathlen", "int", false, 340)]
public int pathlen;
[DNAFieldAttribute(20, "short", "bevresol", "short", 2, false)]
[DNAFieldAttribute(2, "short", 20, "bevresol", "short", false, 344)]
public short bevresol;
[DNAFieldAttribute(21, "short", "totcol", "short", 2, false)]
[DNAFieldAttribute(2, "short", 21, "totcol", "short", false, 346)]
public short totcol;
[DNAFieldAttribute(22, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(4, "int", 22, "flag", "int", false, 348)]
public int flag;
[DNAFieldAttribute(23, "float", "width", "float", 4, false)]
[DNAFieldAttribute(4, "float", 23, "width", "float", false, 352)]
public float width;
[DNAFieldAttribute(24, "float", "ext1", "float", 4, false)]
[DNAFieldAttribute(4, "float", 24, "ext1", "float", false, 356)]
public float ext1;
[DNAFieldAttribute(25, "float", "ext2", "float", 4, false)]
[DNAFieldAttribute(4, "float", 25, "ext2", "float", false, 360)]
public float ext2;
[DNAFieldAttribute(26, "short", "resolu", "short", 2, false)]
[DNAFieldAttribute(2, "short", 26, "resolu", "short", false, 364)]
public short resolu;
[DNAFieldAttribute(27, "short", "resolv", "short", 2, false)]
[DNAFieldAttribute(2, "short", 27, "resolv", "short", false, 366)]
public short resolv;
[DNAFieldAttribute(28, "short", "resolu_ren", "short", 2, false)]
[DNAFieldAttribute(2, "short", 28, "resolu_ren", "short", false, 368)]
public short resolu_ren;
[DNAFieldAttribute(29, "short", "resolv_ren", "short", 2, false)]
[DNAFieldAttribute(2, "short", 29, "resolv_ren", "short", false, 370)]
public short resolv_ren;
[DNAFieldAttribute(30, "int", "actnu", "int", 4, false)]
[DNAFieldAttribute(4, "int", 30, "actnu", "int", false, 372)]
public int actnu;
[DNAFieldAttribute(31, "int", "actvert", "int", 4, false)]
[DNAFieldAttribute(4, "int", 31, "actvert", "int", false, 376)]
public int actvert;
[DNAFieldAttribute(32, "char", "overflow", "char", 1, false)]
[DNAFieldAttribute(1, "char", 32, "overflow", "char", false, 380)]
public char overflow;
[DNAFieldAttribute(33, "char", "spacemode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 33, "spacemode", "char", false, 381)]
public char spacemode;
[DNAFieldAttribute(34, "char", "align_y", "char", 1, false)]
[DNAFieldAttribute(1, "char", 34, "align_y", "char", false, 382)]
public char align_y;
[DNAFieldAttribute(35, "char", "bevel_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 35, "bevel_mode", "char", false, 383)]
public char bevel_mode;
[DNAFieldAttribute(36, "char", "taper_radius_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 36, "taper_radius_mode", "char", false, 384)]
public char taper_radius_mode;
[DNAFieldAttribute(37, "char", "_pad", "char", 1, false)]
[DNAFieldAttribute(1, "char", 37, "_pad", "char", false, 385)]
public char _pad;
[DNAFieldAttribute(38, "short", "lines", "short", 2, false)]
[DNAFieldAttribute(2, "short", 38, "lines", "short", false, 386)]
public short lines;
[DNAFieldAttribute(39, "float", "spacing", "float", 4, false)]
[DNAFieldAttribute(4, "float", 39, "spacing", "float", false, 388)]
public float spacing;
[DNAFieldAttribute(40, "float", "linedist", "float", 4, false)]
[DNAFieldAttribute(4, "float", 40, "linedist", "float", false, 392)]
public float linedist;
[DNAFieldAttribute(41, "float", "shear", "float", 4, false)]
[DNAFieldAttribute(4, "float", 41, "shear", "float", false, 396)]
public float shear;
[DNAFieldAttribute(42, "float", "fsize", "float", 4, false)]
[DNAFieldAttribute(4, "float", 42, "fsize", "float", false, 400)]
public float fsize;
[DNAFieldAttribute(43, "float", "wordspace", "float", 4, false)]
[DNAFieldAttribute(4, "float", 43, "wordspace", "float", false, 404)]
public float wordspace;
[DNAFieldAttribute(44, "float", "ulpos", "float", 4, false)]
[DNAFieldAttribute(4, "float", 44, "ulpos", "float", false, 408)]
public float ulpos;
[DNAFieldAttribute(45, "float", "ulheight", "float", 4, false)]
[DNAFieldAttribute(4, "float", 45, "ulheight", "float", false, 412)]
public float ulheight;
[DNAFieldAttribute(46, "float", "xof", "float", 4, false)]
[DNAFieldAttribute(4, "float", 46, "xof", "float", false, 416)]
public float xof;
[DNAFieldAttribute(47, "float", "yof", "float", 4, false)]
[DNAFieldAttribute(4, "float", 47, "yof", "float", false, 420)]
public float yof;
[DNAFieldAttribute(48, "float", "linewidth", "float", 4, false)]
[DNAFieldAttribute(4, "float", 48, "linewidth", "float", false, 424)]
public float linewidth;
[DNAFieldAttribute(49, "int", "pos", "int", 4, false)]
[DNAFieldAttribute(4, "int", 49, "pos", "int", false, 428)]
public int pos;
[DNAFieldAttribute(50, "int", "selstart", "int", 4, false)]
[DNAFieldAttribute(4, "int", 50, "selstart", "int", false, 432)]
public int selstart;
[DNAFieldAttribute(51, "int", "selend", "int", 4, false)]
[DNAFieldAttribute(4, "int", 51, "selend", "int", false, 436)]
public int selend;
[DNAFieldAttribute(52, "int", "len_wchar", "int", 4, false)]
[DNAFieldAttribute(4, "int", 52, "len_wchar", "int", false, 440)]
public int len_wchar;
[DNAFieldAttribute(53, "int", "len", "int", 4, false)]
[DNAFieldAttribute(4, "int", 53, "len", "int", false, 444)]
public int len;
[DNAFieldAttribute(54, "char", "*str", "char", 8, true)]
public char ptr_str;
[DNAFieldAttribute(55, "EditFont", "*editfont", "EditFont", 8, true)]
public EditFont ptr_editfont;
[DNAFieldAttribute(56, "char", "family[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "char", 54, "*str", "char", true, 448)]
public char str;
[DNAFieldAttribute(8, "EditFont", 55, "*editfont", "EditFont", true, 456)]
public EditFont editfont;
[DNAArrayAttribute(64, "char", 56, "family[64]", "System.Char[]", 64, false, 464)]
public char[] family = new System.Char[64];
[DNAFieldAttribute(57, "VFont", "*vfont", "VFont", 8, true)]
public VFont ptr_vfont;
[DNAFieldAttribute(58, "VFont", "*vfontb", "VFont", 8, true)]
public VFont ptr_vfontb;
[DNAFieldAttribute(59, "VFont", "*vfonti", "VFont", 8, true)]
public VFont ptr_vfonti;
[DNAFieldAttribute(60, "VFont", "*vfontbi", "VFont", 8, true)]
public VFont ptr_vfontbi;
[DNAFieldAttribute(61, "TextBox", "*tb", "TextBox", 8, true)]
public TextBox ptr_tb;
[DNAFieldAttribute(62, "int", "totbox", "int", 4, false)]
[DNAFieldAttribute(8, "VFont", 57, "*vfont", "VFont", true, 528)]
public VFont vfont;
[DNAFieldAttribute(8, "VFont", 58, "*vfontb", "VFont", true, 536)]
public VFont vfontb;
[DNAFieldAttribute(8, "VFont", 59, "*vfonti", "VFont", true, 544)]
public VFont vfonti;
[DNAFieldAttribute(8, "VFont", 60, "*vfontbi", "VFont", true, 552)]
public VFont vfontbi;
[DNAFieldAttribute(8, "TextBox", 61, "*tb", "TextBox", true, 560)]
public TextBox tb;
[DNAFieldAttribute(4, "int", 62, "totbox", "int", false, 568)]
public int totbox;
[DNAFieldAttribute(63, "int", "actbox", "int", 4, false)]
[DNAFieldAttribute(4, "int", 63, "actbox", "int", false, 572)]
public int actbox;
[DNAFieldAttribute(64, "CharInfo", "*strinfo", "CharInfo", 8, true)]
public CharInfo ptr_strinfo;
[DNAFieldAttribute(65, "CharInfo", "curinfo", "CharInfo", 8, false)]
[DNAFieldAttribute(8, "CharInfo", 64, "*strinfo", "CharInfo", true, 576)]
public CharInfo strinfo;
[DNAFieldAttribute(8, "CharInfo", 65, "curinfo", "CharInfo", false, 584)]
public CharInfo curinfo;
[DNAFieldAttribute(66, "float", "ctime", "float", 4, false)]
[DNAFieldAttribute(4, "float", 66, "ctime", "float", false, 592)]
public float ctime;
[DNAFieldAttribute(67, "float", "bevfac1", "float", 4, false)]
[DNAFieldAttribute(4, "float", 67, "bevfac1", "float", false, 596)]
public float bevfac1;
[DNAFieldAttribute(68, "float", "bevfac2", "float", 4, false)]
[DNAFieldAttribute(4, "float", 68, "bevfac2", "float", false, 600)]
public float bevfac2;
[DNAFieldAttribute(69, "char", "bevfac1_mapping", "char", 1, false)]
[DNAFieldAttribute(1, "char", 69, "bevfac1_mapping", "char", false, 604)]
public char bevfac1_mapping;
[DNAFieldAttribute(70, "char", "bevfac2_mapping", "char", 1, false)]
[DNAFieldAttribute(1, "char", 70, "bevfac2_mapping", "char", false, 605)]
public char bevfac2_mapping;
[DNAFieldAttribute(71, "char", "_pad2[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 71, "_pad2[6]", "System.Char[]", 6, false, 606)]
public char[] _pad2 = new System.Char[6];
[DNAFieldAttribute(72, "float", "fsize_realtime", "float", 4, false)]
[DNAFieldAttribute(4, "float", 72, "fsize_realtime", "float", false, 612)]
public float fsize_realtime;
[DNAFieldAttribute(73, "Curves", "*curve_eval", "Curves", 8, true)]
public Curves ptr_curve_eval;
[DNAFieldAttribute(74, "char", "edit_data_from_original", "char", 1, false)]
[DNAFieldAttribute(8, "Curves", 73, "*curve_eval", "Curves", true, 616)]
public Curves curve_eval;
[DNAFieldAttribute(1, "char", 74, "edit_data_from_original", "char", false, 624)]
public char edit_data_from_original;
[DNAFieldAttribute(75, "char", "_pad3[7]", "System.Char[]", 7, false)]
[DNAArrayAttribute(7, "char", 75, "_pad3[7]", "System.Char[]", 7, false, 625)]
public char[] _pad3 = new System.Char[7];
[DNAFieldAttribute(76, "void", "*batch_cache", "void", 8, true)]
public object ptr_batch_cache;
[DNAFieldAttribute(8, "void", 76, "*batch_cache", "void", true, 632)]
public object batch_cache;
public Curve() {
this.id = default;
this.ptr_adt = default;
this.adt = default;
this.nurb = default;
this.ptr_editnurb = default;
this.ptr_bevobj = default;
this.ptr_taperobj = default;
this.ptr_textoncurve = default;
this.ptr_ipo = default;
this.ptr_key = default;
this.ptr_ptr_mat = default;
this.ptr_bevel_profile = default;
this.editnurb = default;
this.bevobj = default;
this.taperobj = default;
this.textoncurve = default;
this.ipo = default;
this.key = default;
this.mat = default;
this.bevel_profile = default;
this.loc = default;
this.size = default;
this.type = default;
@@ -224,17 +224,17 @@ namespace BlendFile.DNA {
this.selend = default;
this.len_wchar = default;
this.len = default;
this.ptr_str = default;
this.ptr_editfont = default;
this.str = default;
this.editfont = default;
this.family = default;
this.ptr_vfont = default;
this.ptr_vfontb = default;
this.ptr_vfonti = default;
this.ptr_vfontbi = default;
this.ptr_tb = default;
this.vfont = default;
this.vfontb = default;
this.vfonti = default;
this.vfontbi = default;
this.tb = default;
this.totbox = default;
this.actbox = default;
this.ptr_strinfo = default;
this.strinfo = default;
this.curinfo = default;
this.ctime = default;
this.bevfac1 = default;
@@ -243,23 +243,23 @@ namespace BlendFile.DNA {
this.bevfac2_mapping = default;
this._pad2 = default;
this.fsize_realtime = default;
this.ptr_curve_eval = default;
this.curve_eval = default;
this.edit_data_from_original = default;
this._pad3 = default;
this.ptr_batch_cache = default;
this.batch_cache = default;
}
public Curve(
ID id,
AnimData ptr_adt,
AnimData adt,
ListBase nurb,
EditNurb ptr_editnurb,
Object ptr_bevobj,
Object ptr_taperobj,
Object ptr_textoncurve,
Ipo ptr_ipo,
Key ptr_key,
Material ptr_ptr_mat,
CurveProfile ptr_bevel_profile,
EditNurb editnurb,
Object bevobj,
Object taperobj,
Object textoncurve,
Ipo ipo,
Key key,
Material mat,
CurveProfile bevel_profile,
float[] loc,
float[] size,
short type,
@@ -303,17 +303,17 @@ namespace BlendFile.DNA {
int selend,
int len_wchar,
int len,
char ptr_str,
EditFont ptr_editfont,
char str,
EditFont editfont,
char[] family,
VFont ptr_vfont,
VFont ptr_vfontb,
VFont ptr_vfonti,
VFont ptr_vfontbi,
TextBox ptr_tb,
VFont vfont,
VFont vfontb,
VFont vfonti,
VFont vfontbi,
TextBox tb,
int totbox,
int actbox,
CharInfo ptr_strinfo,
CharInfo strinfo,
CharInfo curinfo,
float ctime,
float bevfac1,
@@ -322,21 +322,21 @@ namespace BlendFile.DNA {
char bevfac2_mapping,
char[] _pad2,
float fsize_realtime,
Curves ptr_curve_eval,
Curves curve_eval,
char edit_data_from_original,
char[] _pad3,
object ptr_batch_cache) {
object batch_cache) {
this.id = id;
this.ptr_adt = ptr_adt;
this.adt = adt;
this.nurb = nurb;
this.ptr_editnurb = ptr_editnurb;
this.ptr_bevobj = ptr_bevobj;
this.ptr_taperobj = ptr_taperobj;
this.ptr_textoncurve = ptr_textoncurve;
this.ptr_ipo = ptr_ipo;
this.ptr_key = ptr_key;
this.ptr_ptr_mat = ptr_ptr_mat;
this.ptr_bevel_profile = ptr_bevel_profile;
this.editnurb = editnurb;
this.bevobj = bevobj;
this.taperobj = taperobj;
this.textoncurve = textoncurve;
this.ipo = ipo;
this.key = key;
this.mat = mat;
this.bevel_profile = bevel_profile;
this.loc = loc;
this.size = size;
this.type = type;
@@ -380,17 +380,17 @@ namespace BlendFile.DNA {
this.selend = selend;
this.len_wchar = len_wchar;
this.len = len;
this.ptr_str = ptr_str;
this.ptr_editfont = ptr_editfont;
this.str = str;
this.editfont = editfont;
this.family = family;
this.ptr_vfont = ptr_vfont;
this.ptr_vfontb = ptr_vfontb;
this.ptr_vfonti = ptr_vfonti;
this.ptr_vfontbi = ptr_vfontbi;
this.ptr_tb = ptr_tb;
this.vfont = vfont;
this.vfontb = vfontb;
this.vfonti = vfonti;
this.vfontbi = vfontbi;
this.tb = tb;
this.totbox = totbox;
this.actbox = actbox;
this.ptr_strinfo = ptr_strinfo;
this.strinfo = strinfo;
this.curinfo = curinfo;
this.ctime = ctime;
this.bevfac1 = bevfac1;
@@ -399,10 +399,10 @@ namespace BlendFile.DNA {
this.bevfac2_mapping = bevfac2_mapping;
this._pad2 = _pad2;
this.fsize_realtime = fsize_realtime;
this.ptr_curve_eval = ptr_curve_eval;
this.curve_eval = curve_eval;
this.edit_data_from_original = edit_data_from_original;
this._pad3 = _pad3;
this.ptr_batch_cache = ptr_batch_cache;
this.batch_cache = batch_cache;
}
}
}

View File

@@ -15,33 +15,33 @@ namespace BlendFile.DNA {
[DNAClassAttribute(165, "CurveMap", 80)]
public class CurveMap {
[DNAFieldAttribute(0, "short", "totpoint", "short", 2, false)]
[DNAFieldAttribute(2, "short", 0, "totpoint", "short", false, 0)]
public short totpoint;
[DNAFieldAttribute(1, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "flag", "short", false, 2)]
public short flag;
[DNAFieldAttribute(2, "float", "range", "float", 4, false)]
[DNAFieldAttribute(4, "float", 2, "range", "float", false, 4)]
public float range;
[DNAFieldAttribute(3, "float", "mintable", "float", 4, false)]
[DNAFieldAttribute(4, "float", 3, "mintable", "float", false, 8)]
public float mintable;
[DNAFieldAttribute(4, "float", "maxtable", "float", 4, false)]
[DNAFieldAttribute(4, "float", 4, "maxtable", "float", false, 12)]
public float maxtable;
[DNAFieldAttribute(5, "float", "ext_in[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 5, "ext_in[2]", "System.Single[]", 2, false, 16)]
public float[] ext_in = new System.Single[2];
[DNAFieldAttribute(6, "float", "ext_out[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 6, "ext_out[2]", "System.Single[]", 2, false, 24)]
public float[] ext_out = new System.Single[2];
[DNAFieldAttribute(7, "CurveMapPoint", "*curve", "CurveMapPoint", 8, true)]
public CurveMapPoint ptr_curve;
[DNAFieldAttribute(8, "CurveMapPoint", "*table", "CurveMapPoint", 8, true)]
public CurveMapPoint ptr_table;
[DNAFieldAttribute(9, "CurveMapPoint", "*premultable", "CurveMapPoint", 8, true)]
public CurveMapPoint ptr_premultable;
[DNAFieldAttribute(10, "float", "premul_ext_in[2]", "System.Single[]", 8, false)]
[DNAFieldAttribute(8, "CurveMapPoint", 7, "*curve", "CurveMapPoint", true, 32)]
public CurveMapPoint curve;
[DNAFieldAttribute(8, "CurveMapPoint", 8, "*table", "CurveMapPoint", true, 40)]
public CurveMapPoint table;
[DNAFieldAttribute(8, "CurveMapPoint", 9, "*premultable", "CurveMapPoint", true, 48)]
public CurveMapPoint premultable;
[DNAArrayAttribute(8, "float", 10, "premul_ext_in[2]", "System.Single[]", 2, false, 56)]
public float[] premul_ext_in = new System.Single[2];
[DNAFieldAttribute(11, "float", "premul_ext_out[2]", "System.Single[]", 8, false)]
[DNAArrayAttribute(8, "float", 11, "premul_ext_out[2]", "System.Single[]", 2, false, 64)]
public float[] premul_ext_out = new System.Single[2];
[DNAFieldAttribute(12, "short", "default_handle_type", "short", 2, false)]
[DNAFieldAttribute(2, "short", 12, "default_handle_type", "short", false, 72)]
public short default_handle_type;
[DNAFieldAttribute(13, "char", "_pad[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 13, "_pad[6]", "System.Char[]", 6, false, 74)]
public char[] _pad = new System.Char[6];
public CurveMap() {
this.totpoint = default;
@@ -51,15 +51,15 @@ namespace BlendFile.DNA {
this.maxtable = default;
this.ext_in = default;
this.ext_out = default;
this.ptr_curve = default;
this.ptr_table = default;
this.ptr_premultable = default;
this.curve = default;
this.table = default;
this.premultable = default;
this.premul_ext_in = default;
this.premul_ext_out = default;
this.default_handle_type = default;
this._pad = default;
}
public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint ptr_curve, CurveMapPoint ptr_table, CurveMapPoint ptr_premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) {
public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint curve, CurveMapPoint table, CurveMapPoint premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) {
this.totpoint = totpoint;
this.flag = flag;
this.range = range;
@@ -67,9 +67,9 @@ namespace BlendFile.DNA {
this.maxtable = maxtable;
this.ext_in = ext_in;
this.ext_out = ext_out;
this.ptr_curve = ptr_curve;
this.ptr_table = ptr_table;
this.ptr_premultable = ptr_premultable;
this.curve = curve;
this.table = table;
this.premultable = premultable;
this.premul_ext_in = premul_ext_in;
this.premul_ext_out = premul_ext_out;
this.default_handle_type = default_handle_type;

View File

@@ -14,14 +14,14 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(164, "CurveMapPoint", 12)]
public struct CurveMapPoint {
[DNAFieldAttribute(0, "float", "x", "float", 4, false)]
public class CurveMapPoint {
[DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)]
public float x;
[DNAFieldAttribute(1, "float", "y", "float", 4, false)]
[DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)]
public float y;
[DNAFieldAttribute(2, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 2, "flag", "short", false, 8)]
public short flag;
[DNAFieldAttribute(3, "short", "shorty", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "shorty", "short", false, 10)]
public short shorty;
public CurveMapPoint() {
this.x = default;

View File

@@ -14,32 +14,32 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(128, "CurveMapping", 424)]
public struct CurveMapping {
[DNAFieldAttribute(0, "int", "flag", "int", 4, false)]
public class CurveMapping {
[DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)]
public int flag;
[DNAFieldAttribute(1, "int", "cur", "int", 4, false)]
[DNAFieldAttribute(4, "int", 1, "cur", "int", false, 4)]
public int cur;
[DNAFieldAttribute(2, "int", "preset", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "preset", "int", false, 8)]
public int preset;
[DNAFieldAttribute(3, "int", "changed_timestamp", "int", 4, false)]
[DNAFieldAttribute(4, "int", 3, "changed_timestamp", "int", false, 12)]
public int changed_timestamp;
[DNAFieldAttribute(4, "rctf", "curr", "rctf", 16, false)]
[DNAFieldAttribute(16, "rctf", 4, "curr", "rctf", false, 16)]
public rctf curr;
[DNAFieldAttribute(5, "rctf", "clipr", "rctf", 16, false)]
[DNAFieldAttribute(16, "rctf", 5, "clipr", "rctf", false, 32)]
public rctf clipr;
[DNAFieldAttribute(6, "CurveMap", "cm[4]", "CurveMap[]", 320, false)]
[DNAArrayAttribute(320, "CurveMap", 6, "cm[4]", "CurveMap[]", 4, false, 48)]
public CurveMap[] cm = new CurveMap[4];
[DNAFieldAttribute(7, "float", "black[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 7, "black[3]", "System.Single[]", 3, false, 368)]
public float[] black = new System.Single[3];
[DNAFieldAttribute(8, "float", "white[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 8, "white[3]", "System.Single[]", 3, false, 380)]
public float[] white = new System.Single[3];
[DNAFieldAttribute(9, "float", "bwmul[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 9, "bwmul[3]", "System.Single[]", 3, false, 392)]
public float[] bwmul = new System.Single[3];
[DNAFieldAttribute(10, "float", "sample[3]", "System.Single[]", 12, false)]
[DNAArrayAttribute(12, "float", 10, "sample[3]", "System.Single[]", 3, false, 404)]
public float[] sample = new System.Single[3];
[DNAFieldAttribute(11, "short", "tone", "short", 2, false)]
[DNAFieldAttribute(2, "short", 11, "tone", "short", false, 416)]
public short tone;
[DNAFieldAttribute(12, "char", "_pad[6]", "System.Char[]", 6, false)]
[DNAArrayAttribute(6, "char", 12, "_pad[6]", "System.Char[]", 6, false, 418)]
public char[] _pad = new System.Char[6];
public CurveMapping() {
this.flag = default;

View File

@@ -15,37 +15,37 @@ namespace BlendFile.DNA {
[DNAClassAttribute(448, "CurveModifierData", 208)]
public class CurveModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "Object", "*object", "Object", 8, true)]
public Object ptr_object;
[DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false)]
[DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)]
public Object @object;
[DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, false, 128)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(3, "short", "defaxis", "short", 2, false)]
[DNAFieldAttribute(2, "short", 3, "defaxis", "short", false, 192)]
public short defaxis;
[DNAFieldAttribute(4, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)]
public short flag;
[DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, false, 196)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true)]
public object ptr__pad1;
[DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)]
public object _pad1;
public CurveModifierData() {
this.modifier = default;
this.ptr_object = default;
this.@object = default;
this.name = default;
this.defaxis = default;
this.flag = default;
this._pad = default;
this.ptr__pad1 = default;
this._pad1 = default;
}
public CurveModifierData(ModifierData modifier, Object ptr_object, char[] name, short defaxis, short flag, char[] _pad, object ptr__pad1) {
public CurveModifierData(ModifierData modifier, Object @object, char[] name, short defaxis, short flag, char[] _pad, object _pad1) {
this.modifier = modifier;
this.ptr_object = ptr_object;
this.@object = @object;
this.name = name;
this.defaxis = defaxis;
this.flag = flag;
this._pad = _pad;
this.ptr__pad1 = ptr__pad1;
this._pad1 = _pad1;
}
}
}

View File

@@ -14,32 +14,32 @@ namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(825, "CurvePaintSettings", 32)]
public struct CurvePaintSettings {
[DNAFieldAttribute(0, "char", "curve_type", "char", 1, false)]
public class CurvePaintSettings {
[DNAFieldAttribute(1, "char", 0, "curve_type", "char", false, 0)]
public char curve_type;
[DNAFieldAttribute(1, "char", "flag", "char", 1, false)]
[DNAFieldAttribute(1, "char", 1, "flag", "char", false, 1)]
public char flag;
[DNAFieldAttribute(2, "char", "depth_mode", "char", 1, false)]
[DNAFieldAttribute(1, "char", 2, "depth_mode", "char", false, 2)]
public char depth_mode;
[DNAFieldAttribute(3, "char", "surface_plane", "char", 1, false)]
[DNAFieldAttribute(1, "char", 3, "surface_plane", "char", false, 3)]
public char surface_plane;
[DNAFieldAttribute(4, "char", "fit_method", "char", 1, false)]
[DNAFieldAttribute(1, "char", 4, "fit_method", "char", false, 4)]
public char fit_method;
[DNAFieldAttribute(5, "char", "_pad", "char", 1, false)]
[DNAFieldAttribute(1, "char", 5, "_pad", "char", false, 5)]
public char _pad;
[DNAFieldAttribute(6, "short", "error_threshold", "short", 2, false)]
[DNAFieldAttribute(2, "short", 6, "error_threshold", "short", false, 6)]
public short error_threshold;
[DNAFieldAttribute(7, "float", "radius_min", "float", 4, false)]
[DNAFieldAttribute(4, "float", 7, "radius_min", "float", false, 8)]
public float radius_min;
[DNAFieldAttribute(8, "float", "radius_max", "float", 4, false)]
[DNAFieldAttribute(4, "float", 8, "radius_max", "float", false, 12)]
public float radius_max;
[DNAFieldAttribute(9, "float", "radius_taper_start", "float", 4, false)]
[DNAFieldAttribute(4, "float", 9, "radius_taper_start", "float", false, 16)]
public float radius_taper_start;
[DNAFieldAttribute(10, "float", "radius_taper_end", "float", 4, false)]
[DNAFieldAttribute(4, "float", 10, "radius_taper_end", "float", false, 20)]
public float radius_taper_end;
[DNAFieldAttribute(11, "float", "surface_offset", "float", 4, false)]
[DNAFieldAttribute(4, "float", 11, "surface_offset", "float", false, 24)]
public float surface_offset;
[DNAFieldAttribute(12, "float", "corner_angle", "float", 4, false)]
[DNAFieldAttribute(4, "float", 12, "corner_angle", "float", false, 28)]
public float corner_angle;
public CurvePaintSettings() {
this.curve_type = default;

View File

@@ -15,45 +15,45 @@ namespace BlendFile.DNA {
[DNAClassAttribute(213, "CurveProfile", 72)]
public class CurveProfile {
[DNAFieldAttribute(0, "short", "path_len", "short", 2, false)]
[DNAFieldAttribute(2, "short", 0, "path_len", "short", false, 0)]
public short path_len;
[DNAFieldAttribute(1, "short", "segments_len", "short", 2, false)]
[DNAFieldAttribute(2, "short", 1, "segments_len", "short", false, 2)]
public short segments_len;
[DNAFieldAttribute(2, "int", "preset", "int", 4, false)]
[DNAFieldAttribute(4, "int", 2, "preset", "int", false, 4)]
public int preset;
[DNAFieldAttribute(3, "CurveProfilePoint", "*path", "CurveProfilePoint", 8, true)]
public CurveProfilePoint ptr_path;
[DNAFieldAttribute(4, "CurveProfilePoint", "*table", "CurveProfilePoint", 8, true)]
public CurveProfilePoint ptr_table;
[DNAFieldAttribute(5, "CurveProfilePoint", "*segments", "CurveProfilePoint", 8, true)]
public CurveProfilePoint ptr_segments;
[DNAFieldAttribute(6, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(8, "CurveProfilePoint", 3, "*path", "CurveProfilePoint", true, 8)]
public CurveProfilePoint path;
[DNAFieldAttribute(8, "CurveProfilePoint", 4, "*table", "CurveProfilePoint", true, 16)]
public CurveProfilePoint table;
[DNAFieldAttribute(8, "CurveProfilePoint", 5, "*segments", "CurveProfilePoint", true, 24)]
public CurveProfilePoint segments;
[DNAFieldAttribute(4, "int", 6, "flag", "int", false, 32)]
public int flag;
[DNAFieldAttribute(7, "int", "changed_timestamp", "int", 4, false)]
[DNAFieldAttribute(4, "int", 7, "changed_timestamp", "int", false, 36)]
public int changed_timestamp;
[DNAFieldAttribute(8, "rctf", "view_rect", "rctf", 16, false)]
[DNAFieldAttribute(16, "rctf", 8, "view_rect", "rctf", false, 40)]
public rctf view_rect;
[DNAFieldAttribute(9, "rctf", "clip_rect", "rctf", 16, false)]
[DNAFieldAttribute(16, "rctf", 9, "clip_rect", "rctf", false, 56)]
public rctf clip_rect;
public CurveProfile() {
this.path_len = default;
this.segments_len = default;
this.preset = default;
this.ptr_path = default;
this.ptr_table = default;
this.ptr_segments = default;
this.path = default;
this.table = default;
this.segments = default;
this.flag = default;
this.changed_timestamp = default;
this.view_rect = default;
this.clip_rect = default;
}
public CurveProfile(short path_len, short segments_len, int preset, CurveProfilePoint ptr_path, CurveProfilePoint ptr_table, CurveProfilePoint ptr_segments, int flag, int changed_timestamp, rctf view_rect, rctf clip_rect) {
public CurveProfile(short path_len, short segments_len, int preset, CurveProfilePoint path, CurveProfilePoint table, CurveProfilePoint segments, int flag, int changed_timestamp, rctf view_rect, rctf clip_rect) {
this.path_len = path_len;
this.segments_len = segments_len;
this.preset = preset;
this.ptr_path = ptr_path;
this.ptr_table = ptr_table;
this.ptr_segments = ptr_segments;
this.path = path;
this.table = table;
this.segments = segments;
this.flag = flag;
this.changed_timestamp = changed_timestamp;
this.view_rect = view_rect;

Some files were not shown because too many files have changed in this diff Show More