Compare commits
83 Commits
439cea385f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc53e27647 | ||
|
|
3657d34746 | ||
|
|
eb76262e42 | ||
|
|
679f15bce0 | ||
|
|
e3c269af47 | ||
|
|
f03d907441 | ||
|
|
a7337dd1d6 | ||
|
|
ba61ea59f9 | ||
|
|
226f001c78 | ||
|
|
934c878878 | ||
|
|
6533511a4a | ||
|
|
c48d84bb7c | ||
|
|
633b2b4376 | ||
|
|
8202c2185b | ||
|
|
c0bc1f0a0f | ||
|
|
5b8158ea1a | ||
|
|
c30467acc5 | ||
|
|
3756f864ed | ||
|
|
0fee1f10d2 | ||
|
|
0bf0aeab09 | ||
|
|
8678ee6c85 | ||
|
|
fbc0f9be49 | ||
|
|
9cbed0a8b8 | ||
|
|
37ebc71cf3 | ||
|
|
b6760ab27a | ||
|
|
73e98f5c5d | ||
|
|
26add1559f | ||
|
|
d3e54246c4 | ||
|
|
bfa185c8e4 | ||
|
|
e11cd54096 | ||
|
|
9e1d65d08d | ||
|
|
fb50e3fa44 | ||
|
|
0bc7f73aee | ||
|
|
02aa7db319 | ||
|
|
a784eed61d | ||
|
|
8e4eac0568 | ||
|
|
8bbfb49720 | ||
|
|
b70bcd4d02 | ||
|
|
a8bf5e6e82 | ||
|
|
b100dc8020 | ||
|
|
0dccefb7e4 | ||
|
|
d986670268 | ||
|
|
30cdc7a23d | ||
|
|
7a0ad7e968 | ||
|
|
bdc9624d13 | ||
|
|
80234eb599 | ||
|
|
55f3d411b3 | ||
|
|
1a34d70f8d | ||
|
|
869fd3b794 | ||
|
|
4166482022 | ||
|
|
5aeaf064ce | ||
|
|
9081c9b32e | ||
|
|
91b74a24dd | ||
|
|
23cec0bd0f | ||
|
|
315cd6eb44 | ||
|
|
b5e0793692 | ||
|
|
9a0024884c | ||
|
|
f383debd18 | ||
|
|
b171b65aa5 | ||
|
|
6d565377a4 | ||
|
|
d95c81f3f2 | ||
|
|
c0533a0d69 | ||
|
|
e618527135 | ||
|
|
b66247488e | ||
|
|
33a8f1baf3 | ||
|
|
2d2e45a8cf | ||
|
|
380949122c | ||
|
|
f327f18b57 | ||
|
|
095986af06 | ||
|
|
bc3ac0ad86 | ||
|
|
305186b2a9 | ||
|
|
15fb695bcd | ||
|
|
7403dd7776 | ||
|
|
88a4515c8d | ||
|
|
146a3992ce | ||
|
|
ebcc629feb | ||
|
|
2bd93ab3bb | ||
|
|
b7cd60e4cf | ||
|
|
31690354f8 | ||
|
|
0674e6b136 | ||
|
|
7c0708b377 | ||
|
|
bf1eb8201c | ||
|
|
162f888600 |
14
.idea/.idea.BlenderSharp/.idea/statistic.xml
generated
Normal file
14
.idea/.idea.BlenderSharp/.idea/statistic.xml
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Statistic">
|
||||
<option name="excludeDotArtifactDirectory" value="true" />
|
||||
<option name="excludedDirectories">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/CodeGenerator/bin" />
|
||||
<option value="$PROJECT_DIR$/CodeGenerator/obj" />
|
||||
<option value="$PROJECT_DIR$/BlendFile/bin" />
|
||||
<option value="$PROJECT_DIR$/BlendFile/obj" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
@@ -6,4 +6,17 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="KaitaiStruct.Runtime.CSharp" Version="0.10.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\CodeGenerator\BlendFile.cs">
|
||||
<Link>BlendFile.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\CodeGenerator\StrExt.cs">
|
||||
<Link>StrExt.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
9
BlendFile/ByteArrayExt.cs
Normal file
9
BlendFile/ByteArrayExt.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
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));
|
||||
}
|
||||
@@ -11,44 +11,111 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(842, "ARegion", 424)]
|
||||
public class ARegion {
|
||||
public ARegion ptr_next;
|
||||
public ARegion ptr_prev;
|
||||
[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(16, "rcti", 3, "winrct", "rcti", false, 168)]
|
||||
public rcti winrct;
|
||||
[DNAFieldAttribute(16, "rcti", 4, "drawrct", "rcti", false, 184)]
|
||||
public rcti drawrct;
|
||||
[DNAFieldAttribute(2, "short", 5, "winx", "short", false, 200)]
|
||||
public short winx;
|
||||
[DNAFieldAttribute(2, "short", 6, "winy", "short", false, 202)]
|
||||
public short winy;
|
||||
[DNAFieldAttribute(4, "int", 7, "category_scroll", "int", false, 204)]
|
||||
public int category_scroll;
|
||||
[DNAArrayAttribute(4, "char", 8, "_pad0[4]", "System.Char[]", 4, false, 208)]
|
||||
public char[] _pad0 = new System.Char[4];
|
||||
[DNAFieldAttribute(2, "short", 9, "visible", "short", false, 212)]
|
||||
public short visible;
|
||||
[DNAFieldAttribute(2, "short", 10, "regiontype", "short", false, 214)]
|
||||
public short regiontype;
|
||||
[DNAFieldAttribute(2, "short", 11, "alignment", "short", false, 216)]
|
||||
public short alignment;
|
||||
[DNAFieldAttribute(2, "short", 12, "flag", "short", false, 218)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 13, "sizex", "short", false, 220)]
|
||||
public short sizex;
|
||||
[DNAFieldAttribute(2, "short", 14, "sizey", "short", false, 222)]
|
||||
public short sizey;
|
||||
[DNAFieldAttribute(2, "short", 15, "do_draw", "short", false, 224)]
|
||||
public short do_draw;
|
||||
[DNAFieldAttribute(2, "short", 16, "do_draw_paintcursor", "short", false, 226)]
|
||||
public short do_draw_paintcursor;
|
||||
[DNAFieldAttribute(2, "short", 17, "overlap", "short", false, 228)]
|
||||
public short overlap;
|
||||
[DNAFieldAttribute(2, "short", 18, "flagfullscreen", "short", false, 230)]
|
||||
public short flagfullscreen;
|
||||
public ARegionType ptr_type;
|
||||
[DNAFieldAttribute(8, "ARegionType", 19, "*type", "ARegionType", true, 232)]
|
||||
public ARegionType type;
|
||||
[DNAFieldAttribute(16, "ListBase", 20, "uiblocks", "ListBase", false, 240)]
|
||||
public ListBase uiblocks;
|
||||
[DNAFieldAttribute(16, "ListBase", 21, "panels", "ListBase", false, 256)]
|
||||
public ListBase panels;
|
||||
[DNAFieldAttribute(16, "ListBase", 22, "panels_category_active", "ListBase", false, 272)]
|
||||
public ListBase panels_category_active;
|
||||
public ListBase ui_lists;
|
||||
[DNAFieldAttribute(16, "ListBase", 24, "ui_previews", "ListBase", false, 288)]
|
||||
public ListBase ui_previews;
|
||||
[DNAFieldAttribute(16, "ListBase", 25, "handlers", "ListBase", false, 304)]
|
||||
public ListBase handlers;
|
||||
[DNAFieldAttribute(16, "ListBase", 26, "panels_category", "ListBase", false, 320)]
|
||||
public ListBase panels_category;
|
||||
public wmGizmoMap ptr_gizmo_map;
|
||||
public wmTimer ptr_regiontimer;
|
||||
public wmDrawBuffer ptr_draw_buffer;
|
||||
public char ptr_headerstr;
|
||||
public object ptr_regiondata;
|
||||
[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.next = default;
|
||||
this.prev = default;
|
||||
this.v2d = default;
|
||||
this.winrct = default;
|
||||
this.drawrct = default;
|
||||
this.winx = default;
|
||||
this.winy = default;
|
||||
this.category_scroll = default;
|
||||
this._pad0 = default;
|
||||
this.visible = default;
|
||||
this.regiontype = default;
|
||||
this.alignment = default;
|
||||
this.flag = default;
|
||||
this.sizex = default;
|
||||
this.sizey = default;
|
||||
this.do_draw = default;
|
||||
this.do_draw_paintcursor = default;
|
||||
this.overlap = default;
|
||||
this.flagfullscreen = default;
|
||||
this.type = default;
|
||||
this.uiblocks = default;
|
||||
this.panels = default;
|
||||
this.panels_category_active = default;
|
||||
this.ui_previews = default;
|
||||
this.handlers = default;
|
||||
this.panels_category = 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,
|
||||
@@ -66,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;
|
||||
@@ -99,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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,21 +11,37 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(866, "ARegion_Runtime", 48)]
|
||||
public class ARegion_Runtime {
|
||||
public char ptr_category;
|
||||
[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(4, "int", 2, "offset_x", "int", false, 24)]
|
||||
public int offset_x;
|
||||
[DNAFieldAttribute(4, "int", 3, "offset_y", "int", false, 28)]
|
||||
public int offset_y;
|
||||
public GHash ptr_block_name_map;
|
||||
public Panel ptr_popup_block_panel;
|
||||
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;
|
||||
[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.category = default;
|
||||
this.visible_rect = default;
|
||||
this.offset_x = default;
|
||||
this.offset_y = default;
|
||||
this.block_name_map = default;
|
||||
this.popup_block_panel = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,21 +11,29 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(63, "ActionChannelBag", 32)]
|
||||
public class ActionChannelBag {
|
||||
[DNAFieldAttribute(4, "int", 0, "slot_handle", "int", false, 0)]
|
||||
public int slot_handle;
|
||||
public int group_array_num;
|
||||
public bActionGroup ptr_ptr_group_array;
|
||||
[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];
|
||||
public int fcurve_array_num;
|
||||
public FCurve ptr_ptr_fcurve_array;
|
||||
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) {
|
||||
[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 = default;
|
||||
this._pad = default;
|
||||
this.fcurve_array = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,24 +11,40 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(66, "ActionLayer", 88)]
|
||||
public class ActionLayer {
|
||||
[DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, false, 0)]
|
||||
public char[] name = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "float", 1, "influence", "float", false, 64)]
|
||||
public float influence;
|
||||
[DNAFieldAttribute(1, "uchar", 2, "layer_flags", "uchar", false, 68)]
|
||||
public byte layer_flags;
|
||||
[DNAFieldAttribute(1, "int8_t", 3, "layer_mix_mode", "int8_t", false, 69)]
|
||||
public sbyte layer_mix_mode;
|
||||
[DNAArrayAttribute(2, "uchar", 4, "_pad0[2]", "System.Byte[]", 2, false, 70)]
|
||||
public byte[] _pad0 = new System.Byte[2];
|
||||
public ActionStrip ptr_ptr_strip_array;
|
||||
public int strip_array_num;
|
||||
[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(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() {
|
||||
this.name = default;
|
||||
this.influence = default;
|
||||
this.layer_flags = default;
|
||||
this.layer_mix_mode = default;
|
||||
this._pad0 = default;
|
||||
this.strip_array = default;
|
||||
this._pad1 = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,23 +11,41 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(67, "ActionSlot", 88)]
|
||||
public class ActionSlot {
|
||||
[DNAArrayAttribute(66, "char", 0, "name[66]", "System.Char[]", 66, false, 0)]
|
||||
public char[] name = new System.Char[66];
|
||||
[DNAArrayAttribute(2, "uchar", 1, "_pad0[2]", "System.Byte[]", 2, false, 66)]
|
||||
public byte[] _pad0 = new System.Byte[2];
|
||||
[DNAFieldAttribute(4, "int", 2, "idtype", "int", false, 68)]
|
||||
public int idtype;
|
||||
[DNAFieldAttribute(4, "int", 3, "handle", "int", false, 72)]
|
||||
public int handle;
|
||||
[DNAFieldAttribute(1, "int8_t", 4, "slot_flags", "int8_t", false, 76)]
|
||||
public sbyte slot_flags;
|
||||
[DNAArrayAttribute(3, "uchar", 5, "_pad1[3]", "System.Byte[]", 3, false, 77)]
|
||||
public byte[] _pad1 = new System.Byte[3];
|
||||
public ActionSlotRuntimeHandle ptr_runtime;
|
||||
public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle ptr_runtime) {
|
||||
[DNAFieldAttribute(8, "ActionSlotRuntimeHandle", 6, "*runtime", "ActionSlotRuntimeHandle", true, 80)]
|
||||
public ActionSlotRuntimeHandle runtime;
|
||||
public ActionSlot() {
|
||||
this.name = default;
|
||||
this._pad0 = default;
|
||||
this.idtype = default;
|
||||
this.handle = default;
|
||||
this.slot_flags = default;
|
||||
this._pad1 = default;
|
||||
this.runtime = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,15 +11,33 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ActionStrip {
|
||||
[DNAClassAttribute(77, "ActionStrip", 24)]
|
||||
public class ActionStrip {
|
||||
[DNAFieldAttribute(1, "int8_t", 0, "strip_type", "int8_t", false, 0)]
|
||||
public sbyte strip_type;
|
||||
[DNAArrayAttribute(3, "uchar", 1, "_pad0[3]", "System.Byte[]", 3, false, 1)]
|
||||
public byte[] _pad0 = new System.Byte[3];
|
||||
[DNAFieldAttribute(4, "int", 2, "data_index", "int", false, 4)]
|
||||
public int data_index;
|
||||
[DNAFieldAttribute(4, "float", 3, "frame_start", "float", false, 8)]
|
||||
public float frame_start;
|
||||
[DNAFieldAttribute(4, "float", 4, "frame_end", "float", false, 12)]
|
||||
public float frame_end;
|
||||
[DNAFieldAttribute(4, "float", 5, "frame_offset", "float", false, 16)]
|
||||
public float frame_offset;
|
||||
[DNAArrayAttribute(4, "uchar", 6, "_pad1[4]", "System.Byte[]", 4, false, 20)]
|
||||
public byte[] _pad1 = new System.Byte[4];
|
||||
public ActionStrip() {
|
||||
this.strip_type = default;
|
||||
this._pad0 = default;
|
||||
this.data_index = default;
|
||||
this.frame_start = default;
|
||||
this.frame_end = default;
|
||||
this.frame_offset = default;
|
||||
this._pad1 = default;
|
||||
}
|
||||
public ActionStrip(sbyte strip_type, byte[] _pad0, int data_index, float frame_start, float frame_end, float frame_offset, byte[] _pad1) {
|
||||
this.strip_type = strip_type;
|
||||
this._pad0 = _pad0;
|
||||
|
||||
@@ -11,14 +11,20 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(68, "ActionStripKeyframeData", 16)]
|
||||
public class ActionStripKeyframeData {
|
||||
public ActionChannelBag ptr_ptr_channelbag_array;
|
||||
public int channelbag_array_num;
|
||||
[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(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() {
|
||||
this.channelbag_array = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public ActionStripKeyframeData(System.Collections.Generic.List<ActionChannelBag> channelbag_array, byte[] _pad) {
|
||||
this.channelbag_array = channelbag_array;
|
||||
this._pad = _pad;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,61 +11,98 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(101, "AnimData", 240)]
|
||||
public class AnimData {
|
||||
public bAction ptr_action;
|
||||
[DNAFieldAttribute(8, "bAction", 0, "*action", "bAction", true, 0)]
|
||||
public bAction action;
|
||||
[DNAFieldAttribute(4, "int", 1, "slot_handle", "int", false, 8)]
|
||||
public int slot_handle;
|
||||
[DNAArrayAttribute(66, "char", 2, "slot_name[66]", "System.Char[]", 66, false, 12)]
|
||||
public char[] slot_name = new System.Char[66];
|
||||
[DNAArrayAttribute(2, "uchar", 3, "_pad0[2]", "System.Byte[]", 2, false, 78)]
|
||||
public byte[] _pad0 = new System.Byte[2];
|
||||
public bAction ptr_tmpact;
|
||||
[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;
|
||||
[DNAArrayAttribute(66, "char", 6, "tmp_slot_name[66]", "System.Char[]", 66, false, 92)]
|
||||
public char[] tmp_slot_name = new System.Char[66];
|
||||
[DNAArrayAttribute(2, "uchar", 7, "_pad1[2]", "System.Byte[]", 2, false, 158)]
|
||||
public byte[] _pad1 = new System.Byte[2];
|
||||
[DNAFieldAttribute(16, "ListBase", 8, "nla_tracks", "ListBase", false, 160)]
|
||||
public ListBase nla_tracks;
|
||||
public NlaTrack ptr_act_track;
|
||||
public NlaStrip ptr_actstrip;
|
||||
[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(16, "ListBase", 12, "overrides", "ListBase", false, 208)]
|
||||
public ListBase overrides;
|
||||
public FCurve ptr_ptr_driver_array;
|
||||
[DNAFieldAttribute(4, "int", 14, "flag", "int", false, 224)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(2, "short", 15, "act_blendmode", "short", false, 228)]
|
||||
public short act_blendmode;
|
||||
[DNAFieldAttribute(2, "short", 16, "act_extendmode", "short", false, 230)]
|
||||
public short act_extendmode;
|
||||
[DNAFieldAttribute(4, "float", 17, "act_influence", "float", false, 232)]
|
||||
public float act_influence;
|
||||
[DNAArrayAttribute(4, "uchar", 18, "_pad2[4]", "System.Byte[]", 4, false, 236)]
|
||||
public byte[] _pad2 = new System.Byte[4];
|
||||
public AnimData() {
|
||||
this.action = default;
|
||||
this.slot_handle = default;
|
||||
this.slot_name = default;
|
||||
this._pad0 = default;
|
||||
this.tmpact = default;
|
||||
this.tmp_slot_handle = default;
|
||||
this.tmp_slot_name = default;
|
||||
this._pad1 = default;
|
||||
this.nla_tracks = default;
|
||||
this.act_track = default;
|
||||
this.actstrip = default;
|
||||
this.drivers = default;
|
||||
this.overrides = default;
|
||||
this.flag = default;
|
||||
this.act_blendmode = default;
|
||||
this.act_extendmode = default;
|
||||
this.act_influence = default;
|
||||
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;
|
||||
|
||||
@@ -11,18 +11,28 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(100, "AnimOverride", 28)]
|
||||
public class AnimOverride {
|
||||
public AnimOverride ptr_next;
|
||||
public AnimOverride ptr_prev;
|
||||
public char ptr_rna_path;
|
||||
public int array_index;
|
||||
[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(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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.rna_path = default;
|
||||
this.value = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,20 +11,36 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(296, "ArmatureGpencilModifierData", 184)]
|
||||
public class ArmatureGpencilModifierData {
|
||||
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
|
||||
public GpencilModifierData modifier;
|
||||
[DNAFieldAttribute(2, "short", 1, "deformflag", "short", false, 104)]
|
||||
public short deformflag;
|
||||
[DNAFieldAttribute(2, "short", 2, "multi", "short", false, 106)]
|
||||
public short multi;
|
||||
[DNAFieldAttribute(4, "int", 3, "_pad", "int", false, 108)]
|
||||
public int _pad;
|
||||
public Object ptr_object;
|
||||
[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(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object ptr_object, char[] vgname) {
|
||||
public ArmatureGpencilModifierData() {
|
||||
this.modifier = default;
|
||||
this.deformflag = default;
|
||||
this.multi = default;
|
||||
this._pad = default;
|
||||
this.@object = default;
|
||||
this.vgname = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,20 +11,36 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(461, "ArmatureModifierData", 200)]
|
||||
public class ArmatureModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
[DNAFieldAttribute(2, "short", 1, "deformflag", "short", false, 120)]
|
||||
public short deformflag;
|
||||
[DNAFieldAttribute(2, "short", 2, "multi", "short", false, 122)]
|
||||
public short multi;
|
||||
[DNAArrayAttribute(4, "char", 3, "_pad2[4]", "System.Char[]", 4, false, 124)]
|
||||
public char[] _pad2 = new System.Char[4];
|
||||
public Object ptr_object;
|
||||
[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(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object ptr_object, char[] defgrp_name) {
|
||||
public ArmatureModifierData() {
|
||||
this.modifier = default;
|
||||
this.deformflag = default;
|
||||
this.multi = default;
|
||||
this._pad2 = default;
|
||||
this.@object = default;
|
||||
this.defgrp_name = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,29 +11,67 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(284, "ArrayGpencilModifierData", 336)]
|
||||
public class ArrayGpencilModifierData {
|
||||
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
|
||||
public GpencilModifierData modifier;
|
||||
public Object ptr_object;
|
||||
public Material ptr_material;
|
||||
[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", 4, "flag", "int", false, 124)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, false, 128)]
|
||||
public float[] offset = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 6, "shift[3]", "System.Single[]", 3, false, 140)]
|
||||
public float[] shift = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", 3, false, 152)]
|
||||
public float[] rnd_offset = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", 3, false, 164)]
|
||||
public float[] rnd_rot = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", 3, false, 176)]
|
||||
public float[] rnd_scale = new System.Single[3];
|
||||
[DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, false, 188)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
[DNAFieldAttribute(4, "int", 11, "seed", "int", false, 192)]
|
||||
public int seed;
|
||||
[DNAFieldAttribute(4, "int", 12, "pass_index", "int", false, 196)]
|
||||
public int pass_index;
|
||||
[DNAArrayAttribute(64, "char", 13, "layername[64]", "System.Char[]", 64, false, 200)]
|
||||
public char[] layername = new System.Char[64];
|
||||
[DNAArrayAttribute(64, "char", 14, "materialname[64]", "System.Char[]", 64, false, 264)]
|
||||
public char[] materialname = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "int", 15, "mat_rpl", "int", false, 328)]
|
||||
public int mat_rpl;
|
||||
[DNAFieldAttribute(4, "int", 16, "layer_pass", "int", false, 332)]
|
||||
public int layer_pass;
|
||||
public ArrayGpencilModifierData() {
|
||||
this.modifier = default;
|
||||
this.@object = default;
|
||||
this.material = default;
|
||||
this.count = default;
|
||||
this.flag = default;
|
||||
this.offset = default;
|
||||
this.shift = default;
|
||||
this.rnd_offset = default;
|
||||
this.rnd_rot = default;
|
||||
this.rnd_scale = default;
|
||||
this._pad = default;
|
||||
this.seed = default;
|
||||
this.pass_index = default;
|
||||
this.layername = default;
|
||||
this.materialname = default;
|
||||
this.mat_rpl = default;
|
||||
this.layer_pass = default;
|
||||
}
|
||||
public ArrayGpencilModifierData(
|
||||
GpencilModifierData modifier,
|
||||
Object ptr_object,
|
||||
Material ptr_material,
|
||||
Object @object,
|
||||
Material material,
|
||||
int count,
|
||||
int flag,
|
||||
float[] offset,
|
||||
@@ -49,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;
|
||||
|
||||
@@ -11,28 +11,60 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(451, "ArrayModifierData", 208)]
|
||||
public class ArrayModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
public Object ptr_start_cap;
|
||||
public Object ptr_end_cap;
|
||||
public Object ptr_curve_ob;
|
||||
public Object ptr_offset_ob;
|
||||
[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];
|
||||
[DNAArrayAttribute(12, "float", 6, "scale[3]", "System.Single[]", 3, false, 164)]
|
||||
public float[] scale = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "float", 7, "length", "float", false, 176)]
|
||||
public float length;
|
||||
[DNAFieldAttribute(4, "float", 8, "merge_dist", "float", false, 180)]
|
||||
public float merge_dist;
|
||||
[DNAFieldAttribute(4, "int", 9, "fit_type", "int", false, 184)]
|
||||
public int fit_type;
|
||||
[DNAFieldAttribute(4, "int", 10, "offset_type", "int", false, 188)]
|
||||
public int offset_type;
|
||||
[DNAFieldAttribute(4, "int", 11, "flags", "int", false, 192)]
|
||||
public int flags;
|
||||
[DNAFieldAttribute(4, "int", 12, "count", "int", false, 196)]
|
||||
public int count;
|
||||
[DNAArrayAttribute(8, "float", 13, "uv_offset[2]", "System.Single[]", 2, false, 200)]
|
||||
public float[] uv_offset = new System.Single[2];
|
||||
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() {
|
||||
this.modifier = 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;
|
||||
this.merge_dist = default;
|
||||
this.fit_type = default;
|
||||
this.offset_type = default;
|
||||
this.flags = default;
|
||||
this.count = default;
|
||||
this.uv_offset = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,15 +11,25 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(115, "AssetCatalogPathLink", 24)]
|
||||
public class AssetCatalogPathLink {
|
||||
public AssetCatalogPathLink ptr_next;
|
||||
public AssetCatalogPathLink ptr_prev;
|
||||
public char ptr_path;
|
||||
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;
|
||||
[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.next = default;
|
||||
this.prev = default;
|
||||
this.path = default;
|
||||
}
|
||||
public AssetCatalogPathLink(AssetCatalogPathLink next, AssetCatalogPathLink prev, char path) {
|
||||
this.next = next;
|
||||
this.prev = prev;
|
||||
this.path = path;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,11 +11,21 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct AssetLibraryReference {
|
||||
[DNAClassAttribute(113, "AssetLibraryReference", 8)]
|
||||
public class AssetLibraryReference {
|
||||
[DNAFieldAttribute(2, "short", 0, "type", "short", false, 0)]
|
||||
public short type;
|
||||
[DNAArrayAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", 2, false, 2)]
|
||||
public char[] _pad1 = new System.Char[2];
|
||||
[DNAFieldAttribute(4, "int", 2, "custom_library_index", "int", false, 4)]
|
||||
public int custom_library_index;
|
||||
public AssetLibraryReference() {
|
||||
this.type = default;
|
||||
this._pad1 = default;
|
||||
this.custom_library_index = default;
|
||||
}
|
||||
public AssetLibraryReference(short type, char[] _pad1, int custom_library_index) {
|
||||
this.type = type;
|
||||
this._pad1 = _pad1;
|
||||
|
||||
@@ -11,29 +11,57 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(35, "AssetMetaData", 152)]
|
||||
public class AssetMetaData {
|
||||
public AssetTypeInfo ptr_local_type_info;
|
||||
public IDProperty ptr_properties;
|
||||
[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;
|
||||
[DNAArrayAttribute(64, "char", 3, "catalog_simple_name[64]", "System.Char[]", 64, false, 32)]
|
||||
public char[] catalog_simple_name = new System.Char[64];
|
||||
public char ptr_author;
|
||||
public char ptr_description;
|
||||
public char ptr_copyright;
|
||||
public char ptr_license;
|
||||
[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(2, "short", 9, "active_tag", "short", false, 144)]
|
||||
public short active_tag;
|
||||
[DNAFieldAttribute(2, "short", 10, "tot_tags", "short", false, 146)]
|
||||
public short tot_tags;
|
||||
[DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, false, 148)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
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() {
|
||||
this.local_type_info = default;
|
||||
this.properties = default;
|
||||
this.catalog_id = default;
|
||||
this.catalog_simple_name = 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 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;
|
||||
|
||||
@@ -11,21 +11,41 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(871, "AssetShelf", 216)]
|
||||
public class AssetShelf {
|
||||
public AssetShelf ptr_next;
|
||||
public AssetShelf ptr_prev;
|
||||
[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];
|
||||
public AssetShelfType ptr_type;
|
||||
[DNAFieldAttribute(8, "AssetShelfType", 3, "*type", "AssetShelfType", true, 80)]
|
||||
public AssetShelfType type;
|
||||
[DNAFieldAttribute(120, "AssetShelfSettings", 4, "settings", "AssetShelfSettings", false, 88)]
|
||||
public AssetShelfSettings settings;
|
||||
[DNAFieldAttribute(2, "short", 5, "preferred_row_count", "short", false, 208)]
|
||||
public short preferred_row_count;
|
||||
[DNAFieldAttribute(2, "short", 6, "instance_flag", "short", false, 210)]
|
||||
public short instance_flag;
|
||||
[DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, false, 212)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.idname = default;
|
||||
this.type = default;
|
||||
this.settings = default;
|
||||
this.preferred_row_count = default;
|
||||
this.instance_flag = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,23 +11,45 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(870, "AssetShelfSettings", 120)]
|
||||
public class AssetShelfSettings {
|
||||
public AssetShelfSettings ptr_next;
|
||||
public AssetShelfSettings ptr_prev;
|
||||
[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(16, "ListBase", 3, "enabled_catalog_paths", "ListBase", false, 24)]
|
||||
public ListBase enabled_catalog_paths;
|
||||
public char ptr_active_catalog_path;
|
||||
[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(2, "short", 6, "preview_size", "short", false, 112)]
|
||||
public short preview_size;
|
||||
[DNAFieldAttribute(2, "short", 7, "display_flag", "short", false, 114)]
|
||||
public short display_flag;
|
||||
[DNAArrayAttribute(4, "char", 8, "_pad1[4]", "System.Char[]", 4, false, 116)]
|
||||
public char[] _pad1 = new System.Char[4];
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.asset_library_reference = default;
|
||||
this.enabled_catalog_paths = default;
|
||||
this.active_catalog_path = default;
|
||||
this.search_string = default;
|
||||
this.preview_size = default;
|
||||
this.display_flag = default;
|
||||
this._pad1 = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,14 +11,24 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(110, "AssetTag", 80)]
|
||||
public class AssetTag {
|
||||
public AssetTag ptr_next;
|
||||
public AssetTag ptr_prev;
|
||||
[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(AssetTag ptr_next, AssetTag ptr_prev, char[] name) {
|
||||
this.ptr_next = ptr_next;
|
||||
this.ptr_prev = ptr_prev;
|
||||
public AssetTag() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.name = default;
|
||||
}
|
||||
public AssetTag(AssetTag next, AssetTag prev, char[] name) {
|
||||
this.next = next;
|
||||
this.prev = prev;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,17 +11,29 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(114, "AssetWeakReference", 24)]
|
||||
public class AssetWeakReference {
|
||||
[DNAArrayAttribute(6, "char", 0, "_pad[6]", "System.Char[]", 6, false, 0)]
|
||||
public char[] _pad = new System.Char[6];
|
||||
[DNAFieldAttribute(2, "short", 1, "asset_library_type", "short", false, 6)]
|
||||
public short asset_library_type;
|
||||
public char ptr_asset_library_identifier;
|
||||
public char ptr_relative_asset_identifier;
|
||||
public AssetWeakReference(char[] _pad, short asset_library_type, char ptr_asset_library_identifier, 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.asset_library_identifier = default;
|
||||
this.relative_asset_identifier = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,17 +11,39 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct AudioData {
|
||||
[DNAClassAttribute(798, "AudioData", 32)]
|
||||
public class AudioData {
|
||||
[DNAFieldAttribute(4, "int", 0, "mixrate", "int", false, 0)]
|
||||
public int mixrate;
|
||||
[DNAFieldAttribute(4, "float", 1, "main", "float", false, 4)]
|
||||
public float main;
|
||||
[DNAFieldAttribute(4, "float", 2, "speed_of_sound", "float", false, 8)]
|
||||
public float speed_of_sound;
|
||||
[DNAFieldAttribute(4, "float", 3, "doppler_factor", "float", false, 12)]
|
||||
public float doppler_factor;
|
||||
[DNAFieldAttribute(4, "int", 4, "distance_model", "int", false, 16)]
|
||||
public int distance_model;
|
||||
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 20)]
|
||||
public short flag;
|
||||
[DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, false, 22)]
|
||||
public char[] _pad = new System.Char[2];
|
||||
[DNAFieldAttribute(4, "float", 7, "volume", "float", false, 24)]
|
||||
public float volume;
|
||||
[DNAArrayAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", 4, false, 28)]
|
||||
public char[] _pad2 = new System.Char[4];
|
||||
public AudioData() {
|
||||
this.mixrate = default;
|
||||
this.main = default;
|
||||
this.speed_of_sound = default;
|
||||
this.doppler_factor = default;
|
||||
this.distance_model = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
this.volume = default;
|
||||
this._pad2 = default;
|
||||
}
|
||||
public AudioData(int mixrate, float main, float speed_of_sound, float doppler_factor, int distance_model, short flag, char[] _pad, float volume, char[] _pad2) {
|
||||
this.mixrate = mixrate;
|
||||
this.main = main;
|
||||
|
||||
@@ -11,16 +11,36 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BPoint {
|
||||
[DNAClassAttribute(206, "BPoint", 36)]
|
||||
public class BPoint {
|
||||
[DNAArrayAttribute(16, "float", 0, "vec[4]", "System.Single[]", 4, false, 0)]
|
||||
public float[] vec = new System.Single[4];
|
||||
[DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 16)]
|
||||
public float alfa;
|
||||
[DNAFieldAttribute(4, "float", 2, "weight", "float", false, 20)]
|
||||
public float weight;
|
||||
[DNAFieldAttribute(1, "uchar", 3, "f1", "uchar", false, 24)]
|
||||
public byte f1;
|
||||
[DNAArrayAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", 1, false, 25)]
|
||||
public char[] _pad1 = new System.Char[1];
|
||||
[DNAFieldAttribute(2, "short", 5, "hide", "short", false, 26)]
|
||||
public short hide;
|
||||
[DNAFieldAttribute(4, "float", 6, "radius", "float", false, 28)]
|
||||
public float radius;
|
||||
[DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, false, 32)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
public BPoint() {
|
||||
this.vec = default;
|
||||
this.alfa = default;
|
||||
this.weight = default;
|
||||
this.f1 = default;
|
||||
this._pad1 = default;
|
||||
this.hide = default;
|
||||
this.radius = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public BPoint(float[] vec, float alfa, float weight, byte f1, char[] _pad1, short hide, float radius, char[] _pad) {
|
||||
this.vec = vec;
|
||||
this.alfa = alfa;
|
||||
|
||||
@@ -11,25 +11,63 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(801, "BakeData", 1400)]
|
||||
public class BakeData {
|
||||
[DNAFieldAttribute(336, "ImageFormatData", 0, "im_format", "ImageFormatData", false, 0)]
|
||||
public ImageFormatData im_format;
|
||||
[DNAArrayAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", 1024, false, 336)]
|
||||
public char[] filepath = new System.Char[1024];
|
||||
[DNAFieldAttribute(2, "short", 2, "width", "short", false, 1360)]
|
||||
public short width;
|
||||
[DNAFieldAttribute(2, "short", 3, "height", "short", false, 1362)]
|
||||
public short height;
|
||||
[DNAFieldAttribute(2, "short", 4, "margin", "short", false, 1364)]
|
||||
public short margin;
|
||||
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 1366)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(4, "float", 6, "cage_extrusion", "float", false, 1368)]
|
||||
public float cage_extrusion;
|
||||
[DNAFieldAttribute(4, "float", 7, "max_ray_distance", "float", false, 1372)]
|
||||
public float max_ray_distance;
|
||||
[DNAFieldAttribute(4, "int", 8, "pass_filter", "int", false, 1376)]
|
||||
public int pass_filter;
|
||||
[DNAArrayAttribute(3, "char", 9, "normal_swizzle[3]", "System.Char[]", 3, false, 1380)]
|
||||
public char[] normal_swizzle = new System.Char[3];
|
||||
[DNAFieldAttribute(1, "char", 10, "normal_space", "char", false, 1383)]
|
||||
public char normal_space;
|
||||
[DNAFieldAttribute(1, "char", 11, "target", "char", false, 1384)]
|
||||
public char target;
|
||||
[DNAFieldAttribute(1, "char", 12, "save_mode", "char", false, 1385)]
|
||||
public char save_mode;
|
||||
[DNAFieldAttribute(1, "char", 13, "margin_type", "char", false, 1386)]
|
||||
public char margin_type;
|
||||
[DNAFieldAttribute(1, "char", 14, "view_from", "char", false, 1387)]
|
||||
public char view_from;
|
||||
[DNAArrayAttribute(4, "char", 15, "_pad[4]", "System.Char[]", 4, false, 1388)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
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;
|
||||
this.width = default;
|
||||
this.height = default;
|
||||
this.margin = default;
|
||||
this.flag = default;
|
||||
this.cage_extrusion = default;
|
||||
this.max_ray_distance = default;
|
||||
this.pass_filter = default;
|
||||
this.normal_swizzle = default;
|
||||
this.normal_space = default;
|
||||
this.target = default;
|
||||
this.save_mode = default;
|
||||
this.margin_type = default;
|
||||
this.view_from = default;
|
||||
this._pad = default;
|
||||
this.cage_object = default;
|
||||
}
|
||||
public BakeData(
|
||||
ImageFormatData im_format,
|
||||
char[] filepath,
|
||||
@@ -47,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;
|
||||
@@ -64,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,24 +11,50 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(340, "Base", 48)]
|
||||
public class Base {
|
||||
public Base ptr_next;
|
||||
public Base ptr_prev;
|
||||
public Object ptr_object;
|
||||
public Base ptr_base_orig;
|
||||
[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(2, "short", 5, "flag", "short", false, 36)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 6, "flag_from_collection", "short", false, 38)]
|
||||
public short flag_from_collection;
|
||||
[DNAFieldAttribute(2, "short", 7, "flag_legacy", "short", false, 40)]
|
||||
public short flag_legacy;
|
||||
[DNAFieldAttribute(2, "short", 8, "local_view_bits", "short", false, 42)]
|
||||
public short local_view_bits;
|
||||
[DNAFieldAttribute(2, "short", 9, "local_collections_bits", "short", false, 44)]
|
||||
public short local_collections_bits;
|
||||
[DNAArrayAttribute(2, "char", 10, "_pad1[2]", "System.Char[]", 2, false, 46)]
|
||||
public char[] _pad1 = new System.Char[2];
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.@object = default;
|
||||
this.base_orig = default;
|
||||
this.lay = default;
|
||||
this.flag = default;
|
||||
this.flag_from_collection = default;
|
||||
this.flag_legacy = default;
|
||||
this.local_view_bits = default;
|
||||
this.local_collections_bits = default;
|
||||
this._pad1 = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,32 +11,84 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(454, "BevelModifierData", 368)]
|
||||
public class BevelModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
[DNAFieldAttribute(4, "float", 1, "value", "float", false, 120)]
|
||||
public float value;
|
||||
[DNAFieldAttribute(4, "int", 2, "res", "int", false, 124)]
|
||||
public int res;
|
||||
[DNAFieldAttribute(2, "short", 3, "flags", "short", false, 128)]
|
||||
public short flags;
|
||||
[DNAFieldAttribute(2, "short", 4, "val_flags", "short", false, 130)]
|
||||
public short val_flags;
|
||||
[DNAFieldAttribute(2, "short", 5, "profile_type", "short", false, 132)]
|
||||
public short profile_type;
|
||||
[DNAFieldAttribute(2, "short", 6, "lim_flags", "short", false, 134)]
|
||||
public short lim_flags;
|
||||
[DNAFieldAttribute(2, "short", 7, "e_flags", "short", false, 136)]
|
||||
public short e_flags;
|
||||
[DNAFieldAttribute(2, "short", 8, "mat", "short", false, 138)]
|
||||
public short mat;
|
||||
[DNAFieldAttribute(2, "short", 9, "edge_flags", "short", false, 140)]
|
||||
public short edge_flags;
|
||||
[DNAFieldAttribute(2, "short", 10, "face_str_mode", "short", false, 142)]
|
||||
public short face_str_mode;
|
||||
[DNAFieldAttribute(2, "short", 11, "miter_inner", "short", false, 144)]
|
||||
public short miter_inner;
|
||||
[DNAFieldAttribute(2, "short", 12, "miter_outer", "short", false, 146)]
|
||||
public short miter_outer;
|
||||
[DNAFieldAttribute(2, "short", 13, "vmesh_method", "short", false, 148)]
|
||||
public short vmesh_method;
|
||||
[DNAFieldAttribute(1, "char", 14, "affect_type", "char", false, 150)]
|
||||
public char affect_type;
|
||||
[DNAFieldAttribute(1, "char", 15, "_pad", "char", false, 151)]
|
||||
public char _pad;
|
||||
[DNAFieldAttribute(4, "float", 16, "profile", "float", false, 152)]
|
||||
public float profile;
|
||||
[DNAFieldAttribute(4, "float", 17, "bevel_angle", "float", false, 156)]
|
||||
public float bevel_angle;
|
||||
[DNAFieldAttribute(4, "float", 18, "spread", "float", false, 160)]
|
||||
public float spread;
|
||||
[DNAArrayAttribute(64, "char", 19, "defgrp_name[64]", "System.Char[]", 64, false, 164)]
|
||||
public char[] defgrp_name = new System.Char[64];
|
||||
[DNAArrayAttribute(4, "char", 20, "_pad1[4]", "System.Char[]", 4, false, 228)]
|
||||
public char[] _pad1 = new System.Char[4];
|
||||
public CurveProfile ptr_custom_profile;
|
||||
[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];
|
||||
[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;
|
||||
this.value = default;
|
||||
this.res = default;
|
||||
this.flags = default;
|
||||
this.val_flags = default;
|
||||
this.profile_type = default;
|
||||
this.lim_flags = default;
|
||||
this.e_flags = default;
|
||||
this.mat = default;
|
||||
this.edge_flags = default;
|
||||
this.face_str_mode = default;
|
||||
this.miter_inner = default;
|
||||
this.miter_outer = default;
|
||||
this.vmesh_method = default;
|
||||
this.affect_type = default;
|
||||
this._pad = default;
|
||||
this.profile = default;
|
||||
this.bevel_angle = default;
|
||||
this.spread = default;
|
||||
this.defgrp_name = default;
|
||||
this._pad1 = default;
|
||||
this.custom_profile = default;
|
||||
this.edge_weight_name = default;
|
||||
this.vertex_weight_name = default;
|
||||
}
|
||||
public BevelModifierData(
|
||||
ModifierData modifier,
|
||||
float value,
|
||||
@@ -59,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;
|
||||
@@ -83,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;
|
||||
}
|
||||
|
||||
@@ -11,25 +11,63 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BezTriple {
|
||||
[DNAClassAttribute(95, "BezTriple", 72)]
|
||||
public class BezTriple {
|
||||
[DNAArrayAttribute(36, "float", 0, "vec[3][3]", "System.Single[,]", 9, false, 0)]
|
||||
public float[,] vec = new System.Single[3,3];
|
||||
[DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 36)]
|
||||
public float alfa;
|
||||
[DNAFieldAttribute(4, "float", 2, "weight", "float", false, 40)]
|
||||
public float weight;
|
||||
[DNAFieldAttribute(4, "float", 3, "radius", "float", false, 44)]
|
||||
public float radius;
|
||||
[DNAFieldAttribute(1, "char", 4, "ipo", "char", false, 48)]
|
||||
public char ipo;
|
||||
[DNAFieldAttribute(1, "uchar", 5, "h1", "uchar", false, 49)]
|
||||
public byte h1;
|
||||
[DNAFieldAttribute(1, "uchar", 6, "h2", "uchar", false, 50)]
|
||||
public byte h2;
|
||||
[DNAFieldAttribute(1, "uchar", 7, "f1", "uchar", false, 51)]
|
||||
public byte f1;
|
||||
[DNAFieldAttribute(1, "uchar", 8, "f2", "uchar", false, 52)]
|
||||
public byte f2;
|
||||
[DNAFieldAttribute(1, "uchar", 9, "f3", "uchar", false, 53)]
|
||||
public byte f3;
|
||||
[DNAFieldAttribute(1, "char", 10, "hide", "char", false, 54)]
|
||||
public char hide;
|
||||
[DNAFieldAttribute(1, "char", 11, "easing", "char", false, 55)]
|
||||
public char easing;
|
||||
[DNAFieldAttribute(4, "float", 12, "back", "float", false, 56)]
|
||||
public float back;
|
||||
[DNAFieldAttribute(4, "float", 13, "amplitude", "float", false, 60)]
|
||||
public float amplitude;
|
||||
[DNAFieldAttribute(4, "float", 14, "period", "float", false, 64)]
|
||||
public float period;
|
||||
[DNAFieldAttribute(1, "char", 15, "auto_handle_type", "char", false, 68)]
|
||||
public char auto_handle_type;
|
||||
[DNAArrayAttribute(3, "char", 16, "_pad[3]", "System.Char[]", 3, false, 69)]
|
||||
public char[] _pad = new System.Char[3];
|
||||
public BezTriple() {
|
||||
this.vec = default;
|
||||
this.alfa = default;
|
||||
this.weight = default;
|
||||
this.radius = default;
|
||||
this.ipo = default;
|
||||
this.h1 = default;
|
||||
this.h2 = default;
|
||||
this.f1 = default;
|
||||
this.f2 = default;
|
||||
this.f3 = default;
|
||||
this.hide = default;
|
||||
this.easing = default;
|
||||
this.back = default;
|
||||
this.amplitude = default;
|
||||
this.period = default;
|
||||
this.auto_handle_type = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public BezTriple(
|
||||
float[,] vec,
|
||||
float alfa,
|
||||
|
||||
@@ -11,15 +11,33 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BlurShaderFxData {
|
||||
[DNAClassAttribute(917, "BlurShaderFxData", 168)]
|
||||
public class BlurShaderFxData {
|
||||
[DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)]
|
||||
public ShaderFxData shaderfx;
|
||||
[DNAArrayAttribute(8, "float", 1, "radius[2]", "System.Single[]", 2, false, 104)]
|
||||
public float[] radius = new System.Single[2];
|
||||
[DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "int", 3, "samples", "int", false, 116)]
|
||||
public int samples;
|
||||
[DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 120)]
|
||||
public float rotation;
|
||||
[DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, false, 124)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
[DNAFieldAttribute(40, "ShaderFxData_Runtime", 6, "runtime", "ShaderFxData_Runtime", false, 128)]
|
||||
public ShaderFxData_Runtime runtime;
|
||||
public BlurShaderFxData() {
|
||||
this.shaderfx = default;
|
||||
this.radius = default;
|
||||
this.flag = default;
|
||||
this.samples = default;
|
||||
this.rotation = default;
|
||||
this._pad = default;
|
||||
this.runtime = default;
|
||||
}
|
||||
public BlurShaderFxData(ShaderFxData shaderfx, float[] radius, int flag, int samples, float rotation, char[] _pad, ShaderFxData_Runtime runtime) {
|
||||
this.shaderfx = shaderfx;
|
||||
this.radius = radius;
|
||||
|
||||
@@ -11,12 +11,24 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoidData {
|
||||
[DNAClassAttribute(122, "BoidData", 20)]
|
||||
public class BoidData {
|
||||
[DNAFieldAttribute(4, "float", 0, "health", "float", false, 0)]
|
||||
public float health;
|
||||
[DNAArrayAttribute(12, "float", 1, "acc[3]", "System.Single[]", 3, false, 4)]
|
||||
public float[] acc = new System.Single[3];
|
||||
[DNAFieldAttribute(2, "short", 2, "state_id", "short", false, 16)]
|
||||
public short state_id;
|
||||
[DNAFieldAttribute(2, "short", 3, "mode", "short", false, 18)]
|
||||
public short mode;
|
||||
public BoidData() {
|
||||
this.health = default;
|
||||
this.acc = default;
|
||||
this.state_id = default;
|
||||
this.mode = default;
|
||||
}
|
||||
public BoidData(float health, float[] acc, short state_id, short mode) {
|
||||
this.health = health;
|
||||
this.acc = acc;
|
||||
|
||||
@@ -11,15 +11,29 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(778, "BoidParticle", 56)]
|
||||
public class BoidParticle {
|
||||
public Object ptr_ground;
|
||||
[DNAFieldAttribute(8, "Object", 0, "*ground", "Object", true, 0)]
|
||||
public Object ground;
|
||||
[DNAFieldAttribute(20, "BoidData", 1, "data", "BoidData", false, 8)]
|
||||
public BoidData data;
|
||||
[DNAArrayAttribute(12, "float", 2, "gravity[3]", "System.Single[]", 3, false, 28)]
|
||||
public float[] gravity = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 3, "wander[3]", "System.Single[]", 3, false, 40)]
|
||||
public float[] wander = new System.Single[3];
|
||||
[DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, false, 52)]
|
||||
public char[] _pad0 = new System.Char[4];
|
||||
public BoidParticle(Object ptr_ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) {
|
||||
this.ptr_ground = ptr_ground;
|
||||
public BoidParticle() {
|
||||
this.ground = default;
|
||||
this.data = default;
|
||||
this.gravity = default;
|
||||
this.wander = default;
|
||||
this._pad0 = default;
|
||||
}
|
||||
public BoidParticle(Object ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) {
|
||||
this.ground = ground;
|
||||
this.data = data;
|
||||
this.gravity = gravity;
|
||||
this.wander = wander;
|
||||
|
||||
@@ -11,16 +11,30 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(116, "BoidRule", 56)]
|
||||
public class BoidRule {
|
||||
public BoidRule ptr_next;
|
||||
public BoidRule ptr_prev;
|
||||
[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(4, "int", 3, "flag", "int", false, 20)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(32, "char", 4, "name[32]", "System.Char[]", 32, false, 24)]
|
||||
public char[] name = new System.Char[32];
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.type = default;
|
||||
this.flag = default;
|
||||
this.name = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,13 +11,27 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoidRuleAverageSpeed {
|
||||
[DNAClassAttribute(120, "BoidRuleAverageSpeed", 72)]
|
||||
public class BoidRuleAverageSpeed {
|
||||
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
|
||||
public BoidRule rule;
|
||||
[DNAFieldAttribute(4, "float", 1, "wander", "float", false, 56)]
|
||||
public float wander;
|
||||
[DNAFieldAttribute(4, "float", 2, "level", "float", false, 60)]
|
||||
public float level;
|
||||
[DNAFieldAttribute(4, "float", 3, "speed", "float", false, 64)]
|
||||
public float speed;
|
||||
[DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, false, 68)]
|
||||
public char[] _pad0 = new System.Char[4];
|
||||
public BoidRuleAverageSpeed() {
|
||||
this.rule = default;
|
||||
this.wander = default;
|
||||
this.level = default;
|
||||
this.speed = default;
|
||||
this._pad0 = default;
|
||||
}
|
||||
public BoidRuleAverageSpeed(BoidRule rule, float wander, float level, float speed, char[] _pad0) {
|
||||
this.rule = rule;
|
||||
this.wander = wander;
|
||||
|
||||
@@ -11,11 +11,21 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoidRuleAvoidCollision {
|
||||
[DNAClassAttribute(118, "BoidRuleAvoidCollision", 64)]
|
||||
public class BoidRuleAvoidCollision {
|
||||
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
|
||||
public BoidRule rule;
|
||||
[DNAFieldAttribute(4, "int", 1, "options", "int", false, 56)]
|
||||
public int options;
|
||||
[DNAFieldAttribute(4, "float", 2, "look_ahead", "float", false, 60)]
|
||||
public float look_ahead;
|
||||
public BoidRuleAvoidCollision() {
|
||||
this.rule = default;
|
||||
this.options = default;
|
||||
this.look_ahead = default;
|
||||
}
|
||||
public BoidRuleAvoidCollision(BoidRule rule, int options, float look_ahead) {
|
||||
this.rule = rule;
|
||||
this.options = options;
|
||||
|
||||
@@ -11,11 +11,21 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoidRuleFight {
|
||||
[DNAClassAttribute(121, "BoidRuleFight", 64)]
|
||||
public class BoidRuleFight {
|
||||
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
|
||||
public BoidRule rule;
|
||||
[DNAFieldAttribute(4, "float", 1, "distance", "float", false, 56)]
|
||||
public float distance;
|
||||
[DNAFieldAttribute(4, "float", 2, "flee_distance", "float", false, 60)]
|
||||
public float flee_distance;
|
||||
public BoidRuleFight() {
|
||||
this.rule = default;
|
||||
this.distance = default;
|
||||
this.flee_distance = default;
|
||||
}
|
||||
public BoidRuleFight(BoidRule rule, float distance, float flee_distance) {
|
||||
this.rule = rule;
|
||||
this.distance = distance;
|
||||
|
||||
@@ -11,19 +11,39 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(119, "BoidRuleFollowLeader", 104)]
|
||||
public class BoidRuleFollowLeader {
|
||||
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
|
||||
public BoidRule rule;
|
||||
public Object ptr_ob;
|
||||
[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];
|
||||
[DNAArrayAttribute(12, "float", 3, "oloc[3]", "System.Single[]", 3, false, 76)]
|
||||
public float[] oloc = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "float", 4, "cfra", "float", false, 88)]
|
||||
public float cfra;
|
||||
[DNAFieldAttribute(4, "float", 5, "distance", "float", false, 92)]
|
||||
public float distance;
|
||||
[DNAFieldAttribute(4, "int", 6, "options", "int", false, 96)]
|
||||
public int options;
|
||||
[DNAFieldAttribute(4, "int", 7, "queue_size", "int", false, 100)]
|
||||
public int queue_size;
|
||||
public BoidRuleFollowLeader(BoidRule rule, Object ptr_ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) {
|
||||
public BoidRuleFollowLeader() {
|
||||
this.rule = default;
|
||||
this.ob = default;
|
||||
this.loc = default;
|
||||
this.oloc = default;
|
||||
this.cfra = default;
|
||||
this.distance = default;
|
||||
this.options = default;
|
||||
this.queue_size = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,17 +11,33 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(117, "BoidRuleGoalAvoid", 80)]
|
||||
public class BoidRuleGoalAvoid {
|
||||
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
|
||||
public BoidRule rule;
|
||||
public Object ptr_ob;
|
||||
[DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 56)]
|
||||
public Object ob;
|
||||
[DNAFieldAttribute(4, "int", 2, "options", "int", false, 64)]
|
||||
public int options;
|
||||
[DNAFieldAttribute(4, "float", 3, "fear_factor", "float", false, 68)]
|
||||
public float fear_factor;
|
||||
[DNAFieldAttribute(4, "int", 4, "signal_id", "int", false, 72)]
|
||||
public int signal_id;
|
||||
[DNAFieldAttribute(4, "int", 5, "channels", "int", false, 76)]
|
||||
public int channels;
|
||||
public BoidRuleGoalAvoid(BoidRule rule, Object ptr_ob, int options, float fear_factor, int signal_id, int channels) {
|
||||
public BoidRuleGoalAvoid() {
|
||||
this.rule = default;
|
||||
this.ob = default;
|
||||
this.options = default;
|
||||
this.fear_factor = default;
|
||||
this.signal_id = default;
|
||||
this.channels = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,31 +11,81 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoidSettings {
|
||||
[DNAClassAttribute(124, "BoidSettings", 104)]
|
||||
public class BoidSettings {
|
||||
[DNAFieldAttribute(4, "int", 0, "options", "int", false, 0)]
|
||||
public int options;
|
||||
[DNAFieldAttribute(4, "int", 1, "last_state_id", "int", false, 4)]
|
||||
public int last_state_id;
|
||||
[DNAFieldAttribute(4, "float", 2, "landing_smoothness", "float", false, 8)]
|
||||
public float landing_smoothness;
|
||||
[DNAFieldAttribute(4, "float", 3, "height", "float", false, 12)]
|
||||
public float height;
|
||||
[DNAFieldAttribute(4, "float", 4, "banking", "float", false, 16)]
|
||||
public float banking;
|
||||
[DNAFieldAttribute(4, "float", 5, "pitch", "float", false, 20)]
|
||||
public float pitch;
|
||||
[DNAFieldAttribute(4, "float", 6, "health", "float", false, 24)]
|
||||
public float health;
|
||||
[DNAFieldAttribute(4, "float", 7, "aggression", "float", false, 28)]
|
||||
public float aggression;
|
||||
[DNAFieldAttribute(4, "float", 8, "strength", "float", false, 32)]
|
||||
public float strength;
|
||||
[DNAFieldAttribute(4, "float", 9, "accuracy", "float", false, 36)]
|
||||
public float accuracy;
|
||||
[DNAFieldAttribute(4, "float", 10, "range", "float", false, 40)]
|
||||
public float range;
|
||||
[DNAFieldAttribute(4, "float", 11, "air_min_speed", "float", false, 44)]
|
||||
public float air_min_speed;
|
||||
[DNAFieldAttribute(4, "float", 12, "air_max_speed", "float", false, 48)]
|
||||
public float air_max_speed;
|
||||
[DNAFieldAttribute(4, "float", 13, "air_max_acc", "float", false, 52)]
|
||||
public float air_max_acc;
|
||||
[DNAFieldAttribute(4, "float", 14, "air_max_ave", "float", false, 56)]
|
||||
public float air_max_ave;
|
||||
[DNAFieldAttribute(4, "float", 15, "air_personal_space", "float", false, 60)]
|
||||
public float air_personal_space;
|
||||
[DNAFieldAttribute(4, "float", 16, "land_jump_speed", "float", false, 64)]
|
||||
public float land_jump_speed;
|
||||
[DNAFieldAttribute(4, "float", 17, "land_max_speed", "float", false, 68)]
|
||||
public float land_max_speed;
|
||||
[DNAFieldAttribute(4, "float", 18, "land_max_acc", "float", false, 72)]
|
||||
public float land_max_acc;
|
||||
[DNAFieldAttribute(4, "float", 19, "land_max_ave", "float", false, 76)]
|
||||
public float land_max_ave;
|
||||
[DNAFieldAttribute(4, "float", 20, "land_personal_space", "float", false, 80)]
|
||||
public float land_personal_space;
|
||||
[DNAFieldAttribute(4, "float", 21, "land_stick_force", "float", false, 84)]
|
||||
public float land_stick_force;
|
||||
[DNAFieldAttribute(16, "ListBase", 22, "states", "ListBase", false, 88)]
|
||||
public ListBase states;
|
||||
public BoidSettings() {
|
||||
this.options = default;
|
||||
this.last_state_id = default;
|
||||
this.landing_smoothness = default;
|
||||
this.height = default;
|
||||
this.banking = default;
|
||||
this.pitch = default;
|
||||
this.health = default;
|
||||
this.aggression = default;
|
||||
this.strength = default;
|
||||
this.accuracy = default;
|
||||
this.range = default;
|
||||
this.air_min_speed = default;
|
||||
this.air_max_speed = default;
|
||||
this.air_max_acc = default;
|
||||
this.air_max_ave = default;
|
||||
this.air_personal_space = default;
|
||||
this.land_jump_speed = default;
|
||||
this.land_max_speed = default;
|
||||
this.land_max_acc = default;
|
||||
this.land_max_ave = default;
|
||||
this.land_personal_space = default;
|
||||
this.land_stick_force = default;
|
||||
this.states = default;
|
||||
}
|
||||
public BoidSettings(
|
||||
int options,
|
||||
int last_state_id,
|
||||
|
||||
@@ -11,25 +11,57 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(123, "BoidState", 128)]
|
||||
public class BoidState {
|
||||
public BoidState ptr_next;
|
||||
public BoidState ptr_prev;
|
||||
[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(16, "ListBase", 3, "conditions", "ListBase", false, 32)]
|
||||
public ListBase conditions;
|
||||
[DNAFieldAttribute(16, "ListBase", 4, "actions", "ListBase", false, 48)]
|
||||
public ListBase actions;
|
||||
[DNAArrayAttribute(32, "char", 5, "name[32]", "System.Char[]", 32, false, 64)]
|
||||
public char[] name = new System.Char[32];
|
||||
[DNAFieldAttribute(4, "int", 6, "id", "int", false, 96)]
|
||||
public int id;
|
||||
[DNAFieldAttribute(4, "int", 7, "flag", "int", false, 100)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "int", 8, "ruleset_type", "int", false, 104)]
|
||||
public int ruleset_type;
|
||||
[DNAFieldAttribute(4, "float", 9, "rule_fuzziness", "float", false, 108)]
|
||||
public float rule_fuzziness;
|
||||
[DNAFieldAttribute(4, "int", 10, "signal_id", "int", false, 112)]
|
||||
public int signal_id;
|
||||
[DNAFieldAttribute(4, "int", 11, "channels", "int", false, 116)]
|
||||
public int channels;
|
||||
[DNAFieldAttribute(4, "float", 12, "volume", "float", false, 120)]
|
||||
public float volume;
|
||||
[DNAFieldAttribute(4, "float", 13, "falloff", "float", false, 124)]
|
||||
public float falloff;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.rules = default;
|
||||
this.conditions = default;
|
||||
this.actions = default;
|
||||
this.name = default;
|
||||
this.id = default;
|
||||
this.flag = default;
|
||||
this.ruleset_type = default;
|
||||
this.rule_fuzziness = default;
|
||||
this.signal_id = default;
|
||||
this.channels = default;
|
||||
this.volume = default;
|
||||
this.falloff = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,66 +11,176 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(54, "Bone", 472)]
|
||||
public class Bone {
|
||||
public Bone ptr_next;
|
||||
public Bone ptr_prev;
|
||||
public IDProperty ptr_prop;
|
||||
public Bone ptr_parent;
|
||||
[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;
|
||||
[DNAArrayAttribute(64, "char", 5, "name[64]", "System.Char[]", 64, false, 48)]
|
||||
public char[] name = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "float", 6, "roll", "float", false, 112)]
|
||||
public float roll;
|
||||
[DNAArrayAttribute(12, "float", 7, "head[3]", "System.Single[]", 3, false, 116)]
|
||||
public float[] head = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 8, "tail[3]", "System.Single[]", 3, false, 128)]
|
||||
public float[] tail = new System.Single[3];
|
||||
[DNAArrayAttribute(36, "float", 9, "bone_mat[3][3]", "System.Single[,]", 9, false, 140)]
|
||||
public float[,] bone_mat = new System.Single[3,3];
|
||||
[DNAFieldAttribute(4, "int", 10, "flag", "int", false, 176)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", 4, false, 180)]
|
||||
public char[] _pad1 = new System.Char[4];
|
||||
[DNAFieldAttribute(24, "BoneColor", 12, "color", "BoneColor", false, 184)]
|
||||
public BoneColor color;
|
||||
[DNAFieldAttribute(1, "char", 13, "inherit_scale_mode", "char", false, 208)]
|
||||
public char inherit_scale_mode;
|
||||
[DNAArrayAttribute(3, "char", 14, "_pad[3]", "System.Char[]", 3, false, 209)]
|
||||
public char[] _pad = new System.Char[3];
|
||||
[DNAArrayAttribute(12, "float", 15, "arm_head[3]", "System.Single[]", 3, false, 212)]
|
||||
public float[] arm_head = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 16, "arm_tail[3]", "System.Single[]", 3, false, 224)]
|
||||
public float[] arm_tail = new System.Single[3];
|
||||
[DNAArrayAttribute(64, "float", 17, "arm_mat[4][4]", "System.Single[,]", 16, false, 236)]
|
||||
public float[,] arm_mat = new System.Single[4,4];
|
||||
[DNAFieldAttribute(4, "float", 18, "arm_roll", "float", false, 300)]
|
||||
public float arm_roll;
|
||||
[DNAFieldAttribute(4, "float", 19, "dist", "float", false, 304)]
|
||||
public float dist;
|
||||
[DNAFieldAttribute(4, "float", 20, "weight", "float", false, 308)]
|
||||
public float weight;
|
||||
[DNAFieldAttribute(4, "float", 21, "xwidth", "float", false, 312)]
|
||||
public float xwidth;
|
||||
[DNAFieldAttribute(4, "float", 22, "length", "float", false, 316)]
|
||||
public float length;
|
||||
[DNAFieldAttribute(4, "float", 23, "zwidth", "float", false, 320)]
|
||||
public float zwidth;
|
||||
[DNAFieldAttribute(4, "float", 24, "rad_head", "float", false, 324)]
|
||||
public float rad_head;
|
||||
[DNAFieldAttribute(4, "float", 25, "rad_tail", "float", false, 328)]
|
||||
public float rad_tail;
|
||||
[DNAFieldAttribute(4, "float", 26, "roll1", "float", false, 332)]
|
||||
public float roll1;
|
||||
[DNAFieldAttribute(4, "float", 27, "roll2", "float", false, 336)]
|
||||
public float roll2;
|
||||
[DNAFieldAttribute(4, "float", 28, "curveInX", "float", false, 340)]
|
||||
public float curveInX;
|
||||
[DNAFieldAttribute(4, "float", 29, "curveInY", "float", false, 344)]
|
||||
public float curveInY;
|
||||
[DNAFieldAttribute(4, "float", 30, "curveOutX", "float", false, 348)]
|
||||
public float curveOutX;
|
||||
[DNAFieldAttribute(4, "float", 31, "curveOutY", "float", false, 352)]
|
||||
public float curveOutY;
|
||||
[DNAFieldAttribute(4, "float", 32, "ease1", "float", false, 356)]
|
||||
public float ease1;
|
||||
[DNAFieldAttribute(4, "float", 33, "ease2", "float", false, 360)]
|
||||
public float ease2;
|
||||
[DNAFieldAttribute(4, "float", 34, "scaleIn", "float", false, 364)]
|
||||
public float scaleIn;
|
||||
[DNAFieldAttribute(4, "float", 35, "scale_in_y", "float", false, 368)]
|
||||
public float scale_in_y;
|
||||
[DNAFieldAttribute(4, "float", 36, "scaleOut", "float", false, 372)]
|
||||
public float scaleOut;
|
||||
[DNAFieldAttribute(4, "float", 37, "scale_out_y", "float", false, 376)]
|
||||
public float scale_out_y;
|
||||
[DNAArrayAttribute(12, "float", 38, "scale_in[3]", "System.Single[]", 3, false, 380)]
|
||||
public float[] scale_in = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 39, "scale_out[3]", "System.Single[]", 3, false, 392)]
|
||||
public float[] scale_out = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 40, "size[3]", "System.Single[]", 3, false, 404)]
|
||||
public float[] size = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "int", 41, "layer", "int", false, 416)]
|
||||
public int layer;
|
||||
[DNAFieldAttribute(2, "short", 42, "segments", "short", false, 420)]
|
||||
public short segments;
|
||||
[DNAFieldAttribute(1, "char", 43, "bbone_mapping_mode", "char", false, 422)]
|
||||
public char bbone_mapping_mode;
|
||||
[DNAArrayAttribute(7, "char", 44, "_pad2[7]", "System.Char[]", 7, false, 423)]
|
||||
public char[] _pad2 = new System.Char[7];
|
||||
[DNAFieldAttribute(1, "char", 45, "bbone_prev_type", "char", false, 430)]
|
||||
public char bbone_prev_type;
|
||||
[DNAFieldAttribute(1, "char", 46, "bbone_next_type", "char", false, 431)]
|
||||
public char bbone_next_type;
|
||||
[DNAFieldAttribute(4, "int", 47, "bbone_flag", "int", false, 432)]
|
||||
public int bbone_flag;
|
||||
[DNAFieldAttribute(2, "short", 48, "bbone_prev_flag", "short", false, 436)]
|
||||
public short bbone_prev_flag;
|
||||
[DNAFieldAttribute(2, "short", 49, "bbone_next_flag", "short", false, 438)]
|
||||
public short bbone_next_flag;
|
||||
public Bone ptr_bbone_prev;
|
||||
public Bone ptr_bbone_next;
|
||||
[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.next = default;
|
||||
this.prev = default;
|
||||
this.prop = default;
|
||||
this.parent = default;
|
||||
this.childbase = default;
|
||||
this.name = default;
|
||||
this.roll = default;
|
||||
this.head = default;
|
||||
this.tail = default;
|
||||
this.bone_mat = default;
|
||||
this.flag = default;
|
||||
this._pad1 = default;
|
||||
this.color = default;
|
||||
this.inherit_scale_mode = default;
|
||||
this._pad = default;
|
||||
this.arm_head = default;
|
||||
this.arm_tail = default;
|
||||
this.arm_mat = default;
|
||||
this.arm_roll = default;
|
||||
this.dist = default;
|
||||
this.weight = default;
|
||||
this.xwidth = default;
|
||||
this.length = default;
|
||||
this.zwidth = default;
|
||||
this.rad_head = default;
|
||||
this.rad_tail = default;
|
||||
this.roll1 = default;
|
||||
this.roll2 = default;
|
||||
this.curveInX = default;
|
||||
this.curveInY = default;
|
||||
this.curveOutX = default;
|
||||
this.curveOutY = default;
|
||||
this.ease1 = default;
|
||||
this.ease2 = default;
|
||||
this.scaleIn = default;
|
||||
this.scale_in_y = default;
|
||||
this.scaleOut = default;
|
||||
this.scale_out_y = default;
|
||||
this.scale_in = default;
|
||||
this.scale_out = default;
|
||||
this.size = default;
|
||||
this.layer = default;
|
||||
this.segments = default;
|
||||
this.bbone_mapping_mode = default;
|
||||
this._pad2 = default;
|
||||
this.bbone_prev_type = default;
|
||||
this.bbone_next_type = default;
|
||||
this.bbone_flag = default;
|
||||
this.bbone_prev_flag = default;
|
||||
this.bbone_next_flag = 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,
|
||||
@@ -117,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;
|
||||
@@ -170,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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,27 +11,49 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(105, "BoneCollection", 120)]
|
||||
public class BoneCollection {
|
||||
public BoneCollection ptr_next;
|
||||
public BoneCollection ptr_prev;
|
||||
[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(16, "ListBase", 3, "bones", "ListBase", false, 80)]
|
||||
public ListBase bones;
|
||||
[DNAFieldAttribute(1, "uchar", 4, "flags", "uchar", false, 96)]
|
||||
public byte flags;
|
||||
[DNAArrayAttribute(7, "uchar", 5, "_pad0[7]", "System.Byte[]", 7, false, 97)]
|
||||
public byte[] _pad0 = new System.Byte[7];
|
||||
[DNAFieldAttribute(4, "int", 6, "child_index", "int", false, 104)]
|
||||
public int child_index;
|
||||
[DNAFieldAttribute(4, "int", 7, "child_count", "int", false, 108)]
|
||||
public int child_count;
|
||||
public IDProperty ptr_prop;
|
||||
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;
|
||||
[DNAFieldAttribute(8, "IDProperty", 8, "*prop", "IDProperty", true, 112)]
|
||||
public IDProperty prop;
|
||||
public BoneCollection() {
|
||||
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.prop = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,15 +11,25 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(108, "BoneCollectionMember", 24)]
|
||||
public class BoneCollectionMember {
|
||||
public BoneCollectionMember ptr_next;
|
||||
public BoneCollectionMember ptr_prev;
|
||||
public Bone ptr_bone;
|
||||
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;
|
||||
[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.next = default;
|
||||
this.prev = default;
|
||||
this.bone = default;
|
||||
}
|
||||
public BoneCollectionMember(BoneCollectionMember next, BoneCollectionMember prev, Bone bone) {
|
||||
this.next = next;
|
||||
this.prev = prev;
|
||||
this.bone = bone;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,15 +11,25 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(109, "BoneCollectionReference", 24)]
|
||||
public class BoneCollectionReference {
|
||||
public BoneCollectionReference ptr_next;
|
||||
public BoneCollectionReference ptr_prev;
|
||||
public BoneCollection ptr_bcoll;
|
||||
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;
|
||||
[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.next = default;
|
||||
this.prev = default;
|
||||
this.bcoll = default;
|
||||
}
|
||||
public BoneCollectionReference(BoneCollectionReference next, BoneCollectionReference prev, BoneCollection bcoll) {
|
||||
this.next = next;
|
||||
this.prev = prev;
|
||||
this.bcoll = bcoll;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,11 +11,21 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoneColor {
|
||||
[DNAClassAttribute(57, "BoneColor", 24)]
|
||||
public class BoneColor {
|
||||
[DNAFieldAttribute(1, "int8_t", 0, "palette_index", "int8_t", false, 0)]
|
||||
public sbyte palette_index;
|
||||
[DNAArrayAttribute(7, "uchar", 1, "_pad0[7]", "System.Byte[]", 7, false, 1)]
|
||||
public byte[] _pad0 = new System.Byte[7];
|
||||
[DNAFieldAttribute(16, "ThemeWireColor", 2, "custom", "ThemeWireColor", false, 8)]
|
||||
public ThemeWireColor custom;
|
||||
public BoneColor() {
|
||||
this.palette_index = default;
|
||||
this._pad0 = default;
|
||||
this.custom = default;
|
||||
}
|
||||
public BoneColor(sbyte palette_index, byte[] _pad0, ThemeWireColor custom) {
|
||||
this.palette_index = palette_index;
|
||||
this._pad0 = _pad0;
|
||||
|
||||
@@ -11,9 +11,15 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct Bone_Runtime {
|
||||
[DNAClassAttribute(103, "Bone_Runtime", 16)]
|
||||
public class Bone_Runtime {
|
||||
[DNAFieldAttribute(16, "ListBase", 0, "collections", "ListBase", false, 0)]
|
||||
public ListBase collections;
|
||||
public Bone_Runtime() {
|
||||
this.collections = default;
|
||||
}
|
||||
public Bone_Runtime(ListBase collections) {
|
||||
this.collections = collections;
|
||||
}
|
||||
|
||||
@@ -11,22 +11,46 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(473, "BooleanModifierData", 152)]
|
||||
public class BooleanModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
public Object ptr_object;
|
||||
public Collection ptr_collection;
|
||||
[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(1, "char", 4, "operation", "char", false, 140)]
|
||||
public char operation;
|
||||
[DNAFieldAttribute(1, "char", 5, "solver", "char", false, 141)]
|
||||
public char solver;
|
||||
[DNAFieldAttribute(1, "char", 6, "material_mode", "char", false, 142)]
|
||||
public char material_mode;
|
||||
[DNAFieldAttribute(1, "char", 7, "flag", "char", false, 143)]
|
||||
public char flag;
|
||||
[DNAFieldAttribute(1, "char", 8, "bm_flag", "char", false, 144)]
|
||||
public char bm_flag;
|
||||
[DNAArrayAttribute(7, "char", 9, "_pad[7]", "System.Char[]", 7, false, 145)]
|
||||
public char[] _pad = new System.Char[7];
|
||||
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() {
|
||||
this.modifier = default;
|
||||
this.@object = default;
|
||||
this.collection = default;
|
||||
this.double_threshold = default;
|
||||
this.operation = default;
|
||||
this.solver = default;
|
||||
this.material_mode = default;
|
||||
this.flag = default;
|
||||
this.bm_flag = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,9 +11,15 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BoundBox {
|
||||
[DNAClassAttribute(442, "BoundBox", 96)]
|
||||
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;
|
||||
}
|
||||
public BoundBox(float[,] vec) {
|
||||
this.vec = vec;
|
||||
}
|
||||
|
||||
@@ -11,11 +11,21 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BrightContrastModifierData {
|
||||
[DNAClassAttribute(908, "BrightContrastModifierData", 120)]
|
||||
public class BrightContrastModifierData {
|
||||
[DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)]
|
||||
public SequenceModifierData modifier;
|
||||
[DNAFieldAttribute(4, "float", 1, "bright", "float", false, 112)]
|
||||
public float bright;
|
||||
[DNAFieldAttribute(4, "float", 2, "contrast", "float", false, 116)]
|
||||
public float contrast;
|
||||
public BrightContrastModifierData() {
|
||||
this.modifier = default;
|
||||
this.bright = default;
|
||||
this.contrast = default;
|
||||
}
|
||||
public BrightContrastModifierData(SequenceModifierData modifier, float bright, float contrast) {
|
||||
this.modifier = modifier;
|
||||
this.bright = bright;
|
||||
|
||||
@@ -11,144 +11,398 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(131, "Brush", 2216)]
|
||||
public class Brush {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
[DNAFieldAttribute(24, "BrushClone", 1, "clone", "BrushClone", false, 208)]
|
||||
public BrushClone clone;
|
||||
public CurveMapping ptr_curve;
|
||||
[DNAFieldAttribute(8, "CurveMapping", 2, "*curve", "CurveMapping", true, 232)]
|
||||
public CurveMapping curve;
|
||||
[DNAFieldAttribute(216, "MTex", 3, "mtex", "MTex", false, 240)]
|
||||
public MTex mtex;
|
||||
[DNAFieldAttribute(216, "MTex", 4, "mask_mtex", "MTex", false, 456)]
|
||||
public MTex mask_mtex;
|
||||
public Brush ptr_toggle_brush;
|
||||
public ImBuf ptr_icon_imbuf;
|
||||
public PreviewImage ptr_preview;
|
||||
public ColorBand ptr_gradient;
|
||||
public PaintCurve ptr_paint_curve;
|
||||
[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(4, "float", 11, "normal_weight", "float", false, 1736)]
|
||||
public float normal_weight;
|
||||
[DNAFieldAttribute(4, "float", 12, "rake_factor", "float", false, 1740)]
|
||||
public float rake_factor;
|
||||
[DNAFieldAttribute(2, "short", 13, "blend", "short", false, 1744)]
|
||||
public short blend;
|
||||
[DNAFieldAttribute(2, "short", 14, "ob_mode", "short", false, 1746)]
|
||||
public short ob_mode;
|
||||
[DNAFieldAttribute(4, "float", 15, "weight", "float", false, 1748)]
|
||||
public float weight;
|
||||
[DNAFieldAttribute(4, "int", 16, "size", "int", false, 1752)]
|
||||
public int size;
|
||||
[DNAFieldAttribute(4, "int", 17, "flag", "int", false, 1756)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "int", 18, "flag2", "int", false, 1760)]
|
||||
public int flag2;
|
||||
[DNAFieldAttribute(4, "int", 19, "sampling_flag", "int", false, 1764)]
|
||||
public int sampling_flag;
|
||||
[DNAFieldAttribute(4, "int", 20, "input_samples", "int", false, 1768)]
|
||||
public int input_samples;
|
||||
[DNAFieldAttribute(4, "int", 21, "mask_pressure", "int", false, 1772)]
|
||||
public int mask_pressure;
|
||||
[DNAFieldAttribute(4, "float", 22, "jitter", "float", false, 1776)]
|
||||
public float jitter;
|
||||
[DNAFieldAttribute(4, "int", 23, "jitter_absolute", "int", false, 1780)]
|
||||
public int jitter_absolute;
|
||||
[DNAFieldAttribute(4, "int", 24, "overlay_flags", "int", false, 1784)]
|
||||
public int overlay_flags;
|
||||
[DNAFieldAttribute(4, "int", 25, "spacing", "int", false, 1788)]
|
||||
public int spacing;
|
||||
[DNAFieldAttribute(4, "int", 26, "smooth_stroke_radius", "int", false, 1792)]
|
||||
public int smooth_stroke_radius;
|
||||
[DNAFieldAttribute(4, "float", 27, "smooth_stroke_factor", "float", false, 1796)]
|
||||
public float smooth_stroke_factor;
|
||||
[DNAFieldAttribute(4, "float", 28, "rate", "float", false, 1800)]
|
||||
public float rate;
|
||||
[DNAArrayAttribute(12, "float", 29, "rgb[3]", "System.Single[]", 3, false, 1804)]
|
||||
public float[] rgb = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "float", 30, "alpha", "float", false, 1816)]
|
||||
public float alpha;
|
||||
[DNAFieldAttribute(4, "float", 31, "hardness", "float", false, 1820)]
|
||||
public float hardness;
|
||||
[DNAFieldAttribute(4, "float", 32, "flow", "float", false, 1824)]
|
||||
public float flow;
|
||||
[DNAFieldAttribute(4, "float", 33, "wet_mix", "float", false, 1828)]
|
||||
public float wet_mix;
|
||||
[DNAFieldAttribute(4, "float", 34, "wet_persistence", "float", false, 1832)]
|
||||
public float wet_persistence;
|
||||
[DNAFieldAttribute(4, "float", 35, "density", "float", false, 1836)]
|
||||
public float density;
|
||||
[DNAFieldAttribute(4, "int", 36, "paint_flags", "int", false, 1840)]
|
||||
public int paint_flags;
|
||||
[DNAFieldAttribute(4, "float", 37, "tip_roundness", "float", false, 1844)]
|
||||
public float tip_roundness;
|
||||
[DNAFieldAttribute(4, "float", 38, "tip_scale_x", "float", false, 1848)]
|
||||
public float tip_scale_x;
|
||||
[DNAArrayAttribute(12, "float", 39, "secondary_rgb[3]", "System.Single[]", 3, false, 1852)]
|
||||
public float[] secondary_rgb = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "float", 40, "dash_ratio", "float", false, 1864)]
|
||||
public float dash_ratio;
|
||||
[DNAFieldAttribute(4, "int", 41, "dash_samples", "int", false, 1868)]
|
||||
public int dash_samples;
|
||||
[DNAFieldAttribute(4, "int", 42, "sculpt_plane", "int", false, 1872)]
|
||||
public int sculpt_plane;
|
||||
[DNAFieldAttribute(4, "float", 43, "plane_offset", "float", false, 1876)]
|
||||
public float plane_offset;
|
||||
[DNAFieldAttribute(4, "int", 44, "gradient_spacing", "int", false, 1880)]
|
||||
public int gradient_spacing;
|
||||
[DNAFieldAttribute(1, "char", 45, "gradient_stroke_mode", "char", false, 1884)]
|
||||
public char gradient_stroke_mode;
|
||||
[DNAFieldAttribute(1, "char", 46, "gradient_fill_mode", "char", false, 1885)]
|
||||
public char gradient_fill_mode;
|
||||
[DNAFieldAttribute(1, "char", 47, "has_unsaved_changes", "char", false, 1886)]
|
||||
public char has_unsaved_changes;
|
||||
[DNAFieldAttribute(1, "char", 48, "falloff_shape", "char", false, 1887)]
|
||||
public char falloff_shape;
|
||||
[DNAFieldAttribute(4, "float", 49, "falloff_angle", "float", false, 1888)]
|
||||
public float falloff_angle;
|
||||
[DNAFieldAttribute(1, "char", 50, "sculpt_tool", "char", false, 1892)]
|
||||
public char sculpt_tool;
|
||||
[DNAFieldAttribute(1, "char", 51, "vertexpaint_tool", "char", false, 1893)]
|
||||
public char vertexpaint_tool;
|
||||
[DNAFieldAttribute(1, "char", 52, "weightpaint_tool", "char", false, 1894)]
|
||||
public char weightpaint_tool;
|
||||
[DNAFieldAttribute(1, "char", 53, "imagepaint_tool", "char", false, 1895)]
|
||||
public char imagepaint_tool;
|
||||
[DNAFieldAttribute(1, "char", 54, "mask_tool", "char", false, 1896)]
|
||||
public char mask_tool;
|
||||
[DNAFieldAttribute(1, "char", 55, "gpencil_tool", "char", false, 1897)]
|
||||
public char gpencil_tool;
|
||||
[DNAFieldAttribute(1, "char", 56, "gpencil_vertex_tool", "char", false, 1898)]
|
||||
public char gpencil_vertex_tool;
|
||||
[DNAFieldAttribute(1, "char", 57, "gpencil_sculpt_tool", "char", false, 1899)]
|
||||
public char gpencil_sculpt_tool;
|
||||
[DNAFieldAttribute(1, "char", 58, "gpencil_weight_tool", "char", false, 1900)]
|
||||
public char gpencil_weight_tool;
|
||||
[DNAFieldAttribute(1, "char", 59, "curves_sculpt_tool", "char", false, 1901)]
|
||||
public char curves_sculpt_tool;
|
||||
[DNAArrayAttribute(6, "char", 60, "_pad1[6]", "System.Char[]", 6, false, 1902)]
|
||||
public char[] _pad1 = new System.Char[6];
|
||||
[DNAFieldAttribute(4, "float", 61, "autosmooth_factor", "float", false, 1908)]
|
||||
public float autosmooth_factor;
|
||||
[DNAFieldAttribute(4, "float", 62, "tilt_strength_factor", "float", false, 1912)]
|
||||
public float tilt_strength_factor;
|
||||
[DNAFieldAttribute(4, "float", 63, "topology_rake_factor", "float", false, 1916)]
|
||||
public float topology_rake_factor;
|
||||
[DNAFieldAttribute(4, "float", 64, "crease_pinch_factor", "float", false, 1920)]
|
||||
public float crease_pinch_factor;
|
||||
[DNAFieldAttribute(4, "float", 65, "normal_radius_factor", "float", false, 1924)]
|
||||
public float normal_radius_factor;
|
||||
[DNAFieldAttribute(4, "float", 66, "area_radius_factor", "float", false, 1928)]
|
||||
public float area_radius_factor;
|
||||
[DNAFieldAttribute(4, "float", 67, "wet_paint_radius_factor", "float", false, 1932)]
|
||||
public float wet_paint_radius_factor;
|
||||
[DNAFieldAttribute(4, "float", 68, "plane_trim", "float", false, 1936)]
|
||||
public float plane_trim;
|
||||
[DNAFieldAttribute(4, "float", 69, "height", "float", false, 1940)]
|
||||
public float height;
|
||||
[DNAFieldAttribute(4, "float", 70, "texture_sample_bias", "float", false, 1944)]
|
||||
public float texture_sample_bias;
|
||||
[DNAFieldAttribute(4, "int", 71, "curve_preset", "int", false, 1948)]
|
||||
public int curve_preset;
|
||||
[DNAFieldAttribute(4, "float", 72, "disconnected_distance_max", "float", false, 1952)]
|
||||
public float disconnected_distance_max;
|
||||
[DNAFieldAttribute(4, "int", 73, "deform_target", "int", false, 1956)]
|
||||
public int deform_target;
|
||||
[DNAFieldAttribute(4, "int", 74, "automasking_flags", "int", false, 1960)]
|
||||
public int automasking_flags;
|
||||
[DNAFieldAttribute(4, "int", 75, "automasking_boundary_edges_propagation_steps", "int", false, 1964)]
|
||||
public int automasking_boundary_edges_propagation_steps;
|
||||
[DNAFieldAttribute(4, "float", 76, "automasking_start_normal_limit", "float", false, 1968)]
|
||||
public float automasking_start_normal_limit;
|
||||
[DNAFieldAttribute(4, "float", 77, "automasking_start_normal_falloff", "float", false, 1972)]
|
||||
public float automasking_start_normal_falloff;
|
||||
[DNAFieldAttribute(4, "float", 78, "automasking_view_normal_limit", "float", false, 1976)]
|
||||
public float automasking_view_normal_limit;
|
||||
[DNAFieldAttribute(4, "float", 79, "automasking_view_normal_falloff", "float", false, 1980)]
|
||||
public float automasking_view_normal_falloff;
|
||||
[DNAFieldAttribute(4, "int", 80, "elastic_deform_type", "int", false, 1984)]
|
||||
public int elastic_deform_type;
|
||||
[DNAFieldAttribute(4, "float", 81, "elastic_deform_volume_preservation", "float", false, 1988)]
|
||||
public float elastic_deform_volume_preservation;
|
||||
[DNAFieldAttribute(4, "int", 82, "snake_hook_deform_type", "int", false, 1992)]
|
||||
public int snake_hook_deform_type;
|
||||
[DNAFieldAttribute(4, "int", 83, "pose_deform_type", "int", false, 1996)]
|
||||
public int pose_deform_type;
|
||||
[DNAFieldAttribute(4, "float", 84, "pose_offset", "float", false, 2000)]
|
||||
public float pose_offset;
|
||||
[DNAFieldAttribute(4, "int", 85, "pose_smooth_iterations", "int", false, 2004)]
|
||||
public int pose_smooth_iterations;
|
||||
[DNAFieldAttribute(4, "int", 86, "pose_ik_segments", "int", false, 2008)]
|
||||
public int pose_ik_segments;
|
||||
[DNAFieldAttribute(4, "int", 87, "pose_origin_type", "int", false, 2012)]
|
||||
public int pose_origin_type;
|
||||
[DNAFieldAttribute(4, "int", 88, "boundary_deform_type", "int", false, 2016)]
|
||||
public int boundary_deform_type;
|
||||
[DNAFieldAttribute(4, "int", 89, "boundary_falloff_type", "int", false, 2020)]
|
||||
public int boundary_falloff_type;
|
||||
[DNAFieldAttribute(4, "float", 90, "boundary_offset", "float", false, 2024)]
|
||||
public float boundary_offset;
|
||||
[DNAFieldAttribute(4, "int", 91, "cloth_deform_type", "int", false, 2028)]
|
||||
public int cloth_deform_type;
|
||||
[DNAFieldAttribute(4, "int", 92, "cloth_force_falloff_type", "int", false, 2032)]
|
||||
public int cloth_force_falloff_type;
|
||||
[DNAFieldAttribute(4, "int", 93, "cloth_simulation_area_type", "int", false, 2036)]
|
||||
public int cloth_simulation_area_type;
|
||||
[DNAFieldAttribute(4, "float", 94, "cloth_mass", "float", false, 2040)]
|
||||
public float cloth_mass;
|
||||
[DNAFieldAttribute(4, "float", 95, "cloth_damping", "float", false, 2044)]
|
||||
public float cloth_damping;
|
||||
[DNAFieldAttribute(4, "float", 96, "cloth_sim_limit", "float", false, 2048)]
|
||||
public float cloth_sim_limit;
|
||||
[DNAFieldAttribute(4, "float", 97, "cloth_sim_falloff", "float", false, 2052)]
|
||||
public float cloth_sim_falloff;
|
||||
[DNAFieldAttribute(4, "float", 98, "cloth_constraint_softbody_strength", "float", false, 2056)]
|
||||
public float cloth_constraint_softbody_strength;
|
||||
[DNAFieldAttribute(4, "int", 99, "smooth_deform_type", "int", false, 2060)]
|
||||
public int smooth_deform_type;
|
||||
[DNAFieldAttribute(4, "float", 100, "surface_smooth_shape_preservation", "float", false, 2064)]
|
||||
public float surface_smooth_shape_preservation;
|
||||
[DNAFieldAttribute(4, "float", 101, "surface_smooth_current_vertex", "float", false, 2068)]
|
||||
public float surface_smooth_current_vertex;
|
||||
[DNAFieldAttribute(4, "int", 102, "surface_smooth_iterations", "int", false, 2072)]
|
||||
public int surface_smooth_iterations;
|
||||
[DNAFieldAttribute(4, "float", 103, "multiplane_scrape_angle", "float", false, 2076)]
|
||||
public float multiplane_scrape_angle;
|
||||
[DNAFieldAttribute(4, "int", 104, "smear_deform_type", "int", false, 2080)]
|
||||
public int smear_deform_type;
|
||||
[DNAFieldAttribute(4, "int", 105, "slide_deform_type", "int", false, 2084)]
|
||||
public int slide_deform_type;
|
||||
[DNAFieldAttribute(4, "int", 106, "texture_overlay_alpha", "int", false, 2088)]
|
||||
public int texture_overlay_alpha;
|
||||
[DNAFieldAttribute(4, "int", 107, "mask_overlay_alpha", "int", false, 2092)]
|
||||
public int mask_overlay_alpha;
|
||||
[DNAFieldAttribute(4, "int", 108, "cursor_overlay_alpha", "int", false, 2096)]
|
||||
public int cursor_overlay_alpha;
|
||||
[DNAFieldAttribute(4, "float", 109, "unprojected_radius", "float", false, 2100)]
|
||||
public float unprojected_radius;
|
||||
[DNAFieldAttribute(4, "float", 110, "sharp_threshold", "float", false, 2104)]
|
||||
public float sharp_threshold;
|
||||
[DNAFieldAttribute(4, "int", 111, "blur_kernel_radius", "int", false, 2108)]
|
||||
public int blur_kernel_radius;
|
||||
[DNAFieldAttribute(4, "int", 112, "blur_mode", "int", false, 2112)]
|
||||
public int blur_mode;
|
||||
[DNAFieldAttribute(4, "float", 113, "fill_threshold", "float", false, 2116)]
|
||||
public float fill_threshold;
|
||||
[DNAArrayAttribute(16, "float", 114, "add_col[4]", "System.Single[]", 4, false, 2120)]
|
||||
public float[] add_col = new System.Single[4];
|
||||
[DNAArrayAttribute(16, "float", 115, "sub_col[4]", "System.Single[]", 4, false, 2136)]
|
||||
public float[] sub_col = new System.Single[4];
|
||||
[DNAArrayAttribute(8, "float", 116, "stencil_pos[2]", "System.Single[]", 2, false, 2152)]
|
||||
public float[] stencil_pos = new System.Single[2];
|
||||
[DNAArrayAttribute(8, "float", 117, "stencil_dimension[2]", "System.Single[]", 2, false, 2160)]
|
||||
public float[] stencil_dimension = new System.Single[2];
|
||||
[DNAArrayAttribute(8, "float", 118, "mask_stencil_pos[2]", "System.Single[]", 2, false, 2168)]
|
||||
public float[] mask_stencil_pos = new System.Single[2];
|
||||
[DNAArrayAttribute(8, "float", 119, "mask_stencil_dimension[2]", "System.Single[]", 2, false, 2176)]
|
||||
public float[] mask_stencil_dimension = new System.Single[2];
|
||||
public BrushGpencilSettings ptr_gpencil_settings;
|
||||
public BrushCurvesSculptSettings ptr_curves_sculpt_settings;
|
||||
[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(4, "float", 123, "automasking_cavity_factor", "float", false, 2204)]
|
||||
public float automasking_cavity_factor;
|
||||
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.curve = default;
|
||||
this.mtex = default;
|
||||
this.mask_mtex = 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;
|
||||
this.blend = default;
|
||||
this.ob_mode = default;
|
||||
this.weight = default;
|
||||
this.size = default;
|
||||
this.flag = default;
|
||||
this.flag2 = default;
|
||||
this.sampling_flag = default;
|
||||
this.input_samples = default;
|
||||
this.mask_pressure = default;
|
||||
this.jitter = default;
|
||||
this.jitter_absolute = default;
|
||||
this.overlay_flags = default;
|
||||
this.spacing = default;
|
||||
this.smooth_stroke_radius = default;
|
||||
this.smooth_stroke_factor = default;
|
||||
this.rate = default;
|
||||
this.rgb = default;
|
||||
this.alpha = default;
|
||||
this.hardness = default;
|
||||
this.flow = default;
|
||||
this.wet_mix = default;
|
||||
this.wet_persistence = default;
|
||||
this.density = default;
|
||||
this.paint_flags = default;
|
||||
this.tip_roundness = default;
|
||||
this.tip_scale_x = default;
|
||||
this.secondary_rgb = default;
|
||||
this.dash_ratio = default;
|
||||
this.dash_samples = default;
|
||||
this.sculpt_plane = default;
|
||||
this.plane_offset = default;
|
||||
this.gradient_spacing = default;
|
||||
this.gradient_stroke_mode = default;
|
||||
this.gradient_fill_mode = default;
|
||||
this.has_unsaved_changes = default;
|
||||
this.falloff_shape = default;
|
||||
this.falloff_angle = default;
|
||||
this.sculpt_tool = default;
|
||||
this.vertexpaint_tool = default;
|
||||
this.weightpaint_tool = default;
|
||||
this.imagepaint_tool = default;
|
||||
this.mask_tool = default;
|
||||
this.gpencil_tool = default;
|
||||
this.gpencil_vertex_tool = default;
|
||||
this.gpencil_sculpt_tool = default;
|
||||
this.gpencil_weight_tool = default;
|
||||
this.curves_sculpt_tool = default;
|
||||
this._pad1 = default;
|
||||
this.autosmooth_factor = default;
|
||||
this.tilt_strength_factor = default;
|
||||
this.topology_rake_factor = default;
|
||||
this.crease_pinch_factor = default;
|
||||
this.normal_radius_factor = default;
|
||||
this.area_radius_factor = default;
|
||||
this.wet_paint_radius_factor = default;
|
||||
this.plane_trim = default;
|
||||
this.height = default;
|
||||
this.texture_sample_bias = default;
|
||||
this.curve_preset = default;
|
||||
this.disconnected_distance_max = default;
|
||||
this.deform_target = default;
|
||||
this.automasking_flags = default;
|
||||
this.automasking_boundary_edges_propagation_steps = default;
|
||||
this.automasking_start_normal_limit = default;
|
||||
this.automasking_start_normal_falloff = default;
|
||||
this.automasking_view_normal_limit = default;
|
||||
this.automasking_view_normal_falloff = default;
|
||||
this.elastic_deform_type = default;
|
||||
this.elastic_deform_volume_preservation = default;
|
||||
this.snake_hook_deform_type = default;
|
||||
this.pose_deform_type = default;
|
||||
this.pose_offset = default;
|
||||
this.pose_smooth_iterations = default;
|
||||
this.pose_ik_segments = default;
|
||||
this.pose_origin_type = default;
|
||||
this.boundary_deform_type = default;
|
||||
this.boundary_falloff_type = default;
|
||||
this.boundary_offset = default;
|
||||
this.cloth_deform_type = default;
|
||||
this.cloth_force_falloff_type = default;
|
||||
this.cloth_simulation_area_type = default;
|
||||
this.cloth_mass = default;
|
||||
this.cloth_damping = default;
|
||||
this.cloth_sim_limit = default;
|
||||
this.cloth_sim_falloff = default;
|
||||
this.cloth_constraint_softbody_strength = default;
|
||||
this.smooth_deform_type = default;
|
||||
this.surface_smooth_shape_preservation = default;
|
||||
this.surface_smooth_current_vertex = default;
|
||||
this.surface_smooth_iterations = default;
|
||||
this.multiplane_scrape_angle = default;
|
||||
this.smear_deform_type = default;
|
||||
this.slide_deform_type = default;
|
||||
this.texture_overlay_alpha = default;
|
||||
this.mask_overlay_alpha = default;
|
||||
this.cursor_overlay_alpha = default;
|
||||
this.unprojected_radius = default;
|
||||
this.sharp_threshold = default;
|
||||
this.blur_kernel_radius = default;
|
||||
this.blur_mode = default;
|
||||
this.fill_threshold = default;
|
||||
this.add_col = default;
|
||||
this.sub_col = default;
|
||||
this.stencil_pos = default;
|
||||
this.stencil_dimension = default;
|
||||
this.mask_stencil_pos = default;
|
||||
this.mask_stencil_dimension = default;
|
||||
this.gpencil_settings = default;
|
||||
this.curves_sculpt_settings = default;
|
||||
this.automasking_cavity_blur_steps = default;
|
||||
this.automasking_cavity_factor = 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,
|
||||
@@ -259,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;
|
||||
@@ -384,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,14 +11,26 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(125, "BrushClone", 24)]
|
||||
public class BrushClone {
|
||||
public Image ptr_image;
|
||||
[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(4, "float", 2, "alpha", "float", false, 16)]
|
||||
public float alpha;
|
||||
[DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, false, 20)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
public BrushClone(Image ptr_image, float[] offset, float alpha, char[] _pad) {
|
||||
this.ptr_image = ptr_image;
|
||||
public BrushClone() {
|
||||
this.image = default;
|
||||
this.offset = default;
|
||||
this.alpha = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public BrushClone(Image image, float[] offset, float alpha, char[] _pad) {
|
||||
this.image = image;
|
||||
this.offset = offset;
|
||||
this.alpha = alpha;
|
||||
this._pad = _pad;
|
||||
|
||||
@@ -11,20 +11,46 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(130, "BrushCurvesSculptSettings", 48)]
|
||||
public class BrushCurvesSculptSettings {
|
||||
[DNAFieldAttribute(4, "int", 0, "add_amount", "int", false, 0)]
|
||||
public int add_amount;
|
||||
[DNAFieldAttribute(4, "int", 1, "points_per_curve", "int", false, 4)]
|
||||
public int points_per_curve;
|
||||
[DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "float", 3, "minimum_length", "float", false, 12)]
|
||||
public float minimum_length;
|
||||
[DNAFieldAttribute(4, "float", 4, "curve_length", "float", false, 16)]
|
||||
public float curve_length;
|
||||
[DNAFieldAttribute(4, "float", 5, "minimum_distance", "float", false, 20)]
|
||||
public float minimum_distance;
|
||||
[DNAFieldAttribute(4, "float", 6, "curve_radius", "float", false, 24)]
|
||||
public float curve_radius;
|
||||
[DNAFieldAttribute(4, "int", 7, "density_add_attempts", "int", false, 28)]
|
||||
public int density_add_attempts;
|
||||
[DNAFieldAttribute(1, "uchar", 8, "density_mode", "uchar", false, 32)]
|
||||
public byte density_mode;
|
||||
[DNAArrayAttribute(7, "char", 9, "_pad[7]", "System.Char[]", 7, false, 33)]
|
||||
public char[] _pad = new System.Char[7];
|
||||
public 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 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;
|
||||
this.flag = default;
|
||||
this.minimum_length = default;
|
||||
this.curve_length = default;
|
||||
this.minimum_distance = default;
|
||||
this.curve_radius = default;
|
||||
this.density_add_attempts = default;
|
||||
this.density_mode = default;
|
||||
this._pad = 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 curve_parameter_falloff) {
|
||||
this.add_amount = add_amount;
|
||||
this.points_per_curve = points_per_curve;
|
||||
this.flag = flag;
|
||||
@@ -35,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,63 +11,177 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(127, "BrushGpencilSettings", 248)]
|
||||
public class BrushGpencilSettings {
|
||||
[DNAFieldAttribute(4, "float", 0, "draw_smoothfac", "float", false, 0)]
|
||||
public float draw_smoothfac;
|
||||
[DNAFieldAttribute(4, "float", 1, "fill_factor", "float", false, 4)]
|
||||
public float fill_factor;
|
||||
[DNAFieldAttribute(4, "float", 2, "draw_strength", "float", false, 8)]
|
||||
public float draw_strength;
|
||||
[DNAFieldAttribute(4, "float", 3, "draw_jitter", "float", false, 12)]
|
||||
public float draw_jitter;
|
||||
[DNAFieldAttribute(4, "float", 4, "draw_angle", "float", false, 16)]
|
||||
public float draw_angle;
|
||||
[DNAFieldAttribute(4, "float", 5, "draw_angle_factor", "float", false, 20)]
|
||||
public float draw_angle_factor;
|
||||
[DNAFieldAttribute(4, "float", 6, "draw_random_press", "float", false, 24)]
|
||||
public float draw_random_press;
|
||||
[DNAFieldAttribute(4, "float", 7, "draw_random_strength", "float", false, 28)]
|
||||
public float draw_random_strength;
|
||||
[DNAFieldAttribute(2, "short", 8, "draw_smoothlvl", "short", false, 32)]
|
||||
public short draw_smoothlvl;
|
||||
[DNAFieldAttribute(2, "short", 9, "draw_subdivide", "short", false, 34)]
|
||||
public short draw_subdivide;
|
||||
[DNAFieldAttribute(2, "short", 10, "fill_layer_mode", "short", false, 36)]
|
||||
public short fill_layer_mode;
|
||||
[DNAFieldAttribute(2, "short", 11, "fill_direction", "short", false, 38)]
|
||||
public short fill_direction;
|
||||
[DNAFieldAttribute(4, "float", 12, "fill_threshold", "float", false, 40)]
|
||||
public float fill_threshold;
|
||||
[DNAArrayAttribute(2, "char", 13, "_pad2[2]", "System.Char[]", 2, false, 44)]
|
||||
public char[] _pad2 = new System.Char[2];
|
||||
[DNAFieldAttribute(1, "int8_t", 14, "caps_type", "int8_t", false, 46)]
|
||||
public sbyte caps_type;
|
||||
[DNAArrayAttribute(1, "char", 15, "_pad[1]", "System.Char[]", 1, false, 47)]
|
||||
public char[] _pad = new System.Char[1];
|
||||
[DNAFieldAttribute(4, "int", 16, "flag2", "int", false, 48)]
|
||||
public int flag2;
|
||||
[DNAFieldAttribute(4, "int", 17, "fill_simplylvl", "int", false, 52)]
|
||||
public int fill_simplylvl;
|
||||
[DNAFieldAttribute(4, "int", 18, "fill_draw_mode", "int", false, 56)]
|
||||
public int fill_draw_mode;
|
||||
[DNAFieldAttribute(4, "int", 19, "fill_extend_mode", "int", false, 60)]
|
||||
public int fill_extend_mode;
|
||||
[DNAFieldAttribute(4, "int", 20, "input_samples", "int", false, 64)]
|
||||
public int input_samples;
|
||||
[DNAFieldAttribute(4, "float", 21, "uv_random", "float", false, 68)]
|
||||
public float uv_random;
|
||||
[DNAFieldAttribute(4, "int", 22, "brush_type", "int", false, 72)]
|
||||
public int brush_type;
|
||||
[DNAFieldAttribute(4, "int", 23, "eraser_mode", "int", false, 76)]
|
||||
public int eraser_mode;
|
||||
[DNAFieldAttribute(4, "float", 24, "active_smooth", "float", false, 80)]
|
||||
public float active_smooth;
|
||||
[DNAFieldAttribute(4, "float", 25, "era_strength_f", "float", false, 84)]
|
||||
public float era_strength_f;
|
||||
[DNAFieldAttribute(4, "float", 26, "era_thickness_f", "float", false, 88)]
|
||||
public float era_thickness_f;
|
||||
[DNAFieldAttribute(4, "int", 27, "flag", "int", false, 92)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "float", 28, "gradient_f", "float", false, 96)]
|
||||
public float gradient_f;
|
||||
[DNAArrayAttribute(8, "float", 29, "gradient_s[2]", "System.Single[]", 2, false, 100)]
|
||||
public float[] gradient_s = new System.Single[2];
|
||||
[DNAFieldAttribute(4, "float", 30, "simplify_f", "float", false, 108)]
|
||||
public float simplify_f;
|
||||
[DNAFieldAttribute(4, "float", 31, "vertex_factor", "float", false, 112)]
|
||||
public float vertex_factor;
|
||||
[DNAFieldAttribute(4, "int", 32, "vertex_mode", "int", false, 116)]
|
||||
public int vertex_mode;
|
||||
[DNAFieldAttribute(4, "int", 33, "sculpt_flag", "int", false, 120)]
|
||||
public int sculpt_flag;
|
||||
[DNAFieldAttribute(4, "int", 34, "sculpt_mode_flag", "int", false, 124)]
|
||||
public int sculpt_mode_flag;
|
||||
[DNAFieldAttribute(2, "short", 35, "preset_type", "short", false, 128)]
|
||||
public short preset_type;
|
||||
[DNAFieldAttribute(2, "short", 36, "brush_draw_mode", "short", false, 130)]
|
||||
public short brush_draw_mode;
|
||||
[DNAFieldAttribute(4, "float", 37, "random_hue", "float", false, 132)]
|
||||
public float random_hue;
|
||||
[DNAFieldAttribute(4, "float", 38, "random_saturation", "float", false, 136)]
|
||||
public float random_saturation;
|
||||
[DNAFieldAttribute(4, "float", 39, "random_value", "float", false, 140)]
|
||||
public float random_value;
|
||||
[DNAFieldAttribute(4, "float", 40, "fill_extend_fac", "float", false, 144)]
|
||||
public float fill_extend_fac;
|
||||
[DNAFieldAttribute(4, "int", 41, "dilate_pixels", "int", false, 148)]
|
||||
public int dilate_pixels;
|
||||
public CurveMapping ptr_curve_sensitivity;
|
||||
public CurveMapping ptr_curve_strength;
|
||||
public CurveMapping ptr_curve_jitter;
|
||||
public CurveMapping ptr_curve_rand_pressure;
|
||||
public CurveMapping ptr_curve_rand_strength;
|
||||
public CurveMapping ptr_curve_rand_uv;
|
||||
public CurveMapping ptr_curve_rand_hue;
|
||||
public CurveMapping ptr_curve_rand_saturation;
|
||||
public CurveMapping ptr_curve_rand_value;
|
||||
[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(4, "float", 52, "simplify_px", "float", false, 228)]
|
||||
public float simplify_px;
|
||||
public Material ptr_material;
|
||||
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;
|
||||
this.draw_strength = default;
|
||||
this.draw_jitter = default;
|
||||
this.draw_angle = default;
|
||||
this.draw_angle_factor = default;
|
||||
this.draw_random_press = default;
|
||||
this.draw_random_strength = default;
|
||||
this.draw_smoothlvl = default;
|
||||
this.draw_subdivide = default;
|
||||
this.fill_layer_mode = default;
|
||||
this.fill_direction = default;
|
||||
this.fill_threshold = default;
|
||||
this._pad2 = default;
|
||||
this.caps_type = default;
|
||||
this._pad = default;
|
||||
this.flag2 = default;
|
||||
this.fill_simplylvl = default;
|
||||
this.fill_draw_mode = default;
|
||||
this.fill_extend_mode = default;
|
||||
this.input_samples = default;
|
||||
this.uv_random = default;
|
||||
this.brush_type = default;
|
||||
this.eraser_mode = default;
|
||||
this.active_smooth = default;
|
||||
this.era_strength_f = default;
|
||||
this.era_thickness_f = default;
|
||||
this.flag = default;
|
||||
this.gradient_f = default;
|
||||
this.gradient_s = default;
|
||||
this.simplify_f = default;
|
||||
this.vertex_factor = default;
|
||||
this.vertex_mode = default;
|
||||
this.sculpt_flag = default;
|
||||
this.sculpt_mode_flag = default;
|
||||
this.preset_type = default;
|
||||
this.brush_draw_mode = default;
|
||||
this.random_hue = default;
|
||||
this.random_saturation = default;
|
||||
this.random_value = default;
|
||||
this.fill_extend_fac = default;
|
||||
this.dilate_pixels = 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.material = default;
|
||||
this.material_alt = default;
|
||||
}
|
||||
public BrushGpencilSettings(
|
||||
float draw_smoothfac,
|
||||
float fill_factor,
|
||||
@@ -111,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;
|
||||
@@ -166,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,19 +11,39 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(235, "BuildEff", 32)]
|
||||
public class BuildEff {
|
||||
public BuildEff ptr_next;
|
||||
public BuildEff ptr_prev;
|
||||
[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(2, "short", 3, "flag", "short", false, 18)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)]
|
||||
public short buttype;
|
||||
[DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, false, 22)]
|
||||
public char[] _pad0 = new System.Char[2];
|
||||
[DNAFieldAttribute(4, "float", 6, "len", "float", false, 24)]
|
||||
public float len;
|
||||
[DNAFieldAttribute(4, "float", 7, "sfra", "float", false, 28)]
|
||||
public float sfra;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.type = default;
|
||||
this.flag = default;
|
||||
this.buttype = default;
|
||||
this._pad0 = default;
|
||||
this.len = default;
|
||||
this.sfra = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,35 +11,87 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(285, "BuildGpencilModifierData", 376)]
|
||||
public class BuildGpencilModifierData {
|
||||
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
|
||||
public GpencilModifierData modifier;
|
||||
public Material ptr_material;
|
||||
[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(4, "int", 3, "pass_index", "int", false, 176)]
|
||||
public int pass_index;
|
||||
[DNAArrayAttribute(64, "char", 4, "materialname[64]", "System.Char[]", 64, false, 180)]
|
||||
public char[] materialname = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "int", 5, "layer_pass", "int", false, 244)]
|
||||
public int layer_pass;
|
||||
[DNAFieldAttribute(4, "float", 6, "start_frame", "float", false, 248)]
|
||||
public float start_frame;
|
||||
[DNAFieldAttribute(4, "float", 7, "end_frame", "float", false, 252)]
|
||||
public float end_frame;
|
||||
[DNAFieldAttribute(4, "float", 8, "start_delay", "float", false, 256)]
|
||||
public float start_delay;
|
||||
[DNAFieldAttribute(4, "float", 9, "length", "float", false, 260)]
|
||||
public float length;
|
||||
[DNAFieldAttribute(2, "short", 10, "flag", "short", false, 264)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 11, "mode", "short", false, 266)]
|
||||
public short mode;
|
||||
[DNAFieldAttribute(2, "short", 12, "transition", "short", false, 268)]
|
||||
public short transition;
|
||||
[DNAFieldAttribute(2, "short", 13, "time_alignment", "short", false, 270)]
|
||||
public short time_alignment;
|
||||
[DNAFieldAttribute(4, "float", 14, "speed_fac", "float", false, 272)]
|
||||
public float speed_fac;
|
||||
[DNAFieldAttribute(4, "float", 15, "speed_maxgap", "float", false, 276)]
|
||||
public float speed_maxgap;
|
||||
[DNAFieldAttribute(2, "short", 16, "time_mode", "short", false, 280)]
|
||||
public short time_mode;
|
||||
[DNAArrayAttribute(6, "char", 17, "_pad[6]", "System.Char[]", 6, false, 282)]
|
||||
public char[] _pad = new System.Char[6];
|
||||
public Object ptr_object;
|
||||
[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(4, "float", 20, "fade_fac", "float", false, 300)]
|
||||
public float fade_fac;
|
||||
[DNAArrayAttribute(64, "char", 21, "target_vgname[64]", "System.Char[]", 64, false, 304)]
|
||||
public char[] target_vgname = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "float", 22, "fade_opacity_strength", "float", false, 368)]
|
||||
public float fade_opacity_strength;
|
||||
[DNAFieldAttribute(4, "float", 23, "fade_thickness_strength", "float", false, 372)]
|
||||
public float fade_thickness_strength;
|
||||
public BuildGpencilModifierData() {
|
||||
this.modifier = default;
|
||||
this.material = default;
|
||||
this.layername = default;
|
||||
this.pass_index = default;
|
||||
this.materialname = default;
|
||||
this.layer_pass = default;
|
||||
this.start_frame = default;
|
||||
this.end_frame = default;
|
||||
this.start_delay = default;
|
||||
this.length = default;
|
||||
this.flag = default;
|
||||
this.mode = default;
|
||||
this.transition = default;
|
||||
this.time_alignment = default;
|
||||
this.speed_fac = default;
|
||||
this.speed_maxgap = default;
|
||||
this.time_mode = default;
|
||||
this._pad = default;
|
||||
this.@object = default;
|
||||
this.percentage_fac = default;
|
||||
this.fade_fac = default;
|
||||
this.target_vgname = default;
|
||||
this.fade_opacity_strength = default;
|
||||
this.fade_thickness_strength = default;
|
||||
}
|
||||
public BuildGpencilModifierData(
|
||||
GpencilModifierData modifier,
|
||||
Material ptr_material,
|
||||
Material material,
|
||||
char[] layername,
|
||||
int pass_index,
|
||||
char[] materialname,
|
||||
@@ -56,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;
|
||||
@@ -80,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;
|
||||
|
||||
@@ -11,14 +11,30 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct BuildModifierData {
|
||||
[DNAClassAttribute(449, "BuildModifierData", 136)]
|
||||
public class BuildModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
[DNAFieldAttribute(4, "float", 1, "start", "float", false, 120)]
|
||||
public float start;
|
||||
[DNAFieldAttribute(4, "float", 2, "length", "float", false, 124)]
|
||||
public float length;
|
||||
[DNAFieldAttribute(2, "short", 3, "flag", "short", false, 128)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 4, "randomize", "short", false, 130)]
|
||||
public short randomize;
|
||||
[DNAFieldAttribute(4, "int", 5, "seed", "int", false, 132)]
|
||||
public int seed;
|
||||
public BuildModifierData() {
|
||||
this.modifier = default;
|
||||
this.start = default;
|
||||
this.length = default;
|
||||
this.flag = default;
|
||||
this.randomize = default;
|
||||
this.seed = default;
|
||||
}
|
||||
public BuildModifierData(ModifierData modifier, float start, float length, short flag, short randomize, int seed) {
|
||||
this.modifier = modifier;
|
||||
this.start = start;
|
||||
|
||||
@@ -11,14 +11,30 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CBData {
|
||||
[DNAClassAttribute(974, "CBData", 24)]
|
||||
public class CBData {
|
||||
[DNAFieldAttribute(4, "float", 0, "r", "float", false, 0)]
|
||||
public float r;
|
||||
[DNAFieldAttribute(4, "float", 1, "g", "float", false, 4)]
|
||||
public float g;
|
||||
[DNAFieldAttribute(4, "float", 2, "b", "float", false, 8)]
|
||||
public float b;
|
||||
[DNAFieldAttribute(4, "float", 3, "a", "float", false, 12)]
|
||||
public float a;
|
||||
[DNAFieldAttribute(4, "float", 4, "pos", "float", false, 16)]
|
||||
public float pos;
|
||||
[DNAFieldAttribute(4, "int", 5, "cur", "int", false, 20)]
|
||||
public int cur;
|
||||
public CBData() {
|
||||
this.r = default;
|
||||
this.g = default;
|
||||
this.b = default;
|
||||
this.a = default;
|
||||
this.pos = default;
|
||||
this.cur = default;
|
||||
}
|
||||
public CBData(float r, float g, float b, float a, float pos, int cur) {
|
||||
this.r = r;
|
||||
this.g = g;
|
||||
|
||||
@@ -11,37 +11,93 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(142, "CacheFile", 2416)]
|
||||
public class CacheFile {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
public AnimData ptr_adt;
|
||||
[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(16, "ListBase", 3, "layers", "ListBase", false, 232)]
|
||||
public ListBase layers;
|
||||
[DNAArrayAttribute(1024, "char", 4, "filepath[1024]", "System.Char[]", 1024, false, 248)]
|
||||
public char[] filepath = new System.Char[1024];
|
||||
[DNAFieldAttribute(1, "char", 5, "is_sequence", "char", false, 1272)]
|
||||
public char is_sequence;
|
||||
[DNAFieldAttribute(1, "char", 6, "forward_axis", "char", false, 1273)]
|
||||
public char forward_axis;
|
||||
[DNAFieldAttribute(1, "char", 7, "up_axis", "char", false, 1274)]
|
||||
public char up_axis;
|
||||
[DNAFieldAttribute(1, "char", 8, "override_frame", "char", false, 1275)]
|
||||
public char override_frame;
|
||||
[DNAFieldAttribute(4, "float", 9, "scale", "float", false, 1276)]
|
||||
public float scale;
|
||||
[DNAFieldAttribute(4, "float", 10, "frame", "float", false, 1280)]
|
||||
public float frame;
|
||||
[DNAFieldAttribute(4, "float", 11, "frame_offset", "float", false, 1284)]
|
||||
public float frame_offset;
|
||||
[DNAArrayAttribute(4, "char", 12, "_pad[4]", "System.Char[]", 4, false, 1288)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
[DNAFieldAttribute(2, "short", 13, "flag", "short", false, 1292)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(1, "char", 14, "type", "char", false, 1294)]
|
||||
public char type;
|
||||
[DNAFieldAttribute(1, "char", 15, "use_render_procedural", "char", false, 1295)]
|
||||
public char use_render_procedural;
|
||||
[DNAArrayAttribute(3, "char", 16, "_pad1[3]", "System.Char[]", 3, false, 1296)]
|
||||
public char[] _pad1 = new System.Char[3];
|
||||
[DNAFieldAttribute(1, "char", 17, "use_prefetch", "char", false, 1299)]
|
||||
public char use_prefetch;
|
||||
[DNAFieldAttribute(4, "int", 18, "prefetch_cache_size", "int", false, 1300)]
|
||||
public int prefetch_cache_size;
|
||||
[DNAFieldAttribute(4, "int", 19, "active_layer", "int", false, 1304)]
|
||||
public int active_layer;
|
||||
[DNAArrayAttribute(3, "char", 20, "_pad2[3]", "System.Char[]", 3, false, 1308)]
|
||||
public char[] _pad2 = new System.Char[3];
|
||||
[DNAFieldAttribute(1, "char", 21, "velocity_unit", "char", false, 1311)]
|
||||
public char velocity_unit;
|
||||
[DNAArrayAttribute(64, "char", 22, "velocity_name[64]", "System.Char[]", 64, false, 1312)]
|
||||
public char[] velocity_name = new System.Char[64];
|
||||
public CacheArchiveHandle ptr_handle;
|
||||
[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];
|
||||
public GSet ptr_handle_readers;
|
||||
[DNAFieldAttribute(8, "GSet", 25, "*handle_readers", "GSet", true, 2408)]
|
||||
public GSet handle_readers;
|
||||
public CacheFile() {
|
||||
this.id = default;
|
||||
this.adt = default;
|
||||
this.object_paths = default;
|
||||
this.layers = default;
|
||||
this.filepath = default;
|
||||
this.is_sequence = default;
|
||||
this.forward_axis = default;
|
||||
this.up_axis = default;
|
||||
this.override_frame = default;
|
||||
this.scale = default;
|
||||
this.frame = default;
|
||||
this.frame_offset = default;
|
||||
this._pad = default;
|
||||
this.flag = default;
|
||||
this.type = default;
|
||||
this.use_render_procedural = default;
|
||||
this._pad1 = default;
|
||||
this.use_prefetch = default;
|
||||
this.prefetch_cache_size = default;
|
||||
this.active_layer = default;
|
||||
this._pad2 = default;
|
||||
this.velocity_unit = default;
|
||||
this.velocity_name = default;
|
||||
this.handle = default;
|
||||
this.handle_filepath = default;
|
||||
this.handle_readers = default;
|
||||
}
|
||||
public CacheFile(
|
||||
ID id,
|
||||
AnimData ptr_adt,
|
||||
AnimData adt,
|
||||
ListBase object_paths,
|
||||
ListBase layers,
|
||||
char[] filepath,
|
||||
@@ -63,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;
|
||||
@@ -89,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,16 +11,30 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(141, "CacheFileLayer", 1048)]
|
||||
public class CacheFileLayer {
|
||||
public CacheFileLayer ptr_next;
|
||||
public CacheFileLayer ptr_prev;
|
||||
[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(4, "int", 3, "flag", "int", false, 1040)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 1044)]
|
||||
public int _pad;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.filepath = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,14 +11,24 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(140, "CacheObjectPath", 4112)]
|
||||
public class CacheObjectPath {
|
||||
public CacheObjectPath ptr_next;
|
||||
public CacheObjectPath ptr_prev;
|
||||
[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(CacheObjectPath ptr_next, CacheObjectPath ptr_prev, char[] path) {
|
||||
this.ptr_next = ptr_next;
|
||||
this.ptr_prev = ptr_prev;
|
||||
public CacheObjectPath() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.path = default;
|
||||
}
|
||||
public CacheObjectPath(CacheObjectPath next, CacheObjectPath prev, char[] path) {
|
||||
this.next = next;
|
||||
this.prev = prev;
|
||||
this.path = path;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,54 +11,144 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(152, "Camera", 736)]
|
||||
public class Camera {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
public AnimData ptr_adt;
|
||||
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
|
||||
public AnimData adt;
|
||||
[DNAFieldAttribute(1, "char", 2, "type", "char", false, 216)]
|
||||
public char type;
|
||||
[DNAFieldAttribute(1, "char", 3, "dtx", "char", false, 217)]
|
||||
public char dtx;
|
||||
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 218)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(4, "float", 5, "passepartalpha", "float", false, 220)]
|
||||
public float passepartalpha;
|
||||
[DNAFieldAttribute(4, "float", 6, "clipsta", "float", false, 224)]
|
||||
public float clipsta;
|
||||
[DNAFieldAttribute(4, "float", 7, "clipend", "float", false, 228)]
|
||||
public float clipend;
|
||||
[DNAFieldAttribute(4, "float", 8, "lens", "float", false, 232)]
|
||||
public float lens;
|
||||
[DNAFieldAttribute(4, "float", 9, "ortho_scale", "float", false, 236)]
|
||||
public float ortho_scale;
|
||||
[DNAFieldAttribute(4, "float", 10, "drawsize", "float", false, 240)]
|
||||
public float drawsize;
|
||||
[DNAFieldAttribute(4, "float", 11, "sensor_x", "float", false, 244)]
|
||||
public float sensor_x;
|
||||
[DNAFieldAttribute(4, "float", 12, "sensor_y", "float", false, 248)]
|
||||
public float sensor_y;
|
||||
[DNAFieldAttribute(4, "float", 13, "shiftx", "float", false, 252)]
|
||||
public float shiftx;
|
||||
[DNAFieldAttribute(4, "float", 14, "shifty", "float", false, 256)]
|
||||
public float shifty;
|
||||
[DNAFieldAttribute(4, "float", 15, "YF_dofdist", "float", false, 260)]
|
||||
public float YF_dofdist;
|
||||
[DNAFieldAttribute(1, "char", 16, "sensor_fit", "char", false, 264)]
|
||||
public char sensor_fit;
|
||||
[DNAFieldAttribute(1, "char", 17, "panorama_type", "char", false, 265)]
|
||||
public char panorama_type;
|
||||
[DNAArrayAttribute(2, "char", 18, "_pad[2]", "System.Char[]", 2, false, 266)]
|
||||
public char[] _pad = new System.Char[2];
|
||||
[DNAFieldAttribute(4, "float", 19, "fisheye_fov", "float", false, 268)]
|
||||
public float fisheye_fov;
|
||||
[DNAFieldAttribute(4, "float", 20, "fisheye_lens", "float", false, 272)]
|
||||
public float fisheye_lens;
|
||||
[DNAFieldAttribute(4, "float", 21, "latitude_min", "float", false, 276)]
|
||||
public float latitude_min;
|
||||
[DNAFieldAttribute(4, "float", 22, "latitude_max", "float", false, 280)]
|
||||
public float latitude_max;
|
||||
[DNAFieldAttribute(4, "float", 23, "longitude_min", "float", false, 284)]
|
||||
public float longitude_min;
|
||||
[DNAFieldAttribute(4, "float", 24, "longitude_max", "float", false, 288)]
|
||||
public float longitude_max;
|
||||
[DNAFieldAttribute(4, "float", 25, "fisheye_polynomial_k0", "float", false, 292)]
|
||||
public float fisheye_polynomial_k0;
|
||||
[DNAFieldAttribute(4, "float", 26, "fisheye_polynomial_k1", "float", false, 296)]
|
||||
public float fisheye_polynomial_k1;
|
||||
[DNAFieldAttribute(4, "float", 27, "fisheye_polynomial_k2", "float", false, 300)]
|
||||
public float fisheye_polynomial_k2;
|
||||
[DNAFieldAttribute(4, "float", 28, "fisheye_polynomial_k3", "float", false, 304)]
|
||||
public float fisheye_polynomial_k3;
|
||||
[DNAFieldAttribute(4, "float", 29, "fisheye_polynomial_k4", "float", false, 308)]
|
||||
public float fisheye_polynomial_k4;
|
||||
[DNAFieldAttribute(4, "float", 30, "central_cylindrical_range_u_min", "float", false, 312)]
|
||||
public float central_cylindrical_range_u_min;
|
||||
[DNAFieldAttribute(4, "float", 31, "central_cylindrical_range_u_max", "float", false, 316)]
|
||||
public float central_cylindrical_range_u_max;
|
||||
[DNAFieldAttribute(4, "float", 32, "central_cylindrical_range_v_min", "float", false, 320)]
|
||||
public float central_cylindrical_range_v_min;
|
||||
[DNAFieldAttribute(4, "float", 33, "central_cylindrical_range_v_max", "float", false, 324)]
|
||||
public float central_cylindrical_range_v_max;
|
||||
[DNAFieldAttribute(4, "float", 34, "central_cylindrical_radius", "float", false, 328)]
|
||||
public float central_cylindrical_radius;
|
||||
[DNAFieldAttribute(4, "float", 35, "_pad2", "float", false, 332)]
|
||||
public float _pad2;
|
||||
public Ipo ptr_ipo;
|
||||
public Object ptr_dof_ob;
|
||||
[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(96, "CameraDOFSettings", 39, "dof", "CameraDOFSettings", false, 384)]
|
||||
public CameraDOFSettings dof;
|
||||
[DNAFieldAttribute(16, "ListBase", 40, "bg_images", "ListBase", false, 480)]
|
||||
public ListBase bg_images;
|
||||
[DNAFieldAttribute(24, "CameraStereoSettings", 41, "stereo", "CameraStereoSettings", false, 496)]
|
||||
public CameraStereoSettings stereo;
|
||||
[DNAFieldAttribute(216, "Camera_Runtime", 42, "runtime", "Camera_Runtime", false, 520)]
|
||||
public Camera_Runtime runtime;
|
||||
public Camera() {
|
||||
this.id = default;
|
||||
this.adt = default;
|
||||
this.type = default;
|
||||
this.dtx = default;
|
||||
this.flag = default;
|
||||
this.passepartalpha = default;
|
||||
this.clipsta = default;
|
||||
this.clipend = default;
|
||||
this.lens = default;
|
||||
this.ortho_scale = default;
|
||||
this.drawsize = default;
|
||||
this.sensor_x = default;
|
||||
this.sensor_y = default;
|
||||
this.shiftx = default;
|
||||
this.shifty = default;
|
||||
this.YF_dofdist = default;
|
||||
this.sensor_fit = default;
|
||||
this.panorama_type = default;
|
||||
this._pad = default;
|
||||
this.fisheye_fov = default;
|
||||
this.fisheye_lens = default;
|
||||
this.latitude_min = default;
|
||||
this.latitude_max = default;
|
||||
this.longitude_min = default;
|
||||
this.longitude_max = default;
|
||||
this.fisheye_polynomial_k0 = default;
|
||||
this.fisheye_polynomial_k1 = default;
|
||||
this.fisheye_polynomial_k2 = default;
|
||||
this.fisheye_polynomial_k3 = default;
|
||||
this.fisheye_polynomial_k4 = default;
|
||||
this.central_cylindrical_range_u_min = default;
|
||||
this.central_cylindrical_range_u_max = default;
|
||||
this.central_cylindrical_range_v_min = default;
|
||||
this.central_cylindrical_range_v_max = default;
|
||||
this.central_cylindrical_radius = default;
|
||||
this._pad2 = default;
|
||||
this.ipo = default;
|
||||
this.dof_ob = default;
|
||||
this.gpu_dof = default;
|
||||
this.dof = default;
|
||||
this.bg_images = default;
|
||||
this.stereo = default;
|
||||
this.runtime = default;
|
||||
}
|
||||
public Camera(
|
||||
ID id,
|
||||
AnimData ptr_adt,
|
||||
AnimData adt,
|
||||
char type,
|
||||
char dtx,
|
||||
short flag,
|
||||
@@ -93,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;
|
||||
@@ -136,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;
|
||||
|
||||
@@ -11,26 +11,54 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(146, "CameraBGImage", 104)]
|
||||
public class CameraBGImage {
|
||||
public CameraBGImage ptr_next;
|
||||
public CameraBGImage ptr_prev;
|
||||
public Image ptr_ima;
|
||||
[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;
|
||||
public MovieClip ptr_clip;
|
||||
[DNAFieldAttribute(8, "MovieClip", 4, "*clip", "MovieClip", true, 64)]
|
||||
public MovieClip clip;
|
||||
[DNAFieldAttribute(8, "MovieClipUser", 5, "cuser", "MovieClipUser", false, 72)]
|
||||
public MovieClipUser cuser;
|
||||
[DNAArrayAttribute(8, "float", 6, "offset[2]", "System.Single[]", 2, false, 80)]
|
||||
public float[] offset = new System.Single[2];
|
||||
[DNAFieldAttribute(4, "float", 7, "scale", "float", false, 88)]
|
||||
public float scale;
|
||||
[DNAFieldAttribute(4, "float", 8, "rotation", "float", false, 92)]
|
||||
public float rotation;
|
||||
[DNAFieldAttribute(4, "float", 9, "alpha", "float", false, 96)]
|
||||
public float alpha;
|
||||
[DNAFieldAttribute(2, "short", 10, "flag", "short", false, 100)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 11, "source", "short", false, 102)]
|
||||
public short source;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.ima = default;
|
||||
this.iuser = default;
|
||||
this.clip = default;
|
||||
this.cuser = default;
|
||||
this.offset = default;
|
||||
this.scale = default;
|
||||
this.rotation = default;
|
||||
this.alpha = default;
|
||||
this.flag = default;
|
||||
this.source = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,19 +11,41 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(150, "CameraDOFSettings", 96)]
|
||||
public class CameraDOFSettings {
|
||||
public Object ptr_focus_object;
|
||||
[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(4, "float", 2, "focus_distance", "float", false, 72)]
|
||||
public float focus_distance;
|
||||
[DNAFieldAttribute(4, "float", 3, "aperture_fstop", "float", false, 76)]
|
||||
public float aperture_fstop;
|
||||
[DNAFieldAttribute(4, "float", 4, "aperture_rotation", "float", false, 80)]
|
||||
public float aperture_rotation;
|
||||
[DNAFieldAttribute(4, "float", 5, "aperture_ratio", "float", false, 84)]
|
||||
public float aperture_ratio;
|
||||
[DNAFieldAttribute(4, "int", 6, "aperture_blades", "int", false, 88)]
|
||||
public int aperture_blades;
|
||||
[DNAFieldAttribute(2, "short", 7, "flag", "short", false, 92)]
|
||||
public short flag;
|
||||
[DNAArrayAttribute(2, "char", 8, "_pad[2]", "System.Char[]", 2, false, 94)]
|
||||
public char[] _pad = new System.Char[2];
|
||||
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() {
|
||||
this.focus_object = default;
|
||||
this.focus_subtarget = default;
|
||||
this.focus_distance = default;
|
||||
this.aperture_fstop = default;
|
||||
this.aperture_rotation = default;
|
||||
this.aperture_ratio = default;
|
||||
this.aperture_blades = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,16 +11,36 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CameraStereoSettings {
|
||||
[DNAClassAttribute(145, "CameraStereoSettings", 24)]
|
||||
public class CameraStereoSettings {
|
||||
[DNAFieldAttribute(4, "float", 0, "interocular_distance", "float", false, 0)]
|
||||
public float interocular_distance;
|
||||
[DNAFieldAttribute(4, "float", 1, "convergence_distance", "float", false, 4)]
|
||||
public float convergence_distance;
|
||||
[DNAFieldAttribute(2, "short", 2, "convergence_mode", "short", false, 8)]
|
||||
public short convergence_mode;
|
||||
[DNAFieldAttribute(2, "short", 3, "pivot", "short", false, 10)]
|
||||
public short pivot;
|
||||
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 12)]
|
||||
public short flag;
|
||||
[DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, false, 14)]
|
||||
public char[] _pad = new System.Char[2];
|
||||
[DNAFieldAttribute(4, "float", 6, "pole_merge_angle_from", "float", false, 16)]
|
||||
public float pole_merge_angle_from;
|
||||
[DNAFieldAttribute(4, "float", 7, "pole_merge_angle_to", "float", false, 20)]
|
||||
public float pole_merge_angle_to;
|
||||
public CameraStereoSettings() {
|
||||
this.interocular_distance = default;
|
||||
this.convergence_distance = default;
|
||||
this.convergence_mode = default;
|
||||
this.pivot = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
this.pole_merge_angle_from = default;
|
||||
this.pole_merge_angle_to = default;
|
||||
}
|
||||
public CameraStereoSettings(float interocular_distance, float convergence_distance, short convergence_mode, short pivot, short flag, char[] _pad, float pole_merge_angle_from, float pole_merge_angle_to) {
|
||||
this.interocular_distance = interocular_distance;
|
||||
this.convergence_distance = convergence_distance;
|
||||
|
||||
@@ -11,13 +11,27 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct Camera_Runtime {
|
||||
[DNAClassAttribute(151, "Camera_Runtime", 216)]
|
||||
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];
|
||||
[DNAArrayAttribute(16, "float", 1, "drw_tria[2][2]", "System.Single[,]", 4, false, 64)]
|
||||
public float[,] drw_tria = new System.Single[2,2];
|
||||
[DNAArrayAttribute(8, "float", 2, "drw_depth[2]", "System.Single[]", 2, false, 80)]
|
||||
public float[] drw_depth = new System.Single[2];
|
||||
[DNAArrayAttribute(64, "float", 3, "drw_focusmat[4][4]", "System.Single[,]", 16, false, 88)]
|
||||
public float[,] drw_focusmat = new System.Single[4,4];
|
||||
[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;
|
||||
this.drw_tria = default;
|
||||
this.drw_depth = default;
|
||||
this.drw_focusmat = default;
|
||||
this.drw_normalmat = default;
|
||||
}
|
||||
public Camera_Runtime(float[,,] drw_corners, float[,] drw_tria, float[] drw_depth, float[,] drw_focusmat, float[,] drw_normalmat) {
|
||||
this.drw_corners = drw_corners;
|
||||
this.drw_tria = drw_tria;
|
||||
|
||||
@@ -11,27 +11,49 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(459, "CastModifierData", 216)]
|
||||
public class CastModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
public Object ptr_object;
|
||||
[DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)]
|
||||
public Object @object;
|
||||
[DNAFieldAttribute(4, "float", 2, "fac", "float", false, 128)]
|
||||
public float fac;
|
||||
[DNAFieldAttribute(4, "float", 3, "radius", "float", false, 132)]
|
||||
public float radius;
|
||||
[DNAFieldAttribute(4, "float", 4, "size", "float", false, 136)]
|
||||
public float size;
|
||||
[DNAArrayAttribute(64, "char", 5, "defgrp_name[64]", "System.Char[]", 64, false, 140)]
|
||||
public char[] defgrp_name = new System.Char[64];
|
||||
[DNAFieldAttribute(2, "short", 6, "flag", "short", false, 204)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 7, "type", "short", false, 206)]
|
||||
public short type;
|
||||
public object ptr__pad1;
|
||||
public CastModifierData(ModifierData modifier, Object ptr_object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object ptr__pad1) {
|
||||
[DNAFieldAttribute(8, "void", 8, "*_pad1", "void", true, 208)]
|
||||
public object _pad1;
|
||||
public CastModifierData() {
|
||||
this.modifier = default;
|
||||
this.@object = default;
|
||||
this.fac = default;
|
||||
this.radius = default;
|
||||
this.size = default;
|
||||
this.defgrp_name = default;
|
||||
this.flag = default;
|
||||
this.type = default;
|
||||
this._pad1 = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,21 +11,41 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(92, "ChannelDriver", 304)]
|
||||
public class ChannelDriver {
|
||||
[DNAFieldAttribute(16, "ListBase", 0, "variables", "ListBase", false, 0)]
|
||||
public ListBase variables;
|
||||
[DNAArrayAttribute(256, "char", 1, "expression[256]", "System.Char[]", 256, false, 16)]
|
||||
public char[] expression = new System.Char[256];
|
||||
public object ptr_expr_comp;
|
||||
public ExprPyLike_Parsed ptr_expr_simple;
|
||||
[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(4, "float", 5, "influence", "float", false, 292)]
|
||||
public float influence;
|
||||
[DNAFieldAttribute(4, "int", 6, "type", "int", false, 296)]
|
||||
public int type;
|
||||
[DNAFieldAttribute(4, "int", 7, "flag", "int", false, 300)]
|
||||
public int flag;
|
||||
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() {
|
||||
this.variables = default;
|
||||
this.expression = 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 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;
|
||||
|
||||
@@ -11,12 +11,24 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CharInfo {
|
||||
[DNAClassAttribute(208, "CharInfo", 8)]
|
||||
public class CharInfo {
|
||||
[DNAFieldAttribute(4, "float", 0, "kern", "float", false, 0)]
|
||||
public float kern;
|
||||
[DNAFieldAttribute(2, "short", 1, "mat_nr", "short", false, 4)]
|
||||
public short mat_nr;
|
||||
[DNAFieldAttribute(1, "char", 2, "flag", "char", false, 6)]
|
||||
public char flag;
|
||||
[DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, false, 7)]
|
||||
public char[] _pad = new System.Char[1];
|
||||
public CharInfo() {
|
||||
this.kern = default;
|
||||
this.mat_nr = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public CharInfo(float kern, short mat_nr, char flag, char[] _pad) {
|
||||
this.kern = kern;
|
||||
this.mat_nr = mat_nr;
|
||||
|
||||
@@ -11,15 +11,33 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ChildParticle {
|
||||
[DNAClassAttribute(780, "ChildParticle", 64)]
|
||||
public class ChildParticle {
|
||||
[DNAFieldAttribute(4, "int", 0, "num", "int", false, 0)]
|
||||
public int num;
|
||||
[DNAFieldAttribute(4, "int", 1, "parent", "int", false, 4)]
|
||||
public int parent;
|
||||
[DNAArrayAttribute(16, "int", 2, "pa[4]", "System.Int32[]", 4, false, 8)]
|
||||
public int[] pa = new System.Int32[4];
|
||||
[DNAArrayAttribute(16, "float", 3, "w[4]", "System.Single[]", 4, false, 24)]
|
||||
public float[] w = new System.Single[4];
|
||||
[DNAArrayAttribute(16, "float", 4, "fuv[4]", "System.Single[]", 4, false, 40)]
|
||||
public float[] fuv = new System.Single[4];
|
||||
[DNAFieldAttribute(4, "float", 5, "foffset", "float", false, 56)]
|
||||
public float foffset;
|
||||
[DNAArrayAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", 4, false, 60)]
|
||||
public char[] _pad0 = new System.Char[4];
|
||||
public ChildParticle() {
|
||||
this.num = default;
|
||||
this.parent = default;
|
||||
this.pa = default;
|
||||
this.w = default;
|
||||
this.fuv = default;
|
||||
this.foffset = default;
|
||||
this._pad0 = default;
|
||||
}
|
||||
public ChildParticle(int num, int parent, int[] pa, float[] w, float[] fuv, float foffset, char[] _pad0) {
|
||||
this.num = num;
|
||||
this.parent = parent;
|
||||
|
||||
@@ -11,28 +11,64 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(157, "ClothCollSettings", 64)]
|
||||
public class ClothCollSettings {
|
||||
public LinkNode ptr_collision_list;
|
||||
[DNAFieldAttribute(4, "float", 1, "epsilon", "float", false, 0)]
|
||||
public float epsilon;
|
||||
[DNAFieldAttribute(4, "float", 2, "self_friction", "float", false, 4)]
|
||||
public float self_friction;
|
||||
[DNAFieldAttribute(4, "float", 3, "friction", "float", false, 8)]
|
||||
public float friction;
|
||||
[DNAFieldAttribute(4, "float", 4, "damping", "float", false, 12)]
|
||||
public float damping;
|
||||
[DNAFieldAttribute(4, "float", 5, "selfepsilon", "float", false, 16)]
|
||||
public float selfepsilon;
|
||||
[DNAFieldAttribute(4, "float", 6, "repel_force", "float", false, 20)]
|
||||
public float repel_force;
|
||||
[DNAFieldAttribute(4, "float", 7, "distance_repel", "float", false, 24)]
|
||||
public float distance_repel;
|
||||
[DNAFieldAttribute(4, "int", 8, "flags", "int", false, 28)]
|
||||
public int flags;
|
||||
[DNAFieldAttribute(2, "short", 9, "self_loop_count", "short", false, 32)]
|
||||
public short self_loop_count;
|
||||
[DNAFieldAttribute(2, "short", 10, "loop_count", "short", false, 34)]
|
||||
public short loop_count;
|
||||
[DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, false, 36)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
public Collection ptr_group;
|
||||
[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(2, "short", 14, "vgroup_objcol", "short", false, 50)]
|
||||
public short vgroup_objcol;
|
||||
[DNAArrayAttribute(4, "char", 15, "_pad2[4]", "System.Char[]", 4, false, 52)]
|
||||
public char[] _pad2 = new System.Char[4];
|
||||
[DNAFieldAttribute(4, "float", 16, "clamp", "float", false, 56)]
|
||||
public float clamp;
|
||||
[DNAFieldAttribute(4, "float", 17, "self_clamp", "float", false, 60)]
|
||||
public float self_clamp;
|
||||
public ClothCollSettings() {
|
||||
this.epsilon = default;
|
||||
this.self_friction = default;
|
||||
this.friction = default;
|
||||
this.damping = default;
|
||||
this.selfepsilon = default;
|
||||
this.repel_force = default;
|
||||
this.distance_repel = default;
|
||||
this.flags = default;
|
||||
this.self_loop_count = default;
|
||||
this.loop_count = default;
|
||||
this._pad = default;
|
||||
this.group = default;
|
||||
this.vgroup_selfcol = default;
|
||||
this.vgroup_objcol = default;
|
||||
this._pad2 = default;
|
||||
this.clamp = default;
|
||||
this.self_clamp = default;
|
||||
}
|
||||
public ClothCollSettings(
|
||||
LinkNode ptr_collision_list,
|
||||
float epsilon,
|
||||
float self_friction,
|
||||
float friction,
|
||||
@@ -44,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;
|
||||
@@ -62,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;
|
||||
|
||||
@@ -11,33 +11,61 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(464, "ClothModifierData", 224)]
|
||||
public class ClothModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
public Cloth ptr_clothObject;
|
||||
public ClothSimSettings ptr_sim_parms;
|
||||
public ClothCollSettings ptr_coll_parms;
|
||||
public PointCache ptr_point_cache;
|
||||
[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;
|
||||
public ClothHairData ptr_hairdata;
|
||||
[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];
|
||||
[DNAArrayAttribute(12, "float", 8, "hair_grid_max[3]", "System.Single[]", 3, false, 188)]
|
||||
public float[] hair_grid_max = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "int", 9, "hair_grid_res[3]", "System.Int32[]", 3, false, 200)]
|
||||
public int[] hair_grid_res = new System.Int32[3];
|
||||
[DNAFieldAttribute(4, "float", 10, "hair_grid_cellsize", "float", false, 212)]
|
||||
public float hair_grid_cellsize;
|
||||
public ClothSolverResult ptr_solver_result;
|
||||
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) {
|
||||
[DNAFieldAttribute(8, "ClothSolverResult", 11, "*solver_result", "ClothSolverResult", true, 216)]
|
||||
public ClothSolverResult solver_result;
|
||||
public ClothModifierData() {
|
||||
this.modifier = default;
|
||||
this.clothObject = default;
|
||||
this.sim_parms = default;
|
||||
this.coll_parms = default;
|
||||
this.point_cache = default;
|
||||
this.ptcaches = 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.solver_result = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,80 +11,224 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(154, "ClothSimSettings", 272)]
|
||||
public class ClothSimSettings {
|
||||
public LinkNode ptr_cache;
|
||||
[DNAFieldAttribute(8, "LinkNode", 0, "*cache", "LinkNode", true, 0)]
|
||||
public LinkNode cache;
|
||||
[DNAFieldAttribute(4, "float", 1, "mingoal", "float", false, 8)]
|
||||
public float mingoal;
|
||||
[DNAFieldAttribute(4, "float", 2, "Cdis", "float", false, 12)]
|
||||
public float Cdis;
|
||||
[DNAFieldAttribute(4, "float", 3, "Cvi", "float", false, 16)]
|
||||
public float Cvi;
|
||||
[DNAArrayAttribute(12, "float", 4, "gravity[3]", "System.Single[]", 3, false, 20)]
|
||||
public float[] gravity = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "float", 5, "dt", "float", false, 32)]
|
||||
public float dt;
|
||||
[DNAFieldAttribute(4, "float", 6, "mass", "float", false, 36)]
|
||||
public float mass;
|
||||
[DNAFieldAttribute(4, "float", 7, "structural", "float", false, 40)]
|
||||
public float structural;
|
||||
[DNAFieldAttribute(4, "float", 8, "shear", "float", false, 44)]
|
||||
public float shear;
|
||||
[DNAFieldAttribute(4, "float", 9, "bending", "float", false, 48)]
|
||||
public float bending;
|
||||
[DNAFieldAttribute(4, "float", 10, "max_bend", "float", false, 52)]
|
||||
public float max_bend;
|
||||
[DNAFieldAttribute(4, "float", 11, "max_struct", "float", false, 56)]
|
||||
public float max_struct;
|
||||
[DNAFieldAttribute(4, "float", 12, "max_shear", "float", false, 60)]
|
||||
public float max_shear;
|
||||
[DNAFieldAttribute(4, "float", 13, "max_sewing", "float", false, 64)]
|
||||
public float max_sewing;
|
||||
[DNAFieldAttribute(4, "float", 14, "avg_spring_len", "float", false, 68)]
|
||||
public float avg_spring_len;
|
||||
[DNAFieldAttribute(4, "float", 15, "timescale", "float", false, 72)]
|
||||
public float timescale;
|
||||
[DNAFieldAttribute(4, "float", 16, "time_scale", "float", false, 76)]
|
||||
public float time_scale;
|
||||
[DNAFieldAttribute(4, "float", 17, "maxgoal", "float", false, 80)]
|
||||
public float maxgoal;
|
||||
[DNAFieldAttribute(4, "float", 18, "eff_force_scale", "float", false, 84)]
|
||||
public float eff_force_scale;
|
||||
[DNAFieldAttribute(4, "float", 19, "eff_wind_scale", "float", false, 88)]
|
||||
public float eff_wind_scale;
|
||||
[DNAFieldAttribute(4, "float", 20, "sim_time_old", "float", false, 92)]
|
||||
public float sim_time_old;
|
||||
[DNAFieldAttribute(4, "float", 21, "defgoal", "float", false, 96)]
|
||||
public float defgoal;
|
||||
[DNAFieldAttribute(4, "float", 22, "goalspring", "float", false, 100)]
|
||||
public float goalspring;
|
||||
[DNAFieldAttribute(4, "float", 23, "goalfrict", "float", false, 104)]
|
||||
public float goalfrict;
|
||||
[DNAFieldAttribute(4, "float", 24, "velocity_smooth", "float", false, 108)]
|
||||
public float velocity_smooth;
|
||||
[DNAFieldAttribute(4, "float", 25, "density_target", "float", false, 112)]
|
||||
public float density_target;
|
||||
[DNAFieldAttribute(4, "float", 26, "density_strength", "float", false, 116)]
|
||||
public float density_strength;
|
||||
[DNAFieldAttribute(4, "float", 27, "collider_friction", "float", false, 120)]
|
||||
public float collider_friction;
|
||||
[DNAFieldAttribute(4, "float", 28, "vel_damping", "float", false, 124)]
|
||||
public float vel_damping;
|
||||
[DNAFieldAttribute(4, "float", 29, "shrink_min", "float", false, 128)]
|
||||
public float shrink_min;
|
||||
[DNAFieldAttribute(4, "float", 30, "shrink_max", "float", false, 132)]
|
||||
public float shrink_max;
|
||||
[DNAFieldAttribute(4, "float", 31, "uniform_pressure_force", "float", false, 136)]
|
||||
public float uniform_pressure_force;
|
||||
[DNAFieldAttribute(4, "float", 32, "target_volume", "float", false, 140)]
|
||||
public float target_volume;
|
||||
[DNAFieldAttribute(4, "float", 33, "pressure_factor", "float", false, 144)]
|
||||
public float pressure_factor;
|
||||
[DNAFieldAttribute(4, "float", 34, "fluid_density", "float", false, 148)]
|
||||
public float fluid_density;
|
||||
[DNAFieldAttribute(2, "short", 35, "vgroup_pressure", "short", false, 152)]
|
||||
public short vgroup_pressure;
|
||||
[DNAArrayAttribute(6, "char", 36, "_pad7[6]", "System.Char[]", 6, false, 154)]
|
||||
public char[] _pad7 = new System.Char[6];
|
||||
[DNAFieldAttribute(4, "float", 37, "bending_damping", "float", false, 160)]
|
||||
public float bending_damping;
|
||||
[DNAFieldAttribute(4, "float", 38, "voxel_cell_size", "float", false, 164)]
|
||||
public float voxel_cell_size;
|
||||
[DNAFieldAttribute(4, "int", 39, "stepsPerFrame", "int", false, 168)]
|
||||
public int stepsPerFrame;
|
||||
[DNAFieldAttribute(4, "int", 40, "flags", "int", false, 172)]
|
||||
public int flags;
|
||||
[DNAFieldAttribute(4, "int", 41, "preroll", "int", false, 176)]
|
||||
public int preroll;
|
||||
[DNAFieldAttribute(4, "int", 42, "maxspringlen", "int", false, 180)]
|
||||
public int maxspringlen;
|
||||
[DNAFieldAttribute(2, "short", 43, "solver_type", "short", false, 184)]
|
||||
public short solver_type;
|
||||
[DNAFieldAttribute(2, "short", 44, "vgroup_bend", "short", false, 186)]
|
||||
public short vgroup_bend;
|
||||
[DNAFieldAttribute(2, "short", 45, "vgroup_mass", "short", false, 188)]
|
||||
public short vgroup_mass;
|
||||
[DNAFieldAttribute(2, "short", 46, "vgroup_struct", "short", false, 190)]
|
||||
public short vgroup_struct;
|
||||
[DNAFieldAttribute(2, "short", 47, "vgroup_shrink", "short", false, 192)]
|
||||
public short vgroup_shrink;
|
||||
[DNAFieldAttribute(2, "short", 48, "shapekey_rest", "short", false, 194)]
|
||||
public short shapekey_rest;
|
||||
[DNAFieldAttribute(2, "short", 49, "presets", "short", false, 196)]
|
||||
public short presets;
|
||||
[DNAFieldAttribute(2, "short", 50, "reset", "short", false, 198)]
|
||||
public short reset;
|
||||
public EffectorWeights ptr_effector_weights;
|
||||
[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(2, "short", 53, "vgroup_shear", "short", false, 210)]
|
||||
public short vgroup_shear;
|
||||
[DNAFieldAttribute(4, "float", 54, "tension", "float", false, 212)]
|
||||
public float tension;
|
||||
[DNAFieldAttribute(4, "float", 55, "compression", "float", false, 216)]
|
||||
public float compression;
|
||||
[DNAFieldAttribute(4, "float", 56, "max_tension", "float", false, 220)]
|
||||
public float max_tension;
|
||||
[DNAFieldAttribute(4, "float", 57, "max_compression", "float", false, 224)]
|
||||
public float max_compression;
|
||||
[DNAFieldAttribute(4, "float", 58, "tension_damp", "float", false, 228)]
|
||||
public float tension_damp;
|
||||
[DNAFieldAttribute(4, "float", 59, "compression_damp", "float", false, 232)]
|
||||
public float compression_damp;
|
||||
[DNAFieldAttribute(4, "float", 60, "shear_damp", "float", false, 236)]
|
||||
public float shear_damp;
|
||||
[DNAFieldAttribute(4, "float", 61, "internal_spring_max_length", "float", false, 240)]
|
||||
public float internal_spring_max_length;
|
||||
[DNAFieldAttribute(4, "float", 62, "internal_spring_max_diversion", "float", false, 244)]
|
||||
public float internal_spring_max_diversion;
|
||||
[DNAFieldAttribute(2, "short", 63, "vgroup_intern", "short", false, 248)]
|
||||
public short vgroup_intern;
|
||||
[DNAArrayAttribute(2, "char", 64, "_pad1[2]", "System.Char[]", 2, false, 250)]
|
||||
public char[] _pad1 = new System.Char[2];
|
||||
[DNAFieldAttribute(4, "float", 65, "internal_tension", "float", false, 252)]
|
||||
public float internal_tension;
|
||||
[DNAFieldAttribute(4, "float", 66, "internal_compression", "float", false, 256)]
|
||||
public float internal_compression;
|
||||
[DNAFieldAttribute(4, "float", 67, "max_internal_tension", "float", false, 260)]
|
||||
public float max_internal_tension;
|
||||
[DNAFieldAttribute(4, "float", 68, "max_internal_compression", "float", false, 264)]
|
||||
public float max_internal_compression;
|
||||
[DNAArrayAttribute(4, "char", 69, "_pad0[4]", "System.Char[]", 4, false, 268)]
|
||||
public char[] _pad0 = new System.Char[4];
|
||||
public ClothSimSettings() {
|
||||
this.cache = default;
|
||||
this.mingoal = default;
|
||||
this.Cdis = default;
|
||||
this.Cvi = default;
|
||||
this.gravity = default;
|
||||
this.dt = default;
|
||||
this.mass = default;
|
||||
this.structural = default;
|
||||
this.shear = default;
|
||||
this.bending = default;
|
||||
this.max_bend = default;
|
||||
this.max_struct = default;
|
||||
this.max_shear = default;
|
||||
this.max_sewing = default;
|
||||
this.avg_spring_len = default;
|
||||
this.timescale = default;
|
||||
this.time_scale = default;
|
||||
this.maxgoal = default;
|
||||
this.eff_force_scale = default;
|
||||
this.eff_wind_scale = default;
|
||||
this.sim_time_old = default;
|
||||
this.defgoal = default;
|
||||
this.goalspring = default;
|
||||
this.goalfrict = default;
|
||||
this.velocity_smooth = default;
|
||||
this.density_target = default;
|
||||
this.density_strength = default;
|
||||
this.collider_friction = default;
|
||||
this.vel_damping = default;
|
||||
this.shrink_min = default;
|
||||
this.shrink_max = default;
|
||||
this.uniform_pressure_force = default;
|
||||
this.target_volume = default;
|
||||
this.pressure_factor = default;
|
||||
this.fluid_density = default;
|
||||
this.vgroup_pressure = default;
|
||||
this._pad7 = default;
|
||||
this.bending_damping = default;
|
||||
this.voxel_cell_size = default;
|
||||
this.stepsPerFrame = default;
|
||||
this.flags = default;
|
||||
this.preroll = default;
|
||||
this.maxspringlen = default;
|
||||
this.solver_type = default;
|
||||
this.vgroup_bend = default;
|
||||
this.vgroup_mass = default;
|
||||
this.vgroup_struct = default;
|
||||
this.vgroup_shrink = default;
|
||||
this.shapekey_rest = default;
|
||||
this.presets = default;
|
||||
this.reset = default;
|
||||
this.effector_weights = default;
|
||||
this.bending_model = default;
|
||||
this.vgroup_shear = default;
|
||||
this.tension = default;
|
||||
this.compression = default;
|
||||
this.max_tension = default;
|
||||
this.max_compression = default;
|
||||
this.tension_damp = default;
|
||||
this.compression_damp = default;
|
||||
this.shear_damp = default;
|
||||
this.internal_spring_max_length = default;
|
||||
this.internal_spring_max_diversion = default;
|
||||
this.vgroup_intern = default;
|
||||
this._pad1 = default;
|
||||
this.internal_tension = default;
|
||||
this.internal_compression = default;
|
||||
this.max_internal_tension = default;
|
||||
this.max_internal_compression = default;
|
||||
this._pad0 = default;
|
||||
}
|
||||
public ClothSimSettings(
|
||||
LinkNode ptr_cache,
|
||||
LinkNode cache,
|
||||
float mingoal,
|
||||
float Cdis,
|
||||
float Cvi,
|
||||
@@ -135,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,
|
||||
@@ -154,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;
|
||||
@@ -205,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;
|
||||
|
||||
@@ -11,36 +11,78 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(70, "Collection", 376)]
|
||||
public class Collection {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
public ID ptr_owner_id;
|
||||
[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(16, "ListBase", 3, "children", "ListBase", false, 232)]
|
||||
public ListBase children;
|
||||
[DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, false, 248)]
|
||||
public char[] _pad0 = new System.Char[4];
|
||||
[DNAFieldAttribute(4, "int", 5, "active_exporter_index", "int", false, 252)]
|
||||
public int active_exporter_index;
|
||||
[DNAFieldAttribute(16, "ListBase", 6, "exporters", "ListBase", false, 256)]
|
||||
public ListBase exporters;
|
||||
public PreviewImage ptr_preview;
|
||||
[DNAFieldAttribute(8, "PreviewImage", 7, "*preview", "PreviewImage", true, 272)]
|
||||
public PreviewImage preview;
|
||||
[DNAFieldAttribute(4, "int", 8, "layer", "int", false, 280)]
|
||||
public int layer;
|
||||
[DNAArrayAttribute(12, "float", 9, "dupli_ofs[3]", "System.Single[]", 3, false, 284)]
|
||||
public float[] dupli_ofs = new System.Single[3];
|
||||
[DNAFieldAttribute(1, "uchar", 10, "flag", "uchar", false, 296)]
|
||||
public byte flag;
|
||||
[DNAFieldAttribute(1, "int8_t", 11, "color_tag", "int8_t", false, 297)]
|
||||
public sbyte color_tag;
|
||||
[DNAArrayAttribute(2, "char", 12, "_pad1[2]", "System.Char[]", 2, false, 298)]
|
||||
public char[] _pad1 = new System.Char[2];
|
||||
[DNAFieldAttribute(1, "uchar", 13, "lineart_usage", "uchar", false, 300)]
|
||||
public byte lineart_usage;
|
||||
[DNAFieldAttribute(1, "uchar", 14, "lineart_flags", "uchar", false, 301)]
|
||||
public byte lineart_flags;
|
||||
[DNAFieldAttribute(1, "uchar", 15, "lineart_intersection_mask", "uchar", false, 302)]
|
||||
public byte lineart_intersection_mask;
|
||||
[DNAFieldAttribute(1, "uchar", 16, "lineart_intersection_priority", "uchar", false, 303)]
|
||||
public byte lineart_intersection_priority;
|
||||
public ViewLayer ptr_view_layer;
|
||||
[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.owner_id = default;
|
||||
this.gobject = default;
|
||||
this.children = default;
|
||||
this._pad0 = default;
|
||||
this.active_exporter_index = default;
|
||||
this.exporters = default;
|
||||
this.preview = default;
|
||||
this.layer = default;
|
||||
this.dupli_ofs = default;
|
||||
this.flag = default;
|
||||
this.color_tag = default;
|
||||
this._pad1 = default;
|
||||
this.lineart_usage = default;
|
||||
this.lineart_flags = default;
|
||||
this.lineart_intersection_mask = default;
|
||||
this.lineart_intersection_priority = 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,
|
||||
@@ -50,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;
|
||||
@@ -69,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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,17 +11,31 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(160, "CollectionChild", 32)]
|
||||
public class CollectionChild {
|
||||
public CollectionChild ptr_next;
|
||||
public CollectionChild ptr_prev;
|
||||
public Collection ptr_collection;
|
||||
[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", 4, "_pad", "int", false, 28)]
|
||||
public int _pad;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.collection = default;
|
||||
this.light_linking = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11,21 +11,39 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(161, "CollectionExport", 160)]
|
||||
public class CollectionExport {
|
||||
public CollectionExport ptr_next;
|
||||
public CollectionExport ptr_prev;
|
||||
[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];
|
||||
[DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, false, 80)]
|
||||
public char[] name = new System.Char[64];
|
||||
public IDProperty ptr_export_properties;
|
||||
[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(4, "int", 6, "_pad0", "int", false, 156)]
|
||||
public int _pad0;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.fh_idname = default;
|
||||
this.name = default;
|
||||
this.export_properties = default;
|
||||
this.flag = default;
|
||||
this._pad0 = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11,10 +11,18 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CollectionLightLinking {
|
||||
[DNAClassAttribute(158, "CollectionLightLinking", 4)]
|
||||
public class CollectionLightLinking {
|
||||
[DNAFieldAttribute(1, "uchar", 0, "link_state", "uchar", false, 0)]
|
||||
public byte link_state;
|
||||
[DNAArrayAttribute(3, "uchar", 1, "_pad[3]", "System.Byte[]", 3, false, 1)]
|
||||
public byte[] _pad = new System.Byte[3];
|
||||
public CollectionLightLinking() {
|
||||
this.link_state = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public CollectionLightLinking(byte link_state, byte[] _pad) {
|
||||
this.link_state = link_state;
|
||||
this._pad = _pad;
|
||||
|
||||
@@ -11,17 +11,31 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(159, "CollectionObject", 32)]
|
||||
public class CollectionObject {
|
||||
public CollectionObject ptr_next;
|
||||
public CollectionObject ptr_prev;
|
||||
public Object ptr_ob;
|
||||
[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", 4, "_pad", "int", false, 28)]
|
||||
public int _pad;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.ob = default;
|
||||
this.light_linking = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11,19 +11,35 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(162, "Collection_Runtime", 64)]
|
||||
public class Collection_Runtime {
|
||||
[DNAFieldAttribute(16, "ListBase", 0, "object_cache", "ListBase", false, 0)]
|
||||
public ListBase object_cache;
|
||||
[DNAFieldAttribute(16, "ListBase", 1, "object_cache_instanced", "ListBase", false, 16)]
|
||||
public ListBase object_cache_instanced;
|
||||
[DNAFieldAttribute(16, "ListBase", 2, "parents", "ListBase", false, 32)]
|
||||
public ListBase parents;
|
||||
public GHash ptr_gobject_hash;
|
||||
[DNAFieldAttribute(8, "GHash", 3, "*gobject_hash", "GHash", true, 48)]
|
||||
public GHash gobject_hash;
|
||||
[DNAFieldAttribute(1, "uchar", 4, "tag", "uchar", false, 56)]
|
||||
public byte tag;
|
||||
[DNAArrayAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", 7, false, 57)]
|
||||
public char[] _pad0 = new System.Char[7];
|
||||
public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash ptr_gobject_hash, byte tag, char[] _pad0) {
|
||||
public Collection_Runtime() {
|
||||
this.object_cache = default;
|
||||
this.object_cache_instanced = default;
|
||||
this.parents = default;
|
||||
this.gobject_hash = default;
|
||||
this.tag = default;
|
||||
this._pad0 = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11,17 +11,37 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(468, "CollisionModifierData", 152)]
|
||||
public class CollisionModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
[DNAFieldAttribute(4, "int", 8, "mvert_num", "int", false, 120)]
|
||||
public int mvert_num;
|
||||
[DNAFieldAttribute(4, "int", 9, "tri_num", "int", false, 124)]
|
||||
public int tri_num;
|
||||
[DNAFieldAttribute(4, "float", 10, "time_x", "float", false, 128)]
|
||||
public float time_x;
|
||||
[DNAFieldAttribute(4, "float", 11, "time_xnew", "float", false, 132)]
|
||||
public float time_xnew;
|
||||
[DNAFieldAttribute(1, "char", 12, "is_static", "char", false, 136)]
|
||||
public char is_static;
|
||||
[DNAArrayAttribute(7, "char", 13, "_pad[7]", "System.Char[]", 7, false, 137)]
|
||||
public char[] _pad = new System.Char[7];
|
||||
public 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 ptr_bvhtree) {
|
||||
[DNAFieldAttribute(8, "BVHTree", 14, "*bvhtree", "BVHTree", true, 144)]
|
||||
public BVHTree bvhtree;
|
||||
public CollisionModifierData() {
|
||||
this.modifier = default;
|
||||
this.mvert_num = default;
|
||||
this.tri_num = default;
|
||||
this.time_x = default;
|
||||
this.time_xnew = default;
|
||||
this.is_static = default;
|
||||
this._pad = 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 bvhtree) {
|
||||
this.modifier = modifier;
|
||||
this.mvert_num = mvert_num;
|
||||
this.tri_num = tri_num;
|
||||
@@ -29,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,11 +11,21 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorBalanceModifierData {
|
||||
[DNAClassAttribute(905, "ColorBalanceModifierData", 200)]
|
||||
public class ColorBalanceModifierData {
|
||||
[DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)]
|
||||
public SequenceModifierData modifier;
|
||||
[DNAFieldAttribute(84, "StripColorBalance", 1, "color_balance", "StripColorBalance", false, 112)]
|
||||
public StripColorBalance color_balance;
|
||||
[DNAFieldAttribute(4, "float", 2, "color_multiply", "float", false, 196)]
|
||||
public float color_multiply;
|
||||
public ColorBalanceModifierData() {
|
||||
this.modifier = default;
|
||||
this.color_balance = default;
|
||||
this.color_multiply = default;
|
||||
}
|
||||
public ColorBalanceModifierData(SequenceModifierData modifier, StripColorBalance color_balance, float color_multiply) {
|
||||
this.modifier = modifier;
|
||||
this.color_balance = color_balance;
|
||||
|
||||
@@ -11,15 +11,33 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorBand {
|
||||
[DNAClassAttribute(134, "ColorBand", 776)]
|
||||
public class ColorBand {
|
||||
[DNAFieldAttribute(2, "short", 0, "tot", "short", false, 0)]
|
||||
public short tot;
|
||||
[DNAFieldAttribute(2, "short", 1, "cur", "short", false, 2)]
|
||||
public short cur;
|
||||
[DNAFieldAttribute(1, "char", 2, "ipotype", "char", false, 4)]
|
||||
public char ipotype;
|
||||
[DNAFieldAttribute(1, "char", 3, "ipotype_hue", "char", false, 5)]
|
||||
public char ipotype_hue;
|
||||
[DNAFieldAttribute(1, "char", 4, "color_mode", "char", false, 6)]
|
||||
public char color_mode;
|
||||
[DNAArrayAttribute(1, "char", 5, "_pad[1]", "System.Char[]", 1, false, 7)]
|
||||
public char[] _pad = new System.Char[1];
|
||||
[DNAArrayAttribute(768, "CBData", 6, "data[32]", "CBData[]", 32, false, 8)]
|
||||
public CBData[] data = new CBData[32];
|
||||
public ColorBand() {
|
||||
this.tot = default;
|
||||
this.cur = default;
|
||||
this.ipotype = default;
|
||||
this.ipotype_hue = default;
|
||||
this.color_mode = default;
|
||||
this._pad = default;
|
||||
this.data = default;
|
||||
}
|
||||
public ColorBand(short tot, short cur, char ipotype, char ipotype_hue, char color_mode, char[] _pad, CBData[] data) {
|
||||
this.tot = tot;
|
||||
this.cur = cur;
|
||||
|
||||
@@ -11,14 +11,30 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorCorrectionData {
|
||||
[DNAClassAttribute(602, "ColorCorrectionData", 24)]
|
||||
public class ColorCorrectionData {
|
||||
[DNAFieldAttribute(4, "float", 0, "saturation", "float", false, 0)]
|
||||
public float saturation;
|
||||
[DNAFieldAttribute(4, "float", 1, "contrast", "float", false, 4)]
|
||||
public float contrast;
|
||||
[DNAFieldAttribute(4, "float", 2, "gamma", "float", false, 8)]
|
||||
public float gamma;
|
||||
[DNAFieldAttribute(4, "float", 3, "gain", "float", false, 12)]
|
||||
public float gain;
|
||||
[DNAFieldAttribute(4, "float", 4, "lift", "float", false, 16)]
|
||||
public float lift;
|
||||
[DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, false, 20)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
public ColorCorrectionData() {
|
||||
this.saturation = default;
|
||||
this.contrast = default;
|
||||
this.gamma = default;
|
||||
this.gain = default;
|
||||
this.lift = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public ColorCorrectionData(float saturation, float contrast, float gamma, float gain, float lift, char[] _pad) {
|
||||
this.saturation = saturation;
|
||||
this.contrast = contrast;
|
||||
|
||||
@@ -11,23 +11,51 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(281, "ColorGpencilModifierData", 280)]
|
||||
public class ColorGpencilModifierData {
|
||||
[DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)]
|
||||
public GpencilModifierData modifier;
|
||||
public Material ptr_material;
|
||||
[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];
|
||||
[DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, false, 176)]
|
||||
public char[] materialname = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)]
|
||||
public int pass_index;
|
||||
[DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(12, "float", 6, "hsv[3]", "System.Single[]", 3, false, 248)]
|
||||
public float[] hsv = new System.Single[3];
|
||||
[DNAFieldAttribute(1, "char", 7, "modify_color", "char", false, 260)]
|
||||
public char modify_color;
|
||||
[DNAArrayAttribute(3, "char", 8, "_pad[3]", "System.Char[]", 3, false, 261)]
|
||||
public char[] _pad = new System.Char[3];
|
||||
[DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 264)]
|
||||
public int layer_pass;
|
||||
[DNAArrayAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", 4, false, 268)]
|
||||
public char[] _pad1 = new System.Char[4];
|
||||
public CurveMapping ptr_curve_intensity;
|
||||
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) {
|
||||
[DNAFieldAttribute(8, "CurveMapping", 11, "*curve_intensity", "CurveMapping", true, 272)]
|
||||
public CurveMapping curve_intensity;
|
||||
public ColorGpencilModifierData() {
|
||||
this.modifier = default;
|
||||
this.material = default;
|
||||
this.layername = default;
|
||||
this.materialname = default;
|
||||
this.pass_index = default;
|
||||
this.flag = default;
|
||||
this.hsv = default;
|
||||
this.modify_color = default;
|
||||
this._pad = default;
|
||||
this.layer_pass = default;
|
||||
this._pad1 = default;
|
||||
this.curve_intensity = default;
|
||||
}
|
||||
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;
|
||||
@@ -37,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,9 +11,15 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorManagedColorspaceSettings {
|
||||
[DNAClassAttribute(170, "ColorManagedColorspaceSettings", 64)]
|
||||
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;
|
||||
}
|
||||
public ColorManagedColorspaceSettings(char[] name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -11,9 +11,15 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorManagedDisplaySettings {
|
||||
[DNAClassAttribute(169, "ColorManagedDisplaySettings", 64)]
|
||||
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;
|
||||
}
|
||||
public ColorManagedDisplaySettings(char[] display_device) {
|
||||
this.display_device = display_device;
|
||||
}
|
||||
|
||||
@@ -11,19 +11,43 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(168, "ColorManagedViewSettings", 168)]
|
||||
public class ColorManagedViewSettings {
|
||||
[DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, false, 4)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
[DNAArrayAttribute(64, "char", 2, "look[64]", "System.Char[]", 64, false, 8)]
|
||||
public char[] look = new System.Char[64];
|
||||
[DNAArrayAttribute(64, "char", 3, "view_transform[64]", "System.Char[]", 64, false, 72)]
|
||||
public char[] view_transform = new System.Char[64];
|
||||
[DNAFieldAttribute(4, "float", 4, "exposure", "float", false, 136)]
|
||||
public float exposure;
|
||||
[DNAFieldAttribute(4, "float", 5, "gamma", "float", false, 140)]
|
||||
public float gamma;
|
||||
[DNAFieldAttribute(4, "float", 6, "temperature", "float", false, 144)]
|
||||
public float temperature;
|
||||
[DNAFieldAttribute(4, "float", 7, "tint", "float", false, 148)]
|
||||
public float tint;
|
||||
public CurveMapping ptr_curve_mapping;
|
||||
public object ptr__pad2;
|
||||
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) {
|
||||
[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;
|
||||
this.look = default;
|
||||
this.view_transform = default;
|
||||
this.exposure = default;
|
||||
this.gamma = default;
|
||||
this.temperature = default;
|
||||
this.tint = 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 curve_mapping, object _pad2) {
|
||||
this.flag = flag;
|
||||
this._pad = _pad;
|
||||
this.look = look;
|
||||
@@ -32,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,17 +11,39 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorMapping {
|
||||
[DNAClassAttribute(636, "ColorMapping", 816)]
|
||||
public class ColorMapping {
|
||||
[DNAFieldAttribute(776, "ColorBand", 0, "coba", "ColorBand", false, 0)]
|
||||
public ColorBand coba;
|
||||
[DNAFieldAttribute(4, "float", 1, "bright", "float", false, 776)]
|
||||
public float bright;
|
||||
[DNAFieldAttribute(4, "float", 2, "contrast", "float", false, 780)]
|
||||
public float contrast;
|
||||
[DNAFieldAttribute(4, "float", 3, "saturation", "float", false, 784)]
|
||||
public float saturation;
|
||||
[DNAFieldAttribute(4, "int", 4, "flag", "int", false, 788)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(12, "float", 5, "blend_color[3]", "System.Single[]", 3, false, 792)]
|
||||
public float[] blend_color = new System.Single[3];
|
||||
[DNAFieldAttribute(4, "float", 6, "blend_factor", "float", false, 804)]
|
||||
public float blend_factor;
|
||||
[DNAFieldAttribute(4, "int", 7, "blend_type", "int", false, 808)]
|
||||
public int blend_type;
|
||||
[DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, false, 812)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
public ColorMapping() {
|
||||
this.coba = default;
|
||||
this.bright = default;
|
||||
this.contrast = default;
|
||||
this.saturation = default;
|
||||
this.flag = default;
|
||||
this.blend_color = default;
|
||||
this.blend_factor = default;
|
||||
this.blend_type = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public ColorMapping(ColorBand coba, float bright, float contrast, float saturation, int flag, float[] blend_color, float blend_factor, int blend_type, char[] _pad) {
|
||||
this.coba = coba;
|
||||
this.bright = bright;
|
||||
|
||||
@@ -11,10 +11,18 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorMixVars {
|
||||
[DNAClassAttribute(903, "ColorMixVars", 8)]
|
||||
public class ColorMixVars {
|
||||
[DNAFieldAttribute(4, "int", 0, "blend_effect", "int", false, 0)]
|
||||
public int blend_effect;
|
||||
[DNAFieldAttribute(4, "float", 1, "factor", "float", false, 4)]
|
||||
public float factor;
|
||||
public ColorMixVars() {
|
||||
this.blend_effect = default;
|
||||
this.factor = default;
|
||||
}
|
||||
public ColorMixVars(int blend_effect, float factor) {
|
||||
this.blend_effect = blend_effect;
|
||||
this.factor = factor;
|
||||
|
||||
@@ -11,16 +11,36 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct ColorizeShaderFxData {
|
||||
[DNAClassAttribute(918, "ColorizeShaderFxData", 192)]
|
||||
public class ColorizeShaderFxData {
|
||||
[DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)]
|
||||
public ShaderFxData shaderfx;
|
||||
[DNAFieldAttribute(4, "int", 1, "mode", "int", false, 104)]
|
||||
public int mode;
|
||||
[DNAArrayAttribute(16, "float", 2, "low_color[4]", "System.Single[]", 4, false, 108)]
|
||||
public float[] low_color = new System.Single[4];
|
||||
[DNAArrayAttribute(16, "float", 3, "high_color[4]", "System.Single[]", 4, false, 124)]
|
||||
public float[] high_color = new System.Single[4];
|
||||
[DNAFieldAttribute(4, "float", 4, "factor", "float", false, 140)]
|
||||
public float factor;
|
||||
[DNAFieldAttribute(4, "int", 5, "flag", "int", false, 144)]
|
||||
public int flag;
|
||||
[DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, false, 148)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
[DNAFieldAttribute(40, "ShaderFxData_Runtime", 7, "runtime", "ShaderFxData_Runtime", false, 152)]
|
||||
public ShaderFxData_Runtime runtime;
|
||||
public ColorizeShaderFxData() {
|
||||
this.shaderfx = default;
|
||||
this.mode = default;
|
||||
this.low_color = default;
|
||||
this.high_color = default;
|
||||
this.factor = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
this.runtime = default;
|
||||
}
|
||||
public ColorizeShaderFxData(ShaderFxData shaderfx, int mode, float[] low_color, float[] high_color, float factor, int flag, char[] _pad, ShaderFxData_Runtime runtime) {
|
||||
this.shaderfx = shaderfx;
|
||||
this.mode = mode;
|
||||
|
||||
@@ -11,21 +11,39 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(959, "ConsoleLine", 40)]
|
||||
public class ConsoleLine {
|
||||
public ConsoleLine ptr_next;
|
||||
public ConsoleLine ptr_prev;
|
||||
[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(4, "int", 3, "len", "int", false, 20)]
|
||||
public int len;
|
||||
public char ptr_line;
|
||||
[DNAFieldAttribute(8, "char", 4, "*line", "char", true, 24)]
|
||||
public char line;
|
||||
[DNAFieldAttribute(4, "int", 5, "cursor", "int", false, 32)]
|
||||
public int cursor;
|
||||
[DNAFieldAttribute(4, "int", 6, "type", "int", false, 36)]
|
||||
public int type;
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.len_alloc = default;
|
||||
this.len = default;
|
||||
this.line = default;
|
||||
this.cursor = default;
|
||||
this.type = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -11,16 +11,36 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(500, "CorrectiveSmoothDeltaCache", 24)]
|
||||
public class CorrectiveSmoothDeltaCache {
|
||||
[DNAFieldAttribute(4, "int", 1, "deltas_num", "int", false, 0)]
|
||||
public int deltas_num;
|
||||
[DNAFieldAttribute(4, "float", 2, "lambda", "float", false, 4)]
|
||||
public float lambda;
|
||||
[DNAFieldAttribute(4, "float", 3, "scale", "float", false, 8)]
|
||||
public float scale;
|
||||
[DNAFieldAttribute(2, "short", 4, "repeat", "short", false, 12)]
|
||||
public short repeat;
|
||||
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 14)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(1, "char", 6, "smooth_type", "char", false, 16)]
|
||||
public char smooth_type;
|
||||
[DNAFieldAttribute(1, "char", 7, "rest_source", "char", false, 17)]
|
||||
public char rest_source;
|
||||
[DNAArrayAttribute(6, "char", 8, "_pad[6]", "System.Char[]", 6, false, 18)]
|
||||
public char[] _pad = new System.Char[6];
|
||||
public CorrectiveSmoothDeltaCache() {
|
||||
this.deltas_num = default;
|
||||
this.lambda = default;
|
||||
this.scale = default;
|
||||
this.repeat = default;
|
||||
this.flag = default;
|
||||
this.smooth_type = default;
|
||||
this.rest_source = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public CorrectiveSmoothDeltaCache(int deltas_num, float lambda, float scale, short repeat, short flag, char smooth_type, char rest_source, char[] _pad) {
|
||||
this.deltas_num = deltas_num;
|
||||
this.lambda = lambda;
|
||||
|
||||
@@ -11,19 +11,45 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(501, "CorrectiveSmoothModifierData", 240)]
|
||||
public class CorrectiveSmoothModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
[DNAFieldAttribute(4, "int", 2, "bind_coords_num", "int", false, 120)]
|
||||
public int bind_coords_num;
|
||||
[DNAFieldAttribute(4, "float", 3, "lambda", "float", false, 124)]
|
||||
public float lambda;
|
||||
[DNAFieldAttribute(4, "float", 4, "scale", "float", false, 128)]
|
||||
public float scale;
|
||||
[DNAFieldAttribute(2, "short", 5, "repeat", "short", false, 132)]
|
||||
public short repeat;
|
||||
[DNAFieldAttribute(2, "short", 6, "flag", "short", false, 134)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(1, "char", 7, "smooth_type", "char", false, 136)]
|
||||
public char smooth_type;
|
||||
[DNAFieldAttribute(1, "char", 8, "rest_source", "char", false, 137)]
|
||||
public char rest_source;
|
||||
[DNAArrayAttribute(6, "char", 9, "_pad[6]", "System.Char[]", 6, false, 138)]
|
||||
public char[] _pad = new System.Char[6];
|
||||
[DNAArrayAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", 64, false, 144)]
|
||||
public char[] defgrp_name = new System.Char[64];
|
||||
[DNAFieldAttribute(32, "CorrectiveSmoothDeltaCache", 11, "delta_cache", "CorrectiveSmoothDeltaCache", false, 208)]
|
||||
public CorrectiveSmoothDeltaCache delta_cache;
|
||||
public CorrectiveSmoothModifierData() {
|
||||
this.modifier = default;
|
||||
this.bind_coords_num = default;
|
||||
this.lambda = default;
|
||||
this.scale = default;
|
||||
this.repeat = default;
|
||||
this.flag = default;
|
||||
this.smooth_type = default;
|
||||
this.rest_source = default;
|
||||
this._pad = default;
|
||||
this.defgrp_name = default;
|
||||
this.delta_cache = default;
|
||||
}
|
||||
public CorrectiveSmoothModifierData(ModifierData modifier, int bind_coords_num, float lambda, float scale, short repeat, short flag, char smooth_type, char rest_source, char[] _pad, char[] defgrp_name, CorrectiveSmoothDeltaCache delta_cache) {
|
||||
this.modifier = modifier;
|
||||
this.bind_coords_num = bind_coords_num;
|
||||
|
||||
@@ -11,16 +11,30 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(669, "CryptomatteEntry", 88)]
|
||||
public class CryptomatteEntry {
|
||||
public CryptomatteEntry ptr_next;
|
||||
public CryptomatteEntry ptr_prev;
|
||||
[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;
|
||||
[DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, false, 20)]
|
||||
public char[] name = new System.Char[64];
|
||||
[DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, false, 84)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
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() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.encoded_hash = default;
|
||||
this.name = default;
|
||||
this._pad = default;
|
||||
}
|
||||
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;
|
||||
|
||||
@@ -11,14 +11,24 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(670, "CryptomatteLayer", 80)]
|
||||
public class CryptomatteLayer {
|
||||
public CryptomatteEntry ptr_next;
|
||||
public CryptomatteEntry ptr_prev;
|
||||
[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(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, char[] name) {
|
||||
this.ptr_next = ptr_next;
|
||||
this.ptr_prev = ptr_prev;
|
||||
public CryptomatteLayer() {
|
||||
this.next = default;
|
||||
this.prev = default;
|
||||
this.name = default;
|
||||
}
|
||||
public CryptomatteLayer(CryptomatteEntry next, CryptomatteEntry prev, char[] name) {
|
||||
this.next = next;
|
||||
this.prev = prev;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,97 +11,255 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(210, "Curve", 640)]
|
||||
public class Curve {
|
||||
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
|
||||
public ID id;
|
||||
public AnimData ptr_adt;
|
||||
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
|
||||
public AnimData adt;
|
||||
[DNAFieldAttribute(16, "ListBase", 2, "nurb", "ListBase", false, 216)]
|
||||
public ListBase nurb;
|
||||
public EditNurb ptr_editnurb;
|
||||
public Object ptr_bevobj;
|
||||
public Object ptr_taperobj;
|
||||
public Object ptr_textoncurve;
|
||||
public Ipo ptr_ipo;
|
||||
public Key ptr_key;
|
||||
public Material ptr_ptr_mat;
|
||||
public CurveProfile ptr_bevel_profile;
|
||||
[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];
|
||||
[DNAArrayAttribute(12, "float", 12, "size[3]", "System.Single[]", 3, false, 308)]
|
||||
public float[] size = new System.Single[3];
|
||||
[DNAFieldAttribute(2, "short", 13, "type", "short", false, 320)]
|
||||
public short type;
|
||||
[DNAFieldAttribute(1, "char", 14, "texflag", "char", false, 322)]
|
||||
public char texflag;
|
||||
[DNAArrayAttribute(7, "char", 15, "_pad0[7]", "System.Char[]", 7, false, 323)]
|
||||
public char[] _pad0 = new System.Char[7];
|
||||
[DNAFieldAttribute(2, "short", 16, "twist_mode", "short", false, 330)]
|
||||
public short twist_mode;
|
||||
[DNAFieldAttribute(4, "float", 17, "twist_smooth", "float", false, 332)]
|
||||
public float twist_smooth;
|
||||
[DNAFieldAttribute(4, "float", 18, "smallcaps_scale", "float", false, 336)]
|
||||
public float smallcaps_scale;
|
||||
[DNAFieldAttribute(4, "int", 19, "pathlen", "int", false, 340)]
|
||||
public int pathlen;
|
||||
[DNAFieldAttribute(2, "short", 20, "bevresol", "short", false, 344)]
|
||||
public short bevresol;
|
||||
[DNAFieldAttribute(2, "short", 21, "totcol", "short", false, 346)]
|
||||
public short totcol;
|
||||
[DNAFieldAttribute(4, "int", 22, "flag", "int", false, 348)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "float", 23, "width", "float", false, 352)]
|
||||
public float width;
|
||||
[DNAFieldAttribute(4, "float", 24, "ext1", "float", false, 356)]
|
||||
public float ext1;
|
||||
[DNAFieldAttribute(4, "float", 25, "ext2", "float", false, 360)]
|
||||
public float ext2;
|
||||
[DNAFieldAttribute(2, "short", 26, "resolu", "short", false, 364)]
|
||||
public short resolu;
|
||||
[DNAFieldAttribute(2, "short", 27, "resolv", "short", false, 366)]
|
||||
public short resolv;
|
||||
[DNAFieldAttribute(2, "short", 28, "resolu_ren", "short", false, 368)]
|
||||
public short resolu_ren;
|
||||
[DNAFieldAttribute(2, "short", 29, "resolv_ren", "short", false, 370)]
|
||||
public short resolv_ren;
|
||||
[DNAFieldAttribute(4, "int", 30, "actnu", "int", false, 372)]
|
||||
public int actnu;
|
||||
[DNAFieldAttribute(4, "int", 31, "actvert", "int", false, 376)]
|
||||
public int actvert;
|
||||
[DNAFieldAttribute(1, "char", 32, "overflow", "char", false, 380)]
|
||||
public char overflow;
|
||||
[DNAFieldAttribute(1, "char", 33, "spacemode", "char", false, 381)]
|
||||
public char spacemode;
|
||||
[DNAFieldAttribute(1, "char", 34, "align_y", "char", false, 382)]
|
||||
public char align_y;
|
||||
[DNAFieldAttribute(1, "char", 35, "bevel_mode", "char", false, 383)]
|
||||
public char bevel_mode;
|
||||
[DNAFieldAttribute(1, "char", 36, "taper_radius_mode", "char", false, 384)]
|
||||
public char taper_radius_mode;
|
||||
[DNAFieldAttribute(1, "char", 37, "_pad", "char", false, 385)]
|
||||
public char _pad;
|
||||
[DNAFieldAttribute(2, "short", 38, "lines", "short", false, 386)]
|
||||
public short lines;
|
||||
[DNAFieldAttribute(4, "float", 39, "spacing", "float", false, 388)]
|
||||
public float spacing;
|
||||
[DNAFieldAttribute(4, "float", 40, "linedist", "float", false, 392)]
|
||||
public float linedist;
|
||||
[DNAFieldAttribute(4, "float", 41, "shear", "float", false, 396)]
|
||||
public float shear;
|
||||
[DNAFieldAttribute(4, "float", 42, "fsize", "float", false, 400)]
|
||||
public float fsize;
|
||||
[DNAFieldAttribute(4, "float", 43, "wordspace", "float", false, 404)]
|
||||
public float wordspace;
|
||||
[DNAFieldAttribute(4, "float", 44, "ulpos", "float", false, 408)]
|
||||
public float ulpos;
|
||||
[DNAFieldAttribute(4, "float", 45, "ulheight", "float", false, 412)]
|
||||
public float ulheight;
|
||||
[DNAFieldAttribute(4, "float", 46, "xof", "float", false, 416)]
|
||||
public float xof;
|
||||
[DNAFieldAttribute(4, "float", 47, "yof", "float", false, 420)]
|
||||
public float yof;
|
||||
[DNAFieldAttribute(4, "float", 48, "linewidth", "float", false, 424)]
|
||||
public float linewidth;
|
||||
[DNAFieldAttribute(4, "int", 49, "pos", "int", false, 428)]
|
||||
public int pos;
|
||||
[DNAFieldAttribute(4, "int", 50, "selstart", "int", false, 432)]
|
||||
public int selstart;
|
||||
[DNAFieldAttribute(4, "int", 51, "selend", "int", false, 436)]
|
||||
public int selend;
|
||||
[DNAFieldAttribute(4, "int", 52, "len_wchar", "int", false, 440)]
|
||||
public int len_wchar;
|
||||
[DNAFieldAttribute(4, "int", 53, "len", "int", false, 444)]
|
||||
public int len;
|
||||
public char ptr_str;
|
||||
public EditFont ptr_editfont;
|
||||
[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];
|
||||
public VFont ptr_vfont;
|
||||
public VFont ptr_vfontb;
|
||||
public VFont ptr_vfonti;
|
||||
public VFont ptr_vfontbi;
|
||||
public TextBox ptr_tb;
|
||||
[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(4, "int", 63, "actbox", "int", false, 572)]
|
||||
public int actbox;
|
||||
public CharInfo ptr_strinfo;
|
||||
[DNAFieldAttribute(8, "CharInfo", 64, "*strinfo", "CharInfo", true, 576)]
|
||||
public CharInfo strinfo;
|
||||
[DNAFieldAttribute(8, "CharInfo", 65, "curinfo", "CharInfo", false, 584)]
|
||||
public CharInfo curinfo;
|
||||
[DNAFieldAttribute(4, "float", 66, "ctime", "float", false, 592)]
|
||||
public float ctime;
|
||||
[DNAFieldAttribute(4, "float", 67, "bevfac1", "float", false, 596)]
|
||||
public float bevfac1;
|
||||
[DNAFieldAttribute(4, "float", 68, "bevfac2", "float", false, 600)]
|
||||
public float bevfac2;
|
||||
[DNAFieldAttribute(1, "char", 69, "bevfac1_mapping", "char", false, 604)]
|
||||
public char bevfac1_mapping;
|
||||
[DNAFieldAttribute(1, "char", 70, "bevfac2_mapping", "char", false, 605)]
|
||||
public char bevfac2_mapping;
|
||||
[DNAArrayAttribute(6, "char", 71, "_pad2[6]", "System.Char[]", 6, false, 606)]
|
||||
public char[] _pad2 = new System.Char[6];
|
||||
[DNAFieldAttribute(4, "float", 72, "fsize_realtime", "float", false, 612)]
|
||||
public float fsize_realtime;
|
||||
public Curves ptr_curve_eval;
|
||||
[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;
|
||||
[DNAArrayAttribute(7, "char", 75, "_pad3[7]", "System.Char[]", 7, false, 625)]
|
||||
public char[] _pad3 = new System.Char[7];
|
||||
public object ptr_batch_cache;
|
||||
[DNAFieldAttribute(8, "void", 76, "*batch_cache", "void", true, 632)]
|
||||
public object batch_cache;
|
||||
public Curve() {
|
||||
this.id = default;
|
||||
this.adt = default;
|
||||
this.nurb = 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;
|
||||
this.texflag = default;
|
||||
this._pad0 = default;
|
||||
this.twist_mode = default;
|
||||
this.twist_smooth = default;
|
||||
this.smallcaps_scale = default;
|
||||
this.pathlen = default;
|
||||
this.bevresol = default;
|
||||
this.totcol = default;
|
||||
this.flag = default;
|
||||
this.width = default;
|
||||
this.ext1 = default;
|
||||
this.ext2 = default;
|
||||
this.resolu = default;
|
||||
this.resolv = default;
|
||||
this.resolu_ren = default;
|
||||
this.resolv_ren = default;
|
||||
this.actnu = default;
|
||||
this.actvert = default;
|
||||
this.overflow = default;
|
||||
this.spacemode = default;
|
||||
this.align_y = default;
|
||||
this.bevel_mode = default;
|
||||
this.taper_radius_mode = default;
|
||||
this._pad = default;
|
||||
this.lines = default;
|
||||
this.spacing = default;
|
||||
this.linedist = default;
|
||||
this.shear = default;
|
||||
this.fsize = default;
|
||||
this.wordspace = default;
|
||||
this.ulpos = default;
|
||||
this.ulheight = default;
|
||||
this.xof = default;
|
||||
this.yof = default;
|
||||
this.linewidth = default;
|
||||
this.pos = default;
|
||||
this.selstart = default;
|
||||
this.selend = default;
|
||||
this.len_wchar = default;
|
||||
this.len = default;
|
||||
this.str = default;
|
||||
this.editfont = default;
|
||||
this.family = default;
|
||||
this.vfont = default;
|
||||
this.vfontb = default;
|
||||
this.vfonti = default;
|
||||
this.vfontbi = default;
|
||||
this.tb = default;
|
||||
this.totbox = default;
|
||||
this.actbox = default;
|
||||
this.strinfo = default;
|
||||
this.curinfo = default;
|
||||
this.ctime = default;
|
||||
this.bevfac1 = default;
|
||||
this.bevfac2 = default;
|
||||
this.bevfac1_mapping = default;
|
||||
this.bevfac2_mapping = default;
|
||||
this._pad2 = default;
|
||||
this.fsize_realtime = default;
|
||||
this.curve_eval = default;
|
||||
this.edit_data_from_original = default;
|
||||
this._pad3 = 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,
|
||||
@@ -145,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,
|
||||
@@ -164,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;
|
||||
@@ -222,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;
|
||||
@@ -241,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,23 +11,55 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(165, "CurveMap", 80)]
|
||||
public class CurveMap {
|
||||
[DNAFieldAttribute(2, "short", 0, "totpoint", "short", false, 0)]
|
||||
public short totpoint;
|
||||
[DNAFieldAttribute(2, "short", 1, "flag", "short", false, 2)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(4, "float", 2, "range", "float", false, 4)]
|
||||
public float range;
|
||||
[DNAFieldAttribute(4, "float", 3, "mintable", "float", false, 8)]
|
||||
public float mintable;
|
||||
[DNAFieldAttribute(4, "float", 4, "maxtable", "float", false, 12)]
|
||||
public float maxtable;
|
||||
[DNAArrayAttribute(8, "float", 5, "ext_in[2]", "System.Single[]", 2, false, 16)]
|
||||
public float[] ext_in = new System.Single[2];
|
||||
[DNAArrayAttribute(8, "float", 6, "ext_out[2]", "System.Single[]", 2, false, 24)]
|
||||
public float[] ext_out = new System.Single[2];
|
||||
public CurveMapPoint ptr_curve;
|
||||
public CurveMapPoint ptr_table;
|
||||
public CurveMapPoint ptr_premultable;
|
||||
[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];
|
||||
[DNAArrayAttribute(8, "float", 11, "premul_ext_out[2]", "System.Single[]", 2, false, 64)]
|
||||
public float[] premul_ext_out = new System.Single[2];
|
||||
[DNAFieldAttribute(2, "short", 12, "default_handle_type", "short", false, 72)]
|
||||
public short default_handle_type;
|
||||
[DNAArrayAttribute(6, "char", 13, "_pad[6]", "System.Char[]", 6, false, 74)]
|
||||
public char[] _pad = new System.Char[6];
|
||||
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() {
|
||||
this.totpoint = default;
|
||||
this.flag = default;
|
||||
this.range = default;
|
||||
this.mintable = default;
|
||||
this.maxtable = default;
|
||||
this.ext_in = default;
|
||||
this.ext_out = 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 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;
|
||||
@@ -35,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;
|
||||
|
||||
@@ -11,12 +11,24 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CurveMapPoint {
|
||||
[DNAClassAttribute(164, "CurveMapPoint", 12)]
|
||||
public class CurveMapPoint {
|
||||
[DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)]
|
||||
public float x;
|
||||
[DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)]
|
||||
public float y;
|
||||
[DNAFieldAttribute(2, "short", 2, "flag", "short", false, 8)]
|
||||
public short flag;
|
||||
[DNAFieldAttribute(2, "short", 3, "shorty", "short", false, 10)]
|
||||
public short shorty;
|
||||
public CurveMapPoint() {
|
||||
this.x = default;
|
||||
this.y = default;
|
||||
this.flag = default;
|
||||
this.shorty = default;
|
||||
}
|
||||
public CurveMapPoint(float x, float y, short flag, short shorty) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
|
||||
@@ -11,21 +11,51 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CurveMapping {
|
||||
[DNAClassAttribute(128, "CurveMapping", 424)]
|
||||
public class CurveMapping {
|
||||
[DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)]
|
||||
public int flag;
|
||||
[DNAFieldAttribute(4, "int", 1, "cur", "int", false, 4)]
|
||||
public int cur;
|
||||
[DNAFieldAttribute(4, "int", 2, "preset", "int", false, 8)]
|
||||
public int preset;
|
||||
[DNAFieldAttribute(4, "int", 3, "changed_timestamp", "int", false, 12)]
|
||||
public int changed_timestamp;
|
||||
[DNAFieldAttribute(16, "rctf", 4, "curr", "rctf", false, 16)]
|
||||
public rctf curr;
|
||||
[DNAFieldAttribute(16, "rctf", 5, "clipr", "rctf", false, 32)]
|
||||
public rctf clipr;
|
||||
[DNAArrayAttribute(320, "CurveMap", 6, "cm[4]", "CurveMap[]", 4, false, 48)]
|
||||
public CurveMap[] cm = new CurveMap[4];
|
||||
[DNAArrayAttribute(12, "float", 7, "black[3]", "System.Single[]", 3, false, 368)]
|
||||
public float[] black = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 8, "white[3]", "System.Single[]", 3, false, 380)]
|
||||
public float[] white = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 9, "bwmul[3]", "System.Single[]", 3, false, 392)]
|
||||
public float[] bwmul = new System.Single[3];
|
||||
[DNAArrayAttribute(12, "float", 10, "sample[3]", "System.Single[]", 3, false, 404)]
|
||||
public float[] sample = new System.Single[3];
|
||||
[DNAFieldAttribute(2, "short", 11, "tone", "short", false, 416)]
|
||||
public short tone;
|
||||
[DNAArrayAttribute(6, "char", 12, "_pad[6]", "System.Char[]", 6, false, 418)]
|
||||
public char[] _pad = new System.Char[6];
|
||||
public CurveMapping() {
|
||||
this.flag = default;
|
||||
this.cur = default;
|
||||
this.preset = default;
|
||||
this.changed_timestamp = default;
|
||||
this.curr = default;
|
||||
this.clipr = default;
|
||||
this.cm = default;
|
||||
this.black = default;
|
||||
this.white = default;
|
||||
this.bwmul = default;
|
||||
this.sample = default;
|
||||
this.tone = default;
|
||||
this._pad = default;
|
||||
}
|
||||
public CurveMapping(int flag, int cur, int preset, int changed_timestamp, rctf curr, rctf clipr, CurveMap[] cm, float[] black, float[] white, float[] bwmul, float[] sample, short tone, char[] _pad) {
|
||||
this.flag = flag;
|
||||
this.cur = cur;
|
||||
|
||||
@@ -11,23 +11,41 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
[DNAClassAttribute(448, "CurveModifierData", 208)]
|
||||
public class CurveModifierData {
|
||||
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
||||
public ModifierData modifier;
|
||||
public Object ptr_object;
|
||||
[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(2, "short", 3, "defaxis", "short", false, 192)]
|
||||
public short defaxis;
|
||||
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)]
|
||||
public short flag;
|
||||
[DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, false, 196)]
|
||||
public char[] _pad = new System.Char[4];
|
||||
public object ptr__pad1;
|
||||
public CurveModifierData(ModifierData modifier, Object ptr_object, char[] name, short defaxis, short flag, char[] _pad, object ptr__pad1) {
|
||||
[DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)]
|
||||
public object _pad1;
|
||||
public CurveModifierData() {
|
||||
this.modifier = default;
|
||||
this.@object = default;
|
||||
this.name = default;
|
||||
this.defaxis = default;
|
||||
this.flag = default;
|
||||
this._pad = default;
|
||||
this._pad1 = default;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,21 +11,51 @@ using System;
|
||||
|
||||
|
||||
namespace BlendFile.DNA {
|
||||
using BlendFile;
|
||||
|
||||
public struct CurvePaintSettings {
|
||||
[DNAClassAttribute(825, "CurvePaintSettings", 32)]
|
||||
public class CurvePaintSettings {
|
||||
[DNAFieldAttribute(1, "char", 0, "curve_type", "char", false, 0)]
|
||||
public char curve_type;
|
||||
[DNAFieldAttribute(1, "char", 1, "flag", "char", false, 1)]
|
||||
public char flag;
|
||||
[DNAFieldAttribute(1, "char", 2, "depth_mode", "char", false, 2)]
|
||||
public char depth_mode;
|
||||
[DNAFieldAttribute(1, "char", 3, "surface_plane", "char", false, 3)]
|
||||
public char surface_plane;
|
||||
[DNAFieldAttribute(1, "char", 4, "fit_method", "char", false, 4)]
|
||||
public char fit_method;
|
||||
[DNAFieldAttribute(1, "char", 5, "_pad", "char", false, 5)]
|
||||
public char _pad;
|
||||
[DNAFieldAttribute(2, "short", 6, "error_threshold", "short", false, 6)]
|
||||
public short error_threshold;
|
||||
[DNAFieldAttribute(4, "float", 7, "radius_min", "float", false, 8)]
|
||||
public float radius_min;
|
||||
[DNAFieldAttribute(4, "float", 8, "radius_max", "float", false, 12)]
|
||||
public float radius_max;
|
||||
[DNAFieldAttribute(4, "float", 9, "radius_taper_start", "float", false, 16)]
|
||||
public float radius_taper_start;
|
||||
[DNAFieldAttribute(4, "float", 10, "radius_taper_end", "float", false, 20)]
|
||||
public float radius_taper_end;
|
||||
[DNAFieldAttribute(4, "float", 11, "surface_offset", "float", false, 24)]
|
||||
public float surface_offset;
|
||||
[DNAFieldAttribute(4, "float", 12, "corner_angle", "float", false, 28)]
|
||||
public float corner_angle;
|
||||
public CurvePaintSettings() {
|
||||
this.curve_type = default;
|
||||
this.flag = default;
|
||||
this.depth_mode = default;
|
||||
this.surface_plane = default;
|
||||
this.fit_method = default;
|
||||
this._pad = default;
|
||||
this.error_threshold = default;
|
||||
this.radius_min = default;
|
||||
this.radius_max = default;
|
||||
this.radius_taper_start = default;
|
||||
this.radius_taper_end = default;
|
||||
this.surface_offset = default;
|
||||
this.corner_angle = default;
|
||||
}
|
||||
public CurvePaintSettings(char curve_type, char flag, char depth_mode, char surface_plane, char fit_method, char _pad, short error_threshold, float radius_min, float radius_max, float radius_taper_start, float radius_taper_end, float surface_offset, float corner_angle) {
|
||||
this.curve_type = curve_type;
|
||||
this.flag = flag;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user