Generated new code and added initial data handling

This commit is contained in:
mm00
2025-01-27 19:24:50 +01:00
parent ebcc629feb
commit 146a3992ce
940 changed files with 11560 additions and 9 deletions

View File

@@ -81,6 +81,41 @@ namespace BlendFile.DNA {
public object ptr_regiondata; public object ptr_regiondata;
[DNAFieldAttribute(32, "ARegion_Runtime", "runtime", 48)] [DNAFieldAttribute(32, "ARegion_Runtime", "runtime", 48)]
public ARegion_Runtime runtime; public ARegion_Runtime runtime;
public ARegion() {
this.ptr_next = default;
this.ptr_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.ptr_type = default;
this.uiblocks = default;
this.panels = default;
this.panels_category_active = default;
this.ui_lists = default;
this.ui_previews = default;
this.handlers = default;
this.panels_category = default;
this.ptr_gizmo_map = default;
this.ptr_regiontimer = default;
this.ptr_draw_buffer = default;
this.ptr_headerstr = default;
this.ptr_regiondata = default;
this.runtime = default;
}
public ARegion( public ARegion(
ARegion ptr_next, ARegion ptr_next,
ARegion ptr_prev, ARegion ptr_prev,

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public GHash ptr_block_name_map; public GHash ptr_block_name_map;
[DNAFieldAttribute(5, "Panel", "*popup_block_panel", 192)] [DNAFieldAttribute(5, "Panel", "*popup_block_panel", 192)]
public Panel ptr_popup_block_panel; public Panel ptr_popup_block_panel;
public ARegion_Runtime() {
this.ptr_category = default;
this.visible_rect = default;
this.offset_x = default;
this.offset_y = default;
this.ptr_block_name_map = default;
this.ptr_popup_block_panel = default;
}
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) { 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; this.ptr_category = ptr_category;
this.visible_rect = visible_rect; this.visible_rect = visible_rect;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public int fcurve_array_num; public int fcurve_array_num;
[DNAFieldAttribute(5, "FCurve", "**fcurve_array", 120)] [DNAFieldAttribute(5, "FCurve", "**fcurve_array", 120)]
public FCurve ptr_ptr_fcurve_array; public FCurve ptr_ptr_fcurve_array;
public ActionChannelBag() {
this.slot_handle = default;
this.group_array_num = default;
this.ptr_ptr_group_array = default;
this._pad = default;
this.fcurve_array_num = default;
this.ptr_ptr_fcurve_array = default;
}
public ActionChannelBag(int slot_handle, int group_array_num, bActionGroup ptr_ptr_group_array, byte[] _pad, int fcurve_array_num, FCurve ptr_ptr_fcurve_array) { public ActionChannelBag(int slot_handle, int group_array_num, bActionGroup ptr_ptr_group_array, byte[] _pad, int fcurve_array_num, FCurve ptr_ptr_fcurve_array) {
this.slot_handle = slot_handle; this.slot_handle = slot_handle;
this.group_array_num = group_array_num; this.group_array_num = group_array_num;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public int strip_array_num; public int strip_array_num;
[DNAFieldAttribute(7, "uchar", "_pad1[4]", 1)] [DNAFieldAttribute(7, "uchar", "_pad1[4]", 1)]
public byte[] _pad1 = new System.Byte[4]; public byte[] _pad1 = new System.Byte[4];
public ActionLayer() {
this.name = default;
this.influence = default;
this.layer_flags = default;
this.layer_mix_mode = default;
this._pad0 = default;
this.ptr_ptr_strip_array = default;
this.strip_array_num = default;
this._pad1 = default;
}
public ActionLayer(char[] name, float influence, byte layer_flags, sbyte layer_mix_mode, byte[] _pad0, ActionStrip ptr_ptr_strip_array, int strip_array_num, byte[] _pad1) { public ActionLayer(char[] name, float influence, byte layer_flags, sbyte layer_mix_mode, byte[] _pad0, ActionStrip ptr_ptr_strip_array, int strip_array_num, byte[] _pad1) {
this.name = name; this.name = name;
this.influence = influence; this.influence = influence;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public byte[] _pad1 = new System.Byte[3]; public byte[] _pad1 = new System.Byte[3];
[DNAFieldAttribute(6, "ActionSlotRuntimeHandle", "*runtime", 0)] [DNAFieldAttribute(6, "ActionSlotRuntimeHandle", "*runtime", 0)]
public ActionSlotRuntimeHandle ptr_runtime; public ActionSlotRuntimeHandle ptr_runtime;
public ActionSlot() {
this.name = default;
this._pad0 = default;
this.idtype = default;
this.handle = default;
this.slot_flags = default;
this._pad1 = default;
this.ptr_runtime = default;
}
public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle ptr_runtime) { public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle ptr_runtime) {
this.name = name; this.name = name;
this._pad0 = _pad0; this._pad0 = _pad0;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public float frame_offset; public float frame_offset;
[DNAFieldAttribute(6, "uchar", "_pad1[4]", 1)] [DNAFieldAttribute(6, "uchar", "_pad1[4]", 1)]
public byte[] _pad1 = new System.Byte[4]; 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) { 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.strip_type = strip_type;
this._pad0 = _pad0; this._pad0 = _pad0;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public int channelbag_array_num; public int channelbag_array_num;
[DNAFieldAttribute(2, "uchar", "_pad[4]", 1)] [DNAFieldAttribute(2, "uchar", "_pad[4]", 1)]
public byte[] _pad = new System.Byte[4]; public byte[] _pad = new System.Byte[4];
public ActionStripKeyframeData() {
this.ptr_ptr_channelbag_array = default;
this.channelbag_array_num = default;
this._pad = default;
}
public ActionStripKeyframeData(ActionChannelBag ptr_ptr_channelbag_array, int channelbag_array_num, byte[] _pad) { public ActionStripKeyframeData(ActionChannelBag ptr_ptr_channelbag_array, int channelbag_array_num, byte[] _pad) {
this.ptr_ptr_channelbag_array = ptr_ptr_channelbag_array; this.ptr_ptr_channelbag_array = ptr_ptr_channelbag_array;
this.channelbag_array_num = channelbag_array_num; this.channelbag_array_num = channelbag_array_num;

View File

@@ -53,6 +53,27 @@ namespace BlendFile.DNA {
public float act_influence; public float act_influence;
[DNAFieldAttribute(18, "uchar", "_pad2[4]", 1)] [DNAFieldAttribute(18, "uchar", "_pad2[4]", 1)]
public byte[] _pad2 = new System.Byte[4]; public byte[] _pad2 = new System.Byte[4];
public AnimData() {
this.ptr_action = default;
this.slot_handle = default;
this.slot_name = default;
this._pad0 = default;
this.ptr_tmpact = default;
this.tmp_slot_handle = default;
this.tmp_slot_name = default;
this._pad1 = default;
this.nla_tracks = default;
this.ptr_act_track = default;
this.ptr_actstrip = default;
this.drivers = default;
this.overrides = default;
this.ptr_ptr_driver_array = default;
this.flag = default;
this.act_blendmode = default;
this.act_extendmode = default;
this.act_influence = default;
this._pad2 = default;
}
public AnimData( public AnimData(
bAction ptr_action, bAction ptr_action,
int slot_handle, int slot_handle,

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public int array_index; public int array_index;
[DNAFieldAttribute(4, "float", "value", 4)] [DNAFieldAttribute(4, "float", "value", 4)]
public float value; public float value;
public AnimOverride() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_rna_path = default;
this.array_index = default;
this.value = default;
}
public AnimOverride(AnimOverride ptr_next, AnimOverride ptr_prev, char ptr_rna_path, int array_index, 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public Object ptr_object; public Object ptr_object;
[DNAFieldAttribute(6, "char", "vgname[64]", 1)] [DNAFieldAttribute(6, "char", "vgname[64]", 1)]
public char[] vgname = new System.Char[64]; public char[] vgname = new System.Char[64];
public ArmatureGpencilModifierData() {
this.modifier = default;
this.deformflag = default;
this.multi = default;
this._pad = default;
this.ptr_object = default;
this.vgname = default;
}
public ArmatureGpencilModifierData(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object ptr_object, char[] vgname) { public ArmatureGpencilModifierData(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object ptr_object, char[] vgname) {
this.modifier = modifier; this.modifier = modifier;
this.deformflag = deformflag; this.deformflag = deformflag;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public Object ptr_object; public Object ptr_object;
[DNAFieldAttribute(6, "char", "defgrp_name[64]", 1)] [DNAFieldAttribute(6, "char", "defgrp_name[64]", 1)]
public char[] defgrp_name = new System.Char[64]; public char[] defgrp_name = new System.Char[64];
public ArmatureModifierData() {
this.modifier = default;
this.deformflag = default;
this.multi = default;
this._pad2 = default;
this.ptr_object = default;
this.defgrp_name = default;
}
public ArmatureModifierData(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object ptr_object, char[] defgrp_name) { public ArmatureModifierData(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object ptr_object, char[] defgrp_name) {
this.modifier = modifier; this.modifier = modifier;
this.deformflag = deformflag; this.deformflag = deformflag;

View File

@@ -49,6 +49,25 @@ namespace BlendFile.DNA {
public int mat_rpl; public int mat_rpl;
[DNAFieldAttribute(16, "int", "layer_pass", 4)] [DNAFieldAttribute(16, "int", "layer_pass", 4)]
public int layer_pass; public int layer_pass;
public ArrayGpencilModifierData() {
this.modifier = default;
this.ptr_object = default;
this.ptr_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( public ArrayGpencilModifierData(
GpencilModifierData modifier, GpencilModifierData modifier,
Object ptr_object, Object ptr_object,

View File

@@ -43,6 +43,22 @@ namespace BlendFile.DNA {
public int count; public int count;
[DNAFieldAttribute(13, "float", "uv_offset[2]", 4)] [DNAFieldAttribute(13, "float", "uv_offset[2]", 4)]
public float[] uv_offset = new System.Single[2]; public float[] uv_offset = new System.Single[2];
public ArrayModifierData() {
this.modifier = default;
this.ptr_start_cap = default;
this.ptr_end_cap = default;
this.ptr_curve_ob = default;
this.ptr_offset_ob = default;
this.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 ptr_start_cap, Object ptr_end_cap, Object ptr_curve_ob, Object ptr_offset_ob, float[] offset, float[] scale, float length, float merge_dist, int fit_type, int offset_type, int flags, int count, float[] uv_offset) { public ArrayModifierData(ModifierData modifier, Object 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) {
this.modifier = modifier; this.modifier = modifier;
this.ptr_start_cap = ptr_start_cap; this.ptr_start_cap = ptr_start_cap;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public AssetCatalogPathLink ptr_prev; public AssetCatalogPathLink ptr_prev;
[DNAFieldAttribute(2, "char", "*path", 1)] [DNAFieldAttribute(2, "char", "*path", 1)]
public char ptr_path; public char ptr_path;
public AssetCatalogPathLink() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_path = default;
}
public AssetCatalogPathLink(AssetCatalogPathLink ptr_next, AssetCatalogPathLink ptr_prev, char ptr_path) { public AssetCatalogPathLink(AssetCatalogPathLink ptr_next, AssetCatalogPathLink ptr_prev, char ptr_path) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public char[] _pad1 = new System.Char[2]; public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(2, "int", "custom_library_index", 4)] [DNAFieldAttribute(2, "int", "custom_library_index", 4)]
public int custom_library_index; 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) { public AssetLibraryReference(short type, char[] _pad1, int custom_library_index) {
this.type = type; this.type = type;
this._pad1 = _pad1; this._pad1 = _pad1;

View File

@@ -39,6 +39,20 @@ namespace BlendFile.DNA {
public short tot_tags; public short tot_tags;
[DNAFieldAttribute(11, "char", "_pad[4]", 1)] [DNAFieldAttribute(11, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
public AssetMetaData() {
this.ptr_local_type_info = default;
this.ptr_properties = default;
this.catalog_id = default;
this.catalog_simple_name = default;
this.ptr_author = default;
this.ptr_description = default;
this.ptr_copyright = default;
this.ptr_license = default;
this.tags = default;
this.active_tag = default;
this.tot_tags = default;
this._pad = default;
}
public AssetMetaData(AssetTypeInfo ptr_local_type_info, IDProperty ptr_properties, bUUID catalog_id, char[] catalog_simple_name, char ptr_author, char ptr_description, char ptr_copyright, char ptr_license, ListBase tags, short active_tag, short tot_tags, char[] _pad) { 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_local_type_info = ptr_local_type_info;
this.ptr_properties = ptr_properties; this.ptr_properties = ptr_properties;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public short instance_flag; public short instance_flag;
[DNAFieldAttribute(7, "char", "_pad[4]", 1)] [DNAFieldAttribute(7, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
public AssetShelf() {
this.ptr_next = default;
this.ptr_prev = default;
this.idname = default;
this.ptr_type = default;
this.settings = default;
this.preferred_row_count = default;
this.instance_flag = default;
this._pad = default;
}
public AssetShelf(AssetShelf ptr_next, AssetShelf ptr_prev, char[] idname, AssetShelfType ptr_type, AssetShelfSettings settings, short preferred_row_count, short instance_flag, char[] _pad) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public short display_flag; public short display_flag;
[DNAFieldAttribute(8, "char", "_pad1[4]", 1)] [DNAFieldAttribute(8, "char", "_pad1[4]", 1)]
public char[] _pad1 = new System.Char[4]; public char[] _pad1 = new System.Char[4];
public AssetShelfSettings() {
this.ptr_next = default;
this.ptr_prev = default;
this.asset_library_reference = default;
this.enabled_catalog_paths = default;
this.ptr_active_catalog_path = default;
this.search_string = default;
this.preview_size = default;
this.display_flag = default;
this._pad1 = default;
}
public AssetShelfSettings(AssetShelfSettings ptr_next, AssetShelfSettings ptr_prev, AssetLibraryReference asset_library_reference, ListBase enabled_catalog_paths, char ptr_active_catalog_path, char[] search_string, short preview_size, short display_flag, char[] _pad1) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public AssetTag ptr_prev; public AssetTag ptr_prev;
[DNAFieldAttribute(2, "char", "name[64]", 1)] [DNAFieldAttribute(2, "char", "name[64]", 1)]
public char[] name = new System.Char[64]; public char[] name = new System.Char[64];
public AssetTag() {
this.ptr_next = default;
this.ptr_prev = default;
this.name = default;
}
public AssetTag(AssetTag ptr_next, AssetTag ptr_prev, char[] name) { public AssetTag(AssetTag ptr_next, AssetTag ptr_prev, char[] name) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -23,6 +23,12 @@ namespace BlendFile.DNA {
public char ptr_asset_library_identifier; public char ptr_asset_library_identifier;
[DNAFieldAttribute(3, "char", "*relative_asset_identifier", 1)] [DNAFieldAttribute(3, "char", "*relative_asset_identifier", 1)]
public char ptr_relative_asset_identifier; public char ptr_relative_asset_identifier;
public AssetWeakReference() {
this._pad = default;
this.asset_library_type = default;
this.ptr_asset_library_identifier = default;
this.ptr_relative_asset_identifier = default;
}
public AssetWeakReference(char[] _pad, short asset_library_type, char ptr_asset_library_identifier, char ptr_relative_asset_identifier) { public AssetWeakReference(char[] _pad, short asset_library_type, char ptr_asset_library_identifier, char ptr_relative_asset_identifier) {
this._pad = _pad; this._pad = _pad;
this.asset_library_type = asset_library_type; this.asset_library_type = asset_library_type;

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public float volume; public float volume;
[DNAFieldAttribute(8, "char", "_pad2[4]", 1)] [DNAFieldAttribute(8, "char", "_pad2[4]", 1)]
public char[] _pad2 = new System.Char[4]; 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) { 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.mixrate = mixrate;
this.main = main; this.main = main;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public float radius; public float radius;
[DNAFieldAttribute(7, "char", "_pad[4]", 1)] [DNAFieldAttribute(7, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; 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) { public BPoint(float[] vec, float alfa, float weight, byte f1, char[] _pad1, short hide, float radius, char[] _pad) {
this.vec = vec; this.vec = vec;
this.alfa = alfa; this.alfa = alfa;

View File

@@ -49,6 +49,25 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
[DNAFieldAttribute(16, "Object", "*cage_object", 1160)] [DNAFieldAttribute(16, "Object", "*cage_object", 1160)]
public Object ptr_cage_object; public Object ptr_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.ptr_cage_object = default;
}
public BakeData( public BakeData(
ImageFormatData im_format, ImageFormatData im_format,
char[] filepath, char[] filepath,

View File

@@ -37,6 +37,19 @@ namespace BlendFile.DNA {
public short local_collections_bits; public short local_collections_bits;
[DNAFieldAttribute(10, "char", "_pad1[2]", 1)] [DNAFieldAttribute(10, "char", "_pad1[2]", 1)]
public char[] _pad1 = new System.Char[2]; public char[] _pad1 = new System.Char[2];
public Base() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_object = default;
this.ptr_base_orig = default;
this.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 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) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -63,6 +63,32 @@ namespace BlendFile.DNA {
public char[] edge_weight_name = new System.Char[64]; public char[] edge_weight_name = new System.Char[64];
[DNAFieldAttribute(23, "char", "vertex_weight_name[64]", 1)] [DNAFieldAttribute(23, "char", "vertex_weight_name[64]", 1)]
public char[] vertex_weight_name = new System.Char[64]; 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.ptr_custom_profile = default;
this.edge_weight_name = default;
this.vertex_weight_name = default;
}
public BevelModifierData( public BevelModifierData(
ModifierData modifier, ModifierData modifier,
float value, float value,

View File

@@ -49,6 +49,25 @@ namespace BlendFile.DNA {
public char auto_handle_type; public char auto_handle_type;
[DNAFieldAttribute(16, "char", "_pad[3]", 1)] [DNAFieldAttribute(16, "char", "_pad[3]", 1)]
public char[] _pad = new System.Char[3]; 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( public BezTriple(
float[,] vec, float[,] vec,
float alfa, float alfa,

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
[DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", 40)] [DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", 40)]
public ShaderFxData_Runtime runtime; 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) { public BlurShaderFxData(ShaderFxData shaderfx, float[] radius, int flag, int samples, float rotation, char[] _pad, ShaderFxData_Runtime runtime) {
this.shaderfx = shaderfx; this.shaderfx = shaderfx;
this.radius = radius; this.radius = radius;

View File

@@ -23,6 +23,12 @@ namespace BlendFile.DNA {
public short state_id; public short state_id;
[DNAFieldAttribute(3, "short", "mode", 2)] [DNAFieldAttribute(3, "short", "mode", 2)]
public short mode; 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) { public BoidData(float health, float[] acc, short state_id, short mode) {
this.health = health; this.health = health;
this.acc = acc; this.acc = acc;

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public float[] wander = new System.Single[3]; public float[] wander = new System.Single[3];
[DNAFieldAttribute(4, "char", "_pad0[4]", 1)] [DNAFieldAttribute(4, "char", "_pad0[4]", 1)]
public char[] _pad0 = new System.Char[4]; public char[] _pad0 = new System.Char[4];
public BoidParticle() {
this.ptr_ground = default;
this.data = default;
this.gravity = default;
this.wander = default;
this._pad0 = default;
}
public BoidParticle(Object ptr_ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) { public BoidParticle(Object ptr_ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) {
this.ptr_ground = ptr_ground; this.ptr_ground = ptr_ground;
this.data = data; this.data = data;

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public int flag; public int flag;
[DNAFieldAttribute(4, "char", "name[32]", 1)] [DNAFieldAttribute(4, "char", "name[32]", 1)]
public char[] name = new System.Char[32]; public char[] name = new System.Char[32];
public BoidRule() {
this.ptr_next = default;
this.ptr_prev = default;
this.type = default;
this.flag = default;
this.name = default;
}
public BoidRule(BoidRule ptr_next, BoidRule ptr_prev, int type, int flag, char[] name) { public BoidRule(BoidRule ptr_next, BoidRule ptr_prev, int type, int flag, char[] name) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public float speed; public float speed;
[DNAFieldAttribute(4, "char", "_pad0[4]", 1)] [DNAFieldAttribute(4, "char", "_pad0[4]", 1)]
public char[] _pad0 = new System.Char[4]; 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) { public BoidRuleAverageSpeed(BoidRule rule, float wander, float level, float speed, char[] _pad0) {
this.rule = rule; this.rule = rule;
this.wander = wander; this.wander = wander;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public int options; public int options;
[DNAFieldAttribute(2, "float", "look_ahead", 4)] [DNAFieldAttribute(2, "float", "look_ahead", 4)]
public float look_ahead; 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) { public BoidRuleAvoidCollision(BoidRule rule, int options, float look_ahead) {
this.rule = rule; this.rule = rule;
this.options = options; this.options = options;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public float distance; public float distance;
[DNAFieldAttribute(2, "float", "flee_distance", 4)] [DNAFieldAttribute(2, "float", "flee_distance", 4)]
public float flee_distance; 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) { public BoidRuleFight(BoidRule rule, float distance, float flee_distance) {
this.rule = rule; this.rule = rule;
this.distance = distance; this.distance = distance;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public int options; public int options;
[DNAFieldAttribute(7, "int", "queue_size", 4)] [DNAFieldAttribute(7, "int", "queue_size", 4)]
public int queue_size; public int queue_size;
public BoidRuleFollowLeader() {
this.rule = default;
this.ptr_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 ptr_ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) { public BoidRuleFollowLeader(BoidRule rule, Object ptr_ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) {
this.rule = rule; this.rule = rule;
this.ptr_ob = ptr_ob; this.ptr_ob = ptr_ob;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public int signal_id; public int signal_id;
[DNAFieldAttribute(5, "int", "channels", 4)] [DNAFieldAttribute(5, "int", "channels", 4)]
public int channels; public int channels;
public BoidRuleGoalAvoid() {
this.rule = default;
this.ptr_ob = default;
this.options = default;
this.fear_factor = default;
this.signal_id = default;
this.channels = default;
}
public BoidRuleGoalAvoid(BoidRule rule, Object ptr_ob, int options, float fear_factor, int signal_id, int channels) { public BoidRuleGoalAvoid(BoidRule rule, Object ptr_ob, int options, float fear_factor, int signal_id, int channels) {
this.rule = rule; this.rule = rule;
this.ptr_ob = ptr_ob; this.ptr_ob = ptr_ob;

View File

@@ -61,6 +61,31 @@ namespace BlendFile.DNA {
public float land_stick_force; public float land_stick_force;
[DNAFieldAttribute(22, "ListBase", "states", 16)] [DNAFieldAttribute(22, "ListBase", "states", 16)]
public ListBase states; 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( public BoidSettings(
int options, int options,
int last_state_id, int last_state_id,

View File

@@ -43,6 +43,22 @@ namespace BlendFile.DNA {
public float volume; public float volume;
[DNAFieldAttribute(13, "float", "falloff", 4)] [DNAFieldAttribute(13, "float", "falloff", 4)]
public float falloff; public float falloff;
public BoidState() {
this.ptr_next = default;
this.ptr_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 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) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -121,6 +121,61 @@ namespace BlendFile.DNA {
public Bone ptr_bbone_next; public Bone ptr_bbone_next;
[DNAFieldAttribute(52, "Bone_Runtime", "runtime", 16)] [DNAFieldAttribute(52, "Bone_Runtime", "runtime", 16)]
public Bone_Runtime runtime; public Bone_Runtime runtime;
public Bone() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_prop = default;
this.ptr_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.ptr_bbone_prev = default;
this.ptr_bbone_next = default;
this.runtime = default;
}
public Bone( public Bone(
Bone ptr_next, Bone ptr_next,
Bone ptr_prev, Bone ptr_prev,

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public int child_count; public int child_count;
[DNAFieldAttribute(8, "IDProperty", "*prop", 136)] [DNAFieldAttribute(8, "IDProperty", "*prop", 136)]
public IDProperty ptr_prop; public IDProperty ptr_prop;
public BoneCollection() {
this.ptr_next = default;
this.ptr_prev = default;
this.name = default;
this.bones = default;
this.flags = default;
this._pad0 = default;
this.child_index = default;
this.child_count = default;
this.ptr_prop = default;
}
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) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public BoneCollectionMember ptr_prev; public BoneCollectionMember ptr_prev;
[DNAFieldAttribute(2, "Bone", "*bone", 472)] [DNAFieldAttribute(2, "Bone", "*bone", 472)]
public Bone ptr_bone; public Bone ptr_bone;
public BoneCollectionMember() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_bone = default;
}
public BoneCollectionMember(BoneCollectionMember ptr_next, BoneCollectionMember ptr_prev, Bone ptr_bone) { public BoneCollectionMember(BoneCollectionMember ptr_next, BoneCollectionMember ptr_prev, Bone ptr_bone) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public BoneCollectionReference ptr_prev; public BoneCollectionReference ptr_prev;
[DNAFieldAttribute(2, "BoneCollection", "*bcoll", 120)] [DNAFieldAttribute(2, "BoneCollection", "*bcoll", 120)]
public BoneCollection ptr_bcoll; public BoneCollection ptr_bcoll;
public BoneCollectionReference() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_bcoll = default;
}
public BoneCollectionReference(BoneCollectionReference ptr_next, BoneCollectionReference ptr_prev, BoneCollection ptr_bcoll) { public BoneCollectionReference(BoneCollectionReference ptr_next, BoneCollectionReference ptr_prev, BoneCollection ptr_bcoll) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public byte[] _pad0 = new System.Byte[7]; public byte[] _pad0 = new System.Byte[7];
[DNAFieldAttribute(2, "ThemeWireColor", "custom", 16)] [DNAFieldAttribute(2, "ThemeWireColor", "custom", 16)]
public ThemeWireColor custom; public ThemeWireColor custom;
public BoneColor() {
this.palette_index = default;
this._pad0 = default;
this.custom = default;
}
public BoneColor(sbyte palette_index, byte[] _pad0, ThemeWireColor custom) { public BoneColor(sbyte palette_index, byte[] _pad0, ThemeWireColor custom) {
this.palette_index = palette_index; this.palette_index = palette_index;
this._pad0 = _pad0; this._pad0 = _pad0;

View File

@@ -17,6 +17,9 @@ namespace BlendFile.DNA {
public struct Bone_Runtime { public struct Bone_Runtime {
[DNAFieldAttribute(0, "ListBase", "collections", 16)] [DNAFieldAttribute(0, "ListBase", "collections", 16)]
public ListBase collections; public ListBase collections;
public Bone_Runtime() {
this.collections = default;
}
public Bone_Runtime(ListBase collections) { public Bone_Runtime(ListBase collections) {
this.collections = collections; this.collections = collections;
} }

View File

@@ -35,6 +35,18 @@ namespace BlendFile.DNA {
public char bm_flag; public char bm_flag;
[DNAFieldAttribute(9, "char", "_pad[7]", 1)] [DNAFieldAttribute(9, "char", "_pad[7]", 1)]
public char[] _pad = new System.Char[7]; public char[] _pad = new System.Char[7];
public BooleanModifierData() {
this.modifier = default;
this.ptr_object = default;
this.ptr_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 ptr_object, Collection ptr_collection, float double_threshold, char operation, char solver, char material_mode, char flag, char bm_flag, char[] _pad) { public BooleanModifierData(ModifierData modifier, Object ptr_object, Collection ptr_collection, float double_threshold, char operation, char solver, char material_mode, char flag, char bm_flag, char[] _pad) {
this.modifier = modifier; this.modifier = modifier;
this.ptr_object = ptr_object; this.ptr_object = ptr_object;

View File

@@ -17,6 +17,9 @@ namespace BlendFile.DNA {
public struct BoundBox { public struct BoundBox {
[DNAFieldAttribute(0, "float", "vec[8][3]", 4)] [DNAFieldAttribute(0, "float", "vec[8][3]", 4)]
public float[,] vec = new System.Single[8,3]; public float[,] vec = new System.Single[8,3];
public BoundBox() {
this.vec = default;
}
public BoundBox(float[,] vec) { public BoundBox(float[,] vec) {
this.vec = vec; this.vec = vec;
} }

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public float bright; public float bright;
[DNAFieldAttribute(2, "float", "contrast", 4)] [DNAFieldAttribute(2, "float", "contrast", 4)]
public float contrast; public float contrast;
public BrightContrastModifierData() {
this.modifier = default;
this.bright = default;
this.contrast = default;
}
public BrightContrastModifierData(SequenceModifierData modifier, float bright, float contrast) { public BrightContrastModifierData(SequenceModifierData modifier, float bright, float contrast) {
this.modifier = modifier; this.modifier = modifier;
this.bright = bright; this.bright = bright;

View File

@@ -265,6 +265,133 @@ namespace BlendFile.DNA {
public float automasking_cavity_factor; public float automasking_cavity_factor;
[DNAFieldAttribute(124, "CurveMapping", "*automasking_cavity_curve", 424)] [DNAFieldAttribute(124, "CurveMapping", "*automasking_cavity_curve", 424)]
public CurveMapping ptr_automasking_cavity_curve; public CurveMapping ptr_automasking_cavity_curve;
public Brush() {
this.id = default;
this.clone = default;
this.ptr_curve = default;
this.mtex = default;
this.mask_mtex = default;
this.ptr_toggle_brush = default;
this.ptr_icon_imbuf = default;
this.ptr_preview = default;
this.ptr_gradient = default;
this.ptr_paint_curve = default;
this.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.ptr_gpencil_settings = default;
this.ptr_curves_sculpt_settings = default;
this.automasking_cavity_blur_steps = default;
this.automasking_cavity_factor = default;
this.ptr_automasking_cavity_curve = default;
}
public Brush( public Brush(
ID id, ID id,
BrushClone clone, BrushClone clone,

View File

@@ -23,6 +23,12 @@ namespace BlendFile.DNA {
public float alpha; public float alpha;
[DNAFieldAttribute(3, "char", "_pad[4]", 1)] [DNAFieldAttribute(3, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
public BrushClone() {
this.ptr_image = default;
this.offset = default;
this.alpha = default;
this._pad = default;
}
public BrushClone(Image ptr_image, float[] offset, float alpha, char[] _pad) { public BrushClone(Image ptr_image, float[] offset, float alpha, char[] _pad) {
this.ptr_image = ptr_image; this.ptr_image = ptr_image;
this.offset = offset; this.offset = offset;

View File

@@ -37,6 +37,19 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[7]; public char[] _pad = new System.Char[7];
[DNAFieldAttribute(10, "CurveMapping", "*curve_parameter_falloff", 424)] [DNAFieldAttribute(10, "CurveMapping", "*curve_parameter_falloff", 424)]
public CurveMapping ptr_curve_parameter_falloff; public CurveMapping ptr_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.ptr_curve_parameter_falloff = default;
}
public BrushCurvesSculptSettings(int add_amount, int points_per_curve, int flag, float minimum_length, float curve_length, float minimum_distance, float curve_radius, int density_add_attempts, byte density_mode, char[] _pad, CurveMapping ptr_curve_parameter_falloff) { public BrushCurvesSculptSettings(int add_amount, int points_per_curve, int flag, float minimum_length, float curve_length, float minimum_distance, float curve_radius, int density_add_attempts, byte density_mode, char[] _pad, CurveMapping ptr_curve_parameter_falloff) {
this.add_amount = add_amount; this.add_amount = add_amount;
this.points_per_curve = points_per_curve; this.points_per_curve = points_per_curve;

View File

@@ -125,6 +125,63 @@ namespace BlendFile.DNA {
public Material ptr_material; public Material ptr_material;
[DNAFieldAttribute(54, "Material", "*material_alt", 392)] [DNAFieldAttribute(54, "Material", "*material_alt", 392)]
public Material ptr_material_alt; public Material ptr_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.ptr_curve_sensitivity = default;
this.ptr_curve_strength = default;
this.ptr_curve_jitter = default;
this.ptr_curve_rand_pressure = default;
this.ptr_curve_rand_strength = default;
this.ptr_curve_rand_uv = default;
this.ptr_curve_rand_hue = default;
this.ptr_curve_rand_saturation = default;
this.ptr_curve_rand_value = default;
this.outline_fac = default;
this.simplify_px = default;
this.ptr_material = default;
this.ptr_material_alt = default;
}
public BrushGpencilSettings( public BrushGpencilSettings(
float draw_smoothfac, float draw_smoothfac,
float fill_factor, float fill_factor,

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public float len; public float len;
[DNAFieldAttribute(7, "float", "sfra", 4)] [DNAFieldAttribute(7, "float", "sfra", 4)]
public float sfra; public float sfra;
public BuildEff() {
this.ptr_next = default;
this.ptr_prev = default;
this.type = default;
this.flag = default;
this.buttype = default;
this._pad0 = default;
this.len = default;
this.sfra = default;
}
public BuildEff(BuildEff ptr_next, BuildEff ptr_prev, short type, short flag, short buttype, char[] _pad0, float len, float sfra) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -63,6 +63,32 @@ namespace BlendFile.DNA {
public float fade_opacity_strength; public float fade_opacity_strength;
[DNAFieldAttribute(23, "float", "fade_thickness_strength", 4)] [DNAFieldAttribute(23, "float", "fade_thickness_strength", 4)]
public float fade_thickness_strength; public float fade_thickness_strength;
public BuildGpencilModifierData() {
this.modifier = default;
this.ptr_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.ptr_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( public BuildGpencilModifierData(
GpencilModifierData modifier, GpencilModifierData modifier,
Material ptr_material, Material ptr_material,

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public short randomize; public short randomize;
[DNAFieldAttribute(5, "int", "seed", 4)] [DNAFieldAttribute(5, "int", "seed", 4)]
public int seed; 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) { public BuildModifierData(ModifierData modifier, float start, float length, short flag, short randomize, int seed) {
this.modifier = modifier; this.modifier = modifier;
this.start = start; this.start = start;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public float pos; public float pos;
[DNAFieldAttribute(5, "int", "cur", 4)] [DNAFieldAttribute(5, "int", "cur", 4)]
public int cur; 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) { public CBData(float r, float g, float b, float a, float pos, int cur) {
this.r = r; this.r = r;
this.g = g; this.g = g;

View File

@@ -67,6 +67,34 @@ namespace BlendFile.DNA {
public char[] handle_filepath = new System.Char[1024]; public char[] handle_filepath = new System.Char[1024];
[DNAFieldAttribute(25, "GSet", "*handle_readers", 0)] [DNAFieldAttribute(25, "GSet", "*handle_readers", 0)]
public GSet ptr_handle_readers; public GSet ptr_handle_readers;
public CacheFile() {
this.id = default;
this.ptr_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.ptr_handle = default;
this.handle_filepath = default;
this.ptr_handle_readers = default;
}
public CacheFile( public CacheFile(
ID id, ID id,
AnimData ptr_adt, AnimData ptr_adt,

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public int flag; public int flag;
[DNAFieldAttribute(4, "int", "_pad", 4)] [DNAFieldAttribute(4, "int", "_pad", 4)]
public int _pad; public int _pad;
public CacheFileLayer() {
this.ptr_next = default;
this.ptr_prev = default;
this.filepath = default;
this.flag = default;
this._pad = default;
}
public CacheFileLayer(CacheFileLayer ptr_next, CacheFileLayer ptr_prev, char[] filepath, int flag, int _pad) { public CacheFileLayer(CacheFileLayer ptr_next, CacheFileLayer ptr_prev, char[] filepath, int flag, int _pad) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public CacheObjectPath ptr_prev; public CacheObjectPath ptr_prev;
[DNAFieldAttribute(2, "char", "path[4096]", 1)] [DNAFieldAttribute(2, "char", "path[4096]", 1)]
public char[] path = new System.Char[4096]; public char[] path = new System.Char[4096];
public CacheObjectPath() {
this.ptr_next = default;
this.ptr_prev = default;
this.path = default;
}
public CacheObjectPath(CacheObjectPath ptr_next, CacheObjectPath ptr_prev, char[] path) { public CacheObjectPath(CacheObjectPath ptr_next, CacheObjectPath ptr_prev, char[] path) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -101,6 +101,51 @@ namespace BlendFile.DNA {
public CameraStereoSettings stereo; public CameraStereoSettings stereo;
[DNAFieldAttribute(42, "Camera_Runtime", "runtime", 216)] [DNAFieldAttribute(42, "Camera_Runtime", "runtime", 216)]
public Camera_Runtime runtime; public Camera_Runtime runtime;
public Camera() {
this.id = default;
this.ptr_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.ptr_ipo = default;
this.ptr_dof_ob = default;
this.gpu_dof = default;
this.dof = default;
this.bg_images = default;
this.stereo = default;
this.runtime = default;
}
public Camera( public Camera(
ID id, ID id,
AnimData ptr_adt, AnimData ptr_adt,

View File

@@ -39,6 +39,20 @@ namespace BlendFile.DNA {
public short flag; public short flag;
[DNAFieldAttribute(11, "short", "source", 2)] [DNAFieldAttribute(11, "short", "source", 2)]
public short source; public short source;
public CameraBGImage() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_ima = default;
this.iuser = default;
this.ptr_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 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) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public short flag; public short flag;
[DNAFieldAttribute(8, "char", "_pad[2]", 1)] [DNAFieldAttribute(8, "char", "_pad[2]", 1)]
public char[] _pad = new System.Char[2]; public char[] _pad = new System.Char[2];
public CameraDOFSettings() {
this.ptr_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 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) { 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; this.ptr_focus_object = ptr_focus_object;
this.focus_subtarget = focus_subtarget; this.focus_subtarget = focus_subtarget;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public float pole_merge_angle_from; public float pole_merge_angle_from;
[DNAFieldAttribute(7, "float", "pole_merge_angle_to", 4)] [DNAFieldAttribute(7, "float", "pole_merge_angle_to", 4)]
public float pole_merge_angle_to; 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) { 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.interocular_distance = interocular_distance;
this.convergence_distance = convergence_distance; this.convergence_distance = convergence_distance;

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public float[,] drw_focusmat = new System.Single[4,4]; public float[,] drw_focusmat = new System.Single[4,4];
[DNAFieldAttribute(4, "float", "drw_normalmat[4][4]", 4)] [DNAFieldAttribute(4, "float", "drw_normalmat[4][4]", 4)]
public float[,] drw_normalmat = new System.Single[4,4]; 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) { 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_corners = drw_corners;
this.drw_tria = drw_tria; this.drw_tria = drw_tria;

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public short type; public short type;
[DNAFieldAttribute(8, "void", "*_pad1", 0)] [DNAFieldAttribute(8, "void", "*_pad1", 0)]
public object ptr__pad1; public object ptr__pad1;
public CastModifierData() {
this.modifier = default;
this.ptr_object = default;
this.fac = default;
this.radius = default;
this.size = default;
this.defgrp_name = default;
this.flag = default;
this.type = default;
this.ptr__pad1 = default;
}
public CastModifierData(ModifierData modifier, Object ptr_object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object ptr__pad1) { public CastModifierData(ModifierData modifier, Object ptr_object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object ptr__pad1) {
this.modifier = modifier; this.modifier = modifier;
this.ptr_object = ptr_object; this.ptr_object = ptr_object;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public int type; public int type;
[DNAFieldAttribute(7, "int", "flag", 4)] [DNAFieldAttribute(7, "int", "flag", 4)]
public int flag; public int flag;
public ChannelDriver() {
this.variables = default;
this.expression = default;
this.ptr_expr_comp = default;
this.ptr_expr_simple = default;
this.curval = default;
this.influence = default;
this.type = default;
this.flag = default;
}
public ChannelDriver(ListBase variables, char[] expression, object ptr_expr_comp, ExprPyLike_Parsed ptr_expr_simple, float curval, float influence, int type, int flag) { public ChannelDriver(ListBase variables, char[] expression, object ptr_expr_comp, ExprPyLike_Parsed ptr_expr_simple, float curval, float influence, int type, int flag) {
this.variables = variables; this.variables = variables;
this.expression = expression; this.expression = expression;

View File

@@ -23,6 +23,12 @@ namespace BlendFile.DNA {
public char flag; public char flag;
[DNAFieldAttribute(3, "char", "_pad[1]", 1)] [DNAFieldAttribute(3, "char", "_pad[1]", 1)]
public char[] _pad = new System.Char[1]; 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) { public CharInfo(float kern, short mat_nr, char flag, char[] _pad) {
this.kern = kern; this.kern = kern;
this.mat_nr = mat_nr; this.mat_nr = mat_nr;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public float foffset; public float foffset;
[DNAFieldAttribute(6, "char", "_pad0[4]", 1)] [DNAFieldAttribute(6, "char", "_pad0[4]", 1)]
public char[] _pad0 = new System.Char[4]; 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) { public ChildParticle(int num, int parent, int[] pa, float[] w, float[] fuv, float foffset, char[] _pad0) {
this.num = num; this.num = num;
this.parent = parent; this.parent = parent;

View File

@@ -51,6 +51,26 @@ namespace BlendFile.DNA {
public float clamp; public float clamp;
[DNAFieldAttribute(17, "float", "self_clamp", 4)] [DNAFieldAttribute(17, "float", "self_clamp", 4)]
public float self_clamp; public float self_clamp;
public ClothCollSettings() {
this.ptr_collision_list = default;
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.ptr_group = default;
this.vgroup_selfcol = default;
this.vgroup_objcol = default;
this._pad2 = default;
this.clamp = default;
this.self_clamp = default;
}
public ClothCollSettings( public ClothCollSettings(
LinkNode ptr_collision_list, LinkNode ptr_collision_list,
float epsilon, float epsilon,

View File

@@ -39,6 +39,20 @@ namespace BlendFile.DNA {
public float hair_grid_cellsize; public float hair_grid_cellsize;
[DNAFieldAttribute(11, "ClothSolverResult", "*solver_result", 0)] [DNAFieldAttribute(11, "ClothSolverResult", "*solver_result", 0)]
public ClothSolverResult ptr_solver_result; public ClothSolverResult ptr_solver_result;
public ClothModifierData() {
this.modifier = default;
this.ptr_clothObject = default;
this.ptr_sim_parms = default;
this.ptr_coll_parms = default;
this.ptr_point_cache = default;
this.ptcaches = default;
this.ptr_hairdata = default;
this.hair_grid_min = default;
this.hair_grid_max = default;
this.hair_grid_res = default;
this.hair_grid_cellsize = default;
this.ptr_solver_result = default;
}
public ClothModifierData(ModifierData modifier, Cloth ptr_clothObject, ClothSimSettings ptr_sim_parms, ClothCollSettings ptr_coll_parms, PointCache ptr_point_cache, ListBase ptcaches, ClothHairData ptr_hairdata, float[] hair_grid_min, float[] hair_grid_max, int[] hair_grid_res, float hair_grid_cellsize, ClothSolverResult ptr_solver_result) { public ClothModifierData(ModifierData modifier, Cloth 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) {
this.modifier = modifier; this.modifier = modifier;
this.ptr_clothObject = ptr_clothObject; this.ptr_clothObject = ptr_clothObject;

View File

@@ -155,6 +155,78 @@ namespace BlendFile.DNA {
public float max_internal_compression; public float max_internal_compression;
[DNAFieldAttribute(69, "char", "_pad0[4]", 1)] [DNAFieldAttribute(69, "char", "_pad0[4]", 1)]
public char[] _pad0 = new System.Char[4]; public char[] _pad0 = new System.Char[4];
public ClothSimSettings() {
this.ptr_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.ptr_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( public ClothSimSettings(
LinkNode ptr_cache, LinkNode ptr_cache,
float mingoal, float mingoal,

View File

@@ -53,6 +53,27 @@ namespace BlendFile.DNA {
public ViewLayer ptr_view_layer; public ViewLayer ptr_view_layer;
[DNAFieldAttribute(18, "Collection_Runtime", "runtime", 64)] [DNAFieldAttribute(18, "Collection_Runtime", "runtime", 64)]
public Collection_Runtime runtime; public Collection_Runtime runtime;
public Collection() {
this.id = default;
this.ptr_owner_id = default;
this.gobject = default;
this.children = default;
this._pad0 = default;
this.active_exporter_index = default;
this.exporters = default;
this.ptr_preview = default;
this.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.ptr_view_layer = default;
this.runtime = default;
}
public Collection( public Collection(
ID id, ID id,
ID ptr_owner_id, ID ptr_owner_id,

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public CollectionLightLinking light_linking; public CollectionLightLinking light_linking;
[DNAFieldAttribute(4, "int", "_pad", 4)] [DNAFieldAttribute(4, "int", "_pad", 4)]
public int _pad; public int _pad;
public CollectionChild() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_collection = default;
this.light_linking = default;
this._pad = default;
}
public CollectionChild(CollectionChild ptr_next, CollectionChild ptr_prev, Collection ptr_collection, CollectionLightLinking light_linking, int _pad) { public CollectionChild(CollectionChild ptr_next, CollectionChild ptr_prev, Collection ptr_collection, CollectionLightLinking light_linking, int _pad) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public int flag; public int flag;
[DNAFieldAttribute(6, "int", "_pad0", 4)] [DNAFieldAttribute(6, "int", "_pad0", 4)]
public int _pad0; public int _pad0;
public CollectionExport() {
this.ptr_next = default;
this.ptr_prev = default;
this.fh_idname = default;
this.name = default;
this.ptr_export_properties = default;
this.flag = default;
this._pad0 = default;
}
public CollectionExport(CollectionExport ptr_next, CollectionExport ptr_prev, char[] fh_idname, char[] name, IDProperty ptr_export_properties, int flag, int _pad0) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -19,6 +19,10 @@ namespace BlendFile.DNA {
public byte link_state; public byte link_state;
[DNAFieldAttribute(1, "uchar", "_pad[3]", 1)] [DNAFieldAttribute(1, "uchar", "_pad[3]", 1)]
public byte[] _pad = new System.Byte[3]; public byte[] _pad = new System.Byte[3];
public CollectionLightLinking() {
this.link_state = default;
this._pad = default;
}
public CollectionLightLinking(byte link_state, byte[] _pad) { public CollectionLightLinking(byte link_state, byte[] _pad) {
this.link_state = link_state; this.link_state = link_state;
this._pad = _pad; this._pad = _pad;

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public CollectionLightLinking light_linking; public CollectionLightLinking light_linking;
[DNAFieldAttribute(4, "int", "_pad", 4)] [DNAFieldAttribute(4, "int", "_pad", 4)]
public int _pad; public int _pad;
public CollectionObject() {
this.ptr_next = default;
this.ptr_prev = default;
this.ptr_ob = default;
this.light_linking = default;
this._pad = default;
}
public CollectionObject(CollectionObject ptr_next, CollectionObject ptr_prev, Object ptr_ob, CollectionLightLinking light_linking, int _pad) { public CollectionObject(CollectionObject ptr_next, CollectionObject ptr_prev, Object ptr_ob, CollectionLightLinking light_linking, int _pad) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public byte tag; public byte tag;
[DNAFieldAttribute(5, "char", "_pad0[7]", 1)] [DNAFieldAttribute(5, "char", "_pad0[7]", 1)]
public char[] _pad0 = new System.Char[7]; public char[] _pad0 = new System.Char[7];
public Collection_Runtime() {
this.object_cache = default;
this.object_cache_instanced = default;
this.parents = default;
this.ptr_gobject_hash = default;
this.tag = default;
this._pad0 = default;
}
public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash ptr_gobject_hash, byte tag, char[] _pad0) { public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash ptr_gobject_hash, byte tag, char[] _pad0) {
this.object_cache = object_cache; this.object_cache = object_cache;
this.object_cache_instanced = object_cache_instanced; this.object_cache_instanced = object_cache_instanced;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[7]; public char[] _pad = new System.Char[7];
[DNAFieldAttribute(14, "BVHTree", "*bvhtree", 0)] [DNAFieldAttribute(14, "BVHTree", "*bvhtree", 0)]
public BVHTree ptr_bvhtree; public BVHTree ptr_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.ptr_bvhtree = default;
}
public CollisionModifierData(ModifierData modifier, int mvert_num, int tri_num, float time_x, float time_xnew, char is_static, char[] _pad, BVHTree ptr_bvhtree) { public CollisionModifierData(ModifierData modifier, int mvert_num, int tri_num, float time_x, float time_xnew, char is_static, char[] _pad, BVHTree ptr_bvhtree) {
this.modifier = modifier; this.modifier = modifier;
this.mvert_num = mvert_num; this.mvert_num = mvert_num;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public StripColorBalance color_balance; public StripColorBalance color_balance;
[DNAFieldAttribute(2, "float", "color_multiply", 4)] [DNAFieldAttribute(2, "float", "color_multiply", 4)]
public float color_multiply; 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) { public ColorBalanceModifierData(SequenceModifierData modifier, StripColorBalance color_balance, float color_multiply) {
this.modifier = modifier; this.modifier = modifier;
this.color_balance = color_balance; this.color_balance = color_balance;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[1]; public char[] _pad = new System.Char[1];
[DNAFieldAttribute(6, "CBData", "data[32]", 24)] [DNAFieldAttribute(6, "CBData", "data[32]", 24)]
public CBData[] data = new CBData[32]; 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) { public ColorBand(short tot, short cur, char ipotype, char ipotype_hue, char color_mode, char[] _pad, CBData[] data) {
this.tot = tot; this.tot = tot;
this.cur = cur; this.cur = cur;

View File

@@ -27,6 +27,14 @@ namespace BlendFile.DNA {
public float lift; public float lift;
[DNAFieldAttribute(5, "char", "_pad[4]", 1)] [DNAFieldAttribute(5, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; 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) { public ColorCorrectionData(float saturation, float contrast, float gamma, float gain, float lift, char[] _pad) {
this.saturation = saturation; this.saturation = saturation;
this.contrast = contrast; this.contrast = contrast;

View File

@@ -39,6 +39,20 @@ namespace BlendFile.DNA {
public char[] _pad1 = new System.Char[4]; public char[] _pad1 = new System.Char[4];
[DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", 424)] [DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", 424)]
public CurveMapping ptr_curve_intensity; public CurveMapping ptr_curve_intensity;
public ColorGpencilModifierData() {
this.modifier = default;
this.ptr_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.ptr_curve_intensity = default;
}
public ColorGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, float[] hsv, char modify_color, char[] _pad, int layer_pass, char[] _pad1, CurveMapping ptr_curve_intensity) { public ColorGpencilModifierData(GpencilModifierData modifier, Material 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) {
this.modifier = modifier; this.modifier = modifier;
this.ptr_material = ptr_material; this.ptr_material = ptr_material;

View File

@@ -17,6 +17,9 @@ namespace BlendFile.DNA {
public struct ColorManagedColorspaceSettings { public struct ColorManagedColorspaceSettings {
[DNAFieldAttribute(0, "char", "name[64]", 1)] [DNAFieldAttribute(0, "char", "name[64]", 1)]
public char[] name = new System.Char[64]; public char[] name = new System.Char[64];
public ColorManagedColorspaceSettings() {
this.name = default;
}
public ColorManagedColorspaceSettings(char[] name) { public ColorManagedColorspaceSettings(char[] name) {
this.name = name; this.name = name;
} }

View File

@@ -17,6 +17,9 @@ namespace BlendFile.DNA {
public struct ColorManagedDisplaySettings { public struct ColorManagedDisplaySettings {
[DNAFieldAttribute(0, "char", "display_device[64]", 1)] [DNAFieldAttribute(0, "char", "display_device[64]", 1)]
public char[] display_device = new System.Char[64]; public char[] display_device = new System.Char[64];
public ColorManagedDisplaySettings() {
this.display_device = default;
}
public ColorManagedDisplaySettings(char[] display_device) { public ColorManagedDisplaySettings(char[] display_device) {
this.display_device = display_device; this.display_device = display_device;
} }

View File

@@ -35,6 +35,18 @@ namespace BlendFile.DNA {
public CurveMapping ptr_curve_mapping; public CurveMapping ptr_curve_mapping;
[DNAFieldAttribute(9, "void", "*_pad2", 0)] [DNAFieldAttribute(9, "void", "*_pad2", 0)]
public object ptr__pad2; public object ptr__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.ptr_curve_mapping = default;
this.ptr__pad2 = default;
}
public ColorManagedViewSettings(int flag, char[] _pad, char[] look, char[] view_transform, float exposure, float gamma, float temperature, float tint, CurveMapping ptr_curve_mapping, object ptr__pad2) { public ColorManagedViewSettings(int flag, char[] _pad, char[] look, char[] view_transform, float exposure, float gamma, float temperature, float tint, CurveMapping ptr_curve_mapping, object ptr__pad2) {
this.flag = flag; this.flag = flag;
this._pad = _pad; this._pad = _pad;

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public int blend_type; public int blend_type;
[DNAFieldAttribute(8, "char", "_pad[4]", 1)] [DNAFieldAttribute(8, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; 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) { 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.coba = coba;
this.bright = bright; this.bright = bright;

View File

@@ -19,6 +19,10 @@ namespace BlendFile.DNA {
public int blend_effect; public int blend_effect;
[DNAFieldAttribute(1, "float", "factor", 4)] [DNAFieldAttribute(1, "float", "factor", 4)]
public float factor; public float factor;
public ColorMixVars() {
this.blend_effect = default;
this.factor = default;
}
public ColorMixVars(int blend_effect, float factor) { public ColorMixVars(int blend_effect, float factor) {
this.blend_effect = blend_effect; this.blend_effect = blend_effect;
this.factor = factor; this.factor = factor;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
[DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", 40)] [DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", 40)]
public ShaderFxData_Runtime runtime; 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) { 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.shaderfx = shaderfx;
this.mode = mode; this.mode = mode;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public int cursor; public int cursor;
[DNAFieldAttribute(6, "int", "type", 4)] [DNAFieldAttribute(6, "int", "type", 4)]
public int type; public int type;
public ConsoleLine() {
this.ptr_next = default;
this.ptr_prev = default;
this.len_alloc = default;
this.len = default;
this.ptr_line = default;
this.cursor = default;
this.type = default;
}
public ConsoleLine(ConsoleLine ptr_next, ConsoleLine ptr_prev, int len_alloc, int len, char ptr_line, int cursor, int type) { 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_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -31,6 +31,16 @@ namespace BlendFile.DNA {
public char rest_source; public char rest_source;
[DNAFieldAttribute(8, "char", "_pad[6]", 1)] [DNAFieldAttribute(8, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6]; 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) { 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.deltas_num = deltas_num;
this.lambda = lambda; this.lambda = lambda;

View File

@@ -37,6 +37,19 @@ namespace BlendFile.DNA {
public char[] defgrp_name = new System.Char[64]; public char[] defgrp_name = new System.Char[64];
[DNAFieldAttribute(11, "CorrectiveSmoothDeltaCache", "delta_cache", 32)] [DNAFieldAttribute(11, "CorrectiveSmoothDeltaCache", "delta_cache", 32)]
public CorrectiveSmoothDeltaCache delta_cache; 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) { 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.modifier = modifier;
this.bind_coords_num = bind_coords_num; this.bind_coords_num = bind_coords_num;

View File

@@ -25,6 +25,13 @@ namespace BlendFile.DNA {
public char[] name = new System.Char[64]; public char[] name = new System.Char[64];
[DNAFieldAttribute(4, "char", "_pad[4]", 1)] [DNAFieldAttribute(4, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
public CryptomatteEntry() {
this.ptr_next = default;
this.ptr_prev = default;
this.encoded_hash = default;
this.name = default;
this._pad = default;
}
public CryptomatteEntry(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, float encoded_hash, char[] name, char[] _pad) { public CryptomatteEntry(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, float encoded_hash, char[] name, char[] _pad) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -21,6 +21,11 @@ namespace BlendFile.DNA {
public CryptomatteEntry ptr_prev; public CryptomatteEntry ptr_prev;
[DNAFieldAttribute(2, "char", "name[64]", 1)] [DNAFieldAttribute(2, "char", "name[64]", 1)]
public char[] name = new System.Char[64]; public char[] name = new System.Char[64];
public CryptomatteLayer() {
this.ptr_next = default;
this.ptr_prev = default;
this.name = default;
}
public CryptomatteLayer(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, char[] name) { public CryptomatteLayer(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, char[] name) {
this.ptr_next = ptr_next; this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev; this.ptr_prev = ptr_prev;

View File

@@ -169,6 +169,85 @@ namespace BlendFile.DNA {
public char[] _pad3 = new System.Char[7]; public char[] _pad3 = new System.Char[7];
[DNAFieldAttribute(76, "void", "*batch_cache", 0)] [DNAFieldAttribute(76, "void", "*batch_cache", 0)]
public object ptr_batch_cache; public object ptr_batch_cache;
public Curve() {
this.id = default;
this.ptr_adt = default;
this.nurb = default;
this.ptr_editnurb = default;
this.ptr_bevobj = default;
this.ptr_taperobj = default;
this.ptr_textoncurve = default;
this.ptr_ipo = default;
this.ptr_key = default;
this.ptr_ptr_mat = default;
this.ptr_bevel_profile = default;
this.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.ptr_str = default;
this.ptr_editfont = default;
this.family = default;
this.ptr_vfont = default;
this.ptr_vfontb = default;
this.ptr_vfonti = default;
this.ptr_vfontbi = default;
this.ptr_tb = default;
this.totbox = default;
this.actbox = default;
this.ptr_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.ptr_curve_eval = default;
this.edit_data_from_original = default;
this._pad3 = default;
this.ptr_batch_cache = default;
}
public Curve( public Curve(
ID id, ID id,
AnimData ptr_adt, AnimData ptr_adt,

View File

@@ -43,6 +43,22 @@ namespace BlendFile.DNA {
public short default_handle_type; public short default_handle_type;
[DNAFieldAttribute(13, "char", "_pad[6]", 1)] [DNAFieldAttribute(13, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6]; public char[] _pad = new System.Char[6];
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.ptr_curve = default;
this.ptr_table = default;
this.ptr_premultable = default;
this.premul_ext_in = default;
this.premul_ext_out = default;
this.default_handle_type = default;
this._pad = default;
}
public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint ptr_curve, CurveMapPoint ptr_table, CurveMapPoint ptr_premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) { public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint ptr_curve, CurveMapPoint ptr_table, CurveMapPoint ptr_premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) {
this.totpoint = totpoint; this.totpoint = totpoint;
this.flag = flag; this.flag = flag;

View File

@@ -23,6 +23,12 @@ namespace BlendFile.DNA {
public short flag; public short flag;
[DNAFieldAttribute(3, "short", "shorty", 2)] [DNAFieldAttribute(3, "short", "shorty", 2)]
public short shorty; 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) { public CurveMapPoint(float x, float y, short flag, short shorty) {
this.x = x; this.x = x;
this.y = y; this.y = y;

View File

@@ -41,6 +41,21 @@ namespace BlendFile.DNA {
public short tone; public short tone;
[DNAFieldAttribute(12, "char", "_pad[6]", 1)] [DNAFieldAttribute(12, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6]; 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) { 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.flag = flag;
this.cur = cur; this.cur = cur;

View File

@@ -29,6 +29,15 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
[DNAFieldAttribute(6, "void", "*_pad1", 0)] [DNAFieldAttribute(6, "void", "*_pad1", 0)]
public object ptr__pad1; public object ptr__pad1;
public CurveModifierData() {
this.modifier = default;
this.ptr_object = default;
this.name = default;
this.defaxis = default;
this.flag = default;
this._pad = default;
this.ptr__pad1 = default;
}
public CurveModifierData(ModifierData modifier, Object ptr_object, char[] name, short defaxis, short flag, char[] _pad, object ptr__pad1) { public CurveModifierData(ModifierData modifier, Object ptr_object, char[] name, short defaxis, short flag, char[] _pad, object ptr__pad1) {
this.modifier = modifier; this.modifier = modifier;
this.ptr_object = ptr_object; this.ptr_object = ptr_object;

View File

@@ -41,6 +41,21 @@ namespace BlendFile.DNA {
public float surface_offset; public float surface_offset;
[DNAFieldAttribute(12, "float", "corner_angle", 4)] [DNAFieldAttribute(12, "float", "corner_angle", 4)]
public float corner_angle; 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) { 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.curve_type = curve_type;
this.flag = flag; this.flag = flag;

View File

@@ -35,6 +35,18 @@ namespace BlendFile.DNA {
public rctf view_rect; public rctf view_rect;
[DNAFieldAttribute(9, "rctf", "clip_rect", 16)] [DNAFieldAttribute(9, "rctf", "clip_rect", 16)]
public rctf clip_rect; public rctf clip_rect;
public CurveProfile() {
this.path_len = default;
this.segments_len = default;
this.preset = default;
this.ptr_path = default;
this.ptr_table = default;
this.ptr_segments = default;
this.flag = default;
this.changed_timestamp = default;
this.view_rect = default;
this.clip_rect = default;
}
public CurveProfile(short path_len, short segments_len, int preset, CurveProfilePoint ptr_path, CurveProfilePoint ptr_table, CurveProfilePoint ptr_segments, int flag, int changed_timestamp, rctf view_rect, rctf clip_rect) { public CurveProfile(short path_len, short segments_len, int preset, CurveProfilePoint ptr_path, CurveProfilePoint ptr_table, CurveProfilePoint ptr_segments, int flag, int changed_timestamp, rctf view_rect, rctf clip_rect) {
this.path_len = path_len; this.path_len = path_len;
this.segments_len = segments_len; this.segments_len = segments_len;

View File

@@ -33,6 +33,17 @@ namespace BlendFile.DNA {
public char[] _pad = new System.Char[4]; public char[] _pad = new System.Char[4];
[DNAFieldAttribute(8, "CurveProfile", "*profile", 72)] [DNAFieldAttribute(8, "CurveProfile", "*profile", 72)]
public CurveProfile ptr_profile; public CurveProfile ptr_profile;
public CurveProfilePoint() {
this.x = default;
this.y = default;
this.flag = default;
this.h1 = default;
this.h2 = default;
this.h1_loc = default;
this.h2_loc = default;
this._pad = default;
this.ptr_profile = default;
}
public CurveProfilePoint(float x, float y, short flag, char h1, char h2, float[] h1_loc, float[] h2_loc, char[] _pad, CurveProfile ptr_profile) { public CurveProfilePoint(float x, float y, short flag, char h1, char h2, float[] h1_loc, float[] h2_loc, char[] _pad, CurveProfile ptr_profile) {
this.x = x; this.x = x;
this.y = y; this.y = y;

View File

@@ -41,6 +41,21 @@ namespace BlendFile.DNA {
public char ptr_surface_uv_map; public char ptr_surface_uv_map;
[DNAFieldAttribute(12, "void", "*batch_cache", 0)] [DNAFieldAttribute(12, "void", "*batch_cache", 0)]
public object ptr_batch_cache; public object ptr_batch_cache;
public Curves() {
this.id = default;
this.ptr_adt = default;
this.geometry = default;
this.flag = default;
this.attributes_active_index = default;
this.ptr_ptr_mat = default;
this.totcol = default;
this.symmetry = default;
this.selection_domain = default;
this._pad = default;
this.ptr_surface = default;
this.ptr_surface_uv_map = default;
this.ptr_batch_cache = default;
}
public Curves(ID id, AnimData ptr_adt, CurvesGeometry geometry, int flag, int attributes_active_index, Material ptr_ptr_mat, short totcol, char symmetry, char selection_domain, char[] _pad, Object ptr_surface, char ptr_surface_uv_map, object ptr_batch_cache) { public Curves(ID id, AnimData ptr_adt, CurvesGeometry geometry, int flag, int attributes_active_index, Material ptr_ptr_mat, short totcol, char symmetry, char selection_domain, char[] _pad, Object ptr_surface, char ptr_surface_uv_map, object ptr_batch_cache) {
this.id = id; this.id = id;
this.ptr_adt = ptr_adt; this.ptr_adt = ptr_adt;

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