diff --git a/BlendFile/DNA/ARegion.cs b/BlendFile/DNA/ARegion.cs index 3de879e..057cf44 100644 --- a/BlendFile/DNA/ARegion.cs +++ b/BlendFile/DNA/ARegion.cs @@ -81,6 +81,41 @@ namespace BlendFile.DNA { public object ptr_regiondata; [DNAFieldAttribute(32, "ARegion_Runtime", "runtime", 48)] 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( ARegion ptr_next, ARegion ptr_prev, diff --git a/BlendFile/DNA/ARegion_Runtime.cs b/BlendFile/DNA/ARegion_Runtime.cs index 4122319..150d817 100644 --- a/BlendFile/DNA/ARegion_Runtime.cs +++ b/BlendFile/DNA/ARegion_Runtime.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public GHash ptr_block_name_map; [DNAFieldAttribute(5, "Panel", "*popup_block_panel", 192)] 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) { this.ptr_category = ptr_category; this.visible_rect = visible_rect; diff --git a/BlendFile/DNA/ActionChannelBag.cs b/BlendFile/DNA/ActionChannelBag.cs index 9c6b19e..85435e7 100644 --- a/BlendFile/DNA/ActionChannelBag.cs +++ b/BlendFile/DNA/ActionChannelBag.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int fcurve_array_num; [DNAFieldAttribute(5, "FCurve", "**fcurve_array", 120)] 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) { this.slot_handle = slot_handle; this.group_array_num = group_array_num; diff --git a/BlendFile/DNA/ActionLayer.cs b/BlendFile/DNA/ActionLayer.cs index 78ad442..f460077 100644 --- a/BlendFile/DNA/ActionLayer.cs +++ b/BlendFile/DNA/ActionLayer.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int strip_array_num; [DNAFieldAttribute(7, "uchar", "_pad1[4]", 1)] 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) { this.name = name; this.influence = influence; diff --git a/BlendFile/DNA/ActionSlot.cs b/BlendFile/DNA/ActionSlot.cs index 9089191..1579b07 100644 --- a/BlendFile/DNA/ActionSlot.cs +++ b/BlendFile/DNA/ActionSlot.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public byte[] _pad1 = new System.Byte[3]; [DNAFieldAttribute(6, "ActionSlotRuntimeHandle", "*runtime", 0)] 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) { this.name = name; this._pad0 = _pad0; diff --git a/BlendFile/DNA/ActionStrip.cs b/BlendFile/DNA/ActionStrip.cs index eaa8c58..77f9a69 100644 --- a/BlendFile/DNA/ActionStrip.cs +++ b/BlendFile/DNA/ActionStrip.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float frame_offset; [DNAFieldAttribute(6, "uchar", "_pad1[4]", 1)] public byte[] _pad1 = new System.Byte[4]; + public ActionStrip() { + this.strip_type = default; + this._pad0 = default; + this.data_index = default; + this.frame_start = default; + this.frame_end = default; + this.frame_offset = default; + this._pad1 = default; + } public ActionStrip(sbyte strip_type, byte[] _pad0, int data_index, float frame_start, float frame_end, float frame_offset, byte[] _pad1) { this.strip_type = strip_type; this._pad0 = _pad0; diff --git a/BlendFile/DNA/ActionStripKeyframeData.cs b/BlendFile/DNA/ActionStripKeyframeData.cs index a6e36da..97be366 100644 --- a/BlendFile/DNA/ActionStripKeyframeData.cs +++ b/BlendFile/DNA/ActionStripKeyframeData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int channelbag_array_num; [DNAFieldAttribute(2, "uchar", "_pad[4]", 1)] 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) { this.ptr_ptr_channelbag_array = ptr_ptr_channelbag_array; this.channelbag_array_num = channelbag_array_num; diff --git a/BlendFile/DNA/AnimData.cs b/BlendFile/DNA/AnimData.cs index 5741d2e..bfe10ff 100644 --- a/BlendFile/DNA/AnimData.cs +++ b/BlendFile/DNA/AnimData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public float act_influence; [DNAFieldAttribute(18, "uchar", "_pad2[4]", 1)] 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( bAction ptr_action, int slot_handle, diff --git a/BlendFile/DNA/AnimOverride.cs b/BlendFile/DNA/AnimOverride.cs index d812c8b..f564712 100644 --- a/BlendFile/DNA/AnimOverride.cs +++ b/BlendFile/DNA/AnimOverride.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int array_index; [DNAFieldAttribute(4, "float", "value", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ArmatureGpencilModifierData.cs b/BlendFile/DNA/ArmatureGpencilModifierData.cs index 141fbff..7e99260 100644 --- a/BlendFile/DNA/ArmatureGpencilModifierData.cs +++ b/BlendFile/DNA/ArmatureGpencilModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public Object ptr_object; [DNAFieldAttribute(6, "char", "vgname[64]", 1)] 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) { this.modifier = modifier; this.deformflag = deformflag; diff --git a/BlendFile/DNA/ArmatureModifierData.cs b/BlendFile/DNA/ArmatureModifierData.cs index 1dbc53f..28642ae 100644 --- a/BlendFile/DNA/ArmatureModifierData.cs +++ b/BlendFile/DNA/ArmatureModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public Object ptr_object; [DNAFieldAttribute(6, "char", "defgrp_name[64]", 1)] 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) { this.modifier = modifier; this.deformflag = deformflag; diff --git a/BlendFile/DNA/ArrayGpencilModifierData.cs b/BlendFile/DNA/ArrayGpencilModifierData.cs index 531b55b..0fa5b6b 100644 --- a/BlendFile/DNA/ArrayGpencilModifierData.cs +++ b/BlendFile/DNA/ArrayGpencilModifierData.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public int mat_rpl; [DNAFieldAttribute(16, "int", "layer_pass", 4)] 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( GpencilModifierData modifier, Object ptr_object, diff --git a/BlendFile/DNA/ArrayModifierData.cs b/BlendFile/DNA/ArrayModifierData.cs index f85bf8c..a691279 100644 --- a/BlendFile/DNA/ArrayModifierData.cs +++ b/BlendFile/DNA/ArrayModifierData.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int count; [DNAFieldAttribute(13, "float", "uv_offset[2]", 4)] 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) { this.modifier = modifier; this.ptr_start_cap = ptr_start_cap; diff --git a/BlendFile/DNA/AssetCatalogPathLink.cs b/BlendFile/DNA/AssetCatalogPathLink.cs index cea0fda..ec9be7b 100644 --- a/BlendFile/DNA/AssetCatalogPathLink.cs +++ b/BlendFile/DNA/AssetCatalogPathLink.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public AssetCatalogPathLink ptr_prev; [DNAFieldAttribute(2, "char", "*path", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/AssetLibraryReference.cs b/BlendFile/DNA/AssetLibraryReference.cs index 89496a3..a0a4701 100644 --- a/BlendFile/DNA/AssetLibraryReference.cs +++ b/BlendFile/DNA/AssetLibraryReference.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(2, "int", "custom_library_index", 4)] public int custom_library_index; + public AssetLibraryReference() { + this.type = default; + this._pad1 = default; + this.custom_library_index = default; + } public AssetLibraryReference(short type, char[] _pad1, int custom_library_index) { this.type = type; this._pad1 = _pad1; diff --git a/BlendFile/DNA/AssetMetaData.cs b/BlendFile/DNA/AssetMetaData.cs index 480d1ad..e1551a4 100644 --- a/BlendFile/DNA/AssetMetaData.cs +++ b/BlendFile/DNA/AssetMetaData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public short tot_tags; [DNAFieldAttribute(11, "char", "_pad[4]", 1)] 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) { this.ptr_local_type_info = ptr_local_type_info; this.ptr_properties = ptr_properties; diff --git a/BlendFile/DNA/AssetShelf.cs b/BlendFile/DNA/AssetShelf.cs index 3977fbf..2e80d39 100644 --- a/BlendFile/DNA/AssetShelf.cs +++ b/BlendFile/DNA/AssetShelf.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short instance_flag; [DNAFieldAttribute(7, "char", "_pad[4]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/AssetShelfSettings.cs b/BlendFile/DNA/AssetShelfSettings.cs index db264ee..60319a7 100644 --- a/BlendFile/DNA/AssetShelfSettings.cs +++ b/BlendFile/DNA/AssetShelfSettings.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public short display_flag; [DNAFieldAttribute(8, "char", "_pad1[4]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/AssetTag.cs b/BlendFile/DNA/AssetTag.cs index b38da39..9a417cb 100644 --- a/BlendFile/DNA/AssetTag.cs +++ b/BlendFile/DNA/AssetTag.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public AssetTag ptr_prev; [DNAFieldAttribute(2, "char", "name[64]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/AssetWeakReference.cs b/BlendFile/DNA/AssetWeakReference.cs index b78f5af..cf20c49 100644 --- a/BlendFile/DNA/AssetWeakReference.cs +++ b/BlendFile/DNA/AssetWeakReference.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char ptr_asset_library_identifier; [DNAFieldAttribute(3, "char", "*relative_asset_identifier", 1)] 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) { this._pad = _pad; this.asset_library_type = asset_library_type; diff --git a/BlendFile/DNA/AudioData.cs b/BlendFile/DNA/AudioData.cs index fab2122..a8e12de 100644 --- a/BlendFile/DNA/AudioData.cs +++ b/BlendFile/DNA/AudioData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public float volume; [DNAFieldAttribute(8, "char", "_pad2[4]", 1)] public char[] _pad2 = new System.Char[4]; + public AudioData() { + this.mixrate = default; + this.main = default; + this.speed_of_sound = default; + this.doppler_factor = default; + this.distance_model = default; + this.flag = default; + this._pad = default; + this.volume = default; + this._pad2 = default; + } public AudioData(int mixrate, float main, float speed_of_sound, float doppler_factor, int distance_model, short flag, char[] _pad, float volume, char[] _pad2) { this.mixrate = mixrate; this.main = main; diff --git a/BlendFile/DNA/BPoint.cs b/BlendFile/DNA/BPoint.cs index c50debf..4fca342 100644 --- a/BlendFile/DNA/BPoint.cs +++ b/BlendFile/DNA/BPoint.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float radius; [DNAFieldAttribute(7, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public BPoint() { + this.vec = default; + this.alfa = default; + this.weight = default; + this.f1 = default; + this._pad1 = default; + this.hide = default; + this.radius = default; + this._pad = default; + } public BPoint(float[] vec, float alfa, float weight, byte f1, char[] _pad1, short hide, float radius, char[] _pad) { this.vec = vec; this.alfa = alfa; diff --git a/BlendFile/DNA/BakeData.cs b/BlendFile/DNA/BakeData.cs index 239da35..bc9aecd 100644 --- a/BlendFile/DNA/BakeData.cs +++ b/BlendFile/DNA/BakeData.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(16, "Object", "*cage_object", 1160)] 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( ImageFormatData im_format, char[] filepath, diff --git a/BlendFile/DNA/Base.cs b/BlendFile/DNA/Base.cs index 597e1b5..678ef17 100644 --- a/BlendFile/DNA/Base.cs +++ b/BlendFile/DNA/Base.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public short local_collections_bits; [DNAFieldAttribute(10, "char", "_pad1[2]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/BevelModifierData.cs b/BlendFile/DNA/BevelModifierData.cs index 599759f..306d924 100644 --- a/BlendFile/DNA/BevelModifierData.cs +++ b/BlendFile/DNA/BevelModifierData.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public char[] edge_weight_name = new System.Char[64]; [DNAFieldAttribute(23, "char", "vertex_weight_name[64]", 1)] 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( ModifierData modifier, float value, diff --git a/BlendFile/DNA/BezTriple.cs b/BlendFile/DNA/BezTriple.cs index 37171fb..e2fc101 100644 --- a/BlendFile/DNA/BezTriple.cs +++ b/BlendFile/DNA/BezTriple.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public char auto_handle_type; [DNAFieldAttribute(16, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public BezTriple() { + this.vec = default; + this.alfa = default; + this.weight = default; + this.radius = default; + this.ipo = default; + this.h1 = default; + this.h2 = default; + this.f1 = default; + this.f2 = default; + this.f3 = default; + this.hide = default; + this.easing = default; + this.back = default; + this.amplitude = default; + this.period = default; + this.auto_handle_type = default; + this._pad = default; + } public BezTriple( float[,] vec, float alfa, diff --git a/BlendFile/DNA/BlurShaderFxData.cs b/BlendFile/DNA/BlurShaderFxData.cs index 36921c6..cebc500 100644 --- a/BlendFile/DNA/BlurShaderFxData.cs +++ b/BlendFile/DNA/BlurShaderFxData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public BlurShaderFxData() { + this.shaderfx = default; + this.radius = default; + this.flag = default; + this.samples = default; + this.rotation = default; + this._pad = default; + this.runtime = default; + } public BlurShaderFxData(ShaderFxData shaderfx, float[] radius, int flag, int samples, float rotation, char[] _pad, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.radius = radius; diff --git a/BlendFile/DNA/BoidData.cs b/BlendFile/DNA/BoidData.cs index f6855c6..84a07fa 100644 --- a/BlendFile/DNA/BoidData.cs +++ b/BlendFile/DNA/BoidData.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short state_id; [DNAFieldAttribute(3, "short", "mode", 2)] public short mode; + public BoidData() { + this.health = default; + this.acc = default; + this.state_id = default; + this.mode = default; + } public BoidData(float health, float[] acc, short state_id, short mode) { this.health = health; this.acc = acc; diff --git a/BlendFile/DNA/BoidParticle.cs b/BlendFile/DNA/BoidParticle.cs index 76f9d94..e865ca2 100644 --- a/BlendFile/DNA/BoidParticle.cs +++ b/BlendFile/DNA/BoidParticle.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[] wander = new System.Single[3]; [DNAFieldAttribute(4, "char", "_pad0[4]", 1)] 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) { this.ptr_ground = ptr_ground; this.data = data; diff --git a/BlendFile/DNA/BoidRule.cs b/BlendFile/DNA/BoidRule.cs index 39fa1e6..6d00458 100644 --- a/BlendFile/DNA/BoidRule.cs +++ b/BlendFile/DNA/BoidRule.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "char", "name[32]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/BoidRuleAverageSpeed.cs b/BlendFile/DNA/BoidRuleAverageSpeed.cs index 494d233..5a8536d 100644 --- a/BlendFile/DNA/BoidRuleAverageSpeed.cs +++ b/BlendFile/DNA/BoidRuleAverageSpeed.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float speed; [DNAFieldAttribute(4, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public BoidRuleAverageSpeed() { + this.rule = default; + this.wander = default; + this.level = default; + this.speed = default; + this._pad0 = default; + } public BoidRuleAverageSpeed(BoidRule rule, float wander, float level, float speed, char[] _pad0) { this.rule = rule; this.wander = wander; diff --git a/BlendFile/DNA/BoidRuleAvoidCollision.cs b/BlendFile/DNA/BoidRuleAvoidCollision.cs index e9ef0af..807fab1 100644 --- a/BlendFile/DNA/BoidRuleAvoidCollision.cs +++ b/BlendFile/DNA/BoidRuleAvoidCollision.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int options; [DNAFieldAttribute(2, "float", "look_ahead", 4)] public float look_ahead; + public BoidRuleAvoidCollision() { + this.rule = default; + this.options = default; + this.look_ahead = default; + } public BoidRuleAvoidCollision(BoidRule rule, int options, float look_ahead) { this.rule = rule; this.options = options; diff --git a/BlendFile/DNA/BoidRuleFight.cs b/BlendFile/DNA/BoidRuleFight.cs index 6c31a5e..e708b17 100644 --- a/BlendFile/DNA/BoidRuleFight.cs +++ b/BlendFile/DNA/BoidRuleFight.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float distance; [DNAFieldAttribute(2, "float", "flee_distance", 4)] public float flee_distance; + public BoidRuleFight() { + this.rule = default; + this.distance = default; + this.flee_distance = default; + } public BoidRuleFight(BoidRule rule, float distance, float flee_distance) { this.rule = rule; this.distance = distance; diff --git a/BlendFile/DNA/BoidRuleFollowLeader.cs b/BlendFile/DNA/BoidRuleFollowLeader.cs index 0cb20c9..f27efc4 100644 --- a/BlendFile/DNA/BoidRuleFollowLeader.cs +++ b/BlendFile/DNA/BoidRuleFollowLeader.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int options; [DNAFieldAttribute(7, "int", "queue_size", 4)] 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) { this.rule = rule; this.ptr_ob = ptr_ob; diff --git a/BlendFile/DNA/BoidRuleGoalAvoid.cs b/BlendFile/DNA/BoidRuleGoalAvoid.cs index c913b52..1a8ca72 100644 --- a/BlendFile/DNA/BoidRuleGoalAvoid.cs +++ b/BlendFile/DNA/BoidRuleGoalAvoid.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int signal_id; [DNAFieldAttribute(5, "int", "channels", 4)] 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) { this.rule = rule; this.ptr_ob = ptr_ob; diff --git a/BlendFile/DNA/BoidSettings.cs b/BlendFile/DNA/BoidSettings.cs index 65b905a..8c69176 100644 --- a/BlendFile/DNA/BoidSettings.cs +++ b/BlendFile/DNA/BoidSettings.cs @@ -61,6 +61,31 @@ namespace BlendFile.DNA { public float land_stick_force; [DNAFieldAttribute(22, "ListBase", "states", 16)] public ListBase states; + public BoidSettings() { + this.options = default; + this.last_state_id = default; + this.landing_smoothness = default; + this.height = default; + this.banking = default; + this.pitch = default; + this.health = default; + this.aggression = default; + this.strength = default; + this.accuracy = default; + this.range = default; + this.air_min_speed = default; + this.air_max_speed = default; + this.air_max_acc = default; + this.air_max_ave = default; + this.air_personal_space = default; + this.land_jump_speed = default; + this.land_max_speed = default; + this.land_max_acc = default; + this.land_max_ave = default; + this.land_personal_space = default; + this.land_stick_force = default; + this.states = default; + } public BoidSettings( int options, int last_state_id, diff --git a/BlendFile/DNA/BoidState.cs b/BlendFile/DNA/BoidState.cs index 5e04ae2..11df0a0 100644 --- a/BlendFile/DNA/BoidState.cs +++ b/BlendFile/DNA/BoidState.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public float volume; [DNAFieldAttribute(13, "float", "falloff", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Bone.cs b/BlendFile/DNA/Bone.cs index ee461a2..9cf17a6 100644 --- a/BlendFile/DNA/Bone.cs +++ b/BlendFile/DNA/Bone.cs @@ -121,6 +121,61 @@ namespace BlendFile.DNA { public Bone ptr_bbone_next; [DNAFieldAttribute(52, "Bone_Runtime", "runtime", 16)] 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( Bone ptr_next, Bone ptr_prev, diff --git a/BlendFile/DNA/BoneCollection.cs b/BlendFile/DNA/BoneCollection.cs index 8368018..41e071c 100644 --- a/BlendFile/DNA/BoneCollection.cs +++ b/BlendFile/DNA/BoneCollection.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public int child_count; [DNAFieldAttribute(8, "IDProperty", "*prop", 136)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/BoneCollectionMember.cs b/BlendFile/DNA/BoneCollectionMember.cs index 4da36cb..8b52f5e 100644 --- a/BlendFile/DNA/BoneCollectionMember.cs +++ b/BlendFile/DNA/BoneCollectionMember.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public BoneCollectionMember ptr_prev; [DNAFieldAttribute(2, "Bone", "*bone", 472)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/BoneCollectionReference.cs b/BlendFile/DNA/BoneCollectionReference.cs index 2bc99d3..c08b12a 100644 --- a/BlendFile/DNA/BoneCollectionReference.cs +++ b/BlendFile/DNA/BoneCollectionReference.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public BoneCollectionReference ptr_prev; [DNAFieldAttribute(2, "BoneCollection", "*bcoll", 120)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/BoneColor.cs b/BlendFile/DNA/BoneColor.cs index af8bead..8b6e956 100644 --- a/BlendFile/DNA/BoneColor.cs +++ b/BlendFile/DNA/BoneColor.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public byte[] _pad0 = new System.Byte[7]; [DNAFieldAttribute(2, "ThemeWireColor", "custom", 16)] public ThemeWireColor custom; + public BoneColor() { + this.palette_index = default; + this._pad0 = default; + this.custom = default; + } public BoneColor(sbyte palette_index, byte[] _pad0, ThemeWireColor custom) { this.palette_index = palette_index; this._pad0 = _pad0; diff --git a/BlendFile/DNA/Bone_Runtime.cs b/BlendFile/DNA/Bone_Runtime.cs index 75ad236..a5634d9 100644 --- a/BlendFile/DNA/Bone_Runtime.cs +++ b/BlendFile/DNA/Bone_Runtime.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct Bone_Runtime { [DNAFieldAttribute(0, "ListBase", "collections", 16)] public ListBase collections; + public Bone_Runtime() { + this.collections = default; + } public Bone_Runtime(ListBase collections) { this.collections = collections; } diff --git a/BlendFile/DNA/BooleanModifierData.cs b/BlendFile/DNA/BooleanModifierData.cs index b8949a8..3ff8ead 100644 --- a/BlendFile/DNA/BooleanModifierData.cs +++ b/BlendFile/DNA/BooleanModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char bm_flag; [DNAFieldAttribute(9, "char", "_pad[7]", 1)] 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) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/BoundBox.cs b/BlendFile/DNA/BoundBox.cs index 72a4337..25dd3cc 100644 --- a/BlendFile/DNA/BoundBox.cs +++ b/BlendFile/DNA/BoundBox.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct BoundBox { [DNAFieldAttribute(0, "float", "vec[8][3]", 4)] public float[,] vec = new System.Single[8,3]; + public BoundBox() { + this.vec = default; + } public BoundBox(float[,] vec) { this.vec = vec; } diff --git a/BlendFile/DNA/BrightContrastModifierData.cs b/BlendFile/DNA/BrightContrastModifierData.cs index 2f4d294..e211e5b 100644 --- a/BlendFile/DNA/BrightContrastModifierData.cs +++ b/BlendFile/DNA/BrightContrastModifierData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float bright; [DNAFieldAttribute(2, "float", "contrast", 4)] public float contrast; + public BrightContrastModifierData() { + this.modifier = default; + this.bright = default; + this.contrast = default; + } public BrightContrastModifierData(SequenceModifierData modifier, float bright, float contrast) { this.modifier = modifier; this.bright = bright; diff --git a/BlendFile/DNA/Brush.cs b/BlendFile/DNA/Brush.cs index 78c1c5c..9480ade 100644 --- a/BlendFile/DNA/Brush.cs +++ b/BlendFile/DNA/Brush.cs @@ -265,6 +265,133 @@ namespace BlendFile.DNA { public float automasking_cavity_factor; [DNAFieldAttribute(124, "CurveMapping", "*automasking_cavity_curve", 424)] 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( ID id, BrushClone clone, diff --git a/BlendFile/DNA/BrushClone.cs b/BlendFile/DNA/BrushClone.cs index 4009839..59b2f14 100644 --- a/BlendFile/DNA/BrushClone.cs +++ b/BlendFile/DNA/BrushClone.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float alpha; [DNAFieldAttribute(3, "char", "_pad[4]", 1)] 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) { this.ptr_image = ptr_image; this.offset = offset; diff --git a/BlendFile/DNA/BrushCurvesSculptSettings.cs b/BlendFile/DNA/BrushCurvesSculptSettings.cs index 5eb6611..0c2ffff 100644 --- a/BlendFile/DNA/BrushCurvesSculptSettings.cs +++ b/BlendFile/DNA/BrushCurvesSculptSettings.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[7]; [DNAFieldAttribute(10, "CurveMapping", "*curve_parameter_falloff", 424)] 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) { this.add_amount = add_amount; this.points_per_curve = points_per_curve; diff --git a/BlendFile/DNA/BrushGpencilSettings.cs b/BlendFile/DNA/BrushGpencilSettings.cs index 52750e0..b13f1d7 100644 --- a/BlendFile/DNA/BrushGpencilSettings.cs +++ b/BlendFile/DNA/BrushGpencilSettings.cs @@ -125,6 +125,63 @@ namespace BlendFile.DNA { public Material ptr_material; [DNAFieldAttribute(54, "Material", "*material_alt", 392)] 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( float draw_smoothfac, float fill_factor, diff --git a/BlendFile/DNA/BuildEff.cs b/BlendFile/DNA/BuildEff.cs index 71cbb4c..24e5c28 100644 --- a/BlendFile/DNA/BuildEff.cs +++ b/BlendFile/DNA/BuildEff.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float len; [DNAFieldAttribute(7, "float", "sfra", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/BuildGpencilModifierData.cs b/BlendFile/DNA/BuildGpencilModifierData.cs index eb337e0..c806fe3 100644 --- a/BlendFile/DNA/BuildGpencilModifierData.cs +++ b/BlendFile/DNA/BuildGpencilModifierData.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public float fade_opacity_strength; [DNAFieldAttribute(23, "float", "fade_thickness_strength", 4)] 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( GpencilModifierData modifier, Material ptr_material, diff --git a/BlendFile/DNA/BuildModifierData.cs b/BlendFile/DNA/BuildModifierData.cs index e61195d..6b75f95 100644 --- a/BlendFile/DNA/BuildModifierData.cs +++ b/BlendFile/DNA/BuildModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short randomize; [DNAFieldAttribute(5, "int", "seed", 4)] public int seed; + public BuildModifierData() { + this.modifier = default; + this.start = default; + this.length = default; + this.flag = default; + this.randomize = default; + this.seed = default; + } public BuildModifierData(ModifierData modifier, float start, float length, short flag, short randomize, int seed) { this.modifier = modifier; this.start = start; diff --git a/BlendFile/DNA/CBData.cs b/BlendFile/DNA/CBData.cs index b17d898..cde95ae 100644 --- a/BlendFile/DNA/CBData.cs +++ b/BlendFile/DNA/CBData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float pos; [DNAFieldAttribute(5, "int", "cur", 4)] public int cur; + public CBData() { + this.r = default; + this.g = default; + this.b = default; + this.a = default; + this.pos = default; + this.cur = default; + } public CBData(float r, float g, float b, float a, float pos, int cur) { this.r = r; this.g = g; diff --git a/BlendFile/DNA/CacheFile.cs b/BlendFile/DNA/CacheFile.cs index b8ea8e3..5ce6ba9 100644 --- a/BlendFile/DNA/CacheFile.cs +++ b/BlendFile/DNA/CacheFile.cs @@ -67,6 +67,34 @@ namespace BlendFile.DNA { public char[] handle_filepath = new System.Char[1024]; [DNAFieldAttribute(25, "GSet", "*handle_readers", 0)] 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( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/CacheFileLayer.cs b/BlendFile/DNA/CacheFileLayer.cs index 2b37b24..3fbd185 100644 --- a/BlendFile/DNA/CacheFileLayer.cs +++ b/BlendFile/DNA/CacheFileLayer.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", "_pad", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/CacheObjectPath.cs b/BlendFile/DNA/CacheObjectPath.cs index 279e271..54b4ddf 100644 --- a/BlendFile/DNA/CacheObjectPath.cs +++ b/BlendFile/DNA/CacheObjectPath.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public CacheObjectPath ptr_prev; [DNAFieldAttribute(2, "char", "path[4096]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Camera.cs b/BlendFile/DNA/Camera.cs index 880e614..e9258ee 100644 --- a/BlendFile/DNA/Camera.cs +++ b/BlendFile/DNA/Camera.cs @@ -101,6 +101,51 @@ namespace BlendFile.DNA { public CameraStereoSettings stereo; [DNAFieldAttribute(42, "Camera_Runtime", "runtime", 216)] 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( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/CameraBGImage.cs b/BlendFile/DNA/CameraBGImage.cs index 49e663a..2164824 100644 --- a/BlendFile/DNA/CameraBGImage.cs +++ b/BlendFile/DNA/CameraBGImage.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(11, "short", "source", 2)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/CameraDOFSettings.cs b/BlendFile/DNA/CameraDOFSettings.cs index 5ceff3d..fa1560f 100644 --- a/BlendFile/DNA/CameraDOFSettings.cs +++ b/BlendFile/DNA/CameraDOFSettings.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(8, "char", "_pad[2]", 1)] 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) { this.ptr_focus_object = ptr_focus_object; this.focus_subtarget = focus_subtarget; diff --git a/BlendFile/DNA/CameraStereoSettings.cs b/BlendFile/DNA/CameraStereoSettings.cs index a6660ca..2c1046b 100644 --- a/BlendFile/DNA/CameraStereoSettings.cs +++ b/BlendFile/DNA/CameraStereoSettings.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float pole_merge_angle_from; [DNAFieldAttribute(7, "float", "pole_merge_angle_to", 4)] public float pole_merge_angle_to; + public CameraStereoSettings() { + this.interocular_distance = default; + this.convergence_distance = default; + this.convergence_mode = default; + this.pivot = default; + this.flag = default; + this._pad = default; + this.pole_merge_angle_from = default; + this.pole_merge_angle_to = default; + } public CameraStereoSettings(float interocular_distance, float convergence_distance, short convergence_mode, short pivot, short flag, char[] _pad, float pole_merge_angle_from, float pole_merge_angle_to) { this.interocular_distance = interocular_distance; this.convergence_distance = convergence_distance; diff --git a/BlendFile/DNA/Camera_Runtime.cs b/BlendFile/DNA/Camera_Runtime.cs index 74853b8..0e7110b 100644 --- a/BlendFile/DNA/Camera_Runtime.cs +++ b/BlendFile/DNA/Camera_Runtime.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[,] drw_focusmat = new System.Single[4,4]; [DNAFieldAttribute(4, "float", "drw_normalmat[4][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) { this.drw_corners = drw_corners; this.drw_tria = drw_tria; diff --git a/BlendFile/DNA/CastModifierData.cs b/BlendFile/DNA/CastModifierData.cs index 2514ac6..587159f 100644 --- a/BlendFile/DNA/CastModifierData.cs +++ b/BlendFile/DNA/CastModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public short type; [DNAFieldAttribute(8, "void", "*_pad1", 0)] 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) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/ChannelDriver.cs b/BlendFile/DNA/ChannelDriver.cs index 6fe6059..93155e6 100644 --- a/BlendFile/DNA/ChannelDriver.cs +++ b/BlendFile/DNA/ChannelDriver.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(7, "int", "flag", 4)] 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) { this.variables = variables; this.expression = expression; diff --git a/BlendFile/DNA/CharInfo.cs b/BlendFile/DNA/CharInfo.cs index 49fa909..8469252 100644 --- a/BlendFile/DNA/CharInfo.cs +++ b/BlendFile/DNA/CharInfo.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(3, "char", "_pad[1]", 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) { this.kern = kern; this.mat_nr = mat_nr; diff --git a/BlendFile/DNA/ChildParticle.cs b/BlendFile/DNA/ChildParticle.cs index cd435af..af007dc 100644 --- a/BlendFile/DNA/ChildParticle.cs +++ b/BlendFile/DNA/ChildParticle.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float foffset; [DNAFieldAttribute(6, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public ChildParticle() { + this.num = default; + this.parent = default; + this.pa = default; + this.w = default; + this.fuv = default; + this.foffset = default; + this._pad0 = default; + } public ChildParticle(int num, int parent, int[] pa, float[] w, float[] fuv, float foffset, char[] _pad0) { this.num = num; this.parent = parent; diff --git a/BlendFile/DNA/ClothCollSettings.cs b/BlendFile/DNA/ClothCollSettings.cs index 4d3631d..5a31c18 100644 --- a/BlendFile/DNA/ClothCollSettings.cs +++ b/BlendFile/DNA/ClothCollSettings.cs @@ -51,6 +51,26 @@ namespace BlendFile.DNA { public float clamp; [DNAFieldAttribute(17, "float", "self_clamp", 4)] 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( LinkNode ptr_collision_list, float epsilon, diff --git a/BlendFile/DNA/ClothModifierData.cs b/BlendFile/DNA/ClothModifierData.cs index 385ae50..c1486a7 100644 --- a/BlendFile/DNA/ClothModifierData.cs +++ b/BlendFile/DNA/ClothModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float hair_grid_cellsize; [DNAFieldAttribute(11, "ClothSolverResult", "*solver_result", 0)] 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) { this.modifier = modifier; this.ptr_clothObject = ptr_clothObject; diff --git a/BlendFile/DNA/ClothSimSettings.cs b/BlendFile/DNA/ClothSimSettings.cs index 1211a8d..7fa08a7 100644 --- a/BlendFile/DNA/ClothSimSettings.cs +++ b/BlendFile/DNA/ClothSimSettings.cs @@ -155,6 +155,78 @@ namespace BlendFile.DNA { public float max_internal_compression; [DNAFieldAttribute(69, "char", "_pad0[4]", 1)] 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( LinkNode ptr_cache, float mingoal, diff --git a/BlendFile/DNA/Collection.cs b/BlendFile/DNA/Collection.cs index 075ce14..be54f41 100644 --- a/BlendFile/DNA/Collection.cs +++ b/BlendFile/DNA/Collection.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public ViewLayer ptr_view_layer; [DNAFieldAttribute(18, "Collection_Runtime", "runtime", 64)] 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( ID id, ID ptr_owner_id, diff --git a/BlendFile/DNA/CollectionChild.cs b/BlendFile/DNA/CollectionChild.cs index 011b6bb..2d9032a 100644 --- a/BlendFile/DNA/CollectionChild.cs +++ b/BlendFile/DNA/CollectionChild.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public CollectionLightLinking light_linking; [DNAFieldAttribute(4, "int", "_pad", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/CollectionExport.cs b/BlendFile/DNA/CollectionExport.cs index 48bd004..17b44a2 100644 --- a/BlendFile/DNA/CollectionExport.cs +++ b/BlendFile/DNA/CollectionExport.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(6, "int", "_pad0", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/CollectionLightLinking.cs b/BlendFile/DNA/CollectionLightLinking.cs index 7d0f1b9..918e6fa 100644 --- a/BlendFile/DNA/CollectionLightLinking.cs +++ b/BlendFile/DNA/CollectionLightLinking.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte link_state; [DNAFieldAttribute(1, "uchar", "_pad[3]", 1)] public byte[] _pad = new System.Byte[3]; + public CollectionLightLinking() { + this.link_state = default; + this._pad = default; + } public CollectionLightLinking(byte link_state, byte[] _pad) { this.link_state = link_state; this._pad = _pad; diff --git a/BlendFile/DNA/CollectionObject.cs b/BlendFile/DNA/CollectionObject.cs index 0a5e168..41dfbe2 100644 --- a/BlendFile/DNA/CollectionObject.cs +++ b/BlendFile/DNA/CollectionObject.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public CollectionLightLinking light_linking; [DNAFieldAttribute(4, "int", "_pad", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Collection_Runtime.cs b/BlendFile/DNA/Collection_Runtime.cs index cd2d9e5..f3a652f 100644 --- a/BlendFile/DNA/Collection_Runtime.cs +++ b/BlendFile/DNA/Collection_Runtime.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public byte tag; [DNAFieldAttribute(5, "char", "_pad0[7]", 1)] 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) { this.object_cache = object_cache; this.object_cache_instanced = object_cache_instanced; diff --git a/BlendFile/DNA/CollisionModifierData.cs b/BlendFile/DNA/CollisionModifierData.cs index 581b0c9..9d7373b 100644 --- a/BlendFile/DNA/CollisionModifierData.cs +++ b/BlendFile/DNA/CollisionModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[7]; [DNAFieldAttribute(14, "BVHTree", "*bvhtree", 0)] 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) { this.modifier = modifier; this.mvert_num = mvert_num; diff --git a/BlendFile/DNA/ColorBalanceModifierData.cs b/BlendFile/DNA/ColorBalanceModifierData.cs index 002d5bf..9452c32 100644 --- a/BlendFile/DNA/ColorBalanceModifierData.cs +++ b/BlendFile/DNA/ColorBalanceModifierData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public StripColorBalance color_balance; [DNAFieldAttribute(2, "float", "color_multiply", 4)] public float color_multiply; + public ColorBalanceModifierData() { + this.modifier = default; + this.color_balance = default; + this.color_multiply = default; + } public ColorBalanceModifierData(SequenceModifierData modifier, StripColorBalance color_balance, float color_multiply) { this.modifier = modifier; this.color_balance = color_balance; diff --git a/BlendFile/DNA/ColorBand.cs b/BlendFile/DNA/ColorBand.cs index 6058cc8..5f7ebd7 100644 --- a/BlendFile/DNA/ColorBand.cs +++ b/BlendFile/DNA/ColorBand.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[1]; [DNAFieldAttribute(6, "CBData", "data[32]", 24)] public CBData[] data = new CBData[32]; + public ColorBand() { + this.tot = default; + this.cur = default; + this.ipotype = default; + this.ipotype_hue = default; + this.color_mode = default; + this._pad = default; + this.data = default; + } public ColorBand(short tot, short cur, char ipotype, char ipotype_hue, char color_mode, char[] _pad, CBData[] data) { this.tot = tot; this.cur = cur; diff --git a/BlendFile/DNA/ColorCorrectionData.cs b/BlendFile/DNA/ColorCorrectionData.cs index 9c9bdaa..5000bef 100644 --- a/BlendFile/DNA/ColorCorrectionData.cs +++ b/BlendFile/DNA/ColorCorrectionData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float lift; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public ColorCorrectionData() { + this.saturation = default; + this.contrast = default; + this.gamma = default; + this.gain = default; + this.lift = default; + this._pad = default; + } public ColorCorrectionData(float saturation, float contrast, float gamma, float gain, float lift, char[] _pad) { this.saturation = saturation; this.contrast = contrast; diff --git a/BlendFile/DNA/ColorGpencilModifierData.cs b/BlendFile/DNA/ColorGpencilModifierData.cs index 21c9224..dfa1c92 100644 --- a/BlendFile/DNA/ColorGpencilModifierData.cs +++ b/BlendFile/DNA/ColorGpencilModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", 424)] 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) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/ColorManagedColorspaceSettings.cs b/BlendFile/DNA/ColorManagedColorspaceSettings.cs index 7ace175..b1d6090 100644 --- a/BlendFile/DNA/ColorManagedColorspaceSettings.cs +++ b/BlendFile/DNA/ColorManagedColorspaceSettings.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct ColorManagedColorspaceSettings { [DNAFieldAttribute(0, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public ColorManagedColorspaceSettings() { + this.name = default; + } public ColorManagedColorspaceSettings(char[] name) { this.name = name; } diff --git a/BlendFile/DNA/ColorManagedDisplaySettings.cs b/BlendFile/DNA/ColorManagedDisplaySettings.cs index db075ac..2489801 100644 --- a/BlendFile/DNA/ColorManagedDisplaySettings.cs +++ b/BlendFile/DNA/ColorManagedDisplaySettings.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct ColorManagedDisplaySettings { [DNAFieldAttribute(0, "char", "display_device[64]", 1)] public char[] display_device = new System.Char[64]; + public ColorManagedDisplaySettings() { + this.display_device = default; + } public ColorManagedDisplaySettings(char[] display_device) { this.display_device = display_device; } diff --git a/BlendFile/DNA/ColorManagedViewSettings.cs b/BlendFile/DNA/ColorManagedViewSettings.cs index 5fd9360..8645942 100644 --- a/BlendFile/DNA/ColorManagedViewSettings.cs +++ b/BlendFile/DNA/ColorManagedViewSettings.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public CurveMapping ptr_curve_mapping; [DNAFieldAttribute(9, "void", "*_pad2", 0)] 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) { this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/ColorMapping.cs b/BlendFile/DNA/ColorMapping.cs index e939898..6afe074 100644 --- a/BlendFile/DNA/ColorMapping.cs +++ b/BlendFile/DNA/ColorMapping.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public int blend_type; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public ColorMapping() { + this.coba = default; + this.bright = default; + this.contrast = default; + this.saturation = default; + this.flag = default; + this.blend_color = default; + this.blend_factor = default; + this.blend_type = default; + this._pad = default; + } public ColorMapping(ColorBand coba, float bright, float contrast, float saturation, int flag, float[] blend_color, float blend_factor, int blend_type, char[] _pad) { this.coba = coba; this.bright = bright; diff --git a/BlendFile/DNA/ColorMixVars.cs b/BlendFile/DNA/ColorMixVars.cs index 171f589..aff59b9 100644 --- a/BlendFile/DNA/ColorMixVars.cs +++ b/BlendFile/DNA/ColorMixVars.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int blend_effect; [DNAFieldAttribute(1, "float", "factor", 4)] public float factor; + public ColorMixVars() { + this.blend_effect = default; + this.factor = default; + } public ColorMixVars(int blend_effect, float factor) { this.blend_effect = blend_effect; this.factor = factor; diff --git a/BlendFile/DNA/ColorizeShaderFxData.cs b/BlendFile/DNA/ColorizeShaderFxData.cs index 600d6ef..c843cce 100644 --- a/BlendFile/DNA/ColorizeShaderFxData.cs +++ b/BlendFile/DNA/ColorizeShaderFxData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public ColorizeShaderFxData() { + this.shaderfx = default; + this.mode = default; + this.low_color = default; + this.high_color = default; + this.factor = default; + this.flag = default; + this._pad = default; + this.runtime = default; + } public ColorizeShaderFxData(ShaderFxData shaderfx, int mode, float[] low_color, float[] high_color, float factor, int flag, char[] _pad, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.mode = mode; diff --git a/BlendFile/DNA/ConsoleLine.cs b/BlendFile/DNA/ConsoleLine.cs index 45d09ae..37685a0 100644 --- a/BlendFile/DNA/ConsoleLine.cs +++ b/BlendFile/DNA/ConsoleLine.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int cursor; [DNAFieldAttribute(6, "int", "type", 4)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs b/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs index 10bbee8..90fa90a 100644 --- a/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs +++ b/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char rest_source; [DNAFieldAttribute(8, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public CorrectiveSmoothDeltaCache() { + this.deltas_num = default; + this.lambda = default; + this.scale = default; + this.repeat = default; + this.flag = default; + this.smooth_type = default; + this.rest_source = default; + this._pad = default; + } public CorrectiveSmoothDeltaCache(int deltas_num, float lambda, float scale, short repeat, short flag, char smooth_type, char rest_source, char[] _pad) { this.deltas_num = deltas_num; this.lambda = lambda; diff --git a/BlendFile/DNA/CorrectiveSmoothModifierData.cs b/BlendFile/DNA/CorrectiveSmoothModifierData.cs index 4f80df0..0d45c02 100644 --- a/BlendFile/DNA/CorrectiveSmoothModifierData.cs +++ b/BlendFile/DNA/CorrectiveSmoothModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(11, "CorrectiveSmoothDeltaCache", "delta_cache", 32)] public CorrectiveSmoothDeltaCache delta_cache; + public CorrectiveSmoothModifierData() { + this.modifier = default; + this.bind_coords_num = default; + this.lambda = default; + this.scale = default; + this.repeat = default; + this.flag = default; + this.smooth_type = default; + this.rest_source = default; + this._pad = default; + this.defgrp_name = default; + this.delta_cache = default; + } public CorrectiveSmoothModifierData(ModifierData modifier, int bind_coords_num, float lambda, float scale, short repeat, short flag, char smooth_type, char rest_source, char[] _pad, char[] defgrp_name, CorrectiveSmoothDeltaCache delta_cache) { this.modifier = modifier; this.bind_coords_num = bind_coords_num; diff --git a/BlendFile/DNA/CryptomatteEntry.cs b/BlendFile/DNA/CryptomatteEntry.cs index ac44b6d..6789ae3 100644 --- a/BlendFile/DNA/CryptomatteEntry.cs +++ b/BlendFile/DNA/CryptomatteEntry.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/CryptomatteLayer.cs b/BlendFile/DNA/CryptomatteLayer.cs index 542d6f0..4741777 100644 --- a/BlendFile/DNA/CryptomatteLayer.cs +++ b/BlendFile/DNA/CryptomatteLayer.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public CryptomatteEntry ptr_prev; [DNAFieldAttribute(2, "char", "name[64]", 1)] 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) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Curve.cs b/BlendFile/DNA/Curve.cs index dc26b69..773bd3f 100644 --- a/BlendFile/DNA/Curve.cs +++ b/BlendFile/DNA/Curve.cs @@ -169,6 +169,85 @@ namespace BlendFile.DNA { public char[] _pad3 = new System.Char[7]; [DNAFieldAttribute(76, "void", "*batch_cache", 0)] 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( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/CurveMap.cs b/BlendFile/DNA/CurveMap.cs index b6ce164..2823555 100644 --- a/BlendFile/DNA/CurveMap.cs +++ b/BlendFile/DNA/CurveMap.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public short default_handle_type; [DNAFieldAttribute(13, "char", "_pad[6]", 1)] 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) { this.totpoint = totpoint; this.flag = flag; diff --git a/BlendFile/DNA/CurveMapPoint.cs b/BlendFile/DNA/CurveMapPoint.cs index 84ab7f5..d860431 100644 --- a/BlendFile/DNA/CurveMapPoint.cs +++ b/BlendFile/DNA/CurveMapPoint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(3, "short", "shorty", 2)] public short shorty; + public CurveMapPoint() { + this.x = default; + this.y = default; + this.flag = default; + this.shorty = default; + } public CurveMapPoint(float x, float y, short flag, short shorty) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/CurveMapping.cs b/BlendFile/DNA/CurveMapping.cs index b879d2f..5c534c5 100644 --- a/BlendFile/DNA/CurveMapping.cs +++ b/BlendFile/DNA/CurveMapping.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public short tone; [DNAFieldAttribute(12, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public CurveMapping() { + this.flag = default; + this.cur = default; + this.preset = default; + this.changed_timestamp = default; + this.curr = default; + this.clipr = default; + this.cm = default; + this.black = default; + this.white = default; + this.bwmul = default; + this.sample = default; + this.tone = default; + this._pad = default; + } public CurveMapping(int flag, int cur, int preset, int changed_timestamp, rctf curr, rctf clipr, CurveMap[] cm, float[] black, float[] white, float[] bwmul, float[] sample, short tone, char[] _pad) { this.flag = flag; this.cur = cur; diff --git a/BlendFile/DNA/CurveModifierData.cs b/BlendFile/DNA/CurveModifierData.cs index b268932..2f61e66 100644 --- a/BlendFile/DNA/CurveModifierData.cs +++ b/BlendFile/DNA/CurveModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(6, "void", "*_pad1", 0)] 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) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/CurvePaintSettings.cs b/BlendFile/DNA/CurvePaintSettings.cs index ecbce78..0ef8ec9 100644 --- a/BlendFile/DNA/CurvePaintSettings.cs +++ b/BlendFile/DNA/CurvePaintSettings.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public float surface_offset; [DNAFieldAttribute(12, "float", "corner_angle", 4)] public float corner_angle; + public CurvePaintSettings() { + this.curve_type = default; + this.flag = default; + this.depth_mode = default; + this.surface_plane = default; + this.fit_method = default; + this._pad = default; + this.error_threshold = default; + this.radius_min = default; + this.radius_max = default; + this.radius_taper_start = default; + this.radius_taper_end = default; + this.surface_offset = default; + this.corner_angle = default; + } public CurvePaintSettings(char curve_type, char flag, char depth_mode, char surface_plane, char fit_method, char _pad, short error_threshold, float radius_min, float radius_max, float radius_taper_start, float radius_taper_end, float surface_offset, float corner_angle) { this.curve_type = curve_type; this.flag = flag; diff --git a/BlendFile/DNA/CurveProfile.cs b/BlendFile/DNA/CurveProfile.cs index 1de296f..53d9099 100644 --- a/BlendFile/DNA/CurveProfile.cs +++ b/BlendFile/DNA/CurveProfile.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public rctf view_rect; [DNAFieldAttribute(9, "rctf", "clip_rect", 16)] 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) { this.path_len = path_len; this.segments_len = segments_len; diff --git a/BlendFile/DNA/CurveProfilePoint.cs b/BlendFile/DNA/CurveProfilePoint.cs index 29fc057..b39bc0e 100644 --- a/BlendFile/DNA/CurveProfilePoint.cs +++ b/BlendFile/DNA/CurveProfilePoint.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "CurveProfile", "*profile", 72)] 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) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/Curves.cs b/BlendFile/DNA/Curves.cs index 5542766..8ac0d6a 100644 --- a/BlendFile/DNA/Curves.cs +++ b/BlendFile/DNA/Curves.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public char ptr_surface_uv_map; [DNAFieldAttribute(12, "void", "*batch_cache", 0)] 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) { this.id = id; this.ptr_adt = ptr_adt; diff --git a/BlendFile/DNA/CurvesGeometry.cs b/BlendFile/DNA/CurvesGeometry.cs index 6fb14bd..0bc0198 100644 --- a/BlendFile/DNA/CurvesGeometry.cs +++ b/BlendFile/DNA/CurvesGeometry.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public int attributes_active_index; [DNAFieldAttribute(8, "CurvesGeometryRuntimeHandle", "*runtime", 0)] public CurvesGeometryRuntimeHandle ptr_runtime; + public CurvesGeometry() { + this.ptr_curve_offsets = default; + this.point_data = default; + this.curve_data = default; + this.point_size = default; + this.curve_size = default; + this.vertex_group_names = default; + this.vertex_group_active_index = default; + this.attributes_active_index = default; + this.ptr_runtime = default; + } public CurvesGeometry(int ptr_curve_offsets, CustomData point_data, CustomData curve_data, int point_size, int curve_size, ListBase vertex_group_names, int vertex_group_active_index, int attributes_active_index, CurvesGeometryRuntimeHandle ptr_runtime) { this.ptr_curve_offsets = ptr_curve_offsets; this.point_data = point_data; diff --git a/BlendFile/DNA/CurvesModifierData.cs b/BlendFile/DNA/CurvesModifierData.cs index 17ae675..d736ad5 100644 --- a/BlendFile/DNA/CurvesModifierData.cs +++ b/BlendFile/DNA/CurvesModifierData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public SequenceModifierData modifier; [DNAFieldAttribute(1, "CurveMapping", "curve_mapping", 424)] public CurveMapping curve_mapping; + public CurvesModifierData() { + this.modifier = default; + this.curve_mapping = default; + } public CurvesModifierData(SequenceModifierData modifier, CurveMapping curve_mapping) { this.modifier = modifier; this.curve_mapping = curve_mapping; diff --git a/BlendFile/DNA/CurvesSculpt.cs b/BlendFile/DNA/CurvesSculpt.cs index e5be49d..4e7398b 100644 --- a/BlendFile/DNA/CurvesSculpt.cs +++ b/BlendFile/DNA/CurvesSculpt.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct CurvesSculpt { [DNAFieldAttribute(0, "Paint", "paint", 120)] public Paint paint; + public CurvesSculpt() { + this.paint = default; + } public CurvesSculpt(Paint paint) { this.paint = paint; } diff --git a/BlendFile/DNA/CustomData.cs b/BlendFile/DNA/CustomData.cs index 6d91fe0..89c390b 100644 --- a/BlendFile/DNA/CustomData.cs +++ b/BlendFile/DNA/CustomData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public BLI_mempool ptr_pool; [DNAFieldAttribute(6, "CustomDataExternal", "*external", 1024)] public CustomDataExternal ptr_external; + public CustomData() { + this.ptr_layers = default; + this.typemap = default; + this.totlayer = default; + this.maxlayer = default; + this.totsize = default; + this.ptr_pool = default; + this.ptr_external = default; + } public CustomData(CustomDataLayer ptr_layers, int[] typemap, int totlayer, int maxlayer, int totsize, BLI_mempool ptr_pool, CustomDataExternal ptr_external) { this.ptr_layers = ptr_layers; this.typemap = typemap; diff --git a/BlendFile/DNA/CustomDataExternal.cs b/BlendFile/DNA/CustomDataExternal.cs index 7d470c7..ab5654c 100644 --- a/BlendFile/DNA/CustomDataExternal.cs +++ b/BlendFile/DNA/CustomDataExternal.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct CustomDataExternal { [DNAFieldAttribute(0, "char", "filename[1024]", 1)] public char[] filename = new System.Char[1024]; + public CustomDataExternal() { + this.filename = default; + } public CustomDataExternal(char[] filename) { this.filename = filename; } diff --git a/BlendFile/DNA/CustomDataLayer.cs b/BlendFile/DNA/CustomDataLayer.cs index 1ba0707..5de6362 100644 --- a/BlendFile/DNA/CustomDataLayer.cs +++ b/BlendFile/DNA/CustomDataLayer.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public object ptr_data; [DNAFieldAttribute(11, "ImplicitSharingInfoHandle", "*sharing_info", 0)] public ImplicitSharingInfoHandle ptr_sharing_info; + public CustomDataLayer() { + this.type = default; + this.offset = default; + this.flag = default; + this.active = default; + this.active_rnd = default; + this.active_clone = default; + this.active_mask = default; + this.uid = default; + this.name = default; + this._pad1 = default; + this.ptr_data = default; + this.ptr_sharing_info = default; + } public CustomDataLayer(int type, int offset, int flag, int active, int active_rnd, int active_clone, int active_mask, int uid, char[] name, char[] _pad1, object ptr_data, ImplicitSharingInfoHandle ptr_sharing_info) { this.type = type; this.offset = offset; diff --git a/BlendFile/DNA/CustomData_MeshMasks.cs b/BlendFile/DNA/CustomData_MeshMasks.cs index ebbdd56..d1db8f7 100644 --- a/BlendFile/DNA/CustomData_MeshMasks.cs +++ b/BlendFile/DNA/CustomData_MeshMasks.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public ulong pmask; [DNAFieldAttribute(4, "uint64_t", "lmask", 8)] public ulong lmask; + public CustomData_MeshMasks() { + this.vmask = default; + this.emask = default; + this.fmask = default; + this.pmask = default; + this.lmask = default; + } public CustomData_MeshMasks(ulong vmask, ulong emask, ulong fmask, ulong pmask, ulong lmask) { this.vmask = vmask; this.emask = emask; diff --git a/BlendFile/DNA/DashGpencilModifierData.cs b/BlendFile/DNA/DashGpencilModifierData.cs index 58a897b..58264f1 100644 --- a/BlendFile/DNA/DashGpencilModifierData.cs +++ b/BlendFile/DNA/DashGpencilModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public int segments_len; [DNAFieldAttribute(9, "int", "segment_active_index", 4)] public int segment_active_index; + public DashGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.pass_index = default; + this.flag = default; + this.layer_pass = default; + this.dash_offset = default; + this.ptr_segments = default; + this.segments_len = default; + this.segment_active_index = default; + } public DashGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, int pass_index, int flag, int layer_pass, int dash_offset, DashGpencilModifierSegment ptr_segments, int segments_len, int segment_active_index) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/DashGpencilModifierSegment.cs b/BlendFile/DNA/DashGpencilModifierSegment.cs index 73a9fb1..6181cd3 100644 --- a/BlendFile/DNA/DashGpencilModifierSegment.cs +++ b/BlendFile/DNA/DashGpencilModifierSegment.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int mat_nr; [DNAFieldAttribute(7, "int", "flag", 4)] public int flag; + public DashGpencilModifierSegment() { + this.name = default; + this.ptr_dmd = default; + this.dash = default; + this.gap = default; + this.radius = default; + this.opacity = default; + this.mat_nr = default; + this.flag = default; + } public DashGpencilModifierSegment(char[] name, DashGpencilModifierData ptr_dmd, int dash, int gap, float radius, float opacity, int mat_nr, int flag) { this.name = name; this.ptr_dmd = ptr_dmd; diff --git a/BlendFile/DNA/DataTransferModifierData.cs b/BlendFile/DNA/DataTransferModifierData.cs index 0920dd5..3b4891f 100644 --- a/BlendFile/DNA/DataTransferModifierData.cs +++ b/BlendFile/DNA/DataTransferModifierData.cs @@ -51,6 +51,26 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(17, "void", "*_pad2", 0)] public object ptr__pad2; + public DataTransferModifierData() { + this.modifier = default; + this.ptr_ob_source = default; + this.data_types = default; + this.vmap_mode = default; + this.emap_mode = default; + this.lmap_mode = default; + this.pmap_mode = default; + this.map_max_distance = default; + this.map_ray_radius = default; + this.islands_precision = default; + this._pad1 = default; + this.layers_select_src = default; + this.layers_select_dst = default; + this.mix_mode = default; + this.mix_factor = default; + this.defgrp_name = default; + this.flags = default; + this.ptr__pad2 = default; + } public DataTransferModifierData( ModifierData modifier, Object ptr_ob_source, diff --git a/BlendFile/DNA/DecimateModifierData.cs b/BlendFile/DNA/DecimateModifierData.cs index 94ba9d9..233c41d 100644 --- a/BlendFile/DNA/DecimateModifierData.cs +++ b/BlendFile/DNA/DecimateModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public short mode; [DNAFieldAttribute(10, "int", "face_count", 4)] public int face_count; + public DecimateModifierData() { + this.modifier = default; + this.percent = default; + this.iter = default; + this.delimit = default; + this.symmetry_axis = default; + this.angle = default; + this.defgrp_name = default; + this.defgrp_factor = default; + this.flag = default; + this.mode = default; + this.face_count = default; + } public DecimateModifierData(ModifierData modifier, float percent, short iter, char delimit, char symmetry_axis, float angle, char[] defgrp_name, float defgrp_factor, short flag, short mode, int face_count) { this.modifier = modifier; this.percent = percent; diff --git a/BlendFile/DNA/DisplaceModifierData.cs b/BlendFile/DNA/DisplaceModifierData.cs index ff72173..6214e1f 100644 --- a/BlendFile/DNA/DisplaceModifierData.cs +++ b/BlendFile/DNA/DisplaceModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(14, "char", "_pad2[6]", 1)] public char[] _pad2 = new System.Char[6]; + public DisplaceModifierData() { + this.modifier = default; + this.ptr_texture = default; + this.ptr_map_object = default; + this.map_bone = default; + this.uvlayer_name = default; + this._pad1 = default; + this.uvlayer_tmp = default; + this.texmapping = default; + this.strength = default; + this.direction = default; + this.defgrp_name = default; + this.midlevel = default; + this.space = default; + this.flag = default; + this._pad2 = default; + } public DisplaceModifierData(ModifierData modifier, Tex ptr_texture, Object ptr_map_object, char[] map_bone, char[] uvlayer_name, char[] _pad1, int uvlayer_tmp, int texmapping, float strength, int direction, char[] defgrp_name, float midlevel, int space, short flag, char[] _pad2) { this.modifier = modifier; this.ptr_texture = ptr_texture; diff --git a/BlendFile/DNA/DisplaySafeAreas.cs b/BlendFile/DNA/DisplaySafeAreas.cs index b984ddb..8c45a66 100644 --- a/BlendFile/DNA/DisplaySafeAreas.cs +++ b/BlendFile/DNA/DisplaySafeAreas.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float[] title_center = new System.Single[2]; [DNAFieldAttribute(3, "float", "action_center[2]", 4)] public float[] action_center = new System.Single[2]; + public DisplaySafeAreas() { + this.title = default; + this.action = default; + this.title_center = default; + this.action_center = default; + } public DisplaySafeAreas(float[] title, float[] action, float[] title_center, float[] action_center) { this.title = title; this.action = action; diff --git a/BlendFile/DNA/DrawDataList.cs b/BlendFile/DNA/DrawDataList.cs index 1079d14..8fc6385 100644 --- a/BlendFile/DNA/DrawDataList.cs +++ b/BlendFile/DNA/DrawDataList.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public DrawData ptr_first; [DNAFieldAttribute(1, "DrawData", "*last", 0)] public DrawData ptr_last; + public DrawDataList() { + this.ptr_first = default; + this.ptr_last = default; + } public DrawDataList(DrawData ptr_first, DrawData ptr_last) { this.ptr_first = ptr_first; this.ptr_last = ptr_last; diff --git a/BlendFile/DNA/DriverTarget.cs b/BlendFile/DNA/DriverTarget.cs index d61cd8b..251edb5 100644 --- a/BlendFile/DNA/DriverTarget.cs +++ b/BlendFile/DNA/DriverTarget.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int context_property; [DNAFieldAttribute(10, "float", "fallback_value", 4)] public float fallback_value; + public DriverTarget() { + this.ptr_id = default; + this.ptr_rna_path = default; + this.pchan_name = default; + this.transChan = default; + this.rotation_mode = default; + this._pad = default; + this.flag = default; + this.options = default; + this.idtype = default; + this.context_property = default; + this.fallback_value = default; + } public DriverTarget(ID ptr_id, char ptr_rna_path, char[] pchan_name, short transChan, char rotation_mode, char[] _pad, short flag, short options, int idtype, int context_property, float fallback_value) { this.ptr_id = ptr_id; this.ptr_rna_path = ptr_rna_path; diff --git a/BlendFile/DNA/DriverVar.cs b/BlendFile/DNA/DriverVar.cs index c900eb5..0798927 100644 --- a/BlendFile/DNA/DriverVar.cs +++ b/BlendFile/DNA/DriverVar.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(7, "float", "curval", 4)] public float curval; + public DriverVar() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.targets = default; + this.num_targets = default; + this.type = default; + this.flag = default; + this.curval = default; + } public DriverVar(DriverVar ptr_next, DriverVar ptr_prev, char[] name, DriverTarget[] targets, char num_targets, char type, short flag, float curval) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/DualQuat.cs b/BlendFile/DNA/DualQuat.cs index 4b62de8..e3c4b83 100644 --- a/BlendFile/DNA/DualQuat.cs +++ b/BlendFile/DNA/DualQuat.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float[,] scale = new System.Single[4,4]; [DNAFieldAttribute(3, "float", "scale_weight", 4)] public float scale_weight; + public DualQuat() { + this.quat = default; + this.trans = default; + this.scale = default; + this.scale_weight = default; + } public DualQuat(float[] quat, float[] trans, float[,] scale, float scale_weight) { this.quat = quat; this.trans = trans; diff --git a/BlendFile/DNA/DynamicPaintBrushSettings.cs b/BlendFile/DNA/DynamicPaintBrushSettings.cs index d359d09..d0c5c99 100644 --- a/BlendFile/DNA/DynamicPaintBrushSettings.cs +++ b/BlendFile/DNA/DynamicPaintBrushSettings.cs @@ -59,6 +59,30 @@ namespace BlendFile.DNA { public float max_velocity; [DNAFieldAttribute(21, "float", "smudge_strength", 4)] public float smudge_strength; + public DynamicPaintBrushSettings() { + this.ptr_pmd = default; + this.ptr_psys = default; + this.flags = default; + this.collision = default; + this.r = default; + this.g = default; + this.b = default; + this.alpha = default; + this.wetness = default; + this.particle_radius = default; + this.particle_smooth = default; + this.paint_distance = default; + this.ptr_paint_ramp = default; + this.ptr_vel_ramp = default; + this.proximity_falloff = default; + this.wave_type = default; + this.ray_dir = default; + this._pad = default; + this.wave_factor = default; + this.wave_clamp = default; + this.max_velocity = default; + this.smudge_strength = default; + } public DynamicPaintBrushSettings( DynamicPaintModifierData ptr_pmd, ParticleSystem ptr_psys, diff --git a/BlendFile/DNA/DynamicPaintCanvasSettings.cs b/BlendFile/DNA/DynamicPaintCanvasSettings.cs index 33b2c18..a079d61 100644 --- a/BlendFile/DNA/DynamicPaintCanvasSettings.cs +++ b/BlendFile/DNA/DynamicPaintCanvasSettings.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(5, "char", "error[64]", 1)] public char[] error = new System.Char[64]; + public DynamicPaintCanvasSettings() { + this.ptr_pmd = default; + this.surfaces = default; + this.active_sur = default; + this.flags = default; + this._pad = default; + this.error = default; + } public DynamicPaintCanvasSettings(DynamicPaintModifierData ptr_pmd, ListBase surfaces, short active_sur, short flags, char[] _pad, char[] error) { this.ptr_pmd = ptr_pmd; this.surfaces = surfaces; diff --git a/BlendFile/DNA/DynamicPaintModifierData.cs b/BlendFile/DNA/DynamicPaintModifierData.cs index 93bf1da..80336de 100644 --- a/BlendFile/DNA/DynamicPaintModifierData.cs +++ b/BlendFile/DNA/DynamicPaintModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public DynamicPaintModifierData() { + this.modifier = default; + this.ptr_canvas = default; + this.ptr_brush = default; + this.type = default; + this._pad = default; + } public DynamicPaintModifierData(ModifierData modifier, DynamicPaintCanvasSettings ptr_canvas, DynamicPaintBrushSettings ptr_brush, int type, char[] _pad) { this.modifier = modifier; this.ptr_canvas = ptr_canvas; diff --git a/BlendFile/DNA/DynamicPaintSurface.cs b/BlendFile/DNA/DynamicPaintSurface.cs index 297bf98..bd86638 100644 --- a/BlendFile/DNA/DynamicPaintSurface.cs +++ b/BlendFile/DNA/DynamicPaintSurface.cs @@ -109,6 +109,55 @@ namespace BlendFile.DNA { public char[] output_name = new System.Char[68]; [DNAFieldAttribute(46, "char", "output_name2[68]", 1)] public char[] output_name2 = new System.Char[68]; + public DynamicPaintSurface() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_canvas = default; + this.ptr_data = default; + this.ptr_brush_group = default; + this.ptr_effector_weights = default; + this.ptr_pointcache = default; + this.ptcaches = default; + this.current_frame = default; + this.name = default; + this.format = default; + this.type = default; + this.disp_type = default; + this.image_fileformat = default; + this.effect_ui = default; + this.init_color_type = default; + this.flags = default; + this.effect = default; + this.image_resolution = default; + this.substeps = default; + this.start_frame = default; + this.end_frame = default; + this.init_color = default; + this.ptr_init_texture = default; + this.init_layername = default; + this.dry_speed = default; + this.diss_speed = default; + this.color_dry_threshold = default; + this.depth_clamp = default; + this.disp_factor = default; + this.spread_speed = default; + this.color_spread_speed = default; + this.shrink_speed = default; + this.drip_vel = default; + this.drip_acc = default; + this.influence_scale = default; + this.radius_scale = default; + this.wave_damping = default; + this.wave_speed = default; + this.wave_timescale = default; + this.wave_spring = default; + this.wave_smoothness = default; + this._pad2 = default; + this.uvlayer_name = default; + this.image_output_path = default; + this.output_name = default; + this.output_name2 = default; + } public DynamicPaintSurface( DynamicPaintSurface ptr_next, DynamicPaintSurface ptr_prev, diff --git a/BlendFile/DNA/EQCurveMappingData.cs b/BlendFile/DNA/EQCurveMappingData.cs index 4894d89..81e0014 100644 --- a/BlendFile/DNA/EQCurveMappingData.cs +++ b/BlendFile/DNA/EQCurveMappingData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public EQCurveMappingData ptr_prev; [DNAFieldAttribute(2, "CurveMapping", "curve_mapping", 424)] public CurveMapping curve_mapping; + public EQCurveMappingData() { + this.ptr_next = default; + this.ptr_prev = default; + this.curve_mapping = default; + } public EQCurveMappingData(EQCurveMappingData ptr_next, EQCurveMappingData ptr_prev, CurveMapping curve_mapping) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/EdgeSplitModifierData.cs b/BlendFile/DNA/EdgeSplitModifierData.cs index ab7e8da..212a542 100644 --- a/BlendFile/DNA/EdgeSplitModifierData.cs +++ b/BlendFile/DNA/EdgeSplitModifierData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float split_angle; [DNAFieldAttribute(2, "int", "flags", 4)] public int flags; + public EdgeSplitModifierData() { + this.modifier = default; + this.split_angle = default; + this.flags = default; + } public EdgeSplitModifierData(ModifierData modifier, float split_angle, int flags) { this.modifier = modifier; this.split_angle = split_angle; diff --git a/BlendFile/DNA/Editing.cs b/BlendFile/DNA/Editing.cs index 7e9eb23..abb5ce4 100644 --- a/BlendFile/DNA/Editing.cs +++ b/BlendFile/DNA/Editing.cs @@ -61,6 +61,31 @@ namespace BlendFile.DNA { public long disk_cache_timestamp; [DNAFieldAttribute(22, "EditingRuntime", "runtime", 32)] public EditingRuntime runtime; + public Editing() { + this.ptr_seqbasep = default; + this.ptr_displayed_channels = default; + this.ptr__pad0 = default; + this.seqbase = default; + this.metastack = default; + this.channels = default; + this.ptr_act_seq = default; + this.act_imagedir = default; + this.act_sounddir = default; + this.proxy_dir = default; + this.proxy_storage = default; + this.over_ofs = default; + this.over_cfra = default; + this.over_flag = default; + this.over_border = default; + this.show_missing_media_flag = default; + this._pad1 = default; + this.ptr_cache = default; + this.recycle_max_cost = default; + this.cache_flag = default; + this.ptr_prefetch_job = default; + this.disk_cache_timestamp = default; + this.runtime = default; + } public Editing( ListBase ptr_seqbasep, ListBase ptr_displayed_channels, diff --git a/BlendFile/DNA/EditingRuntime.cs b/BlendFile/DNA/EditingRuntime.cs index 68693d4..f7fb25b 100644 --- a/BlendFile/DNA/EditingRuntime.cs +++ b/BlendFile/DNA/EditingRuntime.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public ThumbnailCache ptr_thumbnail_cache; [DNAFieldAttribute(3, "void", "*_pad", 0)] public object ptr__pad; + public EditingRuntime() { + this.ptr_sequence_lookup = default; + this.ptr_media_presence = default; + this.ptr_thumbnail_cache = default; + this.ptr__pad = default; + } public EditingRuntime(SequenceLookup ptr_sequence_lookup, MediaPresence ptr_media_presence, ThumbnailCache ptr_thumbnail_cache, object ptr__pad) { this.ptr_sequence_lookup = ptr_sequence_lookup; this.ptr_media_presence = ptr_media_presence; diff --git a/BlendFile/DNA/Effect.cs b/BlendFile/DNA/Effect.cs index 3428969..978328c 100644 --- a/BlendFile/DNA/Effect.cs +++ b/BlendFile/DNA/Effect.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short buttype; [DNAFieldAttribute(5, "char", "_pad0[2]", 1)] public char[] _pad0 = new System.Char[2]; + public Effect() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.flag = default; + this.buttype = default; + this._pad0 = default; + } public Effect(Effect ptr_next, Effect ptr_prev, short type, short flag, short buttype, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/EffectorWeights.cs b/BlendFile/DNA/EffectorWeights.cs index 2901765..ad9334f 100644 --- a/BlendFile/DNA/EffectorWeights.cs +++ b/BlendFile/DNA/EffectorWeights.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(4, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public EffectorWeights() { + this.ptr_group = default; + this.weight = default; + this.global_gravity = default; + this.flag = default; + this._pad = default; + } public EffectorWeights(Collection ptr_group, float[] weight, float global_gravity, short flag, char[] _pad) { this.ptr_group = ptr_group; this.weight = weight; diff --git a/BlendFile/DNA/EnvelopeGpencilModifierData.cs b/BlendFile/DNA/EnvelopeGpencilModifierData.cs index 5f1adca..064838e 100644 --- a/BlendFile/DNA/EnvelopeGpencilModifierData.cs +++ b/BlendFile/DNA/EnvelopeGpencilModifierData.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int spread; [DNAFieldAttribute(13, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public EnvelopeGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.mode = default; + this.mat_nr = default; + this.thickness = default; + this.strength = default; + this.skip = default; + this.layer_pass = default; + this.spread = default; + this._pad = default; + } public EnvelopeGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] vgname, int pass_index, int flag, int mode, int mat_nr, float thickness, float strength, int skip, int layer_pass, int spread, char[] _pad) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/ExplodeModifierData.cs b/BlendFile/DNA/ExplodeModifierData.cs index 5ef7c4b..adb6f29 100644 --- a/BlendFile/DNA/ExplodeModifierData.cs +++ b/BlendFile/DNA/ExplodeModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(7, "void", "*_pad2", 0)] public object ptr__pad2; + public ExplodeModifierData() { + this.modifier = default; + this.ptr_facepa = default; + this.flag = default; + this.vgroup = default; + this.protect = default; + this.uvname = default; + this._pad1 = default; + this.ptr__pad2 = default; + } public ExplodeModifierData(ModifierData modifier, int ptr_facepa, short flag, short vgroup, float protect, char[] uvname, char[] _pad1, object ptr__pad2) { this.modifier = modifier; this.ptr_facepa = ptr_facepa; diff --git a/BlendFile/DNA/FCM_EnvelopeData.cs b/BlendFile/DNA/FCM_EnvelopeData.cs index 2f73a8b..7036ba7 100644 --- a/BlendFile/DNA/FCM_EnvelopeData.cs +++ b/BlendFile/DNA/FCM_EnvelopeData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short f1; [DNAFieldAttribute(4, "short", "f2", 2)] public short f2; + public FCM_EnvelopeData() { + this.min = default; + this.max = default; + this.time = default; + this.f1 = default; + this.f2 = default; + } public FCM_EnvelopeData(float min, float max, float time, short f1, short f2) { this.min = min; this.max = max; diff --git a/BlendFile/DNA/FCurve.cs b/BlendFile/DNA/FCurve.cs index fdf1ffc..2bc0cb6 100644 --- a/BlendFile/DNA/FCurve.cs +++ b/BlendFile/DNA/FCurve.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public float prev_norm_factor; [DNAFieldAttribute(19, "float", "prev_offset", 4)] public float prev_offset; + public FCurve() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_grp = default; + this.ptr_driver = default; + this.modifiers = default; + this.ptr_bezt = default; + this.ptr_fpt = default; + this.totvert = default; + this.active_keyframe_index = default; + this.curval = default; + this.flag = default; + this.extend = default; + this.auto_smoothing = default; + this._pad = default; + this.array_index = default; + this.ptr_rna_path = default; + this.color_mode = default; + this.color = default; + this.prev_norm_factor = default; + this.prev_offset = default; + } public FCurve( FCurve ptr_next, FCurve ptr_prev, diff --git a/BlendFile/DNA/FFMpegCodecData.cs b/BlendFile/DNA/FFMpegCodecData.cs index 3776917..00675e8 100644 --- a/BlendFile/DNA/FFMpegCodecData.cs +++ b/BlendFile/DNA/FFMpegCodecData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public int mux_rate; [DNAFieldAttribute(18, "void", "*_pad1", 0)] public object ptr__pad1; + public FFMpegCodecData() { + this.type = default; + this.codec = default; + this.audio_codec = default; + this.video_bitrate = default; + this.audio_bitrate = default; + this.audio_mixrate = default; + this.audio_channels = default; + this.audio_volume = default; + this.gop_size = default; + this.max_b_frames = default; + this.flags = default; + this.constant_rate_factor = default; + this.ffmpeg_preset = default; + this.rc_min_rate = default; + this.rc_max_rate = default; + this.rc_buffer_size = default; + this.mux_packet_size = default; + this.mux_rate = default; + this.ptr__pad1 = default; + } public FFMpegCodecData( int type, int codec, diff --git a/BlendFile/DNA/FMod_Cycles.cs b/BlendFile/DNA/FMod_Cycles.cs index 491cc24..9d0ec32 100644 --- a/BlendFile/DNA/FMod_Cycles.cs +++ b/BlendFile/DNA/FMod_Cycles.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short before_cycles; [DNAFieldAttribute(3, "short", "after_cycles", 2)] public short after_cycles; + public FMod_Cycles() { + this.before_mode = default; + this.after_mode = default; + this.before_cycles = default; + this.after_cycles = default; + } public FMod_Cycles(short before_mode, short after_mode, short before_cycles, short after_cycles) { this.before_mode = before_mode; this.after_mode = after_mode; diff --git a/BlendFile/DNA/FMod_Envelope.cs b/BlendFile/DNA/FMod_Envelope.cs index 98e3650..1be14d1 100644 --- a/BlendFile/DNA/FMod_Envelope.cs +++ b/BlendFile/DNA/FMod_Envelope.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float min; [DNAFieldAttribute(4, "float", "max", 4)] public float max; + public FMod_Envelope() { + this.ptr_data = default; + this.totvert = default; + this.midval = default; + this.min = default; + this.max = default; + } public FMod_Envelope(FCM_EnvelopeData ptr_data, int totvert, float midval, float min, float max) { this.ptr_data = ptr_data; this.totvert = totvert; diff --git a/BlendFile/DNA/FMod_FunctionGenerator.cs b/BlendFile/DNA/FMod_FunctionGenerator.cs index 34a6385..e54fece 100644 --- a/BlendFile/DNA/FMod_FunctionGenerator.cs +++ b/BlendFile/DNA/FMod_FunctionGenerator.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(5, "int", "flag", 4)] public int flag; + public FMod_FunctionGenerator() { + this.amplitude = default; + this.phase_multiplier = default; + this.phase_offset = default; + this.value_offset = default; + this.type = default; + this.flag = default; + } public FMod_FunctionGenerator(float amplitude, float phase_multiplier, float phase_offset, float value_offset, int type, int flag) { this.amplitude = amplitude; this.phase_multiplier = phase_multiplier; diff --git a/BlendFile/DNA/FMod_Generator.cs b/BlendFile/DNA/FMod_Generator.cs index 15f3572..4f52a9b 100644 --- a/BlendFile/DNA/FMod_Generator.cs +++ b/BlendFile/DNA/FMod_Generator.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int mode; [DNAFieldAttribute(4, "int", "flag", 4)] public int flag; + public FMod_Generator() { + this.ptr_coefficients = default; + this.arraysize = default; + this.poly_order = default; + this.mode = default; + this.flag = default; + } public FMod_Generator(float ptr_coefficients, int arraysize, int poly_order, int mode, int flag) { this.ptr_coefficients = ptr_coefficients; this.arraysize = arraysize; diff --git a/BlendFile/DNA/FMod_Limits.cs b/BlendFile/DNA/FMod_Limits.cs index 7cb27aa..036dcb4 100644 --- a/BlendFile/DNA/FMod_Limits.cs +++ b/BlendFile/DNA/FMod_Limits.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public FMod_Limits() { + this.rect = default; + this.flag = default; + this._pad = default; + } public FMod_Limits(rctf rect, int flag, char[] _pad) { this.rect = rect; this.flag = flag; diff --git a/BlendFile/DNA/FMod_Noise.cs b/BlendFile/DNA/FMod_Noise.cs index bd340f5..772e63a 100644 --- a/BlendFile/DNA/FMod_Noise.cs +++ b/BlendFile/DNA/FMod_Noise.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short depth; [DNAFieldAttribute(5, "short", "modification", 2)] public short modification; + public FMod_Noise() { + this.size = default; + this.strength = default; + this.phase = default; + this.offset = default; + this.depth = default; + this.modification = default; + } public FMod_Noise(float size, float strength, float phase, float offset, short depth, short modification) { this.size = size; this.strength = strength; diff --git a/BlendFile/DNA/FMod_Stepped.cs b/BlendFile/DNA/FMod_Stepped.cs index 7248dd6..0b8c11d 100644 --- a/BlendFile/DNA/FMod_Stepped.cs +++ b/BlendFile/DNA/FMod_Stepped.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float end_frame; [DNAFieldAttribute(4, "int", "flag", 4)] public int flag; + public FMod_Stepped() { + this.step_size = default; + this.offset = default; + this.start_frame = default; + this.end_frame = default; + this.flag = default; + } public FMod_Stepped(float step_size, float offset, float start_frame, float end_frame, int flag) { this.step_size = step_size; this.offset = offset; diff --git a/BlendFile/DNA/FModifier.cs b/BlendFile/DNA/FModifier.cs index 88602ec..ca79a01 100644 --- a/BlendFile/DNA/FModifier.cs +++ b/BlendFile/DNA/FModifier.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public float blendin; [DNAFieldAttribute(13, "float", "blendout", 4)] public float blendout; + public FModifier() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_curve = default; + this.ptr_data = default; + this.name = default; + this.type = default; + this.flag = default; + this.ui_expand_flag = default; + this._pad = default; + this.influence = default; + this.sfra = default; + this.efra = default; + this.blendin = default; + this.blendout = default; + } public FModifier(FModifier ptr_next, FModifier ptr_prev, FCurve ptr_curve, object ptr_data, char[] name, short type, short flag, short ui_expand_flag, char[] _pad, float influence, float sfra, float efra, float blendin, float blendout) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/FPoint.cs b/BlendFile/DNA/FPoint.cs index d1e774b..ebee3e7 100644 --- a/BlendFile/DNA/FPoint.cs +++ b/BlendFile/DNA/FPoint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public FPoint() { + this.vec = default; + this.flag = default; + this._pad = default; + } public FPoint(float[] vec, int flag, char[] _pad) { this.vec = vec; this.flag = flag; diff --git a/BlendFile/DNA/FileAssetSelectParams.cs b/BlendFile/DNA/FileAssetSelectParams.cs index cc675a1..d21d0e9 100644 --- a/BlendFile/DNA/FileAssetSelectParams.cs +++ b/BlendFile/DNA/FileAssetSelectParams.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short import_type; [DNAFieldAttribute(6, "char", "_pad2[6]", 1)] public char[] _pad2 = new System.Char[6]; + public FileAssetSelectParams() { + this.base_params = default; + this.asset_library_ref = default; + this.asset_catalog_visibility = default; + this._pad = default; + this.catalog_id = default; + this.import_type = default; + this._pad2 = default; + } public FileAssetSelectParams(FileSelectParams base_params, AssetLibraryReference asset_library_ref, short asset_catalog_visibility, char[] _pad, bUUID catalog_id, short import_type, char[] _pad2) { this.base_params = base_params; this.asset_library_ref = asset_library_ref; diff --git a/BlendFile/DNA/FileFolderHistory.cs b/BlendFile/DNA/FileFolderHistory.cs index b05bc54..927fcd8 100644 --- a/BlendFile/DNA/FileFolderHistory.cs +++ b/BlendFile/DNA/FileFolderHistory.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public ListBase folders_prev; [DNAFieldAttribute(5, "ListBase", "folders_next", 16)] public ListBase folders_next; + public FileFolderHistory() { + this.ptr_next = default; + this.ptr_prev = default; + this.browse_mode = default; + this._pad = default; + this.folders_prev = default; + this.folders_next = default; + } public FileFolderHistory(FileFolderLists ptr_next, FileFolderLists ptr_prev, char browse_mode, char[] _pad, ListBase folders_prev, ListBase folders_next) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/FileGlobal.cs b/BlendFile/DNA/FileGlobal.cs index b16d314..eb017d8 100644 --- a/BlendFile/DNA/FileGlobal.cs +++ b/BlendFile/DNA/FileGlobal.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public char[] build_hash = new System.Char[16]; [DNAFieldAttribute(13, "char", "filename[1024]", 1)] public char[] filename = new System.Char[1024]; + public FileGlobal() { + this.subvstr = default; + this.subversion = default; + this.minversion = default; + this.minsubversion = default; + this._pad = default; + this.ptr_curscreen = default; + this.ptr_curscene = default; + this.ptr_cur_view_layer = default; + this.ptr__pad1 = default; + this.fileflags = default; + this.globalf = default; + this.build_commit_timestamp = default; + this.build_hash = default; + this.filename = default; + } public FileGlobal(char[] subvstr, short subversion, short minversion, short minsubversion, char[] _pad, bScreen ptr_curscreen, Scene ptr_curscene, ViewLayer ptr_cur_view_layer, object ptr__pad1, int fileflags, int globalf, ulong build_commit_timestamp, char[] build_hash, char[] filename) { this.subvstr = subvstr; this.subversion = subversion; diff --git a/BlendFile/DNA/FileHandler.cs b/BlendFile/DNA/FileHandler.cs index e2f8d31..4a21c03 100644 --- a/BlendFile/DNA/FileHandler.cs +++ b/BlendFile/DNA/FileHandler.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class FileHandler { [DNAFieldAttribute(0, "FileHandlerTypeHandle", "*type", 0)] public FileHandlerTypeHandle ptr_type; + public FileHandler() { + this.ptr_type = default; + } public FileHandler(FileHandlerTypeHandle ptr_type) { this.ptr_type = ptr_type; } diff --git a/BlendFile/DNA/FileSelectParams.cs b/BlendFile/DNA/FileSelectParams.cs index a70bd24..a751bb5 100644 --- a/BlendFile/DNA/FileSelectParams.cs +++ b/BlendFile/DNA/FileSelectParams.cs @@ -67,6 +67,34 @@ namespace BlendFile.DNA { public short recursion_level; [DNAFieldAttribute(25, "char", "_pad4[2]", 1)] public char[] _pad4 = new System.Char[2]; + public FileSelectParams() { + this.title = default; + this.dir = default; + this.file = default; + this.renamefile = default; + this.rename_flag = default; + this._pad = default; + this.ptr_rename_id = default; + this.ptr__pad3 = default; + this.filter_glob = default; + this.filter_search = default; + this.filter_id = default; + this.active_file = default; + this.highlight_file = default; + this.sel_first = default; + this.sel_last = default; + this.thumbnail_size = default; + this._pad1 = default; + this.type = default; + this.flag = default; + this.sort = default; + this.display = default; + this.details_flags = default; + this._pad2 = default; + this.filter = default; + this.recursion_level = default; + this._pad4 = default; + } public FileSelectParams( char[] title, char[] dir, diff --git a/BlendFile/DNA/FlipShaderFxData.cs b/BlendFile/DNA/FlipShaderFxData.cs index 395facf..a6fc9ab 100644 --- a/BlendFile/DNA/FlipShaderFxData.cs +++ b/BlendFile/DNA/FlipShaderFxData.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int flipmode; [DNAFieldAttribute(3, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public FlipShaderFxData() { + this.shaderfx = default; + this.flag = default; + this.flipmode = default; + this.runtime = default; + } public FlipShaderFxData(ShaderFxData shaderfx, int flag, int flipmode, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.flag = flag; diff --git a/BlendFile/DNA/FluidDomainSettings.cs b/BlendFile/DNA/FluidDomainSettings.cs index dd771c4..df1a73a 100644 --- a/BlendFile/DNA/FluidDomainSettings.cs +++ b/BlendFile/DNA/FluidDomainSettings.cs @@ -385,6 +385,193 @@ namespace BlendFile.DNA { public char cache_file_format; [DNAFieldAttribute(184, "char", "_pad13[7]", 1)] public char[] _pad13 = new System.Char[7]; + public FluidDomainSettings() { + this.ptr_fmd = default; + this.ptr_fluid = default; + this.ptr_fluid_old = default; + this.ptr_fluid_mutex = default; + this.ptr_fluid_group = default; + this.ptr_force_group = default; + this.ptr_effector_group = default; + this.ptr_tex_density = default; + this.ptr_tex_color = default; + this.ptr_tex_wt = default; + this.ptr_tex_shadow = default; + this.ptr_tex_flame = default; + this.ptr_tex_flame_coba = default; + this.ptr_tex_coba = default; + this.ptr_tex_field = default; + this.ptr_tex_velocity_x = default; + this.ptr_tex_velocity_y = default; + this.ptr_tex_velocity_z = default; + this.ptr_tex_flags = default; + this.ptr_tex_range_field = default; + this.ptr_guiding_parent = default; + this.ptr_effector_weights = default; + this.p0 = default; + this.p1 = default; + this.dp0 = default; + this.cell_size = default; + this.global_size = default; + this.prev_loc = default; + this.shift = default; + this.shift_f = default; + this.obj_shift_f = default; + this.imat = default; + this.obmat = default; + this.fluidmat = default; + this.fluidmat_wt = default; + this.base_res = default; + this.res_min = default; + this.res_max = default; + this.res = default; + this.total_cells = default; + this.dx = default; + this.scale = default; + this.boundary_width = default; + this.gravity_final = default; + this.adapt_margin = default; + this.adapt_res = default; + this.adapt_threshold = default; + this.maxres = default; + this.solver_res = default; + this.border_collisions = default; + this.flags = default; + this.gravity = default; + this.active_fields = default; + this.type = default; + this._pad2 = default; + this.alpha = default; + this.beta = default; + this.diss_speed = default; + this.vorticity = default; + this.active_color = default; + this.highres_sampling = default; + this.burning_rate = default; + this.flame_smoke = default; + this.flame_vorticity = default; + this.flame_ignition = default; + this.flame_max_temp = default; + this.flame_smoke_color = default; + this.noise_strength = default; + this.noise_pos_scale = default; + this.noise_time_anim = default; + this.res_noise = default; + this.noise_scale = default; + this._pad3 = default; + this.particle_randomness = default; + this.particle_number = default; + this.particle_minimum = default; + this.particle_maximum = default; + this.particle_radius = default; + this.particle_band_width = default; + this.fractions_threshold = default; + this.fractions_distance = default; + this.flip_ratio = default; + this.sys_particle_maximum = default; + this.simulation_method = default; + this._pad4 = default; + this.viscosity_value = default; + this._pad5 = default; + this.surface_tension = default; + this.viscosity_base = default; + this.viscosity_exponent = default; + this.mesh_concave_upper = default; + this.mesh_concave_lower = default; + this.mesh_particle_radius = default; + this.mesh_smoothen_pos = default; + this.mesh_smoothen_neg = default; + this.mesh_scale = default; + this.mesh_generator = default; + this._pad6 = default; + this.particle_type = default; + this.particle_scale = default; + this.sndparticle_tau_min_wc = default; + this.sndparticle_tau_max_wc = default; + this.sndparticle_tau_min_ta = default; + this.sndparticle_tau_max_ta = default; + this.sndparticle_tau_min_k = default; + this.sndparticle_tau_max_k = default; + this.sndparticle_k_wc = default; + this.sndparticle_k_ta = default; + this.sndparticle_k_b = default; + this.sndparticle_k_d = default; + this.sndparticle_l_min = default; + this.sndparticle_l_max = default; + this.sndparticle_potential_radius = default; + this.sndparticle_update_radius = default; + this.sndparticle_boundary = default; + this.sndparticle_combined_export = default; + this._pad7 = default; + this.guiding_alpha = default; + this.guiding_beta = default; + this.guiding_vel_factor = default; + this.guide_res = default; + this.guiding_source = default; + this._pad8 = default; + this.cache_frame_start = default; + this.cache_frame_end = default; + this.cache_frame_pause_data = default; + this.cache_frame_pause_noise = default; + this.cache_frame_pause_mesh = default; + this.cache_frame_pause_particles = default; + this.cache_frame_pause_guiding = default; + this.cache_frame_offset = default; + this.cache_flag = default; + this.cache_mesh_format = default; + this.cache_data_format = default; + this.cache_particle_format = default; + this.cache_noise_format = default; + this.cache_directory = default; + this.error = default; + this.cache_type = default; + this.cache_id = default; + this._pad9 = default; + this.dt = default; + this.time_total = default; + this.time_per_frame = default; + this.frame_length = default; + this.time_scale = default; + this.cfl_condition = default; + this.timesteps_minimum = default; + this.timesteps_maximum = default; + this.slice_per_voxel = default; + this.slice_depth = default; + this.display_thickness = default; + this.grid_scale = default; + this.ptr_coba = default; + this.vector_scale = default; + this.gridlines_lower_bound = default; + this.gridlines_upper_bound = default; + this.gridlines_range_color = default; + this.axis_slice_method = default; + this.slice_axis = default; + this.show_gridlines = default; + this.draw_velocity = default; + this.vector_draw_type = default; + this.vector_field = default; + this.vector_scale_with_magnitude = default; + this.vector_draw_mac_components = default; + this.use_coba = default; + this.coba_field = default; + this.interp_method = default; + this.gridlines_color_field = default; + this.gridlines_cell_filter = default; + this._pad10 = default; + this.velocity_scale = default; + this.openvdb_compression = default; + this.clipping = default; + this.openvdb_data_depth = default; + this._pad11 = default; + this.viewsettings = default; + this._pad12 = default; + this.ptr_point_ca = default; + this.ptcaches = default; + this.cache_comp = default; + this.cache_high_comp = default; + this.cache_file_format = default; + this._pad13 = default; + } public FluidDomainSettings( FluidModifierData ptr_fmd, MANTA ptr_fluid, diff --git a/BlendFile/DNA/FluidEffectorSettings.cs b/BlendFile/DNA/FluidEffectorSettings.cs index 2d84f86..22fb781 100644 --- a/BlendFile/DNA/FluidEffectorSettings.cs +++ b/BlendFile/DNA/FluidEffectorSettings.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public short guiding_mode; [DNAFieldAttribute(11, "char", "_pad2[2]", 1)] public char[] _pad2 = new System.Char[2]; + public FluidEffectorSettings() { + this.ptr_fmd = default; + this.ptr_mesh = default; + this.ptr_verts_old = default; + this.numverts = default; + this.surface_distance = default; + this.flags = default; + this.subframes = default; + this.type = default; + this._pad1 = default; + this.vel_multi = default; + this.guiding_mode = default; + this._pad2 = default; + } public FluidEffectorSettings(FluidModifierData ptr_fmd, Mesh ptr_mesh, float ptr_verts_old, int numverts, float surface_distance, int flags, int subframes, short type, char[] _pad1, float vel_multi, short guiding_mode, char[] _pad2) { this.ptr_fmd = ptr_fmd; this.ptr_mesh = ptr_mesh; diff --git a/BlendFile/DNA/FluidFlowSettings.cs b/BlendFile/DNA/FluidFlowSettings.cs index 15036ab..acc8f43 100644 --- a/BlendFile/DNA/FluidFlowSettings.cs +++ b/BlendFile/DNA/FluidFlowSettings.cs @@ -77,6 +77,39 @@ namespace BlendFile.DNA { public short[] _pad4 = new System.Int16[3]; [DNAFieldAttribute(30, "int", "flags", 4)] public int flags; + public FluidFlowSettings() { + this.ptr_fmd = default; + this.ptr_mesh = default; + this.ptr_psys = default; + this.ptr_noise_texture = default; + this.ptr_verts_old = default; + this.numverts = default; + this.vel_multi = default; + this.vel_normal = default; + this.vel_random = default; + this.vel_coord = default; + this._pad1 = default; + this.density = default; + this.color = default; + this.fuel_amount = default; + this.temperature = default; + this.volume_density = default; + this.surface_distance = default; + this.particle_size = default; + this.subframes = default; + this.texture_size = default; + this.texture_offset = default; + this._pad2 = default; + this.uvlayer_name = default; + this._pad3 = default; + this.vgroup_density = default; + this.type = default; + this.behavior = default; + this.source = default; + this.texture_type = default; + this._pad4 = default; + this.flags = default; + } public FluidFlowSettings( FluidModifierData ptr_fmd, Mesh ptr_mesh, diff --git a/BlendFile/DNA/FluidModifierData.cs b/BlendFile/DNA/FluidModifierData.cs index 3db0877..fd74329 100644 --- a/BlendFile/DNA/FluidModifierData.cs +++ b/BlendFile/DNA/FluidModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(6, "void", "*_pad1", 0)] public object ptr__pad1; + public FluidModifierData() { + this.modifier = default; + this.ptr_domain = default; + this.ptr_flow = default; + this.ptr_effector = default; + this.time = default; + this.type = default; + this.ptr__pad1 = default; + } public FluidModifierData(ModifierData modifier, FluidDomainSettings ptr_domain, FluidFlowSettings ptr_flow, FluidEffectorSettings ptr_effector, float time, int type, object ptr__pad1) { this.modifier = modifier; this.ptr_domain = ptr_domain; diff --git a/BlendFile/DNA/FluidVertexVelocity.cs b/BlendFile/DNA/FluidVertexVelocity.cs index a50e259..0fcb2aa 100644 --- a/BlendFile/DNA/FluidVertexVelocity.cs +++ b/BlendFile/DNA/FluidVertexVelocity.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct FluidVertexVelocity { [DNAFieldAttribute(0, "float", "vel[3]", 4)] public float[] vel = new System.Single[3]; + public FluidVertexVelocity() { + this.vel = default; + } public FluidVertexVelocity(float[] vel) { this.vel = vel; } diff --git a/BlendFile/DNA/FluidsimModifierData.cs b/BlendFile/DNA/FluidsimModifierData.cs index b222a4e..bef896b 100644 --- a/BlendFile/DNA/FluidsimModifierData.cs +++ b/BlendFile/DNA/FluidsimModifierData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public FluidsimSettings ptr_fss; [DNAFieldAttribute(2, "void", "*_pad1", 0)] public object ptr__pad1; + public FluidsimModifierData() { + this.modifier = default; + this.ptr_fss = default; + this.ptr__pad1 = default; + } public FluidsimModifierData(ModifierData modifier, FluidsimSettings ptr_fss, object ptr__pad1) { this.modifier = modifier; this.ptr_fss = ptr_fss; diff --git a/BlendFile/DNA/FluidsimSettings.cs b/BlendFile/DNA/FluidsimSettings.cs index 37d3c59..eae088f 100644 --- a/BlendFile/DNA/FluidsimSettings.cs +++ b/BlendFile/DNA/FluidsimSettings.cs @@ -119,6 +119,60 @@ namespace BlendFile.DNA { public int lastgoodframe; [DNAFieldAttribute(51, "float", "animRate", 4)] public float animRate; + public FluidsimSettings() { + this.ptr_fmd = default; + this.threads = default; + this._pad1 = default; + this.type = default; + this.show_advancedoptions = default; + this.resolutionxyz = default; + this.previewresxyz = default; + this.realsize = default; + this.guiDisplayMode = default; + this.renderDisplayMode = default; + this.viscosityValue = default; + this.viscosityMode = default; + this.viscosityExponent = default; + this.grav = default; + this.animStart = default; + this.animEnd = default; + this.bakeStart = default; + this.bakeEnd = default; + this.frameOffset = default; + this._pad2 = default; + this.gstar = default; + this.maxRefine = default; + this.iniVelx = default; + this.iniVely = default; + this.iniVelz = default; + this.surfdataPath = default; + this.bbStart = default; + this.bbSize = default; + this.ptr_ipo = default; + this.typeFlags = default; + this.domainNovecgen = default; + this.volumeInitType = default; + this.partSlipValue = default; + this.generateTracers = default; + this.generateParticles = default; + this.surfaceSmoothing = default; + this.surfaceSubdivs = default; + this.flag = default; + this.particleInfSize = default; + this.particleInfAlpha = default; + this.farFieldSize = default; + this.ptr_meshVelocities = default; + this.totvert = default; + this.cpsTimeStart = default; + this.cpsTimeEnd = default; + this.cpsQuality = default; + this.attractforceStrength = default; + this.attractforceRadius = default; + this.velocityforceStrength = default; + this.velocityforceRadius = default; + this.lastgoodframe = default; + this.animRate = default; + } public FluidsimSettings( FluidsimModifierData ptr_fmd, int threads, diff --git a/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs b/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs index 1ff87bf..9317117 100644 --- a/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs +++ b/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int zone_output_node_id; [DNAFieldAttribute(2, "int", "index", 4)] public int index; + public ForeachGeometryElementZoneViewerPathElem() { + this.@base = default; + this.zone_output_node_id = default; + this.index = default; + } public ForeachGeometryElementZoneViewerPathElem(ViewerPathElem @base, int zone_output_node_id, int index) { this.@base = @base; this.zone_output_node_id = zone_output_node_id; diff --git a/BlendFile/DNA/FreestyleConfig.cs b/BlendFile/DNA/FreestyleConfig.cs index 446e974..8cca1a9 100644 --- a/BlendFile/DNA/FreestyleConfig.cs +++ b/BlendFile/DNA/FreestyleConfig.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float crease_angle; [DNAFieldAttribute(7, "ListBase", "linesets", 16)] public ListBase linesets; + public FreestyleConfig() { + this.modules = default; + this.mode = default; + this.raycasting_algorithm = default; + this.flags = default; + this.sphere_radius = default; + this.dkr_epsilon = default; + this.crease_angle = default; + this.linesets = default; + } public FreestyleConfig(ListBase modules, int mode, int raycasting_algorithm, int flags, float sphere_radius, float dkr_epsilon, float crease_angle, ListBase linesets) { this.modules = modules; this.mode = mode; diff --git a/BlendFile/DNA/FreestyleEdge.cs b/BlendFile/DNA/FreestyleEdge.cs index fbdcc3c..cac9893 100644 --- a/BlendFile/DNA/FreestyleEdge.cs +++ b/BlendFile/DNA/FreestyleEdge.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct FreestyleEdge { [DNAFieldAttribute(0, "char", "flag", 1)] public char flag; + public FreestyleEdge() { + this.flag = default; + } public FreestyleEdge(char flag) { this.flag = flag; } diff --git a/BlendFile/DNA/FreestyleFace.cs b/BlendFile/DNA/FreestyleFace.cs index 7681fcd..d678642 100644 --- a/BlendFile/DNA/FreestyleFace.cs +++ b/BlendFile/DNA/FreestyleFace.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct FreestyleFace { [DNAFieldAttribute(0, "char", "flag", 1)] public char flag; + public FreestyleFace() { + this.flag = default; + } public FreestyleFace(char flag) { this.flag = flag; } diff --git a/BlendFile/DNA/FreestyleLineSet.cs b/BlendFile/DNA/FreestyleLineSet.cs index 19ba11f..3c64cc9 100644 --- a/BlendFile/DNA/FreestyleLineSet.cs +++ b/BlendFile/DNA/FreestyleLineSet.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public Collection ptr_group; [DNAFieldAttribute(13, "FreestyleLineStyle", "*linestyle", 552)] public FreestyleLineStyle ptr_linestyle; + public FreestyleLineSet() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flags = default; + this.selection = default; + this.qi = default; + this._pad1 = default; + this.qi_start = default; + this.qi_end = default; + this.edge_types = default; + this.exclude_edge_types = default; + this._pad2 = default; + this.ptr_group = default; + this.ptr_linestyle = default; + } public FreestyleLineSet(FreestyleLineSet ptr_next, FreestyleLineSet ptr_prev, char[] name, int flags, int selection, short qi, char[] _pad1, int qi_start, int qi_end, int edge_types, int exclude_edge_types, char[] _pad2, Collection ptr_group, FreestyleLineStyle ptr_linestyle) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/FreestyleLineStyle.cs b/BlendFile/DNA/FreestyleLineStyle.cs index b800a99..7328de2 100644 --- a/BlendFile/DNA/FreestyleLineStyle.cs +++ b/BlendFile/DNA/FreestyleLineStyle.cs @@ -105,6 +105,53 @@ namespace BlendFile.DNA { public ListBase thickness_modifiers; [DNAFieldAttribute(44, "ListBase", "geometry_modifiers", 16)] public ListBase geometry_modifiers; + public FreestyleLineStyle() { + this.id = default; + this.ptr_adt = default; + this.r = default; + this.g = default; + this.b = default; + this.alpha = default; + this.thickness = default; + this.thickness_position = default; + this.thickness_ratio = default; + this.flag = default; + this.caps = default; + this.chaining = default; + this.rounds = default; + this.split_length = default; + this.min_angle = default; + this.max_angle = default; + this.min_length = default; + this.max_length = default; + this.chain_count = default; + this.split_dash1 = default; + this.split_gap1 = default; + this.split_dash2 = default; + this.split_gap2 = default; + this.split_dash3 = default; + this.split_gap3 = default; + this.sort_key = default; + this.integration_type = default; + this.texstep = default; + this.texact = default; + this.pr_texture = default; + this.use_nodes = default; + this._pad = default; + this.dash1 = default; + this.gap1 = default; + this.dash2 = default; + this.gap2 = default; + this.dash3 = default; + this.gap3 = default; + this.panel = default; + this.ptr_m = default; + this.ptr_nodetree = default; + this.color_modifiers = default; + this.alpha_modifiers = default; + this.thickness_modifiers = default; + this.geometry_modifiers = default; + } public FreestyleLineStyle( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/FreestyleModuleConfig.cs b/BlendFile/DNA/FreestyleModuleConfig.cs index 451c68a..bc1e732 100644 --- a/BlendFile/DNA/FreestyleModuleConfig.cs +++ b/BlendFile/DNA/FreestyleModuleConfig.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short is_displayed; [DNAFieldAttribute(4, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public FreestyleModuleConfig() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_script = default; + this.is_displayed = default; + this._pad = default; + } public FreestyleModuleConfig(FreestyleModuleConfig ptr_next, FreestyleModuleConfig ptr_prev, Text ptr_script, short is_displayed, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/GPUDOFSettings.cs b/BlendFile/DNA/GPUDOFSettings.cs index b66a1f9..8c10653 100644 --- a/BlendFile/DNA/GPUDOFSettings.cs +++ b/BlendFile/DNA/GPUDOFSettings.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int num_blades; [DNAFieldAttribute(7, "int", "high_quality", 4)] public int high_quality; + public GPUDOFSettings() { + this.focus_distance = default; + this.fstop = default; + this.focal_length = default; + this.sensor = default; + this.rotation = default; + this.ratio = default; + this.num_blades = default; + this.high_quality = default; + } public GPUDOFSettings(float focus_distance, float fstop, float focal_length, float sensor, float rotation, float ratio, int num_blades, int high_quality) { this.focus_distance = focus_distance; this.fstop = fstop; diff --git a/BlendFile/DNA/GP_Interpolate_Settings.cs b/BlendFile/DNA/GP_Interpolate_Settings.cs index 37f9d26..2fc6749 100644 --- a/BlendFile/DNA/GP_Interpolate_Settings.cs +++ b/BlendFile/DNA/GP_Interpolate_Settings.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class GP_Interpolate_Settings { [DNAFieldAttribute(0, "CurveMapping", "*custom_ipo", 424)] public CurveMapping ptr_custom_ipo; + public GP_Interpolate_Settings() { + this.ptr_custom_ipo = default; + } public GP_Interpolate_Settings(CurveMapping ptr_custom_ipo) { this.ptr_custom_ipo = ptr_custom_ipo; } diff --git a/BlendFile/DNA/GP_Sculpt_Guide.cs b/BlendFile/DNA/GP_Sculpt_Guide.cs index e4d4419..3481cf4 100644 --- a/BlendFile/DNA/GP_Sculpt_Guide.cs +++ b/BlendFile/DNA/GP_Sculpt_Guide.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public float[] location = new System.Single[3]; [DNAFieldAttribute(9, "Object", "*reference_object", 1160)] public Object ptr_reference_object; + public GP_Sculpt_Guide() { + this.use_guide = default; + this.use_snapping = default; + this.reference_point = default; + this.type = default; + this._pad2 = default; + this.angle = default; + this.angle_snap = default; + this.spacing = default; + this.location = default; + this.ptr_reference_object = default; + } public GP_Sculpt_Guide(char use_guide, char use_snapping, char reference_point, char type, char[] _pad2, float angle, float angle_snap, float spacing, float[] location, Object ptr_reference_object) { this.use_guide = use_guide; this.use_snapping = use_snapping; diff --git a/BlendFile/DNA/GP_Sculpt_Settings.cs b/BlendFile/DNA/GP_Sculpt_Settings.cs index 93305d7..16a7d17 100644 --- a/BlendFile/DNA/GP_Sculpt_Settings.cs +++ b/BlendFile/DNA/GP_Sculpt_Settings.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public CurveMapping ptr_cur_primitive; [DNAFieldAttribute(7, "GP_Sculpt_Guide", "guide", 40)] public GP_Sculpt_Guide guide; + public GP_Sculpt_Settings() { + this.ptr_paintcursor = default; + this.flag = default; + this.lock_axis = default; + this.isect_threshold = default; + this._pad = default; + this.ptr_cur_falloff = default; + this.ptr_cur_primitive = default; + this.guide = default; + } public GP_Sculpt_Settings(object ptr_paintcursor, int flag, int lock_axis, float isect_threshold, char[] _pad, CurveMapping ptr_cur_falloff, CurveMapping ptr_cur_primitive, GP_Sculpt_Guide guide) { this.ptr_paintcursor = ptr_paintcursor; this.flag = flag; diff --git a/BlendFile/DNA/GaussianBlurVars.cs b/BlendFile/DNA/GaussianBlurVars.cs index 4a7f2ab..bc1c2e3 100644 --- a/BlendFile/DNA/GaussianBlurVars.cs +++ b/BlendFile/DNA/GaussianBlurVars.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float size_x; [DNAFieldAttribute(1, "float", "size_y", 4)] public float size_y; + public GaussianBlurVars() { + this.size_x = default; + this.size_y = default; + } public GaussianBlurVars(float size_x, float size_y) { this.size_x = size_x; this.size_y = size_y; diff --git a/BlendFile/DNA/GeometryNodeAssetTraits.cs b/BlendFile/DNA/GeometryNodeAssetTraits.cs index 846297c..d38120d 100644 --- a/BlendFile/DNA/GeometryNodeAssetTraits.cs +++ b/BlendFile/DNA/GeometryNodeAssetTraits.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct GeometryNodeAssetTraits { [DNAFieldAttribute(0, "int", "flag", 4)] public int flag; + public GeometryNodeAssetTraits() { + this.flag = default; + } public GeometryNodeAssetTraits(int flag) { this.flag = flag; } diff --git a/BlendFile/DNA/GlowShaderFxData.cs b/BlendFile/DNA/GlowShaderFxData.cs index 298a1c0..309fe93 100644 --- a/BlendFile/DNA/GlowShaderFxData.cs +++ b/BlendFile/DNA/GlowShaderFxData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(11, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public GlowShaderFxData() { + this.shaderfx = default; + this.glow_color = default; + this.select_color = default; + this.threshold = default; + this.flag = default; + this.mode = default; + this.blur = default; + this.samples = default; + this.rotation = default; + this.blend_mode = default; + this._pad = default; + this.runtime = default; + } public GlowShaderFxData(ShaderFxData shaderfx, float[] glow_color, float[] select_color, float threshold, int flag, int mode, float[] blur, int samples, float rotation, int blend_mode, char[] _pad, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.glow_color = glow_color; diff --git a/BlendFile/DNA/GlowVars.cs b/BlendFile/DNA/GlowVars.cs index 6c65b62..f37d6dd 100644 --- a/BlendFile/DNA/GlowVars.cs +++ b/BlendFile/DNA/GlowVars.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int dQuality; [DNAFieldAttribute(5, "int", "bNoComp", 4)] public int bNoComp; + public GlowVars() { + this.fMini = default; + this.fClamp = default; + this.fBoost = default; + this.dDist = default; + this.dQuality = default; + this.bNoComp = default; + } public GlowVars(float fMini, float fClamp, float fBoost, float dDist, int dQuality, int bNoComp) { this.fMini = fMini; this.fClamp = fClamp; diff --git a/BlendFile/DNA/GpPaint.cs b/BlendFile/DNA/GpPaint.cs index e644244..30a9acd 100644 --- a/BlendFile/DNA/GpPaint.cs +++ b/BlendFile/DNA/GpPaint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "int", "mode", 4)] public int mode; + public GpPaint() { + this.paint = default; + this.flag = default; + this.mode = default; + } public GpPaint(Paint paint, int flag, int mode) { this.paint = paint; this.flag = flag; diff --git a/BlendFile/DNA/GpSculptPaint.cs b/BlendFile/DNA/GpSculptPaint.cs index d30d984..bc5f111 100644 --- a/BlendFile/DNA/GpSculptPaint.cs +++ b/BlendFile/DNA/GpSculptPaint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GpSculptPaint() { + this.paint = default; + this.flag = default; + this._pad = default; + } public GpSculptPaint(Paint paint, int flag, char[] _pad) { this.paint = paint; this.flag = flag; diff --git a/BlendFile/DNA/GpVertexPaint.cs b/BlendFile/DNA/GpVertexPaint.cs index 3fdc1b4..b6dd40c 100644 --- a/BlendFile/DNA/GpVertexPaint.cs +++ b/BlendFile/DNA/GpVertexPaint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GpVertexPaint() { + this.paint = default; + this.flag = default; + this._pad = default; + } public GpVertexPaint(Paint paint, int flag, char[] _pad) { this.paint = paint; this.flag = flag; diff --git a/BlendFile/DNA/GpWeightPaint.cs b/BlendFile/DNA/GpWeightPaint.cs index a309ea3..b5450ed 100644 --- a/BlendFile/DNA/GpWeightPaint.cs +++ b/BlendFile/DNA/GpWeightPaint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GpWeightPaint() { + this.paint = default; + this.flag = default; + this._pad = default; + } public GpWeightPaint(Paint paint, int flag, char[] _pad) { this.paint = paint; this.flag = flag; diff --git a/BlendFile/DNA/GpencilModifierData.cs b/BlendFile/DNA/GpencilModifierData.cs index 84ae2f3..afc8571 100644 --- a/BlendFile/DNA/GpencilModifierData.cs +++ b/BlendFile/DNA/GpencilModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "char", "*error", 1)] public char ptr_error; + public GpencilModifierData() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.mode = default; + this._pad0 = default; + this.flag = default; + this.ui_expand_flag = default; + this.name = default; + this.ptr_error = default; + } public GpencilModifierData(GpencilModifierData ptr_next, GpencilModifierData ptr_prev, int type, int mode, char[] _pad0, short flag, short ui_expand_flag, char[] name, char ptr_error) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/GreasePencil.cs b/BlendFile/DNA/GreasePencil.cs index bc4e798..4040f61 100644 --- a/BlendFile/DNA/GreasePencil.cs +++ b/BlendFile/DNA/GreasePencil.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public GreasePencilOnionSkinningSettings onion_skinning_settings; [DNAFieldAttribute(18, "GreasePencilRuntimeHandle", "*runtime", 0)] public GreasePencilRuntimeHandle ptr_runtime; + public GreasePencil() { + this.id = default; + this.ptr_adt = default; + this.ptr_ptr_drawing_array = default; + this.drawing_array_size = default; + this._pad = default; + this.ptr_root_group_ptr = default; + this.layers_data = default; + this.attributes_active_index = default; + this._pad2 = default; + this.ptr_active_node = default; + this.ptr_ptr_material_array = default; + this.material_array_size = default; + this._pad3 = default; + this.flag = default; + this.vertex_group_names = default; + this.vertex_group_active_index = default; + this._pad4 = default; + this.onion_skinning_settings = default; + this.ptr_runtime = default; + } public GreasePencil( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/GreasePencilArmatureModifierData.cs b/BlendFile/DNA/GreasePencilArmatureModifierData.cs index 11f8208..c527e01 100644 --- a/BlendFile/DNA/GreasePencilArmatureModifierData.cs +++ b/BlendFile/DNA/GreasePencilArmatureModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short deformflag; [DNAFieldAttribute(4, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public GreasePencilArmatureModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_object = default; + this.deformflag = default; + this._pad = default; + } public GreasePencilArmatureModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, short deformflag, char[] _pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilArrayModifierData.cs b/BlendFile/DNA/GreasePencilArrayModifierData.cs index 0ee1bb5..3206d0a 100644 --- a/BlendFile/DNA/GreasePencilArrayModifierData.cs +++ b/BlendFile/DNA/GreasePencilArrayModifierData.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public int seed; [DNAFieldAttribute(12, "int", "mat_rpl", 4)] public int mat_rpl; + public GreasePencilArrayModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_object = 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.mat_rpl = default; + } public GreasePencilArrayModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, int count, int flag, float[] offset, float[] shift, float[] rnd_offset, float[] rnd_rot, float[] rnd_scale, char[] _pad, int seed, int mat_rpl) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilBuildModifierData.cs b/BlendFile/DNA/GreasePencilBuildModifierData.cs index f2f598e..329d46a 100644 --- a/BlendFile/DNA/GreasePencilBuildModifierData.cs +++ b/BlendFile/DNA/GreasePencilBuildModifierData.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public float fade_opacity_strength; [DNAFieldAttribute(19, "float", "fade_thickness_strength", 4)] public float fade_thickness_strength; + public GreasePencilBuildModifierData() { + this.modifier = default; + this.influence = 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 GreasePencilBuildModifierData( ModifierData modifier, GreasePencilModifierInfluenceData influence, diff --git a/BlendFile/DNA/GreasePencilColorModifierData.cs b/BlendFile/DNA/GreasePencilColorModifierData.cs index 614dfde..e0e9dab 100644 --- a/BlendFile/DNA/GreasePencilColorModifierData.cs +++ b/BlendFile/DNA/GreasePencilColorModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float[] hsv = new System.Single[3]; [DNAFieldAttribute(5, "void", "*_pad2", 0)] public object ptr__pad2; + public GreasePencilColorModifierData() { + this.modifier = default; + this.influence = default; + this.color_mode = default; + this._pad1 = default; + this.hsv = default; + this.ptr__pad2 = default; + } public GreasePencilColorModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, char color_mode, char[] _pad1, float[] hsv, object ptr__pad2) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilDashModifierData.cs b/BlendFile/DNA/GreasePencilDashModifierData.cs index 4e8a36f..ab32f54 100644 --- a/BlendFile/DNA/GreasePencilDashModifierData.cs +++ b/BlendFile/DNA/GreasePencilDashModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int dash_offset; [DNAFieldAttribute(6, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GreasePencilDashModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_segments_array = default; + this.segments_num = default; + this.segment_active_index = default; + this.dash_offset = default; + this._pad = default; + } public GreasePencilDashModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, GreasePencilDashModifierSegment ptr_segments_array, int segments_num, int segment_active_index, int dash_offset, char[] _pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilDashModifierSegment.cs b/BlendFile/DNA/GreasePencilDashModifierSegment.cs index 914b51f..8ec43d8 100644 --- a/BlendFile/DNA/GreasePencilDashModifierSegment.cs +++ b/BlendFile/DNA/GreasePencilDashModifierSegment.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int mat_nr; [DNAFieldAttribute(6, "int", "flag", 4)] public int flag; + public GreasePencilDashModifierSegment() { + this.name = default; + this.dash = default; + this.gap = default; + this.radius = default; + this.opacity = default; + this.mat_nr = default; + this.flag = default; + } public GreasePencilDashModifierSegment(char[] name, int dash, int gap, float radius, float opacity, int mat_nr, int flag) { this.name = name; this.dash = dash; diff --git a/BlendFile/DNA/GreasePencilDrawing.cs b/BlendFile/DNA/GreasePencilDrawing.cs index ab12c7f..4dbec9b 100644 --- a/BlendFile/DNA/GreasePencilDrawing.cs +++ b/BlendFile/DNA/GreasePencilDrawing.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public CurvesGeometry geometry; [DNAFieldAttribute(2, "GreasePencilDrawingRuntimeHandle", "*runtime", 0)] public GreasePencilDrawingRuntimeHandle ptr_runtime; + public GreasePencilDrawing() { + this.@base = default; + this.geometry = default; + this.ptr_runtime = default; + } public GreasePencilDrawing(GreasePencilDrawingBase @base, CurvesGeometry geometry, GreasePencilDrawingRuntimeHandle ptr_runtime) { this.@base = @base; this.geometry = geometry; diff --git a/BlendFile/DNA/GreasePencilDrawingBase.cs b/BlendFile/DNA/GreasePencilDrawingBase.cs index c5da0c1..784808e 100644 --- a/BlendFile/DNA/GreasePencilDrawingBase.cs +++ b/BlendFile/DNA/GreasePencilDrawingBase.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[3]; [DNAFieldAttribute(2, "int", "flag", 4)] public int flag; + public GreasePencilDrawingBase() { + this.type = default; + this._pad = default; + this.flag = default; + } public GreasePencilDrawingBase(sbyte type, char[] _pad, int flag) { this.type = type; this._pad = _pad; diff --git a/BlendFile/DNA/GreasePencilDrawingReference.cs b/BlendFile/DNA/GreasePencilDrawingReference.cs index 02b9844..8ed06df 100644 --- a/BlendFile/DNA/GreasePencilDrawingReference.cs +++ b/BlendFile/DNA/GreasePencilDrawingReference.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public GreasePencilDrawingBase @base; [DNAFieldAttribute(1, "GreasePencil", "*id_reference", 592)] public GreasePencil ptr_id_reference; + public GreasePencilDrawingReference() { + this.@base = default; + this.ptr_id_reference = default; + } public GreasePencilDrawingReference(GreasePencilDrawingBase @base, GreasePencil ptr_id_reference) { this.@base = @base; this.ptr_id_reference = ptr_id_reference; diff --git a/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs b/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs index 08c4568..8580e7e 100644 --- a/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs +++ b/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int skip; [DNAFieldAttribute(7, "int", "spread", 4)] public int spread; + public GreasePencilEnvelopeModifierData() { + this.modifier = default; + this.influence = default; + this.mode = default; + this.mat_nr = default; + this.thickness = default; + this.strength = default; + this.skip = default; + this.spread = default; + } public GreasePencilEnvelopeModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int mode, int mat_nr, float thickness, float strength, int skip, int spread) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilFrame.cs b/BlendFile/DNA/GreasePencilFrame.cs index 05539ff..98a1bd5 100644 --- a/BlendFile/DNA/GreasePencilFrame.cs +++ b/BlendFile/DNA/GreasePencilFrame.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public sbyte type; [DNAFieldAttribute(3, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public GreasePencilFrame() { + this.drawing_index = default; + this.flag = default; + this.type = default; + this._pad = default; + } public GreasePencilFrame(int drawing_index, int flag, sbyte type, char[] _pad) { this.drawing_index = drawing_index; this.flag = flag; diff --git a/BlendFile/DNA/GreasePencilHookModifierData.cs b/BlendFile/DNA/GreasePencilHookModifierData.cs index 1fbfa71..016d367 100644 --- a/BlendFile/DNA/GreasePencilHookModifierData.cs +++ b/BlendFile/DNA/GreasePencilHookModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float falloff; [DNAFieldAttribute(11, "float", "force", 4)] public float force; + public GreasePencilHookModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_object = default; + this.subtarget = default; + this._pad = default; + this.flag = default; + this.falloff_type = default; + this._pad1 = default; + this.parentinv = default; + this.cent = default; + this.falloff = default; + this.force = default; + } public GreasePencilHookModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, char[] subtarget, char[] _pad, int flag, char falloff_type, char[] _pad1, float[,] parentinv, float[] cent, float falloff, float force) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilLatticeModifierData.cs b/BlendFile/DNA/GreasePencilLatticeModifierData.cs index 2137545..5961fa6 100644 --- a/BlendFile/DNA/GreasePencilLatticeModifierData.cs +++ b/BlendFile/DNA/GreasePencilLatticeModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float strength; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GreasePencilLatticeModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_object = default; + this.strength = default; + this._pad = default; + } public GreasePencilLatticeModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, float strength, char[] _pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilLayer.cs b/BlendFile/DNA/GreasePencilLayer.cs index 9810835..4dae09b 100644 --- a/BlendFile/DNA/GreasePencilLayer.cs +++ b/BlendFile/DNA/GreasePencilLayer.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public char ptr_viewlayername; [DNAFieldAttribute(16, "GreasePencilLayerRuntimeHandle", "*runtime", 0)] public GreasePencilLayerRuntimeHandle ptr_runtime; + public GreasePencilLayer() { + this.@base = default; + this.frames_storage = default; + this.blend_mode = default; + this._pad = default; + this.opacity = default; + this.masks = default; + this.active_mask_index = default; + this._pad2 = default; + this.ptr_parent = default; + this.ptr_parsubstr = default; + this.parentinv = default; + this.translation = default; + this.rotation = default; + this.scale = default; + this._pad3 = default; + this.ptr_viewlayername = default; + this.ptr_runtime = default; + } public GreasePencilLayer( GreasePencilLayerTreeNode @base, GreasePencilLayerFramesMapStorage frames_storage, diff --git a/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs b/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs index c277994..88a425f 100644 --- a/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs +++ b/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int size; [DNAFieldAttribute(3, "int", "flag", 4)] public int flag; + public GreasePencilLayerFramesMapStorage() { + this.ptr_keys = default; + this.ptr_values = default; + this.size = default; + this.flag = default; + } public GreasePencilLayerFramesMapStorage(int ptr_keys, GreasePencilFrame ptr_values, int size, int flag) { this.ptr_keys = ptr_keys; this.ptr_values = ptr_values; diff --git a/BlendFile/DNA/GreasePencilLayerMask.cs b/BlendFile/DNA/GreasePencilLayerMask.cs index 868d60c..a9d642f 100644 --- a/BlendFile/DNA/GreasePencilLayerMask.cs +++ b/BlendFile/DNA/GreasePencilLayerMask.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public ushort flag; [DNAFieldAttribute(4, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public GreasePencilLayerMask() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_layer_name = default; + this.flag = default; + this._pad = default; + } public GreasePencilLayerMask(GreasePencilLayerMask ptr_next, GreasePencilLayerMask ptr_prev, char ptr_layer_name, ushort flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/GreasePencilLayerTreeGroup.cs b/BlendFile/DNA/GreasePencilLayerTreeGroup.cs index 48b9acb..2b82b72 100644 --- a/BlendFile/DNA/GreasePencilLayerTreeGroup.cs +++ b/BlendFile/DNA/GreasePencilLayerTreeGroup.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[7]; [DNAFieldAttribute(4, "GreasePencilLayerGroupRuntimeHandle", "*runtime", 0)] public GreasePencilLayerGroupRuntimeHandle ptr_runtime; + public GreasePencilLayerTreeGroup() { + this.@base = default; + this.children = default; + this.color_tag = default; + this._pad = default; + this.ptr_runtime = default; + } public GreasePencilLayerTreeGroup(GreasePencilLayerTreeNode @base, ListBase children, sbyte color_tag, char[] _pad, GreasePencilLayerGroupRuntimeHandle ptr_runtime) { this.@base = @base; this.children = children; diff --git a/BlendFile/DNA/GreasePencilLayerTreeNode.cs b/BlendFile/DNA/GreasePencilLayerTreeNode.cs index abbf395..9b92368 100644 --- a/BlendFile/DNA/GreasePencilLayerTreeNode.cs +++ b/BlendFile/DNA/GreasePencilLayerTreeNode.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public byte[] color = new System.Byte[3]; [DNAFieldAttribute(6, "int", "flag", 4)] public int flag; + public GreasePencilLayerTreeNode() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_parent = default; + this.ptr_name = default; + this.type = default; + this.color = default; + this.flag = default; + } public GreasePencilLayerTreeNode(GreasePencilLayerTreeNode ptr_next, GreasePencilLayerTreeNode ptr_prev, GreasePencilLayerTreeGroup ptr_parent, char ptr_name, sbyte type, byte[] color, int flag) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/GreasePencilLengthModifierData.cs b/BlendFile/DNA/GreasePencilLengthModifierData.cs index 7db5aad..d3d4cb7 100644 --- a/BlendFile/DNA/GreasePencilLengthModifierData.cs +++ b/BlendFile/DNA/GreasePencilLengthModifierData.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public float max_angle; [DNAFieldAttribute(16, "void", "*_pad1", 0)] public object ptr__pad1; + public GreasePencilLengthModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.start_fac = default; + this.end_fac = default; + this.rand_start_fac = default; + this.rand_end_fac = default; + this.rand_offset = default; + this.overshoot_fac = default; + this.seed = default; + this.step = default; + this.mode = default; + this._pad = default; + this.point_density = default; + this.segment_influence = default; + this.max_angle = default; + this.ptr__pad1 = default; + } public GreasePencilLengthModifierData( ModifierData modifier, GreasePencilModifierInfluenceData influence, diff --git a/BlendFile/DNA/GreasePencilLineartModifierData.cs b/BlendFile/DNA/GreasePencilLineartModifierData.cs index 56955ff..3aa4a19 100644 --- a/BlendFile/DNA/GreasePencilLineartModifierData.cs +++ b/BlendFile/DNA/GreasePencilLineartModifierData.cs @@ -103,6 +103,52 @@ namespace BlendFile.DNA { public LineartData ptr_la_data_ptr; [DNAFieldAttribute(43, "void", "*runtime", 0)] public object ptr_runtime; + public GreasePencilLineartModifierData() { + this.modifier = default; + this.edge_types = default; + this.source_type = default; + this.use_multiple_levels = default; + this.level_start = default; + this.level_end = default; + this.ptr_source_camera = default; + this.ptr_light_contour_object = default; + this.ptr_source_object = default; + this.ptr_source_collection = default; + this.ptr_target_material = default; + this.target_layer = default; + this.source_vertex_group = default; + this.vgname = default; + this.overscan = default; + this.shadow_camera_fov = default; + this.shadow_camera_size = default; + this.shadow_camera_near = default; + this.shadow_camera_far = default; + this.opacity = default; + this.thickness = default; + this.mask_switches = default; + this.material_mask_bits = default; + this.intersection_mask = default; + this.shadow_selection = default; + this.silhouette_selection = default; + this._pad = default; + this.crease_threshold = default; + this.angle_splitting_threshold = default; + this.chain_smooth_tolerance = default; + this.chaining_image_threshold = default; + this.calculation_flags = default; + this.flags = default; + this.stroke_depth_offset = default; + this.level_start_override = default; + this.level_end_override = default; + this.edge_types_override = default; + this.shadow_selection_override = default; + this.shadow_use_silhouette_override = default; + this._pad2 = default; + this.ptr_shared_cache = default; + this.ptr_cache = default; + this.ptr_la_data_ptr = default; + this.ptr_runtime = default; + } public GreasePencilLineartModifierData( ModifierData modifier, ushort edge_types, diff --git a/BlendFile/DNA/GreasePencilMirrorModifierData.cs b/BlendFile/DNA/GreasePencilMirrorModifierData.cs index 7b6682e..491368b 100644 --- a/BlendFile/DNA/GreasePencilMirrorModifierData.cs +++ b/BlendFile/DNA/GreasePencilMirrorModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GreasePencilMirrorModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_object = default; + this.flag = default; + this._pad = default; + } public GreasePencilMirrorModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, int flag, char[] _pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilModifierInfluenceData.cs b/BlendFile/DNA/GreasePencilModifierInfluenceData.cs index 124a4f7..c57e7d0 100644 --- a/BlendFile/DNA/GreasePencilModifierInfluenceData.cs +++ b/BlendFile/DNA/GreasePencilModifierInfluenceData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public CurveMapping ptr_custom_curve; [DNAFieldAttribute(8, "void", "*_pad2", 0)] public object ptr__pad2; + public GreasePencilModifierInfluenceData() { + this.flag = default; + this._pad1 = default; + this.layer_name = default; + this.ptr_material = default; + this.layer_pass = default; + this.material_pass = default; + this.vertex_group_name = default; + this.ptr_custom_curve = default; + this.ptr__pad2 = default; + } public GreasePencilModifierInfluenceData(int flag, char[] _pad1, char[] layer_name, Material ptr_material, int layer_pass, int material_pass, char[] vertex_group_name, CurveMapping ptr_custom_curve, object ptr__pad2) { this.flag = flag; this._pad1 = _pad1; diff --git a/BlendFile/DNA/GreasePencilMultiModifierData.cs b/BlendFile/DNA/GreasePencilMultiModifierData.cs index 506ca07..37ad2c0 100644 --- a/BlendFile/DNA/GreasePencilMultiModifierData.cs +++ b/BlendFile/DNA/GreasePencilMultiModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int _pad0; [DNAFieldAttribute(10, "void", "*_pad", 0)] public object ptr__pad; + public GreasePencilMultiModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.duplications = default; + this.distance = default; + this.offset = default; + this.fading_center = default; + this.fading_thickness = default; + this.fading_opacity = default; + this._pad0 = default; + this.ptr__pad = default; + } public GreasePencilMultiModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, int duplications, float distance, float offset, float fading_center, float fading_thickness, float fading_opacity, int _pad0, object ptr__pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilNoiseModifierData.cs b/BlendFile/DNA/GreasePencilNoiseModifierData.cs index 1511526..c0de159 100644 --- a/BlendFile/DNA/GreasePencilNoiseModifierData.cs +++ b/BlendFile/DNA/GreasePencilNoiseModifierData.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int seed; [DNAFieldAttribute(13, "void", "*_pad1", 0)] public object ptr__pad1; + public GreasePencilNoiseModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.factor = default; + this.factor_strength = default; + this.factor_thickness = default; + this.factor_uvs = default; + this.noise_scale = default; + this.noise_offset = default; + this.noise_mode = default; + this._pad = default; + this.step = default; + this.seed = default; + this.ptr__pad1 = default; + } public GreasePencilNoiseModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float factor, float factor_strength, float factor_thickness, float factor_uvs, float noise_scale, float noise_offset, short noise_mode, char[] _pad, int step, int seed, object ptr__pad1) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilOffsetModifierData.cs b/BlendFile/DNA/GreasePencilOffsetModifierData.cs index 769fe2e..3650dbf 100644 --- a/BlendFile/DNA/GreasePencilOffsetModifierData.cs +++ b/BlendFile/DNA/GreasePencilOffsetModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(14, "void", "*_pad2", 0)] public object ptr__pad2; + public GreasePencilOffsetModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.offset_mode = default; + this.loc = default; + this.rot = default; + this.scale = default; + this.stroke_loc = default; + this.stroke_rot = default; + this.stroke_scale = default; + this.seed = default; + this.stroke_step = default; + this.stroke_start_offset = default; + this._pad1 = default; + this.ptr__pad2 = default; + } public GreasePencilOffsetModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, int offset_mode, float[] loc, float[] rot, float[] scale, float[] stroke_loc, float[] stroke_rot, float[] stroke_scale, int seed, int stroke_step, int stroke_start_offset, char[] _pad1, object ptr__pad2) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs b/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs index 923ffef..a242d08 100644 --- a/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs +++ b/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public float[] color_after = new System.Single[3]; [DNAFieldAttribute(9, "char", "_pad2[4]", 1)] public char[] _pad2 = new System.Char[4]; + public GreasePencilOnionSkinningSettings() { + this.opacity = default; + this.mode = default; + this.flag = default; + this.filter = default; + this._pad = default; + this.num_frames_before = default; + this.num_frames_after = default; + this.color_before = default; + this.color_after = default; + this._pad2 = default; + } public GreasePencilOnionSkinningSettings(float opacity, sbyte mode, byte flag, byte filter, char[] _pad, short num_frames_before, short num_frames_after, float[] color_before, float[] color_after, char[] _pad2) { this.opacity = opacity; this.mode = mode; diff --git a/BlendFile/DNA/GreasePencilOpacityModifierData.cs b/BlendFile/DNA/GreasePencilOpacityModifierData.cs index 23c1b39..bcec25c 100644 --- a/BlendFile/DNA/GreasePencilOpacityModifierData.cs +++ b/BlendFile/DNA/GreasePencilOpacityModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float hardness_factor; [DNAFieldAttribute(7, "void", "*_pad2", 0)] public object ptr__pad2; + public GreasePencilOpacityModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.color_mode = default; + this._pad1 = default; + this.color_factor = default; + this.hardness_factor = default; + this.ptr__pad2 = default; + } public GreasePencilOpacityModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, char color_mode, char[] _pad1, float color_factor, float hardness_factor, object ptr__pad2) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilOutlineModifierData.cs b/BlendFile/DNA/GreasePencilOutlineModifierData.cs index b811594..182f126 100644 --- a/BlendFile/DNA/GreasePencilOutlineModifierData.cs +++ b/BlendFile/DNA/GreasePencilOutlineModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int subdiv; [DNAFieldAttribute(7, "Material", "*outline_material", 392)] public Material ptr_outline_material; + public GreasePencilOutlineModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_object = default; + this.flag = default; + this.thickness = default; + this.sample_length = default; + this.subdiv = default; + this.ptr_outline_material = default; + } public GreasePencilOutlineModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, int flag, int thickness, float sample_length, int subdiv, Material ptr_outline_material) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs b/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs index 8e42d05..8d7d904 100644 --- a/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs +++ b/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public int smooth_step; [DNAFieldAttribute(14, "ShrinkwrapTreeData", "*cache_data", 0)] public ShrinkwrapTreeData ptr_cache_data; + public GreasePencilShrinkwrapModifierData() { + this.modifier = default; + this.influence = default; + this.ptr_target = default; + this.ptr_aux_target = default; + this.keep_dist = default; + this.shrink_type = default; + this.shrink_opts = default; + this.shrink_mode = default; + this.proj_limit = default; + this.proj_axis = default; + this.subsurf_levels = default; + this._pad = default; + this.smooth_factor = default; + this.smooth_step = default; + this.ptr_cache_data = default; + } public GreasePencilShrinkwrapModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_target, Object ptr_aux_target, float keep_dist, short shrink_type, char shrink_opts, char shrink_mode, float proj_limit, char proj_axis, char subsurf_levels, char[] _pad, float smooth_factor, int smooth_step, ShrinkwrapTreeData ptr_cache_data) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilSimplifyModifierData.cs b/BlendFile/DNA/GreasePencilSimplifyModifierData.cs index 99d2d2b..a7afe3b 100644 --- a/BlendFile/DNA/GreasePencilSimplifyModifierData.cs +++ b/BlendFile/DNA/GreasePencilSimplifyModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public float sharp_threshold; [DNAFieldAttribute(8, "float", "distance", 4)] public float distance; + public GreasePencilSimplifyModifierData() { + this.modifier = default; + this.influence = default; + this.mode = default; + this._pad = default; + this.step = default; + this.factor = default; + this.length = default; + this.sharp_threshold = default; + this.distance = default; + } public GreasePencilSimplifyModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, short mode, char[] _pad, short step, float factor, float length, float sharp_threshold, float distance) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilSmoothModifierData.cs b/BlendFile/DNA/GreasePencilSmoothModifierData.cs index d329aee..32867ca 100644 --- a/BlendFile/DNA/GreasePencilSmoothModifierData.cs +++ b/BlendFile/DNA/GreasePencilSmoothModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(6, "void", "*_pad1", 0)] public object ptr__pad1; + public GreasePencilSmoothModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.factor = default; + this.step = default; + this._pad = default; + this.ptr__pad1 = default; + } public GreasePencilSmoothModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float factor, int step, char[] _pad, object ptr__pad1) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilSubdivModifierData.cs b/BlendFile/DNA/GreasePencilSubdivModifierData.cs index a4e49d1..883abeb 100644 --- a/BlendFile/DNA/GreasePencilSubdivModifierData.cs +++ b/BlendFile/DNA/GreasePencilSubdivModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[8]; [DNAFieldAttribute(5, "void", "*_pad1", 0)] public object ptr__pad1; + public GreasePencilSubdivModifierData() { + this.modifier = default; + this.influence = default; + this.type = default; + this.level = default; + this._pad = default; + this.ptr__pad1 = default; + } public GreasePencilSubdivModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int type, int level, char[] _pad, object ptr__pad1) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilTextureModifierData.cs b/BlendFile/DNA/GreasePencilTextureModifierData.cs index 1b04b2f..98c61ca 100644 --- a/BlendFile/DNA/GreasePencilTextureModifierData.cs +++ b/BlendFile/DNA/GreasePencilTextureModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float alignment_rotation; [DNAFieldAttribute(11, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GreasePencilTextureModifierData() { + this.modifier = default; + this.influence = default; + this.uv_offset = default; + this.uv_scale = default; + this.fill_rotation = default; + this.fill_offset = default; + this.fill_scale = default; + this.layer_pass = default; + this.fit_method = default; + this.mode = default; + this.alignment_rotation = default; + this._pad = default; + } public GreasePencilTextureModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, float uv_offset, float uv_scale, float fill_rotation, float[] fill_offset, float fill_scale, int layer_pass, short fit_method, short mode, float alignment_rotation, char[] _pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilThickModifierData.cs b/BlendFile/DNA/GreasePencilThickModifierData.cs index 2feba85..a12f7d4 100644 --- a/BlendFile/DNA/GreasePencilThickModifierData.cs +++ b/BlendFile/DNA/GreasePencilThickModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(6, "void", "*_pad1", 0)] public object ptr__pad1; + public GreasePencilThickModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.thickness_fac = default; + this.thickness = default; + this._pad = default; + this.ptr__pad1 = default; + } public GreasePencilThickModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float thickness_fac, float thickness, char[] _pad, object ptr__pad1) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilTimeModifierData.cs b/BlendFile/DNA/GreasePencilTimeModifierData.cs index ba1ada1..3ff4019 100644 --- a/BlendFile/DNA/GreasePencilTimeModifierData.cs +++ b/BlendFile/DNA/GreasePencilTimeModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int segments_num; [DNAFieldAttribute(10, "int", "segment_active_index", 4)] public int segment_active_index; + public GreasePencilTimeModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.offset = default; + this.frame_scale = default; + this.mode = default; + this.sfra = default; + this.efra = default; + this.ptr_segments_array = default; + this.segments_num = default; + this.segment_active_index = default; + } public GreasePencilTimeModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, int offset, float frame_scale, int mode, int sfra, int efra, GreasePencilTimeModifierSegment ptr_segments_array, int segments_num, int segment_active_index) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilTimeModifierSegment.cs b/BlendFile/DNA/GreasePencilTimeModifierSegment.cs index de13c2a..2568691 100644 --- a/BlendFile/DNA/GreasePencilTimeModifierSegment.cs +++ b/BlendFile/DNA/GreasePencilTimeModifierSegment.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int segment_mode; [DNAFieldAttribute(4, "int", "segment_repeat", 4)] public int segment_repeat; + public GreasePencilTimeModifierSegment() { + this.name = default; + this.segment_start = default; + this.segment_end = default; + this.segment_mode = default; + this.segment_repeat = default; + } public GreasePencilTimeModifierSegment(char[] name, int segment_start, int segment_end, int segment_mode, int segment_repeat) { this.name = name; this.segment_start = segment_start; diff --git a/BlendFile/DNA/GreasePencilTintModifierData.cs b/BlendFile/DNA/GreasePencilTintModifierData.cs index 62b40fc..5b0db3d 100644 --- a/BlendFile/DNA/GreasePencilTintModifierData.cs +++ b/BlendFile/DNA/GreasePencilTintModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public ColorBand ptr_color_ramp; [DNAFieldAttribute(10, "void", "*_pad", 0)] public object ptr__pad; + public GreasePencilTintModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.color_mode = default; + this.tint_mode = default; + this.factor = default; + this.radius = default; + this.color = default; + this.ptr_object = default; + this.ptr_color_ramp = default; + this.ptr__pad = default; + } public GreasePencilTintModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, short flag, char color_mode, char tint_mode, float factor, float radius, float[] color, Object ptr_object, ColorBand ptr_color_ramp, object ptr__pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs b/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs index 1875dd2..f0646c3 100644 --- a/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs +++ b/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(8, "void", "*_pad", 0)] public object ptr__pad; + public GreasePencilWeightAngleModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.min_weight = default; + this.axis = default; + this.space = default; + this.angle = default; + this.target_vgname = default; + this.ptr__pad = default; + } public GreasePencilWeightAngleModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float min_weight, short axis, short space, float angle, char[] target_vgname, object ptr__pad) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs b/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs index 71a326f..7bdb3e8 100644 --- a/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs +++ b/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float dist_end; [DNAFieldAttribute(7, "Object", "*object", 1160)] public Object ptr_object; + public GreasePencilWeightProximityModifierData() { + this.modifier = default; + this.influence = default; + this.flag = default; + this.target_vgname = default; + this.min_weight = default; + this.dist_start = default; + this.dist_end = default; + this.ptr_object = default; + } public GreasePencilWeightProximityModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, char[] target_vgname, float min_weight, float dist_start, float dist_end, Object ptr_object) { this.modifier = modifier; this.influence = influence; diff --git a/BlendFile/DNA/GridPaintMask.cs b/BlendFile/DNA/GridPaintMask.cs index f24703b..38d0a03 100644 --- a/BlendFile/DNA/GridPaintMask.cs +++ b/BlendFile/DNA/GridPaintMask.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int level; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public GridPaintMask() { + this.ptr_data = default; + this.level = default; + this._pad = default; + } public GridPaintMask(float ptr_data, int level, char[] _pad) { this.ptr_data = ptr_data; this.level = level; diff --git a/BlendFile/DNA/GroupNodeViewerPathElem.cs b/BlendFile/DNA/GroupNodeViewerPathElem.cs index 2e263bc..8c04c4d 100644 --- a/BlendFile/DNA/GroupNodeViewerPathElem.cs +++ b/BlendFile/DNA/GroupNodeViewerPathElem.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int node_id; [DNAFieldAttribute(2, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public GroupNodeViewerPathElem() { + this.@base = default; + this.node_id = default; + this._pad1 = default; + } public GroupNodeViewerPathElem(ViewerPathElem @base, int node_id, char[] _pad1) { this.@base = @base; this.node_id = node_id; diff --git a/BlendFile/DNA/HairKey.cs b/BlendFile/DNA/HairKey.cs index a10bfc5..b9add57 100644 --- a/BlendFile/DNA/HairKey.cs +++ b/BlendFile/DNA/HairKey.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(5, "float", "world_co[3]", 4)] public float[] world_co = new System.Single[3]; + public HairKey() { + this.co = default; + this.time = default; + this.weight = default; + this.editflag = default; + this._pad = default; + this.world_co = default; + } public HairKey(float[] co, float time, float weight, short editflag, char[] _pad, float[] world_co) { this.co = co; this.time = time; diff --git a/BlendFile/DNA/Histogram.cs b/BlendFile/DNA/Histogram.cs index 2cf400a..1cd0173 100644 --- a/BlendFile/DNA/Histogram.cs +++ b/BlendFile/DNA/Histogram.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public int height; [DNAFieldAttribute(12, "float", "co[2][2]", 4)] public float[,] co = new System.Single[2,2]; + public Histogram() { + this.channels = default; + this.x_resolution = default; + this.data_luma = default; + this.data_r = default; + this.data_g = default; + this.data_b = default; + this.data_a = default; + this.xmax = default; + this.ymax = default; + this.mode = default; + this.flag = default; + this.height = default; + this.co = default; + } public Histogram(int channels, int x_resolution, float[] data_luma, float[] data_r, float[] data_g, float[] data_b, float[] data_a, float xmax, float ymax, short mode, short flag, int height, float[,] co) { this.channels = channels; this.x_resolution = x_resolution; diff --git a/BlendFile/DNA/HookGpencilModifierData.cs b/BlendFile/DNA/HookGpencilModifierData.cs index 42e1dec..9e75c91 100644 --- a/BlendFile/DNA/HookGpencilModifierData.cs +++ b/BlendFile/DNA/HookGpencilModifierData.cs @@ -51,6 +51,26 @@ namespace BlendFile.DNA { public float force; [DNAFieldAttribute(17, "CurveMapping", "*curfalloff", 424)] public CurveMapping ptr_curfalloff; + public HookGpencilModifierData() { + this.modifier = default; + this.ptr_object = default; + this.ptr_material = default; + this.subtarget = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.layer_pass = default; + this._pad = default; + this.flag = default; + this.falloff_type = default; + this._pad1 = default; + this.parentinv = default; + this.cent = default; + this.falloff = default; + this.force = default; + this.ptr_curfalloff = default; + } public HookGpencilModifierData( GpencilModifierData modifier, Object ptr_object, diff --git a/BlendFile/DNA/HookModifierData.cs b/BlendFile/DNA/HookModifierData.cs index 90e3f94..e33f00c 100644 --- a/BlendFile/DNA/HookModifierData.cs +++ b/BlendFile/DNA/HookModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(14, "void", "*_pad1", 0)] public object ptr__pad1; + public HookModifierData() { + this.modifier = default; + this.ptr_object = default; + this.subtarget = default; + this.flag = default; + this.falloff_type = default; + this._pad = default; + this.parentinv = default; + this.cent = default; + this.falloff = default; + this.ptr_curfalloff = default; + this.ptr_indexar = default; + this.totindex = default; + this.force = default; + this.name = default; + this.ptr__pad1 = default; + } public HookModifierData(ModifierData modifier, Object ptr_object, char[] subtarget, char flag, char falloff_type, char[] _pad, float[,] parentinv, float[] cent, float falloff, CurveMapping ptr_curfalloff, int ptr_indexar, int totindex, float force, char[] name, object ptr__pad1) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/HueCorrectModifierData.cs b/BlendFile/DNA/HueCorrectModifierData.cs index 0e6b33f..58677a9 100644 --- a/BlendFile/DNA/HueCorrectModifierData.cs +++ b/BlendFile/DNA/HueCorrectModifierData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public SequenceModifierData modifier; [DNAFieldAttribute(1, "CurveMapping", "curve_mapping", 424)] public CurveMapping curve_mapping; + public HueCorrectModifierData() { + this.modifier = default; + this.curve_mapping = default; + } public HueCorrectModifierData(SequenceModifierData modifier, CurveMapping curve_mapping) { this.modifier = modifier; this.curve_mapping = curve_mapping; diff --git a/BlendFile/DNA/ID.cs b/BlendFile/DNA/ID.cs index 54380d2..ab961c0 100644 --- a/BlendFile/DNA/ID.cs +++ b/BlendFile/DNA/ID.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public LibraryWeakReference ptr_library_weak_reference; [DNAFieldAttribute(19, "ID_Runtime", "runtime", 32)] public ID_Runtime runtime; + public ID() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_newid = default; + this.ptr_lib = default; + this.ptr_asset_data = default; + this.name = default; + this.flag = default; + this.tag = default; + this.us = default; + this.icon_id = default; + this.recalc = default; + this.recalc_up_to_undo_push = default; + this.recalc_after_undo_push = default; + this.session_uid = default; + this.ptr_properties = default; + this.ptr_override_library = default; + this.ptr_orig_id = default; + this.ptr_py_instance = default; + this.ptr_library_weak_reference = default; + this.runtime = default; + } public ID( object ptr_next, object ptr_prev, diff --git a/BlendFile/DNA/IDOverrideLibrary.cs b/BlendFile/DNA/IDOverrideLibrary.cs index c30a79a..f00903e 100644 --- a/BlendFile/DNA/IDOverrideLibrary.cs +++ b/BlendFile/DNA/IDOverrideLibrary.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(6, "char", "_pad_1[4]", 1)] public char[] _pad_1 = new System.Char[4]; + public IDOverrideLibrary() { + this.ptr_reference = default; + this.properties = default; + this.ptr_hierarchy_root = default; + this.ptr_storage = default; + this.ptr_runtime = default; + this.flag = default; + this._pad_1 = default; + } public IDOverrideLibrary(ID ptr_reference, ListBase properties, ID ptr_hierarchy_root, ID ptr_storage, IDOverrideLibraryRuntime ptr_runtime, int flag, char[] _pad_1) { this.ptr_reference = ptr_reference; this.properties = properties; diff --git a/BlendFile/DNA/IDOverrideLibraryProperty.cs b/BlendFile/DNA/IDOverrideLibraryProperty.cs index 9de0a03..918ab42 100644 --- a/BlendFile/DNA/IDOverrideLibraryProperty.cs +++ b/BlendFile/DNA/IDOverrideLibraryProperty.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(6, "int", "rna_prop_type", 4)] public int rna_prop_type; + public IDOverrideLibraryProperty() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_rna_path = default; + this.operations = default; + this.tag = default; + this._pad = default; + this.rna_prop_type = default; + } public IDOverrideLibraryProperty(IDOverrideLibraryProperty ptr_next, IDOverrideLibraryProperty ptr_prev, char ptr_rna_path, ListBase operations, short tag, char[] _pad, int rna_prop_type) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs b/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs index 5e7fe0b..a757726 100644 --- a/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs +++ b/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public ID ptr_subitem_reference_id; [DNAFieldAttribute(11, "ID", "*subitem_local_id", 208)] public ID ptr_subitem_local_id; + public IDOverrideLibraryPropertyOperation() { + this.ptr_next = default; + this.ptr_prev = default; + this.operation = default; + this.flag = default; + this.tag = default; + this._pad0 = default; + this.ptr_subitem_reference_name = default; + this.ptr_subitem_local_name = default; + this.subitem_reference_index = default; + this.subitem_local_index = default; + this.ptr_subitem_reference_id = default; + this.ptr_subitem_local_id = default; + } public IDOverrideLibraryPropertyOperation(IDOverrideLibraryPropertyOperation ptr_next, IDOverrideLibraryPropertyOperation ptr_prev, short operation, short flag, short tag, char[] _pad0, char ptr_subitem_reference_name, char ptr_subitem_local_name, int subitem_reference_index, int subitem_local_index, ID ptr_subitem_reference_id, ID ptr_subitem_local_id) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/IDProperty.cs b/BlendFile/DNA/IDProperty.cs index 53674bf..b2ae5be 100644 --- a/BlendFile/DNA/IDProperty.cs +++ b/BlendFile/DNA/IDProperty.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int totallen; [DNAFieldAttribute(10, "IDPropertyUIData", "*ui_data", 16)] public IDPropertyUIData ptr_ui_data; + public IDProperty() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.subtype = default; + this.flag = default; + this.name = default; + this._pad0 = default; + this.data = default; + this.len = default; + this.totallen = default; + this.ptr_ui_data = default; + } public IDProperty(IDProperty ptr_next, IDProperty ptr_prev, char type, char subtype, short flag, char[] name, char[] _pad0, IDPropertyData data, int len, int totallen, IDPropertyUIData ptr_ui_data) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/IDPropertyData.cs b/BlendFile/DNA/IDPropertyData.cs index bdf063a..e0d13a1 100644 --- a/BlendFile/DNA/IDPropertyData.cs +++ b/BlendFile/DNA/IDPropertyData.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int val; [DNAFieldAttribute(3, "int", "val2", 4)] public int val2; + public IDPropertyData() { + this.ptr_pointer = default; + this.group = default; + this.val = default; + this.val2 = default; + } public IDPropertyData(object ptr_pointer, ListBase group, int val, int val2) { this.ptr_pointer = ptr_pointer; this.group = group; diff --git a/BlendFile/DNA/IDPropertyUIData.cs b/BlendFile/DNA/IDPropertyUIData.cs index 8d74b88..d7831b4 100644 --- a/BlendFile/DNA/IDPropertyUIData.cs +++ b/BlendFile/DNA/IDPropertyUIData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int rna_subtype; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public IDPropertyUIData() { + this.ptr_description = default; + this.rna_subtype = default; + this._pad = default; + } public IDPropertyUIData(char ptr_description, int rna_subtype, char[] _pad) { this.ptr_description = ptr_description; this.rna_subtype = rna_subtype; diff --git a/BlendFile/DNA/IDPropertyUIDataBool.cs b/BlendFile/DNA/IDPropertyUIDataBool.cs index 8f1a901..9e70424 100644 --- a/BlendFile/DNA/IDPropertyUIDataBool.cs +++ b/BlendFile/DNA/IDPropertyUIDataBool.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "int8_t", "default_value", 1)] public sbyte default_value; + public IDPropertyUIDataBool() { + this.@base = default; + this.ptr_default_array = default; + this.default_array_len = default; + this._pad = default; + this.default_value = default; + } public IDPropertyUIDataBool(IDPropertyUIData @base, sbyte ptr_default_array, int default_array_len, char[] _pad, sbyte default_value) { this.@base = @base; this.ptr_default_array = ptr_default_array; diff --git a/BlendFile/DNA/IDPropertyUIDataEnumItem.cs b/BlendFile/DNA/IDPropertyUIDataEnumItem.cs index 6502992..900f2f8 100644 --- a/BlendFile/DNA/IDPropertyUIDataEnumItem.cs +++ b/BlendFile/DNA/IDPropertyUIDataEnumItem.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int value; [DNAFieldAttribute(4, "int", "icon", 4)] public int icon; + public IDPropertyUIDataEnumItem() { + this.ptr_identifier = default; + this.ptr_name = default; + this.ptr_description = default; + this.value = default; + this.icon = default; + } public IDPropertyUIDataEnumItem(char ptr_identifier, char ptr_name, char ptr_description, int value, int icon) { this.ptr_identifier = ptr_identifier; this.ptr_name = ptr_name; diff --git a/BlendFile/DNA/IDPropertyUIDataFloat.cs b/BlendFile/DNA/IDPropertyUIDataFloat.cs index 70a1b3a..4bc040f 100644 --- a/BlendFile/DNA/IDPropertyUIDataFloat.cs +++ b/BlendFile/DNA/IDPropertyUIDataFloat.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public double soft_max; [DNAFieldAttribute(10, "double", "default_value", 8)] public double default_value; + public IDPropertyUIDataFloat() { + this.@base = default; + this.ptr_default_array = default; + this.default_array_len = default; + this._pad = default; + this.step = default; + this.precision = default; + this.min = default; + this.max = default; + this.soft_min = default; + this.soft_max = default; + this.default_value = default; + } public IDPropertyUIDataFloat(IDPropertyUIData @base, double ptr_default_array, int default_array_len, char[] _pad, float step, int precision, double min, double max, double soft_min, double soft_max, double default_value) { this.@base = @base; this.ptr_default_array = ptr_default_array; diff --git a/BlendFile/DNA/IDPropertyUIDataID.cs b/BlendFile/DNA/IDPropertyUIDataID.cs index 2001b30..16143d1 100644 --- a/BlendFile/DNA/IDPropertyUIDataID.cs +++ b/BlendFile/DNA/IDPropertyUIDataID.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public short id_type; [DNAFieldAttribute(2, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public IDPropertyUIDataID() { + this.@base = default; + this.id_type = default; + this._pad = default; + } public IDPropertyUIDataID(IDPropertyUIData @base, short id_type, char[] _pad) { this.@base = @base; this.id_type = id_type; diff --git a/BlendFile/DNA/IDPropertyUIDataInt.cs b/BlendFile/DNA/IDPropertyUIDataInt.cs index b20efca..acf1204 100644 --- a/BlendFile/DNA/IDPropertyUIDataInt.cs +++ b/BlendFile/DNA/IDPropertyUIDataInt.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int enum_items_num; [DNAFieldAttribute(10, "IDPropertyUIDataEnumItem", "*enum_items", 32)] public IDPropertyUIDataEnumItem ptr_enum_items; + public IDPropertyUIDataInt() { + this.@base = default; + this.ptr_default_array = default; + this.default_array_len = default; + this.min = default; + this.max = default; + this.soft_min = default; + this.soft_max = default; + this.step = default; + this.default_value = default; + this.enum_items_num = default; + this.ptr_enum_items = default; + } public IDPropertyUIDataInt(IDPropertyUIData @base, int ptr_default_array, int default_array_len, int min, int max, int soft_min, int soft_max, int step, int default_value, int enum_items_num, IDPropertyUIDataEnumItem ptr_enum_items) { this.@base = @base; this.ptr_default_array = ptr_default_array; diff --git a/BlendFile/DNA/IDPropertyUIDataString.cs b/BlendFile/DNA/IDPropertyUIDataString.cs index 14d1ab6..14a0518 100644 --- a/BlendFile/DNA/IDPropertyUIDataString.cs +++ b/BlendFile/DNA/IDPropertyUIDataString.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public IDPropertyUIData @base; [DNAFieldAttribute(1, "char", "*default_value", 1)] public char ptr_default_value; + public IDPropertyUIDataString() { + this.@base = default; + this.ptr_default_value = default; + } public IDPropertyUIDataString(IDPropertyUIData @base, char ptr_default_value) { this.@base = @base; this.ptr_default_value = ptr_default_value; diff --git a/BlendFile/DNA/IDViewerPathElem.cs b/BlendFile/DNA/IDViewerPathElem.cs index 13df137..8ecd0e0 100644 --- a/BlendFile/DNA/IDViewerPathElem.cs +++ b/BlendFile/DNA/IDViewerPathElem.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public ViewerPathElem @base; [DNAFieldAttribute(1, "ID", "*id", 208)] public ID ptr_id; + public IDViewerPathElem() { + this.@base = default; + this.ptr_id = default; + } public IDViewerPathElem(ViewerPathElem @base, ID ptr_id) { this.@base = @base; this.ptr_id = ptr_id; diff --git a/BlendFile/DNA/ID_Runtime.cs b/BlendFile/DNA/ID_Runtime.cs index e051e98..33a3d9d 100644 --- a/BlendFile/DNA/ID_Runtime.cs +++ b/BlendFile/DNA/ID_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public Depsgraph ptr_depsgraph; [DNAFieldAttribute(2, "void", "*_pad", 0)] public object ptr__pad; + public ID_Runtime() { + this.remap = default; + this.ptr_depsgraph = default; + this.ptr__pad = default; + } public ID_Runtime(ID_Runtime_Remap remap, Depsgraph ptr_depsgraph, object ptr__pad) { this.remap = remap; this.ptr_depsgraph = ptr_depsgraph; diff --git a/BlendFile/DNA/ID_Runtime_Remap.cs b/BlendFile/DNA/ID_Runtime_Remap.cs index acacf3c..2cd167d 100644 --- a/BlendFile/DNA/ID_Runtime_Remap.cs +++ b/BlendFile/DNA/ID_Runtime_Remap.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int skipped_direct; [DNAFieldAttribute(3, "int", "skipped_indirect", 4)] public int skipped_indirect; + public ID_Runtime_Remap() { + this.status = default; + this.skipped_refcounted = default; + this.skipped_direct = default; + this.skipped_indirect = default; + } public ID_Runtime_Remap(int status, int skipped_refcounted, int skipped_direct, int skipped_indirect) { this.status = status; this.skipped_refcounted = skipped_refcounted; diff --git a/BlendFile/DNA/IdAdtTemplate.cs b/BlendFile/DNA/IdAdtTemplate.cs index 5e4167c..1f7bea0 100644 --- a/BlendFile/DNA/IdAdtTemplate.cs +++ b/BlendFile/DNA/IdAdtTemplate.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public ID id; [DNAFieldAttribute(1, "AnimData", "*adt", 248)] public AnimData ptr_adt; + public IdAdtTemplate() { + this.id = default; + this.ptr_adt = default; + } public IdAdtTemplate(ID id, AnimData ptr_adt) { this.id = id; this.ptr_adt = ptr_adt; diff --git a/BlendFile/DNA/Image.cs b/BlendFile/DNA/Image.cs index 35fd111..0596162 100644 --- a/BlendFile/DNA/Image.cs +++ b/BlendFile/DNA/Image.cs @@ -103,6 +103,52 @@ namespace BlendFile.DNA { public Stereo3dFormat ptr_stereo3d_format; [DNAFieldAttribute(43, "Image_Runtime", "runtime", 32)] public Image_Runtime runtime; + public Image() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this.name = default; + this.ptr_cache = default; + this.ptr_gputext = default; + this.anims = default; + this.ptr_rr = default; + this.renderslots = default; + this.render_slot = default; + this.last_render_slot = default; + this.flag = default; + this.source = default; + this.type = default; + this.lastframe = default; + this.gpuframenr = default; + this.gpuflag = default; + this.gpu_pass = default; + this.gpu_layer = default; + this.gpu_view = default; + this.seam_margin = default; + this._pad2 = default; + this.ptr_packedfile = default; + this.packedfiles = default; + this.ptr_preview = default; + this.lastused = default; + this.gen_x = default; + this.gen_y = default; + this.gen_type = default; + this.gen_flag = default; + this.gen_depth = default; + this.gen_color = default; + this.aspx = default; + this.aspy = default; + this.colorspace_settings = default; + this.alpha_mode = default; + this._pad = default; + this.eye = default; + this.views_format = default; + this.active_tile_index = default; + this.tiles = default; + this.views = default; + this.ptr_stereo3d_format = default; + this.runtime = default; + } public Image( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/ImageAnim.cs b/BlendFile/DNA/ImageAnim.cs index 5c366fb..99ff648 100644 --- a/BlendFile/DNA/ImageAnim.cs +++ b/BlendFile/DNA/ImageAnim.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public ImageAnim ptr_prev; [DNAFieldAttribute(2, "ImBufAnim", "*anim", 0)] public ImBufAnim ptr_anim; + public ImageAnim() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_anim = default; + } public ImageAnim(ImageAnim ptr_next, ImageAnim ptr_prev, ImBufAnim ptr_anim) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ImageFormatData.cs b/BlendFile/DNA/ImageFormatData.cs index b6cbe63..f3d600f 100644 --- a/BlendFile/DNA/ImageFormatData.cs +++ b/BlendFile/DNA/ImageFormatData.cs @@ -59,6 +59,30 @@ namespace BlendFile.DNA { public ColorManagedDisplaySettings display_settings; [DNAFieldAttribute(21, "ColorManagedColorspaceSettings", "linear_colorspace_settings", 64)] public ColorManagedColorspaceSettings linear_colorspace_settings; + public ImageFormatData() { + this.imtype = default; + this.depth = default; + this.planes = default; + this.flag = default; + this.quality = default; + this.compress = default; + this.exr_codec = default; + this.cineon_flag = default; + this.cineon_white = default; + this.cineon_black = default; + this.cineon_gamma = default; + this.jp2_flag = default; + this.jp2_codec = default; + this.tiff_codec = default; + this._pad = default; + this.views_format = default; + this.stereo3d_format = default; + this.color_management = default; + this._pad1 = default; + this.view_settings = default; + this.display_settings = default; + this.linear_colorspace_settings = default; + } public ImageFormatData( char imtype, char depth, diff --git a/BlendFile/DNA/ImagePackedFile.cs b/BlendFile/DNA/ImagePackedFile.cs index 25a0aa0..e36831a 100644 --- a/BlendFile/DNA/ImagePackedFile.cs +++ b/BlendFile/DNA/ImagePackedFile.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int tile_number; [DNAFieldAttribute(5, "char", "filepath[1024]", 1)] public char[] filepath = new System.Char[1024]; + public ImagePackedFile() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_packedfile = default; + this.view = default; + this.tile_number = default; + this.filepath = default; + } public ImagePackedFile(ImagePackedFile ptr_next, ImagePackedFile ptr_prev, PackedFile ptr_packedfile, int view, int tile_number, char[] filepath) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ImagePaintSettings.cs b/BlendFile/DNA/ImagePaintSettings.cs index 9e1e1c4..9f167dd 100644 --- a/BlendFile/DNA/ImagePaintSettings.cs +++ b/BlendFile/DNA/ImagePaintSettings.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int interp; [DNAFieldAttribute(13, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public ImagePaintSettings() { + this.paint = default; + this.flag = default; + this.missing_data = default; + this.seam_bleed = default; + this.normal_angle = default; + this.screen_grab_size = default; + this.mode = default; + this.ptr_stencil = default; + this.ptr_clone = default; + this.ptr_canvas = default; + this.stencil_col = default; + this.dither = default; + this.interp = default; + this._pad = default; + } public ImagePaintSettings(Paint paint, short flag, short missing_data, short seam_bleed, short normal_angle, short[] screen_grab_size, int mode, Image ptr_stencil, Image ptr_clone, Image ptr_canvas, float[] stencil_col, float dither, int interp, char[] _pad) { this.paint = paint; this.flag = flag; diff --git a/BlendFile/DNA/ImageTile.cs b/BlendFile/DNA/ImageTile.cs index 19c7018..72a91fd 100644 --- a/BlendFile/DNA/ImageTile.cs +++ b/BlendFile/DNA/ImageTile.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public float[] gen_color = new System.Single[4]; [DNAFieldAttribute(10, "char", "label[64]", 1)] public char[] label = new System.Char[64]; + public ImageTile() { + this.ptr_next = default; + this.ptr_prev = default; + this.runtime = default; + this.tile_number = default; + this.gen_x = default; + this.gen_y = default; + this.gen_type = default; + this.gen_flag = default; + this.gen_depth = default; + this.gen_color = default; + this.label = default; + } public ImageTile(ImageTile ptr_next, ImageTile ptr_prev, ImageTile_Runtime runtime, int tile_number, int gen_x, int gen_y, char gen_type, char gen_flag, short gen_depth, float[] gen_color, char[] label) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ImageTile_Runtime.cs b/BlendFile/DNA/ImageTile_Runtime.cs index b8b5778..a73edeb 100644 --- a/BlendFile/DNA/ImageTile_Runtime.cs +++ b/BlendFile/DNA/ImageTile_Runtime.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int[] tilearray_offset = new System.Int32[2]; [DNAFieldAttribute(3, "int", "tilearray_size[2]", 4)] public int[] tilearray_size = new System.Int32[2]; + public ImageTile_Runtime() { + this.tilearray_layer = default; + this._pad = default; + this.tilearray_offset = default; + this.tilearray_size = default; + } public ImageTile_Runtime(int tilearray_layer, int _pad, int[] tilearray_offset, int[] tilearray_size) { this.tilearray_layer = tilearray_layer; this._pad = _pad; diff --git a/BlendFile/DNA/ImageUser.cs b/BlendFile/DNA/ImageUser.cs index 6c49913..6ee1217 100644 --- a/BlendFile/DNA/ImageUser.cs +++ b/BlendFile/DNA/ImageUser.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public short layer; [DNAFieldAttribute(12, "short", "flag", 2)] public short flag; + public ImageUser() { + this.ptr_scene = default; + this.framenr = default; + this.frames = default; + this.offset = default; + this.sfra = default; + this.cycl = default; + this.multiview_eye = default; + this.pass = default; + this.tile = default; + this.multi_index = default; + this.view = default; + this.layer = default; + this.flag = default; + } public ImageUser(Scene ptr_scene, int framenr, int frames, int offset, int sfra, char cycl, char multiview_eye, short pass, int tile, short multi_index, short view, short layer, short flag) { this.ptr_scene = ptr_scene; this.framenr = framenr; diff --git a/BlendFile/DNA/ImageView.cs b/BlendFile/DNA/ImageView.cs index 32f42c8..785363f 100644 --- a/BlendFile/DNA/ImageView.cs +++ b/BlendFile/DNA/ImageView.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(3, "char", "filepath[1024]", 1)] public char[] filepath = new System.Char[1024]; + public ImageView() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.filepath = default; + } public ImageView(ImageView ptr_next, ImageView ptr_prev, char[] name, char[] filepath) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Image_Runtime.cs b/BlendFile/DNA/Image_Runtime.cs index 2db5c1c..33b59ca 100644 --- a/BlendFile/DNA/Image_Runtime.cs +++ b/BlendFile/DNA/Image_Runtime.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public PartialUpdateUser ptr_partial_update_user; [DNAFieldAttribute(3, "float", "backdrop_offset[2]", 4)] public float[] backdrop_offset = new System.Single[2]; + public Image_Runtime() { + this.ptr_cache_mutex = default; + this.ptr_partial_update_register = default; + this.ptr_partial_update_user = default; + this.backdrop_offset = default; + } public Image_Runtime(object ptr_cache_mutex, PartialUpdateRegister ptr_partial_update_register, PartialUpdateUser ptr_partial_update_user, float[] backdrop_offset) { this.ptr_cache_mutex = ptr_cache_mutex; this.ptr_partial_update_register = ptr_partial_update_register; diff --git a/BlendFile/DNA/IndexSwitchItem.cs b/BlendFile/DNA/IndexSwitchItem.cs index 24e1833..147d149 100644 --- a/BlendFile/DNA/IndexSwitchItem.cs +++ b/BlendFile/DNA/IndexSwitchItem.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct IndexSwitchItem { [DNAFieldAttribute(0, "int", "identifier", 4)] public int identifier; + public IndexSwitchItem() { + this.identifier = default; + } public IndexSwitchItem(int identifier) { this.identifier = identifier; } diff --git a/BlendFile/DNA/Ipo.cs b/BlendFile/DNA/Ipo.cs index dfcb140..dc74b43 100644 --- a/BlendFile/DNA/Ipo.cs +++ b/BlendFile/DNA/Ipo.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short muteipo; [DNAFieldAttribute(6, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public Ipo() { + this.id = default; + this.curve = default; + this.cur = default; + this.blocktype = default; + this.showkey = default; + this.muteipo = default; + this._pad = default; + } public Ipo(ID id, ListBase curve, rctf cur, short blocktype, short showkey, short muteipo, char[] _pad) { this.id = id; this.curve = curve; diff --git a/BlendFile/DNA/IpoCurve.cs b/BlendFile/DNA/IpoCurve.cs index 4316b85..1c6d5ee 100644 --- a/BlendFile/DNA/IpoCurve.cs +++ b/BlendFile/DNA/IpoCurve.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public float curval; [DNAFieldAttribute(20, "IpoDriver", "*driver", 144)] public IpoDriver ptr_driver; + public IpoCurve() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_bp = default; + this.ptr_bezt = default; + this.maxrct = default; + this.totrct = default; + this.blocktype = default; + this.adrcode = default; + this.vartype = default; + this.totvert = default; + this.ipo = default; + this.extrap = default; + this.flag = default; + this._pad0 = default; + this.ymin = default; + this.ymax = default; + this.bitmask = default; + this.slide_min = default; + this.slide_max = default; + this.curval = default; + this.ptr_driver = default; + } public IpoCurve( IpoCurve ptr_next, IpoCurve ptr_prev, diff --git a/BlendFile/DNA/IpoDriver.cs b/BlendFile/DNA/IpoDriver.cs index efc72d0..3999e6a 100644 --- a/BlendFile/DNA/IpoDriver.cs +++ b/BlendFile/DNA/IpoDriver.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(5, "char", "name[128]", 1)] public char[] name = new System.Char[128]; + public IpoDriver() { + this.ptr_ob = default; + this.blocktype = default; + this.adrcode = default; + this.type = default; + this.flag = default; + this.name = default; + } public IpoDriver(Object ptr_ob, short blocktype, short adrcode, short type, short flag, char[] name) { this.ptr_ob = ptr_ob; this.blocktype = blocktype; diff --git a/BlendFile/DNA/KS_Path.cs b/BlendFile/DNA/KS_Path.cs index c191d0f..569c5c8 100644 --- a/BlendFile/DNA/KS_Path.cs +++ b/BlendFile/DNA/KS_Path.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public short keyingflag; [DNAFieldAttribute(10, "short", "keyingoverride", 2)] public short keyingoverride; + public KS_Path() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_id = default; + this.group = default; + this.idtype = default; + this.groupmode = default; + this.flag = default; + this.ptr_rna_path = default; + this.array_index = default; + this.keyingflag = default; + this.keyingoverride = default; + } public KS_Path(KS_Path ptr_next, KS_Path ptr_prev, ID ptr_id, char[] group, int idtype, short groupmode, short flag, char ptr_rna_path, int array_index, short keyingflag, short keyingoverride) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Key.cs b/BlendFile/DNA/Key.cs index f3eaa28..fa6e779 100644 --- a/BlendFile/DNA/Key.cs +++ b/BlendFile/DNA/Key.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public float ctime; [DNAFieldAttribute(14, "int", "uidgen", 4)] public int uidgen; + public Key() { + this.id = default; + this.ptr_adt = default; + this.ptr_refkey = default; + this.elemstr = default; + this.elemsize = default; + this._pad = default; + this.block = default; + this.ptr_ipo = default; + this.ptr_from = default; + this.totkey = default; + this.flag = default; + this.type = default; + this._pad2 = default; + this.ctime = default; + this.uidgen = default; + } public Key(ID id, AnimData ptr_adt, KeyBlock ptr_refkey, char[] elemstr, int elemsize, char[] _pad, ListBase block, Ipo ptr_ipo, ID ptr_from, int totkey, short flag, char type, char _pad2, float ctime, int uidgen) { this.id = id; this.ptr_adt = ptr_adt; diff --git a/BlendFile/DNA/KeyBlock.cs b/BlendFile/DNA/KeyBlock.cs index 210d213..75cc21e 100644 --- a/BlendFile/DNA/KeyBlock.cs +++ b/BlendFile/DNA/KeyBlock.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public float slidermin; [DNAFieldAttribute(14, "float", "slidermax", 4)] public float slidermax; + public KeyBlock() { + this.ptr_next = default; + this.ptr_prev = default; + this.pos = default; + this.curval = default; + this.type = default; + this._pad1 = default; + this.relative = default; + this.flag = default; + this.totelem = default; + this.uid = default; + this.ptr_data = default; + this.name = default; + this.vgroup = default; + this.slidermin = default; + this.slidermax = default; + } public KeyBlock(KeyBlock ptr_next, KeyBlock ptr_prev, float pos, float curval, short type, char[] _pad1, short relative, short flag, int totelem, int uid, object ptr_data, char[] name, char[] vgroup, float slidermin, float slidermax) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/KeyingSet.cs b/BlendFile/DNA/KeyingSet.cs index 0bb99a7..eb42a2e 100644 --- a/BlendFile/DNA/KeyingSet.cs +++ b/BlendFile/DNA/KeyingSet.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public short keyingoverride; [DNAFieldAttribute(11, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public KeyingSet() { + this.ptr_next = default; + this.ptr_prev = default; + this.paths = default; + this.idname = default; + this.name = default; + this.description = default; + this.typeinfo = default; + this.active_path = default; + this.flag = default; + this.keyingflag = default; + this.keyingoverride = default; + this._pad = default; + } public KeyingSet(KeyingSet ptr_next, KeyingSet ptr_prev, ListBase paths, char[] idname, char[] name, char[] description, char[] typeinfo, int active_path, short flag, short keyingflag, short keyingoverride, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Lamp.cs b/BlendFile/DNA/Lamp.cs index dd52827..f3a9085 100644 --- a/BlendFile/DNA/Lamp.cs +++ b/BlendFile/DNA/Lamp.cs @@ -95,6 +95,48 @@ namespace BlendFile.DNA { public float energy; [DNAFieldAttribute(39, "float", "_pad2", 4)] public float _pad2; + public Lamp() { + this.id = default; + this.ptr_adt = default; + this.type = default; + this.flag = default; + this.mode = default; + this.r = default; + this.g = default; + this.b = default; + this.energy_new = default; + this.radius = default; + this.spotsize = default; + this.spotblend = default; + this.area_shape = default; + this._pad1 = default; + this.area_size = default; + this.area_sizey = default; + this.area_sizez = default; + this.area_spread = default; + this.sun_angle = default; + this.pr_texture = default; + this.use_nodes = default; + this.clipsta = default; + this.clipend = default; + this.cascade_max_dist = default; + this.cascade_exponent = default; + this.cascade_fade = default; + this.cascade_count = default; + this.diff_fac = default; + this.spec_fac = default; + this.transmission_fac = default; + this.volume_fac = default; + this.att_dist = default; + this.shadow_filter_radius = default; + this.shadow_maximum_resolution = default; + this.shadow_jitter_overblur = default; + this.ptr_preview = default; + this.ptr_nodetree = default; + this.ptr_ipo = default; + this.energy = default; + this._pad2 = default; + } public Lamp( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/LaplacianDeformModifierData.cs b/BlendFile/DNA/LaplacianDeformModifierData.cs index d3f58d6..4e3ac0e 100644 --- a/BlendFile/DNA/LaplacianDeformModifierData.cs +++ b/BlendFile/DNA/LaplacianDeformModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(7, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public LaplacianDeformModifierData() { + this.modifier = default; + this.anchor_grp_name = default; + this.total_verts = default; + this.repeat = default; + this.ptr_vertexco = default; + this.ptr_cache_system = default; + this.flag = default; + this._pad = default; + } public LaplacianDeformModifierData(ModifierData modifier, char[] anchor_grp_name, int total_verts, int repeat, float ptr_vertexco, object ptr_cache_system, short flag, char[] _pad) { this.modifier = modifier; this.anchor_grp_name = anchor_grp_name; diff --git a/BlendFile/DNA/LaplacianSmoothModifierData.cs b/BlendFile/DNA/LaplacianSmoothModifierData.cs index 7514505..08c87a2 100644 --- a/BlendFile/DNA/LaplacianSmoothModifierData.cs +++ b/BlendFile/DNA/LaplacianSmoothModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(6, "short", "repeat", 2)] public short repeat; + public LaplacianSmoothModifierData() { + this.modifier = default; + this.lambda = default; + this.lambda_border = default; + this._pad1 = default; + this.defgrp_name = default; + this.flag = default; + this.repeat = default; + } public LaplacianSmoothModifierData(ModifierData modifier, float lambda, float lambda_border, char[] _pad1, char[] defgrp_name, short flag, short repeat) { this.modifier = modifier; this.lambda = lambda; diff --git a/BlendFile/DNA/Lattice.cs b/BlendFile/DNA/Lattice.cs index de7c6fd..3047ea8 100644 --- a/BlendFile/DNA/Lattice.cs +++ b/BlendFile/DNA/Lattice.cs @@ -75,6 +75,38 @@ namespace BlendFile.DNA { public EditLatt ptr_editlatt; [DNAFieldAttribute(29, "void", "*batch_cache", 0)] public object ptr_batch_cache; + public Lattice() { + this.id = default; + this.ptr_adt = default; + this.pntsu = default; + this.pntsv = default; + this.pntsw = default; + this.flag = default; + this.opntsu = default; + this.opntsv = default; + this.opntsw = default; + this._pad2 = default; + this.typeu = default; + this.typev = default; + this.typew = default; + this.actbp = default; + this.fu = default; + this.fv = default; + this.fw = default; + this.du = default; + this.dv = default; + this.dw = default; + this.ptr_def = default; + this.ptr_ipo = default; + this.ptr_key = default; + this.ptr_dvert = default; + this.vgroup = default; + this.vertex_group_names = default; + this.vertex_group_active_index = default; + this._pad0 = default; + this.ptr_editlatt = default; + this.ptr_batch_cache = default; + } public Lattice( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/LatticeGpencilModifierData.cs b/BlendFile/DNA/LatticeGpencilModifierData.cs index 46dd17e..b9fc073 100644 --- a/BlendFile/DNA/LatticeGpencilModifierData.cs +++ b/BlendFile/DNA/LatticeGpencilModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(10, "LatticeDeformData", "*cache_data", 0)] public LatticeDeformData ptr_cache_data; + public LatticeGpencilModifierData() { + this.modifier = default; + this.ptr_object = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.strength = default; + this.layer_pass = default; + this.ptr_cache_data = default; + } public LatticeGpencilModifierData(GpencilModifierData modifier, Object ptr_object, Material ptr_material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float strength, int layer_pass, LatticeDeformData ptr_cache_data) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/LatticeModifierData.cs b/BlendFile/DNA/LatticeModifierData.cs index 177fabe..953aa96 100644 --- a/BlendFile/DNA/LatticeModifierData.cs +++ b/BlendFile/DNA/LatticeModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(6, "void", "*_pad1", 0)] public object ptr__pad1; + public LatticeModifierData() { + this.modifier = default; + this.ptr_object = default; + this.name = default; + this.strength = default; + this.flag = default; + this._pad = default; + this.ptr__pad1 = default; + } public LatticeModifierData(ModifierData modifier, Object ptr_object, char[] name, float strength, short flag, char[] _pad, object ptr__pad1) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/LayerCollection.cs b/BlendFile/DNA/LayerCollection.cs index 5174891..5786dde 100644 --- a/BlendFile/DNA/LayerCollection.cs +++ b/BlendFile/DNA/LayerCollection.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public short local_collections_bits; [DNAFieldAttribute(9, "short", "_pad2[3]", 2)] public short[] _pad2 = new System.Int16[3]; + public LayerCollection() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_collection = default; + this.ptr__pad1 = default; + this.flag = default; + this.runtime_flag = default; + this._pad = default; + this.layer_collections = default; + this.local_collections_bits = default; + this._pad2 = default; + } public LayerCollection(LayerCollection ptr_next, LayerCollection ptr_prev, Collection ptr_collection, object ptr__pad1, short flag, short runtime_flag, char[] _pad, ListBase layer_collections, short local_collections_bits, short[] _pad2) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/LayoutPanelState.cs b/BlendFile/DNA/LayoutPanelState.cs index 06f856b..d188d85 100644 --- a/BlendFile/DNA/LayoutPanelState.cs +++ b/BlendFile/DNA/LayoutPanelState.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public byte flag; [DNAFieldAttribute(4, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public LayoutPanelState() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_idname = default; + this.flag = default; + this._pad = default; + } public LayoutPanelState(LayoutPanelState ptr_next, LayoutPanelState ptr_prev, char ptr_idname, byte flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/LengthGpencilModifierData.cs b/BlendFile/DNA/LengthGpencilModifierData.cs index a4c63a6..0dd5f53 100644 --- a/BlendFile/DNA/LengthGpencilModifierData.cs +++ b/BlendFile/DNA/LengthGpencilModifierData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public float segment_influence; [DNAFieldAttribute(18, "float", "max_angle", 4)] public float max_angle; + public LengthGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.pass_index = default; + this.flag = default; + this.layer_pass = default; + this.start_fac = default; + this.end_fac = default; + this.rand_start_fac = default; + this.rand_end_fac = default; + this.rand_offset = default; + this.overshoot_fac = default; + this.seed = default; + this.step = default; + this.mode = default; + this._pad = default; + this.point_density = default; + this.segment_influence = default; + this.max_angle = default; + } public LengthGpencilModifierData( GpencilModifierData modifier, Material ptr_material, diff --git a/BlendFile/DNA/Library.cs b/BlendFile/DNA/Library.cs index 153e13a..2d98f1c 100644 --- a/BlendFile/DNA/Library.cs +++ b/BlendFile/DNA/Library.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public PackedFile ptr_packedfile; [DNAFieldAttribute(3, "Library_Runtime", "runtime", 1064)] public Library_Runtime runtime; + public Library() { + this.id = default; + this.name = default; + this.ptr_packedfile = default; + this.runtime = default; + } public Library(ID id, char[] name, PackedFile ptr_packedfile, Library_Runtime runtime) { this.id = id; this.name = name; diff --git a/BlendFile/DNA/LibraryWeakReference.cs b/BlendFile/DNA/LibraryWeakReference.cs index 9414ba5..dd0d078 100644 --- a/BlendFile/DNA/LibraryWeakReference.cs +++ b/BlendFile/DNA/LibraryWeakReference.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] library_id_name = new System.Char[66]; [DNAFieldAttribute(2, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public LibraryWeakReference() { + this.library_filepath = default; + this.library_id_name = default; + this._pad = default; + } public LibraryWeakReference(char[] library_filepath, char[] library_id_name, char[] _pad) { this.library_filepath = library_filepath; this.library_id_name = library_id_name; diff --git a/BlendFile/DNA/Library_Runtime.cs b/BlendFile/DNA/Library_Runtime.cs index 9044fc4..9a36776 100644 --- a/BlendFile/DNA/Library_Runtime.cs +++ b/BlendFile/DNA/Library_Runtime.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public short versionfile; [DNAFieldAttribute(8, "short", "subversionfile", 2)] public short subversionfile; + public Library_Runtime() { + this.ptr_name_map = default; + this.ptr_filedata = default; + this.filepath_abs = default; + this.ptr_parent = default; + this.tag = default; + this._pad = default; + this.temp_index = default; + this.versionfile = default; + this.subversionfile = default; + } public Library_Runtime(UniqueName_Map ptr_name_map, FileData ptr_filedata, char[] filepath_abs, Library ptr_parent, ushort tag, char[] _pad, int temp_index, short versionfile, short subversionfile) { this.ptr_name_map = ptr_name_map; this.ptr_filedata = ptr_filedata; diff --git a/BlendFile/DNA/LightCache.cs b/BlendFile/DNA/LightCache.cs index c170521..0ab029e 100644 --- a/BlendFile/DNA/LightCache.cs +++ b/BlendFile/DNA/LightCache.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public LightProbeCache ptr_cube_data; [DNAFieldAttribute(13, "LightGridCache", "*grid_data", 160)] public LightGridCache ptr_grid_data; + public LightCache() { + this.flag = default; + this.version = default; + this.type = default; + this.cube_len = default; + this.grid_len = default; + this.mips_len = default; + this.vis_res = default; + this.ref_res = default; + this._pad = default; + this.grid_tx = default; + this.cube_tx = default; + this.ptr_cube_mips = default; + this.ptr_cube_data = default; + this.ptr_grid_data = default; + } public LightCache(int flag, int version, int type, int cube_len, int grid_len, int mips_len, int vis_res, int ref_res, char[,] _pad, LightCacheTexture grid_tx, LightCacheTexture cube_tx, LightCacheTexture ptr_cube_mips, LightProbeCache ptr_cube_data, LightGridCache ptr_grid_data) { this.flag = flag; this.version = version; diff --git a/BlendFile/DNA/LightCacheTexture.cs b/BlendFile/DNA/LightCacheTexture.cs index b985167..29ac8c1 100644 --- a/BlendFile/DNA/LightCacheTexture.cs +++ b/BlendFile/DNA/LightCacheTexture.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char components; [DNAFieldAttribute(5, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public LightCacheTexture() { + this.ptr_tex = default; + this.ptr_data = default; + this.tex_size = default; + this.data_type = default; + this.components = default; + this._pad = default; + } public LightCacheTexture(GPUTexture ptr_tex, char ptr_data, int[] tex_size, char data_type, char components, char[] _pad) { this.ptr_tex = ptr_tex; this.ptr_data = ptr_data; diff --git a/BlendFile/DNA/LightGridCache.cs b/BlendFile/DNA/LightGridCache.cs index 025ea44..7e66bba 100644 --- a/BlendFile/DNA/LightGridCache.cs +++ b/BlendFile/DNA/LightGridCache.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public float visibility_range; [DNAFieldAttribute(14, "float", "_pad5", 4)] public float _pad5; + public LightGridCache() { + this.mat = default; + this.resolution = default; + this.offset = default; + this.corner = default; + this.attenuation_scale = default; + this.increment_x = default; + this.attenuation_bias = default; + this.increment_y = default; + this.level_bias = default; + this.increment_z = default; + this._pad4 = default; + this.visibility_bias = default; + this.visibility_bleed = default; + this.visibility_range = default; + this._pad5 = default; + } public LightGridCache(float[,] mat, int[] resolution, int offset, float[] corner, float attenuation_scale, float[] increment_x, float attenuation_bias, float[] increment_y, float level_bias, float[] increment_z, float _pad4, float visibility_bias, float visibility_bleed, float visibility_range, float _pad5) { this.mat = mat; this.resolution = resolution; diff --git a/BlendFile/DNA/LightLinking.cs b/BlendFile/DNA/LightLinking.cs index 76c990b..0c92075 100644 --- a/BlendFile/DNA/LightLinking.cs +++ b/BlendFile/DNA/LightLinking.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public Collection ptr_blocker_collection; [DNAFieldAttribute(2, "LightLinkingRuntime", "runtime", 24)] public LightLinkingRuntime runtime; + public LightLinking() { + this.ptr_receiver_collection = default; + this.ptr_blocker_collection = default; + this.runtime = default; + } public LightLinking(Collection ptr_receiver_collection, Collection ptr_blocker_collection, LightLinkingRuntime runtime) { this.ptr_receiver_collection = ptr_receiver_collection; this.ptr_blocker_collection = ptr_blocker_collection; diff --git a/BlendFile/DNA/LightLinkingRuntime.cs b/BlendFile/DNA/LightLinkingRuntime.cs index 1fc748d..7cd1e01 100644 --- a/BlendFile/DNA/LightLinkingRuntime.cs +++ b/BlendFile/DNA/LightLinkingRuntime.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public byte blocker_shadow_set; [DNAFieldAttribute(4, "uchar", "_pad[6]", 1)] public byte[] _pad = new System.Byte[6]; + public LightLinkingRuntime() { + this.light_set_membership = default; + this.shadow_set_membership = default; + this.receiver_light_set = default; + this.blocker_shadow_set = default; + this._pad = default; + } public LightLinkingRuntime(ulong light_set_membership, ulong shadow_set_membership, byte receiver_light_set, byte blocker_shadow_set, byte[] _pad) { this.light_set_membership = light_set_membership; this.shadow_set_membership = shadow_set_membership; diff --git a/BlendFile/DNA/LightProbe.cs b/BlendFile/DNA/LightProbe.cs index e405dbe..de0feba 100644 --- a/BlendFile/DNA/LightProbe.cs +++ b/BlendFile/DNA/LightProbe.cs @@ -85,6 +85,43 @@ namespace BlendFile.DNA { public float data_display_size; [DNAFieldAttribute(34, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public LightProbe() { + this.id = default; + this.ptr_adt = default; + this.type = default; + this.flag = default; + this.attenuation_type = default; + this.parallax_type = default; + this.grid_flag = default; + this._pad0 = default; + this.distinf = default; + this.distpar = default; + this.falloff = default; + this.clipsta = default; + this.clipend = default; + this.vis_bias = default; + this.vis_bleedbias = default; + this.vis_blur = default; + this.intensity = default; + this.grid_resolution_x = default; + this.grid_resolution_y = default; + this.grid_resolution_z = default; + this.grid_bake_samples = default; + this.grid_surface_bias = default; + this.grid_escape_bias = default; + this.grid_normal_bias = default; + this.grid_view_bias = default; + this.grid_facing_bias = default; + this.grid_validity_threshold = default; + this.grid_dilation_threshold = default; + this.grid_dilation_radius = default; + this.grid_clamp_direct = default; + this.grid_clamp_indirect = default; + this.grid_surfel_density = default; + this.ptr_visibility_grp = default; + this.data_display_size = default; + this._pad1 = default; + } public LightProbe( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/LightProbeBakingData.cs b/BlendFile/DNA/LightProbeBakingData.cs index aed396d..2554265 100644 --- a/BlendFile/DNA/LightProbeBakingData.cs +++ b/BlendFile/DNA/LightProbeBakingData.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class LightProbeBakingData { [DNAFieldAttribute(4, "float", "*validity", 4)] public float ptr_validity; + public LightProbeBakingData() { + this.ptr_validity = default; + } public LightProbeBakingData(float ptr_validity) { this.ptr_validity = ptr_validity; } diff --git a/BlendFile/DNA/LightProbeBlockData.cs b/BlendFile/DNA/LightProbeBlockData.cs index 2d60fa4..13dbebb 100644 --- a/BlendFile/DNA/LightProbeBlockData.cs +++ b/BlendFile/DNA/LightProbeBlockData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int[] offset = new System.Int32[3]; [DNAFieldAttribute(1, "int", "level", 4)] public int level; + public LightProbeBlockData() { + this.offset = default; + this.level = default; + } public LightProbeBlockData(int[] offset, int level) { this.offset = offset; this.level = level; diff --git a/BlendFile/DNA/LightProbeCache.cs b/BlendFile/DNA/LightProbeCache.cs index 2e40cfe..590e677 100644 --- a/BlendFile/DNA/LightProbeCache.cs +++ b/BlendFile/DNA/LightProbeCache.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float[,] attenuationmat = new System.Single[4,4]; [DNAFieldAttribute(6, "float", "parallaxmat[4][4]", 4)] public float[,] parallaxmat = new System.Single[4,4]; + public LightProbeCache() { + this.position = default; + this.parallax_type = default; + this.attenuation_fac = default; + this.attenuation_type = default; + this._pad3 = default; + this.attenuationmat = default; + this.parallaxmat = default; + } public LightProbeCache(float[] position, float parallax_type, float attenuation_fac, float attenuation_type, float[] _pad3, float[,] attenuationmat, float[,] parallaxmat) { this.position = position; this.parallax_type = parallax_type; diff --git a/BlendFile/DNA/LightProbeConnectivityData.cs b/BlendFile/DNA/LightProbeConnectivityData.cs index 29c3d08..19a8f7c 100644 --- a/BlendFile/DNA/LightProbeConnectivityData.cs +++ b/BlendFile/DNA/LightProbeConnectivityData.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class LightProbeConnectivityData { [DNAFieldAttribute(0, "uchar", "*validity", 1)] public byte ptr_validity; + public LightProbeConnectivityData() { + this.ptr_validity = default; + } public LightProbeConnectivityData(byte ptr_validity) { this.ptr_validity = ptr_validity; } diff --git a/BlendFile/DNA/LightProbeGridCacheFrame.cs b/BlendFile/DNA/LightProbeGridCacheFrame.cs index faf2fdd..d67d0ff 100644 --- a/BlendFile/DNA/LightProbeGridCacheFrame.cs +++ b/BlendFile/DNA/LightProbeGridCacheFrame.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public int surfels_len; [DNAFieldAttribute(11, "void", "*surfels", 0)] public object ptr_surfels; + public LightProbeGridCacheFrame() { + this.size = default; + this.data_layout = default; + this.block_len = default; + this.block_size = default; + this.ptr_block_infos = default; + this.baking = default; + this.irradiance = default; + this.visibility = default; + this.connectivity = default; + this._pad = default; + this.surfels_len = default; + this.ptr_surfels = default; + } public LightProbeGridCacheFrame(int[] size, int data_layout, int block_len, int block_size, LightProbeBlockData ptr_block_infos, LightProbeBakingData baking, LightProbeIrradianceData irradiance, LightProbeVisibilityData visibility, LightProbeConnectivityData connectivity, char[] _pad, int surfels_len, object ptr_surfels) { this.size = size; this.data_layout = data_layout; diff --git a/BlendFile/DNA/LightProbeIrradianceData.cs b/BlendFile/DNA/LightProbeIrradianceData.cs index a46bae5..9dd9788 100644 --- a/BlendFile/DNA/LightProbeIrradianceData.cs +++ b/BlendFile/DNA/LightProbeIrradianceData.cs @@ -15,7 +15,8 @@ namespace BlendFile.DNA { [DNAClassAttribute(358, "LightProbeIrradianceData")] public class LightProbeIrradianceData { - public LightProbeIrradianceData() { + public LightProbeIrradianceData() + { } } } diff --git a/BlendFile/DNA/LightProbeObjectCache.cs b/BlendFile/DNA/LightProbeObjectCache.cs index 7872947..d4e404a 100644 --- a/BlendFile/DNA/LightProbeObjectCache.cs +++ b/BlendFile/DNA/LightProbeObjectCache.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(4, "LightProbeGridCacheFrame", "*grid_static_cache", 168)] public LightProbeGridCacheFrame ptr_grid_static_cache; + public LightProbeObjectCache() { + this.cache_type = default; + this.shared = default; + this.dirty = default; + this._pad0 = default; + this.ptr_grid_static_cache = default; + } public LightProbeObjectCache(int cache_type, char shared, char dirty, char[] _pad0, LightProbeGridCacheFrame ptr_grid_static_cache) { this.cache_type = cache_type; this.shared = shared; diff --git a/BlendFile/DNA/LightProbeVisibilityData.cs b/BlendFile/DNA/LightProbeVisibilityData.cs index 097b2c6..e1ecfba 100644 --- a/BlendFile/DNA/LightProbeVisibilityData.cs +++ b/BlendFile/DNA/LightProbeVisibilityData.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float ptr_L1_b; [DNAFieldAttribute(3, "float", "*L1_c", 4)] public float ptr_L1_c; + public LightProbeVisibilityData() { + this.ptr_L0 = default; + this.ptr_L1_a = default; + this.ptr_L1_b = default; + this.ptr_L1_c = default; + } public LightProbeVisibilityData(float ptr_L0, float ptr_L1_a, float ptr_L1_b, float ptr_L1_c) { this.ptr_L0 = ptr_L0; this.ptr_L1_a = ptr_L1_a; diff --git a/BlendFile/DNA/LightgroupMembership.cs b/BlendFile/DNA/LightgroupMembership.cs index 35cc795..c084512 100644 --- a/BlendFile/DNA/LightgroupMembership.cs +++ b/BlendFile/DNA/LightgroupMembership.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct LightgroupMembership { [DNAFieldAttribute(0, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public LightgroupMembership() { + this.name = default; + } public LightgroupMembership(char[] name) { this.name = name; } diff --git a/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs index 497accf..3d357f3 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(3, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleAlphaModifier_AlongStroke() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this._pad = default; + } public LineStyleAlphaModifier_AlongStroke(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs index 90d8348..9a9e841 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float max_angle; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleAlphaModifier_CreaseAngle() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.min_angle = default; + this.max_angle = default; + this._pad = default; + } public LineStyleAlphaModifier_CreaseAngle(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float min_angle, float max_angle, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs index 051bfe4..120c447 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float max_curvature; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleAlphaModifier_Curvature_3D() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.min_curvature = default; + this.max_curvature = default; + this._pad = default; + } public LineStyleAlphaModifier_Curvature_3D(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float min_curvature, float max_curvature, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs index 8151583..82a42af 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float range_max; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleAlphaModifier_DistanceFromCamera() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.range_min = default; + this.range_max = default; + this._pad = default; + } public LineStyleAlphaModifier_DistanceFromCamera(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float range_min, float range_max, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs index 2407c47..9fefdf2 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float range_max; [DNAFieldAttribute(6, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleAlphaModifier_DistanceFromObject() { + this.modifier = default; + this.ptr_target = default; + this.ptr_curve = default; + this.flags = default; + this.range_min = default; + this.range_max = default; + this._pad = default; + } public LineStyleAlphaModifier_DistanceFromObject(LineStyleModifier modifier, Object ptr_target, CurveMapping ptr_curve, int flags, float range_min, float range_max, char[] _pad) { this.modifier = modifier; this.ptr_target = ptr_target; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Material.cs b/BlendFile/DNA/LineStyleAlphaModifier_Material.cs index 7d28986..93f52fc 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Material.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Material.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(3, "int", "mat_attr", 4)] public int mat_attr; + public LineStyleAlphaModifier_Material() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.mat_attr = default; + } public LineStyleAlphaModifier_Material(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, int mat_attr) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs b/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs index e635408..99b7156 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float amplitude; [DNAFieldAttribute(5, "int", "seed", 4)] public int seed; + public LineStyleAlphaModifier_Noise() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.period = default; + this.amplitude = default; + this.seed = default; + } public LineStyleAlphaModifier_Noise(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float period, float amplitude, int seed) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs b/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs index 6276baf..0f14c52 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(3, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleAlphaModifier_Tangent() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this._pad = default; + } public LineStyleAlphaModifier_Tangent(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs index eb83942..d1cd8ed 100644 --- a/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(1, "ColorBand", "*color_ramp", 776)] public ColorBand ptr_color_ramp; + public LineStyleColorModifier_AlongStroke() { + this.modifier = default; + this.ptr_color_ramp = default; + } public LineStyleColorModifier_AlongStroke(LineStyleModifier modifier, ColorBand ptr_color_ramp) { this.modifier = modifier; this.ptr_color_ramp = ptr_color_ramp; diff --git a/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs index 0e6bd3a..69daed9 100644 --- a/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float min_angle; [DNAFieldAttribute(3, "float", "max_angle", 4)] public float max_angle; + public LineStyleColorModifier_CreaseAngle() { + this.modifier = default; + this.ptr_color_ramp = default; + this.min_angle = default; + this.max_angle = default; + } public LineStyleColorModifier_CreaseAngle(LineStyleModifier modifier, ColorBand ptr_color_ramp, float min_angle, float max_angle) { this.modifier = modifier; this.ptr_color_ramp = ptr_color_ramp; diff --git a/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs index c070085..4081c7c 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float range_min; [DNAFieldAttribute(5, "float", "range_max", 4)] public float range_max; + public LineStyleColorModifier_Curvature_3D() { + this.modifier = default; + this.min_curvature = default; + this.max_curvature = default; + this.ptr_color_ramp = default; + this.range_min = default; + this.range_max = default; + } public LineStyleColorModifier_Curvature_3D(LineStyleModifier modifier, float min_curvature, float max_curvature, ColorBand ptr_color_ramp, float range_min, float range_max) { this.modifier = modifier; this.min_curvature = min_curvature; diff --git a/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs index 5272e38..bab0784 100644 --- a/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float range_min; [DNAFieldAttribute(3, "float", "range_max", 4)] public float range_max; + public LineStyleColorModifier_DistanceFromCamera() { + this.modifier = default; + this.ptr_color_ramp = default; + this.range_min = default; + this.range_max = default; + } public LineStyleColorModifier_DistanceFromCamera(LineStyleModifier modifier, ColorBand ptr_color_ramp, float range_min, float range_max) { this.modifier = modifier; this.ptr_color_ramp = ptr_color_ramp; diff --git a/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs index fc5b09e..5f219b1 100644 --- a/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float range_min; [DNAFieldAttribute(4, "float", "range_max", 4)] public float range_max; + public LineStyleColorModifier_DistanceFromObject() { + this.modifier = default; + this.ptr_target = default; + this.ptr_color_ramp = default; + this.range_min = default; + this.range_max = default; + } public LineStyleColorModifier_DistanceFromObject(LineStyleModifier modifier, Object ptr_target, ColorBand ptr_color_ramp, float range_min, float range_max) { this.modifier = modifier; this.ptr_target = ptr_target; diff --git a/BlendFile/DNA/LineStyleColorModifier_Material.cs b/BlendFile/DNA/LineStyleColorModifier_Material.cs index 83a62b3..d20941c 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Material.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Material.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(3, "int", "mat_attr", 4)] public int mat_attr; + public LineStyleColorModifier_Material() { + this.modifier = default; + this.ptr_color_ramp = default; + this.flags = default; + this.mat_attr = default; + } public LineStyleColorModifier_Material(LineStyleModifier modifier, ColorBand ptr_color_ramp, int flags, int mat_attr) { this.modifier = modifier; this.ptr_color_ramp = ptr_color_ramp; diff --git a/BlendFile/DNA/LineStyleColorModifier_Noise.cs b/BlendFile/DNA/LineStyleColorModifier_Noise.cs index 5e5ff50..0e58390 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Noise.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int seed; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleColorModifier_Noise() { + this.modifier = default; + this.ptr_color_ramp = default; + this.period = default; + this.amplitude = default; + this.seed = default; + this._pad = default; + } public LineStyleColorModifier_Noise(LineStyleModifier modifier, ColorBand ptr_color_ramp, float period, float amplitude, int seed, char[] _pad) { this.modifier = modifier; this.ptr_color_ramp = ptr_color_ramp; diff --git a/BlendFile/DNA/LineStyleColorModifier_Tangent.cs b/BlendFile/DNA/LineStyleColorModifier_Tangent.cs index 264da6f..d21d653 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Tangent.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(1, "ColorBand", "*color_ramp", 776)] public ColorBand ptr_color_ramp; + public LineStyleColorModifier_Tangent() { + this.modifier = default; + this.ptr_color_ramp = default; + } public LineStyleColorModifier_Tangent(LineStyleModifier modifier, ColorBand ptr_color_ramp) { this.modifier = modifier; this.ptr_color_ramp = ptr_color_ramp; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs b/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs index 5ef5329..6d858cd 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float x; [DNAFieldAttribute(4, "float", "y", 4)] public float y; + public LineStyleGeometryModifier_2DOffset() { + this.modifier = default; + this.start = default; + this.end = default; + this.x = default; + this.y = default; + } public LineStyleGeometryModifier_2DOffset(LineStyleModifier modifier, float start, float end, float x, float y) { this.modifier = modifier; this.start = start; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs b/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs index d2adfe4..5a04f21 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public float pivot_y; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_2DTransform() { + this.modifier = default; + this.pivot = default; + this.scale_x = default; + this.scale_y = default; + this.angle = default; + this.pivot_u = default; + this.pivot_x = default; + this.pivot_y = default; + this._pad = default; + } public LineStyleGeometryModifier_2DTransform(LineStyleModifier modifier, int pivot, float scale_x, float scale_y, float angle, float pivot_u, float pivot_x, float pivot_y, char[] _pad) { this.modifier = modifier; this.pivot = pivot; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs b/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs index 38479a1..003dd34 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float backbone_length; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_BackboneStretcher() { + this.modifier = default; + this.backbone_length = default; + this._pad = default; + } public LineStyleGeometryModifier_BackboneStretcher(LineStyleModifier modifier, float backbone_length, char[] _pad) { this.modifier = modifier; this.backbone_length = backbone_length; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs b/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs index d6971e1..fec1064 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float error; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_BezierCurve() { + this.modifier = default; + this.error = default; + this._pad = default; + } public LineStyleGeometryModifier_BezierCurve(LineStyleModifier modifier, float error, char[] _pad) { this.modifier = modifier; this.error = error; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs b/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs index 4c886ea..d2baee3 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int random_center; [DNAFieldAttribute(6, "int", "random_backbone", 4)] public int random_backbone; + public LineStyleGeometryModifier_Blueprint() { + this.modifier = default; + this.flags = default; + this.rounds = default; + this.backbone_length = default; + this.random_radius = default; + this.random_center = default; + this.random_backbone = default; + } public LineStyleGeometryModifier_Blueprint(LineStyleModifier modifier, int flags, int rounds, float backbone_length, int random_radius, int random_center, int random_backbone) { this.modifier = modifier; this.flags = flags; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs b/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs index 04ac24d..903d7ae 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float offset; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_GuidingLines() { + this.modifier = default; + this.offset = default; + this._pad = default; + } public LineStyleGeometryModifier_GuidingLines(LineStyleModifier modifier, float offset, char[] _pad) { this.modifier = modifier; this.offset = offset; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs index 997a4ae..5cd13aa 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int seed; [DNAFieldAttribute(6, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public LineStyleGeometryModifier_PerlinNoise1D() { + this.modifier = default; + this.frequency = default; + this.amplitude = default; + this.angle = default; + this.octaves = default; + this.seed = default; + this._pad1 = default; + } public LineStyleGeometryModifier_PerlinNoise1D(LineStyleModifier modifier, float frequency, float amplitude, float angle, int octaves, int seed, char[] _pad1) { this.modifier = modifier; this.frequency = frequency; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs index 3767da3..86cbb71 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int seed; [DNAFieldAttribute(6, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public LineStyleGeometryModifier_PerlinNoise2D() { + this.modifier = default; + this.frequency = default; + this.amplitude = default; + this.angle = default; + this.octaves = default; + this.seed = default; + this._pad1 = default; + } public LineStyleGeometryModifier_PerlinNoise2D(LineStyleModifier modifier, float frequency, float amplitude, float angle, int octaves, int seed, char[] _pad1) { this.modifier = modifier; this.frequency = frequency; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs b/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs index 4a08fed..6757042 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float error; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_Polygonalization() { + this.modifier = default; + this.error = default; + this._pad = default; + } public LineStyleGeometryModifier_Polygonalization(LineStyleModifier modifier, float error, char[] _pad) { this.modifier = modifier; this.error = error; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs b/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs index a5499b5..510fa1d 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float sampling; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_Sampling() { + this.modifier = default; + this.sampling = default; + this._pad = default; + } public LineStyleGeometryModifier_Sampling(LineStyleModifier modifier, float sampling, char[] _pad) { this.modifier = modifier; this.sampling = sampling; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs b/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs index dcfbf30..e981010 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float tolerance; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_Simplification() { + this.modifier = default; + this.tolerance = default; + this._pad = default; + } public LineStyleGeometryModifier_Simplification(LineStyleModifier modifier, float tolerance, char[] _pad) { this.modifier = modifier; this.tolerance = tolerance; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs b/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs index e14077d..9c32be1 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float phase; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_SinusDisplacement() { + this.modifier = default; + this.wavelength = default; + this.amplitude = default; + this.phase = default; + this._pad = default; + } public LineStyleGeometryModifier_SinusDisplacement(LineStyleModifier modifier, float wavelength, float amplitude, float phase, char[] _pad) { this.modifier = modifier; this.wavelength = wavelength; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs b/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs index 7646f43..10b961a 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int octaves; [DNAFieldAttribute(4, "int", "flags", 4)] public int flags; + public LineStyleGeometryModifier_SpatialNoise() { + this.modifier = default; + this.amplitude = default; + this.scale = default; + this.octaves = default; + this.flags = default; + } public LineStyleGeometryModifier_SpatialNoise(LineStyleModifier modifier, float amplitude, float scale, int octaves, int flags) { this.modifier = modifier; this.amplitude = amplitude; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs b/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs index 5094c73..94b25fa 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float tip_length; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleGeometryModifier_TipRemover() { + this.modifier = default; + this.tip_length = default; + this._pad = default; + } public LineStyleGeometryModifier_TipRemover(LineStyleModifier modifier, float tip_length, char[] _pad) { this.modifier = modifier; this.tip_length = tip_length; diff --git a/BlendFile/DNA/LineStyleModifier.cs b/BlendFile/DNA/LineStyleModifier.cs index aee077b..f06cd89 100644 --- a/BlendFile/DNA/LineStyleModifier.cs +++ b/BlendFile/DNA/LineStyleModifier.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(6, "int", "blend", 4)] public int blend; + public LineStyleModifier() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.type = default; + this.influence = default; + this.flags = default; + this.blend = default; + } public LineStyleModifier(LineStyleModifier ptr_next, LineStyleModifier ptr_prev, char[] name, int type, float influence, int flags, int blend) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs index f934bd3..54a428b 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float value_max; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleThicknessModifier_AlongStroke() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.value_min = default; + this.value_max = default; + this._pad = default; + } public LineStyleThicknessModifier_AlongStroke(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float value_min, float value_max, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs b/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs index 8cf83c5..d85268a 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float orientation; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleThicknessModifier_Calligraphy() { + this.modifier = default; + this.min_thickness = default; + this.max_thickness = default; + this.orientation = default; + this._pad = default; + } public LineStyleThicknessModifier_Calligraphy(LineStyleModifier modifier, float min_thickness, float max_thickness, float orientation, char[] _pad) { this.modifier = modifier; this.min_thickness = min_thickness; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs index 28ed0a4..eadd61a 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float min_thickness; [DNAFieldAttribute(7, "float", "max_thickness", 4)] public float max_thickness; + public LineStyleThicknessModifier_CreaseAngle() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this._pad = default; + this.min_angle = default; + this.max_angle = default; + this.min_thickness = default; + this.max_thickness = default; + } public LineStyleThicknessModifier_CreaseAngle(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, char[] _pad, float min_angle, float max_angle, float min_thickness, float max_thickness) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs index 559a2e8..68c0eff 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float min_thickness; [DNAFieldAttribute(7, "float", "max_thickness", 4)] public float max_thickness; + public LineStyleThicknessModifier_Curvature_3D() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this._pad = default; + this.min_curvature = default; + this.max_curvature = default; + this.min_thickness = default; + this.max_thickness = default; + } public LineStyleThicknessModifier_Curvature_3D(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, char[] _pad, float min_curvature, float max_curvature, float min_thickness, float max_thickness) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs index 975b125..d7249e3 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float value_max; [DNAFieldAttribute(7, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleThicknessModifier_DistanceFromCamera() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.range_min = default; + this.range_max = default; + this.value_min = default; + this.value_max = default; + this._pad = default; + } public LineStyleThicknessModifier_DistanceFromCamera(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float range_min, float range_max, float value_min, float value_max, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs index 48ee81d..60a4520 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public float value_max; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleThicknessModifier_DistanceFromObject() { + this.modifier = default; + this.ptr_target = default; + this.ptr_curve = default; + this.flags = default; + this.range_min = default; + this.range_max = default; + this.value_min = default; + this.value_max = default; + this._pad = default; + } public LineStyleThicknessModifier_DistanceFromObject(LineStyleModifier modifier, Object ptr_target, CurveMapping ptr_curve, int flags, float range_min, float range_max, float value_min, float value_max, char[] _pad) { this.modifier = modifier; this.ptr_target = ptr_target; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Material.cs b/BlendFile/DNA/LineStyleThicknessModifier_Material.cs index 0b50449..19d51cc 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Material.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Material.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float value_max; [DNAFieldAttribute(5, "int", "mat_attr", 4)] public int mat_attr; + public LineStyleThicknessModifier_Material() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.value_min = default; + this.value_max = default; + this.mat_attr = default; + } public LineStyleThicknessModifier_Material(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float value_min, float value_max, int mat_attr) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs b/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs index 1f1bbcc..e8b2ad9 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(4, "int", "seed", 4)] public int seed; + public LineStyleThicknessModifier_Noise() { + this.modifier = default; + this.period = default; + this.amplitude = default; + this.flags = default; + this.seed = default; + } public LineStyleThicknessModifier_Noise(LineStyleModifier modifier, float period, float amplitude, int flags, int seed) { this.modifier = modifier; this.period = period; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs b/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs index 93911c8..706f7dd 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float max_thickness; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public LineStyleThicknessModifier_Tangent() { + this.modifier = default; + this.ptr_curve = default; + this.flags = default; + this.min_thickness = default; + this.max_thickness = default; + this._pad = default; + } public LineStyleThicknessModifier_Tangent(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, float min_thickness, float max_thickness, char[] _pad) { this.modifier = modifier; this.ptr_curve = ptr_curve; diff --git a/BlendFile/DNA/LineartGpencilModifierData.cs b/BlendFile/DNA/LineartGpencilModifierData.cs index 4e5ae83..d81e6e8 100644 --- a/BlendFile/DNA/LineartGpencilModifierData.cs +++ b/BlendFile/DNA/LineartGpencilModifierData.cs @@ -99,6 +99,50 @@ namespace BlendFile.DNA { public LineartCache ptr_cache; [DNAFieldAttribute(41, "LineartData", "*la_data_ptr", 0)] public LineartData ptr_la_data_ptr; + public LineartGpencilModifierData() { + this.modifier = default; + this.line_types = default; + this.source_type = default; + this.use_multiple_levels = default; + this.level_start = default; + this.level_end = default; + this.ptr_source_camera = default; + this.ptr_light_contour_object = default; + this.ptr_source_object = default; + this.ptr_source_collection = default; + this.ptr_target_material = default; + this.target_layer = default; + this.source_vertex_group = default; + this.vgname = default; + this.overscan = default; + this.shadow_camera_fov = default; + this.shadow_camera_size = default; + this.shadow_camera_near = default; + this.shadow_camera_far = default; + this.opacity = default; + this.thickness = default; + this.transparency_flags = default; + this.transparency_mask = default; + this.intersection_mask = default; + this.shadow_selection = default; + this.silhouette_selection = default; + this._pad = default; + this.crease_threshold = default; + this.angle_splitting_threshold = default; + this.chain_smooth_tolerance = default; + this.chaining_image_threshold = default; + this.calculation_flags = default; + this.flags = default; + this.stroke_depth_offset = default; + this.level_start_override = default; + this.level_end_override = default; + this.edge_types_override = default; + this.shadow_selection_override = default; + this.shadow_use_silhouette_override = default; + this._pad2 = default; + this.ptr_cache = default; + this.ptr_la_data_ptr = default; + } public LineartGpencilModifierData( GpencilModifierData modifier, ushort line_types, diff --git a/BlendFile/DNA/Link.cs b/BlendFile/DNA/Link.cs index a4a304f..62fc420 100644 --- a/BlendFile/DNA/Link.cs +++ b/BlendFile/DNA/Link.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public Link ptr_next; [DNAFieldAttribute(1, "Link", "*prev", 16)] public Link ptr_prev; + public Link() { + this.ptr_next = default; + this.ptr_prev = default; + } public Link(Link ptr_next, Link ptr_prev) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/LinkData.cs b/BlendFile/DNA/LinkData.cs index 6d96e54..dfbbff1 100644 --- a/BlendFile/DNA/LinkData.cs +++ b/BlendFile/DNA/LinkData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public LinkData ptr_prev; [DNAFieldAttribute(2, "void", "*data", 0)] public object ptr_data; + public LinkData() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_data = default; + } public LinkData(LinkData ptr_next, LinkData ptr_prev, object ptr_data) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ListBase.cs b/BlendFile/DNA/ListBase.cs index 32aec05..7f6d9f1 100644 --- a/BlendFile/DNA/ListBase.cs +++ b/BlendFile/DNA/ListBase.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public object ptr_first; [DNAFieldAttribute(1, "void", "*last", 0)] public object ptr_last; + public ListBase() { + this.ptr_first = default; + this.ptr_last = default; + } public ListBase(object ptr_first, object ptr_last) { this.ptr_first = ptr_first; this.ptr_last = ptr_last; diff --git a/BlendFile/DNA/MBoolProperty.cs b/BlendFile/DNA/MBoolProperty.cs index fd23aec..35e99ee 100644 --- a/BlendFile/DNA/MBoolProperty.cs +++ b/BlendFile/DNA/MBoolProperty.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MBoolProperty { [DNAFieldAttribute(0, "uchar", "b", 1)] public byte b; + public MBoolProperty() { + this.b = default; + } public MBoolProperty(byte b) { this.b = b; } diff --git a/BlendFile/DNA/MCol.cs b/BlendFile/DNA/MCol.cs index 063bb1e..e3e062c 100644 --- a/BlendFile/DNA/MCol.cs +++ b/BlendFile/DNA/MCol.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char g; [DNAFieldAttribute(3, "char", "b", 1)] public char b; + public MCol() { + this.a = default; + this.r = default; + this.g = default; + this.b = default; + } public MCol(char a, char r, char g, char b) { this.a = a; this.r = r; diff --git a/BlendFile/DNA/MDefCell.cs b/BlendFile/DNA/MDefCell.cs index 475fb21..9258884 100644 --- a/BlendFile/DNA/MDefCell.cs +++ b/BlendFile/DNA/MDefCell.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int offset; [DNAFieldAttribute(1, "int", "totinfluence", 4)] public int totinfluence; + public MDefCell() { + this.offset = default; + this.totinfluence = default; + } public MDefCell(int offset, int totinfluence) { this.offset = offset; this.totinfluence = totinfluence; diff --git a/BlendFile/DNA/MDefInfluence.cs b/BlendFile/DNA/MDefInfluence.cs index 8d90e8c..2fce2b1 100644 --- a/BlendFile/DNA/MDefInfluence.cs +++ b/BlendFile/DNA/MDefInfluence.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int vertex; [DNAFieldAttribute(1, "float", "weight", 4)] public float weight; + public MDefInfluence() { + this.vertex = default; + this.weight = default; + } public MDefInfluence(int vertex, float weight) { this.vertex = vertex; this.weight = weight; diff --git a/BlendFile/DNA/MDeformVert.cs b/BlendFile/DNA/MDeformVert.cs index 2dcaae6..a574b07 100644 --- a/BlendFile/DNA/MDeformVert.cs +++ b/BlendFile/DNA/MDeformVert.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int totweight; [DNAFieldAttribute(2, "int", "flag", 4)] public int flag; + public MDeformVert() { + this.ptr_dw = default; + this.totweight = default; + this.flag = default; + } public MDeformVert(MDeformWeight ptr_dw, int totweight, int flag) { this.ptr_dw = ptr_dw; this.totweight = totweight; diff --git a/BlendFile/DNA/MDeformWeight.cs b/BlendFile/DNA/MDeformWeight.cs index 045eaae..0deeef2 100644 --- a/BlendFile/DNA/MDeformWeight.cs +++ b/BlendFile/DNA/MDeformWeight.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int def_nr; [DNAFieldAttribute(1, "float", "weight", 4)] public float weight; + public MDeformWeight() { + this.def_nr = default; + this.weight = default; + } public MDeformWeight(int def_nr, float weight) { this.def_nr = def_nr; this.weight = weight; diff --git a/BlendFile/DNA/MDisps.cs b/BlendFile/DNA/MDisps.cs index d8c60fc..1231de4 100644 --- a/BlendFile/DNA/MDisps.cs +++ b/BlendFile/DNA/MDisps.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int level; [DNAFieldAttribute(3, "int", "*hidden", 4)] public int ptr_hidden; + public MDisps() { + this.totdisp = default; + this.level = default; + this.ptr_hidden = default; + } public MDisps(int totdisp, int level, int ptr_hidden) { this.totdisp = totdisp; this.level = level; diff --git a/BlendFile/DNA/MEdge.cs b/BlendFile/DNA/MEdge.cs index c6c7f6b..caccbc7 100644 --- a/BlendFile/DNA/MEdge.cs +++ b/BlendFile/DNA/MEdge.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char bweight; [DNAFieldAttribute(4, "short", "flag", 2)] public short flag; + public MEdge() { + this.v1 = default; + this.v2 = default; + this.crease = default; + this.bweight = default; + this.flag = default; + } public MEdge(int v1, int v2, char crease, char bweight, short flag) { this.v1 = v1; this.v2 = v2; diff --git a/BlendFile/DNA/MFace.cs b/BlendFile/DNA/MFace.cs index 582feb3..192a8d2 100644 --- a/BlendFile/DNA/MFace.cs +++ b/BlendFile/DNA/MFace.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char edcode; [DNAFieldAttribute(6, "char", "flag", 1)] public char flag; + public MFace() { + this.v1 = default; + this.v2 = default; + this.v3 = default; + this.v4 = default; + this.mat_nr = default; + this.edcode = default; + this.flag = default; + } public MFace(int v1, int v2, int v3, int v4, short mat_nr, char edcode, char flag) { this.v1 = v1; this.v2 = v2; diff --git a/BlendFile/DNA/MFloatProperty.cs b/BlendFile/DNA/MFloatProperty.cs index a273b91..5c8f530 100644 --- a/BlendFile/DNA/MFloatProperty.cs +++ b/BlendFile/DNA/MFloatProperty.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MFloatProperty { [DNAFieldAttribute(0, "float", "f", 4)] public float f; + public MFloatProperty() { + this.f = default; + } public MFloatProperty(float f) { this.f = f; } diff --git a/BlendFile/DNA/MInt8Property.cs b/BlendFile/DNA/MInt8Property.cs index 82f7fa4..655db4c 100644 --- a/BlendFile/DNA/MInt8Property.cs +++ b/BlendFile/DNA/MInt8Property.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MInt8Property { [DNAFieldAttribute(0, "int8_t", "i", 1)] public sbyte i; + public MInt8Property() { + this.i = default; + } public MInt8Property(sbyte i) { this.i = i; } diff --git a/BlendFile/DNA/MIntProperty.cs b/BlendFile/DNA/MIntProperty.cs index 06074fe..900d8e6 100644 --- a/BlendFile/DNA/MIntProperty.cs +++ b/BlendFile/DNA/MIntProperty.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MIntProperty { [DNAFieldAttribute(0, "int", "i", 4)] public int i; + public MIntProperty() { + this.i = default; + } public MIntProperty(int i) { this.i = i; } diff --git a/BlendFile/DNA/MLoop.cs b/BlendFile/DNA/MLoop.cs index 58bf21b..278290b 100644 --- a/BlendFile/DNA/MLoop.cs +++ b/BlendFile/DNA/MLoop.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int v; [DNAFieldAttribute(1, "int", "e", 4)] public int e; + public MLoop() { + this.v = default; + this.e = default; + } public MLoop(int v, int e) { this.v = v; this.e = e; diff --git a/BlendFile/DNA/MLoopCol.cs b/BlendFile/DNA/MLoopCol.cs index b08b4a9..be2a53e 100644 --- a/BlendFile/DNA/MLoopCol.cs +++ b/BlendFile/DNA/MLoopCol.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char b; [DNAFieldAttribute(3, "char", "a", 1)] public char a; + public MLoopCol() { + this.r = default; + this.g = default; + this.b = default; + this.a = default; + } public MLoopCol(char r, char g, char b, char a) { this.r = r; this.g = g; diff --git a/BlendFile/DNA/MLoopUV.cs b/BlendFile/DNA/MLoopUV.cs index 952aea7..7d37c8b 100644 --- a/BlendFile/DNA/MLoopUV.cs +++ b/BlendFile/DNA/MLoopUV.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float[] uv = new System.Single[2]; [DNAFieldAttribute(1, "int", "flag", 4)] public int flag; + public MLoopUV() { + this.uv = default; + this.flag = default; + } public MLoopUV(float[] uv, int flag) { this.uv = uv; this.flag = flag; diff --git a/BlendFile/DNA/MPoly.cs b/BlendFile/DNA/MPoly.cs index ae3c7f5..bf75b8f 100644 --- a/BlendFile/DNA/MPoly.cs +++ b/BlendFile/DNA/MPoly.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(4, "char", "_pad", 1)] public char _pad; + public MPoly() { + this.loopstart = default; + this.totloop = default; + this.mat_nr = default; + this.flag = default; + this._pad = default; + } public MPoly(int loopstart, int totloop, short mat_nr, char flag, char _pad) { this.loopstart = loopstart; this.totloop = totloop; diff --git a/BlendFile/DNA/MPropCol.cs b/BlendFile/DNA/MPropCol.cs index 1d18e79..0d95383 100644 --- a/BlendFile/DNA/MPropCol.cs +++ b/BlendFile/DNA/MPropCol.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MPropCol { [DNAFieldAttribute(0, "float", "color[4]", 4)] public float[] color = new System.Single[4]; + public MPropCol() { + this.color = default; + } public MPropCol(float[] color) { this.color = color; } diff --git a/BlendFile/DNA/MRecast.cs b/BlendFile/DNA/MRecast.cs index 9bc577b..330ed48 100644 --- a/BlendFile/DNA/MRecast.cs +++ b/BlendFile/DNA/MRecast.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MRecast { [DNAFieldAttribute(0, "int", "i", 4)] public int i; + public MRecast() { + this.i = default; + } public MRecast(int i) { this.i = i; } diff --git a/BlendFile/DNA/MSelect.cs b/BlendFile/DNA/MSelect.cs index 240f52d..1b24cc0 100644 --- a/BlendFile/DNA/MSelect.cs +++ b/BlendFile/DNA/MSelect.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int index; [DNAFieldAttribute(1, "int", "type", 4)] public int type; + public MSelect() { + this.index = default; + this.type = default; + } public MSelect(int index, int type) { this.index = index; this.type = type; diff --git a/BlendFile/DNA/MStringProperty.cs b/BlendFile/DNA/MStringProperty.cs index d8f4072..d7c5c6e 100644 --- a/BlendFile/DNA/MStringProperty.cs +++ b/BlendFile/DNA/MStringProperty.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char[] s = new System.Char[255]; [DNAFieldAttribute(1, "char", "s_len", 1)] public char s_len; + public MStringProperty() { + this.s = default; + this.s_len = default; + } public MStringProperty(char[] s, char s_len) { this.s = s; this.s_len = s_len; diff --git a/BlendFile/DNA/MTFace.cs b/BlendFile/DNA/MTFace.cs index ec8075d..362f3b0 100644 --- a/BlendFile/DNA/MTFace.cs +++ b/BlendFile/DNA/MTFace.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MTFace { [DNAFieldAttribute(0, "float", "uv[4][2]", 4)] public float[,] uv = new System.Single[4,2]; + public MTFace() { + this.uv = default; + } public MTFace(float[,] uv) { this.uv = uv; } diff --git a/BlendFile/DNA/MTex.cs b/BlendFile/DNA/MTex.cs index f11443b..95b8ba6 100644 --- a/BlendFile/DNA/MTex.cs +++ b/BlendFile/DNA/MTex.cs @@ -93,6 +93,47 @@ namespace BlendFile.DNA { public float fieldfac; [DNAFieldAttribute(38, "float", "twistfac", 4)] public float twistfac; + public MTex() { + this.texco = default; + this.mapto = default; + this.blendtype = default; + this._pad2 = default; + this.ptr_object = default; + this.ptr_tex = default; + this.uvname = default; + this.projx = default; + this.projy = default; + this.projz = default; + this.mapping = default; + this.brush_map_mode = default; + this.brush_angle_mode = default; + this.which_output = default; + this.ofs = default; + this.size = default; + this.rot = default; + this.random_angle = default; + this.r = default; + this.g = default; + this.b = default; + this.k = default; + this.def_var = default; + this.colfac = default; + this.alphafac = default; + this.timefac = default; + this.lengthfac = default; + this.clumpfac = default; + this.dampfac = default; + this.kinkfac = default; + this.kinkampfac = default; + this.roughfac = default; + this.padensfac = default; + this.gravityfac = default; + this.lifefac = default; + this.sizefac = default; + this.ivelfac = default; + this.fieldfac = default; + this.twistfac = default; + } public MTex( short texco, short mapto, diff --git a/BlendFile/DNA/MVert.cs b/BlendFile/DNA/MVert.cs index 42e4e84..fd80aeb 100644 --- a/BlendFile/DNA/MVert.cs +++ b/BlendFile/DNA/MVert.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char bweight; [DNAFieldAttribute(3, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public MVert() { + this.co = default; + this.flag = default; + this.bweight = default; + this._pad = default; + } public MVert(float[] co, char flag, char bweight, char[] _pad) { this.co = co; this.flag = flag; diff --git a/BlendFile/DNA/MVertSkin.cs b/BlendFile/DNA/MVertSkin.cs index f26c19c..490e04f 100644 --- a/BlendFile/DNA/MVertSkin.cs +++ b/BlendFile/DNA/MVertSkin.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float[] radius = new System.Single[3]; [DNAFieldAttribute(1, "int", "flag", 4)] public int flag; + public MVertSkin() { + this.radius = default; + this.flag = default; + } public MVertSkin(float[] radius, int flag) { this.radius = radius; this.flag = flag; diff --git a/BlendFile/DNA/MappingInfoModifierData.cs b/BlendFile/DNA/MappingInfoModifierData.cs index f9d6043..2bcabda 100644 --- a/BlendFile/DNA/MappingInfoModifierData.cs +++ b/BlendFile/DNA/MappingInfoModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int uvlayer_tmp; [DNAFieldAttribute(7, "int", "texmapping", 4)] public int texmapping; + public MappingInfoModifierData() { + this.modifier = default; + this.ptr_texture = default; + this.ptr_map_object = default; + this.map_bone = default; + this.uvlayer_name = default; + this._pad1 = default; + this.uvlayer_tmp = default; + this.texmapping = default; + } public MappingInfoModifierData(ModifierData modifier, Tex ptr_texture, Object ptr_map_object, char[] map_bone, char[] uvlayer_name, char[] _pad1, int uvlayer_tmp, int texmapping) { this.modifier = modifier; this.ptr_texture = ptr_texture; diff --git a/BlendFile/DNA/Mask.cs b/BlendFile/DNA/Mask.cs index b4872ea..34c8a23 100644 --- a/BlendFile/DNA/Mask.cs +++ b/BlendFile/DNA/Mask.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(9, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public Mask() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this.masklayers = default; + this.masklay_act = default; + this.masklay_tot = default; + this.sfra = default; + this.efra = default; + this.flag = default; + this._pad = default; + } public Mask(ID id, AnimData ptr_adt, DrawDataList drawdata, ListBase masklayers, int masklay_act, int masklay_tot, int sfra, int efra, int flag, char[] _pad) { this.id = id; this.ptr_adt = ptr_adt; diff --git a/BlendFile/DNA/MaskLayer.cs b/BlendFile/DNA/MaskLayer.cs index dd4ff45..e19a89a 100644 --- a/BlendFile/DNA/MaskLayer.cs +++ b/BlendFile/DNA/MaskLayer.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(13, "char", "restrictflag", 1)] public char restrictflag; + public MaskLayer() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.splines = default; + this.splines_shapes = default; + this.ptr_act_spline = default; + this.ptr_act_point = default; + this.alpha = default; + this.blend = default; + this.blend_flag = default; + this.falloff = default; + this._pad = default; + this.flag = default; + this.restrictflag = default; + } public MaskLayer(MaskLayer ptr_next, MaskLayer ptr_prev, char[] name, ListBase splines, ListBase splines_shapes, MaskSpline ptr_act_spline, MaskSplinePoint ptr_act_point, float alpha, char blend, char blend_flag, char falloff, char[] _pad, char flag, char restrictflag) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MaskLayerShape.cs b/BlendFile/DNA/MaskLayerShape.cs index 4a20d7f..ee48157 100644 --- a/BlendFile/DNA/MaskLayerShape.cs +++ b/BlendFile/DNA/MaskLayerShape.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(6, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public MaskLayerShape() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_data = default; + this.tot_vert = default; + this.frame = default; + this.flag = default; + this._pad = default; + } public MaskLayerShape(MaskLayerShape ptr_next, MaskLayerShape ptr_prev, float ptr_data, int tot_vert, int frame, char flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MaskModifierData.cs b/BlendFile/DNA/MaskModifierData.cs index f54ee74..f84727c 100644 --- a/BlendFile/DNA/MaskModifierData.cs +++ b/BlendFile/DNA/MaskModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float threshold; [DNAFieldAttribute(6, "void", "*_pad1", 0)] public object ptr__pad1; + public MaskModifierData() { + this.modifier = default; + this.ptr_ob_arm = default; + this.vgroup = default; + this.mode = default; + this.flag = default; + this.threshold = default; + this.ptr__pad1 = default; + } public MaskModifierData(ModifierData modifier, Object ptr_ob_arm, char[] vgroup, short mode, short flag, float threshold, object ptr__pad1) { this.modifier = modifier; this.ptr_ob_arm = ptr_ob_arm; diff --git a/BlendFile/DNA/MaskParent.cs b/BlendFile/DNA/MaskParent.cs index 2a99537..621dc3f 100644 --- a/BlendFile/DNA/MaskParent.cs +++ b/BlendFile/DNA/MaskParent.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float[] parent_orig = new System.Single[2]; [DNAFieldAttribute(6, "float", "parent_corners_orig[4][2]", 4)] public float[,] parent_corners_orig = new System.Single[4,2]; + public MaskParent() { + this.id_type = default; + this.type = default; + this.ptr_id = default; + this.parent = default; + this.sub_parent = default; + this.parent_orig = default; + this.parent_corners_orig = default; + } public MaskParent(int id_type, int type, ID ptr_id, char[] parent, char[] sub_parent, float[] parent_orig, float[,] parent_corners_orig) { this.id_type = id_type; this.type = type; diff --git a/BlendFile/DNA/MaskSpaceInfo.cs b/BlendFile/DNA/MaskSpaceInfo.cs index 3e84b4f..1be923b 100644 --- a/BlendFile/DNA/MaskSpaceInfo.cs +++ b/BlendFile/DNA/MaskSpaceInfo.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad3 = new System.Char[1]; [DNAFieldAttribute(5, "float", "blend_factor", 4)] public float blend_factor; + public MaskSpaceInfo() { + this.ptr_mask = default; + this.draw_flag = default; + this.draw_type = default; + this.overlay_mode = default; + this._pad3 = default; + this.blend_factor = default; + } public MaskSpaceInfo(Mask ptr_mask, char draw_flag, char draw_type, char overlay_mode, char[] _pad3, float blend_factor) { this.ptr_mask = ptr_mask; this.draw_flag = draw_flag; diff --git a/BlendFile/DNA/MaskSpline.cs b/BlendFile/DNA/MaskSpline.cs index da6398f..39a061b 100644 --- a/BlendFile/DNA/MaskSpline.cs +++ b/BlendFile/DNA/MaskSpline.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public MaskParent parent; [DNAFieldAttribute(8, "MaskSplinePoint", "*points_deform", 272)] public MaskSplinePoint ptr_points_deform; + public MaskSpline() { + this.ptr_next = default; + this.ptr_prev = default; + this.flag = default; + this.offset_mode = default; + this.weight_interp = default; + this.tot_point = default; + this.ptr_points = default; + this.parent = default; + this.ptr_points_deform = default; + } public MaskSpline(MaskSpline ptr_next, MaskSpline ptr_prev, short flag, char offset_mode, char weight_interp, int tot_point, MaskSplinePoint ptr_points, MaskParent parent, MaskSplinePoint ptr_points_deform) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MaskSplinePoint.cs b/BlendFile/DNA/MaskSplinePoint.cs index e97562a..9b28d87 100644 --- a/BlendFile/DNA/MaskSplinePoint.cs +++ b/BlendFile/DNA/MaskSplinePoint.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public MaskSplinePointUW ptr_uw; [DNAFieldAttribute(4, "MaskParent", "parent", 184)] public MaskParent parent; + public MaskSplinePoint() { + this.bezt = default; + this._pad = default; + this.tot_uw = default; + this.ptr_uw = default; + this.parent = default; + } public MaskSplinePoint(BezTriple bezt, char[] _pad, int tot_uw, MaskSplinePointUW ptr_uw, MaskParent parent) { this.bezt = bezt; this._pad = _pad; diff --git a/BlendFile/DNA/MaskSplinePointUW.cs b/BlendFile/DNA/MaskSplinePointUW.cs index 6ca24c6..647934b 100644 --- a/BlendFile/DNA/MaskSplinePointUW.cs +++ b/BlendFile/DNA/MaskSplinePointUW.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float w; [DNAFieldAttribute(2, "int", "flag", 4)] public int flag; + public MaskSplinePointUW() { + this.u = default; + this.w = default; + this.flag = default; + } public MaskSplinePointUW(float u, float w, int flag) { this.u = u; this.w = w; diff --git a/BlendFile/DNA/Material.cs b/BlendFile/DNA/Material.cs index c31f491..f30b8c7 100644 --- a/BlendFile/DNA/Material.cs +++ b/BlendFile/DNA/Material.cs @@ -107,6 +107,54 @@ namespace BlendFile.DNA { public MaterialGPencilStyle ptr_gp_style; [DNAFieldAttribute(45, "MaterialLineArt", "lineart", 8)] public MaterialLineArt lineart; + public Material() { + this.id = default; + this.ptr_adt = default; + this.flag = default; + this.surface_render_method = default; + this._pad1 = default; + this.r = default; + this.g = default; + this.b = default; + this.a = default; + this.specr = default; + this.specg = default; + this.specb = default; + this.alpha = default; + this.ray_mirror = default; + this.spec = default; + this.gloss_mir = default; + this.roughness = default; + this.metallic = default; + this.use_nodes = default; + this.pr_type = default; + this.pr_texture = default; + this.pr_flag = default; + this.index = default; + this.ptr_nodetree = default; + this.ptr_ipo = default; + this.ptr_preview = default; + this.line_col = default; + this.line_priority = default; + this.vcol_alpha = default; + this.paint_active_slot = default; + this.paint_clone_slot = default; + this.tot_slots = default; + this.displacement_method = default; + this.thickness_mode = default; + this.alpha_threshold = default; + this.refract_depth = default; + this.blend_method = default; + this.blend_shadow = default; + this.blend_flag = default; + this.volume_intersection_method = default; + this.inflate_bounds = default; + this._pad3 = default; + this.ptr_texpaintslot = default; + this.gpumaterial = default; + this.ptr_gp_style = default; + this.lineart = default; + } public Material( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/MaterialGPencilStyle.cs b/BlendFile/DNA/MaterialGPencilStyle.cs index a46798b..d33db4c 100644 --- a/BlendFile/DNA/MaterialGPencilStyle.cs +++ b/BlendFile/DNA/MaterialGPencilStyle.cs @@ -65,6 +65,33 @@ namespace BlendFile.DNA { public int alignment_mode; [DNAFieldAttribute(24, "float", "alignment_rotation", 4)] public float alignment_rotation; + public MaterialGPencilStyle() { + this.ptr_sima = default; + this.ptr_ima = default; + this.stroke_rgba = default; + this.fill_rgba = default; + this.mix_rgba = default; + this.flag = default; + this.index = default; + this.stroke_style = default; + this.fill_style = default; + this.mix_factor = default; + this.gradient_angle = default; + this.gradient_radius = default; + this._pad2 = default; + this.gradient_scale = default; + this.gradient_shift = default; + this.texture_angle = default; + this.texture_scale = default; + this.texture_offset = default; + this.texture_opacity = default; + this.texture_pixsize = default; + this.mode = default; + this.gradient_type = default; + this.mix_stroke_factor = default; + this.alignment_mode = default; + this.alignment_rotation = default; + } public MaterialGPencilStyle( Image ptr_sima, Image ptr_ima, diff --git a/BlendFile/DNA/MaterialLineArt.cs b/BlendFile/DNA/MaterialLineArt.cs index 959ef8d..b23655e 100644 --- a/BlendFile/DNA/MaterialLineArt.cs +++ b/BlendFile/DNA/MaterialLineArt.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char intersection_priority; [DNAFieldAttribute(4, "char", "_pad", 1)] public char _pad; + public MaterialLineArt() { + this.flags = default; + this.transparency_mask = default; + this.mat_occlusion = default; + this.intersection_priority = default; + this._pad = default; + } public MaterialLineArt(int flags, char transparency_mask, char mat_occlusion, char intersection_priority, char _pad) { this.flags = flags; this.transparency_mask = transparency_mask; diff --git a/BlendFile/DNA/Mesh.cs b/BlendFile/DNA/Mesh.cs index 398c495..5812392 100644 --- a/BlendFile/DNA/Mesh.cs +++ b/BlendFile/DNA/Mesh.cs @@ -121,6 +121,61 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(52, "MeshRuntimeHandle", "*runtime", 0)] public MeshRuntimeHandle ptr_runtime; + public Mesh() { + this.id = default; + this.ptr_adt = default; + this.ptr_ipo = default; + this.ptr_key = default; + this.ptr_ptr_mat = default; + this.totvert = default; + this.totedge = default; + this.totpoly = default; + this.totloop = default; + this.ptr_poly_offset_indices = default; + this.vdata = default; + this.edata = default; + this.pdata = default; + this.ldata = default; + this.vertex_group_names = default; + this.vertex_group_active_index = default; + this.attributes_active_index = default; + this.ptr_mselect = default; + this.totselect = default; + this.act_face = default; + this.ptr_texcomesh = default; + this.loc = default; + this.size = default; + this.texflag = default; + this.editflag = default; + this.flag = default; + this.smoothresh = default; + this.remesh_voxel_size = default; + this.remesh_voxel_adaptivity = default; + this.face_sets_color_seed = default; + this.face_sets_color_default = default; + this.ptr_active_color_attribute = default; + this.ptr_default_color_attribute = default; + this.symmetry = default; + this.remesh_mode = default; + this.totcol = default; + this.cd_flag = default; + this.subdiv = default; + this.subdivr = default; + this.subsurftype = default; + this.ptr_mpoly = default; + this.ptr_mloop = default; + this.ptr_mvert = default; + this.ptr_medge = default; + this.ptr_dvert = default; + this.ptr_mtface = default; + this.ptr_tface = default; + this.ptr_mcol = default; + this.ptr_mface = default; + this.fdata = default; + this.totface = default; + this._pad1 = default; + this.ptr_runtime = default; + } public Mesh( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/MeshCacheModifierData.cs b/BlendFile/DNA/MeshCacheModifierData.cs index cc5e8a0..c2c2a34 100644 --- a/BlendFile/DNA/MeshCacheModifierData.cs +++ b/BlendFile/DNA/MeshCacheModifierData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public float eval_factor; [DNAFieldAttribute(18, "char", "filepath[1024]", 1)] public char[] filepath = new System.Char[1024]; + public MeshCacheModifierData() { + this.modifier = default; + this.flag = default; + this.type = default; + this.time_mode = default; + this.play_mode = default; + this.forward_axis = default; + this.up_axis = default; + this.flip_axis = default; + this.interp = default; + this.factor = default; + this.deform_mode = default; + this.defgrp_name = default; + this._pad = default; + this.frame_start = default; + this.frame_scale = default; + this.eval_frame = default; + this.eval_time = default; + this.eval_factor = default; + this.filepath = default; + } public MeshCacheModifierData( ModifierData modifier, char flag, diff --git a/BlendFile/DNA/MeshDeformModifierData.cs b/BlendFile/DNA/MeshDeformModifierData.cs index 42c82db..26f8f11 100644 --- a/BlendFile/DNA/MeshDeformModifierData.cs +++ b/BlendFile/DNA/MeshDeformModifierData.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public float ptr_bindweights; [DNAFieldAttribute(20, "float", "*bindcos", 4)] public float ptr_bindcos; + public MeshDeformModifierData() { + this.modifier = default; + this.ptr_object = default; + this.defgrp_name = default; + this.gridsize = default; + this.flag = default; + this._pad = default; + this.ptr_bindinfluences = default; + this.ptr_bindoffsets = default; + this.ptr_bindcagecos = default; + this.totvert = default; + this.totcagevert = default; + this.ptr_dyngrid = default; + this.ptr_dyninfluences = default; + this.ptr_dynverts = default; + this.dyngridsize = default; + this.totinfluence = default; + this.dyncellmin = default; + this.dyncellwidth = default; + this.bindmat = default; + this.ptr_bindweights = default; + this.ptr_bindcos = default; + } public MeshDeformModifierData( ModifierData modifier, Object ptr_object, diff --git a/BlendFile/DNA/MeshSeqCacheModifierData.cs b/BlendFile/DNA/MeshSeqCacheModifierData.cs index 7f89ca6..f8f8413 100644 --- a/BlendFile/DNA/MeshSeqCacheModifierData.cs +++ b/BlendFile/DNA/MeshSeqCacheModifierData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public CacheReader ptr_reader; [DNAFieldAttribute(7, "char", "reader_object_path[1024]", 1)] public char[] reader_object_path = new System.Char[1024]; + public MeshSeqCacheModifierData() { + this.modifier = default; + this.ptr_cache_file = default; + this.object_path = default; + this.read_flag = default; + this._pad = default; + this.velocity_scale = default; + this.ptr_reader = default; + this.reader_object_path = default; + } public MeshSeqCacheModifierData(ModifierData modifier, CacheFile ptr_cache_file, char[] object_path, char read_flag, char[] _pad, float velocity_scale, CacheReader ptr_reader, char[] reader_object_path) { this.modifier = modifier; this.ptr_cache_file = ptr_cache_file; diff --git a/BlendFile/DNA/MeshStatVis.cs b/BlendFile/DNA/MeshStatVis.cs index 51bdfef..ce64624 100644 --- a/BlendFile/DNA/MeshStatVis.cs +++ b/BlendFile/DNA/MeshStatVis.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public float sharp_min; [DNAFieldAttribute(12, "float", "sharp_max", 4)] public float sharp_max; + public MeshStatVis() { + this.type = default; + this._pad1 = default; + this.overhang_axis = default; + this.overhang_min = default; + this.overhang_max = default; + this.thickness_min = default; + this.thickness_max = default; + this.thickness_samples = default; + this._pad2 = default; + this.distort_min = default; + this.distort_max = default; + this.sharp_min = default; + this.sharp_max = default; + } public MeshStatVis(char type, char[] _pad1, char overhang_axis, float overhang_min, float overhang_max, float thickness_min, float thickness_max, char thickness_samples, char[] _pad2, float distort_min, float distort_max, float sharp_min, float sharp_max) { this.type = type; this._pad1 = _pad1; diff --git a/BlendFile/DNA/MeshToVolumeModifierData.cs b/BlendFile/DNA/MeshToVolumeModifierData.cs index 98585aa..0890c1e 100644 --- a/BlendFile/DNA/MeshToVolumeModifierData.cs +++ b/BlendFile/DNA/MeshToVolumeModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "void", "*_pad3", 0)] public object ptr__pad3; + public MeshToVolumeModifierData() { + this.modifier = default; + this.ptr_object = default; + this.resolution_mode = default; + this.voxel_size = default; + this.voxel_amount = default; + this.interior_band_width = default; + this.density = default; + this._pad2 = default; + this.ptr__pad3 = default; + } public MeshToVolumeModifierData(ModifierData modifier, Object ptr_object, int resolution_mode, float voxel_size, int voxel_amount, float interior_band_width, float density, char[] _pad2, object ptr__pad3) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/MetaBall.cs b/BlendFile/DNA/MetaBall.cs index c478171..ca1cce1 100644 --- a/BlendFile/DNA/MetaBall.cs +++ b/BlendFile/DNA/MetaBall.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(18, "MetaElem", "*lastelem", 104)] public MetaElem ptr_lastelem; + public MetaBall() { + this.id = default; + this.ptr_adt = default; + this.elems = default; + this.ptr_editelems = default; + this.ptr_ipo = default; + this.ptr_ptr_mat = default; + this.flag = default; + this.flag2 = default; + this.totcol = default; + this.texflag = default; + this._pad = default; + this.needs_flush_to_id = default; + this.loc = default; + this.size = default; + this.wiresize = default; + this.rendersize = default; + this.thresh = default; + this._pad0 = default; + this.ptr_lastelem = default; + } public MetaBall( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/MetaElem.cs b/BlendFile/DNA/MetaElem.cs index a3d941d..dfa168a 100644 --- a/BlendFile/DNA/MetaElem.cs +++ b/BlendFile/DNA/MetaElem.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public float ptr_mat; [DNAFieldAttribute(18, "float", "*imat", 4)] public float ptr_imat; + public MetaElem() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_bb = default; + this.type = default; + this.flag = default; + this._pad = default; + this.x = default; + this.y = default; + this.z = default; + this.quat = default; + this.expx = default; + this.expy = default; + this.expz = default; + this.rad = default; + this.rad2 = default; + this.s = default; + this.len = default; + this.ptr_mat = default; + this.ptr_imat = default; + } public MetaElem( MetaElem ptr_next, MetaElem ptr_prev, diff --git a/BlendFile/DNA/MetaStack.cs b/BlendFile/DNA/MetaStack.cs index 385b252..37c8bd5 100644 --- a/BlendFile/DNA/MetaStack.cs +++ b/BlendFile/DNA/MetaStack.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public Sequence ptr_parseq; [DNAFieldAttribute(5, "int", "disp_range[2]", 4)] public int[] disp_range = new System.Int32[2]; + public MetaStack() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_oldbasep = default; + this.ptr_old_channels = default; + this.ptr_parseq = default; + this.disp_range = default; + } public MetaStack(MetaStack ptr_next, MetaStack ptr_prev, ListBase ptr_oldbasep, ListBase ptr_old_channels, Sequence ptr_parseq, int[] disp_range) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MirrorGpencilModifierData.cs b/BlendFile/DNA/MirrorGpencilModifierData.cs index 0cb856d..ff24be2 100644 --- a/BlendFile/DNA/MirrorGpencilModifierData.cs +++ b/BlendFile/DNA/MirrorGpencilModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public MirrorGpencilModifierData() { + this.modifier = default; + this.ptr_object = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.pass_index = default; + this.flag = default; + this.layer_pass = default; + this._pad = default; + } public MirrorGpencilModifierData(GpencilModifierData modifier, Object ptr_object, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, int layer_pass, char[] _pad) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/MirrorModifierData.cs b/BlendFile/DNA/MirrorModifierData.cs index 22b3a0b..1d54dab 100644 --- a/BlendFile/DNA/MirrorModifierData.cs +++ b/BlendFile/DNA/MirrorModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public Object ptr_mirror_ob; [DNAFieldAttribute(10, "void", "*_pad1", 0)] public object ptr__pad1; + public MirrorModifierData() { + this.modifier = default; + this.axis = default; + this.flag = default; + this.tolerance = default; + this.bisect_threshold = default; + this.use_correct_order_on_merge = default; + this._pad = default; + this.uv_offset = default; + this.uv_offset_copy = default; + this.ptr_mirror_ob = default; + this.ptr__pad1 = default; + } public MirrorModifierData(ModifierData modifier, short axis, short flag, float tolerance, float bisect_threshold, byte use_correct_order_on_merge, char[] _pad, float[] uv_offset, float[] uv_offset_copy, Object ptr_mirror_ob, object ptr__pad1) { this.modifier = modifier; this.axis = axis; diff --git a/BlendFile/DNA/ModifierData.cs b/BlendFile/DNA/ModifierData.cs index 9f247f3..6614b38 100644 --- a/BlendFile/DNA/ModifierData.cs +++ b/BlendFile/DNA/ModifierData.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public char ptr_error; [DNAFieldAttribute(12, "void", "*runtime", 0)] public object ptr_runtime; + public ModifierData() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.mode = default; + this.execution_time = default; + this.flag = default; + this.ui_expand_flag = default; + this.layout_panel_open_flag = default; + this._pad = default; + this.persistent_uid = default; + this.name = default; + this.ptr_error = default; + this.ptr_runtime = default; + } public ModifierData(ModifierData ptr_next, ModifierData ptr_prev, int type, int mode, float execution_time, short flag, short ui_expand_flag, ushort layout_panel_open_flag, char[] _pad, int persistent_uid, char[] name, char ptr_error, object ptr_runtime) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ModifierViewerPathElem.cs b/BlendFile/DNA/ModifierViewerPathElem.cs index eb269c8..faabfe0 100644 --- a/BlendFile/DNA/ModifierViewerPathElem.cs +++ b/BlendFile/DNA/ModifierViewerPathElem.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public ViewerPathElem @base; [DNAFieldAttribute(1, "char", "*modifier_name", 1)] public char ptr_modifier_name; + public ModifierViewerPathElem() { + this.@base = default; + this.ptr_modifier_name = default; + } public ModifierViewerPathElem(ViewerPathElem @base, char ptr_modifier_name) { this.@base = @base; this.ptr_modifier_name = ptr_modifier_name; diff --git a/BlendFile/DNA/MovieClip.cs b/BlendFile/DNA/MovieClip.cs index 1c3caf0..763b774 100644 --- a/BlendFile/DNA/MovieClip.cs +++ b/BlendFile/DNA/MovieClip.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public ColorManagedColorspaceSettings colorspace_settings; [DNAFieldAttribute(20, "MovieClip_Runtime", "runtime", 16)] public MovieClip_Runtime runtime; + public MovieClip() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this.name = default; + this.source = default; + this._pad = default; + this.lastsize = default; + this.aspx = default; + this.aspy = default; + this.ptr_anim = default; + this.ptr_cache = default; + this.ptr_gpd = default; + this.tracking = default; + this.ptr_tracking_context = default; + this.proxy = default; + this.flag = default; + this.len = default; + this.start_frame = default; + this.frame_offset = default; + this.colorspace_settings = default; + this.runtime = default; + } public MovieClip( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/MovieClipProxy.cs b/BlendFile/DNA/MovieClipProxy.cs index 24f3b61..a0657ed 100644 --- a/BlendFile/DNA/MovieClipProxy.cs +++ b/BlendFile/DNA/MovieClipProxy.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short build_size_flag; [DNAFieldAttribute(4, "short", "build_tc_flag", 2)] public short build_tc_flag; + public MovieClipProxy() { + this.dir = default; + this.tc = default; + this.quality = default; + this.build_size_flag = default; + this.build_tc_flag = default; + } public MovieClipProxy(char[] dir, short tc, short quality, short build_size_flag, short build_tc_flag) { this.dir = dir; this.tc = tc; diff --git a/BlendFile/DNA/MovieClipScopes.cs b/BlendFile/DNA/MovieClipScopes.cs index 8d75bd4..43ed493 100644 --- a/BlendFile/DNA/MovieClipScopes.cs +++ b/BlendFile/DNA/MovieClipScopes.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public MovieTrackingMarker ptr_marker; [DNAFieldAttribute(14, "float", "slide_scale[2]", 4)] public float[] slide_scale = new System.Single[2]; + public MovieClipScopes() { + this.ok = default; + this.use_track_mask = default; + this.track_preview_height = default; + this.frame_width = default; + this.frame_height = default; + this.undist_marker = default; + this.ptr_track_search = default; + this.ptr_track_preview = default; + this.track_pos = default; + this.track_disabled = default; + this.track_locked = default; + this.scene_framenr = default; + this.ptr_track = default; + this.ptr_marker = default; + this.slide_scale = default; + } public MovieClipScopes(short ok, short use_track_mask, int track_preview_height, int frame_width, int frame_height, MovieTrackingMarker undist_marker, ImBuf ptr_track_search, ImBuf ptr_track_preview, float[] track_pos, short track_disabled, short track_locked, int scene_framenr, MovieTrackingTrack ptr_track, MovieTrackingMarker ptr_marker, float[] slide_scale) { this.ok = ok; this.use_track_mask = use_track_mask; diff --git a/BlendFile/DNA/MovieClipUser.cs b/BlendFile/DNA/MovieClipUser.cs index 2213608..288f088 100644 --- a/BlendFile/DNA/MovieClipUser.cs +++ b/BlendFile/DNA/MovieClipUser.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public short render_size; [DNAFieldAttribute(2, "short", "render_flag", 2)] public short render_flag; + public MovieClipUser() { + this.framenr = default; + this.render_size = default; + this.render_flag = default; + } public MovieClipUser(int framenr, short render_size, short render_flag) { this.framenr = framenr; this.render_size = render_size; diff --git a/BlendFile/DNA/MovieClip_Runtime.cs b/BlendFile/DNA/MovieClip_Runtime.cs index 4f6eedc..f6518c8 100644 --- a/BlendFile/DNA/MovieClip_Runtime.cs +++ b/BlendFile/DNA/MovieClip_Runtime.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MovieClip_Runtime { [DNAFieldAttribute(0, "ListBase", "gputextures", 16)] public ListBase gputextures; + public MovieClip_Runtime() { + this.gputextures = default; + } public MovieClip_Runtime(ListBase gputextures) { this.gputextures = gputextures; } diff --git a/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs b/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs index fca4785..e234264 100644 --- a/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs +++ b/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public MovieClipUser user; [DNAFieldAttribute(3, "GPUTexture", "*gputexture[3]", 0)] public GPUTexture[] ptr_gputext = new GPUTexture[3]; + public MovieClip_RuntimeGPUTexture() { + this.ptr_next = default; + this.ptr_prev = default; + this.user = default; + this.ptr_gputext = default; + } public MovieClip_RuntimeGPUTexture(object ptr_next, object ptr_prev, MovieClipUser user, GPUTexture[] ptr_gputext) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MovieReconstructedCamera.cs b/BlendFile/DNA/MovieReconstructedCamera.cs index 542759c..8c6bd33 100644 --- a/BlendFile/DNA/MovieReconstructedCamera.cs +++ b/BlendFile/DNA/MovieReconstructedCamera.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float error; [DNAFieldAttribute(2, "float", "mat[4][4]", 4)] public float[,] mat = new System.Single[4,4]; + public MovieReconstructedCamera() { + this.framenr = default; + this.error = default; + this.mat = default; + } public MovieReconstructedCamera(int framenr, float error, float[,] mat) { this.framenr = framenr; this.error = error; diff --git a/BlendFile/DNA/MovieTracking.cs b/BlendFile/DNA/MovieTracking.cs index 50f8ed6..37ba7da 100644 --- a/BlendFile/DNA/MovieTracking.cs +++ b/BlendFile/DNA/MovieTracking.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public MovieTrackingStats ptr_stats; [DNAFieldAttribute(12, "MovieTrackingDopesheet", "dopesheet", 48)] public MovieTrackingDopesheet dopesheet; + public MovieTracking() { + this.settings = default; + this.camera = default; + this.tracks = default; + this.plane_tracks = default; + this.reconstruction = default; + this.stabilization = default; + this.ptr_act_track = default; + this.ptr_act_plane_track = default; + this.objects = default; + this.objectnr = default; + this.tot_object = default; + this.ptr_stats = default; + this.dopesheet = default; + } public MovieTracking(MovieTrackingSettings settings, MovieTrackingCamera camera, ListBase tracks, ListBase plane_tracks, MovieTrackingReconstruction reconstruction, MovieTrackingStabilization stabilization, MovieTrackingTrack ptr_act_track, MovieTrackingPlaneTrack ptr_act_plane_track, ListBase objects, int objectnr, int tot_object, MovieTrackingStats ptr_stats, MovieTrackingDopesheet dopesheet) { this.settings = settings; this.camera = camera; diff --git a/BlendFile/DNA/MovieTrackingCamera.cs b/BlendFile/DNA/MovieTrackingCamera.cs index 0e6a976..6338913 100644 --- a/BlendFile/DNA/MovieTrackingCamera.cs +++ b/BlendFile/DNA/MovieTrackingCamera.cs @@ -61,6 +61,31 @@ namespace BlendFile.DNA { public float brown_p1; [DNAFieldAttribute(22, "float", "brown_p2", 4)] public float brown_p2; + public MovieTrackingCamera() { + this.ptr_intrinsics = default; + this.distortion_model = default; + this._pad = default; + this.sensor_width = default; + this.pixel_aspect = default; + this.focal = default; + this.units = default; + this._pad1 = default; + this.principal_point = default; + this.principal = default; + this.k1 = default; + this.k2 = default; + this.k3 = default; + this.division_k1 = default; + this.division_k2 = default; + this.nuke_k1 = default; + this.nuke_k2 = default; + this.brown_k1 = default; + this.brown_k2 = default; + this.brown_k3 = default; + this.brown_k4 = default; + this.brown_p1 = default; + this.brown_p2 = default; + } public MovieTrackingCamera( object ptr_intrinsics, short distortion_model, diff --git a/BlendFile/DNA/MovieTrackingDopesheet.cs b/BlendFile/DNA/MovieTrackingDopesheet.cs index 7fdcc5c..0fe2ced 100644 --- a/BlendFile/DNA/MovieTrackingDopesheet.cs +++ b/BlendFile/DNA/MovieTrackingDopesheet.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int tot_channel; [DNAFieldAttribute(6, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public MovieTrackingDopesheet() { + this.ok = default; + this.sort_method = default; + this.flag = default; + this.coverage_segments = default; + this.channels = default; + this.tot_channel = default; + this._pad = default; + } public MovieTrackingDopesheet(int ok, short sort_method, short flag, ListBase coverage_segments, ListBase channels, int tot_channel, char[] _pad) { this.ok = ok; this.sort_method = sort_method; diff --git a/BlendFile/DNA/MovieTrackingDopesheetChannel.cs b/BlendFile/DNA/MovieTrackingDopesheetChannel.cs index 58570e1..fba2f85 100644 --- a/BlendFile/DNA/MovieTrackingDopesheetChannel.cs +++ b/BlendFile/DNA/MovieTrackingDopesheetChannel.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int first_not_disabled_marker_framenr; [DNAFieldAttribute(10, "int", "last_not_disabled_marker_framenr", 4)] public int last_not_disabled_marker_framenr; + public MovieTrackingDopesheetChannel() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_track = default; + this._pad = default; + this.name = default; + this.tot_segment = default; + this.ptr_segments = default; + this.max_segment = default; + this.total_frames = default; + this.first_not_disabled_marker_framenr = default; + this.last_not_disabled_marker_framenr = default; + } public MovieTrackingDopesheetChannel(MovieTrackingDopesheetChannel ptr_next, MovieTrackingDopesheetChannel ptr_prev, MovieTrackingTrack ptr_track, char[] _pad, char[] name, int tot_segment, int ptr_segments, int max_segment, int total_frames, int first_not_disabled_marker_framenr, int last_not_disabled_marker_framenr) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs b/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs index 43460bd..7aab9af 100644 --- a/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs +++ b/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int end_frame; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public MovieTrackingDopesheetCoverageSegment() { + this.ptr_next = default; + this.ptr_prev = default; + this.coverage = default; + this.start_frame = default; + this.end_frame = default; + this._pad = default; + } public MovieTrackingDopesheetCoverageSegment(MovieTrackingDopesheetCoverageSegment ptr_next, MovieTrackingDopesheetCoverageSegment ptr_prev, int coverage, int start_frame, int end_frame, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MovieTrackingMarker.cs b/BlendFile/DNA/MovieTrackingMarker.cs index b4f9999..9378712 100644 --- a/BlendFile/DNA/MovieTrackingMarker.cs +++ b/BlendFile/DNA/MovieTrackingMarker.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int framenr; [DNAFieldAttribute(5, "int", "flag", 4)] public int flag; + public MovieTrackingMarker() { + this.pos = default; + this.pattern_corners = default; + this.search_min = default; + this.search_max = default; + this.framenr = default; + this.flag = default; + } public MovieTrackingMarker(float[] pos, float[,] pattern_corners, float[] search_min, float[] search_max, int framenr, int flag) { this.pos = pos; this.pattern_corners = pattern_corners; diff --git a/BlendFile/DNA/MovieTrackingObject.cs b/BlendFile/DNA/MovieTrackingObject.cs index 9881bc7..07cef31 100644 --- a/BlendFile/DNA/MovieTrackingObject.cs +++ b/BlendFile/DNA/MovieTrackingObject.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public int keyframe1; [DNAFieldAttribute(11, "int", "keyframe2", 4)] public int keyframe2; + public MovieTrackingObject() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flag = default; + this.scale = default; + this.tracks = default; + this.plane_tracks = default; + this.ptr_active_track = default; + this.ptr_active_plane_track = default; + this.reconstruction = default; + this.keyframe1 = default; + this.keyframe2 = default; + } public MovieTrackingObject(MovieTrackingObject ptr_next, MovieTrackingObject ptr_prev, char[] name, int flag, float scale, ListBase tracks, ListBase plane_tracks, MovieTrackingTrack ptr_active_track, MovieTrackingPlaneTrack ptr_active_plane_track, MovieTrackingReconstruction reconstruction, int keyframe1, int keyframe2) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MovieTrackingPlaneMarker.cs b/BlendFile/DNA/MovieTrackingPlaneMarker.cs index 21865ea..b6ee104 100644 --- a/BlendFile/DNA/MovieTrackingPlaneMarker.cs +++ b/BlendFile/DNA/MovieTrackingPlaneMarker.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int framenr; [DNAFieldAttribute(2, "int", "flag", 4)] public int flag; + public MovieTrackingPlaneMarker() { + this.corners = default; + this.framenr = default; + this.flag = default; + } public MovieTrackingPlaneMarker(float[,] corners, int framenr, int flag) { this.corners = corners; this.framenr = framenr; diff --git a/BlendFile/DNA/MovieTrackingPlaneTrack.cs b/BlendFile/DNA/MovieTrackingPlaneTrack.cs index 80b5968..7806e62 100644 --- a/BlendFile/DNA/MovieTrackingPlaneTrack.cs +++ b/BlendFile/DNA/MovieTrackingPlaneTrack.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float image_opacity; [DNAFieldAttribute(11, "int", "last_marker", 4)] public int last_marker; + public MovieTrackingPlaneTrack() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.ptr_ptr_point_tracks = default; + this.point_tracksnr = default; + this._pad = default; + this.ptr_markers = default; + this.markersnr = default; + this.flag = default; + this.ptr_image = default; + this.image_opacity = default; + this.last_marker = default; + } public MovieTrackingPlaneTrack(MovieTrackingPlaneTrack ptr_next, MovieTrackingPlaneTrack ptr_prev, char[] name, MovieTrackingTrack ptr_ptr_point_tracks, int point_tracksnr, char[] _pad, MovieTrackingPlaneMarker ptr_markers, int markersnr, int flag, Image ptr_image, float image_opacity, int last_marker) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/MovieTrackingReconstruction.cs b/BlendFile/DNA/MovieTrackingReconstruction.cs index 48c6f94..fba0740 100644 --- a/BlendFile/DNA/MovieTrackingReconstruction.cs +++ b/BlendFile/DNA/MovieTrackingReconstruction.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int camnr; [DNAFieldAttribute(4, "MovieReconstructedCamera", "*cameras", 72)] public MovieReconstructedCamera ptr_cameras; + public MovieTrackingReconstruction() { + this.flag = default; + this.error = default; + this.last_camera = default; + this.camnr = default; + this.ptr_cameras = default; + } public MovieTrackingReconstruction(int flag, float error, int last_camera, int camnr, MovieReconstructedCamera ptr_cameras) { this.flag = flag; this.error = error; diff --git a/BlendFile/DNA/MovieTrackingSettings.cs b/BlendFile/DNA/MovieTrackingSettings.cs index bad3322..3676bd2 100644 --- a/BlendFile/DNA/MovieTrackingSettings.cs +++ b/BlendFile/DNA/MovieTrackingSettings.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public float clean_error; [DNAFieldAttribute(20, "float", "object_distance", 4)] public float object_distance; + public MovieTrackingSettings() { + this.default_motion_model = default; + this.default_algorithm_flag = default; + this.default_minimum_correlation = default; + this.default_pattern_size = default; + this.default_search_size = default; + this.default_frames_limit = default; + this.default_margin = default; + this.default_pattern_match = default; + this.default_flag = default; + this.default_weight = default; + this.motion_flag = default; + this.speed = default; + this.keyframe1 = default; + this.keyframe2 = default; + this.reconstruction_flag = default; + this.refine_camera_intrinsics = default; + this.dist = default; + this.clean_frames = default; + this.clean_action = default; + this.clean_error = default; + this.object_distance = default; + } public MovieTrackingSettings( short default_motion_model, short default_algorithm_flag, diff --git a/BlendFile/DNA/MovieTrackingStabilization.cs b/BlendFile/DNA/MovieTrackingStabilization.cs index 5b613e1..bb266ec 100644 --- a/BlendFile/DNA/MovieTrackingStabilization.cs +++ b/BlendFile/DNA/MovieTrackingStabilization.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public int filter; [DNAFieldAttribute(15, "int", "_pad", 4)] public int _pad; + public MovieTrackingStabilization() { + this.flag = default; + this.tot_track = default; + this.act_track = default; + this.tot_rot_track = default; + this.act_rot_track = default; + this.maxscale = default; + this.ptr_rot_track = default; + this.anchor_frame = default; + this.target_pos = default; + this.target_rot = default; + this.scale = default; + this.locinf = default; + this.scaleinf = default; + this.rotinf = default; + this.filter = default; + this._pad = default; + } public MovieTrackingStabilization( int flag, int tot_track, diff --git a/BlendFile/DNA/MovieTrackingStats.cs b/BlendFile/DNA/MovieTrackingStats.cs index b842009..28e6f5f 100644 --- a/BlendFile/DNA/MovieTrackingStats.cs +++ b/BlendFile/DNA/MovieTrackingStats.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct MovieTrackingStats { [DNAFieldAttribute(0, "char", "message[256]", 1)] public char[] message = new System.Char[256]; + public MovieTrackingStats() { + this.message = default; + } public MovieTrackingStats(char[] message) { this.message = message; } diff --git a/BlendFile/DNA/MovieTrackingTrack.cs b/BlendFile/DNA/MovieTrackingTrack.cs index 87a2d72..360ae25 100644 --- a/BlendFile/DNA/MovieTrackingTrack.cs +++ b/BlendFile/DNA/MovieTrackingTrack.cs @@ -67,6 +67,34 @@ namespace BlendFile.DNA { public float weight; [DNAFieldAttribute(25, "float", "weight_stab", 4)] public float weight_stab; + public MovieTrackingTrack() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.pat_min = default; + this.pat_max = default; + this.search_min = default; + this.search_max = default; + this.offset = default; + this.markersnr = default; + this._pad = default; + this.ptr_markers = default; + this.bundle_pos = default; + this.error = default; + this.flag = default; + this.pat_flag = default; + this.search_flag = default; + this.color = default; + this.frames_limit = default; + this.margin = default; + this.pattern_match = default; + this.motion_model = default; + this.algorithm_flag = default; + this.minimum_correlation = default; + this.ptr_gpd = default; + this.weight = default; + this.weight_stab = default; + } public MovieTrackingTrack( MovieTrackingTrack ptr_next, MovieTrackingTrack ptr_prev, diff --git a/BlendFile/DNA/MultiplyGpencilModifierData.cs b/BlendFile/DNA/MultiplyGpencilModifierData.cs index fae82dc..df54279 100644 --- a/BlendFile/DNA/MultiplyGpencilModifierData.cs +++ b/BlendFile/DNA/MultiplyGpencilModifierData.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public float fading_thickness; [DNAFieldAttribute(13, "float", "fading_opacity", 4)] public float fading_opacity; + public MultiplyGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.pass_index = default; + this.flag = default; + this.layer_pass = default; + this.flags = default; + this.duplications = default; + this.distance = default; + this.offset = default; + this.fading_center = default; + this.fading_thickness = default; + this.fading_opacity = default; + } public MultiplyGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, int layer_pass, int flags, int duplications, float distance, float offset, float fading_center, float fading_thickness, float fading_opacity) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/MultiresModifierData.cs b/BlendFile/DNA/MultiresModifierData.cs index 171fc1b..e911cf9 100644 --- a/BlendFile/DNA/MultiresModifierData.cs +++ b/BlendFile/DNA/MultiresModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public short boundary_smooth; [DNAFieldAttribute(11, "char", "_pad2[2]", 1)] public char[] _pad2 = new System.Char[2]; + public MultiresModifierData() { + this.modifier = default; + this.lvl = default; + this.sculptlvl = default; + this.renderlvl = default; + this.totlvl = default; + this.simple = default; + this.flags = default; + this._pad = default; + this.quality = default; + this.uv_smooth = default; + this.boundary_smooth = default; + this._pad2 = default; + } public MultiresModifierData(ModifierData modifier, char lvl, char sculptlvl, char renderlvl, char totlvl, char simple, char flags, char[] _pad, short quality, short uv_smooth, short boundary_smooth, char[] _pad2) { this.modifier = modifier; this.lvl = lvl; diff --git a/BlendFile/DNA/NamedBrushAssetReference.cs b/BlendFile/DNA/NamedBrushAssetReference.cs index bf753db..4abde81 100644 --- a/BlendFile/DNA/NamedBrushAssetReference.cs +++ b/BlendFile/DNA/NamedBrushAssetReference.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char ptr_name; [DNAFieldAttribute(3, "AssetWeakReference", "*brush_asset_reference", 24)] public AssetWeakReference ptr_brush_asset_reference; + public NamedBrushAssetReference() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_name = default; + this.ptr_brush_asset_reference = default; + } public NamedBrushAssetReference(NamedBrushAssetReference ptr_next, NamedBrushAssetReference ptr_prev, char ptr_name, AssetWeakReference ptr_brush_asset_reference) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/NlaStrip.cs b/BlendFile/DNA/NlaStrip.cs index 9922954..b589590 100644 --- a/BlendFile/DNA/NlaStrip.cs +++ b/BlendFile/DNA/NlaStrip.cs @@ -73,6 +73,37 @@ namespace BlendFile.DNA { public NlaStrip ptr_orig_strip; [DNAFieldAttribute(28, "void", "*_pad3", 0)] public object ptr__pad3; + public NlaStrip() { + this.ptr_next = default; + this.ptr_prev = default; + this.strips = default; + this.ptr_act = default; + this.action_slot_handle = default; + this.action_slot_name = default; + this._pad0 = default; + this.fcurves = default; + this.modifiers = default; + this.name = default; + this.influence = default; + this.strip_time = default; + this.start = default; + this.end = default; + this.actstart = default; + this.actend = default; + this.repeat = default; + this.scale = default; + this.blendin = default; + this.blendout = default; + this.blendmode = default; + this.extendmode = default; + this._pad1 = default; + this.type = default; + this.ptr_speaker_handle = default; + this.flag = default; + this._pad2 = default; + this.ptr_orig_strip = default; + this.ptr__pad3 = default; + } public NlaStrip( NlaStrip ptr_next, NlaStrip ptr_prev, diff --git a/BlendFile/DNA/NlaTrack.cs b/BlendFile/DNA/NlaTrack.cs index bf8eeb8..3382390 100644 --- a/BlendFile/DNA/NlaTrack.cs +++ b/BlendFile/DNA/NlaTrack.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int index; [DNAFieldAttribute(5, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public NlaTrack() { + this.ptr_next = default; + this.ptr_prev = default; + this.strips = default; + this.flag = default; + this.index = default; + this.name = default; + } public NlaTrack(NlaTrack ptr_next, NlaTrack ptr_prev, ListBase strips, int flag, int index, char[] name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/NodeAccumulateField.cs b/BlendFile/DNA/NodeAccumulateField.cs index df8f40b..c4ffb4a 100644 --- a/BlendFile/DNA/NodeAccumulateField.cs +++ b/BlendFile/DNA/NodeAccumulateField.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte data_type; [DNAFieldAttribute(1, "uchar", "domain", 1)] public byte domain; + public NodeAccumulateField() { + this.data_type = default; + this.domain = default; + } public NodeAccumulateField(byte data_type, byte domain) { this.data_type = data_type; this.domain = domain; diff --git a/BlendFile/DNA/NodeAntiAliasingData.cs b/BlendFile/DNA/NodeAntiAliasingData.cs index a907b80..069003e 100644 --- a/BlendFile/DNA/NodeAntiAliasingData.cs +++ b/BlendFile/DNA/NodeAntiAliasingData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float contrast_limit; [DNAFieldAttribute(2, "float", "corner_rounding", 4)] public float corner_rounding; + public NodeAntiAliasingData() { + this.threshold = default; + this.contrast_limit = default; + this.corner_rounding = default; + } public NodeAntiAliasingData(float threshold, float contrast_limit, float corner_rounding) { this.threshold = threshold; this.contrast_limit = contrast_limit; diff --git a/BlendFile/DNA/NodeBilateralBlurData.cs b/BlendFile/DNA/NodeBilateralBlurData.cs index bbfc58d..c1e2754 100644 --- a/BlendFile/DNA/NodeBilateralBlurData.cs +++ b/BlendFile/DNA/NodeBilateralBlurData.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short iter; [DNAFieldAttribute(3, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public NodeBilateralBlurData() { + this.sigma_color = default; + this.sigma_space = default; + this.iter = default; + this._pad = default; + } public NodeBilateralBlurData(float sigma_color, float sigma_space, short iter, char[] _pad) { this.sigma_color = sigma_color; this.sigma_space = sigma_space; diff --git a/BlendFile/DNA/NodeBlurData.cs b/BlendFile/DNA/NodeBlurData.cs index 4bd5817..06f36e4 100644 --- a/BlendFile/DNA/NodeBlurData.cs +++ b/BlendFile/DNA/NodeBlurData.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public int image_in_width; [DNAFieldAttribute(15, "int", "image_in_height", 4)] public int image_in_height; + public NodeBlurData() { + this.sizex = default; + this.sizey = default; + this.samples = default; + this.maxspeed = default; + this.minspeed = default; + this.relative = default; + this.aspect = default; + this.curved = default; + this.fac = default; + this.percentx = default; + this.percenty = default; + this.filtertype = default; + this.bokeh = default; + this.gamma = default; + this.image_in_width = default; + this.image_in_height = default; + } public NodeBlurData( short sizex, short sizey, diff --git a/BlendFile/DNA/NodeBokehImage.cs b/BlendFile/DNA/NodeBokehImage.cs index d49a1dd..ca59f67 100644 --- a/BlendFile/DNA/NodeBokehImage.cs +++ b/BlendFile/DNA/NodeBokehImage.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float catadioptric; [DNAFieldAttribute(4, "float", "lensshift", 4)] public float lensshift; + public NodeBokehImage() { + this.angle = default; + this.flaps = default; + this.rounding = default; + this.catadioptric = default; + this.lensshift = default; + } public NodeBokehImage(float angle, int flaps, float rounding, float catadioptric, float lensshift) { this.angle = angle; this.flaps = flaps; diff --git a/BlendFile/DNA/NodeBoxMask.cs b/BlendFile/DNA/NodeBoxMask.cs index 009f4f7..4afffec 100644 --- a/BlendFile/DNA/NodeBoxMask.cs +++ b/BlendFile/DNA/NodeBoxMask.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float width; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeBoxMask() { + this.x = default; + this.y = default; + this.rotation = default; + this.height = default; + this.width = default; + this._pad = default; + } public NodeBoxMask(float x, float y, float rotation, float height, float width, char[] _pad) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/NodeCMPCombSepColor.cs b/BlendFile/DNA/NodeCMPCombSepColor.cs index f362a8c..3b561f3 100644 --- a/BlendFile/DNA/NodeCMPCombSepColor.cs +++ b/BlendFile/DNA/NodeCMPCombSepColor.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte mode; [DNAFieldAttribute(1, "uchar", "ycc_mode", 1)] public byte ycc_mode; + public NodeCMPCombSepColor() { + this.mode = default; + this.ycc_mode = default; + } public NodeCMPCombSepColor(byte mode, byte ycc_mode) { this.mode = mode; this.ycc_mode = ycc_mode; diff --git a/BlendFile/DNA/NodeChroma.cs b/BlendFile/DNA/NodeChroma.cs index 8c7473a..f7f38e2 100644 --- a/BlendFile/DNA/NodeChroma.cs +++ b/BlendFile/DNA/NodeChroma.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public short algorithm; [DNAFieldAttribute(8, "short", "channel", 2)] public short channel; + public NodeChroma() { + this.t1 = default; + this.t2 = default; + this.t3 = default; + this.fsize = default; + this.fstrength = default; + this.falpha = default; + this.key = default; + this.algorithm = default; + this.channel = default; + } public NodeChroma(float t1, float t2, float t3, float fsize, float fstrength, float falpha, float[] key, short algorithm, short channel) { this.t1 = t1; this.t2 = t2; diff --git a/BlendFile/DNA/NodeColorBalance.cs b/BlendFile/DNA/NodeColorBalance.cs index 08a5235..f23b0d0 100644 --- a/BlendFile/DNA/NodeColorBalance.cs +++ b/BlendFile/DNA/NodeColorBalance.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float output_temperature; [DNAFieldAttribute(11, "float", "output_tint", 4)] public float output_tint; + public NodeColorBalance() { + this.slope = default; + this.offset = default; + this.power = default; + this.offset_basis = default; + this._pad = default; + this.lift = default; + this.gamma = default; + this.gain = default; + this.input_temperature = default; + this.input_tint = default; + this.output_temperature = default; + this.output_tint = default; + } public NodeColorBalance(float[] slope, float[] offset, float[] power, float offset_basis, char[] _pad, float[] lift, float[] gamma, float[] gain, float input_temperature, float input_tint, float output_temperature, float output_tint) { this.slope = slope; this.offset = offset; diff --git a/BlendFile/DNA/NodeColorCorrection.cs b/BlendFile/DNA/NodeColorCorrection.cs index 39815d9..ef6b83c 100644 --- a/BlendFile/DNA/NodeColorCorrection.cs +++ b/BlendFile/DNA/NodeColorCorrection.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float startmidtones; [DNAFieldAttribute(5, "float", "endmidtones", 4)] public float endmidtones; + public NodeColorCorrection() { + this.master = default; + this.shadows = default; + this.midtones = default; + this.highlights = default; + this.startmidtones = default; + this.endmidtones = default; + } public NodeColorCorrection(ColorCorrectionData master, ColorCorrectionData shadows, ColorCorrectionData midtones, ColorCorrectionData highlights, float startmidtones, float endmidtones) { this.master = master; this.shadows = shadows; diff --git a/BlendFile/DNA/NodeColorspill.cs b/BlendFile/DNA/NodeColorspill.cs index 03f443c..d1e68d9 100644 --- a/BlendFile/DNA/NodeColorspill.cs +++ b/BlendFile/DNA/NodeColorspill.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float uspillg; [DNAFieldAttribute(5, "float", "uspillb", 4)] public float uspillb; + public NodeColorspill() { + this.limchan = default; + this.unspill = default; + this.limscale = default; + this.uspillr = default; + this.uspillg = default; + this.uspillb = default; + } public NodeColorspill(short limchan, short unspill, float limscale, float uspillr, float uspillg, float uspillb) { this.limchan = limchan; this.unspill = unspill; diff --git a/BlendFile/DNA/NodeCombSepColor.cs b/BlendFile/DNA/NodeCombSepColor.cs index bea6191..22d2f00 100644 --- a/BlendFile/DNA/NodeCombSepColor.cs +++ b/BlendFile/DNA/NodeCombSepColor.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeCombSepColor { [DNAFieldAttribute(0, "int8_t", "mode", 1)] public sbyte mode; + public NodeCombSepColor() { + this.mode = default; + } public NodeCombSepColor(sbyte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeConvertColorSpace.cs b/BlendFile/DNA/NodeConvertColorSpace.cs index 66bc0e7..edb159e 100644 --- a/BlendFile/DNA/NodeConvertColorSpace.cs +++ b/BlendFile/DNA/NodeConvertColorSpace.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char[] from_color_space = new System.Char[64]; [DNAFieldAttribute(1, "char", "to_color_space[64]", 1)] public char[] to_color_space = new System.Char[64]; + public NodeConvertColorSpace() { + this.from_color_space = default; + this.to_color_space = default; + } public NodeConvertColorSpace(char[] from_color_space, char[] to_color_space) { this.from_color_space = from_color_space; this.to_color_space = to_color_space; diff --git a/BlendFile/DNA/NodeCryptomatte.cs b/BlendFile/DNA/NodeCryptomatte.cs index 6520534..dd1d1f1 100644 --- a/BlendFile/DNA/NodeCryptomatte.cs +++ b/BlendFile/DNA/NodeCryptomatte.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(6, "NodeCryptomatte_Runtime", "runtime", 40)] public NodeCryptomatte_Runtime runtime; + public NodeCryptomatte() { + this.iuser = default; + this.entries = default; + this.layer_name = default; + this.ptr_matte_id = default; + this.num_inputs = default; + this._pad = default; + this.runtime = default; + } public NodeCryptomatte(ImageUser iuser, ListBase entries, char[] layer_name, char ptr_matte_id, int num_inputs, char[] _pad, NodeCryptomatte_Runtime runtime) { this.iuser = iuser; this.entries = entries; diff --git a/BlendFile/DNA/NodeCryptomatte_Runtime.cs b/BlendFile/DNA/NodeCryptomatte_Runtime.cs index 396fd38..77a66e8 100644 --- a/BlendFile/DNA/NodeCryptomatte_Runtime.cs +++ b/BlendFile/DNA/NodeCryptomatte_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float[] add = new System.Single[3]; [DNAFieldAttribute(2, "float", "remove[3]", 4)] public float[] remove = new System.Single[3]; + public NodeCryptomatte_Runtime() { + this.layers = default; + this.add = default; + this.remove = default; + } public NodeCryptomatte_Runtime(ListBase layers, float[] add, float[] remove) { this.layers = layers; this.add = add; diff --git a/BlendFile/DNA/NodeDBlurData.cs b/BlendFile/DNA/NodeDBlurData.cs index 48d3865..4c901bb 100644 --- a/BlendFile/DNA/NodeDBlurData.cs +++ b/BlendFile/DNA/NodeDBlurData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short iter; [DNAFieldAttribute(7, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public NodeDBlurData() { + this.center_x = default; + this.center_y = default; + this.distance = default; + this.angle = default; + this.spin = default; + this.zoom = default; + this.iter = default; + this._pad = default; + } public NodeDBlurData(float center_x, float center_y, float distance, float angle, float spin, float zoom, short iter, char[] _pad) { this.center_x = center_x; this.center_y = center_y; diff --git a/BlendFile/DNA/NodeDefocus.cs b/BlendFile/DNA/NodeDefocus.cs index e264b0f..ab0ae32 100644 --- a/BlendFile/DNA/NodeDefocus.cs +++ b/BlendFile/DNA/NodeDefocus.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float rotation; [DNAFieldAttribute(11, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public NodeDefocus() { + this.bktype = default; + this._pad0 = default; + this.preview = default; + this.gamco = default; + this.samples = default; + this.no_zbuf = default; + this.fstop = default; + this.maxblur = default; + this.bthresh = default; + this.scale = default; + this.rotation = default; + this._pad1 = default; + } public NodeDefocus(char bktype, char _pad0, char preview, char gamco, short samples, short no_zbuf, float fstop, float maxblur, float bthresh, float scale, float rotation, char[] _pad1) { this.bktype = bktype; this._pad0 = _pad0; diff --git a/BlendFile/DNA/NodeDenoise.cs b/BlendFile/DNA/NodeDenoise.cs index 4577b16..aef8278 100644 --- a/BlendFile/DNA/NodeDenoise.cs +++ b/BlendFile/DNA/NodeDenoise.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char hdr; [DNAFieldAttribute(1, "char", "prefilter", 1)] public char prefilter; + public NodeDenoise() { + this.hdr = default; + this.prefilter = default; + } public NodeDenoise(char hdr, char prefilter) { this.hdr = hdr; this.prefilter = prefilter; diff --git a/BlendFile/DNA/NodeDilateErode.cs b/BlendFile/DNA/NodeDilateErode.cs index ff6d96f..ae32879 100644 --- a/BlendFile/DNA/NodeDilateErode.cs +++ b/BlendFile/DNA/NodeDilateErode.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeDilateErode { [DNAFieldAttribute(0, "char", "falloff", 1)] public char falloff; + public NodeDilateErode() { + this.falloff = default; + } public NodeDilateErode(char falloff) { this.falloff = falloff; } diff --git a/BlendFile/DNA/NodeEllipseMask.cs b/BlendFile/DNA/NodeEllipseMask.cs index c5c4b4e..d203f61 100644 --- a/BlendFile/DNA/NodeEllipseMask.cs +++ b/BlendFile/DNA/NodeEllipseMask.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float width; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeEllipseMask() { + this.x = default; + this.y = default; + this.rotation = default; + this.height = default; + this.width = default; + this._pad = default; + } public NodeEllipseMask(float x, float y, float rotation, float height, float width, char[] _pad) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/NodeEnumDefinition.cs b/BlendFile/DNA/NodeEnumDefinition.cs index af7cd1e..a6263c1 100644 --- a/BlendFile/DNA/NodeEnumDefinition.cs +++ b/BlendFile/DNA/NodeEnumDefinition.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeEnumDefinition() { + this.ptr_items_array = default; + this.items_num = default; + this.active_index = default; + this.next_identifier = default; + this._pad = default; + } public NodeEnumDefinition(NodeEnumItem ptr_items_array, int items_num, int active_index, int next_identifier, char[] _pad) { this.ptr_items_array = ptr_items_array; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeEnumItem.cs b/BlendFile/DNA/NodeEnumItem.cs index 577a9d3..69d57df 100644 --- a/BlendFile/DNA/NodeEnumItem.cs +++ b/BlendFile/DNA/NodeEnumItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int identifier; [DNAFieldAttribute(3, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeEnumItem() { + this.ptr_name = default; + this.ptr_description = default; + this.identifier = default; + this._pad = default; + } public NodeEnumItem(char ptr_name, char ptr_description, int identifier, char[] _pad) { this.ptr_name = ptr_name; this.ptr_description = ptr_description; diff --git a/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs b/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs index c45b38a..4932298 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[1]; [DNAFieldAttribute(4, "int", "identifier", 4)] public int identifier; + public NodeForeachGeometryElementGenerationItem() { + this.ptr_name = default; + this.socket_type = default; + this.domain = default; + this._pad = default; + this.identifier = default; + } public NodeForeachGeometryElementGenerationItem(char ptr_name, short socket_type, byte domain, char[] _pad, int identifier) { this.ptr_name = ptr_name; this.socket_type = socket_type; diff --git a/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs b/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs index cc07e15..3a1add2 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeForeachGeometryElementGenerationItems() { + this.ptr_items = default; + this.items_num = default; + this.active_index = default; + this.next_identifier = default; + this._pad = default; + } public NodeForeachGeometryElementGenerationItems(NodeForeachGeometryElementGenerationItem ptr_items, int items_num, int active_index, int next_identifier, char[] _pad) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs b/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs index 1939a2b..6481259 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(3, "int", "identifier", 4)] public int identifier; + public NodeForeachGeometryElementInputItem() { + this.ptr_name = default; + this.socket_type = default; + this._pad = default; + this.identifier = default; + } public NodeForeachGeometryElementInputItem(char ptr_name, short socket_type, char[] _pad, int identifier) { this.ptr_name = ptr_name; this.socket_type = socket_type; diff --git a/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs b/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs index 20abddd..ab10ada 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeForeachGeometryElementInputItems() { + this.ptr_items = default; + this.items_num = default; + this.active_index = default; + this.next_identifier = default; + this._pad = default; + } public NodeForeachGeometryElementInputItems(NodeForeachGeometryElementInputItem ptr_items, int items_num, int active_index, int next_identifier, char[] _pad) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs b/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs index f612021..a624ab3 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(3, "int", "identifier", 4)] public int identifier; + public NodeForeachGeometryElementMainItem() { + this.ptr_name = default; + this.socket_type = default; + this._pad = default; + this.identifier = default; + } public NodeForeachGeometryElementMainItem(char ptr_name, short socket_type, char[] _pad, int identifier) { this.ptr_name = ptr_name; this.socket_type = socket_type; diff --git a/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs b/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs index 12eb9c8..681b265 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeForeachGeometryElementMainItems() { + this.ptr_items = default; + this.items_num = default; + this.active_index = default; + this.next_identifier = default; + this._pad = default; + } public NodeForeachGeometryElementMainItems(NodeForeachGeometryElementMainItem ptr_items, int items_num, int active_index, int next_identifier, char[] _pad) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeFrame.cs b/BlendFile/DNA/NodeFrame.cs index c816458..f03b91c 100644 --- a/BlendFile/DNA/NodeFrame.cs +++ b/BlendFile/DNA/NodeFrame.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(1, "short", "label_size", 2)] public short label_size; + public NodeFrame() { + this.flag = default; + this.label_size = default; + } public NodeFrame(short flag, short label_size) { this.flag = flag; this.label_size = label_size; diff --git a/BlendFile/DNA/NodeFunctionCompare.cs b/BlendFile/DNA/NodeFunctionCompare.cs index 3d240e5..b74d0b6 100644 --- a/BlendFile/DNA/NodeFunctionCompare.cs +++ b/BlendFile/DNA/NodeFunctionCompare.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public sbyte mode; [DNAFieldAttribute(3, "char", "_pad[1]", 1)] public char[] _pad = new System.Char[1]; + public NodeFunctionCompare() { + this.operation = default; + this.data_type = default; + this.mode = default; + this._pad = default; + } public NodeFunctionCompare(sbyte operation, sbyte data_type, sbyte mode, char[] _pad) { this.operation = operation; this.data_type = data_type; diff --git a/BlendFile/DNA/NodeGeometryAttributeCapture.cs b/BlendFile/DNA/NodeGeometryAttributeCapture.cs index ec67ed7..a9237fa 100644 --- a/BlendFile/DNA/NodeGeometryAttributeCapture.cs +++ b/BlendFile/DNA/NodeGeometryAttributeCapture.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int capture_items_num; [DNAFieldAttribute(6, "int", "active_index", 4)] public int active_index; + public NodeGeometryAttributeCapture() { + this.data_type = default; + this.domain = default; + this._pad = default; + this.next_identifier = default; + this.ptr_capture_items = default; + this.capture_items_num = default; + this.active_index = default; + } public NodeGeometryAttributeCapture(sbyte data_type, sbyte domain, char[] _pad, int next_identifier, NodeGeometryAttributeCaptureItem ptr_capture_items, int capture_items_num, int active_index) { this.data_type = data_type; this.domain = domain; diff --git a/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs b/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs index b2912b8..f2e42d7 100644 --- a/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs +++ b/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int identifier; [DNAFieldAttribute(3, "char", "*name", 1)] public char ptr_name; + public NodeGeometryAttributeCaptureItem() { + this.data_type = default; + this._pad = default; + this.identifier = default; + this.ptr_name = default; + } public NodeGeometryAttributeCaptureItem(sbyte data_type, char[] _pad, int identifier, char ptr_name) { this.data_type = data_type; this._pad = _pad; diff --git a/BlendFile/DNA/NodeGeometryBake.cs b/BlendFile/DNA/NodeGeometryBake.cs index 998d38b..4dfa6fa 100644 --- a/BlendFile/DNA/NodeGeometryBake.cs +++ b/BlendFile/DNA/NodeGeometryBake.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int active_index; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeGeometryBake() { + this.ptr_items = default; + this.items_num = default; + this.next_identifier = default; + this.active_index = default; + this._pad = default; + } public NodeGeometryBake(NodeGeometryBakeItem ptr_items, int items_num, int next_identifier, int active_index, char[] _pad) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeGeometryBakeItem.cs b/BlendFile/DNA/NodeGeometryBakeItem.cs index d43c8af..a6330fc 100644 --- a/BlendFile/DNA/NodeGeometryBakeItem.cs +++ b/BlendFile/DNA/NodeGeometryBakeItem.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeGeometryBakeItem() { + this.ptr_name = default; + this.socket_type = default; + this.attribute_domain = default; + this.identifier = default; + this.flag = default; + this._pad = default; + } public NodeGeometryBakeItem(char ptr_name, short socket_type, short attribute_domain, int identifier, int flag, char[] _pad) { this.ptr_name = ptr_name; this.socket_type = socket_type; diff --git a/BlendFile/DNA/NodeGeometryCollectionInfo.cs b/BlendFile/DNA/NodeGeometryCollectionInfo.cs index 2b87691..5e13b7a 100644 --- a/BlendFile/DNA/NodeGeometryCollectionInfo.cs +++ b/BlendFile/DNA/NodeGeometryCollectionInfo.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCollectionInfo { [DNAFieldAttribute(0, "uchar", "transform_space", 1)] public byte transform_space; + public NodeGeometryCollectionInfo() { + this.transform_space = default; + } public NodeGeometryCollectionInfo(byte transform_space) { this.transform_space = transform_space; } diff --git a/BlendFile/DNA/NodeGeometryCurveFill.cs b/BlendFile/DNA/NodeGeometryCurveFill.cs index 26b27fa..59183c5 100644 --- a/BlendFile/DNA/NodeGeometryCurveFill.cs +++ b/BlendFile/DNA/NodeGeometryCurveFill.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurveFill { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveFill() { + this.mode = default; + } public NodeGeometryCurveFill(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurveFillet.cs b/BlendFile/DNA/NodeGeometryCurveFillet.cs index 1e68d78..555f5bc 100644 --- a/BlendFile/DNA/NodeGeometryCurveFillet.cs +++ b/BlendFile/DNA/NodeGeometryCurveFillet.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurveFillet { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveFillet() { + this.mode = default; + } public NodeGeometryCurveFillet(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs index ee592d4..08847d5 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurvePrimitiveArc { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurvePrimitiveArc() { + this.mode = default; + } public NodeGeometryCurvePrimitiveArc(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs index 3650fa6..f2f30a7 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurvePrimitiveBezierSegment { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurvePrimitiveBezierSegment() { + this.mode = default; + } public NodeGeometryCurvePrimitiveBezierSegment(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs index 9d566ea..b1edf93 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurvePrimitiveCircle { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurvePrimitiveCircle() { + this.mode = default; + } public NodeGeometryCurvePrimitiveCircle(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs index d7852f8..039f4f7 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurvePrimitiveLine { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurvePrimitiveLine() { + this.mode = default; + } public NodeGeometryCurvePrimitiveLine(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs index 33b3dcb..0c84a42 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurvePrimitiveQuad { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurvePrimitiveQuad() { + this.mode = default; + } public NodeGeometryCurvePrimitiveQuad(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurveResample.cs b/BlendFile/DNA/NodeGeometryCurveResample.cs index 5edddff..e4ac267 100644 --- a/BlendFile/DNA/NodeGeometryCurveResample.cs +++ b/BlendFile/DNA/NodeGeometryCurveResample.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurveResample { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveResample() { + this.mode = default; + } public NodeGeometryCurveResample(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurveSample.cs b/BlendFile/DNA/NodeGeometryCurveSample.cs index ac61c9a..7f27a30 100644 --- a/BlendFile/DNA/NodeGeometryCurveSample.cs +++ b/BlendFile/DNA/NodeGeometryCurveSample.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public sbyte data_type; [DNAFieldAttribute(3, "char", "_pad[1]", 1)] public char[] _pad = new System.Char[1]; + public NodeGeometryCurveSample() { + this.mode = default; + this.use_all_curves = default; + this.data_type = default; + this._pad = default; + } public NodeGeometryCurveSample(byte mode, sbyte use_all_curves, sbyte data_type, char[] _pad) { this.mode = mode; this.use_all_curves = use_all_curves; diff --git a/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs b/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs index 35d18fc..cb11c0b 100644 --- a/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs +++ b/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte handle_type; [DNAFieldAttribute(1, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveSelectHandles() { + this.handle_type = default; + this.mode = default; + } public NodeGeometryCurveSelectHandles(byte handle_type, byte mode) { this.handle_type = handle_type; this.mode = mode; diff --git a/BlendFile/DNA/NodeGeometryCurveSetHandles.cs b/BlendFile/DNA/NodeGeometryCurveSetHandles.cs index de51780..874459f 100644 --- a/BlendFile/DNA/NodeGeometryCurveSetHandles.cs +++ b/BlendFile/DNA/NodeGeometryCurveSetHandles.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte handle_type; [DNAFieldAttribute(1, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveSetHandles() { + this.handle_type = default; + this.mode = default; + } public NodeGeometryCurveSetHandles(byte handle_type, byte mode) { this.handle_type = handle_type; this.mode = mode; diff --git a/BlendFile/DNA/NodeGeometryCurveSplineType.cs b/BlendFile/DNA/NodeGeometryCurveSplineType.cs index d31e8fa..f6825e6 100644 --- a/BlendFile/DNA/NodeGeometryCurveSplineType.cs +++ b/BlendFile/DNA/NodeGeometryCurveSplineType.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurveSplineType { [DNAFieldAttribute(0, "uchar", "spline_type", 1)] public byte spline_type; + public NodeGeometryCurveSplineType() { + this.spline_type = default; + } public NodeGeometryCurveSplineType(byte spline_type) { this.spline_type = spline_type; } diff --git a/BlendFile/DNA/NodeGeometryCurveToPoints.cs b/BlendFile/DNA/NodeGeometryCurveToPoints.cs index 6056a6d..2fec940 100644 --- a/BlendFile/DNA/NodeGeometryCurveToPoints.cs +++ b/BlendFile/DNA/NodeGeometryCurveToPoints.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurveToPoints { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveToPoints() { + this.mode = default; + } public NodeGeometryCurveToPoints(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryCurveTrim.cs b/BlendFile/DNA/NodeGeometryCurveTrim.cs index 0ee9e41..75894f9 100644 --- a/BlendFile/DNA/NodeGeometryCurveTrim.cs +++ b/BlendFile/DNA/NodeGeometryCurveTrim.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryCurveTrim { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryCurveTrim() { + this.mode = default; + } public NodeGeometryCurveTrim(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryDeleteGeometry.cs b/BlendFile/DNA/NodeGeometryDeleteGeometry.cs index 2831689..63192c8 100644 --- a/BlendFile/DNA/NodeGeometryDeleteGeometry.cs +++ b/BlendFile/DNA/NodeGeometryDeleteGeometry.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public sbyte domain; [DNAFieldAttribute(1, "int8_t", "mode", 1)] public sbyte mode; + public NodeGeometryDeleteGeometry() { + this.domain = default; + this.mode = default; + } public NodeGeometryDeleteGeometry(sbyte domain, sbyte mode) { this.domain = domain; this.mode = mode; diff --git a/BlendFile/DNA/NodeGeometryDialGizmo.cs b/BlendFile/DNA/NodeGeometryDialGizmo.cs index 119a900..89044e6 100644 --- a/BlendFile/DNA/NodeGeometryDialGizmo.cs +++ b/BlendFile/DNA/NodeGeometryDialGizmo.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryDialGizmo { [DNAFieldAttribute(0, "int", "color_id", 4)] public int color_id; + public NodeGeometryDialGizmo() { + this.color_id = default; + } public NodeGeometryDialGizmo(int color_id) { this.color_id = color_id; } diff --git a/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs b/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs index aafa5e3..6d0628a 100644 --- a/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs +++ b/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryDistributePointsInVolume { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryDistributePointsInVolume() { + this.mode = default; + } public NodeGeometryDistributePointsInVolume(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryDuplicateElements.cs b/BlendFile/DNA/NodeGeometryDuplicateElements.cs index 837cfcc..b50fe29 100644 --- a/BlendFile/DNA/NodeGeometryDuplicateElements.cs +++ b/BlendFile/DNA/NodeGeometryDuplicateElements.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryDuplicateElements { [DNAFieldAttribute(0, "int8_t", "domain", 1)] public sbyte domain; + public NodeGeometryDuplicateElements() { + this.domain = default; + } public NodeGeometryDuplicateElements(sbyte domain) { this.domain = domain; } diff --git a/BlendFile/DNA/NodeGeometryExtrudeMesh.cs b/BlendFile/DNA/NodeGeometryExtrudeMesh.cs index 9ad171c..be7fd92 100644 --- a/BlendFile/DNA/NodeGeometryExtrudeMesh.cs +++ b/BlendFile/DNA/NodeGeometryExtrudeMesh.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryExtrudeMesh { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryExtrudeMesh() { + this.mode = default; + } public NodeGeometryExtrudeMesh(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs b/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs index ba8483f..4c444ca 100644 --- a/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs +++ b/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryForeachGeometryElementInput { [DNAFieldAttribute(0, "int", "output_node_id", 4)] public int output_node_id; + public NodeGeometryForeachGeometryElementInput() { + this.output_node_id = default; + } public NodeGeometryForeachGeometryElementInput(int output_node_id) { this.output_node_id = output_node_id; } diff --git a/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs b/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs index e6d50b7..e1baf73 100644 --- a/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs +++ b/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public byte domain; [DNAFieldAttribute(5, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public NodeGeometryForeachGeometryElementOutput() { + this.input_items = default; + this.main_items = default; + this.generation_items = default; + this.inspection_index = default; + this.domain = default; + this._pad = default; + } public NodeGeometryForeachGeometryElementOutput(NodeForeachGeometryElementInputItems input_items, NodeForeachGeometryElementMainItems main_items, NodeForeachGeometryElementGenerationItems generation_items, int inspection_index, byte domain, char[] _pad) { this.input_items = input_items; this.main_items = main_items; diff --git a/BlendFile/DNA/NodeGeometryImageTexture.cs b/BlendFile/DNA/NodeGeometryImageTexture.cs index 8c8724a..c010778 100644 --- a/BlendFile/DNA/NodeGeometryImageTexture.cs +++ b/BlendFile/DNA/NodeGeometryImageTexture.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public sbyte interpolation; [DNAFieldAttribute(1, "int8_t", "extension", 1)] public sbyte extension; + public NodeGeometryImageTexture() { + this.interpolation = default; + this.extension = default; + } public NodeGeometryImageTexture(sbyte interpolation, sbyte extension) { this.interpolation = interpolation; this.extension = extension; diff --git a/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs b/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs index 3162047..cdef8b6 100644 --- a/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs +++ b/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryInputNamedAttribute { [DNAFieldAttribute(0, "int8_t", "data_type", 1)] public sbyte data_type; + public NodeGeometryInputNamedAttribute() { + this.data_type = default; + } public NodeGeometryInputNamedAttribute(sbyte data_type) { this.data_type = data_type; } diff --git a/BlendFile/DNA/NodeGeometryLinearGizmo.cs b/BlendFile/DNA/NodeGeometryLinearGizmo.cs index 2b4a8c8..8a12126 100644 --- a/BlendFile/DNA/NodeGeometryLinearGizmo.cs +++ b/BlendFile/DNA/NodeGeometryLinearGizmo.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int color_id; [DNAFieldAttribute(1, "int", "draw_style", 4)] public int draw_style; + public NodeGeometryLinearGizmo() { + this.color_id = default; + this.draw_style = default; + } public NodeGeometryLinearGizmo(int color_id, int draw_style) { this.color_id = color_id; this.draw_style = draw_style; diff --git a/BlendFile/DNA/NodeGeometryMergeByDistance.cs b/BlendFile/DNA/NodeGeometryMergeByDistance.cs index 43adf1b..d0d1017 100644 --- a/BlendFile/DNA/NodeGeometryMergeByDistance.cs +++ b/BlendFile/DNA/NodeGeometryMergeByDistance.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMergeByDistance { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryMergeByDistance() { + this.mode = default; + } public NodeGeometryMergeByDistance(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryMergeLayers.cs b/BlendFile/DNA/NodeGeometryMergeLayers.cs index 2e8e419..4e19c37 100644 --- a/BlendFile/DNA/NodeGeometryMergeLayers.cs +++ b/BlendFile/DNA/NodeGeometryMergeLayers.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMergeLayers { [DNAFieldAttribute(0, "int8_t", "mode", 1)] public sbyte mode; + public NodeGeometryMergeLayers() { + this.mode = default; + } public NodeGeometryMergeLayers(sbyte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryMeshCircle.cs b/BlendFile/DNA/NodeGeometryMeshCircle.cs index fdfe5d5..52a03a7 100644 --- a/BlendFile/DNA/NodeGeometryMeshCircle.cs +++ b/BlendFile/DNA/NodeGeometryMeshCircle.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMeshCircle { [DNAFieldAttribute(0, "uchar", "fill_type", 1)] public byte fill_type; + public NodeGeometryMeshCircle() { + this.fill_type = default; + } public NodeGeometryMeshCircle(byte fill_type) { this.fill_type = fill_type; } diff --git a/BlendFile/DNA/NodeGeometryMeshCone.cs b/BlendFile/DNA/NodeGeometryMeshCone.cs index 05a5839..c9d3fb9 100644 --- a/BlendFile/DNA/NodeGeometryMeshCone.cs +++ b/BlendFile/DNA/NodeGeometryMeshCone.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMeshCone { [DNAFieldAttribute(0, "uchar", "fill_type", 1)] public byte fill_type; + public NodeGeometryMeshCone() { + this.fill_type = default; + } public NodeGeometryMeshCone(byte fill_type) { this.fill_type = fill_type; } diff --git a/BlendFile/DNA/NodeGeometryMeshCylinder.cs b/BlendFile/DNA/NodeGeometryMeshCylinder.cs index 7dec363..19551f7 100644 --- a/BlendFile/DNA/NodeGeometryMeshCylinder.cs +++ b/BlendFile/DNA/NodeGeometryMeshCylinder.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMeshCylinder { [DNAFieldAttribute(0, "uchar", "fill_type", 1)] public byte fill_type; + public NodeGeometryMeshCylinder() { + this.fill_type = default; + } public NodeGeometryMeshCylinder(byte fill_type) { this.fill_type = fill_type; } diff --git a/BlendFile/DNA/NodeGeometryMeshLine.cs b/BlendFile/DNA/NodeGeometryMeshLine.cs index 422d827..6947e3f 100644 --- a/BlendFile/DNA/NodeGeometryMeshLine.cs +++ b/BlendFile/DNA/NodeGeometryMeshLine.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte mode; [DNAFieldAttribute(1, "uchar", "count_mode", 1)] public byte count_mode; + public NodeGeometryMeshLine() { + this.mode = default; + this.count_mode = default; + } public NodeGeometryMeshLine(byte mode, byte count_mode) { this.mode = mode; this.count_mode = count_mode; diff --git a/BlendFile/DNA/NodeGeometryMeshToPoints.cs b/BlendFile/DNA/NodeGeometryMeshToPoints.cs index 5832de6..adc4a7d 100644 --- a/BlendFile/DNA/NodeGeometryMeshToPoints.cs +++ b/BlendFile/DNA/NodeGeometryMeshToPoints.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMeshToPoints { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometryMeshToPoints() { + this.mode = default; + } public NodeGeometryMeshToPoints(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometryMeshToVolume.cs b/BlendFile/DNA/NodeGeometryMeshToVolume.cs index fbf3590..745d60b 100644 --- a/BlendFile/DNA/NodeGeometryMeshToVolume.cs +++ b/BlendFile/DNA/NodeGeometryMeshToVolume.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryMeshToVolume { [DNAFieldAttribute(0, "uchar", "resolution_mode", 1)] public byte resolution_mode; + public NodeGeometryMeshToVolume() { + this.resolution_mode = default; + } public NodeGeometryMeshToVolume(byte resolution_mode) { this.resolution_mode = resolution_mode; } diff --git a/BlendFile/DNA/NodeGeometryObjectInfo.cs b/BlendFile/DNA/NodeGeometryObjectInfo.cs index 04e295c..52c00f0 100644 --- a/BlendFile/DNA/NodeGeometryObjectInfo.cs +++ b/BlendFile/DNA/NodeGeometryObjectInfo.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryObjectInfo { [DNAFieldAttribute(0, "uchar", "transform_space", 1)] public byte transform_space; + public NodeGeometryObjectInfo() { + this.transform_space = default; + } public NodeGeometryObjectInfo(byte transform_space) { this.transform_space = transform_space; } diff --git a/BlendFile/DNA/NodeGeometryPointsToVolume.cs b/BlendFile/DNA/NodeGeometryPointsToVolume.cs index 9bf082b..d1adf2d 100644 --- a/BlendFile/DNA/NodeGeometryPointsToVolume.cs +++ b/BlendFile/DNA/NodeGeometryPointsToVolume.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte resolution_mode; [DNAFieldAttribute(1, "uchar", "input_type_radius", 1)] public byte input_type_radius; + public NodeGeometryPointsToVolume() { + this.resolution_mode = default; + this.input_type_radius = default; + } public NodeGeometryPointsToVolume(byte resolution_mode, byte input_type_radius) { this.resolution_mode = resolution_mode; this.input_type_radius = input_type_radius; diff --git a/BlendFile/DNA/NodeGeometryProximity.cs b/BlendFile/DNA/NodeGeometryProximity.cs index fa5ae89..03e802c 100644 --- a/BlendFile/DNA/NodeGeometryProximity.cs +++ b/BlendFile/DNA/NodeGeometryProximity.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryProximity { [DNAFieldAttribute(0, "uchar", "target_element", 1)] public byte target_element; + public NodeGeometryProximity() { + this.target_element = default; + } public NodeGeometryProximity(byte target_element) { this.target_element = target_element; } diff --git a/BlendFile/DNA/NodeGeometryRaycast.cs b/BlendFile/DNA/NodeGeometryRaycast.cs index ef7afec..a504eee 100644 --- a/BlendFile/DNA/NodeGeometryRaycast.cs +++ b/BlendFile/DNA/NodeGeometryRaycast.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte mapping; [DNAFieldAttribute(1, "int8_t", "data_type", 1)] public sbyte data_type; + public NodeGeometryRaycast() { + this.mapping = default; + this.data_type = default; + } public NodeGeometryRaycast(byte mapping, sbyte data_type) { this.mapping = mapping; this.data_type = data_type; diff --git a/BlendFile/DNA/NodeGeometryRepeatInput.cs b/BlendFile/DNA/NodeGeometryRepeatInput.cs index 7e4c2e5..7fed3b8 100644 --- a/BlendFile/DNA/NodeGeometryRepeatInput.cs +++ b/BlendFile/DNA/NodeGeometryRepeatInput.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryRepeatInput { [DNAFieldAttribute(0, "int", "output_node_id", 4)] public int output_node_id; + public NodeGeometryRepeatInput() { + this.output_node_id = default; + } public NodeGeometryRepeatInput(int output_node_id) { this.output_node_id = output_node_id; } diff --git a/BlendFile/DNA/NodeGeometryRepeatOutput.cs b/BlendFile/DNA/NodeGeometryRepeatOutput.cs index acd9d06..13f7a40 100644 --- a/BlendFile/DNA/NodeGeometryRepeatOutput.cs +++ b/BlendFile/DNA/NodeGeometryRepeatOutput.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "int", "inspection_index", 4)] public int inspection_index; + public NodeGeometryRepeatOutput() { + this.ptr_items = default; + this.items_num = default; + this.active_index = default; + this.next_identifier = default; + this.inspection_index = default; + } public NodeGeometryRepeatOutput(NodeRepeatItem ptr_items, int items_num, int active_index, int next_identifier, int inspection_index) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeGeometrySampleIndex.cs b/BlendFile/DNA/NodeGeometrySampleIndex.cs index 0bb2e63..fd32ac7 100644 --- a/BlendFile/DNA/NodeGeometrySampleIndex.cs +++ b/BlendFile/DNA/NodeGeometrySampleIndex.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public sbyte clamp; [DNAFieldAttribute(3, "char", "_pad[1]", 1)] public char[] _pad = new System.Char[1]; + public NodeGeometrySampleIndex() { + this.data_type = default; + this.domain = default; + this.clamp = default; + this._pad = default; + } public NodeGeometrySampleIndex(sbyte data_type, sbyte domain, sbyte clamp, char[] _pad) { this.data_type = data_type; this.domain = domain; diff --git a/BlendFile/DNA/NodeGeometrySeparateGeometry.cs b/BlendFile/DNA/NodeGeometrySeparateGeometry.cs index d073c2a..12298a9 100644 --- a/BlendFile/DNA/NodeGeometrySeparateGeometry.cs +++ b/BlendFile/DNA/NodeGeometrySeparateGeometry.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometrySeparateGeometry { [DNAFieldAttribute(0, "int8_t", "domain", 1)] public sbyte domain; + public NodeGeometrySeparateGeometry() { + this.domain = default; + } public NodeGeometrySeparateGeometry(sbyte domain) { this.domain = domain; } diff --git a/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs b/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs index eb9322e..42e6efe 100644 --- a/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs +++ b/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometrySetCurveHandlePositions { [DNAFieldAttribute(0, "uchar", "mode", 1)] public byte mode; + public NodeGeometrySetCurveHandlePositions() { + this.mode = default; + } public NodeGeometrySetCurveHandlePositions(byte mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeGeometrySimulationInput.cs b/BlendFile/DNA/NodeGeometrySimulationInput.cs index d6d8ab9..a6b4a1c 100644 --- a/BlendFile/DNA/NodeGeometrySimulationInput.cs +++ b/BlendFile/DNA/NodeGeometrySimulationInput.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometrySimulationInput { [DNAFieldAttribute(0, "int", "output_node_id", 4)] public int output_node_id; + public NodeGeometrySimulationInput() { + this.output_node_id = default; + } public NodeGeometrySimulationInput(int output_node_id) { this.output_node_id = output_node_id; } diff --git a/BlendFile/DNA/NodeGeometrySimulationOutput.cs b/BlendFile/DNA/NodeGeometrySimulationOutput.cs index 569365e..b334f33 100644 --- a/BlendFile/DNA/NodeGeometrySimulationOutput.cs +++ b/BlendFile/DNA/NodeGeometrySimulationOutput.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "int", "_pad", 4)] public int _pad; + public NodeGeometrySimulationOutput() { + this.ptr_items = default; + this.items_num = default; + this.active_index = default; + this.next_identifier = default; + this._pad = default; + } public NodeGeometrySimulationOutput(NodeSimulationItem ptr_items, int items_num, int active_index, int next_identifier, int _pad) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs b/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs index 7e68a51..f3c1a88 100644 --- a/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs +++ b/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public sbyte data_type; [DNAFieldAttribute(1, "int8_t", "domain", 1)] public sbyte domain; + public NodeGeometryStoreNamedAttribute() { + this.data_type = default; + this.domain = default; + } public NodeGeometryStoreNamedAttribute(sbyte data_type, sbyte domain) { this.data_type = data_type; this.domain = domain; diff --git a/BlendFile/DNA/NodeGeometryStringToCurves.cs b/BlendFile/DNA/NodeGeometryStringToCurves.cs index c6ece7a..1460bf7 100644 --- a/BlendFile/DNA/NodeGeometryStringToCurves.cs +++ b/BlendFile/DNA/NodeGeometryStringToCurves.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public byte align_y; [DNAFieldAttribute(3, "uchar", "pivot_mode", 1)] public byte pivot_mode; + public NodeGeometryStringToCurves() { + this.overflow = default; + this.align_x = default; + this.align_y = default; + this.pivot_mode = default; + } public NodeGeometryStringToCurves(byte overflow, byte align_x, byte align_y, byte pivot_mode) { this.overflow = overflow; this.align_x = align_x; diff --git a/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs b/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs index 68daea7..1de6715 100644 --- a/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs +++ b/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public byte uv_smooth; [DNAFieldAttribute(1, "uchar", "boundary_smooth", 1)] public byte boundary_smooth; + public NodeGeometrySubdivisionSurface() { + this.uv_smooth = default; + this.boundary_smooth = default; + } public NodeGeometrySubdivisionSurface(byte uv_smooth, byte boundary_smooth) { this.uv_smooth = uv_smooth; this.boundary_smooth = boundary_smooth; diff --git a/BlendFile/DNA/NodeGeometryTransferAttribute.cs b/BlendFile/DNA/NodeGeometryTransferAttribute.cs index c833084..9ef6ac9 100644 --- a/BlendFile/DNA/NodeGeometryTransferAttribute.cs +++ b/BlendFile/DNA/NodeGeometryTransferAttribute.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public byte mode; [DNAFieldAttribute(3, "char", "_pad[1]", 1)] public char[] _pad = new System.Char[1]; + public NodeGeometryTransferAttribute() { + this.data_type = default; + this.domain = default; + this.mode = default; + this._pad = default; + } public NodeGeometryTransferAttribute(sbyte data_type, sbyte domain, byte mode, char[] _pad) { this.data_type = data_type; this.domain = domain; diff --git a/BlendFile/DNA/NodeGeometryTransformGizmo.cs b/BlendFile/DNA/NodeGeometryTransformGizmo.cs index 65b234f..58ee41b 100644 --- a/BlendFile/DNA/NodeGeometryTransformGizmo.cs +++ b/BlendFile/DNA/NodeGeometryTransformGizmo.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryTransformGizmo { [DNAFieldAttribute(0, "int", "flag", 4)] public int flag; + public NodeGeometryTransformGizmo() { + this.flag = default; + } public NodeGeometryTransformGizmo(int flag) { this.flag = flag; } diff --git a/BlendFile/DNA/NodeGeometryUVUnwrap.cs b/BlendFile/DNA/NodeGeometryUVUnwrap.cs index 8966a12..b0b3256 100644 --- a/BlendFile/DNA/NodeGeometryUVUnwrap.cs +++ b/BlendFile/DNA/NodeGeometryUVUnwrap.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryUVUnwrap { [DNAFieldAttribute(0, "uchar", "method", 1)] public byte method; + public NodeGeometryUVUnwrap() { + this.method = default; + } public NodeGeometryUVUnwrap(byte method) { this.method = method; } diff --git a/BlendFile/DNA/NodeGeometryViewer.cs b/BlendFile/DNA/NodeGeometryViewer.cs index 6438a2f..75f4293 100644 --- a/BlendFile/DNA/NodeGeometryViewer.cs +++ b/BlendFile/DNA/NodeGeometryViewer.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public sbyte data_type; [DNAFieldAttribute(1, "int8_t", "domain", 1)] public sbyte domain; + public NodeGeometryViewer() { + this.data_type = default; + this.domain = default; + } public NodeGeometryViewer(sbyte data_type, sbyte domain) { this.data_type = data_type; this.domain = domain; diff --git a/BlendFile/DNA/NodeGeometryVolumeToMesh.cs b/BlendFile/DNA/NodeGeometryVolumeToMesh.cs index b71c981..6c47ae0 100644 --- a/BlendFile/DNA/NodeGeometryVolumeToMesh.cs +++ b/BlendFile/DNA/NodeGeometryVolumeToMesh.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeGeometryVolumeToMesh { [DNAFieldAttribute(0, "uchar", "resolution_mode", 1)] public byte resolution_mode; + public NodeGeometryVolumeToMesh() { + this.resolution_mode = default; + } public NodeGeometryVolumeToMesh(byte resolution_mode) { this.resolution_mode = resolution_mode; } diff --git a/BlendFile/DNA/NodeGlare.cs b/BlendFile/DNA/NodeGlare.cs index c66ee3c..56e6be1 100644 --- a/BlendFile/DNA/NodeGlare.cs +++ b/BlendFile/DNA/NodeGlare.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public float angle_ofs; [DNAFieldAttribute(13, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public NodeGlare() { + this.quality = default; + this.type = default; + this.iter = default; + this.angle = default; + this._pad0 = default; + this.size = default; + this.star_45 = default; + this.streaks = default; + this.colmod = default; + this.mix = default; + this.threshold = default; + this.fade = default; + this.angle_ofs = default; + this._pad1 = default; + } public NodeGlare(char quality, char type, char iter, char angle, char _pad0, char size, char star_45, char streaks, float colmod, float mix, float threshold, float fade, float angle_ofs, char[] _pad1) { this.quality = quality; this.type = type; diff --git a/BlendFile/DNA/NodeHueSat.cs b/BlendFile/DNA/NodeHueSat.cs index d6ca77d..9a469b8 100644 --- a/BlendFile/DNA/NodeHueSat.cs +++ b/BlendFile/DNA/NodeHueSat.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float sat; [DNAFieldAttribute(2, "float", "val", 4)] public float val; + public NodeHueSat() { + this.hue = default; + this.sat = default; + this.val = default; + } public NodeHueSat(float hue, float sat, float val) { this.hue = hue; this.sat = sat; diff --git a/BlendFile/DNA/NodeImageAnim.cs b/BlendFile/DNA/NodeImageAnim.cs index 572c839..b2de4b9 100644 --- a/BlendFile/DNA/NodeImageAnim.cs +++ b/BlendFile/DNA/NodeImageAnim.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char movie; [DNAFieldAttribute(5, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public NodeImageAnim() { + this.frames = default; + this.sfra = default; + this.nr = default; + this.cyclic = default; + this.movie = default; + this._pad = default; + } public NodeImageAnim(int frames, int sfra, int nr, char cyclic, char movie, char[] _pad) { this.frames = frames; this.sfra = sfra; diff --git a/BlendFile/DNA/NodeImageFile.cs b/BlendFile/DNA/NodeImageFile.cs index 8ff40f0..9bd649f 100644 --- a/BlendFile/DNA/NodeImageFile.cs +++ b/BlendFile/DNA/NodeImageFile.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int sfra; [DNAFieldAttribute(3, "int", "efra", 4)] public int efra; + public NodeImageFile() { + this.name = default; + this.im_format = default; + this.sfra = default; + this.efra = default; + } public NodeImageFile(char[] name, ImageFormatData im_format, int sfra, int efra) { this.name = name; this.im_format = im_format; diff --git a/BlendFile/DNA/NodeImageLayer.cs b/BlendFile/DNA/NodeImageLayer.cs index ce93335..32ff6aa 100644 --- a/BlendFile/DNA/NodeImageLayer.cs +++ b/BlendFile/DNA/NodeImageLayer.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int pass_index; [DNAFieldAttribute(1, "char", "pass_name[64]", 1)] public char[] pass_name = new System.Char[64]; + public NodeImageLayer() { + this.pass_index = default; + this.pass_name = default; + } public NodeImageLayer(int pass_index, char[] pass_name) { this.pass_index = pass_index; this.pass_name = pass_name; diff --git a/BlendFile/DNA/NodeImageMultiFile.cs b/BlendFile/DNA/NodeImageMultiFile.cs index a286cd2..5e6a727 100644 --- a/BlendFile/DNA/NodeImageMultiFile.cs +++ b/BlendFile/DNA/NodeImageMultiFile.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char save_as_render; [DNAFieldAttribute(6, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public NodeImageMultiFile() { + this.base_path = default; + this.format = default; + this.sfra = default; + this.efra = default; + this.active_input = default; + this.save_as_render = default; + this._pad = default; + } public NodeImageMultiFile(char[] base_path, ImageFormatData format, int sfra, int efra, int active_input, char save_as_render, char[] _pad) { this.base_path = base_path; this.format = format; diff --git a/BlendFile/DNA/NodeImageMultiFileSocket.cs b/BlendFile/DNA/NodeImageMultiFileSocket.cs index 53a454e..97b9ec1 100644 --- a/BlendFile/DNA/NodeImageMultiFileSocket.cs +++ b/BlendFile/DNA/NodeImageMultiFileSocket.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] layer = new System.Char[30]; [DNAFieldAttribute(7, "char", "_pad2[2]", 1)] public char[] _pad2 = new System.Char[2]; + public NodeImageMultiFileSocket() { + this.use_render_format = default; + this.use_node_format = default; + this.save_as_render = default; + this._pad1 = default; + this.path = default; + this.format = default; + this.layer = default; + this._pad2 = default; + } public NodeImageMultiFileSocket(short use_render_format, short use_node_format, char save_as_render, char[] _pad1, char[] path, ImageFormatData format, char[] layer, char[] _pad2) { this.use_render_format = use_render_format; this.use_node_format = use_node_format; diff --git a/BlendFile/DNA/NodeIndexSwitch.cs b/BlendFile/DNA/NodeIndexSwitch.cs index 72b3601..64a21bc 100644 --- a/BlendFile/DNA/NodeIndexSwitch.cs +++ b/BlendFile/DNA/NodeIndexSwitch.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeIndexSwitch() { + this.ptr_items = default; + this.items_num = default; + this.data_type = default; + this.next_identifier = default; + this._pad = default; + } public NodeIndexSwitch(IndexSwitchItem ptr_items, int items_num, int data_type, int next_identifier, char[] _pad) { this.ptr_items = ptr_items; this.items_num = items_num; diff --git a/BlendFile/DNA/NodeInputBool.cs b/BlendFile/DNA/NodeInputBool.cs index cadbc38..7b85f0f 100644 --- a/BlendFile/DNA/NodeInputBool.cs +++ b/BlendFile/DNA/NodeInputBool.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeInputBool { [DNAFieldAttribute(0, "uchar", "boolean", 1)] public byte boolean; + public NodeInputBool() { + this.boolean = default; + } public NodeInputBool(byte boolean) { this.boolean = boolean; } diff --git a/BlendFile/DNA/NodeInputColor.cs b/BlendFile/DNA/NodeInputColor.cs index 7072156..b87be40 100644 --- a/BlendFile/DNA/NodeInputColor.cs +++ b/BlendFile/DNA/NodeInputColor.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeInputColor { [DNAFieldAttribute(0, "float", "color[4]", 4)] public float[] color = new System.Single[4]; + public NodeInputColor() { + this.color = default; + } public NodeInputColor(float[] color) { this.color = color; } diff --git a/BlendFile/DNA/NodeInputInt.cs b/BlendFile/DNA/NodeInputInt.cs index 3bc6730..e50c70f 100644 --- a/BlendFile/DNA/NodeInputInt.cs +++ b/BlendFile/DNA/NodeInputInt.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeInputInt { [DNAFieldAttribute(0, "int", "integer", 4)] public int integer; + public NodeInputInt() { + this.integer = default; + } public NodeInputInt(int integer) { this.integer = integer; } diff --git a/BlendFile/DNA/NodeInputRotation.cs b/BlendFile/DNA/NodeInputRotation.cs index a4c707b..aeee731 100644 --- a/BlendFile/DNA/NodeInputRotation.cs +++ b/BlendFile/DNA/NodeInputRotation.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeInputRotation { [DNAFieldAttribute(0, "float", "rotation_euler[3]", 4)] public float[] rotation_euler = new System.Single[3]; + public NodeInputRotation() { + this.rotation_euler = default; + } public NodeInputRotation(float[] rotation_euler) { this.rotation_euler = rotation_euler; } diff --git a/BlendFile/DNA/NodeInputString.cs b/BlendFile/DNA/NodeInputString.cs index a5d60c5..fb50b90 100644 --- a/BlendFile/DNA/NodeInputString.cs +++ b/BlendFile/DNA/NodeInputString.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class NodeInputString { [DNAFieldAttribute(0, "char", "*string", 1)] public char ptr_string; + public NodeInputString() { + this.ptr_string = default; + } public NodeInputString(char ptr_string) { this.ptr_string = ptr_string; } diff --git a/BlendFile/DNA/NodeInputVector.cs b/BlendFile/DNA/NodeInputVector.cs index b3de80b..74ece63 100644 --- a/BlendFile/DNA/NodeInputVector.cs +++ b/BlendFile/DNA/NodeInputVector.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeInputVector { [DNAFieldAttribute(0, "float", "vector[3]", 4)] public float[] vector = new System.Single[3]; + public NodeInputVector() { + this.vector = default; + } public NodeInputVector(float[] vector) { this.vector = vector; } diff --git a/BlendFile/DNA/NodeKeyingData.cs b/BlendFile/DNA/NodeKeyingData.cs index 5db9421..6555a47 100644 --- a/BlendFile/DNA/NodeKeyingData.cs +++ b/BlendFile/DNA/NodeKeyingData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public int blur_pre; [DNAFieldAttribute(11, "int", "blur_post", 4)] public int blur_post; + public NodeKeyingData() { + this.screen_balance = default; + this.despill_factor = default; + this.despill_balance = default; + this.edge_kernel_radius = default; + this.edge_kernel_tolerance = default; + this.clip_black = default; + this.clip_white = default; + this.dilate_distance = default; + this.feather_distance = default; + this.feather_falloff = default; + this.blur_pre = default; + this.blur_post = default; + } public NodeKeyingData(float screen_balance, float despill_factor, float despill_balance, int edge_kernel_radius, float edge_kernel_tolerance, float clip_black, float clip_white, int dilate_distance, int feather_distance, int feather_falloff, int blur_pre, int blur_post) { this.screen_balance = screen_balance; this.despill_factor = despill_factor; diff --git a/BlendFile/DNA/NodeKeyingScreenData.cs b/BlendFile/DNA/NodeKeyingScreenData.cs index c4ff1d2..7171e64 100644 --- a/BlendFile/DNA/NodeKeyingScreenData.cs +++ b/BlendFile/DNA/NodeKeyingScreenData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char[] tracking_object = new System.Char[64]; [DNAFieldAttribute(1, "float", "smoothness", 4)] public float smoothness; + public NodeKeyingScreenData() { + this.tracking_object = default; + this.smoothness = default; + } public NodeKeyingScreenData(char[] tracking_object, float smoothness) { this.tracking_object = tracking_object; this.smoothness = smoothness; diff --git a/BlendFile/DNA/NodeKuwaharaData.cs b/BlendFile/DNA/NodeKuwaharaData.cs index 44aea6c..6c6ba3f 100644 --- a/BlendFile/DNA/NodeKuwaharaData.cs +++ b/BlendFile/DNA/NodeKuwaharaData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public char high_precision; [DNAFieldAttribute(6, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public NodeKuwaharaData() { + this.size = default; + this.variation = default; + this.uniformity = default; + this.sharpness = default; + this.eccentricity = default; + this.high_precision = default; + this._pad = default; + } public NodeKuwaharaData(short size, short variation, int uniformity, float sharpness, float eccentricity, char high_precision, char[] _pad) { this.size = size; this.variation = variation; diff --git a/BlendFile/DNA/NodeLensDist.cs b/BlendFile/DNA/NodeLensDist.cs index fbb0c0f..5249b22 100644 --- a/BlendFile/DNA/NodeLensDist.cs +++ b/BlendFile/DNA/NodeLensDist.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short fit; [DNAFieldAttribute(3, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public NodeLensDist() { + this.jit = default; + this.proj = default; + this.fit = default; + this._pad = default; + } public NodeLensDist(short jit, short proj, short fit, char[] _pad) { this.jit = jit; this.proj = proj; diff --git a/BlendFile/DNA/NodeMapRange.cs b/BlendFile/DNA/NodeMapRange.cs index dca171a..a87fe54 100644 --- a/BlendFile/DNA/NodeMapRange.cs +++ b/BlendFile/DNA/NodeMapRange.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public byte clamp; [DNAFieldAttribute(3, "char", "_pad[5]", 1)] public char[] _pad = new System.Char[5]; + public NodeMapRange() { + this.data_type = default; + this.interpolation_type = default; + this.clamp = default; + this._pad = default; + } public NodeMapRange(byte data_type, byte interpolation_type, byte clamp, char[] _pad) { this.data_type = data_type; this.interpolation_type = interpolation_type; diff --git a/BlendFile/DNA/NodeMask.cs b/BlendFile/DNA/NodeMask.cs index 7bfcc4f..d80d1f3 100644 --- a/BlendFile/DNA/NodeMask.cs +++ b/BlendFile/DNA/NodeMask.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int size_x; [DNAFieldAttribute(1, "int", "size_y", 4)] public int size_y; + public NodeMask() { + this.size_x = default; + this.size_y = default; + } public NodeMask(int size_x, int size_y) { this.size_x = size_x; this.size_y = size_y; diff --git a/BlendFile/DNA/NodeMenuSwitch.cs b/BlendFile/DNA/NodeMenuSwitch.cs index c8a5e8a..49884e8 100644 --- a/BlendFile/DNA/NodeMenuSwitch.cs +++ b/BlendFile/DNA/NodeMenuSwitch.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public byte data_type; [DNAFieldAttribute(2, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public NodeMenuSwitch() { + this.enum_definition = default; + this.data_type = default; + this._pad = default; + } public NodeMenuSwitch(NodeEnumDefinition enum_definition, byte data_type, char[] _pad) { this.enum_definition = enum_definition; this.data_type = data_type; diff --git a/BlendFile/DNA/NodePlaneTrackDeformData.cs b/BlendFile/DNA/NodePlaneTrackDeformData.cs index b3799d6..a83ba85 100644 --- a/BlendFile/DNA/NodePlaneTrackDeformData.cs +++ b/BlendFile/DNA/NodePlaneTrackDeformData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(5, "float", "motion_blur_shutter", 4)] public float motion_blur_shutter; + public NodePlaneTrackDeformData() { + this.tracking_object = default; + this.plane_track_name = default; + this.flag = default; + this.motion_blur_samples = default; + this._pad = default; + this.motion_blur_shutter = default; + } public NodePlaneTrackDeformData(char[] tracking_object, char[] plane_track_name, char flag, char motion_blur_samples, char[] _pad, float motion_blur_shutter) { this.tracking_object = tracking_object; this.plane_track_name = plane_track_name; diff --git a/BlendFile/DNA/NodeRandomValue.cs b/BlendFile/DNA/NodeRandomValue.cs index 9138cf3..4e34428 100644 --- a/BlendFile/DNA/NodeRandomValue.cs +++ b/BlendFile/DNA/NodeRandomValue.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeRandomValue { [DNAFieldAttribute(0, "uchar", "data_type", 1)] public byte data_type; + public NodeRandomValue() { + this.data_type = default; + } public NodeRandomValue(byte data_type) { this.data_type = data_type; } diff --git a/BlendFile/DNA/NodeRepeatItem.cs b/BlendFile/DNA/NodeRepeatItem.cs index fa6a3d2..ba39151 100644 --- a/BlendFile/DNA/NodeRepeatItem.cs +++ b/BlendFile/DNA/NodeRepeatItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(3, "int", "identifier", 4)] public int identifier; + public NodeRepeatItem() { + this.ptr_name = default; + this.socket_type = default; + this._pad = default; + this.identifier = default; + } public NodeRepeatItem(char ptr_name, short socket_type, char[] _pad, int identifier) { this.ptr_name = ptr_name; this.socket_type = socket_type; diff --git a/BlendFile/DNA/NodeReroute.cs b/BlendFile/DNA/NodeReroute.cs index fabab33..8ac9f00 100644 --- a/BlendFile/DNA/NodeReroute.cs +++ b/BlendFile/DNA/NodeReroute.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeReroute { [DNAFieldAttribute(0, "char", "type_idname[64]", 1)] public char[] type_idname = new System.Char[64]; + public NodeReroute() { + this.type_idname = default; + } public NodeReroute(char[] type_idname) { this.type_idname = type_idname; } diff --git a/BlendFile/DNA/NodeScriptDict.cs b/BlendFile/DNA/NodeScriptDict.cs index d658b03..835eed2 100644 --- a/BlendFile/DNA/NodeScriptDict.cs +++ b/BlendFile/DNA/NodeScriptDict.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public object ptr_dict; [DNAFieldAttribute(1, "void", "*node", 0)] public object ptr_node; + public NodeScriptDict() { + this.ptr_dict = default; + this.ptr_node = default; + } public NodeScriptDict(object ptr_dict, object ptr_node) { this.ptr_dict = ptr_dict; this.ptr_node = ptr_node; diff --git a/BlendFile/DNA/NodeSetAlpha.cs b/BlendFile/DNA/NodeSetAlpha.cs index 34cea25..a4bd054 100644 --- a/BlendFile/DNA/NodeSetAlpha.cs +++ b/BlendFile/DNA/NodeSetAlpha.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeSetAlpha { [DNAFieldAttribute(0, "char", "mode", 1)] public char mode; + public NodeSetAlpha() { + this.mode = default; + } public NodeSetAlpha(char mode) { this.mode = mode; } diff --git a/BlendFile/DNA/NodeShaderAttribute.cs b/BlendFile/DNA/NodeShaderAttribute.cs index 3277c5c..5018342 100644 --- a/BlendFile/DNA/NodeShaderAttribute.cs +++ b/BlendFile/DNA/NodeShaderAttribute.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeShaderAttribute() { + this.name = default; + this.type = default; + this._pad = default; + } public NodeShaderAttribute(char[] name, int type, char[] _pad) { this.name = name; this.type = type; diff --git a/BlendFile/DNA/NodeShaderHairPrincipled.cs b/BlendFile/DNA/NodeShaderHairPrincipled.cs index 41dfba7..0b891a1 100644 --- a/BlendFile/DNA/NodeShaderHairPrincipled.cs +++ b/BlendFile/DNA/NodeShaderHairPrincipled.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public short parametrization; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeShaderHairPrincipled() { + this.model = default; + this.parametrization = default; + this._pad = default; + } public NodeShaderHairPrincipled(short model, short parametrization, char[] _pad) { this.model = model; this.parametrization = parametrization; diff --git a/BlendFile/DNA/NodeShaderMix.cs b/BlendFile/DNA/NodeShaderMix.cs index 7904df6..0b430b7 100644 --- a/BlendFile/DNA/NodeShaderMix.cs +++ b/BlendFile/DNA/NodeShaderMix.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public sbyte blend_type; [DNAFieldAttribute(5, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public NodeShaderMix() { + this.data_type = default; + this.factor_mode = default; + this.clamp_factor = default; + this.clamp_result = default; + this.blend_type = default; + this._pad = default; + } public NodeShaderMix(sbyte data_type, sbyte factor_mode, sbyte clamp_factor, sbyte clamp_result, sbyte blend_type, char[] _pad) { this.data_type = data_type; this.factor_mode = factor_mode; diff --git a/BlendFile/DNA/NodeShaderNormalMap.cs b/BlendFile/DNA/NodeShaderNormalMap.cs index f6ce884..e0e17aa 100644 --- a/BlendFile/DNA/NodeShaderNormalMap.cs +++ b/BlendFile/DNA/NodeShaderNormalMap.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int space; [DNAFieldAttribute(1, "char", "uv_map[64]", 1)] public char[] uv_map = new System.Char[64]; + public NodeShaderNormalMap() { + this.space = default; + this.uv_map = default; + } public NodeShaderNormalMap(int space, char[] uv_map) { this.space = space; this.uv_map = uv_map; diff --git a/BlendFile/DNA/NodeShaderOutputAOV.cs b/BlendFile/DNA/NodeShaderOutputAOV.cs index 11c6b39..22fb7ef 100644 --- a/BlendFile/DNA/NodeShaderOutputAOV.cs +++ b/BlendFile/DNA/NodeShaderOutputAOV.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeShaderOutputAOV { [DNAFieldAttribute(0, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public NodeShaderOutputAOV() { + this.name = default; + } public NodeShaderOutputAOV(char[] name) { this.name = name; } diff --git a/BlendFile/DNA/NodeShaderPrincipled.cs b/BlendFile/DNA/NodeShaderPrincipled.cs index cd37245..82917ad 100644 --- a/BlendFile/DNA/NodeShaderPrincipled.cs +++ b/BlendFile/DNA/NodeShaderPrincipled.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char use_subsurface_auto_radius; [DNAFieldAttribute(1, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public NodeShaderPrincipled() { + this.use_subsurface_auto_radius = default; + this._pad = default; + } public NodeShaderPrincipled(char use_subsurface_auto_radius, char[] _pad) { this.use_subsurface_auto_radius = use_subsurface_auto_radius; this._pad = _pad; diff --git a/BlendFile/DNA/NodeShaderScript.cs b/BlendFile/DNA/NodeShaderScript.cs index 4764d7d..0d9ff62 100644 --- a/BlendFile/DNA/NodeShaderScript.cs +++ b/BlendFile/DNA/NodeShaderScript.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] bytecode_hash = new System.Char[64]; [DNAFieldAttribute(4, "char", "*bytecode", 1)] public char ptr_bytecode; + public NodeShaderScript() { + this.mode = default; + this.flag = default; + this.filepath = default; + this.bytecode_hash = default; + this.ptr_bytecode = default; + } public NodeShaderScript(int mode, int flag, char[] filepath, char[] bytecode_hash, char ptr_bytecode) { this.mode = mode; this.flag = flag; diff --git a/BlendFile/DNA/NodeShaderTangent.cs b/BlendFile/DNA/NodeShaderTangent.cs index 27fe137..d97ca83 100644 --- a/BlendFile/DNA/NodeShaderTangent.cs +++ b/BlendFile/DNA/NodeShaderTangent.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int axis; [DNAFieldAttribute(2, "char", "uv_map[64]", 1)] public char[] uv_map = new System.Char[64]; + public NodeShaderTangent() { + this.direction_type = default; + this.axis = default; + this.uv_map = default; + } public NodeShaderTangent(int direction_type, int axis, char[] uv_map) { this.direction_type = direction_type; this.axis = axis; diff --git a/BlendFile/DNA/NodeShaderTexIES.cs b/BlendFile/DNA/NodeShaderTexIES.cs index 86e8eb4..58b163c 100644 --- a/BlendFile/DNA/NodeShaderTexIES.cs +++ b/BlendFile/DNA/NodeShaderTexIES.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int mode; [DNAFieldAttribute(1, "char", "filepath[1024]", 1)] public char[] filepath = new System.Char[1024]; + public NodeShaderTexIES() { + this.mode = default; + this.filepath = default; + } public NodeShaderTexIES(int mode, char[] filepath) { this.mode = mode; this.filepath = filepath; diff --git a/BlendFile/DNA/NodeShaderTexPointDensity.cs b/BlendFile/DNA/NodeShaderTexPointDensity.cs index 07006b3..8aa602b 100644 --- a/BlendFile/DNA/NodeShaderTexPointDensity.cs +++ b/BlendFile/DNA/NodeShaderTexPointDensity.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public int cached_resolution; [DNAFieldAttribute(12, "char", "vertex_attribute_name[68]", 1)] public char[] vertex_attribute_name = new System.Char[68]; + public NodeShaderTexPointDensity() { + this.@base = default; + this.point_source = default; + this._pad = default; + this.particle_system = default; + this.radius = default; + this.resolution = default; + this.space = default; + this.interpolation = default; + this.color_source = default; + this.ob_color_source = default; + this.pd = default; + this.cached_resolution = default; + this.vertex_attribute_name = default; + } public NodeShaderTexPointDensity(NodeTexBase @base, short point_source, char[] _pad, int particle_system, float radius, int resolution, short space, short interpolation, short color_source, short ob_color_source, PointDensity pd, int cached_resolution, char[] vertex_attribute_name) { this.@base = @base; this.point_source = point_source; diff --git a/BlendFile/DNA/NodeShaderUVMap.cs b/BlendFile/DNA/NodeShaderUVMap.cs index 7a5a5db..6f76228 100644 --- a/BlendFile/DNA/NodeShaderUVMap.cs +++ b/BlendFile/DNA/NodeShaderUVMap.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeShaderUVMap { [DNAFieldAttribute(0, "char", "uv_map[64]", 1)] public char[] uv_map = new System.Char[64]; + public NodeShaderUVMap() { + this.uv_map = default; + } public NodeShaderUVMap(char[] uv_map) { this.uv_map = uv_map; } diff --git a/BlendFile/DNA/NodeShaderVectTransform.cs b/BlendFile/DNA/NodeShaderVectTransform.cs index bebcca0..612d555 100644 --- a/BlendFile/DNA/NodeShaderVectTransform.cs +++ b/BlendFile/DNA/NodeShaderVectTransform.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int convert_to; [DNAFieldAttribute(3, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeShaderVectTransform() { + this.type = default; + this.convert_from = default; + this.convert_to = default; + this._pad = default; + } public NodeShaderVectTransform(int type, int convert_from, int convert_to, char[] _pad) { this.type = type; this.convert_from = convert_from; diff --git a/BlendFile/DNA/NodeShaderVertexColor.cs b/BlendFile/DNA/NodeShaderVertexColor.cs index 78ef07d..0d00303 100644 --- a/BlendFile/DNA/NodeShaderVertexColor.cs +++ b/BlendFile/DNA/NodeShaderVertexColor.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeShaderVertexColor { [DNAFieldAttribute(0, "char", "layer_name[64]", 1)] public char[] layer_name = new System.Char[64]; + public NodeShaderVertexColor() { + this.layer_name = default; + } public NodeShaderVertexColor(char[] layer_name) { this.layer_name = layer_name; } diff --git a/BlendFile/DNA/NodeSimulationItem.cs b/BlendFile/DNA/NodeSimulationItem.cs index 58c122c..883374e 100644 --- a/BlendFile/DNA/NodeSimulationItem.cs +++ b/BlendFile/DNA/NodeSimulationItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short attribute_domain; [DNAFieldAttribute(3, "int", "identifier", 4)] public int identifier; + public NodeSimulationItem() { + this.ptr_name = default; + this.socket_type = default; + this.attribute_domain = default; + this.identifier = default; + } public NodeSimulationItem(char ptr_name, short socket_type, short attribute_domain, int identifier) { this.ptr_name = ptr_name; this.socket_type = socket_type; diff --git a/BlendFile/DNA/NodeSunBeams.cs b/BlendFile/DNA/NodeSunBeams.cs index 1571a13..dc518f6 100644 --- a/BlendFile/DNA/NodeSunBeams.cs +++ b/BlendFile/DNA/NodeSunBeams.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float[] source = new System.Single[2]; [DNAFieldAttribute(1, "float", "ray_length", 4)] public float ray_length; + public NodeSunBeams() { + this.source = default; + this.ray_length = default; + } public NodeSunBeams(float[] source, float ray_length) { this.source = source; this.ray_length = ray_length; diff --git a/BlendFile/DNA/NodeSwitch.cs b/BlendFile/DNA/NodeSwitch.cs index 87074ad..112604f 100644 --- a/BlendFile/DNA/NodeSwitch.cs +++ b/BlendFile/DNA/NodeSwitch.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeSwitch { [DNAFieldAttribute(0, "uchar", "input_type", 1)] public byte input_type; + public NodeSwitch() { + this.input_type = default; + } public NodeSwitch(byte input_type) { this.input_type = input_type; } diff --git a/BlendFile/DNA/NodeTexBase.cs b/BlendFile/DNA/NodeTexBase.cs index 0c56857..93e67d2 100644 --- a/BlendFile/DNA/NodeTexBase.cs +++ b/BlendFile/DNA/NodeTexBase.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public TexMapping tex_mapping; [DNAFieldAttribute(1, "ColorMapping", "color_mapping", 816)] public ColorMapping color_mapping; + public NodeTexBase() { + this.tex_mapping = default; + this.color_mapping = default; + } public NodeTexBase(TexMapping tex_mapping, ColorMapping color_mapping) { this.tex_mapping = tex_mapping; this.color_mapping = color_mapping; diff --git a/BlendFile/DNA/NodeTexBrick.cs b/BlendFile/DNA/NodeTexBrick.cs index f048b2a..5a7bf14 100644 --- a/BlendFile/DNA/NodeTexBrick.cs +++ b/BlendFile/DNA/NodeTexBrick.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float offset; [DNAFieldAttribute(4, "float", "squash", 4)] public float squash; + public NodeTexBrick() { + this.@base = default; + this.offset_freq = default; + this.squash_freq = default; + this.offset = default; + this.squash = default; + } public NodeTexBrick(NodeTexBase @base, int offset_freq, int squash_freq, float offset, float squash) { this.@base = @base; this.offset_freq = offset_freq; diff --git a/BlendFile/DNA/NodeTexChecker.cs b/BlendFile/DNA/NodeTexChecker.cs index b666c1a..0a21d8a 100644 --- a/BlendFile/DNA/NodeTexChecker.cs +++ b/BlendFile/DNA/NodeTexChecker.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeTexChecker { [DNAFieldAttribute(0, "NodeTexBase", "base", 960)] public NodeTexBase @base; + public NodeTexChecker() { + this.@base = default; + } public NodeTexChecker(NodeTexBase @base) { this.@base = @base; } diff --git a/BlendFile/DNA/NodeTexEnvironment.cs b/BlendFile/DNA/NodeTexEnvironment.cs index 0ebdec7..1fa449b 100644 --- a/BlendFile/DNA/NodeTexEnvironment.cs +++ b/BlendFile/DNA/NodeTexEnvironment.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int interpolation; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeTexEnvironment() { + this.@base = default; + this.iuser = default; + this.color_space = default; + this.projection = default; + this.interpolation = default; + this._pad = default; + } public NodeTexEnvironment(NodeTexBase @base, ImageUser iuser, int color_space, int projection, int interpolation, char[] _pad) { this.@base = @base; this.iuser = iuser; diff --git a/BlendFile/DNA/NodeTexGabor.cs b/BlendFile/DNA/NodeTexGabor.cs index d454669..57d1d5d 100644 --- a/BlendFile/DNA/NodeTexGabor.cs +++ b/BlendFile/DNA/NodeTexGabor.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char type; [DNAFieldAttribute(2, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public NodeTexGabor() { + this.@base = default; + this.type = default; + this._pad = default; + } public NodeTexGabor(NodeTexBase @base, char type, char[] _pad) { this.@base = @base; this.type = type; diff --git a/BlendFile/DNA/NodeTexGradient.cs b/BlendFile/DNA/NodeTexGradient.cs index 090426a..04c436d 100644 --- a/BlendFile/DNA/NodeTexGradient.cs +++ b/BlendFile/DNA/NodeTexGradient.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int gradient_type; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeTexGradient() { + this.@base = default; + this.gradient_type = default; + this._pad = default; + } public NodeTexGradient(NodeTexBase @base, int gradient_type, char[] _pad) { this.@base = @base; this.gradient_type = gradient_type; diff --git a/BlendFile/DNA/NodeTexImage.cs b/BlendFile/DNA/NodeTexImage.cs index a2171df..104fd5a 100644 --- a/BlendFile/DNA/NodeTexImage.cs +++ b/BlendFile/DNA/NodeTexImage.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int extension; [DNAFieldAttribute(7, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeTexImage() { + this.@base = default; + this.iuser = default; + this.color_space = default; + this.projection = default; + this.projection_blend = default; + this.interpolation = default; + this.extension = default; + this._pad = default; + } public NodeTexImage(NodeTexBase @base, ImageUser iuser, int color_space, int projection, float projection_blend, int interpolation, int extension, char[] _pad) { this.@base = @base; this.iuser = iuser; diff --git a/BlendFile/DNA/NodeTexMagic.cs b/BlendFile/DNA/NodeTexMagic.cs index 9fbf2ed..57b46d0 100644 --- a/BlendFile/DNA/NodeTexMagic.cs +++ b/BlendFile/DNA/NodeTexMagic.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int depth; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeTexMagic() { + this.@base = default; + this.depth = default; + this._pad = default; + } public NodeTexMagic(NodeTexBase @base, int depth, char[] _pad) { this.@base = @base; this.depth = depth; diff --git a/BlendFile/DNA/NodeTexMusgrave.cs b/BlendFile/DNA/NodeTexMusgrave.cs index 9831ca1..b584e9c 100644 --- a/BlendFile/DNA/NodeTexMusgrave.cs +++ b/BlendFile/DNA/NodeTexMusgrave.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int musgrave_type; [DNAFieldAttribute(2, "int", "dimensions", 4)] public int dimensions; + public NodeTexMusgrave() { + this.@base = default; + this.musgrave_type = default; + this.dimensions = default; + } public NodeTexMusgrave(NodeTexBase @base, int musgrave_type, int dimensions) { this.@base = @base; this.musgrave_type = musgrave_type; diff --git a/BlendFile/DNA/NodeTexNoise.cs b/BlendFile/DNA/NodeTexNoise.cs index ec41688..50802e6 100644 --- a/BlendFile/DNA/NodeTexNoise.cs +++ b/BlendFile/DNA/NodeTexNoise.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public byte normalize; [DNAFieldAttribute(4, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public NodeTexNoise() { + this.@base = default; + this.dimensions = default; + this.type = default; + this.normalize = default; + this._pad = default; + } public NodeTexNoise(NodeTexBase @base, int dimensions, byte type, byte normalize, char[] _pad) { this.@base = @base; this.dimensions = dimensions; diff --git a/BlendFile/DNA/NodeTexSky.cs b/BlendFile/DNA/NodeTexSky.cs index 4d21eda..b33aa44 100644 --- a/BlendFile/DNA/NodeTexSky.cs +++ b/BlendFile/DNA/NodeTexSky.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char sun_disc; [DNAFieldAttribute(14, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public NodeTexSky() { + this.@base = default; + this.sky_model = default; + this.sun_direction = default; + this.turbidity = default; + this.ground_albedo = default; + this.sun_size = default; + this.sun_intensity = default; + this.sun_elevation = default; + this.sun_rotation = default; + this.altitude = default; + this.air_density = default; + this.dust_density = default; + this.ozone_density = default; + this.sun_disc = default; + this._pad = default; + } public NodeTexSky(NodeTexBase @base, int sky_model, float[] sun_direction, float turbidity, float ground_albedo, float sun_size, float sun_intensity, float sun_elevation, float sun_rotation, float altitude, float air_density, float dust_density, float ozone_density, char sun_disc, char[] _pad) { this.@base = @base; this.sky_model = sky_model; diff --git a/BlendFile/DNA/NodeTexVoronoi.cs b/BlendFile/DNA/NodeTexVoronoi.cs index 08ee7e6..3fe7b4e 100644 --- a/BlendFile/DNA/NodeTexVoronoi.cs +++ b/BlendFile/DNA/NodeTexVoronoi.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int coloring; [DNAFieldAttribute(6, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodeTexVoronoi() { + this.@base = default; + this.dimensions = default; + this.feature = default; + this.distance = default; + this.normalize = default; + this.coloring = default; + this._pad = default; + } public NodeTexVoronoi(NodeTexBase @base, int dimensions, int feature, int distance, int normalize, int coloring, char[] _pad) { this.@base = @base; this.dimensions = dimensions; diff --git a/BlendFile/DNA/NodeTexWave.cs b/BlendFile/DNA/NodeTexWave.cs index 41c4672..85dc42c 100644 --- a/BlendFile/DNA/NodeTexWave.cs +++ b/BlendFile/DNA/NodeTexWave.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int rings_direction; [DNAFieldAttribute(4, "int", "wave_profile", 4)] public int wave_profile; + public NodeTexWave() { + this.@base = default; + this.wave_type = default; + this.bands_direction = default; + this.rings_direction = default; + this.wave_profile = default; + } public NodeTexWave(NodeTexBase @base, int wave_type, int bands_direction, int rings_direction, int wave_profile) { this.@base = @base; this.wave_type = wave_type; diff --git a/BlendFile/DNA/NodeTonemap.cs b/BlendFile/DNA/NodeTonemap.cs index f5331d9..858bf35 100644 --- a/BlendFile/DNA/NodeTonemap.cs +++ b/BlendFile/DNA/NodeTonemap.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float c; [DNAFieldAttribute(7, "int", "type", 4)] public int type; + public NodeTonemap() { + this.key = default; + this.offset = default; + this.gamma = default; + this.f = default; + this.m = default; + this.a = default; + this.c = default; + this.type = default; + } public NodeTonemap(float key, float offset, float gamma, float f, float m, float a, float c, int type) { this.key = key; this.offset = offset; diff --git a/BlendFile/DNA/NodeTrackPosData.cs b/BlendFile/DNA/NodeTrackPosData.cs index f2da51f..6d792af 100644 --- a/BlendFile/DNA/NodeTrackPosData.cs +++ b/BlendFile/DNA/NodeTrackPosData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char[] tracking_object = new System.Char[64]; [DNAFieldAttribute(1, "char", "track_name[64]", 1)] public char[] track_name = new System.Char[64]; + public NodeTrackPosData() { + this.tracking_object = default; + this.track_name = default; + } public NodeTrackPosData(char[] tracking_object, char[] track_name) { this.tracking_object = tracking_object; this.track_name = track_name; diff --git a/BlendFile/DNA/NodeTranslateData.cs b/BlendFile/DNA/NodeTranslateData.cs index d7bd17e..d028701 100644 --- a/BlendFile/DNA/NodeTranslateData.cs +++ b/BlendFile/DNA/NodeTranslateData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char relative; [DNAFieldAttribute(2, "short", "interpolation", 2)] public short interpolation; + public NodeTranslateData() { + this.wrap_axis = default; + this.relative = default; + this.interpolation = default; + } public NodeTranslateData(char wrap_axis, char relative, short interpolation) { this.wrap_axis = wrap_axis; this.relative = relative; diff --git a/BlendFile/DNA/NodeTwoFloats.cs b/BlendFile/DNA/NodeTwoFloats.cs index 08c1472..a6077fd 100644 --- a/BlendFile/DNA/NodeTwoFloats.cs +++ b/BlendFile/DNA/NodeTwoFloats.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float x; [DNAFieldAttribute(1, "float", "y", 4)] public float y; + public NodeTwoFloats() { + this.x = default; + this.y = default; + } public NodeTwoFloats(float x, float y) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/NodeTwoXYs.cs b/BlendFile/DNA/NodeTwoXYs.cs index 4c5bac5..a7bdc1c 100644 --- a/BlendFile/DNA/NodeTwoXYs.cs +++ b/BlendFile/DNA/NodeTwoXYs.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float fac_y1; [DNAFieldAttribute(7, "float", "fac_y2", 4)] public float fac_y2; + public NodeTwoXYs() { + this.x1 = default; + this.x2 = default; + this.y1 = default; + this.y2 = default; + this.fac_x1 = default; + this.fac_x2 = default; + this.fac_y1 = default; + this.fac_y2 = default; + } public NodeTwoXYs(short x1, short x2, short y1, short y2, float fac_x1, float fac_x2, float fac_y1, float fac_y2) { this.x1 = x1; this.x2 = x2; diff --git a/BlendFile/DNA/NodeVertexCol.cs b/BlendFile/DNA/NodeVertexCol.cs index 21623f1..29d33a6 100644 --- a/BlendFile/DNA/NodeVertexCol.cs +++ b/BlendFile/DNA/NodeVertexCol.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct NodeVertexCol { [DNAFieldAttribute(0, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public NodeVertexCol() { + this.name = default; + } public NodeVertexCol(char[] name) { this.name = name; } diff --git a/BlendFile/DNA/NodesModifierBake.cs b/BlendFile/DNA/NodesModifierBake.cs index 1c52a1c..298665a 100644 --- a/BlendFile/DNA/NodesModifierBake.cs +++ b/BlendFile/DNA/NodesModifierBake.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public object ptr__pad2; [DNAFieldAttribute(13, "int64_t", "bake_size", 8)] public long bake_size; + public NodesModifierBake() { + this.id = default; + this.flag = default; + this.bake_mode = default; + this.bake_target = default; + this._pad = default; + this.ptr_directory = default; + this.frame_start = default; + this.frame_end = default; + this.data_blocks_num = default; + this.active_data_block = default; + this.ptr_data_blocks = default; + this.ptr_packed = default; + this.ptr__pad2 = default; + this.bake_size = default; + } public NodesModifierBake(int id, int flag, byte bake_mode, sbyte bake_target, char[] _pad, char ptr_directory, int frame_start, int frame_end, int data_blocks_num, int active_data_block, NodesModifierDataBlock ptr_data_blocks, NodesModifierPackedBake ptr_packed, object ptr__pad2, long bake_size) { this.id = id; this.flag = flag; diff --git a/BlendFile/DNA/NodesModifierBakeFile.cs b/BlendFile/DNA/NodesModifierBakeFile.cs index e7b3c38..640d70c 100644 --- a/BlendFile/DNA/NodesModifierBakeFile.cs +++ b/BlendFile/DNA/NodesModifierBakeFile.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char ptr_name; [DNAFieldAttribute(1, "PackedFile", "*packed_file", 24)] public PackedFile ptr_packed_file; + public NodesModifierBakeFile() { + this.ptr_name = default; + this.ptr_packed_file = default; + } public NodesModifierBakeFile(char ptr_name, PackedFile ptr_packed_file) { this.ptr_name = ptr_name; this.ptr_packed_file = ptr_packed_file; diff --git a/BlendFile/DNA/NodesModifierData.cs b/BlendFile/DNA/NodesModifierData.cs index ccb0eb7..e1c89d5 100644 --- a/BlendFile/DNA/NodesModifierData.cs +++ b/BlendFile/DNA/NodesModifierData.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public NodesModifierPanel ptr_panels; [DNAFieldAttribute(12, "NodesModifierRuntimeHandle", "*runtime", 0)] public NodesModifierRuntimeHandle ptr_runtime; + public NodesModifierData() { + this.modifier = default; + this.ptr_node_group = default; + this.settings = default; + this.ptr_simulation_bake_directory = default; + this.flag = default; + this.bake_target = default; + this._pad = default; + this.bakes_num = default; + this.ptr_bakes = default; + this._pad2 = default; + this.panels_num = default; + this.ptr_panels = default; + this.ptr_runtime = default; + } public NodesModifierData(ModifierData modifier, bNodeTree ptr_node_group, NodesModifierSettings settings, char ptr_simulation_bake_directory, sbyte flag, sbyte bake_target, char[] _pad, int bakes_num, NodesModifierBake ptr_bakes, char[] _pad2, int panels_num, NodesModifierPanel ptr_panels, NodesModifierRuntimeHandle ptr_runtime) { this.modifier = modifier; this.ptr_node_group = ptr_node_group; diff --git a/BlendFile/DNA/NodesModifierDataBlock.cs b/BlendFile/DNA/NodesModifierDataBlock.cs index 9366bea..194edb9 100644 --- a/BlendFile/DNA/NodesModifierDataBlock.cs +++ b/BlendFile/DNA/NodesModifierDataBlock.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int id_type; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public NodesModifierDataBlock() { + this.ptr_id_name = default; + this.ptr_lib_name = default; + this.ptr_id = default; + this.id_type = default; + this._pad = default; + } public NodesModifierDataBlock(char ptr_id_name, char ptr_lib_name, ID ptr_id, int id_type, char[] _pad) { this.ptr_id_name = ptr_id_name; this.ptr_lib_name = ptr_lib_name; diff --git a/BlendFile/DNA/NodesModifierPackedBake.cs b/BlendFile/DNA/NodesModifierPackedBake.cs index bb43915..6ece7e0 100644 --- a/BlendFile/DNA/NodesModifierPackedBake.cs +++ b/BlendFile/DNA/NodesModifierPackedBake.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public NodesModifierBakeFile ptr_meta_files; [DNAFieldAttribute(3, "NodesModifierBakeFile", "*blob_files", 16)] public NodesModifierBakeFile ptr_blob_files; + public NodesModifierPackedBake() { + this.meta_files_num = default; + this.blob_files_num = default; + this.ptr_meta_files = default; + this.ptr_blob_files = default; + } public NodesModifierPackedBake(int meta_files_num, int blob_files_num, NodesModifierBakeFile ptr_meta_files, NodesModifierBakeFile ptr_blob_files) { this.meta_files_num = meta_files_num; this.blob_files_num = blob_files_num; diff --git a/BlendFile/DNA/NodesModifierPanel.cs b/BlendFile/DNA/NodesModifierPanel.cs index b708320..928d948 100644 --- a/BlendFile/DNA/NodesModifierPanel.cs +++ b/BlendFile/DNA/NodesModifierPanel.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int id; [DNAFieldAttribute(1, "int", "flag", 4)] public int flag; + public NodesModifierPanel() { + this.id = default; + this.flag = default; + } public NodesModifierPanel(int id, int flag) { this.id = id; this.flag = flag; diff --git a/BlendFile/DNA/NodesModifierSettings.cs b/BlendFile/DNA/NodesModifierSettings.cs index 52feae4..76f6ae2 100644 --- a/BlendFile/DNA/NodesModifierSettings.cs +++ b/BlendFile/DNA/NodesModifierSettings.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class NodesModifierSettings { [DNAFieldAttribute(0, "IDProperty", "*properties", 136)] public IDProperty ptr_properties; + public NodesModifierSettings() { + this.ptr_properties = default; + } public NodesModifierSettings(IDProperty ptr_properties) { this.ptr_properties = ptr_properties; } diff --git a/BlendFile/DNA/NoiseGpencilModifierData.cs b/BlendFile/DNA/NoiseGpencilModifierData.cs index ffc19a9..e48f2a4 100644 --- a/BlendFile/DNA/NoiseGpencilModifierData.cs +++ b/BlendFile/DNA/NoiseGpencilModifierData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public int seed; [DNAFieldAttribute(18, "CurveMapping", "*curve_intensity", 424)] public CurveMapping ptr_curve_intensity; + public NoiseGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.factor = default; + this.factor_strength = default; + this.factor_thickness = default; + this.factor_uvs = default; + this.noise_scale = default; + this.noise_offset = default; + this.noise_mode = default; + this._pad = default; + this.step = default; + this.layer_pass = default; + this.seed = default; + this.ptr_curve_intensity = default; + } public NoiseGpencilModifierData( GpencilModifierData modifier, Material ptr_material, diff --git a/BlendFile/DNA/NormalEditModifierData.cs b/BlendFile/DNA/NormalEditModifierData.cs index c39b7c6..f304e72 100644 --- a/BlendFile/DNA/NormalEditModifierData.cs +++ b/BlendFile/DNA/NormalEditModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(11, "void", "*_pad1", 0)] public object ptr__pad1; + public NormalEditModifierData() { + this.modifier = default; + this.defgrp_name = default; + this.ptr_target = default; + this.mode = default; + this.flag = default; + this.mix_mode = default; + this._pad = default; + this.mix_factor = default; + this.mix_limit = default; + this.offset = default; + this._pad0 = default; + this.ptr__pad1 = default; + } public NormalEditModifierData(ModifierData modifier, char[] defgrp_name, Object ptr_target, short mode, short flag, short mix_mode, char[] _pad, float mix_factor, float mix_limit, float[] offset, char[] _pad0, object ptr__pad1) { this.modifier = modifier; this.defgrp_name = defgrp_name; diff --git a/BlendFile/DNA/Nurb.cs b/BlendFile/DNA/Nurb.cs index 3cb1d5e..3f591f6 100644 --- a/BlendFile/DNA/Nurb.cs +++ b/BlendFile/DNA/Nurb.cs @@ -59,6 +59,30 @@ namespace BlendFile.DNA { public short radius_interp; [DNAFieldAttribute(21, "int", "charidx", 4)] public int charidx; + public Nurb() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.mat_nr = default; + this.hide = default; + this.flag = default; + this.pntsu = default; + this.pntsv = default; + this._pad = default; + this.resolu = default; + this.resolv = default; + this.orderu = default; + this.orderv = default; + this.flagu = default; + this.flagv = default; + this.ptr_knotsu = default; + this.ptr_knotsv = default; + this.ptr_bp = default; + this.ptr_bezt = default; + this.tilt_interp = default; + this.radius_interp = default; + this.charidx = default; + } public Nurb( Nurb ptr_next, Nurb ptr_prev, diff --git a/BlendFile/DNA/ObHook.cs b/BlendFile/DNA/ObHook.cs index 36083b1..a4b73e7 100644 --- a/BlendFile/DNA/ObHook.cs +++ b/BlendFile/DNA/ObHook.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public short active; [DNAFieldAttribute(13, "float", "force", 4)] public float force; + public ObHook() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_parent = default; + this.parentinv = default; + this.mat = default; + this.cent = default; + this.falloff = default; + this.name = default; + this.ptr_indexar = default; + this.totindex = default; + this.curindex = default; + this.type = default; + this.active = default; + this.force = default; + } public ObHook(ObHook ptr_next, ObHook ptr_prev, Object ptr_parent, float[,] parentinv, float[,] mat, float[] cent, float falloff, char[] name, int ptr_indexar, int totindex, int curindex, short type, short active, float force) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Object.cs b/BlendFile/DNA/Object.cs index d5468fa..73fbbb1 100644 --- a/BlendFile/DNA/Object.cs +++ b/BlendFile/DNA/Object.cs @@ -229,6 +229,115 @@ namespace BlendFile.DNA { public LightProbeObjectCache ptr_lightprobe_cache; [DNAFieldAttribute(106, "ObjectRuntimeHandle", "*runtime", 0)] public ObjectRuntimeHandle ptr_runtime; + public Object() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this.ptr_sculpt = default; + this.type = default; + this.partype = default; + this.par1 = default; + this.par2 = default; + this.par3 = default; + this.parsubstr = default; + this.ptr_parent = default; + this.ptr_track = default; + this.ptr_proxy = default; + this.ptr_proxy_group = default; + this.ptr_proxy_from = default; + this.ptr_ipo = default; + this.ptr_action = default; + this.ptr_poselib = default; + this.ptr_pose = default; + this.ptr_data = default; + this.ptr_gpd = default; + this.avs = default; + this.ptr_mpath = default; + this.ptr__pad0 = default; + this.constraintChannels = default; + this.effect = default; + this.defbase = default; + this.fmaps = default; + this.modifiers = default; + this.greasepencil_modifiers = default; + this.shader_fx = default; + this.mode = default; + this.restore_mode = default; + this.ptr_ptr_mat = default; + this.ptr_matbits = default; + this.totcol = default; + this.actcol = default; + this.loc = default; + this.dloc = default; + this.size = default; + this.dsize = default; + this.dscale = default; + this.rot = default; + this.drot = default; + this.quat = default; + this.dquat = default; + this.rotAxis = default; + this.drotAxis = default; + this.rotAngle = default; + this.drotAngle = default; + this.parentinv = default; + this.constinv = default; + this.lay = default; + this.flag = default; + this.colbits = default; + this.transflag = default; + this.protectflag = default; + this.trackflag = default; + this.upflag = default; + this.nlaflag = default; + this._pad1 = default; + this.duplicator_visibility_flag = default; + this.base_flag = default; + this.base_local_view_bits = default; + this.col_group = default; + this.col_mask = default; + this.rotmode = default; + this.boundtype = default; + this.collision_boundtype = default; + this.dtx = default; + this.dt = default; + this.empty_drawtype = default; + this.empty_drawsize = default; + this.dupfacesca = default; + this.index = default; + this.actdef = default; + this._pad2 = default; + this.col = default; + this.softflag = default; + this.restrictflag = default; + this.shapenr = default; + this.shapeflag = default; + this._pad3 = default; + this.constraints = default; + this.nlastrips = default; + this.hooks = default; + this.particlesystem = default; + this.ptr_pd = default; + this.ptr_soft = default; + this.ptr_dup_group = default; + this.ptr_fluidsimSettings = default; + this.pc_ids = default; + this.ptr_rigidbody_object = default; + this.ptr_rigidbody_constraint = default; + this.ima_ofs = default; + this.ptr_iuser = default; + this.empty_image_visibility_flag = default; + this.empty_image_depth = default; + this.empty_image_flag = default; + this.modifier_flag = default; + this._pad8 = default; + this.ptr_preview = default; + this.lineart = default; + this.ptr_lightgroup = default; + this.ptr_light_linking = default; + this.ptr_lightprobe_cache = default; + this.ptr_runtime = default; + } public Object( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/ObjectLineArt.cs b/BlendFile/DNA/ObjectLineArt.cs index ff96988..d8f24cf 100644 --- a/BlendFile/DNA/ObjectLineArt.cs +++ b/BlendFile/DNA/ObjectLineArt.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char intersection_priority; [DNAFieldAttribute(4, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public ObjectLineArt() { + this.usage = default; + this.flags = default; + this.crease_threshold = default; + this.intersection_priority = default; + this._pad = default; + } public ObjectLineArt(short usage, short flags, float crease_threshold, char intersection_priority, char[] _pad) { this.usage = usage; this.flags = flags; diff --git a/BlendFile/DNA/OceanModifierData.cs b/BlendFile/DNA/OceanModifierData.cs index 79969e7..721c0e7 100644 --- a/BlendFile/DNA/OceanModifierData.cs +++ b/BlendFile/DNA/OceanModifierData.cs @@ -83,6 +83,42 @@ namespace BlendFile.DNA { public float foam_fade; [DNAFieldAttribute(33, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public OceanModifierData() { + this.modifier = default; + this.ptr_ocean = default; + this.ptr_oceancache = default; + this.resolution = default; + this.viewport_resolution = default; + this.spatial_size = default; + this.wind_velocity = default; + this.damp = default; + this.smallest_wave = default; + this.depth = default; + this.wave_alignment = default; + this.wave_direction = default; + this.wave_scale = default; + this.chop_amount = default; + this.foam_coverage = default; + this.time = default; + this.spectrum = default; + this.fetch_jonswap = default; + this.sharpen_peak_jonswap = default; + this.bakestart = default; + this.bakeend = default; + this.cachepath = default; + this.foamlayername = default; + this.spraylayername = default; + this.cached = default; + this.geometry_mode = default; + this.flag = default; + this._pad2 = default; + this.repeat_x = default; + this.repeat_y = default; + this.seed = default; + this.size = default; + this.foam_fade = default; + this._pad = default; + } public OceanModifierData( ModifierData modifier, Ocean ptr_ocean, diff --git a/BlendFile/DNA/OffsetGpencilModifierData.cs b/BlendFile/DNA/OffsetGpencilModifierData.cs index dd01fef..ed2d4c1 100644 --- a/BlendFile/DNA/OffsetGpencilModifierData.cs +++ b/BlendFile/DNA/OffsetGpencilModifierData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(18, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public OffsetGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.loc = default; + this.rot = default; + this.scale = default; + this.rnd_offset = default; + this.rnd_rot = default; + this.rnd_scale = default; + this.seed = default; + this.mode = default; + this.stroke_step = default; + this.stroke_start_offset = default; + this.layer_pass = default; + this._pad = default; + } public OffsetGpencilModifierData( GpencilModifierData modifier, Material ptr_material, diff --git a/BlendFile/DNA/OpacityGpencilModifierData.cs b/BlendFile/DNA/OpacityGpencilModifierData.cs index 4f9028b..ef2298c 100644 --- a/BlendFile/DNA/OpacityGpencilModifierData.cs +++ b/BlendFile/DNA/OpacityGpencilModifierData.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public float hardeness; [DNAFieldAttribute(12, "CurveMapping", "*curve_intensity", 424)] public CurveMapping ptr_curve_intensity; + public OpacityGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.factor = default; + this.modify_color = default; + this._pad = default; + this.layer_pass = default; + this.hardeness = default; + this.ptr_curve_intensity = default; + } public OpacityGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float factor, char modify_color, char[] _pad, int layer_pass, float hardeness, CurveMapping ptr_curve_intensity) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/OutlineGpencilModifierData.cs b/BlendFile/DNA/OutlineGpencilModifierData.cs index 2ee0a0d..0989f8c 100644 --- a/BlendFile/DNA/OutlineGpencilModifierData.cs +++ b/BlendFile/DNA/OutlineGpencilModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(10, "Material", "*outline_material", 392)] public Material ptr_outline_material; + public OutlineGpencilModifierData() { + this.modifier = default; + this.ptr_object = default; + this.ptr_material = default; + this.layername = default; + this.pass_index = default; + this.flag = default; + this.thickness = default; + this.sample_length = default; + this.subdiv = default; + this.layer_pass = default; + this.ptr_outline_material = default; + } public OutlineGpencilModifierData(GpencilModifierData modifier, Object ptr_object, Material ptr_material, char[] layername, int pass_index, int flag, int thickness, float sample_length, int subdiv, int layer_pass, Material ptr_outline_material) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/PTCacheExtra.cs b/BlendFile/DNA/PTCacheExtra.cs index c6c833d..bc03a77 100644 --- a/BlendFile/DNA/PTCacheExtra.cs +++ b/BlendFile/DNA/PTCacheExtra.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int totdata; [DNAFieldAttribute(4, "void", "*data", 0)] public object ptr_data; + public PTCacheExtra() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.totdata = default; + this.ptr_data = default; + } public PTCacheExtra(PTCacheExtra ptr_next, PTCacheExtra ptr_prev, int type, int totdata, object ptr_data) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/PTCacheMem.cs b/BlendFile/DNA/PTCacheMem.cs index 139e73f..e6ba47c 100644 --- a/BlendFile/DNA/PTCacheMem.cs +++ b/BlendFile/DNA/PTCacheMem.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public object[] ptr_d = new System.Object[8]; [DNAFieldAttribute(7, "ListBase", "extradata", 16)] public ListBase extradata; + public PTCacheMem() { + this.ptr_next = default; + this.ptr_prev = default; + this.frame = default; + this.totpoint = default; + this.data_types = default; + this.flag = default; + this.ptr_d = default; + this.extradata = default; + } public PTCacheMem(PTCacheMem ptr_next, PTCacheMem ptr_prev, int frame, int totpoint, int data_types, int flag, object[] ptr_d, ListBase extradata) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/PackedFile.cs b/BlendFile/DNA/PackedFile.cs index de41446..f3b5ff1 100644 --- a/BlendFile/DNA/PackedFile.cs +++ b/BlendFile/DNA/PackedFile.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public object ptr_data; [DNAFieldAttribute(3, "ImplicitSharingInfoHandle", "*sharing_info", 0)] public ImplicitSharingInfoHandle ptr_sharing_info; + public PackedFile() { + this.size = default; + this.seek = default; + this.ptr_data = default; + this.ptr_sharing_info = default; + } public PackedFile(int size, int seek, object ptr_data, ImplicitSharingInfoHandle ptr_sharing_info) { this.size = size; this.seek = seek; diff --git a/BlendFile/DNA/Paint.cs b/BlendFile/DNA/Paint.cs index b954df1..6e69eb4 100644 --- a/BlendFile/DNA/Paint.cs +++ b/BlendFile/DNA/Paint.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(14, "Paint_Runtime", "runtime", 8)] public Paint_Runtime runtime; + public Paint() { + this.ptr_brush = default; + this.ptr_brush_asset_reference = default; + this.ptr_eraser_brush = default; + this.ptr_eraser_brush_asset_reference = default; + this.tool_brush_bindings = default; + this.ptr_palette = default; + this.ptr_cavity_curve = default; + this.ptr_paint_cursor = default; + this.paint_cursor_col = default; + this.flags = default; + this.num_input_samples = default; + this.symmetry_flags = default; + this.tile_offset = default; + this._pad2 = default; + this.runtime = default; + } public Paint(Brush ptr_brush, AssetWeakReference ptr_brush_asset_reference, Brush ptr_eraser_brush, AssetWeakReference ptr_eraser_brush_asset_reference, ToolSystemBrushBindings tool_brush_bindings, Palette ptr_palette, CurveMapping ptr_cavity_curve, object ptr_paint_cursor, char[] paint_cursor_col, int flags, int num_input_samples, int symmetry_flags, float[] tile_offset, char[] _pad2, Paint_Runtime runtime) { this.ptr_brush = ptr_brush; this.ptr_brush_asset_reference = ptr_brush_asset_reference; diff --git a/BlendFile/DNA/PaintCurve.cs b/BlendFile/DNA/PaintCurve.cs index af0b000..e2d7ba8 100644 --- a/BlendFile/DNA/PaintCurve.cs +++ b/BlendFile/DNA/PaintCurve.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int tot_points; [DNAFieldAttribute(3, "int", "add_index", 4)] public int add_index; + public PaintCurve() { + this.id = default; + this.ptr_points = default; + this.tot_points = default; + this.add_index = default; + } public PaintCurve(ID id, PaintCurvePoint ptr_points, int tot_points, int add_index) { this.id = id; this.ptr_points = ptr_points; diff --git a/BlendFile/DNA/PaintCurvePoint.cs b/BlendFile/DNA/PaintCurvePoint.cs index e9bf45e..9727f3d 100644 --- a/BlendFile/DNA/PaintCurvePoint.cs +++ b/BlendFile/DNA/PaintCurvePoint.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public BezTriple bez; [DNAFieldAttribute(1, "float", "pressure", 4)] public float pressure; + public PaintCurvePoint() { + this.bez = default; + this.pressure = default; + } public PaintCurvePoint(BezTriple bez, float pressure) { this.bez = bez; this.pressure = pressure; diff --git a/BlendFile/DNA/PaintModeSettings.cs b/BlendFile/DNA/PaintModeSettings.cs index 43a0bdf..c8fa5f0 100644 --- a/BlendFile/DNA/PaintModeSettings.cs +++ b/BlendFile/DNA/PaintModeSettings.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public Image ptr_canvas_image; [DNAFieldAttribute(3, "ImageUser", "image_user", 40)] public ImageUser image_user; + public PaintModeSettings() { + this.canvas_source = default; + this._pad = default; + this.ptr_canvas_image = default; + this.image_user = default; + } public PaintModeSettings(char canvas_source, char[] _pad, Image ptr_canvas_image, ImageUser image_user) { this.canvas_source = canvas_source; this._pad = _pad; diff --git a/BlendFile/DNA/Paint_Runtime.cs b/BlendFile/DNA/Paint_Runtime.cs index 319c7ef..2e730fb 100644 --- a/BlendFile/DNA/Paint_Runtime.cs +++ b/BlendFile/DNA/Paint_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public short ob_mode; [DNAFieldAttribute(2, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public Paint_Runtime() { + this.initialized = default; + this.ob_mode = default; + this._pad = default; + } public Paint_Runtime(int initialized, short ob_mode, char[] _pad) { this.initialized = initialized; this.ob_mode = ob_mode; diff --git a/BlendFile/DNA/Palette.cs b/BlendFile/DNA/Palette.cs index 6ee8004..18dd629 100644 --- a/BlendFile/DNA/Palette.cs +++ b/BlendFile/DNA/Palette.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int active_color; [DNAFieldAttribute(3, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public Palette() { + this.id = default; + this.colors = default; + this.active_color = default; + this._pad = default; + } public Palette(ID id, ListBase colors, int active_color, char[] _pad) { this.id = id; this.colors = colors; diff --git a/BlendFile/DNA/PaletteColor.cs b/BlendFile/DNA/PaletteColor.cs index a020026..b94aa45 100644 --- a/BlendFile/DNA/PaletteColor.cs +++ b/BlendFile/DNA/PaletteColor.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float[] rgb = new System.Single[3]; [DNAFieldAttribute(3, "float", "value", 4)] public float value; + public PaletteColor() { + this.ptr_next = default; + this.ptr_prev = default; + this.rgb = default; + this.value = default; + } public PaletteColor(PaletteColor ptr_next, PaletteColor ptr_prev, float[] rgb, float value) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Panel.cs b/BlendFile/DNA/Panel.cs index 837c34d..1b09bf9 100644 --- a/BlendFile/DNA/Panel.cs +++ b/BlendFile/DNA/Panel.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public ListBase layout_panel_states; [DNAFieldAttribute(20, "Panel_Runtime", "*runtime", 0)] public Panel_Runtime ptr_runtime; + public Panel() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_type = default; + this.ptr_layout = default; + this.panelname = default; + this.ptr_drawname = default; + this.ofsx = default; + this.ofsy = default; + this.sizex = default; + this.sizey = default; + this.blocksizex = default; + this.blocksizey = default; + this.labelofs = default; + this.flag = default; + this.runtime_flag = default; + this._pad = default; + this.sortorder = default; + this.ptr_activedata = default; + this.children = default; + this.layout_panel_states = default; + this.ptr_runtime = default; + } public Panel( Panel ptr_next, Panel ptr_prev, diff --git a/BlendFile/DNA/PanelCategoryStack.cs b/BlendFile/DNA/PanelCategoryStack.cs index cf9fabf..8682cf2 100644 --- a/BlendFile/DNA/PanelCategoryStack.cs +++ b/BlendFile/DNA/PanelCategoryStack.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public PanelCategoryStack ptr_prev; [DNAFieldAttribute(2, "char", "idname[64]", 1)] public char[] idname = new System.Char[64]; + public PanelCategoryStack() { + this.ptr_next = default; + this.ptr_prev = default; + this.idname = default; + } public PanelCategoryStack(PanelCategoryStack ptr_next, PanelCategoryStack ptr_prev, char[] idname) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/PartDeflect.cs b/BlendFile/DNA/PartDeflect.cs index a579d6b..a037c19 100644 --- a/BlendFile/DNA/PartDeflect.cs +++ b/BlendFile/DNA/PartDeflect.cs @@ -115,6 +115,58 @@ namespace BlendFile.DNA { public float pdef_cfrict; [DNAFieldAttribute(49, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public PartDeflect() { + this.flag = default; + this.deflect = default; + this.forcefield = default; + this.falloff = default; + this.shape = default; + this.tex_mode = default; + this.kink = default; + this.kink_axis = default; + this.zdir = default; + this.f_strength = default; + this.f_damp = default; + this.f_flow = default; + this.f_wind_factor = default; + this._pad0 = default; + this.f_size = default; + this.f_power = default; + this.maxdist = default; + this.mindist = default; + this.f_power_r = default; + this.maxrad = default; + this.minrad = default; + this.pdef_damp = default; + this.pdef_rdamp = default; + this.pdef_perm = default; + this.pdef_frict = default; + this.pdef_rfrict = default; + this.pdef_stickness = default; + this.absorption = default; + this.pdef_sbdamp = default; + this.pdef_sbift = default; + this.pdef_sboft = default; + this.clump_fac = default; + this.clump_pow = default; + this.kink_freq = default; + this.kink_shape = default; + this.kink_amp = default; + this.free_end = default; + this.tex_nabla = default; + this.ptr_tex = default; + this.f_noise = default; + this.seed = default; + this.drawvec1 = default; + this.drawvec2 = default; + this.drawvec_falloff_min = default; + this._pad1 = default; + this.drawvec_falloff_max = default; + this._pad2 = default; + this.ptr_f_source = default; + this.pdef_cfrict = default; + this._pad = default; + } public PartDeflect( int flag, short deflect, diff --git a/BlendFile/DNA/PartEff.cs b/BlendFile/DNA/PartEff.cs index ebd56ec..884f592 100644 --- a/BlendFile/DNA/PartEff.cs +++ b/BlendFile/DNA/PartEff.cs @@ -105,6 +105,53 @@ namespace BlendFile.DNA { public Particle ptr_keys; [DNAFieldAttribute(44, "Collection", "*group", 376)] public Collection ptr_group; + public PartEff() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.flag = default; + this.buttype = default; + this.stype = default; + this.vertgroup = default; + this.userjit = default; + this.sta = default; + this.end = default; + this.lifetime = default; + this.totpart = default; + this.totkey = default; + this.seed = default; + this.normfac = default; + this.obfac = default; + this.randfac = default; + this.texfac = default; + this.randlife = default; + this.force = default; + this.damp = default; + this.nabla = default; + this.vectsize = default; + this.maxlen = default; + this.defvec = default; + this._pad = default; + this.mult = default; + this.life = default; + this.child = default; + this.mat = default; + this.texmap = default; + this.curmult = default; + this.staticstep = default; + this.omat = default; + this.timetex = default; + this.speedtex = default; + this.flag2 = default; + this.flag2neg = default; + this.disp = default; + this.vertgroup_v = default; + this.vgroupname = default; + this.vgroupname_v = default; + this.imat = default; + this.ptr_keys = default; + this.ptr_group = default; + } public PartEff( PartEff ptr_next, PartEff ptr_prev, diff --git a/BlendFile/DNA/ParticleBrushData.cs b/BlendFile/DNA/ParticleBrushData.cs index 218ae5d..4248612 100644 --- a/BlendFile/DNA/ParticleBrushData.cs +++ b/BlendFile/DNA/ParticleBrushData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(5, "float", "strength", 4)] public float strength; + public ParticleBrushData() { + this.size = default; + this.step = default; + this.invert = default; + this.count = default; + this.flag = default; + this.strength = default; + } public ParticleBrushData(short size, short step, short invert, short count, int flag, float strength) { this.size = size; this.step = step; diff --git a/BlendFile/DNA/ParticleData.cs b/BlendFile/DNA/ParticleData.cs index a35d6c1..e874cd6 100644 --- a/BlendFile/DNA/ParticleData.cs +++ b/BlendFile/DNA/ParticleData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(18, "short", "alive", 2)] public short alive; + public ParticleData() { + this.state = default; + this.prev_state = default; + this.ptr_hair = default; + this.ptr_keys = default; + this.ptr_boid = default; + this.totkey = default; + this.time = default; + this.lifetime = default; + this.dietime = default; + this.num = default; + this.num_dmcache = default; + this.fuv = default; + this.foffset = default; + this.size = default; + this.sphdensity = default; + this._pad = default; + this.hair_index = default; + this.flag = default; + this.alive = default; + } public ParticleData( ParticleKey state, ParticleKey prev_state, diff --git a/BlendFile/DNA/ParticleDupliWeight.cs b/BlendFile/DNA/ParticleDupliWeight.cs index e311f34..b35d2b5 100644 --- a/BlendFile/DNA/ParticleDupliWeight.cs +++ b/BlendFile/DNA/ParticleDupliWeight.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short index; [DNAFieldAttribute(6, "char", "_pad0[2]", 1)] public char[] _pad0 = new System.Char[2]; + public ParticleDupliWeight() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_ob = default; + this.count = default; + this.flag = default; + this.index = default; + this._pad0 = default; + } public ParticleDupliWeight(ParticleDupliWeight ptr_next, ParticleDupliWeight ptr_prev, Object ptr_ob, short count, short flag, short index, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ParticleEditSettings.cs b/BlendFile/DNA/ParticleEditSettings.cs index fa55529..2b9a52a 100644 --- a/BlendFile/DNA/ParticleEditSettings.cs +++ b/BlendFile/DNA/ParticleEditSettings.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public Object ptr_object; [DNAFieldAttribute(14, "Object", "*shape_object", 1160)] public Object ptr_shape_object; + public ParticleEditSettings() { + this.flag = default; + this.totrekey = default; + this.totaddkey = default; + this.brushtype = default; + this.brush = default; + this.ptr_paintcursor = default; + this.emitterdist = default; + this._pad0 = default; + this.selectmode = default; + this.edittype = default; + this.draw_step = default; + this.fade_frames = default; + this.ptr_scene = default; + this.ptr_object = default; + this.ptr_shape_object = default; + } public ParticleEditSettings(short flag, short totrekey, short totaddkey, short brushtype, ParticleBrushData[] brush, object ptr_paintcursor, float emitterdist, char[] _pad0, int selectmode, int edittype, int draw_step, int fade_frames, Scene ptr_scene, Object ptr_object, Object ptr_shape_object) { this.flag = flag; this.totrekey = totrekey; diff --git a/BlendFile/DNA/ParticleInstanceModifierData.cs b/BlendFile/DNA/ParticleInstanceModifierData.cs index 85ed63e..d840642 100644 --- a/BlendFile/DNA/ParticleInstanceModifierData.cs +++ b/BlendFile/DNA/ParticleInstanceModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] value_layer_name = new System.Char[68]; [DNAFieldAttribute(14, "void", "*_pad1", 0)] public object ptr__pad1; + public ParticleInstanceModifierData() { + this.modifier = default; + this.ptr_ob = default; + this.psys = default; + this.flag = default; + this.axis = default; + this.space = default; + this.position = default; + this.random_position = default; + this.rotation = default; + this.random_rotation = default; + this.particle_amount = default; + this.particle_offset = default; + this.index_layer_name = default; + this.value_layer_name = default; + this.ptr__pad1 = default; + } public ParticleInstanceModifierData(ModifierData modifier, Object ptr_ob, short psys, short flag, short axis, short space, float position, float random_position, float rotation, float random_rotation, float particle_amount, float particle_offset, char[] index_layer_name, char[] value_layer_name, object ptr__pad1) { this.modifier = modifier; this.ptr_ob = ptr_ob; diff --git a/BlendFile/DNA/ParticleKey.cs b/BlendFile/DNA/ParticleKey.cs index 9ed8690..55edd4d 100644 --- a/BlendFile/DNA/ParticleKey.cs +++ b/BlendFile/DNA/ParticleKey.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[] ave = new System.Single[3]; [DNAFieldAttribute(4, "float", "time", 4)] public float time; + public ParticleKey() { + this.co = default; + this.vel = default; + this.rot = default; + this.ave = default; + this.time = default; + } public ParticleKey(float[] co, float[] vel, float[] rot, float[] ave, float time) { this.co = co; this.vel = vel; diff --git a/BlendFile/DNA/ParticleSettings.cs b/BlendFile/DNA/ParticleSettings.cs index 147446a..bc2e7a7 100644 --- a/BlendFile/DNA/ParticleSettings.cs +++ b/BlendFile/DNA/ParticleSettings.cs @@ -309,6 +309,155 @@ namespace BlendFile.DNA { public CurveMapping ptr_twistcurve; [DNAFieldAttribute(146, "void", "*_pad7", 0)] public object ptr__pad7; + public ParticleSettings() { + this.id = default; + this.ptr_adt = default; + this.ptr_boids = default; + this.ptr_fluid = default; + this.ptr_effector_weights = default; + this.ptr_collision_group = default; + this.flag = default; + this._pad1 = default; + this.type = default; + this.from = default; + this.distr = default; + this.texact = default; + this.phystype = default; + this.rotmode = default; + this.avemode = default; + this.reactevent = default; + this.draw = default; + this.draw_size = default; + this.draw_as = default; + this.childtype = default; + this._pad2 = default; + this.ren_as = default; + this.subframes = default; + this.draw_col = default; + this.draw_step = default; + this.ren_step = default; + this.hair_step = default; + this.keys_step = default; + this.adapt_angle = default; + this.adapt_pix = default; + this.disp = default; + this.omat = default; + this.interpolation = default; + this.integrator = default; + this.rotfrom = default; + this.kink = default; + this.kink_axis = default; + this.bb_align = default; + this.bb_uv_split = default; + this.bb_anim = default; + this.bb_split_offset = default; + this.bb_tilt = default; + this.bb_rand_tilt = default; + this.bb_offset = default; + this.bb_size = default; + this.bb_vel_head = default; + this.bb_vel_tail = default; + this.color_vec_max = default; + this.sta = default; + this.end = default; + this.lifetime = default; + this.randlife = default; + this.timetweak = default; + this.courant_target = default; + this.jitfac = default; + this.eff_hair = default; + this.grid_rand = default; + this.ps_offset = default; + this.totpart = default; + this.userjit = default; + this.grid_res = default; + this.effector_amount = default; + this.time_flag = default; + this._pad0 = default; + this.normfac = default; + this.obfac = default; + this.randfac = default; + this.partfac = default; + this.tanfac = default; + this.tanphase = default; + this.reactfac = default; + this.ob_vel = default; + this.avefac = default; + this.phasefac = default; + this.randrotfac = default; + this.randphasefac = default; + this.mass = default; + this.size = default; + this.randsize = default; + this.acc = default; + this.dragfac = default; + this.brownfac = default; + this.dampfac = default; + this.randlength = default; + this.child_flag = default; + this._pad3 = default; + this.child_nbr = default; + this.ren_child_nbr = default; + this.parents = default; + this.childsize = default; + this.childrandsize = default; + this.childrad = default; + this.childflat = default; + this.clumpfac = default; + this.clumppow = default; + this.kink_amp = default; + this.kink_freq = default; + this.kink_shape = default; + this.kink_flat = default; + this.kink_amp_clump = default; + this.kink_extra_steps = default; + this._pad4 = default; + this.kink_axis_random = default; + this.kink_amp_random = default; + this.rough1 = default; + this.rough1_size = default; + this.rough2 = default; + this.rough2_size = default; + this.rough2_thres = default; + this.rough_end = default; + this.rough_end_shape = default; + this.clength = default; + this.clength_thres = default; + this.parting_fac = default; + this.parting_min = default; + this.parting_max = default; + this.branch_thres = default; + this.draw_line = default; + this.path_start = default; + this.path_end = default; + this.trail_count = default; + this.keyed_loops = default; + this.ptr_clumpcurve = default; + this.ptr_roughcurve = default; + this.clump_noise_size = default; + this.bending_random = default; + this.ptr_m = default; + this.ptr_dup_group = default; + this.dupliweights = default; + this.ptr_force_group = default; + this.ptr_dup_ob = default; + this.ptr_bb_ob = default; + this.ptr_ipo = default; + this.ptr_pd = default; + this.ptr_pd2 = default; + this.use_modifier_stack = default; + this._pad5 = default; + this.shape_flag = default; + this._pad6 = default; + this.twist = default; + this._pad8 = default; + this.shape = default; + this.rad_root = default; + this.rad_tip = default; + this.rad_scale = default; + this.ptr_twistcurve = default; + this.ptr__pad7 = default; + } public ParticleSettings( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/ParticleSpring.cs b/BlendFile/DNA/ParticleSpring.cs index ebc7dd4..0993474 100644 --- a/BlendFile/DNA/ParticleSpring.cs +++ b/BlendFile/DNA/ParticleSpring.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int[] particle_index = new System.Int32[2]; [DNAFieldAttribute(2, "int", "delete_flag", 4)] public int delete_flag; + public ParticleSpring() { + this.rest_length = default; + this.particle_index = default; + this.delete_flag = default; + } public ParticleSpring(float rest_length, int[] particle_index, int delete_flag) { this.rest_length = rest_length; this.particle_index = particle_index; diff --git a/BlendFile/DNA/ParticleSystem.cs b/BlendFile/DNA/ParticleSystem.cs index acf44dc..a60967e 100644 --- a/BlendFile/DNA/ParticleSystem.cs +++ b/BlendFile/DNA/ParticleSystem.cs @@ -123,6 +123,62 @@ namespace BlendFile.DNA { public object ptr_batch_cache; [DNAFieldAttribute(54, "ParticleSystem", "*orig_psys", 696)] public ParticleSystem ptr_orig_psys; + public ParticleSystem() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_part = default; + this.ptr_particles = default; + this.ptr_child = default; + this.ptr_edit = default; + this.ptr_ptr_pathcache = default; + this.ptr_ptr_childcache = default; + this.pathcachebufs = default; + this.childcachebufs = default; + this.ptr_clmd = default; + this.ptr_hair_in_mesh = default; + this.ptr_hair_out_mesh = default; + this.ptr_target_ob = default; + this.ptr_lattice_deform_data = default; + this.ptr_parent = default; + this.targets = default; + this.name = default; + this.imat = default; + this.cfra = default; + this.tree_frame = default; + this.bvhtree_frame = default; + this.seed = default; + this.child_seed = default; + this.flag = default; + this.totpart = default; + this.totunexist = default; + this.totchild = default; + this.totcached = default; + this.totchildcache = default; + this.recalc = default; + this.target_psys = default; + this.totkeyed = default; + this.bakespace = default; + this._pad1 = default; + this.bb_uvname = default; + this._pad2 = default; + this.vgroup = default; + this.vg_neg = default; + this.rt3 = default; + this._pad3 = default; + this.ptr_pointcache = default; + this.ptcaches = default; + this.ptr_effectors = default; + this.ptr_fluid_springs = default; + this.tot_fluidsprings = default; + this.alloc_fluidsprings = default; + this.ptr_tree = default; + this.ptr_bvhtree = default; + this.ptr_pdd = default; + this.dt_frac = default; + this.lattice_strength = default; + this.ptr_batch_cache = default; + this.ptr_orig_psys = default; + } public ParticleSystem( ParticleSystem ptr_next, ParticleSystem ptr_prev, diff --git a/BlendFile/DNA/ParticleSystemModifierData.cs b/BlendFile/DNA/ParticleSystemModifierData.cs index f493fd6..90dae8e 100644 --- a/BlendFile/DNA/ParticleSystemModifierData.cs +++ b/BlendFile/DNA/ParticleSystemModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(9, "void", "*_pad1", 0)] public object ptr__pad1; + public ParticleSystemModifierData() { + this.modifier = default; + this.ptr_psys = default; + this.ptr_mesh_final = default; + this.ptr_mesh_original = default; + this.totdmvert = default; + this.totdmedge = default; + this.totdmface = default; + this.flag = default; + this._pad = default; + this.ptr__pad1 = default; + } public ParticleSystemModifierData(ModifierData modifier, ParticleSystem ptr_psys, Mesh ptr_mesh_final, Mesh ptr_mesh_original, int totdmvert, int totdmedge, int totdmface, short flag, char[] _pad, object ptr__pad1) { this.modifier = modifier; this.ptr_psys = ptr_psys; diff --git a/BlendFile/DNA/ParticleTarget.cs b/BlendFile/DNA/ParticleTarget.cs index ff7c7b5..ffe5d7d 100644 --- a/BlendFile/DNA/ParticleTarget.cs +++ b/BlendFile/DNA/ParticleTarget.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float time; [DNAFieldAttribute(7, "float", "duration", 4)] public float duration; + public ParticleTarget() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_ob = default; + this.psys = default; + this.flag = default; + this.mode = default; + this.time = default; + this.duration = default; + } public ParticleTarget(ParticleTarget ptr_next, ParticleTarget ptr_prev, Object ptr_ob, int psys, short flag, short mode, float time, float duration) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/PhysicsSettings.cs b/BlendFile/DNA/PhysicsSettings.cs index ef12177..da8d31d 100644 --- a/BlendFile/DNA/PhysicsSettings.cs +++ b/BlendFile/DNA/PhysicsSettings.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int quick_cache_step; [DNAFieldAttribute(3, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public PhysicsSettings() { + this.gravity = default; + this.flag = default; + this.quick_cache_step = default; + this._pad0 = default; + } public PhysicsSettings(float[] gravity, int flag, int quick_cache_step, char[] _pad0) { this.gravity = gravity; this.flag = flag; diff --git a/BlendFile/DNA/PixelShaderFxData.cs b/BlendFile/DNA/PixelShaderFxData.cs index fd6b2d1..3b6bc45 100644 --- a/BlendFile/DNA/PixelShaderFxData.cs +++ b/BlendFile/DNA/PixelShaderFxData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[] rgba = new System.Single[4]; [DNAFieldAttribute(4, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public PixelShaderFxData() { + this.shaderfx = default; + this.size = default; + this.flag = default; + this.rgba = default; + this.runtime = default; + } public PixelShaderFxData(ShaderFxData shaderfx, int[] size, int flag, float[] rgba, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.size = size; diff --git a/BlendFile/DNA/PointCache.cs b/BlendFile/DNA/PointCache.cs index b863f1f..26ec298 100644 --- a/BlendFile/DNA/PointCache.cs +++ b/BlendFile/DNA/PointCache.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public ListBase mem_cache; [DNAFieldAttribute(23, "PTCacheEdit", "*edit", 0)] public PTCacheEdit ptr_edit; + public PointCache() { + this.ptr_next = default; + this.ptr_prev = default; + this.flag = default; + this.step = default; + this.simframe = default; + this.startframe = default; + this.endframe = default; + this.editframe = default; + this.last_exact = default; + this.last_valid = default; + this._pad = default; + this.totpoint = default; + this.index = default; + this.compression = default; + this._pad0 = default; + this.name = default; + this.prev_name = default; + this.info = default; + this.path = default; + this.ptr_cached_frames = default; + this.cached_frames_len = default; + this._pad1 = default; + this.mem_cache = default; + this.ptr_edit = default; + } public PointCache( PointCache ptr_next, PointCache ptr_prev, diff --git a/BlendFile/DNA/PointCloud.cs b/BlendFile/DNA/PointCloud.cs index ef8f1c5..cbbdd86 100644 --- a/BlendFile/DNA/PointCloud.cs +++ b/BlendFile/DNA/PointCloud.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public PointCloudRuntimeHandle ptr_runtime; [DNAFieldAttribute(11, "void", "*batch_cache", 0)] public object ptr_batch_cache; + public PointCloud() { + this.id = default; + this.ptr_adt = default; + this.flag = default; + this.totpoint = default; + this.pdata = default; + this.attributes_active_index = default; + this._pad4 = default; + this.ptr_ptr_mat = default; + this.totcol = default; + this._pad3 = default; + this.ptr_runtime = default; + this.ptr_batch_cache = default; + } public PointCloud(ID id, AnimData ptr_adt, int flag, int totpoint, CustomData pdata, int attributes_active_index, int _pad4, Material ptr_ptr_mat, short totcol, short[] _pad3, PointCloudRuntimeHandle ptr_runtime, object ptr_batch_cache) { this.id = id; this.ptr_adt = ptr_adt; diff --git a/BlendFile/DNA/PointDensity.cs b/BlendFile/DNA/PointDensity.cs index 9ff5f59..4c15348 100644 --- a/BlendFile/DNA/PointDensity.cs +++ b/BlendFile/DNA/PointDensity.cs @@ -71,6 +71,36 @@ namespace BlendFile.DNA { public ColorBand ptr_coba; [DNAFieldAttribute(27, "CurveMapping", "*falloff_curve", 424)] public CurveMapping ptr_falloff_curve; + public PointDensity() { + this.flag = default; + this.falloff_type = default; + this.falloff_softness = default; + this.radius = default; + this.source = default; + this._pad0 = default; + this.color_source = default; + this.ob_color_source = default; + this.totpoints = default; + this.ptr_object = default; + this.psys = default; + this.psys_cache_space = default; + this.ob_cache_space = default; + this.vertex_attribute_name = default; + this._pad1 = default; + this.ptr_point_tree = default; + this.ptr_point_data = default; + this.noise_size = default; + this.noise_depth = default; + this.noise_influence = default; + this.noise_basis = default; + this._pad2 = default; + this.noise_fac = default; + this.speed_scale = default; + this.falloff_speed_scale = default; + this._pad3 = default; + this.ptr_coba = default; + this.ptr_falloff_curve = default; + } public PointDensity( short flag, short falloff_type, diff --git a/BlendFile/DNA/PreviewImage.cs b/BlendFile/DNA/PreviewImage.cs index 4600705..4eb687a 100644 --- a/BlendFile/DNA/PreviewImage.cs +++ b/BlendFile/DNA/PreviewImage.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int[] ptr_r = new System.Int32[2]; [DNAFieldAttribute(5, "PreviewImageRuntimeHandle", "*runtime", 0)] public PreviewImageRuntimeHandle ptr_runtime; + public PreviewImage() { + this.w = default; + this.h = default; + this.flag = default; + this.changed_timestamp = default; + this.ptr_r = default; + this.ptr_runtime = default; + } public PreviewImage(int[] w, int[] h, short[] flag, short[] changed_timestamp, int[] ptr_r, PreviewImageRuntimeHandle ptr_runtime) { this.w = w; this.h = h; diff --git a/BlendFile/DNA/RaytraceEEVEE.cs b/BlendFile/DNA/RaytraceEEVEE.cs index 14aaecb..bd296a6 100644 --- a/BlendFile/DNA/RaytraceEEVEE.cs +++ b/BlendFile/DNA/RaytraceEEVEE.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(5, "int", "denoise_stages", 4)] public int denoise_stages; + public RaytraceEEVEE() { + this.screen_trace_quality = default; + this.screen_trace_thickness = default; + this.trace_max_roughness = default; + this.resolution_scale = default; + this.flag = default; + this.denoise_stages = default; + } public RaytraceEEVEE(float screen_trace_quality, float screen_trace_thickness, float trace_max_roughness, int resolution_scale, int flag, int denoise_stages) { this.screen_trace_quality = screen_trace_quality; this.screen_trace_thickness = screen_trace_thickness; diff --git a/BlendFile/DNA/RegionAssetShelf.cs b/BlendFile/DNA/RegionAssetShelf.cs index 30fed17..c860b5e 100644 --- a/BlendFile/DNA/RegionAssetShelf.cs +++ b/BlendFile/DNA/RegionAssetShelf.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public ListBase shelves; [DNAFieldAttribute(1, "AssetShelf", "*active_shelf", 216)] public AssetShelf ptr_active_shelf; + public RegionAssetShelf() { + this.shelves = default; + this.ptr_active_shelf = default; + } public RegionAssetShelf(ListBase shelves, AssetShelf ptr_active_shelf) { this.shelves = shelves; this.ptr_active_shelf = ptr_active_shelf; diff --git a/BlendFile/DNA/RegionView3D.cs b/BlendFile/DNA/RegionView3D.cs index fc290d4..4b42cea 100644 --- a/BlendFile/DNA/RegionView3D.cs +++ b/BlendFile/DNA/RegionView3D.cs @@ -105,6 +105,53 @@ namespace BlendFile.DNA { public float rot_angle; [DNAFieldAttribute(44, "float", "rot_axis[3]", 4)] public float[] rot_axis = new System.Single[3]; + public RegionView3D() { + this.winmat = default; + this.viewmat = default; + this.viewinv = default; + this.persmat = default; + this.persinv = default; + this.viewcamtexcofac = default; + this.viewmatob = default; + this.persmatob = default; + this.clip = default; + this.clip_local = default; + this.ptr_clipbb = default; + this.ptr_localvd = default; + this.ptr_view_render = default; + this.ptr_sms = default; + this.ptr_smooth_timer = default; + this.twmat = default; + this.tw_axis_min = default; + this.tw_axis_max = default; + this.tw_axis_matrix = default; + this.gridview = default; + this.viewquat = default; + this.dist = default; + this.camdx = default; + this.camdy = default; + this.pixsize = default; + this.ofs = default; + this.camzoom = default; + this.is_persp = default; + this.persp = default; + this.view = default; + this.view_axis_roll = default; + this.viewlock = default; + this.runtime_viewlock = default; + this.viewlock_quad = default; + this._pad = default; + this.ofs_lock = default; + this.twdrawflag = default; + this.rflag = default; + this.lviewquat = default; + this.lpersp = default; + this.lview = default; + this.lview_axis_roll = default; + this._pad8 = default; + this.rot_angle = default; + this.rot_axis = default; + } public RegionView3D( float[,] winmat, float[,] viewmat, diff --git a/BlendFile/DNA/RemeshModifierData.cs b/BlendFile/DNA/RemeshModifierData.cs index 9090806..9bafe56 100644 --- a/BlendFile/DNA/RemeshModifierData.cs +++ b/BlendFile/DNA/RemeshModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public float voxel_size; [DNAFieldAttribute(9, "float", "adaptivity", 4)] public float adaptivity; + public RemeshModifierData() { + this.modifier = default; + this.threshold = default; + this.scale = default; + this.hermite_num = default; + this.depth = default; + this.flag = default; + this.mode = default; + this._pad = default; + this.voxel_size = default; + this.adaptivity = default; + } public RemeshModifierData(ModifierData modifier, float threshold, float scale, float hermite_num, char depth, char flag, char mode, char _pad, float voxel_size, float adaptivity) { this.modifier = modifier; this.threshold = threshold; diff --git a/BlendFile/DNA/RenderData.cs b/BlendFile/DNA/RenderData.cs index d88859f..21ed049 100644 --- a/BlendFile/DNA/RenderData.cs +++ b/BlendFile/DNA/RenderData.cs @@ -191,6 +191,96 @@ namespace BlendFile.DNA { public char use_old_cpu_compositor; [DNAFieldAttribute(87, "char", "_pad10[7]", 1)] public char[] _pad10 = new System.Char[7]; + public RenderData() { + this.im_format = default; + this.ptr__pad = default; + this.ffcodecdata = default; + this.cfra = default; + this.sfra = default; + this.efra = default; + this.subframe = default; + this.psfra = default; + this.pefra = default; + this.images = default; + this.framapto = default; + this.flag = default; + this.threads = default; + this.framelen = default; + this.frame_step = default; + this.dimensionspreset = default; + this.size = default; + this.xsch = default; + this.ysch = default; + this.tilex = default; + this.tiley = default; + this.planes = default; + this.imtype = default; + this.subimtype = default; + this.quality = default; + this.use_lock_interface = default; + this._pad7 = default; + this.scemode = default; + this.mode = default; + this.frs_sec = default; + this.alphamode = default; + this._pad0 = default; + this.border = default; + this.layers = default; + this.actlay = default; + this._pad1 = default; + this.xasp = default; + this.yasp = default; + this.frs_sec_base = default; + this.gauss = default; + this.color_mgt_flag = default; + this.dither_intensity = default; + this.bake_mode = default; + this.bake_flag = default; + this.bake_filter = default; + this.bake_samples = default; + this.bake_margin_type = default; + this._pad9 = default; + this.bake_biasdist = default; + this.bake_user_scale = default; + this.pic = default; + this.stamp = default; + this.stamp_font_id = default; + this._pad3 = default; + this.stamp_udata = default; + this.fg_stamp = default; + this.bg_stamp = default; + this.seq_prev_type = default; + this.seq_rend_type = default; + this.seq_flag = default; + this._pad5 = default; + this.simplify_subsurf = default; + this.simplify_subsurf_render = default; + this.simplify_gpencil = default; + this.simplify_particles = default; + this.simplify_particles_render = default; + this.simplify_volumes = default; + this.line_thickness_mode = default; + this.unit_line_thickness = default; + this.engine = default; + this._pad2 = default; + this.perf_flag = default; + this.bake = default; + this._pad8 = default; + this.preview_pixel_size = default; + this._pad4 = default; + this.views = default; + this.actview = default; + this.views_format = default; + this.hair_type = default; + this.hair_subdiv = default; + this.blurfac = default; + this.motion_blur_position = default; + this.mblur_shutter_curve = default; + this.compositor_device = default; + this.compositor_precision = default; + this.use_old_cpu_compositor = default; + this._pad10 = default; + } public RenderData( ImageFormatData im_format, object ptr__pad, diff --git a/BlendFile/DNA/RenderSlot.cs b/BlendFile/DNA/RenderSlot.cs index 04a40ec..ea59cb5 100644 --- a/BlendFile/DNA/RenderSlot.cs +++ b/BlendFile/DNA/RenderSlot.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(3, "RenderResult", "*render", 0)] public RenderResult ptr_render; + public RenderSlot() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.ptr_render = default; + } public RenderSlot(RenderSlot ptr_next, RenderSlot ptr_prev, char[] name, RenderResult ptr_render) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/RepeatZoneViewerPathElem.cs b/BlendFile/DNA/RepeatZoneViewerPathElem.cs index 4552b92..2b45abd 100644 --- a/BlendFile/DNA/RepeatZoneViewerPathElem.cs +++ b/BlendFile/DNA/RepeatZoneViewerPathElem.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int repeat_output_node_id; [DNAFieldAttribute(2, "int", "iteration", 4)] public int iteration; + public RepeatZoneViewerPathElem() { + this.@base = default; + this.repeat_output_node_id = default; + this.iteration = default; + } public RepeatZoneViewerPathElem(ViewerPathElem @base, int repeat_output_node_id, int iteration) { this.@base = @base; this.repeat_output_node_id = repeat_output_node_id; diff --git a/BlendFile/DNA/ReportList.cs b/BlendFile/DNA/ReportList.cs index cd4818c..80156dc 100644 --- a/BlendFile/DNA/ReportList.cs +++ b/BlendFile/DNA/ReportList.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public wmTimer ptr_reporttimer; [DNAFieldAttribute(6, "std_mutex_type", "*lock", 0)] public std_mutex_type ptr_lock; + public ReportList() { + this.list = default; + this.printlevel = default; + this.storelevel = default; + this.flag = default; + this._pad = default; + this.ptr_reporttimer = default; + this.ptr_lock = default; + } public ReportList(ListBase list, int printlevel, int storelevel, int flag, char[] _pad, wmTimer ptr_reporttimer, std_mutex_type ptr_lock) { this.list = list; this.printlevel = printlevel; diff --git a/BlendFile/DNA/RigidBodyCon.cs b/BlendFile/DNA/RigidBodyCon.cs index 824e8f7..4f56d30 100644 --- a/BlendFile/DNA/RigidBodyCon.cs +++ b/BlendFile/DNA/RigidBodyCon.cs @@ -89,6 +89,45 @@ namespace BlendFile.DNA { public float motor_ang_max_impulse; [DNAFieldAttribute(36, "void", "*physics_constraint", 0)] public object ptr_physics_constraint; + public RigidBodyCon() { + this.ptr_ob1 = default; + this.ptr_ob2 = default; + this.type = default; + this.num_solver_iterations = default; + this.flag = default; + this.breaking_threshold = default; + this.spring_type = default; + this._pad = default; + this.limit_lin_x_lower = default; + this.limit_lin_x_upper = default; + this.limit_lin_y_lower = default; + this.limit_lin_y_upper = default; + this.limit_lin_z_lower = default; + this.limit_lin_z_upper = default; + this.limit_ang_x_lower = default; + this.limit_ang_x_upper = default; + this.limit_ang_y_lower = default; + this.limit_ang_y_upper = default; + this.limit_ang_z_lower = default; + this.limit_ang_z_upper = default; + this.spring_stiffness_x = default; + this.spring_stiffness_y = default; + this.spring_stiffness_z = default; + this.spring_stiffness_ang_x = default; + this.spring_stiffness_ang_y = default; + this.spring_stiffness_ang_z = default; + this.spring_damping_x = default; + this.spring_damping_y = default; + this.spring_damping_z = default; + this.spring_damping_ang_x = default; + this.spring_damping_ang_y = default; + this.spring_damping_ang_z = default; + this.motor_lin_target_velocity = default; + this.motor_ang_target_velocity = default; + this.motor_lin_max_impulse = default; + this.motor_ang_max_impulse = default; + this.ptr_physics_constraint = default; + } public RigidBodyCon( Object ptr_ob1, Object ptr_ob2, diff --git a/BlendFile/DNA/RigidBodyOb.cs b/BlendFile/DNA/RigidBodyOb.cs index 5d9dba3..4531d48 100644 --- a/BlendFile/DNA/RigidBodyOb.cs +++ b/BlendFile/DNA/RigidBodyOb.cs @@ -51,6 +51,26 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(17, "RigidBodyOb_Shared", "*shared", 0)] public RigidBodyOb_Shared ptr_shared; + public RigidBodyOb() { + this.type = default; + this.shape = default; + this.flag = default; + this.col_groups = default; + this.mesh_source = default; + this._pad = default; + this.mass = default; + this.friction = default; + this.restitution = default; + this.margin = default; + this.lin_damping = default; + this.ang_damping = default; + this.lin_sleep_thresh = default; + this.ang_sleep_thresh = default; + this.orn = default; + this.pos = default; + this._pad1 = default; + this.ptr_shared = default; + } public RigidBodyOb( short type, short shape, diff --git a/BlendFile/DNA/RigidBodyWorld.cs b/BlendFile/DNA/RigidBodyWorld.cs index 0d9e038..8835d37 100644 --- a/BlendFile/DNA/RigidBodyWorld.cs +++ b/BlendFile/DNA/RigidBodyWorld.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(13, "float", "time_scale", 4)] public float time_scale; + public RigidBodyWorld() { + this.ptr_effector_weights = default; + this.ptr_group = default; + this.ptr_ptr_objects = default; + this.ptr_constraints = default; + this._pad = default; + this.ltime = default; + this.ptr_shared = default; + this.ptr_pointcache = default; + this.ptcaches = default; + this.numbodies = default; + this.steps_per_second = default; + this.num_solver_iterations = default; + this.flag = default; + this.time_scale = default; + } public RigidBodyWorld(EffectorWeights ptr_effector_weights, Collection ptr_group, Object ptr_ptr_objects, Collection ptr_constraints, char[] _pad, float ltime, RigidBodyWorld_Shared ptr_shared, PointCache ptr_pointcache, ListBase ptcaches, int numbodies, short steps_per_second, short num_solver_iterations, int flag, float time_scale) { this.ptr_effector_weights = ptr_effector_weights; this.ptr_group = ptr_group; diff --git a/BlendFile/DNA/RigidBodyWorld_Shared.cs b/BlendFile/DNA/RigidBodyWorld_Shared.cs index 5b6754d..abec5f0 100644 --- a/BlendFile/DNA/RigidBodyWorld_Shared.cs +++ b/BlendFile/DNA/RigidBodyWorld_Shared.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public ListBase ptcaches; [DNAFieldAttribute(2, "void", "*physics_world", 0)] public object ptr_physics_world; + public RigidBodyWorld_Shared() { + this.ptr_pointcache = default; + this.ptcaches = default; + this.ptr_physics_world = default; + } public RigidBodyWorld_Shared(PointCache ptr_pointcache, ListBase ptcaches, object ptr_physics_world) { this.ptr_pointcache = ptr_pointcache; this.ptcaches = ptcaches; diff --git a/BlendFile/DNA/RimShaderFxData.cs b/BlendFile/DNA/RimShaderFxData.cs index 59729e0..54d7f21 100644 --- a/BlendFile/DNA/RimShaderFxData.cs +++ b/BlendFile/DNA/RimShaderFxData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(9, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public RimShaderFxData() { + this.shaderfx = default; + this.offset = default; + this.flag = default; + this.rim_rgb = default; + this.mask_rgb = default; + this.mode = default; + this.blur = default; + this.samples = default; + this._pad = default; + this.runtime = default; + } public RimShaderFxData(ShaderFxData shaderfx, int[] offset, int flag, float[] rim_rgb, float[] mask_rgb, int mode, int[] blur, int samples, char[] _pad, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.offset = offset; diff --git a/BlendFile/DNA/SBVertex.cs b/BlendFile/DNA/SBVertex.cs index 5c1325d..c61d716 100644 --- a/BlendFile/DNA/SBVertex.cs +++ b/BlendFile/DNA/SBVertex.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct SBVertex { [DNAFieldAttribute(0, "float", "vec[4]", 4)] public float[] vec = new System.Single[4]; + public SBVertex() { + this.vec = default; + } public SBVertex(float[] vec) { this.vec = vec; } diff --git a/BlendFile/DNA/SDefBind.cs b/BlendFile/DNA/SDefBind.cs index ee304c2..6ed907a 100644 --- a/BlendFile/DNA/SDefBind.cs +++ b/BlendFile/DNA/SDefBind.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float normal_dist; [DNAFieldAttribute(5, "float", "influence", 4)] public float influence; + public SDefBind() { + this.ptr_vert_inds = default; + this.numverts = default; + this.mode = default; + this.ptr_vert_weights = default; + this.normal_dist = default; + this.influence = default; + } public SDefBind(int ptr_vert_inds, int numverts, int mode, float ptr_vert_weights, float normal_dist, float influence) { this.ptr_vert_inds = ptr_vert_inds; this.numverts = numverts; diff --git a/BlendFile/DNA/SDefVert.cs b/BlendFile/DNA/SDefVert.cs index fab9155..8e1a3ba 100644 --- a/BlendFile/DNA/SDefVert.cs +++ b/BlendFile/DNA/SDefVert.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int numbinds; [DNAFieldAttribute(2, "int", "vertex_idx", 4)] public int vertex_idx; + public SDefVert() { + this.ptr_binds = default; + this.numbinds = default; + this.vertex_idx = default; + } public SDefVert(SDefBind ptr_binds, int numbinds, int vertex_idx) { this.ptr_binds = ptr_binds; this.numbinds = numbinds; diff --git a/BlendFile/DNA/SPHFluidSettings.cs b/BlendFile/DNA/SPHFluidSettings.cs index ffae83b..435eccc 100644 --- a/BlendFile/DNA/SPHFluidSettings.cs +++ b/BlendFile/DNA/SPHFluidSettings.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public short solver; [DNAFieldAttribute(16, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public SPHFluidSettings() { + this.radius = default; + this.spring_k = default; + this.rest_length = default; + this.plasticity_constant = default; + this.yield_ratio = default; + this.plasticity_balance = default; + this.yield_balance = default; + this.viscosity_omega = default; + this.viscosity_beta = default; + this.stiffness_k = default; + this.stiffness_knear = default; + this.rest_density = default; + this.buoyancy = default; + this.flag = default; + this.spring_frames = default; + this.solver = default; + this._pad = default; + } public SPHFluidSettings( float radius, float spring_k, diff --git a/BlendFile/DNA/Scene.cs b/BlendFile/DNA/Scene.cs index 27695cd..e9f894f 100644 --- a/BlendFile/DNA/Scene.cs +++ b/BlendFile/DNA/Scene.cs @@ -131,6 +131,66 @@ namespace BlendFile.DNA { public SceneRuntimeHandle ptr_runtime; [DNAFieldAttribute(57, "void", "*_pad9", 0)] public object ptr__pad9; + public Scene() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this.ptr_camera = default; + this.ptr_world = default; + this.ptr_set = default; + this.@base = default; + this.ptr_basact = default; + this.ptr__pad1 = default; + this.cursor = default; + this.lay = default; + this.layact = default; + this._pad2 = default; + this.flag = default; + this.use_nodes = default; + this._pad3 = default; + this.ptr_nodetree = default; + this.ptr_ed = default; + this.ptr_toolsettings = default; + this.ptr__pad4 = default; + this.safe_areas = default; + this.r = default; + this.audio = default; + this.markers = default; + this.transform_spaces = default; + this.orientation_slots = default; + this.ptr_sound_scene = default; + this.ptr_playback_handle = default; + this.ptr_sound_scrub_handle = default; + this.ptr_speaker_handles = default; + this.ptr_fps_info = default; + this.ptr_depsgraph_hash = default; + this._pad7 = default; + this.active_keyingset = default; + this.keyingsets = default; + this.unit = default; + this.ptr_gpd = default; + this.ptr_clip = default; + this.physics_settings = default; + this.ptr__pad8 = default; + this.customdata_mask = default; + this.customdata_mask_modal = default; + this.view_settings = default; + this.display_settings = default; + this.sequencer_colorspace_settings = default; + this.ptr_rigidbody_world = default; + this.ptr_preview = default; + this.view_layers = default; + this.ptr_master_collection = default; + this.ptr_layer_properties = default; + this.simulation_frame_start = default; + this.simulation_frame_end = default; + this.display = default; + this.eevee = default; + this.grease_pencil_settings = default; + this.hydra = default; + this.ptr_runtime = default; + this.ptr__pad9 = default; + } public Scene( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/SceneDisplay.cs b/BlendFile/DNA/SceneDisplay.cs index 1d2f949..c2ba3d4 100644 --- a/BlendFile/DNA/SceneDisplay.cs +++ b/BlendFile/DNA/SceneDisplay.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[6]; [DNAFieldAttribute(9, "View3DShading", "shading", 944)] public View3DShading shading; + public SceneDisplay() { + this.light_direction = default; + this.shadow_shift = default; + this.shadow_focus = default; + this.matcap_ssao_distance = default; + this.matcap_ssao_attenuation = default; + this.matcap_ssao_samples = default; + this.viewport_aa = default; + this.render_aa = default; + this._pad = default; + this.shading = default; + } public SceneDisplay(float[] light_direction, float shadow_shift, float shadow_focus, float matcap_ssao_distance, float matcap_ssao_attenuation, int matcap_ssao_samples, char viewport_aa, char render_aa, char[] _pad, View3DShading shading) { this.light_direction = light_direction; this.shadow_shift = shadow_shift; diff --git a/BlendFile/DNA/SceneEEVEE.cs b/BlendFile/DNA/SceneEEVEE.cs index 57898bf..4135df8 100644 --- a/BlendFile/DNA/SceneEEVEE.cs +++ b/BlendFile/DNA/SceneEEVEE.cs @@ -119,6 +119,60 @@ namespace BlendFile.DNA { public float overscan; [DNAFieldAttribute(51, "float", "light_threshold", 4)] public float light_threshold; + public SceneEEVEE() { + this.flag = default; + this.gi_diffuse_bounces = default; + this.gi_cubemap_resolution = default; + this.gi_visibility_resolution = default; + this.gi_glossy_clamp = default; + this.gi_irradiance_pool_size = default; + this._pad0 = default; + this.taa_samples = default; + this.taa_render_samples = default; + this.volumetric_start = default; + this.volumetric_end = default; + this.volumetric_tile_size = default; + this.volumetric_samples = default; + this.volumetric_sample_distribution = default; + this.volumetric_light_clamp = default; + this.volumetric_shadow_samples = default; + this.volumetric_ray_depth = default; + this.gtao_distance = default; + this.gtao_thickness = default; + this.gtao_focus = default; + this.gtao_resolution = default; + this.fast_gi_step_count = default; + this.fast_gi_ray_count = default; + this.gtao_quality = default; + this.fast_gi_distance = default; + this.fast_gi_thickness_near = default; + this.fast_gi_thickness_far = default; + this.fast_gi_method = default; + this._pad1 = default; + this.bokeh_overblur = default; + this.bokeh_max_size = default; + this.bokeh_threshold = default; + this.bokeh_neighbor_max = default; + this.motion_blur_samples = default; + this.motion_blur_max = default; + this.motion_blur_steps = default; + this.motion_blur_position = default; + this.motion_blur_shutter = default; + this.motion_blur_depth_scale = default; + this.shadow_cube_size = default; + this.shadow_pool_size = default; + this.shadow_ray_count = default; + this.shadow_step_count = default; + this.shadow_resolution_scale = default; + this.clamp_surface_direct = default; + this.clamp_surface_indirect = default; + this.clamp_volume_direct = default; + this.clamp_volume_indirect = default; + this.ray_tracing_method = default; + this.ray_tracing_options = default; + this.overscan = default; + this.light_threshold = default; + } public SceneEEVEE( int flag, int gi_diffuse_bounces, diff --git a/BlendFile/DNA/SceneGpencil.cs b/BlendFile/DNA/SceneGpencil.cs index 71d65eb..479f401 100644 --- a/BlendFile/DNA/SceneGpencil.cs +++ b/BlendFile/DNA/SceneGpencil.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float smaa_threshold; [DNAFieldAttribute(1, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public SceneGpencil() { + this.smaa_threshold = default; + this._pad = default; + } public SceneGpencil(float smaa_threshold, char[] _pad) { this.smaa_threshold = smaa_threshold; this._pad = _pad; diff --git a/BlendFile/DNA/SceneHydra.cs b/BlendFile/DNA/SceneHydra.cs index 14ad071..fc2c135 100644 --- a/BlendFile/DNA/SceneHydra.cs +++ b/BlendFile/DNA/SceneHydra.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int export_method; [DNAFieldAttribute(1, "int", "_pad0", 4)] public int _pad0; + public SceneHydra() { + this.export_method = default; + this._pad0 = default; + } public SceneHydra(int export_method, int _pad0) { this.export_method = export_method; this._pad0 = _pad0; diff --git a/BlendFile/DNA/SceneRenderLayer.cs b/BlendFile/DNA/SceneRenderLayer.cs index 31f9c43..b10b32b 100644 --- a/BlendFile/DNA/SceneRenderLayer.cs +++ b/BlendFile/DNA/SceneRenderLayer.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public IDProperty ptr_prop; [DNAFieldAttribute(14, "FreestyleConfig", "freestyleConfig", 56)] public FreestyleConfig freestyleConfig; + public SceneRenderLayer() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.ptr_mat_override = default; + this.ptr_world_override = default; + this.lay = default; + this.lay_zmask = default; + this.lay_exclude = default; + this.layflag = default; + this.passflag = default; + this.pass_xor = default; + this.samples = default; + this.pass_alpha_threshold = default; + this.ptr_prop = default; + this.freestyleConfig = default; + } public SceneRenderLayer(SceneRenderLayer ptr_next, SceneRenderLayer ptr_prev, char[] name, Material ptr_mat_override, World ptr_world_override, int lay, int lay_zmask, int lay_exclude, int layflag, int passflag, int pass_xor, int samples, float pass_alpha_threshold, IDProperty ptr_prop, FreestyleConfig freestyleConfig) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SceneRenderView.cs b/BlendFile/DNA/SceneRenderView.cs index feb51bd..52da883 100644 --- a/BlendFile/DNA/SceneRenderView.cs +++ b/BlendFile/DNA/SceneRenderView.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int viewflag; [DNAFieldAttribute(5, "char", "_pad2[4]", 1)] public char[] _pad2 = new System.Char[4]; + public SceneRenderView() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.suffix = default; + this.viewflag = default; + this._pad2 = default; + } public SceneRenderView(SceneRenderView ptr_next, SceneRenderView ptr_prev, char[] name, char[] suffix, int viewflag, char[] _pad2) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Scopes.cs b/BlendFile/DNA/Scopes.cs index 73907c3..e801f59 100644 --- a/BlendFile/DNA/Scopes.cs +++ b/BlendFile/DNA/Scopes.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public float ptr_vecscope; [DNAFieldAttribute(18, "float", "*vecscope_rgb", 4)] public float ptr_vecscope_rgb; + public Scopes() { + this.ok = default; + this.sample_full = default; + this.sample_lines = default; + this.wavefrm_mode = default; + this.vecscope_mode = default; + this.wavefrm_height = default; + this.vecscope_height = default; + this.waveform_tot = default; + this.accuracy = default; + this.wavefrm_alpha = default; + this.wavefrm_yfac = default; + this.vecscope_alpha = default; + this.minmax = default; + this.hist = default; + this.ptr_waveform_1 = default; + this.ptr_waveform_2 = default; + this.ptr_waveform_3 = default; + this.ptr_vecscope = default; + this.ptr_vecscope_rgb = default; + } public Scopes( int ok, int sample_full, diff --git a/BlendFile/DNA/ScrArea.cs b/BlendFile/DNA/ScrArea.cs index b15f565..818cdcc 100644 --- a/BlendFile/DNA/ScrArea.cs +++ b/BlendFile/DNA/ScrArea.cs @@ -65,6 +65,33 @@ namespace BlendFile.DNA { public ListBase actionzones; [DNAFieldAttribute(24, "ScrArea_Runtime", "runtime", 16)] public ScrArea_Runtime runtime; + public ScrArea() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_v1 = default; + this.ptr_v2 = default; + this.ptr_v3 = default; + this.ptr_v4 = default; + this.ptr_full = default; + this.totrct = default; + this.spacetype = default; + this.butspacetype = default; + this.butspacetype_subtype = default; + this.winx = default; + this.winy = default; + this.headertype = default; + this.do_refresh = default; + this.flag = default; + this.region_active_win = default; + this._pad = default; + this.ptr_type = default; + this.ptr_global = default; + this.spacedata = default; + this.regionbase = default; + this.handlers = default; + this.actionzones = default; + this.runtime = default; + } public ScrArea( ScrArea ptr_next, ScrArea ptr_prev, diff --git a/BlendFile/DNA/ScrAreaMap.cs b/BlendFile/DNA/ScrAreaMap.cs index dc54743..d9062bc 100644 --- a/BlendFile/DNA/ScrAreaMap.cs +++ b/BlendFile/DNA/ScrAreaMap.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public ListBase edgebase; [DNAFieldAttribute(2, "ListBase", "areabase", 16)] public ListBase areabase; + public ScrAreaMap() { + this.vertbase = default; + this.edgebase = default; + this.areabase = default; + } public ScrAreaMap(ListBase vertbase, ListBase edgebase, ListBase areabase) { this.vertbase = vertbase; this.edgebase = edgebase; diff --git a/BlendFile/DNA/ScrArea_Runtime.cs b/BlendFile/DNA/ScrArea_Runtime.cs index 7f7f2f0..d21c35d 100644 --- a/BlendFile/DNA/ScrArea_Runtime.cs +++ b/BlendFile/DNA/ScrArea_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char is_tool_set; [DNAFieldAttribute(2, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public ScrArea_Runtime() { + this.ptr_tool = default; + this.is_tool_set = default; + this._pad0 = default; + } public ScrArea_Runtime(bToolRef ptr_tool, char is_tool_set, char[] _pad0) { this.ptr_tool = ptr_tool; this.is_tool_set = is_tool_set; diff --git a/BlendFile/DNA/ScrEdge.cs b/BlendFile/DNA/ScrEdge.cs index 5b0abdc..a5511c7 100644 --- a/BlendFile/DNA/ScrEdge.cs +++ b/BlendFile/DNA/ScrEdge.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(6, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public ScrEdge() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_v1 = default; + this.ptr_v2 = default; + this.border = default; + this.flag = default; + this._pad = default; + } public ScrEdge(ScrEdge ptr_next, ScrEdge ptr_prev, ScrVert ptr_v1, ScrVert ptr_v2, short border, short flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ScrGlobalAreaData.cs b/BlendFile/DNA/ScrGlobalAreaData.cs index 3b64570..f730e34 100644 --- a/BlendFile/DNA/ScrGlobalAreaData.cs +++ b/BlendFile/DNA/ScrGlobalAreaData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(5, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public ScrGlobalAreaData() { + this.cur_fixed_height = default; + this.size_min = default; + this.size_max = default; + this.align = default; + this.flag = default; + this._pad = default; + } public ScrGlobalAreaData(short cur_fixed_height, short size_min, short size_max, short align, short flag, char[] _pad) { this.cur_fixed_height = cur_fixed_height; this.size_min = size_min; diff --git a/BlendFile/DNA/ScrVert.cs b/BlendFile/DNA/ScrVert.cs index b28364a..88bb692 100644 --- a/BlendFile/DNA/ScrVert.cs +++ b/BlendFile/DNA/ScrVert.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(5, "short", "editflag", 2)] public short editflag; + public ScrVert() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_newv = default; + this.vec = default; + this.flag = default; + this.editflag = default; + } public ScrVert(ScrVert ptr_next, ScrVert ptr_prev, ScrVert ptr_newv, vec2s vec, short flag, short editflag) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ScrewModifierData.cs b/BlendFile/DNA/ScrewModifierData.cs index f1e4d93..01e0e62 100644 --- a/BlendFile/DNA/ScrewModifierData.cs +++ b/BlendFile/DNA/ScrewModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[5]; [DNAFieldAttribute(11, "void", "*_pad1", 0)] public object ptr__pad1; + public ScrewModifierData() { + this.modifier = default; + this.ptr_ob_axis = default; + this.steps = default; + this.render_steps = default; + this.iter = default; + this.screw_ofs = default; + this.angle = default; + this.merge_dist = default; + this.flag = default; + this.axis = default; + this._pad = default; + this.ptr__pad1 = default; + } public ScrewModifierData(ModifierData modifier, Object ptr_ob_axis, int steps, int render_steps, int iter, float screw_ofs, float angle, float merge_dist, short flag, char axis, char[] _pad, object ptr__pad1) { this.modifier = modifier; this.ptr_ob_axis = ptr_ob_axis; diff --git a/BlendFile/DNA/Script.cs b/BlendFile/DNA/Script.cs index 39a4c75..37ee6de 100644 --- a/BlendFile/DNA/Script.cs +++ b/BlendFile/DNA/Script.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] scriptname = new System.Char[1024]; [DNAFieldAttribute(9, "char", "scriptarg[256]", 1)] public char[] scriptarg = new System.Char[256]; + public Script() { + this.id = default; + this.ptr_py_draw = default; + this.ptr_py_event = default; + this.ptr_py_button = default; + this.ptr_py_browsercallback = default; + this.ptr_py_globaldict = default; + this.flags = default; + this.lastspace = default; + this.scriptname = default; + this.scriptarg = default; + } public Script(ID id, object ptr_py_draw, object ptr_py_event, object ptr_py_button, object ptr_py_browsercallback, object ptr_py_globaldict, int flags, int lastspace, char[] scriptname, char[] scriptarg) { this.id = id; this.ptr_py_draw = ptr_py_draw; diff --git a/BlendFile/DNA/Sculpt.cs b/BlendFile/DNA/Sculpt.cs index 6dca9b8..007312b 100644 --- a/BlendFile/DNA/Sculpt.cs +++ b/BlendFile/DNA/Sculpt.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public CurveMapping ptr_automasking_cavity_curve_op; [DNAFieldAttribute(19, "Object", "*gravity_object", 1160)] public Object ptr_gravity_object; + public Sculpt() { + this.paint = default; + this.flags = default; + this.transform_mode = default; + this.automasking_flags = default; + this.radial_symm = default; + this.detail_size = default; + this.symmetrize_direction = default; + this.gravity_factor = default; + this.constant_detail = default; + this.detail_percent = default; + this.automasking_boundary_edges_propagation_steps = default; + this.automasking_cavity_blur_steps = default; + this.automasking_cavity_factor = 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.ptr_automasking_cavity_curve = default; + this.ptr_automasking_cavity_curve_op = default; + this.ptr_gravity_object = default; + } public Sculpt( Paint paint, int flags, diff --git a/BlendFile/DNA/SeqConnection.cs b/BlendFile/DNA/SeqConnection.cs index d575df5..509ee29 100644 --- a/BlendFile/DNA/SeqConnection.cs +++ b/BlendFile/DNA/SeqConnection.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public SeqConnection ptr_prev; [DNAFieldAttribute(2, "Sequence", "*seq_ref", 464)] public Sequence ptr_seq_ref; + public SeqConnection() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_seq_ref = default; + } public SeqConnection(SeqConnection ptr_next, SeqConnection ptr_prev, Sequence ptr_seq_ref) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SeqRetimingHandle.cs b/BlendFile/DNA/SeqRetimingHandle.cs index 51ae866..83770cb 100644 --- a/BlendFile/DNA/SeqRetimingHandle.cs +++ b/BlendFile/DNA/SeqRetimingHandle.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float original_retiming_factor; [DNAFieldAttribute(7, "char", "_pad2[4]", 1)] public char[] _pad2 = new System.Char[4]; + public SeqRetimingHandle() { + this.strip_frame_index = default; + this.flag = default; + this._pad0 = default; + this.retiming_factor = default; + this._pad1 = default; + this.original_strip_frame_index = default; + this.original_retiming_factor = default; + this._pad2 = default; + } public SeqRetimingHandle(double strip_frame_index, int flag, int _pad0, float retiming_factor, char[] _pad1, double original_strip_frame_index, float original_retiming_factor, char[] _pad2) { this.strip_frame_index = strip_frame_index; this.flag = flag; diff --git a/BlendFile/DNA/SeqTimelineChannel.cs b/BlendFile/DNA/SeqTimelineChannel.cs index cb67446..00b7b75 100644 --- a/BlendFile/DNA/SeqTimelineChannel.cs +++ b/BlendFile/DNA/SeqTimelineChannel.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int index; [DNAFieldAttribute(4, "int", "flag", 4)] public int flag; + public SeqTimelineChannel() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.index = default; + this.flag = default; + } public SeqTimelineChannel(SeqTimelineChannel ptr_next, SeqTimelineChannel ptr_prev, char[] name, int index, int flag) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Sequence.cs b/BlendFile/DNA/Sequence.cs index 912afb8..7319d6e 100644 --- a/BlendFile/DNA/Sequence.cs +++ b/BlendFile/DNA/Sequence.cs @@ -151,6 +151,76 @@ namespace BlendFile.DNA { public char[] _pad6 = new System.Char[4]; [DNAFieldAttribute(67, "SequenceRuntime", "runtime", 8)] public SequenceRuntime runtime; + public Sequence() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_tmp = default; + this.ptr_lib = default; + this.name = default; + this.flag = default; + this.type = default; + this.len = default; + this.start = default; + this.startofs = default; + this.endofs = default; + this.startstill = default; + this.endstill = default; + this.machine = default; + this.startdisp = default; + this.enddisp = default; + this.sat = default; + this.mul = default; + this.streamindex = default; + this._pad = default; + this.multicam_source = default; + this.clip_flag = default; + this.ptr_strip = default; + this.ptr_ipo = default; + this.ptr_scene = default; + this.ptr_scene_camera = default; + this.ptr_clip = default; + this.ptr_mask = default; + this.anims = default; + this.effect_fader = default; + this.speed_fader = default; + this.ptr_seq1 = default; + this.ptr_seq2 = default; + this.ptr__pad7 = default; + this._pad8 = default; + this.seqbase = default; + this.channels = default; + this.connections = default; + this.ptr_sound = default; + this.ptr_scene_sound = default; + this.volume = default; + this.pitch = default; + this.pan = default; + this.strobe = default; + this.sound_offset = default; + this._pad4 = default; + this.ptr_effectdata = default; + this.anim_startofs = default; + this.anim_endofs = default; + this.blend_mode = default; + this.blend_opacity = default; + this.color_tag = default; + this.alpha_mode = default; + this._pad2 = default; + this.cache_flag = default; + this.sfra = default; + this.views_format = default; + this._pad3 = default; + this.ptr_stereo3d_format = default; + this.ptr_prop = default; + this.modifiers = default; + this.media_playback_rate = default; + this.speed_factor = default; + this.ptr_retiming_handles = default; + this.ptr__pad5 = default; + this.retiming_handle_num = default; + this._pad6 = default; + this.runtime = default; + } public Sequence( Sequence ptr_next, Sequence ptr_prev, diff --git a/BlendFile/DNA/SequenceModifierData.cs b/BlendFile/DNA/SequenceModifierData.cs index 24f727c..d23dd10 100644 --- a/BlendFile/DNA/SequenceModifierData.cs +++ b/BlendFile/DNA/SequenceModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public Sequence ptr_mask_sequence; [DNAFieldAttribute(8, "Mask", "*mask_id", 272)] public Mask ptr_mask_id; + public SequenceModifierData() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.flag = default; + this.name = default; + this.mask_input_type = default; + this.mask_time = default; + this.ptr_mask_sequence = default; + this.ptr_mask_id = default; + } public SequenceModifierData(SequenceModifierData ptr_next, SequenceModifierData ptr_prev, int type, int flag, char[] name, int mask_input_type, int mask_time, Sequence ptr_mask_sequence, Mask ptr_mask_id) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SequenceRuntime.cs b/BlendFile/DNA/SequenceRuntime.cs index fa93e30..26ec78a 100644 --- a/BlendFile/DNA/SequenceRuntime.cs +++ b/BlendFile/DNA/SequenceRuntime.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct SequenceRuntime { [DNAFieldAttribute(0, "SessionUID", "session_uid", 8)] public SessionUID session_uid; + public SequenceRuntime() { + this.session_uid = default; + } public SequenceRuntime(SessionUID session_uid) { this.session_uid = session_uid; } diff --git a/BlendFile/DNA/SequencerCacheOverlay.cs b/BlendFile/DNA/SequencerCacheOverlay.cs index 0b83273..d411216 100644 --- a/BlendFile/DNA/SequencerCacheOverlay.cs +++ b/BlendFile/DNA/SequencerCacheOverlay.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public SequencerCacheOverlay() { + this.flag = default; + this._pad0 = default; + } public SequencerCacheOverlay(int flag, char[] _pad0) { this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/SequencerMaskModifierData.cs b/BlendFile/DNA/SequencerMaskModifierData.cs index 096cc38..27612df 100644 --- a/BlendFile/DNA/SequencerMaskModifierData.cs +++ b/BlendFile/DNA/SequencerMaskModifierData.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct SequencerMaskModifierData { [DNAFieldAttribute(0, "SequenceModifierData", "modifier", 112)] public SequenceModifierData modifier; + public SequencerMaskModifierData() { + this.modifier = default; + } public SequencerMaskModifierData(SequenceModifierData modifier) { this.modifier = modifier; } diff --git a/BlendFile/DNA/SequencerPreviewOverlay.cs b/BlendFile/DNA/SequencerPreviewOverlay.cs index 5a3a17e..2df6fff 100644 --- a/BlendFile/DNA/SequencerPreviewOverlay.cs +++ b/BlendFile/DNA/SequencerPreviewOverlay.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public SequencerPreviewOverlay() { + this.flag = default; + this._pad0 = default; + } public SequencerPreviewOverlay(int flag, char[] _pad0) { this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/SequencerTimelineOverlay.cs b/BlendFile/DNA/SequencerTimelineOverlay.cs index 9972177..7db7055 100644 --- a/BlendFile/DNA/SequencerTimelineOverlay.cs +++ b/BlendFile/DNA/SequencerTimelineOverlay.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public SequencerTimelineOverlay() { + this.flag = default; + this._pad0 = default; + } public SequencerTimelineOverlay(int flag, char[] _pad0) { this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/SequencerTonemapModifierData.cs b/BlendFile/DNA/SequencerTonemapModifierData.cs index ad26d3f..c78c01f 100644 --- a/BlendFile/DNA/SequencerTonemapModifierData.cs +++ b/BlendFile/DNA/SequencerTonemapModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public float correction; [DNAFieldAttribute(8, "int", "type", 4)] public int type; + public SequencerTonemapModifierData() { + this.modifier = default; + this.key = default; + this.offset = default; + this.gamma = default; + this.intensity = default; + this.contrast = default; + this.adaptation = default; + this.correction = default; + this.type = default; + } public SequencerTonemapModifierData(SequenceModifierData modifier, float key, float offset, float gamma, float intensity, float contrast, float adaptation, float correction, int type) { this.modifier = modifier; this.key = key; diff --git a/BlendFile/DNA/SequencerToolSettings.cs b/BlendFile/DNA/SequencerToolSettings.cs index ea74912..f64e92c 100644 --- a/BlendFile/DNA/SequencerToolSettings.cs +++ b/BlendFile/DNA/SequencerToolSettings.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int snap_distance; [DNAFieldAttribute(5, "int", "pivot_point", 4)] public int pivot_point; + public SequencerToolSettings() { + this.fit_method = default; + this.snap_mode = default; + this.snap_flag = default; + this.overlap_mode = default; + this.snap_distance = default; + this.pivot_point = default; + } public SequencerToolSettings(int fit_method, short snap_mode, short snap_flag, int overlap_mode, int snap_distance, int pivot_point) { this.fit_method = fit_method; this.snap_mode = snap_mode; diff --git a/BlendFile/DNA/SessionUID.cs b/BlendFile/DNA/SessionUID.cs index d8a8562..586ddc4 100644 --- a/BlendFile/DNA/SessionUID.cs +++ b/BlendFile/DNA/SessionUID.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct SessionUID { [DNAFieldAttribute(0, "uint64_t", "uid_", 8)] public ulong uid_; + public SessionUID() { + this.uid_ = default; + } public SessionUID(ulong uid_) { this.uid_ = uid_; } diff --git a/BlendFile/DNA/ShaderFxData.cs b/BlendFile/DNA/ShaderFxData.cs index 024f51d..1e0c2d9 100644 --- a/BlendFile/DNA/ShaderFxData.cs +++ b/BlendFile/DNA/ShaderFxData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "char", "*error", 1)] public char ptr_error; + public ShaderFxData() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.mode = default; + this._pad0 = default; + this.flag = default; + this.ui_expand_flag = default; + this.name = default; + this.ptr_error = default; + } public ShaderFxData(ShaderFxData ptr_next, ShaderFxData ptr_prev, int type, int mode, char[] _pad0, short flag, short ui_expand_flag, char[] name, char ptr_error) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ShaderFxData_Runtime.cs b/BlendFile/DNA/ShaderFxData_Runtime.cs index 19d243d..55dece8 100644 --- a/BlendFile/DNA/ShaderFxData_Runtime.cs +++ b/BlendFile/DNA/ShaderFxData_Runtime.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public DRWShadingGroup ptr_fx_sh_b; [DNAFieldAttribute(4, "DRWShadingGroup", "*fx_sh_c", 0)] public DRWShadingGroup ptr_fx_sh_c; + public ShaderFxData_Runtime() { + this.loc = default; + this._pad = default; + this.ptr_fx_sh = default; + this.ptr_fx_sh_b = default; + this.ptr_fx_sh_c = default; + } public ShaderFxData_Runtime(float[] loc, char[] _pad, DRWShadingGroup ptr_fx_sh, DRWShadingGroup ptr_fx_sh_b, DRWShadingGroup ptr_fx_sh_c) { this.loc = loc; this._pad = _pad; diff --git a/BlendFile/DNA/ShadowShaderFxData.cs b/BlendFile/DNA/ShadowShaderFxData.cs index 5b33b7c..8cc1008 100644 --- a/BlendFile/DNA/ShadowShaderFxData.cs +++ b/BlendFile/DNA/ShadowShaderFxData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(14, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public ShadowShaderFxData() { + this.shaderfx = default; + this.ptr_object = default; + this.offset = default; + this.flag = default; + this.shadow_rgba = default; + this.amplitude = default; + this.period = default; + this.phase = default; + this.orientation = default; + this.scale = default; + this.rotation = default; + this.blur = default; + this.samples = default; + this._pad = default; + this.runtime = default; + } public ShadowShaderFxData(ShaderFxData shaderfx, Object ptr_object, int[] offset, int flag, float[] shadow_rgba, float amplitude, float period, float phase, int orientation, float[] scale, float rotation, int[] blur, int samples, char[] _pad, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/ShapeKeyModifierData.cs b/BlendFile/DNA/ShapeKeyModifierData.cs index 96efb8e..d755667 100644 --- a/BlendFile/DNA/ShapeKeyModifierData.cs +++ b/BlendFile/DNA/ShapeKeyModifierData.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct ShapeKeyModifierData { [DNAFieldAttribute(0, "ModifierData", "modifier", 120)] public ModifierData modifier; + public ShapeKeyModifierData() { + this.modifier = default; + } public ShapeKeyModifierData(ModifierData modifier) { this.modifier = modifier; } diff --git a/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs b/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs index 46be5a8..cf3becc 100644 --- a/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs +++ b/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public int smooth_step; [DNAFieldAttribute(19, "ShrinkwrapTreeData", "*cache_data", 0)] public ShrinkwrapTreeData ptr_cache_data; + public ShrinkwrapGpencilModifierData() { + this.modifier = default; + this.ptr_target = default; + this.ptr_aux_target = default; + this.ptr_material = default; + this.layername = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.layer_pass = default; + this.keep_dist = default; + this.shrink_type = default; + this.shrink_opts = default; + this.shrink_mode = default; + this.proj_limit = default; + this.proj_axis = default; + this.subsurf_levels = default; + this._pad = default; + this.smooth_factor = default; + this.smooth_step = default; + this.ptr_cache_data = default; + } public ShrinkwrapGpencilModifierData( GpencilModifierData modifier, Object ptr_target, diff --git a/BlendFile/DNA/ShrinkwrapModifierData.cs b/BlendFile/DNA/ShrinkwrapModifierData.cs index 26a7353..e533dce 100644 --- a/BlendFile/DNA/ShrinkwrapModifierData.cs +++ b/BlendFile/DNA/ShrinkwrapModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char subsurfLevels; [DNAFieldAttribute(11, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public ShrinkwrapModifierData() { + this.modifier = default; + this.ptr_target = default; + this.ptr_auxTarget = default; + this.vgroup_name = default; + this.keepDist = default; + this.shrinkType = default; + this.shrinkOpts = default; + this.shrinkMode = default; + this.projLimit = default; + this.projAxis = default; + this.subsurfLevels = default; + this._pad = default; + } public ShrinkwrapModifierData(ModifierData modifier, Object ptr_target, Object ptr_auxTarget, char[] vgroup_name, float keepDist, short shrinkType, char shrinkOpts, char shrinkMode, float projLimit, char projAxis, char subsurfLevels, char[] _pad) { this.modifier = modifier; this.ptr_target = ptr_target; diff --git a/BlendFile/DNA/SimpleDeformModifierData.cs b/BlendFile/DNA/SimpleDeformModifierData.cs index 174ed35..a0572cc 100644 --- a/BlendFile/DNA/SimpleDeformModifierData.cs +++ b/BlendFile/DNA/SimpleDeformModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(9, "void", "*_pad1", 0)] public object ptr__pad1; + public SimpleDeformModifierData() { + this.modifier = default; + this.ptr_origin = default; + this.vgroup_name = default; + this.factor = default; + this.limit = default; + this.mode = default; + this.axis = default; + this.deform_axis = default; + this.flag = default; + this.ptr__pad1 = default; + } public SimpleDeformModifierData(ModifierData modifier, Object ptr_origin, char[] vgroup_name, float factor, float[] limit, char mode, char axis, char deform_axis, char flag, object ptr__pad1) { this.modifier = modifier; this.ptr_origin = ptr_origin; diff --git a/BlendFile/DNA/SimplifyGpencilModifierData.cs b/BlendFile/DNA/SimplifyGpencilModifierData.cs index abd77fe..372db49 100644 --- a/BlendFile/DNA/SimplifyGpencilModifierData.cs +++ b/BlendFile/DNA/SimplifyGpencilModifierData.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public float sharp_threshold; [DNAFieldAttribute(12, "float", "distance", 4)] public float distance; + public SimplifyGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.pass_index = default; + this.flag = default; + this.factor = default; + this.mode = default; + this.step = default; + this.layer_pass = default; + this.length = default; + this.sharp_threshold = default; + this.distance = default; + } public SimplifyGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, float factor, short mode, short step, int layer_pass, float length, float sharp_threshold, float distance) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/SimulationZoneViewerPathElem.cs b/BlendFile/DNA/SimulationZoneViewerPathElem.cs index f0bbafe..6b577fc 100644 --- a/BlendFile/DNA/SimulationZoneViewerPathElem.cs +++ b/BlendFile/DNA/SimulationZoneViewerPathElem.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int sim_output_node_id; [DNAFieldAttribute(2, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public SimulationZoneViewerPathElem() { + this.@base = default; + this.sim_output_node_id = default; + this._pad1 = default; + } public SimulationZoneViewerPathElem(ViewerPathElem @base, int sim_output_node_id, char[] _pad1) { this.@base = @base; this.sim_output_node_id = sim_output_node_id; diff --git a/BlendFile/DNA/SkinModifierData.cs b/BlendFile/DNA/SkinModifierData.cs index d476008..10029d1 100644 --- a/BlendFile/DNA/SkinModifierData.cs +++ b/BlendFile/DNA/SkinModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char symmetry_axes; [DNAFieldAttribute(4, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public SkinModifierData() { + this.modifier = default; + this.branch_smoothing = default; + this.flag = default; + this.symmetry_axes = default; + this._pad = default; + } public SkinModifierData(ModifierData modifier, float branch_smoothing, char flag, char symmetry_axes, char[] _pad) { this.modifier = modifier; this.branch_smoothing = branch_smoothing; diff --git a/BlendFile/DNA/SmokeModifierData.cs b/BlendFile/DNA/SmokeModifierData.cs index b1f443d..5ce36ff 100644 --- a/BlendFile/DNA/SmokeModifierData.cs +++ b/BlendFile/DNA/SmokeModifierData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(2, "int", "_pad", 4)] public int _pad; + public SmokeModifierData() { + this.modifier = default; + this.type = default; + this._pad = default; + } public SmokeModifierData(ModifierData modifier, int type, int _pad) { this.modifier = modifier; this.type = type; diff --git a/BlendFile/DNA/SmoothGpencilModifierData.cs b/BlendFile/DNA/SmoothGpencilModifierData.cs index 91bda9a..3936fa4 100644 --- a/BlendFile/DNA/SmoothGpencilModifierData.cs +++ b/BlendFile/DNA/SmoothGpencilModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", 424)] public CurveMapping ptr_curve_intensity; + public SmoothGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.factor = default; + this.step = default; + this.layer_pass = default; + this._pad1 = default; + this.ptr_curve_intensity = default; + } public SmoothGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float factor, int step, int layer_pass, char[] _pad1, CurveMapping ptr_curve_intensity) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/SmoothModifierData.cs b/BlendFile/DNA/SmoothModifierData.cs index da786fb..6ba93ea 100644 --- a/BlendFile/DNA/SmoothModifierData.cs +++ b/BlendFile/DNA/SmoothModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(4, "short", "repeat", 2)] public short repeat; + public SmoothModifierData() { + this.modifier = default; + this.fac = default; + this.defgrp_name = default; + this.flag = default; + this.repeat = default; + } public SmoothModifierData(ModifierData modifier, float fac, char[] defgrp_name, short flag, short repeat) { this.modifier = modifier; this.fac = fac; diff --git a/BlendFile/DNA/SoftBody.cs b/BlendFile/DNA/SoftBody.cs index 6c4d241..9c7abd7 100644 --- a/BlendFile/DNA/SoftBody.cs +++ b/BlendFile/DNA/SoftBody.cs @@ -123,6 +123,62 @@ namespace BlendFile.DNA { public float[,] lscale = new System.Single[3,3]; [DNAFieldAttribute(53, "int", "last_frame", 4)] public int last_frame; + public SoftBody() { + this.totpoint = default; + this.totspring = default; + this.ptr_bpoint = default; + this.ptr_bspring = default; + this._pad = default; + this.msg_lock = default; + this.msg_value = default; + this.nodemass = default; + this.namedVG_Mass = default; + this.grav = default; + this.mediafrict = default; + this.rklimit = default; + this.physics_speed = default; + this.goalspring = default; + this.goalfrict = default; + this.mingoal = default; + this.maxgoal = default; + this.defgoal = default; + this.vertgroup = default; + this.namedVG_Softgoal = default; + this.fuzzyness = default; + this.inspring = default; + this.infrict = default; + this.namedVG_Spring_K = default; + this._pad1 = default; + this.local = default; + this.solverflags = default; + this.ptr_ptr_keys = default; + this.totpointkey = default; + this.totkey = default; + this.secondspring = default; + this.colball = default; + this.balldamp = default; + this.ballstiff = default; + this.sbc_mode = default; + this.aeroedge = default; + this.minloops = default; + this.maxloops = default; + this.choke = default; + this.solver_ID = default; + this.plastic = default; + this.springpreload = default; + this.ptr_scratch = default; + this.shearstiff = default; + this.inpush = default; + this.ptr_shared = default; + this.ptr_pointcache = default; + this.ptcaches = default; + this.ptr_collision_group = default; + this.ptr_effector_weights = default; + this.lcom = default; + this.lrot = default; + this.lscale = default; + this.last_frame = default; + } public SoftBody( int totpoint, int totspring, diff --git a/BlendFile/DNA/SoftBody_Shared.cs b/BlendFile/DNA/SoftBody_Shared.cs index 78570c0..5558787 100644 --- a/BlendFile/DNA/SoftBody_Shared.cs +++ b/BlendFile/DNA/SoftBody_Shared.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public PointCache ptr_pointcache; [DNAFieldAttribute(1, "ListBase", "ptcaches", 16)] public ListBase ptcaches; + public SoftBody_Shared() { + this.ptr_pointcache = default; + this.ptcaches = default; + } public SoftBody_Shared(PointCache ptr_pointcache, ListBase ptcaches) { this.ptr_pointcache = ptr_pointcache; this.ptcaches = ptcaches; diff --git a/BlendFile/DNA/SoftbodyModifierData.cs b/BlendFile/DNA/SoftbodyModifierData.cs index 7f6c21a..e7a2f13 100644 --- a/BlendFile/DNA/SoftbodyModifierData.cs +++ b/BlendFile/DNA/SoftbodyModifierData.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct SoftbodyModifierData { [DNAFieldAttribute(0, "ModifierData", "modifier", 120)] public ModifierData modifier; + public SoftbodyModifierData() { + this.modifier = default; + } public SoftbodyModifierData(ModifierData modifier) { this.modifier = modifier; } diff --git a/BlendFile/DNA/SolidColorVars.cs b/BlendFile/DNA/SolidColorVars.cs index f6fe5ec..4516212 100644 --- a/BlendFile/DNA/SolidColorVars.cs +++ b/BlendFile/DNA/SolidColorVars.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float[] col = new System.Single[3]; [DNAFieldAttribute(1, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public SolidColorVars() { + this.col = default; + this._pad = default; + } public SolidColorVars(float[] col, char[] _pad) { this.col = col; this._pad = _pad; diff --git a/BlendFile/DNA/SolidLight.cs b/BlendFile/DNA/SolidLight.cs index 7fc675f..aa5efa2 100644 --- a/BlendFile/DNA/SolidLight.cs +++ b/BlendFile/DNA/SolidLight.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[] spec = new System.Single[4]; [DNAFieldAttribute(4, "float", "vec[4]", 4)] public float[] vec = new System.Single[4]; + public SolidLight() { + this.flag = default; + this.smooth = default; + this.col = default; + this.spec = default; + this.vec = default; + } public SolidLight(int flag, float smooth, float[] col, float[] spec, float[] vec) { this.flag = flag; this.smooth = smooth; diff --git a/BlendFile/DNA/SolidifyModifierData.cs b/BlendFile/DNA/SolidifyModifierData.cs index 7286c73..e19c04b 100644 --- a/BlendFile/DNA/SolidifyModifierData.cs +++ b/BlendFile/DNA/SolidifyModifierData.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public float merge_tolerance; [DNAFieldAttribute(19, "float", "bevel_convex", 4)] public float bevel_convex; + public SolidifyModifierData() { + this.modifier = default; + this.defgrp_name = default; + this.shell_defgrp_name = default; + this.rim_defgrp_name = default; + this.offset = default; + this.offset_fac = default; + this.offset_fac_vg = default; + this.offset_clamp = default; + this.mode = default; + this.nonmanifold_offset_mode = default; + this.nonmanifold_boundary_mode = default; + this._pad = default; + this.crease_inner = default; + this.crease_outer = default; + this.crease_rim = default; + this.flag = default; + this.mat_ofs = default; + this.mat_ofs_rim = default; + this.merge_tolerance = default; + this.bevel_convex = default; + } public SolidifyModifierData( ModifierData modifier, char[] defgrp_name, diff --git a/BlendFile/DNA/SoundEqualizerModifierData.cs b/BlendFile/DNA/SoundEqualizerModifierData.cs index 06500c0..f818808 100644 --- a/BlendFile/DNA/SoundEqualizerModifierData.cs +++ b/BlendFile/DNA/SoundEqualizerModifierData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public SequenceModifierData modifier; [DNAFieldAttribute(1, "ListBase", "graphics", 16)] public ListBase graphics; + public SoundEqualizerModifierData() { + this.modifier = default; + this.graphics = default; + } public SoundEqualizerModifierData(SequenceModifierData modifier, ListBase graphics) { this.modifier = modifier; this.graphics = graphics; diff --git a/BlendFile/DNA/SpaceAction.cs b/BlendFile/DNA/SpaceAction.cs index 9b7ac71..37725c8 100644 --- a/BlendFile/DNA/SpaceAction.cs +++ b/BlendFile/DNA/SpaceAction.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[6]; [DNAFieldAttribute(18, "SpaceAction_Runtime", "runtime", 8)] public SpaceAction_Runtime runtime; + public SpaceAction() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.v2d = default; + this.ptr_action = default; + this.action_slot_handle = default; + this._pad2 = default; + this.ads = default; + this.timeslide = default; + this.flag = default; + this.mode = default; + this.mode_prev = default; + this.autosnap = default; + this.cache_display = default; + this._pad1 = default; + this.runtime = default; + } public SpaceAction( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceAction_Runtime.cs b/BlendFile/DNA/SpaceAction_Runtime.cs index 63d10d0..299d556 100644 --- a/BlendFile/DNA/SpaceAction_Runtime.cs +++ b/BlendFile/DNA/SpaceAction_Runtime.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(1, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public SpaceAction_Runtime() { + this.flag = default; + this._pad0 = default; + } public SpaceAction_Runtime(char flag, char[] _pad0) { this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/SpaceButs.cs b/BlendFile/DNA/SpaceButs.cs index bf15b73..e8582bd 100644 --- a/BlendFile/DNA/SpaceButs.cs +++ b/BlendFile/DNA/SpaceButs.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public object ptr_texuser; [DNAFieldAttribute(20, "SpaceProperties_Runtime", "*runtime", 0)] public SpaceProperties_Runtime ptr_runtime; + public SpaceButs() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.v2d = default; + this.space_subtype = default; + this.mainb = default; + this.mainbo = default; + this.mainbuser = default; + this.preview = default; + this._pad = default; + this.flag = default; + this.outliner_sync = default; + this.ptr_path = default; + this.pathflag = default; + this.dataicon = default; + this.ptr_pinid = default; + this.ptr_texuser = default; + this.ptr_runtime = default; + } public SpaceButs( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceClip.cs b/BlendFile/DNA/SpaceClip.cs index cfebee4..9c3cfa4 100644 --- a/BlendFile/DNA/SpaceClip.cs +++ b/BlendFile/DNA/SpaceClip.cs @@ -81,6 +81,41 @@ namespace BlendFile.DNA { public float[] cursor = new System.Single[2]; [DNAFieldAttribute(32, "MaskSpaceInfo", "mask_info", 16)] public MaskSpaceInfo mask_info; + public SpaceClip() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.gizmo_flag = default; + this._pad1 = default; + this.xof = default; + this.yof = default; + this.xlockof = default; + this.ylockof = default; + this.zoom = default; + this.user = default; + this.ptr_clip = default; + this.scopes = default; + this.flag = default; + this.mode = default; + this.view = default; + this.path_length = default; + this.loc = default; + this.scale = default; + this.angle = default; + this._pad = default; + this.stabmat = default; + this.unistabmat = default; + this.postproc_flag = default; + this.gpencil_src = default; + this._pad2 = default; + this.around = default; + this._pad4 = default; + this.cursor = default; + this.mask_info = default; + } public SpaceClip( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceConsole.cs b/BlendFile/DNA/SpaceConsole.cs index 0153609..a635cca 100644 --- a/BlendFile/DNA/SpaceConsole.cs +++ b/BlendFile/DNA/SpaceConsole.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int sel_start; [DNAFieldAttribute(13, "int", "sel_end", 4)] public int sel_end; + public SpaceConsole() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.scrollback = default; + this.history = default; + this.prompt = default; + this.language = default; + this.lheight = default; + this.history_index = default; + this.sel_start = default; + this.sel_end = default; + } public SpaceConsole(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, ListBase scrollback, ListBase history, char[] prompt, char[] language, int lheight, int history_index, int sel_start, int sel_end) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceFile.cs b/BlendFile/DNA/SpaceFile.cs index c7db35c..eeb4da8 100644 --- a/BlendFile/DNA/SpaceFile.cs +++ b/BlendFile/DNA/SpaceFile.cs @@ -67,6 +67,34 @@ namespace BlendFile.DNA { public short system_bookmarknr; [DNAFieldAttribute(25, "SpaceFile_Runtime", "*runtime", 0)] public SpaceFile_Runtime ptr_runtime; + public SpaceFile() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.browse_mode = default; + this._pad1 = default; + this.tags = default; + this.scroll_offset = default; + this.ptr_params = default; + this.ptr_asset_params = default; + this.ptr__pad2 = default; + this.ptr_files = default; + this.ptr_folders_prev = default; + this.ptr_folders_next = default; + this.folder_histories = default; + this.ptr_op = default; + this.ptr_smoothscroll_timer = default; + this.ptr_previews_timer = default; + this.ptr_layout = default; + this.recentnr = default; + this.bookmarknr = default; + this.systemnr = default; + this.system_bookmarknr = default; + this.ptr_runtime = default; + } public SpaceFile( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceGraph_Runtime.cs b/BlendFile/DNA/SpaceGraph_Runtime.cs index 7fd6373..9d03669 100644 --- a/BlendFile/DNA/SpaceGraph_Runtime.cs +++ b/BlendFile/DNA/SpaceGraph_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[7]; [DNAFieldAttribute(2, "ListBase", "ghost_curves", 16)] public ListBase ghost_curves; + public SpaceGraph_Runtime() { + this.flag = default; + this._pad = default; + this.ghost_curves = default; + } public SpaceGraph_Runtime(char flag, char[] _pad, ListBase ghost_curves) { this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/SpaceImage.cs b/BlendFile/DNA/SpaceImage.cs index d1e24ac..4c0bfc8 100644 --- a/BlendFile/DNA/SpaceImage.cs +++ b/BlendFile/DNA/SpaceImage.cs @@ -85,6 +85,43 @@ namespace BlendFile.DNA { public MaskSpaceInfo mask_info; [DNAFieldAttribute(34, "SpaceImageOverlay", "overlay", 8)] public SpaceImageOverlay overlay; + public SpaceImage() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.ptr_image = default; + this.iuser = default; + this.scopes = default; + this.sample_line_hist = default; + this.ptr_gpd = default; + this.cursor = default; + this.xof = default; + this.yof = default; + this.zoom = default; + this.centx = default; + this.centy = default; + this.mode = default; + this.mode_prev = default; + this.pin = default; + this.pixel_snap_mode = default; + this.@lock = default; + this.dt_uv = default; + this.dt_uvstretch = default; + this.around = default; + this.gizmo_flag = default; + this.grid_shape_source = default; + this._pad1 = default; + this.flag = default; + this.uv_opacity = default; + this.stretch_opacity = default; + this.tile_grid_shape = default; + this.custom_grid_subdiv = default; + this.mask_info = default; + this.overlay = default; + } public SpaceImage( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceImageOverlay.cs b/BlendFile/DNA/SpaceImageOverlay.cs index 03aeee1..5dcd10d 100644 --- a/BlendFile/DNA/SpaceImageOverlay.cs +++ b/BlendFile/DNA/SpaceImageOverlay.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public SpaceImageOverlay() { + this.flag = default; + this._pad = default; + } public SpaceImageOverlay(int flag, char[] _pad) { this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/SpaceInfo.cs b/BlendFile/DNA/SpaceInfo.cs index b5de66d..5a123a1 100644 --- a/BlendFile/DNA/SpaceInfo.cs +++ b/BlendFile/DNA/SpaceInfo.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char rpt_mask; [DNAFieldAttribute(7, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public SpaceInfo() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.rpt_mask = default; + this._pad = default; + } public SpaceInfo(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, char rpt_mask, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceIpo.cs b/BlendFile/DNA/SpaceIpo.cs index 3bba986..d4ac221 100644 --- a/BlendFile/DNA/SpaceIpo.cs +++ b/BlendFile/DNA/SpaceIpo.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(15, "SpaceGraph_Runtime", "runtime", 24)] public SpaceGraph_Runtime runtime; + public SpaceIpo() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.v2d = default; + this.ptr_ads = default; + this.mode = default; + this.autosnap = default; + this.flag = default; + this.cursorTime = default; + this.cursorVal = default; + this.around = default; + this._pad = default; + this.runtime = default; + } public SpaceIpo( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceLink.cs b/BlendFile/DNA/SpaceLink.cs index 3ede614..7faabe0 100644 --- a/BlendFile/DNA/SpaceLink.cs +++ b/BlendFile/DNA/SpaceLink.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char link_flag; [DNAFieldAttribute(5, "char", "_pad0[6]", 1)] public char[] _pad0 = new System.Char[6]; + public SpaceLink() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + } public SpaceLink(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceNla.cs b/BlendFile/DNA/SpaceNla.cs index 030379f..033b987 100644 --- a/BlendFile/DNA/SpaceNla.cs +++ b/BlendFile/DNA/SpaceNla.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public bDopeSheet ptr_ads; [DNAFieldAttribute(10, "View2D", "v2d", 152)] public View2D v2d; + public SpaceNla() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.autosnap = default; + this.flag = default; + this._pad = default; + this.ptr_ads = default; + this.v2d = default; + } public SpaceNla(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, short autosnap, short flag, char[] _pad, bDopeSheet ptr_ads, View2D v2d) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceNode.cs b/BlendFile/DNA/SpaceNode.cs index 4bb420e..f313ae5 100644 --- a/BlendFile/DNA/SpaceNode.cs +++ b/BlendFile/DNA/SpaceNode.cs @@ -69,6 +69,35 @@ namespace BlendFile.DNA { public SpaceNodeOverlay overlay; [DNAFieldAttribute(26, "SpaceNode_Runtime", "*runtime", 0)] public SpaceNode_Runtime ptr_runtime; + public SpaceNode() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.v2d = default; + this.ptr_id = default; + this.ptr_from = default; + this.flag = default; + this.insert_ofs_dir = default; + this._pad1 = default; + this.xof = default; + this.yof = default; + this.zoom = default; + this.treepath = default; + this.ptr_edittree = default; + this.ptr_nodetree = default; + this.tree_idname = default; + this.treetype = default; + this.texfrom = default; + this.shaderfrom = default; + this.geometry_nodes_type = default; + this.ptr_geometry_nodes_tool_tree = default; + this.ptr_gpd = default; + this.overlay = default; + this.ptr_runtime = default; + } public SpaceNode( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceNodeOverlay.cs b/BlendFile/DNA/SpaceNodeOverlay.cs index 8f77c38..9d32096 100644 --- a/BlendFile/DNA/SpaceNodeOverlay.cs +++ b/BlendFile/DNA/SpaceNodeOverlay.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "int", "preview_shape", 4)] public int preview_shape; + public SpaceNodeOverlay() { + this.flag = default; + this.preview_shape = default; + } public SpaceNodeOverlay(int flag, int preview_shape) { this.flag = flag; this.preview_shape = preview_shape; diff --git a/BlendFile/DNA/SpaceOops.cs b/BlendFile/DNA/SpaceOops.cs index d730d18..dc5abdb 100644 --- a/BlendFile/DNA/SpaceOops.cs +++ b/BlendFile/DNA/SpaceOops.cs @@ -59,6 +59,30 @@ namespace BlendFile.DNA { public short filter_id_type; [DNAFieldAttribute(21, "SpaceOutliner_Runtime", "*runtime", 0)] public SpaceOutliner_Runtime ptr_runtime; + public SpaceOops() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.v2d = default; + this.tree = default; + this.ptr_treestore = default; + this.search_string = default; + this.flag = default; + this.outlinevis = default; + this.lib_override_view_mode = default; + this.storeflag = default; + this.search_flags = default; + this._pad = default; + this.sync_select_dirty = default; + this.filter = default; + this.filter_state = default; + this.show_restrict_flags = default; + this.filter_id_type = default; + this.ptr_runtime = default; + } public SpaceOops( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceScript.cs b/BlendFile/DNA/SpaceScript.cs index 0fb504a..faa7e30 100644 --- a/BlendFile/DNA/SpaceScript.cs +++ b/BlendFile/DNA/SpaceScript.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(10, "void", "*but_refs", 0)] public object ptr_but_refs; + public SpaceScript() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.ptr_script = default; + this.flags = default; + this.menunr = default; + this._pad1 = default; + this.ptr_but_refs = default; + } public SpaceScript(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, Script ptr_script, short flags, short menunr, char[] _pad1, object ptr_but_refs) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceSeq.cs b/BlendFile/DNA/SpaceSeq.cs index 8060824..3f61dc1 100644 --- a/BlendFile/DNA/SpaceSeq.cs +++ b/BlendFile/DNA/SpaceSeq.cs @@ -71,6 +71,36 @@ namespace BlendFile.DNA { public char[] _pad2 = new System.Char[7]; [DNAFieldAttribute(27, "SpaceSeq_Runtime", "*runtime", 0)] public SpaceSeq_Runtime ptr_runtime; + public SpaceSeq() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.v2d = default; + this.xof = default; + this.yof = default; + this.mainb = default; + this.render_size = default; + this.chanshown = default; + this.zebra = default; + this.flag = default; + this.zoom = default; + this.view = default; + this.overlay_type = default; + this.draw_flag = default; + this.gizmo_flag = default; + this._pad = default; + this.cursor = default; + this.ptr_gpd = default; + this.preview_overlay = default; + this.timeline_overlay = default; + this.cache_overlay = default; + this.multiview_eye = default; + this._pad2 = default; + this.ptr_runtime = default; + } public SpaceSeq( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceSpreadsheet.cs b/BlendFile/DNA/SpaceSpreadsheet.cs index e902df9..82abb42 100644 --- a/BlendFile/DNA/SpaceSpreadsheet.cs +++ b/BlendFile/DNA/SpaceSpreadsheet.cs @@ -51,6 +51,26 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(17, "SpaceSpreadsheet_Runtime", "*runtime", 0)] public SpaceSpreadsheet_Runtime ptr_runtime; + public SpaceSpreadsheet() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.columns = default; + this.row_filters = default; + this.viewer_path = default; + this.ptr_instance_ids = default; + this.instance_ids_num = default; + this.filter_flag = default; + this.geometry_component_type = default; + this.attribute_domain = default; + this.object_eval_state = default; + this.active_layer_index = default; + this.flag = default; + this.ptr_runtime = default; + } public SpaceSpreadsheet( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceStatusBar.cs b/BlendFile/DNA/SpaceStatusBar.cs index 174652e..05ad6ce 100644 --- a/BlendFile/DNA/SpaceStatusBar.cs +++ b/BlendFile/DNA/SpaceStatusBar.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char link_flag; [DNAFieldAttribute(5, "char", "_pad0[6]", 1)] public char[] _pad0 = new System.Char[6]; + public SpaceStatusBar() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + } public SpaceStatusBar(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceText.cs b/BlendFile/DNA/SpaceText.cs index 7988a4e..dbf0dda 100644 --- a/BlendFile/DNA/SpaceText.cs +++ b/BlendFile/DNA/SpaceText.cs @@ -67,6 +67,34 @@ namespace BlendFile.DNA { public char[] _pad3 = new System.Char[2]; [DNAFieldAttribute(25, "SpaceText_Runtime", "*runtime", 0)] public SpaceText_Runtime ptr_runtime; + public SpaceText() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.ptr_text = default; + this.top = default; + this.left = default; + this._pad1 = default; + this.flags = default; + this.lheight = default; + this.tabnumber = default; + this.wordwrap = default; + this.doplugins = default; + this.showlinenrs = default; + this.showsyntax = default; + this.line_hlight = default; + this.overwrite = default; + this.live_edit = default; + this._pad2 = default; + this.findstr = default; + this.replacestr = default; + this.margin_column = default; + this._pad3 = default; + this.ptr_runtime = default; + } public SpaceText( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/SpaceTopBar.cs b/BlendFile/DNA/SpaceTopBar.cs index 98cd315..f800112 100644 --- a/BlendFile/DNA/SpaceTopBar.cs +++ b/BlendFile/DNA/SpaceTopBar.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char link_flag; [DNAFieldAttribute(5, "char", "_pad0[6]", 1)] public char[] _pad0 = new System.Char[6]; + public SpaceTopBar() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + } public SpaceTopBar(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpaceUserPref.cs b/BlendFile/DNA/SpaceUserPref.cs index 4fc3726..7693474 100644 --- a/BlendFile/DNA/SpaceUserPref.cs +++ b/BlendFile/DNA/SpaceUserPref.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char filter_type; [DNAFieldAttribute(8, "char", "filter[64]", 1)] public char[] filter = new System.Char[64]; + public SpaceUserPref() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this._pad1 = default; + this.filter_type = default; + this.filter = default; + } public SpaceUserPref(SpaceLink ptr_next, SpaceLink ptr_prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, char[] _pad1, char filter_type, char[] filter) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Speaker.cs b/BlendFile/DNA/Speaker.cs index fb88758..302dd33 100644 --- a/BlendFile/DNA/Speaker.cs +++ b/BlendFile/DNA/Speaker.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(14, "char", "_pad1[6]", 1)] public char[] _pad1 = new System.Char[6]; + public Speaker() { + this.id = default; + this.ptr_adt = default; + this.ptr_sound = default; + this.volume_max = default; + this.volume_min = default; + this.distance_max = default; + this.distance_reference = default; + this.attenuation = default; + this.cone_angle_outer = default; + this.cone_angle_inner = default; + this.cone_volume_outer = default; + this.volume = default; + this.pitch = default; + this.flag = default; + this._pad1 = default; + } public Speaker(ID id, AnimData ptr_adt, bSound ptr_sound, float volume_max, float volume_min, float distance_max, float distance_reference, float attenuation, float cone_angle_outer, float cone_angle_inner, float cone_volume_outer, float volume, float pitch, short flag, char[] _pad1) { this.id = id; this.ptr_adt = ptr_adt; diff --git a/BlendFile/DNA/SpeedControlVars.cs b/BlendFile/DNA/SpeedControlVars.cs index 27e3b00..89f35e5 100644 --- a/BlendFile/DNA/SpeedControlVars.cs +++ b/BlendFile/DNA/SpeedControlVars.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float speed_fader_length; [DNAFieldAttribute(6, "float", "speed_fader_frame_number", 4)] public float speed_fader_frame_number; + public SpeedControlVars() { + this.ptr_frameMap = default; + this.globalSpeed = default; + this.flags = default; + this.speed_control_type = default; + this.speed_fader = default; + this.speed_fader_length = default; + this.speed_fader_frame_number = default; + } public SpeedControlVars(float ptr_frameMap, float globalSpeed, int flags, int speed_control_type, float speed_fader, float speed_fader_length, float speed_fader_frame_number) { this.ptr_frameMap = ptr_frameMap; this.globalSpeed = globalSpeed; diff --git a/BlendFile/DNA/SpreadsheetColumn.cs b/BlendFile/DNA/SpreadsheetColumn.cs index cd68631..4168c35 100644 --- a/BlendFile/DNA/SpreadsheetColumn.cs +++ b/BlendFile/DNA/SpreadsheetColumn.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad0 = new System.Char[7]; [DNAFieldAttribute(5, "char", "*display_name", 1)] public char ptr_display_name; + public SpreadsheetColumn() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_id = default; + this.data_type = default; + this._pad0 = default; + this.ptr_display_name = default; + } public SpreadsheetColumn(SpreadsheetColumn ptr_next, SpreadsheetColumn ptr_prev, SpreadsheetColumnID ptr_id, byte data_type, char[] _pad0, char ptr_display_name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/SpreadsheetColumnID.cs b/BlendFile/DNA/SpreadsheetColumnID.cs index 3fd2260..e245f4c 100644 --- a/BlendFile/DNA/SpreadsheetColumnID.cs +++ b/BlendFile/DNA/SpreadsheetColumnID.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class SpreadsheetColumnID { [DNAFieldAttribute(0, "char", "*name", 1)] public char ptr_name; + public SpreadsheetColumnID() { + this.ptr_name = default; + } public SpreadsheetColumnID(char ptr_name) { this.ptr_name = ptr_name; } diff --git a/BlendFile/DNA/SpreadsheetInstanceID.cs b/BlendFile/DNA/SpreadsheetInstanceID.cs index b2214f0..d6829f5 100644 --- a/BlendFile/DNA/SpreadsheetInstanceID.cs +++ b/BlendFile/DNA/SpreadsheetInstanceID.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct SpreadsheetInstanceID { [DNAFieldAttribute(0, "int", "reference_index", 4)] public int reference_index; + public SpreadsheetInstanceID() { + this.reference_index = default; + } public SpreadsheetInstanceID(int reference_index) { this.reference_index = reference_index; } diff --git a/BlendFile/DNA/SpreadsheetRowFilter.cs b/BlendFile/DNA/SpreadsheetRowFilter.cs index 0cef158..3ac77cd 100644 --- a/BlendFile/DNA/SpreadsheetRowFilter.cs +++ b/BlendFile/DNA/SpreadsheetRowFilter.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public float[] value_color = new System.Single[4]; [DNAFieldAttribute(14, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public SpreadsheetRowFilter() { + this.ptr_next = default; + this.ptr_prev = default; + this.column_name = default; + this.operation = default; + this.flag = default; + this._pad0 = default; + this.value_int = default; + this.value_int2 = default; + this.ptr_value_string = default; + this.value_float = default; + this.threshold = default; + this.value_float2 = default; + this.value_float3 = default; + this.value_color = default; + this._pad1 = default; + } public SpreadsheetRowFilter(SpreadsheetRowFilter ptr_next, SpreadsheetRowFilter ptr_prev, char[] column_name, byte operation, byte flag, char[] _pad0, int value_int, int[] value_int2, char ptr_value_string, float value_float, float threshold, float[] value_float2, float[] value_float3, float[] value_color, char[] _pad1) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Stereo3dFormat.cs b/BlendFile/DNA/Stereo3dFormat.cs index 0f0f607..bcb50b6 100644 --- a/BlendFile/DNA/Stereo3dFormat.cs +++ b/BlendFile/DNA/Stereo3dFormat.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char interlace_type; [DNAFieldAttribute(4, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public Stereo3dFormat() { + this.flag = default; + this.display_mode = default; + this.anaglyph_type = default; + this.interlace_type = default; + this._pad = default; + } public Stereo3dFormat(short flag, char display_mode, char anaglyph_type, char interlace_type, char[] _pad) { this.flag = flag; this.display_mode = display_mode; diff --git a/BlendFile/DNA/Strip.cs b/BlendFile/DNA/Strip.cs index 768044b..61c56c1 100644 --- a/BlendFile/DNA/Strip.cs +++ b/BlendFile/DNA/Strip.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public StripColorBalance ptr_color_balance; [DNAFieldAttribute(12, "ColorManagedColorspaceSettings", "colorspace_settings", 64)] public ColorManagedColorspaceSettings colorspace_settings; + public Strip() { + this.ptr_next = default; + this.ptr_prev = default; + this.us = default; + this.done = default; + this.startstill = default; + this.endstill = default; + this.ptr_stripdata = default; + this.dir = default; + this.ptr_proxy = default; + this.ptr_crop = default; + this.ptr_transform = default; + this.ptr_color_balance = default; + this.colorspace_settings = default; + } public Strip(Strip ptr_next, Strip ptr_prev, int us, int done, int startstill, int endstill, StripElem ptr_stripdata, char[] dir, StripProxy ptr_proxy, StripCrop ptr_crop, StripTransform ptr_transform, StripColorBalance ptr_color_balance, ColorManagedColorspaceSettings colorspace_settings) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/StripAnim.cs b/BlendFile/DNA/StripAnim.cs index d10b7d1..8c3d9ee 100644 --- a/BlendFile/DNA/StripAnim.cs +++ b/BlendFile/DNA/StripAnim.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public StripAnim ptr_prev; [DNAFieldAttribute(2, "ImBufAnim", "*anim", 0)] public ImBufAnim ptr_anim; + public StripAnim() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_anim = default; + } public StripAnim(StripAnim ptr_next, StripAnim ptr_prev, ImBufAnim ptr_anim) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/StripColorBalance.cs b/BlendFile/DNA/StripColorBalance.cs index c990ca8..483344f 100644 --- a/BlendFile/DNA/StripColorBalance.cs +++ b/BlendFile/DNA/StripColorBalance.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public StripColorBalance() { + this.method = default; + this.lift = default; + this.gamma = default; + this.gain = default; + this.slope = default; + this.offset = default; + this.power = default; + this.flag = default; + this._pad = default; + } public StripColorBalance(int method, float[] lift, float[] gamma, float[] gain, float[] slope, float[] offset, float[] power, int flag, char[] _pad) { this.method = method; this.lift = lift; diff --git a/BlendFile/DNA/StripCrop.cs b/BlendFile/DNA/StripCrop.cs index cd71237..b891fe8 100644 --- a/BlendFile/DNA/StripCrop.cs +++ b/BlendFile/DNA/StripCrop.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int left; [DNAFieldAttribute(3, "int", "right", 4)] public int right; + public StripCrop() { + this.top = default; + this.bottom = default; + this.left = default; + this.right = default; + } public StripCrop(int top, int bottom, int left, int right) { this.top = top; this.bottom = bottom; diff --git a/BlendFile/DNA/StripElem.cs b/BlendFile/DNA/StripElem.cs index f05297c..d389b36 100644 --- a/BlendFile/DNA/StripElem.cs +++ b/BlendFile/DNA/StripElem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int orig_height; [DNAFieldAttribute(3, "float", "orig_fps", 4)] public float orig_fps; + public StripElem() { + this.name = default; + this.orig_width = default; + this.orig_height = default; + this.orig_fps = default; + } public StripElem(char[] name, int orig_width, int orig_height, float orig_fps) { this.name = name; this.orig_width = orig_width; diff --git a/BlendFile/DNA/StripProxy.cs b/BlendFile/DNA/StripProxy.cs index 998130a..dc73c33 100644 --- a/BlendFile/DNA/StripProxy.cs +++ b/BlendFile/DNA/StripProxy.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char storage; [DNAFieldAttribute(9, "char", "_pad[5]", 1)] public char[] _pad = new System.Char[5]; + public StripProxy() { + this.dir = default; + this.file = default; + this.ptr_anim = default; + this.tc = default; + this.quality = default; + this.build_size_flags = default; + this.build_tc_flags = default; + this.build_flags = default; + this.storage = default; + this._pad = default; + } public StripProxy(char[] dir, char[] file, ImBufAnim ptr_anim, short tc, short quality, short build_size_flags, short build_tc_flags, short build_flags, char storage, char[] _pad) { this.dir = dir; this.file = file; diff --git a/BlendFile/DNA/StripTransform.cs b/BlendFile/DNA/StripTransform.cs index 80972c6..46e179a 100644 --- a/BlendFile/DNA/StripTransform.cs +++ b/BlendFile/DNA/StripTransform.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float[] origin = new System.Single[2]; [DNAFieldAttribute(6, "int", "filter", 4)] public int filter; + public StripTransform() { + this.xofs = default; + this.yofs = default; + this.scale_x = default; + this.scale_y = default; + this.rotation = default; + this.origin = default; + this.filter = default; + } public StripTransform(float xofs, float yofs, float scale_x, float scale_y, float rotation, float[] origin, int filter) { this.xofs = xofs; this.yofs = yofs; diff --git a/BlendFile/DNA/SubdivGpencilModifierData.cs b/BlendFile/DNA/SubdivGpencilModifierData.cs index af77014..762d38f 100644 --- a/BlendFile/DNA/SubdivGpencilModifierData.cs +++ b/BlendFile/DNA/SubdivGpencilModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public short type; [DNAFieldAttribute(9, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public SubdivGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.pass_index = default; + this.flag = default; + this.level = default; + this.layer_pass = default; + this.type = default; + this._pad = default; + } public SubdivGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, int level, int layer_pass, short type, char[] _pad) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/SubsurfModifierData.cs b/BlendFile/DNA/SubsurfModifierData.cs index e1a452e..d6c4d8a 100644 --- a/BlendFile/DNA/SubsurfModifierData.cs +++ b/BlendFile/DNA/SubsurfModifierData.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public object ptr_emCache; [DNAFieldAttribute(10, "void", "*mCache", 0)] public object ptr_mCache; + public SubsurfModifierData() { + this.modifier = default; + this.subdivType = default; + this.levels = default; + this.renderLevels = default; + this.flags = default; + this.uv_smooth = default; + this.quality = default; + this.boundary_smooth = default; + this._pad = default; + this.ptr_emCache = default; + this.ptr_mCache = default; + } public SubsurfModifierData(ModifierData modifier, short subdivType, short levels, short renderLevels, short flags, short uv_smooth, short quality, short boundary_smooth, char[] _pad, object ptr_emCache, object ptr_mCache) { this.modifier = modifier; this.subdivType = subdivType; diff --git a/BlendFile/DNA/SurfaceDeformModifierData.cs b/BlendFile/DNA/SurfaceDeformModifierData.cs index d4db053..60b4ce3 100644 --- a/BlendFile/DNA/SurfaceDeformModifierData.cs +++ b/BlendFile/DNA/SurfaceDeformModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(14, "int", "_pad2", 4)] public int _pad2; + public SurfaceDeformModifierData() { + this.modifier = default; + this.ptr_depsgraph = default; + this.ptr_target = default; + this.ptr_verts = default; + this.ptr__pad1 = default; + this.falloff = default; + this.num_mesh_verts = default; + this.numverts = default; + this.target_verts_num = default; + this.numpoly = default; + this.flags = default; + this.mat = default; + this.strength = default; + this.defgrp_name = default; + this._pad2 = default; + } public SurfaceDeformModifierData(ModifierData modifier, Depsgraph ptr_depsgraph, Object ptr_target, SDefVert ptr_verts, object ptr__pad1, float falloff, int num_mesh_verts, int numverts, int target_verts_num, int numpoly, int flags, float[,] mat, float strength, char[] defgrp_name, int _pad2) { this.modifier = modifier; this.ptr_depsgraph = ptr_depsgraph; diff --git a/BlendFile/DNA/SurfaceModifierData.cs b/BlendFile/DNA/SurfaceModifierData.cs index 9534775..160a75a 100644 --- a/BlendFile/DNA/SurfaceModifierData.cs +++ b/BlendFile/DNA/SurfaceModifierData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(1, "SurfaceModifierData_Runtime", "runtime", 40)] public SurfaceModifierData_Runtime runtime; + public SurfaceModifierData() { + this.modifier = default; + this.runtime = default; + } public SurfaceModifierData(ModifierData modifier, SurfaceModifierData_Runtime runtime) { this.modifier = modifier; this.runtime = runtime; diff --git a/BlendFile/DNA/SurfaceModifierData_Runtime.cs b/BlendFile/DNA/SurfaceModifierData_Runtime.cs index a8954b3..91bc380 100644 --- a/BlendFile/DNA/SurfaceModifierData_Runtime.cs +++ b/BlendFile/DNA/SurfaceModifierData_Runtime.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int cfra_prev; [DNAFieldAttribute(5, "int", "verts_num", 4)] public int verts_num; + public SurfaceModifierData_Runtime() { + this.ptr_mesh = default; + this.ptr_bvhtree = default; + this.cfra_prev = default; + this.verts_num = default; + } public SurfaceModifierData_Runtime(Mesh ptr_mesh, BVHTreeFromMesh ptr_bvhtree, int cfra_prev, int verts_num) { this.ptr_mesh = ptr_mesh; this.ptr_bvhtree = ptr_bvhtree; diff --git a/BlendFile/DNA/SwirlShaderFxData.cs b/BlendFile/DNA/SwirlShaderFxData.cs index 15abeee..d3506b6 100644 --- a/BlendFile/DNA/SwirlShaderFxData.cs +++ b/BlendFile/DNA/SwirlShaderFxData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public int transparent; [DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public SwirlShaderFxData() { + this.shaderfx = default; + this.ptr_object = default; + this.flag = default; + this.radius = default; + this.angle = default; + this.transparent = default; + this.runtime = default; + } public SwirlShaderFxData(ShaderFxData shaderfx, Object ptr_object, int flag, int radius, float angle, int transparent, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/TFace.cs b/BlendFile/DNA/TFace.cs index 34c2551..f82ad22 100644 --- a/BlendFile/DNA/TFace.cs +++ b/BlendFile/DNA/TFace.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short tile; [DNAFieldAttribute(7, "short", "unwrap", 2)] public short unwrap; + public TFace() { + this.ptr_tpage = default; + this.uv = default; + this.col = default; + this.flag = default; + this.transp = default; + this.mode = default; + this.tile = default; + this.unwrap = default; + } public TFace(object ptr_tpage, float[,] uv, int[] col, char flag, char transp, short mode, short tile, short unwrap) { this.ptr_tpage = ptr_tpage; this.uv = uv; diff --git a/BlendFile/DNA/Tex.cs b/BlendFile/DNA/Tex.cs index 705e79d..aaf12a9 100644 --- a/BlendFile/DNA/Tex.cs +++ b/BlendFile/DNA/Tex.cs @@ -135,6 +135,68 @@ namespace BlendFile.DNA { public char use_nodes; [DNAFieldAttribute(59, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public Tex() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this.noisesize = default; + this.turbul = default; + this.bright = default; + this.contrast = default; + this.saturation = default; + this.rfac = default; + this.gfac = default; + this.bfac = default; + this.filtersize = default; + this._pad2 = default; + this.mg_H = default; + this.mg_lacunarity = default; + this.mg_octaves = default; + this.mg_offset = default; + this.mg_gain = default; + this.dist_amount = default; + this.ns_outscale = default; + this.vn_w1 = default; + this.vn_w2 = default; + this.vn_w3 = default; + this.vn_w4 = default; + this.vn_mexp = default; + this.vn_distm = default; + this.vn_coltype = default; + this.noisedepth = default; + this.noisetype = default; + this.noisebasis = default; + this.noisebasis2 = default; + this.imaflag = default; + this.flag = default; + this.type = default; + this.stype = default; + this.cropxmin = default; + this.cropymin = default; + this.cropxmax = default; + this.cropymax = default; + this.texfilter = default; + this.afmax = default; + this.xrepeat = default; + this.yrepeat = default; + this.extend = default; + this._pad0 = default; + this.len = default; + this.frames = default; + this.offset = default; + this.sfra = default; + this.checkerdist = default; + this.nabla = default; + this._pad1 = default; + this.iuser = default; + this.ptr_nodetree = default; + this.ptr_ipo = default; + this.ptr_ima = default; + this.ptr_coba = default; + this.ptr_preview = default; + this.use_nodes = default; + this._pad = default; + } public Tex( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/TexMapping.cs b/BlendFile/DNA/TexMapping.cs index f042c58..1c7161e 100644 --- a/BlendFile/DNA/TexMapping.cs +++ b/BlendFile/DNA/TexMapping.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public float[] max = new System.Single[3]; [DNAFieldAttribute(12, "Object", "*ob", 1160)] public Object ptr_ob; + public TexMapping() { + this.loc = default; + this.rot = default; + this.size = default; + this.flag = default; + this.projx = default; + this.projy = default; + this.projz = default; + this.mapping = default; + this.type = default; + this.mat = default; + this.min = default; + this.max = default; + this.ptr_ob = default; + } public TexMapping(float[] loc, float[] rot, float[] size, int flag, char projx, char projy, char projz, char mapping, int type, float[,] mat, float[] min, float[] max, Object ptr_ob) { this.loc = loc; this.rot = rot; diff --git a/BlendFile/DNA/TexNodeOutput.cs b/BlendFile/DNA/TexNodeOutput.cs index 83f59a7..8faa247 100644 --- a/BlendFile/DNA/TexNodeOutput.cs +++ b/BlendFile/DNA/TexNodeOutput.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct TexNodeOutput { [DNAFieldAttribute(0, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public TexNodeOutput() { + this.name = default; + } public TexNodeOutput(char[] name) { this.name = name; } diff --git a/BlendFile/DNA/TexPaintSlot.cs b/BlendFile/DNA/TexPaintSlot.cs index ae4df64..b236be9 100644 --- a/BlendFile/DNA/TexPaintSlot.cs +++ b/BlendFile/DNA/TexPaintSlot.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int valid; [DNAFieldAttribute(5, "int", "interp", 4)] public int interp; + public TexPaintSlot() { + this.ptr_ima = default; + this.ptr_image_user = default; + this.ptr_uvname = default; + this.ptr_attribute_name = default; + this.valid = default; + this.interp = default; + } public TexPaintSlot(Image ptr_ima, ImageUser ptr_image_user, char ptr_uvname, char ptr_attribute_name, int valid, int interp) { this.ptr_ima = ptr_ima; this.ptr_image_user = ptr_image_user; diff --git a/BlendFile/DNA/Text.cs b/BlendFile/DNA/Text.cs index 9e55698..75f77b5 100644 --- a/BlendFile/DNA/Text.cs +++ b/BlendFile/DNA/Text.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int selc; [DNAFieldAttribute(10, "double", "mtime", 8)] public double mtime; + public Text() { + this.id = default; + this.ptr_name = default; + this.ptr_compiled = default; + this.flags = default; + this._pad0 = default; + this.lines = default; + this.ptr_curl = default; + this.ptr_sell = default; + this.curc = default; + this.selc = default; + this.mtime = default; + } public Text(ID id, char ptr_name, object ptr_compiled, int flags, char[] _pad0, ListBase lines, TextLine ptr_curl, TextLine ptr_sell, int curc, int selc, double mtime) { this.id = id; this.ptr_name = ptr_name; diff --git a/BlendFile/DNA/TextBox.cs b/BlendFile/DNA/TextBox.cs index 838c8c6..63f06e8 100644 --- a/BlendFile/DNA/TextBox.cs +++ b/BlendFile/DNA/TextBox.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float w; [DNAFieldAttribute(3, "float", "h", 4)] public float h; + public TextBox() { + this.x = default; + this.y = default; + this.w = default; + this.h = default; + } public TextBox(float x, float y, float w, float h) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/TextLine.cs b/BlendFile/DNA/TextLine.cs index 4238175..ad7f1a4 100644 --- a/BlendFile/DNA/TextLine.cs +++ b/BlendFile/DNA/TextLine.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int len; [DNAFieldAttribute(5, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public TextLine() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_line = default; + this.ptr_format = default; + this.len = default; + this._pad0 = default; + } public TextLine(TextLine ptr_next, TextLine ptr_prev, char ptr_line, char ptr_format, int len, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/TextVars.cs b/BlendFile/DNA/TextVars.cs index 8f83492..bc786b8 100644 --- a/BlendFile/DNA/TextVars.cs +++ b/BlendFile/DNA/TextVars.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public char align_y; [DNAFieldAttribute(18, "char", "_pad[5]", 1)] public char[] _pad = new System.Char[5]; + public TextVars() { + this.text = default; + this.ptr_text_font = default; + this.text_blf_id = default; + this.text_size = default; + this.color = default; + this.shadow_color = default; + this.box_color = default; + this.outline_color = default; + this.loc = default; + this.wrap_width = default; + this.box_margin = default; + this.shadow_angle = default; + this.shadow_offset = default; + this.shadow_blur = default; + this.outline_width = default; + this.flag = default; + this.align = default; + this.align_y = default; + this._pad = default; + } public TextVars( char[] text, VFont ptr_text_font, diff --git a/BlendFile/DNA/TextureGpencilModifierData.cs b/BlendFile/DNA/TextureGpencilModifierData.cs index d8e2a0d..5866054 100644 --- a/BlendFile/DNA/TextureGpencilModifierData.cs +++ b/BlendFile/DNA/TextureGpencilModifierData.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public float alignment_rotation; [DNAFieldAttribute(16, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public TextureGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.uv_offset = default; + this.uv_scale = default; + this.fill_rotation = default; + this.fill_offset = default; + this.fill_scale = default; + this.layer_pass = default; + this.fit_method = default; + this.mode = default; + this.alignment_rotation = default; + this._pad = default; + } public TextureGpencilModifierData( GpencilModifierData modifier, Material ptr_material, diff --git a/BlendFile/DNA/ThemeAssetShelf.cs b/BlendFile/DNA/ThemeAssetShelf.cs index 8602774..eb0079a 100644 --- a/BlendFile/DNA/ThemeAssetShelf.cs +++ b/BlendFile/DNA/ThemeAssetShelf.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char[] header_back = new System.Char[4]; [DNAFieldAttribute(1, "char", "back[4]", 1)] public char[] back = new System.Char[4]; + public ThemeAssetShelf() { + this.header_back = default; + this.back = default; + } public ThemeAssetShelf(char[] header_back, char[] back) { this.header_back = header_back; this.back = back; diff --git a/BlendFile/DNA/ThemeCollectionColor.cs b/BlendFile/DNA/ThemeCollectionColor.cs index 1cf2447..904b84d 100644 --- a/BlendFile/DNA/ThemeCollectionColor.cs +++ b/BlendFile/DNA/ThemeCollectionColor.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct ThemeCollectionColor { [DNAFieldAttribute(0, "char", "color[4]", 1)] public char[] color = new System.Char[4]; + public ThemeCollectionColor() { + this.color = default; + } public ThemeCollectionColor(char[] color) { this.color = color; } diff --git a/BlendFile/DNA/ThemeSpace.cs b/BlendFile/DNA/ThemeSpace.cs index 8a70445..2bd0906 100644 --- a/BlendFile/DNA/ThemeSpace.cs +++ b/BlendFile/DNA/ThemeSpace.cs @@ -493,6 +493,247 @@ namespace BlendFile.DNA { public char[] metadatabg = new System.Char[4]; [DNAFieldAttribute(238, "char", "metadatatext[4]", 1)] public char[] metadatatext = new System.Char[4]; + public ThemeSpace() { + this.back = default; + this.back_grad = default; + this.show_back_grad = default; + this._pad0 = default; + this.title = default; + this.text = default; + this.text_hi = default; + this.header = default; + this.header_title = default; + this.header_text = default; + this.header_text_hi = default; + this.tab_active = default; + this.tab_inactive = default; + this.tab_back = default; + this.tab_outline = default; + this.button = default; + this.button_title = default; + this.button_text = default; + this.button_text_hi = default; + this.list = default; + this.list_title = default; + this.list_text = default; + this.list_text_hi = default; + this.navigation_bar = default; + this.execution_buts = default; + this.panelcolors = default; + this.asset_shelf = default; + this.shade1 = default; + this.shade2 = default; + this.hilite = default; + this.grid = default; + this.view_overlay = default; + this.wire = default; + this.wire_edit = default; + this.select = default; + this.lamp = default; + this.speaker = default; + this.empty = default; + this.camera = default; + this.active = default; + this.group = default; + this.group_active = default; + this.transform = default; + this.vertex = default; + this.vertex_select = default; + this.vertex_active = default; + this.vertex_bevel = default; + this.vertex_unreferenced = default; + this.edge = default; + this.edge_select = default; + this.edge_mode_select = default; + this.edge_seam = default; + this.edge_sharp = default; + this.edge_facesel = default; + this.edge_crease = default; + this.edge_bevel = default; + this.face = default; + this.face_select = default; + this.face_mode_select = default; + this.face_retopology = default; + this.face_back = default; + this.face_front = default; + this.face_dot = default; + this.extra_edge_len = default; + this.extra_edge_angle = default; + this.extra_face_angle = default; + this.extra_face_area = default; + this.normal = default; + this.vertex_normal = default; + this.loop_normal = default; + this.bone_solid = default; + this.bone_pose = default; + this.bone_pose_active = default; + this.bone_locked_weight = default; + this.strip = default; + this.strip_select = default; + this.cframe = default; + this.before_current_frame = default; + this.after_current_frame = default; + this.time_keyframe = default; + this.time_gp_keyframe = default; + this.freestyle_edge_mark = default; + this.freestyle_face_mark = default; + this.scrubbing_background = default; + this.time_marker_line = default; + this.time_marker_line_selected = default; + this.nurb_uline = default; + this.nurb_vline = default; + this.act_spline = default; + this.nurb_sel_uline = default; + this.nurb_sel_vline = default; + this.lastsel_point = default; + this.handle_free = default; + this.handle_auto = default; + this.handle_vect = default; + this.handle_align = default; + this.handle_auto_clamped = default; + this.handle_sel_free = default; + this.handle_sel_auto = default; + this.handle_sel_vect = default; + this.handle_sel_align = default; + this.handle_sel_auto_clamped = default; + this.ds_channel = default; + this.ds_subchannel = default; + this.ds_ipoline = default; + this.keytype_keyframe = default; + this.keytype_extreme = default; + this.keytype_breakdown = default; + this.keytype_jitter = default; + this.keytype_movehold = default; + this.keytype_generated = default; + this.keytype_keyframe_select = default; + this.keytype_extreme_select = default; + this.keytype_breakdown_select = default; + this.keytype_jitter_select = default; + this.keytype_movehold_select = default; + this.keytype_generated_select = default; + this.keyborder = default; + this.keyborder_select = default; + this._pad4 = default; + this.console_output = default; + this.console_input = default; + this.console_info = default; + this.console_error = default; + this.console_cursor = default; + this.console_select = default; + this.vertex_size = default; + this.edge_width = default; + this.outline_width = default; + this.obcenter_dia = default; + this.facedot_size = default; + this.noodle_curving = default; + this.grid_levels = default; + this._pad5 = default; + this.dash_alpha = default; + this.syntaxl = default; + this.syntaxs = default; + this.syntaxb = default; + this.syntaxn = default; + this.syntaxv = default; + this.syntaxc = default; + this.syntaxd = default; + this.syntaxr = default; + this.line_numbers = default; + this.nodeclass_output = default; + this.nodeclass_filter = default; + this.nodeclass_vector = default; + this.nodeclass_texture = default; + this.nodeclass_shader = default; + this.nodeclass_script = default; + this.nodeclass_pattern = default; + this.nodeclass_layout = default; + this.nodeclass_geometry = default; + this.nodeclass_attribute = default; + this.node_zone_simulation = default; + this.node_zone_repeat = default; + this.node_zone_foreach_geometry_element = default; + this.simulated_frames = default; + this.movie = default; + this.movieclip = default; + this.mask = default; + this.image = default; + this.scene = default; + this.audio = default; + this.effect = default; + this.transition = default; + this.meta = default; + this.text_strip = default; + this.color_strip = default; + this.active_strip = default; + this.selected_strip = default; + this.keyframe_scale_fac = default; + this.editmesh_active = default; + this.handle_vertex = default; + this.handle_vertex_select = default; + this.handle_vertex_size = default; + this.clipping_border_3d = default; + this.marker_outline = default; + this.marker = default; + this.act_marker = default; + this.sel_marker = default; + this.dis_marker = default; + this.lock_marker = default; + this.bundle_solid = default; + this.path_before = default; + this.path_after = default; + this.path_keyframe_before = default; + this.path_keyframe_after = default; + this.camera_path = default; + this.camera_passepartout = default; + this._pad1 = default; + this.gp_vertex_size = default; + this.gp_vertex = default; + this.gp_vertex_select = default; + this.preview_back = default; + this.preview_stitch_face = default; + this.preview_stitch_edge = default; + this.preview_stitch_vert = default; + this.preview_stitch_stitchable = default; + this.preview_stitch_unstitchable = default; + this.preview_stitch_active = default; + this.uv_shadow = default; + this.match = default; + this.selected_highlight = default; + this.selected_object = default; + this.active_object = default; + this.edited_object = default; + this.row_alternate = default; + this.skin_root = default; + this.anim_active = default; + this.anim_non_active = default; + this.anim_preview_range = default; + this.nla_tweaking = default; + this.nla_tweakdupli = default; + this.nla_track = default; + this.nla_transition = default; + this.nla_transition_sel = default; + this.nla_meta = default; + this.nla_meta_sel = default; + this.nla_sound = default; + this.nla_sound_sel = default; + this.info_selected = default; + this.info_selected_text = default; + this.info_error = default; + this.info_error_text = default; + this.info_warning = default; + this.info_warning_text = default; + this.info_info = default; + this.info_info_text = default; + this.info_debug = default; + this.info_debug_text = default; + this.info_property = default; + this.info_property_text = default; + this.info_operator = default; + this.info_operator_text = default; + this.paint_curve_pivot = default; + this.paint_curve_handle = default; + this.metadatabg = default; + this.metadatatext = default; + } public ThemeSpace( char[] back, char[] back_grad, diff --git a/BlendFile/DNA/ThemeStripColor.cs b/BlendFile/DNA/ThemeStripColor.cs index 0d594bf..407186b 100644 --- a/BlendFile/DNA/ThemeStripColor.cs +++ b/BlendFile/DNA/ThemeStripColor.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct ThemeStripColor { [DNAFieldAttribute(0, "char", "color[4]", 1)] public char[] color = new System.Char[4]; + public ThemeStripColor() { + this.color = default; + } public ThemeStripColor(char[] color) { this.color = color; } diff --git a/BlendFile/DNA/ThemeUI.cs b/BlendFile/DNA/ThemeUI.cs index 5a7ca6b..527199f 100644 --- a/BlendFile/DNA/ThemeUI.cs +++ b/BlendFile/DNA/ThemeUI.cs @@ -125,6 +125,63 @@ namespace BlendFile.DNA { public float panel_roundness; [DNAFieldAttribute(54, "char", "_pad2[4]", 1)] public char[] _pad2 = new System.Char[4]; + public ThemeUI() { + this.wcol_regular = default; + this.wcol_tool = default; + this.wcol_toolbar_item = default; + this.wcol_text = default; + this.wcol_radio = default; + this.wcol_option = default; + this.wcol_toggle = default; + this.wcol_num = default; + this.wcol_numslider = default; + this.wcol_tab = default; + this.wcol_menu = default; + this.wcol_pulldown = default; + this.wcol_menu_back = default; + this.wcol_menu_item = default; + this.wcol_tooltip = default; + this.wcol_box = default; + this.wcol_scroll = default; + this.wcol_progress = default; + this.wcol_list_item = default; + this.wcol_pie_menu = default; + this.wcol_state = default; + this.widget_emboss = default; + this.menu_shadow_fac = default; + this.menu_shadow_width = default; + this.editor_border = default; + this.editor_outline = default; + this.editor_outline_active = default; + this.transparent_checker_primary = default; + this.transparent_checker_secondary = default; + this.transparent_checker_size = default; + this._pad1 = default; + this.icon_alpha = default; + this.icon_saturation = default; + this.widget_text_cursor = default; + this.xaxis = default; + this.yaxis = default; + this.zaxis = default; + this.gizmo_hi = default; + this.gizmo_primary = default; + this.gizmo_secondary = default; + this.gizmo_view_align = default; + this.gizmo_a = default; + this.gizmo_b = default; + this.icon_scene = default; + this.icon_collection = default; + this.icon_object = default; + this.icon_object_data = default; + this.icon_modifier = default; + this.icon_shading = default; + this.icon_folder = default; + this.icon_autokey = default; + this._pad3 = default; + this.icon_border_intensity = default; + this.panel_roundness = default; + this._pad2 = default; + } public ThemeUI( uiWidgetColors wcol_regular, uiWidgetColors wcol_tool, diff --git a/BlendFile/DNA/ThemeWireColor.cs b/BlendFile/DNA/ThemeWireColor.cs index 4de7f7c..158dbec 100644 --- a/BlendFile/DNA/ThemeWireColor.cs +++ b/BlendFile/DNA/ThemeWireColor.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(4, "char", "_pad0[2]", 1)] public char[] _pad0 = new System.Char[2]; + public ThemeWireColor() { + this.solid = default; + this.select = default; + this.active = default; + this.flag = default; + this._pad0 = default; + } public ThemeWireColor(char[] solid, char[] select, char[] active, short flag, char[] _pad0) { this.solid = solid; this.select = select; diff --git a/BlendFile/DNA/ThickGpencilModifierData.cs b/BlendFile/DNA/ThickGpencilModifierData.cs index c0ccba1..d490194 100644 --- a/BlendFile/DNA/ThickGpencilModifierData.cs +++ b/BlendFile/DNA/ThickGpencilModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(11, "CurveMapping", "*curve_thickness", 424)] public CurveMapping ptr_curve_thickness; + public ThickGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.thickness_fac = default; + this.thickness = default; + this.layer_pass = default; + this._pad = default; + this.ptr_curve_thickness = default; + } public ThickGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float thickness_fac, int thickness, int layer_pass, char[] _pad, CurveMapping ptr_curve_thickness) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/TimeGpencilModifierData.cs b/BlendFile/DNA/TimeGpencilModifierData.cs index 2d0f320..e0eb433 100644 --- a/BlendFile/DNA/TimeGpencilModifierData.cs +++ b/BlendFile/DNA/TimeGpencilModifierData.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public int segments_len; [DNAFieldAttribute(13, "int", "segment_active_index", 4)] public int segment_active_index; + public TimeGpencilModifierData() { + this.modifier = default; + this.ptr_material = default; + this.layername = default; + this.layer_pass = default; + this.flag = default; + this.offset = default; + this.frame_scale = default; + this.mode = default; + this.sfra = default; + this.efra = default; + this._pad = default; + this.ptr_segments = default; + this.segments_len = default; + this.segment_active_index = default; + } public TimeGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, int layer_pass, int flag, int offset, float frame_scale, int mode, int sfra, int efra, char[] _pad, TimeGpencilModifierSegment ptr_segments, int segments_len, int segment_active_index) { this.modifier = modifier; this.ptr_material = ptr_material; diff --git a/BlendFile/DNA/TimeGpencilModifierSegment.cs b/BlendFile/DNA/TimeGpencilModifierSegment.cs index a5282a7..aaa2c96 100644 --- a/BlendFile/DNA/TimeGpencilModifierSegment.cs +++ b/BlendFile/DNA/TimeGpencilModifierSegment.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int seg_mode; [DNAFieldAttribute(5, "int", "seg_repeat", 4)] public int seg_repeat; + public TimeGpencilModifierSegment() { + this.name = default; + this.ptr_gpmd = default; + this.seg_start = default; + this.seg_end = default; + this.seg_mode = default; + this.seg_repeat = default; + } public TimeGpencilModifierSegment(char[] name, TimeGpencilModifierData ptr_gpmd, int seg_start, int seg_end, int seg_mode, int seg_repeat) { this.name = name; this.ptr_gpmd = ptr_gpmd; diff --git a/BlendFile/DNA/TimeMarker.cs b/BlendFile/DNA/TimeMarker.cs index 0cc800f..604c75a 100644 --- a/BlendFile/DNA/TimeMarker.cs +++ b/BlendFile/DNA/TimeMarker.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public Object ptr_camera; [DNAFieldAttribute(6, "IDProperty", "*prop", 136)] public IDProperty ptr_prop; + public TimeMarker() { + this.ptr_next = default; + this.ptr_prev = default; + this.frame = default; + this.name = default; + this.flag = default; + this.ptr_camera = default; + this.ptr_prop = default; + } public TimeMarker(TimeMarker ptr_next, TimeMarker ptr_prev, int frame, char[] name, int flag, Object ptr_camera, IDProperty ptr_prop) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/TintGpencilModifierData.cs b/BlendFile/DNA/TintGpencilModifierData.cs index 5e6ad33..291f7aa 100644 --- a/BlendFile/DNA/TintGpencilModifierData.cs +++ b/BlendFile/DNA/TintGpencilModifierData.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public CurveMapping ptr_curve_intensity; [DNAFieldAttribute(15, "ColorBand", "*colorband", 776)] public ColorBand ptr_colorband; + public TintGpencilModifierData() { + this.modifier = default; + this.ptr_object = default; + this.ptr_material = default; + this.layername = default; + this.materialname = default; + this.vgname = default; + this.pass_index = default; + this.layer_pass = default; + this.flag = default; + this.mode = default; + this.factor = default; + this.radius = default; + this.rgb = default; + this.type = default; + this.ptr_curve_intensity = default; + this.ptr_colorband = default; + } public TintGpencilModifierData( GpencilModifierData modifier, Object ptr_object, diff --git a/BlendFile/DNA/ToolSettings.cs b/BlendFile/DNA/ToolSettings.cs index f983b89..52e1616 100644 --- a/BlendFile/DNA/ToolSettings.cs +++ b/BlendFile/DNA/ToolSettings.cs @@ -211,6 +211,106 @@ namespace BlendFile.DNA { public float snap_angle_increment_3d; [DNAFieldAttribute(97, "float", "snap_angle_increment_3d_precision", 4)] public float snap_angle_increment_3d_precision; + public ToolSettings() { + this.ptr_vpaint = default; + this.ptr_wpaint = default; + this.ptr_sculpt = default; + this.uvsculpt = default; + this.ptr_gp_paint = default; + this.ptr_gp_vertexpaint = default; + this.ptr_gp_sculptpaint = default; + this.ptr_gp_weightpaint = default; + this.ptr_curves_sculpt = default; + this.vgroup_weight = default; + this.doublimit = default; + this.automerge = default; + this.object_flag = default; + this.selectmode = default; + this.unwrapper = default; + this.uvcalc_flag = default; + this.uv_flag = default; + this.uv_selectmode = default; + this.uv_sticky = default; + this.uvcalc_margin = default; + this.uvcalc_iterations = default; + this.uvcalc_weight_factor = default; + this.uvcalc_weight_group = default; + this.autoik_chainlen = default; + this.gpencil_flags = default; + this.gpencil_v3d_align = default; + this.gpencil_v2d_align = default; + this.annotate_v3d_align = default; + this.annotate_thickness = default; + this.gpencil_surface_offset = default; + this.gpencil_selectmode_edit = default; + this.gpencil_selectmode_sculpt = default; + this._pad0 = default; + this.gp_sculpt = default; + this.gp_interpolate = default; + this.imapaint = default; + this.paint_mode = default; + this.particle = default; + this.proportional_size = default; + this.select_thresh = default; + this.keying_flag = default; + this.autokey_mode = default; + this.keyframe_type = default; + this.multires_subdiv_type = default; + this.edge_mode = default; + this.edge_mode_live_unwrap = default; + this.transform_pivot_point = default; + this.transform_flag = default; + this.snap_node_mode = default; + this.snap_mode = default; + this.snap_uv_mode = default; + this.snap_anim_mode = default; + this.snap_flag = default; + this.snap_flag_node = default; + this.snap_flag_seq = default; + this.snap_flag_anim = default; + this.snap_uv_flag = default; + this._pad = default; + this.snap_target = default; + this.snap_transform_mode_flag = default; + this.snap_face_nearest_steps = default; + this.proportional_edit = default; + this.prop_mode = default; + this.proportional_objects = default; + this.proportional_mask = default; + this.proportional_action = default; + this.proportional_fcurve = default; + this.lock_markers = default; + this.auto_normalize = default; + this.wpaint_lock_relative = default; + this.multipaint = default; + this.weightuser = default; + this.vgroupsubset = default; + this.gpencil_selectmode_vertex = default; + this.uv_sculpt_settings = default; + this.workspace_tool_type = default; + this._pad5 = default; + this.sculpt_paint_settings = default; + this.sculpt_paint_unified_size = default; + this.sculpt_paint_unified_unprojected_radius = default; + this.sculpt_paint_unified_alpha = default; + this.unified_paint_settings = default; + this.curve_paint_settings = default; + this.statvis = default; + this.normal_vector = default; + this._pad6 = default; + this.ptr_custom_bevel_profile_preset = default; + this.ptr_sequencer_tool_settings = default; + this.snap_mode_tools = default; + this.plane_axis = default; + this.plane_depth = default; + this.plane_orient = default; + this.use_plane_axis_auto = default; + this._pad7 = default; + this.snap_angle_increment_2d = default; + this.snap_angle_increment_2d_precision = default; + this.snap_angle_increment_3d = default; + this.snap_angle_increment_3d_precision = default; + } public ToolSettings( VPaint ptr_vpaint, VPaint ptr_wpaint, diff --git a/BlendFile/DNA/ToolSystemBrushBindings.cs b/BlendFile/DNA/ToolSystemBrushBindings.cs index a9cde20..3003a78 100644 --- a/BlendFile/DNA/ToolSystemBrushBindings.cs +++ b/BlendFile/DNA/ToolSystemBrushBindings.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public AssetWeakReference ptr_main_brush_asset_reference; [DNAFieldAttribute(1, "ListBase", "active_brush_per_brush_type", 16)] public ListBase active_brush_per_brush_type; + public ToolSystemBrushBindings() { + this.ptr_main_brush_asset_reference = default; + this.active_brush_per_brush_type = default; + } public ToolSystemBrushBindings(AssetWeakReference ptr_main_brush_asset_reference, ListBase active_brush_per_brush_type) { this.ptr_main_brush_asset_reference = ptr_main_brush_asset_reference; this.active_brush_per_brush_type = active_brush_per_brush_type; diff --git a/BlendFile/DNA/TransformOrientation.cs b/BlendFile/DNA/TransformOrientation.cs index c2c92eb..e19420e 100644 --- a/BlendFile/DNA/TransformOrientation.cs +++ b/BlendFile/DNA/TransformOrientation.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[,] mat = new System.Single[3,3]; [DNAFieldAttribute(4, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public TransformOrientation() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.mat = default; + this._pad = default; + } public TransformOrientation(TransformOrientation ptr_next, TransformOrientation ptr_prev, char[] name, float[,] mat, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/TransformOrientationSlot.cs b/BlendFile/DNA/TransformOrientationSlot.cs index 28f65cc..8daf48a 100644 --- a/BlendFile/DNA/TransformOrientationSlot.cs +++ b/BlendFile/DNA/TransformOrientationSlot.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(3, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public TransformOrientationSlot() { + this.type = default; + this.index_custom = default; + this.flag = default; + this._pad0 = default; + } public TransformOrientationSlot(int type, int index_custom, char flag, char[] _pad0) { this.type = type; this.index_custom = index_custom; diff --git a/BlendFile/DNA/TransformVars.cs b/BlendFile/DNA/TransformVars.cs index 8130ffe..5f6641e 100644 --- a/BlendFile/DNA/TransformVars.cs +++ b/BlendFile/DNA/TransformVars.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int interpolation; [DNAFieldAttribute(7, "int", "uniform_scale", 4)] public int uniform_scale; + public TransformVars() { + this.ScalexIni = default; + this.ScaleyIni = default; + this.xIni = default; + this.yIni = default; + this.rotIni = default; + this.percent = default; + this.interpolation = default; + this.uniform_scale = default; + } public TransformVars(float ScalexIni, float ScaleyIni, float xIni, float yIni, float rotIni, int percent, int interpolation, int uniform_scale) { this.ScalexIni = ScalexIni; this.ScaleyIni = ScaleyIni; diff --git a/BlendFile/DNA/TreeStore.cs b/BlendFile/DNA/TreeStore.cs index d1a66bf..989acb1 100644 --- a/BlendFile/DNA/TreeStore.cs +++ b/BlendFile/DNA/TreeStore.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int usedelem; [DNAFieldAttribute(2, "TreeStoreElem", "*data", 16)] public TreeStoreElem ptr_data; + public TreeStore() { + this.totelem = default; + this.usedelem = default; + this.ptr_data = default; + } public TreeStore(int totelem, int usedelem, TreeStoreElem ptr_data) { this.totelem = totelem; this.usedelem = usedelem; diff --git a/BlendFile/DNA/TreeStoreElem.cs b/BlendFile/DNA/TreeStoreElem.cs index 6083bbf..0b5d927 100644 --- a/BlendFile/DNA/TreeStoreElem.cs +++ b/BlendFile/DNA/TreeStoreElem.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short used; [DNAFieldAttribute(4, "ID", "*id", 208)] public ID ptr_id; + public TreeStoreElem() { + this.type = default; + this.nr = default; + this.flag = default; + this.used = default; + this.ptr_id = default; + } public TreeStoreElem(short type, short nr, short flag, short used, ID ptr_id) { this.type = type; this.nr = nr; diff --git a/BlendFile/DNA/TriangulateModifierData.cs b/BlendFile/DNA/TriangulateModifierData.cs index d6d341a..e37ebf0 100644 --- a/BlendFile/DNA/TriangulateModifierData.cs +++ b/BlendFile/DNA/TriangulateModifierData.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int ngon_method; [DNAFieldAttribute(4, "int", "min_vertices", 4)] public int min_vertices; + public TriangulateModifierData() { + this.modifier = default; + this.flag = default; + this.quad_method = default; + this.ngon_method = default; + this.min_vertices = default; + } public TriangulateModifierData(ModifierData modifier, int flag, int quad_method, int ngon_method, int min_vertices) { this.modifier = modifier; this.flag = flag; diff --git a/BlendFile/DNA/UVProjectModifierData.cs b/BlendFile/DNA/UVProjectModifierData.cs index e156783..6ea52f2 100644 --- a/BlendFile/DNA/UVProjectModifierData.cs +++ b/BlendFile/DNA/UVProjectModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] uvlayer_name = new System.Char[68]; [DNAFieldAttribute(9, "int", "uvlayer_tmp", 4)] public int uvlayer_tmp; + public UVProjectModifierData() { + this.modifier = default; + this.ptr_project = default; + this._pad2 = default; + this.num_projectors = default; + this.aspectx = default; + this.aspecty = default; + this.scalex = default; + this.scaley = default; + this.uvlayer_name = default; + this.uvlayer_tmp = default; + } public UVProjectModifierData(ModifierData modifier, Object[] ptr_project, char[] _pad2, int num_projectors, float aspectx, float aspecty, float scalex, float scaley, char[] uvlayer_name, int uvlayer_tmp) { this.modifier = modifier; this.ptr_project = ptr_project; diff --git a/BlendFile/DNA/UVWarpModifierData.cs b/BlendFile/DNA/UVWarpModifierData.cs index e2e61d5..6b5c282 100644 --- a/BlendFile/DNA/UVWarpModifierData.cs +++ b/BlendFile/DNA/UVWarpModifierData.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public char[] uvlayer_name = new System.Char[68]; [DNAFieldAttribute(14, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public UVWarpModifierData() { + this.modifier = default; + this.axis_u = default; + this.axis_v = default; + this.flag = default; + this.center = default; + this.offset = default; + this.scale = default; + this.rotation = default; + this.ptr_object_src = default; + this.bone_src = default; + this.ptr_object_dst = default; + this.bone_dst = default; + this.vgroup_name = default; + this.uvlayer_name = default; + this._pad = default; + } public UVWarpModifierData(ModifierData modifier, char axis_u, char axis_v, short flag, float[] center, float[] offset, float[] scale, float rotation, Object ptr_object_src, char[] bone_src, Object ptr_object_dst, char[] bone_dst, char[] vgroup_name, char[] uvlayer_name, char[] _pad) { this.modifier = modifier; this.axis_u = axis_u; diff --git a/BlendFile/DNA/UnifiedPaintSettings.cs b/BlendFile/DNA/UnifiedPaintSettings.cs index 2c93ec5..fa2fe7b 100644 --- a/BlendFile/DNA/UnifiedPaintSettings.cs +++ b/BlendFile/DNA/UnifiedPaintSettings.cs @@ -79,6 +79,40 @@ namespace BlendFile.DNA { public float[] mask_tex_mouse = new System.Single[2]; [DNAFieldAttribute(31, "ColorSpace", "*colorspace", 0)] public ColorSpace ptr_colorspace; + public UnifiedPaintSettings() { + this.size = default; + this.unprojected_radius = default; + this.alpha = default; + this.weight = default; + this.rgb = default; + this.secondary_rgb = default; + this.input_samples = default; + this.flag = default; + this._pad = default; + this.last_rake = default; + this.last_rake_angle = default; + this.last_stroke_valid = default; + this.average_stroke_accum = default; + this.average_stroke_counter = default; + this.brush_rotation = default; + this.brush_rotation_sec = default; + this.anchored_size = default; + this.overlap_factor = default; + this.draw_inverted = default; + this.stroke_active = default; + this.draw_anchored = default; + this.do_linear_conversion = default; + this.last_location = default; + this.last_hit = default; + this.anchored_initial_mouse = default; + this.pixel_radius = default; + this.initial_pixel_radius = default; + this.start_pixel_radius = default; + this.size_pressure_value = default; + this.tex_mouse = default; + this.mask_tex_mouse = default; + this.ptr_colorspace = default; + } public UnifiedPaintSettings( int size, float unprojected_radius, diff --git a/BlendFile/DNA/UnitSettings.cs b/BlendFile/DNA/UnitSettings.cs index 2f5e6a3..8d8beaf 100644 --- a/BlendFile/DNA/UnitSettings.cs +++ b/BlendFile/DNA/UnitSettings.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public char temperature_unit; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public UnitSettings() { + this.scale_length = default; + this.system = default; + this.system_rotation = default; + this.flag = default; + this.length_unit = default; + this.mass_unit = default; + this.time_unit = default; + this.temperature_unit = default; + this._pad = default; + } public UnitSettings(float scale_length, char system, char system_rotation, short flag, char length_unit, char mass_unit, char time_unit, char temperature_unit, char[] _pad) { this.scale_length = scale_length; this.system = system; diff --git a/BlendFile/DNA/UserDef.cs b/BlendFile/DNA/UserDef.cs index 7f26fde..06084ff 100644 --- a/BlendFile/DNA/UserDef.cs +++ b/BlendFile/DNA/UserDef.cs @@ -363,6 +363,182 @@ namespace BlendFile.DNA { public UserDef_Experimental experimental; [DNAFieldAttribute(173, "UserDef_Runtime", "runtime", 8)] public UserDef_Runtime runtime; + public UserDef() { + this.versionfile = default; + this.subversionfile = default; + this.flag = default; + this.dupflag = default; + this.pref_flag = default; + this.savetime = default; + this.mouse_emulate_3_button_modifier = default; + this.trackpad_scroll_direction = default; + this.tempdir = default; + this.fontdir = default; + this.renderdir = default; + this.render_cachedir = default; + this.textudir = default; + this.pythondir = default; + this.sounddir = default; + this.i18ndir = default; + this.image_editor = default; + this.text_editor = default; + this.text_editor_args = default; + this.anim_player = default; + this.anim_player_preset = default; + this.v2d_min_gridsize = default; + this.timecode_style = default; + this.versions = default; + this.dbl_click_time = default; + this._pad0 = default; + this.mini_axis_type = default; + this.uiflag = default; + this.uiflag2 = default; + this.gpu_flag = default; + this._pad8 = default; + this.app_flag = default; + this.viewzoom = default; + this.language = default; + this.mixbufsize = default; + this.audiodevice = default; + this.audiorate = default; + this.audioformat = default; + this.audiochannels = default; + this.ui_scale = default; + this.ui_line_width = default; + this.dpi = default; + this.scale_factor = default; + this.inv_scale_factor = default; + this.pixelsize = default; + this.virtual_pixel = default; + this.scrollback = default; + this.node_margin = default; + this.node_preview_res = default; + this.transopts = default; + this.menuthreshold1 = default; + this.menuthreshold2 = default; + this.app_template = default; + this.themes = default; + this.uifonts = default; + this.uistyles = default; + this.user_keymaps = default; + this.user_keyconfig_prefs = default; + this.addons = default; + this.autoexec_paths = default; + this.script_directories = default; + this.user_menus = default; + this.asset_libraries = default; + this.extension_repos = default; + this.asset_shelves_settings = default; + this.keyconfigstr = default; + this.active_asset_library = default; + this.active_extension_repo = default; + this.extension_flag = default; + this.network_timeout = default; + this.network_connection_limit = default; + this._pad14 = default; + this.undosteps = default; + this.undomemory = default; + this.gpu_viewport_quality = default; + this.gp_manhattendist = default; + this.gp_euclideandist = default; + this.gp_eraser = default; + this.gp_settings = default; + this._pad13 = default; + this.light_param = default; + this.light_ambient = default; + this.gizmo_flag = default; + this.gizmo_size = default; + this.gizmo_size_navigate_v3d = default; + this._pad3 = default; + this.edit_studio_light = default; + this.lookdev_sphere_size = default; + this.vbotimeout = default; + this.vbocollectrate = default; + this.textimeout = default; + this.texcollectrate = default; + this.memcachelimit = default; + this.prefetchframes = default; + this.pad_rot_angle = default; + this._pad12 = default; + this.rvisize = default; + this.rvibright = default; + this.recent_files = default; + this.smooth_viewtx = default; + this.glreslimit = default; + this.color_picker_type = default; + this.auto_smoothing_new = default; + this.ipo_new = default; + this.keyhandles_new = default; + this._pad11 = default; + this.view_frame_type = default; + this.view_frame_keyframes = default; + this.view_frame_seconds = default; + this.gpu_preferred_index = default; + this.gpu_preferred_vendor_id = default; + this.gpu_preferred_device_id = default; + this._pad16 = default; + this.gpu_backend = default; + this.max_shader_compilation_subprocesses = default; + this.playback_fps_samples = default; + this.widget_unit = default; + this.anisotropic_filter = default; + this.tablet_api = default; + this.pressure_threshold_max = default; + this.pressure_softness = default; + this.ndof_sensitivity = default; + this.ndof_orbit_sensitivity = default; + this.ndof_deadzone = default; + this.ndof_flag = default; + this.ogl_multisamples = default; + this.image_draw_method = default; + this.glalphaclip = default; + this.autokey_mode = default; + this.autokey_flag = default; + this.key_insert_channels = default; + this._pad15 = default; + this.animation_flag = default; + this.text_render = default; + this.navigation_mode = default; + this.view_rotate_sensitivity_turntable = default; + this.view_rotate_sensitivity_trackball = default; + this.coba_weight = default; + this.sculpt_paint_overlay_col = default; + this.gpencil_new_layer_col = default; + this.drag_threshold_mouse = default; + this.drag_threshold_tablet = default; + this.drag_threshold = default; + this.move_threshold = default; + this.font_path_ui = default; + this.font_path_ui_mono = default; + this.compute_device_type = default; + this.fcu_inactive_alpha = default; + this.pie_tap_timeout = default; + this.pie_initial_timeout = default; + this.pie_animation_timeout = default; + this.pie_menu_confirm = default; + this.pie_menu_radius = default; + this.pie_menu_threshold = default; + this.sequencer_editor_flag = default; + this.factor_display_type = default; + this.viewport_aa = default; + this.render_display_type = default; + this.filebrowser_display_type = default; + this.sequencer_disk_cache_dir = default; + this.sequencer_disk_cache_compression = default; + this.sequencer_disk_cache_size_limit = default; + this.sequencer_disk_cache_flag = default; + this.sequencer_proxy_setup = default; + this.collection_instance_empty_size = default; + this.text_flag = default; + this._pad10 = default; + this.file_preview_type = default; + this.statusbar_flag = default; + this.walk_navigation = default; + this.space_data = default; + this.file_space_data = default; + this.experimental = default; + this.runtime = default; + } public UserDef( int versionfile, int subversionfile, diff --git a/BlendFile/DNA/UserDef_Experimental.cs b/BlendFile/DNA/UserDef_Experimental.cs index 0817a8e..8fd9e72 100644 --- a/BlendFile/DNA/UserDef_Experimental.cs +++ b/BlendFile/DNA/UserDef_Experimental.cs @@ -61,6 +61,31 @@ namespace BlendFile.DNA { public char enable_new_cpu_compositor; [DNAFieldAttribute(22, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public UserDef_Experimental() { + this.use_undo_legacy = default; + this.no_override_auto_resync = default; + this.use_cycles_debug = default; + this.use_eevee_debug = default; + this.show_asset_debug_info = default; + this.no_asset_indexing = default; + this.use_viewport_debug = default; + this.use_all_linked_data_direct = default; + this.use_extensions_debug = default; + this.use_recompute_usercount_on_save_debug = default; + this.SANITIZE_AFTER_HERE = default; + this.use_new_curves_tools = default; + this.use_new_point_cloud_type = default; + this.use_sculpt_tools_tilt = default; + this.use_extended_asset_browser = default; + this.use_sculpt_texture_paint = default; + this.enable_overlay_next = default; + this.use_new_volume_nodes = default; + this.use_new_file_import_nodes = default; + this.use_shader_node_previews = default; + this.use_animation_baklava = default; + this.enable_new_cpu_compositor = default; + this._pad = default; + } public UserDef_Experimental( char use_undo_legacy, char no_override_auto_resync, diff --git a/BlendFile/DNA/UserDef_FileSpaceData.cs b/BlendFile/DNA/UserDef_FileSpaceData.cs index dea0533..2196b87 100644 --- a/BlendFile/DNA/UserDef_FileSpaceData.cs +++ b/BlendFile/DNA/UserDef_FileSpaceData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public int temp_win_sizex; [DNAFieldAttribute(8, "int", "temp_win_sizey", 4)] public int temp_win_sizey; + public UserDef_FileSpaceData() { + this.display_type = default; + this.thumbnail_size = default; + this.sort_type = default; + this.details_flags = default; + this.flag = default; + this._pad0 = default; + this.filter_id = default; + this.temp_win_sizex = default; + this.temp_win_sizey = default; + } public UserDef_FileSpaceData(int display_type, int thumbnail_size, int sort_type, int details_flags, int flag, int _pad0, ulong filter_id, int temp_win_sizex, int temp_win_sizey) { this.display_type = display_type; this.thumbnail_size = thumbnail_size; diff --git a/BlendFile/DNA/UserDef_Runtime.cs b/BlendFile/DNA/UserDef_Runtime.cs index ab6d3c5..8fc2537 100644 --- a/BlendFile/DNA/UserDef_Runtime.cs +++ b/BlendFile/DNA/UserDef_Runtime.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char is_dirty; [DNAFieldAttribute(1, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public UserDef_Runtime() { + this.is_dirty = default; + this._pad0 = default; + } public UserDef_Runtime(char is_dirty, char[] _pad0) { this.is_dirty = is_dirty; this._pad0 = _pad0; diff --git a/BlendFile/DNA/UserDef_SpaceData.cs b/BlendFile/DNA/UserDef_SpaceData.cs index 07e450d..71479a2 100644 --- a/BlendFile/DNA/UserDef_SpaceData.cs +++ b/BlendFile/DNA/UserDef_SpaceData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(2, "char", "_pad0[6]", 1)] public char[] _pad0 = new System.Char[6]; + public UserDef_SpaceData() { + this.section_active = default; + this.flag = default; + this._pad0 = default; + } public UserDef_SpaceData(char section_active, char flag, char[] _pad0) { this.section_active = section_active; this.flag = flag; diff --git a/BlendFile/DNA/UvSculpt.cs b/BlendFile/DNA/UvSculpt.cs index e1f09d8..3ec7411 100644 --- a/BlendFile/DNA/UvSculpt.cs +++ b/BlendFile/DNA/UvSculpt.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public sbyte curve_preset; [DNAFieldAttribute(4, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public UvSculpt() { + this.ptr_strength_curve = default; + this.size = default; + this.strength = default; + this.curve_preset = default; + this._pad = default; + } public UvSculpt(CurveMapping ptr_strength_curve, int size, float strength, sbyte curve_preset, char[] _pad) { this.ptr_strength_curve = ptr_strength_curve; this.size = size; diff --git a/BlendFile/DNA/VFont.cs b/BlendFile/DNA/VFont.cs index fa2f05c..d378cc1 100644 --- a/BlendFile/DNA/VFont.cs +++ b/BlendFile/DNA/VFont.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public PackedFile ptr_packedfile; [DNAFieldAttribute(4, "PackedFile", "*temp_pf", 24)] public PackedFile ptr_temp_pf; + public VFont() { + this.id = default; + this.name = default; + this.ptr_data = default; + this.ptr_packedfile = default; + this.ptr_temp_pf = default; + } public VFont(ID id, char[] name, VFontData ptr_data, PackedFile ptr_packedfile, PackedFile ptr_temp_pf) { this.id = id; this.name = name; diff --git a/BlendFile/DNA/VPaint.cs b/BlendFile/DNA/VPaint.cs index 6d0218f..ba89868 100644 --- a/BlendFile/DNA/VPaint.cs +++ b/BlendFile/DNA/VPaint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[3]; [DNAFieldAttribute(3, "int", "radial_symm[3]", 4)] public int[] radial_symm = new System.Int32[3]; + public VPaint() { + this.paint = default; + this.flag = default; + this._pad = default; + this.radial_symm = default; + } public VPaint(Paint paint, char flag, char[] _pad, int[] radial_symm) { this.paint = paint; this.flag = flag; diff --git a/BlendFile/DNA/View2D.cs b/BlendFile/DNA/View2D.cs index 06ecc1f..c33b7a1 100644 --- a/BlendFile/DNA/View2D.cs +++ b/BlendFile/DNA/View2D.cs @@ -69,6 +69,35 @@ namespace BlendFile.DNA { public SmoothView2DStore ptr_sms; [DNAFieldAttribute(26, "wmTimer", "*smooth_timer", 0)] public wmTimer ptr_smooth_timer; + public View2D() { + this.tot = default; + this.cur = default; + this.vert = default; + this.hor = default; + this.mask = default; + this.min = default; + this.max = default; + this.minzoom = default; + this.maxzoom = default; + this.scroll = default; + this.scroll_ui = default; + this.keeptot = default; + this.keepzoom = default; + this.keepofs = default; + this.flag = default; + this.align = default; + this.winx = default; + this.winy = default; + this.oldwinx = default; + this.oldwiny = default; + this.around = default; + this.alpha_vert = default; + this.alpha_hor = default; + this._pad = default; + this.page_size_y = default; + this.ptr_sms = default; + this.ptr_smooth_timer = default; + } public View2D( rctf tot, rctf cur, diff --git a/BlendFile/DNA/View3D.cs b/BlendFile/DNA/View3D.cs index 053b75e..9cc392b 100644 --- a/BlendFile/DNA/View3D.cs +++ b/BlendFile/DNA/View3D.cs @@ -135,6 +135,68 @@ namespace BlendFile.DNA { public ViewerPath viewer_path; [DNAFieldAttribute(59, "View3D_Runtime", "runtime", 32)] public View3D_Runtime runtime; + public View3D() { + this.ptr_next = default; + this.ptr_prev = default; + this.regionbase = default; + this.spacetype = default; + this.link_flag = default; + this._pad0 = default; + this.viewquat = default; + this.dist = default; + this.bundle_size = default; + this.bundle_drawtype = default; + this.drawtype = default; + this._pad3 = default; + this.multiview_eye = default; + this.object_type_exclude_viewport = default; + this.object_type_exclude_select = default; + this.persp = default; + this.view = default; + this.ptr_camera = default; + this.ptr_ob_centre = default; + this.render_border = default; + this.ptr_localvd = default; + this.ob_centre_bone = default; + this.local_view_uuid = default; + this._pad6 = default; + this.layact = default; + this.local_collections_uuid = default; + this._pad7 = default; + this.debug_flag = default; + this.ob_centre_cursor = default; + this.scenelock = default; + this.gp_flag = default; + this.flag = default; + this.flag2 = default; + this.lens = default; + this.grid = default; + this.near = default; + this.far = default; + this.ofs = default; + this._pad = default; + this.gizmo_flag = default; + this.gizmo_show_object = default; + this.gizmo_show_armature = default; + this.gizmo_show_empty = default; + this.gizmo_show_light = default; + this.gizmo_show_camera = default; + this.gridflag = default; + this.gridlines = default; + this.gridsubdiv = default; + this.vertex_opacity = default; + this.ptr_gpd = default; + this.stereo3d_flag = default; + this.stereo3d_camera = default; + this._pad4 = default; + this.stereo3d_convergence_factor = default; + this.stereo3d_volume_alpha = default; + this.stereo3d_convergence_alpha = default; + this.shading = default; + this.overlay = default; + this.viewer_path = default; + this.runtime = default; + } public View3D( SpaceLink ptr_next, SpaceLink ptr_prev, diff --git a/BlendFile/DNA/View3DCursor.cs b/BlendFile/DNA/View3DCursor.cs index 3750577..807ea7f 100644 --- a/BlendFile/DNA/View3DCursor.cs +++ b/BlendFile/DNA/View3DCursor.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short rotation_mode; [DNAFieldAttribute(6, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public View3DCursor() { + this.location = default; + this.rotation_quaternion = default; + this.rotation_euler = default; + this.rotation_axis = default; + this.rotation_angle = default; + this.rotation_mode = default; + this._pad = default; + } public View3DCursor(float[] location, float[] rotation_quaternion, float[] rotation_euler, float[] rotation_axis, float rotation_angle, short rotation_mode, char[] _pad) { this.location = location; this.rotation_quaternion = rotation_quaternion; diff --git a/BlendFile/DNA/View3DOverlay.cs b/BlendFile/DNA/View3DOverlay.cs index 8e8649a..25104e2 100644 --- a/BlendFile/DNA/View3DOverlay.cs +++ b/BlendFile/DNA/View3DOverlay.cs @@ -71,6 +71,36 @@ namespace BlendFile.DNA { public int handle_display; [DNAFieldAttribute(27, "float", "sculpt_curves_cage_opacity", 4)] public float sculpt_curves_cage_opacity; + public View3DOverlay() { + this.flag = default; + this.edit_flag = default; + this.normals_length = default; + this.normals_constant_screen_size = default; + this.paint_flag = default; + this.wpaint_flag = default; + this.texture_paint_mode_opacity = default; + this.vertex_paint_mode_opacity = default; + this.weight_paint_mode_opacity = default; + this.sculpt_mode_mask_opacity = default; + this.sculpt_mode_face_sets_opacity = default; + this.viewer_attribute_opacity = default; + this.xray_alpha_bone = default; + this.bone_wire_alpha = default; + this.fade_alpha = default; + this.wireframe_threshold = default; + this.wireframe_opacity = default; + this.retopology_offset = default; + this.gpencil_paper_opacity = default; + this.gpencil_grid_opacity = default; + this.gpencil_fade_layer = default; + this.gpencil_grid_color = default; + this.gpencil_grid_scale = default; + this.gpencil_grid_offset = default; + this.gpencil_grid_subdivisions = default; + this.gpencil_vertex_paint_opacity = default; + this.handle_display = default; + this.sculpt_curves_cage_opacity = default; + } public View3DOverlay( int flag, int edit_flag, diff --git a/BlendFile/DNA/View3DShading.cs b/BlendFile/DNA/View3DShading.cs index b8aaafb..2ecfec4 100644 --- a/BlendFile/DNA/View3DShading.cs +++ b/BlendFile/DNA/View3DShading.cs @@ -79,6 +79,40 @@ namespace BlendFile.DNA { public IDProperty ptr_prop; [DNAFieldAttribute(31, "void", "*_pad2", 0)] public object ptr__pad2; + public View3DShading() { + this.type = default; + this.prev_type = default; + this.prev_type_wire = default; + this.color_type = default; + this.flag = default; + this.light = default; + this.background_type = default; + this.cavity_type = default; + this.wire_color_type = default; + this.use_compositor = default; + this._pad = default; + this.studio_light = default; + this.lookdev_light = default; + this.matcap = default; + this.shadow_intensity = default; + this.single_color = default; + this.studiolight_rot_z = default; + this.studiolight_background = default; + this.studiolight_intensity = default; + this.studiolight_blur = default; + this.object_outline_color = default; + this.xray_alpha = default; + this.xray_alpha_wire = default; + this.cavity_valley_factor = default; + this.cavity_ridge_factor = default; + this.background_color = default; + this.curvature_ridge_factor = default; + this.curvature_valley_factor = default; + this.render_pass = default; + this.aov_name = default; + this.ptr_prop = default; + this.ptr__pad2 = default; + } public View3DShading( char type, char prev_type, diff --git a/BlendFile/DNA/View3D_Runtime.cs b/BlendFile/DNA/View3D_Runtime.cs index fa6653e..fa77a09 100644 --- a/BlendFile/DNA/View3D_Runtime.cs +++ b/BlendFile/DNA/View3D_Runtime.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "SceneStats", "*local_stats", 0)] public SceneStats ptr_local_stats; + public View3D_Runtime() { + this.ptr_properties_storage = default; + this.flag = default; + this._pad1 = default; + this.ptr_local_stats = default; + } public View3D_Runtime(object ptr_properties_storage, int flag, char[] _pad1, SceneStats ptr_local_stats) { this.ptr_properties_storage = ptr_properties_storage; this.flag = flag; diff --git a/BlendFile/DNA/ViewLayer.cs b/BlendFile/DNA/ViewLayer.cs index c56245e..0930a54 100644 --- a/BlendFile/DNA/ViewLayer.cs +++ b/BlendFile/DNA/ViewLayer.cs @@ -73,6 +73,37 @@ namespace BlendFile.DNA { public Base ptr_ptr_object_bases_array; [DNAFieldAttribute(28, "GHash", "*object_bases_hash", 0)] public GHash ptr_object_bases_hash; + public ViewLayer() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flag = default; + this._pad = default; + this.object_bases = default; + this.ptr_stats = default; + this.ptr_basact = default; + this.layer_collections = default; + this.ptr_active_collection = default; + this.layflag = default; + this.passflag = default; + this.pass_alpha_threshold = default; + this.cryptomatte_flag = default; + this.cryptomatte_levels = default; + this._pad1 = default; + this.samples = default; + this.ptr_mat_override = default; + this.ptr_world_override = default; + this.ptr_id_properties = default; + this.freestyle_config = default; + this.eevee = default; + this.aovs = default; + this.ptr_active_aov = default; + this.lightgroups = default; + this.ptr_active_lightgroup = default; + this.drawdata = default; + this.ptr_ptr_object_bases_array = default; + this.ptr_object_bases_hash = default; + } public ViewLayer( ViewLayer ptr_next, ViewLayer ptr_prev, diff --git a/BlendFile/DNA/ViewLayerAOV.cs b/BlendFile/DNA/ViewLayerAOV.cs index 45506f6..b72d571 100644 --- a/BlendFile/DNA/ViewLayerAOV.cs +++ b/BlendFile/DNA/ViewLayerAOV.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", "type", 4)] public int type; + public ViewLayerAOV() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flag = default; + this.type = default; + } public ViewLayerAOV(ViewLayerAOV ptr_next, ViewLayerAOV ptr_prev, char[] name, int flag, int type) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ViewLayerEEVEE.cs b/BlendFile/DNA/ViewLayerEEVEE.cs index 30c6e02..5579671 100644 --- a/BlendFile/DNA/ViewLayerEEVEE.cs +++ b/BlendFile/DNA/ViewLayerEEVEE.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int render_passes; [DNAFieldAttribute(1, "int", "_pad[1]", 4)] public int[] _pad = new System.Int32[1]; + public ViewLayerEEVEE() { + this.render_passes = default; + this._pad = default; + } public ViewLayerEEVEE(int render_passes, int[] _pad) { this.render_passes = render_passes; this._pad = _pad; diff --git a/BlendFile/DNA/ViewLayerEngineData.cs b/BlendFile/DNA/ViewLayerEngineData.cs index 17bebf3..7119c9d 100644 --- a/BlendFile/DNA/ViewLayerEngineData.cs +++ b/BlendFile/DNA/ViewLayerEngineData.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public DrawEngineType ptr_engine_type; [DNAFieldAttribute(3, "void", "*storage", 0)] public object ptr_storage; + public ViewLayerEngineData() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_engine_type = default; + this.ptr_storage = default; + } public ViewLayerEngineData(ViewLayerEngineData ptr_next, ViewLayerEngineData ptr_prev, DrawEngineType ptr_engine_type, object ptr_storage) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ViewLayerLightgroup.cs b/BlendFile/DNA/ViewLayerLightgroup.cs index 69c08f6..9377da4 100644 --- a/BlendFile/DNA/ViewLayerLightgroup.cs +++ b/BlendFile/DNA/ViewLayerLightgroup.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public ViewLayerLightgroup ptr_prev; [DNAFieldAttribute(2, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public ViewLayerLightgroup() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + } public ViewLayerLightgroup(ViewLayerLightgroup ptr_next, ViewLayerLightgroup ptr_prev, char[] name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/ViewerNodeViewerPathElem.cs b/BlendFile/DNA/ViewerNodeViewerPathElem.cs index faaf33c..5e23f0a 100644 --- a/BlendFile/DNA/ViewerNodeViewerPathElem.cs +++ b/BlendFile/DNA/ViewerNodeViewerPathElem.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int node_id; [DNAFieldAttribute(2, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; + public ViewerNodeViewerPathElem() { + this.@base = default; + this.node_id = default; + this._pad1 = default; + } public ViewerNodeViewerPathElem(ViewerPathElem @base, int node_id, char[] _pad1) { this.@base = @base; this.node_id = node_id; diff --git a/BlendFile/DNA/ViewerPath.cs b/BlendFile/DNA/ViewerPath.cs index 77bb5f8..2a7deb9 100644 --- a/BlendFile/DNA/ViewerPath.cs +++ b/BlendFile/DNA/ViewerPath.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct ViewerPath { [DNAFieldAttribute(0, "ListBase", "path", 16)] public ListBase path; + public ViewerPath() { + this.path = default; + } public ViewerPath(ListBase path) { this.path = path; } diff --git a/BlendFile/DNA/ViewerPathElem.cs b/BlendFile/DNA/ViewerPathElem.cs index 4bcd254..c309f9f 100644 --- a/BlendFile/DNA/ViewerPathElem.cs +++ b/BlendFile/DNA/ViewerPathElem.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "char", "*ui_name", 1)] public char ptr_ui_name; + public ViewerPathElem() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this._pad = default; + this.ptr_ui_name = default; + } public ViewerPathElem(ViewerPathElem ptr_next, ViewerPathElem ptr_prev, int type, char[] _pad, char ptr_ui_name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/Volume.cs b/BlendFile/DNA/Volume.cs index f7cf60f..520a5ca 100644 --- a/BlendFile/DNA/Volume.cs +++ b/BlendFile/DNA/Volume.cs @@ -61,6 +61,31 @@ namespace BlendFile.DNA { public object ptr_batch_cache; [DNAFieldAttribute(22, "VolumeRuntimeHandle", "*runtime", 0)] public VolumeRuntimeHandle ptr_runtime; + public Volume() { + this.id = default; + this.ptr_adt = default; + this.filepath = default; + this.ptr_packedfile = default; + this.is_sequence = default; + this.sequence_mode = default; + this._pad1 = default; + this.frame_start = default; + this.frame_duration = default; + this.frame_offset = default; + this.flag = default; + this.active_grid = default; + this.ptr_ptr_mat = default; + this.totcol = default; + this._pad2 = default; + this.render = default; + this.display = default; + this.velocity_grid = default; + this._pad3 = default; + this.velocity_unit = default; + this.velocity_scale = default; + this.ptr_batch_cache = default; + this.ptr_runtime = default; + } public Volume( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/VolumeDisplaceModifierData.cs b/BlendFile/DNA/VolumeDisplaceModifierData.cs index d9cd282..aa42ac9 100644 --- a/BlendFile/DNA/VolumeDisplaceModifierData.cs +++ b/BlendFile/DNA/VolumeDisplaceModifierData.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public float[] texture_mid_level = new System.Single[3]; [DNAFieldAttribute(6, "float", "texture_sample_radius", 4)] public float texture_sample_radius; + public VolumeDisplaceModifierData() { + this.modifier = default; + this.ptr_texture = default; + this.ptr_texture_map_object = default; + this.texture_map_mode = default; + this.strength = default; + this.texture_mid_level = default; + this.texture_sample_radius = default; + } public VolumeDisplaceModifierData(ModifierData modifier, Tex ptr_texture, Object ptr_texture_map_object, int texture_map_mode, float strength, float[] texture_mid_level, float texture_sample_radius) { this.modifier = modifier; this.ptr_texture = ptr_texture; diff --git a/BlendFile/DNA/VolumeDisplay.cs b/BlendFile/DNA/VolumeDisplay.cs index 3821240..9715fdf 100644 --- a/BlendFile/DNA/VolumeDisplay.cs +++ b/BlendFile/DNA/VolumeDisplay.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public float slice_depth; [DNAFieldAttribute(7, "int", "_pad[1]", 4)] public int[] _pad = new System.Int32[1]; + public VolumeDisplay() { + this.density = default; + this.wireframe_type = default; + this.wireframe_detail = default; + this.interpolation_method = default; + this.axis_slice_method = default; + this.slice_axis = default; + this.slice_depth = default; + this._pad = default; + } public VolumeDisplay(float density, int wireframe_type, int wireframe_detail, int interpolation_method, int axis_slice_method, int slice_axis, float slice_depth, int[] _pad) { this.density = density; this.wireframe_type = wireframe_type; diff --git a/BlendFile/DNA/VolumeRender.cs b/BlendFile/DNA/VolumeRender.cs index 48be1de..b02bc32 100644 --- a/BlendFile/DNA/VolumeRender.cs +++ b/BlendFile/DNA/VolumeRender.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float step_size; [DNAFieldAttribute(3, "float", "clipping", 4)] public float clipping; + public VolumeRender() { + this.precision = default; + this.space = default; + this.step_size = default; + this.clipping = default; + } public VolumeRender(int precision, int space, float step_size, float clipping) { this.precision = precision; this.space = space; diff --git a/BlendFile/DNA/VolumeToMeshModifierData.cs b/BlendFile/DNA/VolumeToMeshModifierData.cs index 46f4260..f2f4ac3 100644 --- a/BlendFile/DNA/VolumeToMeshModifierData.cs +++ b/BlendFile/DNA/VolumeToMeshModifierData.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] grid_name = new System.Char[64]; [DNAFieldAttribute(9, "void", "*_pad1", 0)] public object ptr__pad1; + public VolumeToMeshModifierData() { + this.modifier = default; + this.ptr_object = default; + this.threshold = default; + this.adaptivity = default; + this.flag = default; + this.resolution_mode = default; + this.voxel_size = default; + this.voxel_amount = default; + this.grid_name = default; + this.ptr__pad1 = default; + } public VolumeToMeshModifierData(ModifierData modifier, Object ptr_object, float threshold, float adaptivity, int flag, int resolution_mode, float voxel_size, int voxel_amount, char[] grid_name, object ptr__pad1) { this.modifier = modifier; this.ptr_object = ptr_object; diff --git a/BlendFile/DNA/WalkNavigation.cs b/BlendFile/DNA/WalkNavigation.cs index e35b0b4..c137ea9 100644 --- a/BlendFile/DNA/WalkNavigation.cs +++ b/BlendFile/DNA/WalkNavigation.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(7, "char", "_pad0[6]", 1)] public char[] _pad0 = new System.Char[6]; + public WalkNavigation() { + this.mouse_speed = default; + this.walk_speed = default; + this.walk_speed_factor = default; + this.view_height = default; + this.jump_height = default; + this.teleport_time = default; + this.flag = default; + this._pad0 = default; + } public WalkNavigation(float mouse_speed, float walk_speed, float walk_speed_factor, float view_height, float jump_height, float teleport_time, short flag, char[] _pad0) { this.mouse_speed = mouse_speed; this.walk_speed = walk_speed; diff --git a/BlendFile/DNA/WarpModifierData.cs b/BlendFile/DNA/WarpModifierData.cs index ce603e3..20a5ae0 100644 --- a/BlendFile/DNA/WarpModifierData.cs +++ b/BlendFile/DNA/WarpModifierData.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(19, "void", "*_pad3", 0)] public object ptr__pad3; + public WarpModifierData() { + this.modifier = default; + this.ptr_texture = default; + this.ptr_map_object = default; + this.map_bone = default; + this.uvlayer_name = default; + this._pad1 = default; + this.uvlayer_tmp = default; + this.texmapping = default; + this.ptr_object_from = default; + this.ptr_object_to = default; + this.bone_from = default; + this.bone_to = default; + this.ptr_curfalloff = default; + this.defgrp_name = default; + this.strength = default; + this.falloff_radius = default; + this.flag = default; + this.falloff_type = default; + this._pad2 = default; + this.ptr__pad3 = default; + } public WarpModifierData( ModifierData modifier, Tex ptr_texture, diff --git a/BlendFile/DNA/WaveEff.cs b/BlendFile/DNA/WaveEff.cs index b437ad5..3a86abf 100644 --- a/BlendFile/DNA/WaveEff.cs +++ b/BlendFile/DNA/WaveEff.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public float timeoffs; [DNAFieldAttribute(15, "float", "lifetime", 4)] public float lifetime; + public WaveEff() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.flag = default; + this.buttype = default; + this.stype = default; + this.startx = default; + this.starty = default; + this.height = default; + this.width = default; + this.narrow = default; + this.speed = default; + this.minfac = default; + this.damp = default; + this.timeoffs = default; + this.lifetime = default; + } public WaveEff( WaveEff ptr_next, WaveEff ptr_prev, diff --git a/BlendFile/DNA/WaveModifierData.cs b/BlendFile/DNA/WaveModifierData.cs index 17b2bb0..091f7bc 100644 --- a/BlendFile/DNA/WaveModifierData.cs +++ b/BlendFile/DNA/WaveModifierData.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(23, "void", "*_pad4", 0)] public object ptr__pad4; + public WaveModifierData() { + this.modifier = default; + this.ptr_texture = default; + this.ptr_map_object = default; + this.map_bone = default; + this.uvlayer_name = default; + this._pad1 = default; + this.uvlayer_tmp = default; + this.texmapping = default; + this.ptr_objectcenter = default; + this.defgrp_name = default; + this.flag = default; + this._pad2 = default; + this.startx = default; + this.starty = default; + this.height = default; + this.width = default; + this.narrow = default; + this.speed = default; + this.damp = default; + this.falloff = default; + this.timeoffs = default; + this.lifetime = default; + this._pad3 = default; + this.ptr__pad4 = default; + } public WaveModifierData( ModifierData modifier, Tex ptr_texture, diff --git a/BlendFile/DNA/WaveShaderFxData.cs b/BlendFile/DNA/WaveShaderFxData.cs index 0160715..acb8130 100644 --- a/BlendFile/DNA/WaveShaderFxData.cs +++ b/BlendFile/DNA/WaveShaderFxData.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", 40)] public ShaderFxData_Runtime runtime; + public WaveShaderFxData() { + this.shaderfx = default; + this.amplitude = default; + this.period = default; + this.phase = default; + this.orientation = default; + this.flag = default; + this._pad = default; + this.runtime = default; + } public WaveShaderFxData(ShaderFxData shaderfx, float amplitude, float period, float phase, int orientation, int flag, char[] _pad, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; this.amplitude = amplitude; diff --git a/BlendFile/DNA/WeightAngleGpencilModifierData.cs b/BlendFile/DNA/WeightAngleGpencilModifierData.cs index 74eda42..60fc381 100644 --- a/BlendFile/DNA/WeightAngleGpencilModifierData.cs +++ b/BlendFile/DNA/WeightAngleGpencilModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public short space; [DNAFieldAttribute(11, "float", "angle", 4)] public float angle; + public WeightAngleGpencilModifierData() { + this.modifier = default; + this.target_vgname = default; + this.ptr_material = default; + this.layername = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.min_weight = default; + this.layer_pass = default; + this.axis = default; + this.space = default; + this.angle = default; + } public WeightAngleGpencilModifierData(GpencilModifierData modifier, char[] target_vgname, Material ptr_material, char[] layername, char[] vgname, int pass_index, int flag, float min_weight, int layer_pass, short axis, short space, float angle) { this.modifier = modifier; this.target_vgname = target_vgname; diff --git a/BlendFile/DNA/WeightProxGpencilModifierData.cs b/BlendFile/DNA/WeightProxGpencilModifierData.cs index 537865e..263dc76 100644 --- a/BlendFile/DNA/WeightProxGpencilModifierData.cs +++ b/BlendFile/DNA/WeightProxGpencilModifierData.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float dist_end; [DNAFieldAttribute(11, "Object", "*object", 1160)] public Object ptr_object; + public WeightProxGpencilModifierData() { + this.modifier = default; + this.target_vgname = default; + this.ptr_material = default; + this.layername = default; + this.vgname = default; + this.pass_index = default; + this.flag = default; + this.min_weight = default; + this.layer_pass = default; + this.dist_start = default; + this.dist_end = default; + this.ptr_object = default; + } public WeightProxGpencilModifierData(GpencilModifierData modifier, char[] target_vgname, Material ptr_material, char[] layername, char[] vgname, int pass_index, int flag, float min_weight, int layer_pass, float dist_start, float dist_end, Object ptr_object) { this.modifier = modifier; this.target_vgname = target_vgname; diff --git a/BlendFile/DNA/WeightVGEditModifierData.cs b/BlendFile/DNA/WeightVGEditModifierData.cs index 0d4002f..db70fd0 100644 --- a/BlendFile/DNA/WeightVGEditModifierData.cs +++ b/BlendFile/DNA/WeightVGEditModifierData.cs @@ -49,6 +49,25 @@ namespace BlendFile.DNA { public char[] mask_tex_uvlayer_name = new System.Char[68]; [DNAFieldAttribute(16, "void", "*_pad1", 0)] public object ptr__pad1; + public WeightVGEditModifierData() { + this.modifier = default; + this.defgrp_name = default; + this.edit_flags = default; + this.falloff_type = default; + this.default_weight = default; + this.ptr_cmap_curve = default; + this.add_threshold = default; + this.rem_threshold = default; + this.mask_constant = default; + this.mask_defgrp_name = default; + this.mask_tex_use_channel = default; + this.ptr_mask_texture = default; + this.ptr_mask_tex_map_obj = default; + this.mask_tex_map_bone = default; + this.mask_tex_mapping = default; + this.mask_tex_uvlayer_name = default; + this.ptr__pad1 = default; + } public WeightVGEditModifierData( ModifierData modifier, char[] defgrp_name, diff --git a/BlendFile/DNA/WeightVGMixModifierData.cs b/BlendFile/DNA/WeightVGMixModifierData.cs index d140921..1f79209 100644 --- a/BlendFile/DNA/WeightVGMixModifierData.cs +++ b/BlendFile/DNA/WeightVGMixModifierData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(18, "char", "_pad2[3]", 1)] public char[] _pad2 = new System.Char[3]; + public WeightVGMixModifierData() { + this.modifier = default; + this.defgrp_name_a = default; + this.defgrp_name_b = default; + this.default_weight_a = default; + this.default_weight_b = default; + this.mix_mode = default; + this.mix_set = default; + this._pad0 = default; + this.mask_constant = default; + this.mask_defgrp_name = default; + this.mask_tex_use_channel = default; + this.ptr_mask_texture = default; + this.ptr_mask_tex_map_obj = default; + this.mask_tex_map_bone = default; + this.mask_tex_mapping = default; + this.mask_tex_uvlayer_name = default; + this._pad1 = default; + this.flag = default; + this._pad2 = default; + } public WeightVGMixModifierData( ModifierData modifier, char[] defgrp_name_a, diff --git a/BlendFile/DNA/WeightVGProximityModifierData.cs b/BlendFile/DNA/WeightVGProximityModifierData.cs index 97f983c..e4de936 100644 --- a/BlendFile/DNA/WeightVGProximityModifierData.cs +++ b/BlendFile/DNA/WeightVGProximityModifierData.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public short falloff_type; [DNAFieldAttribute(18, "char", "_pad0[2]", 1)] public char[] _pad0 = new System.Char[2]; + public WeightVGProximityModifierData() { + this.modifier = default; + this.defgrp_name = default; + this.ptr_cmap_curve = default; + this.proximity_mode = default; + this.proximity_flags = default; + this.ptr_proximity_ob_target = default; + this.mask_constant = default; + this.mask_defgrp_name = default; + this.mask_tex_use_channel = default; + this.ptr_mask_texture = default; + this.ptr_mask_tex_map_obj = default; + this.mask_tex_map_bone = default; + this.mask_tex_mapping = default; + this.mask_tex_uvlayer_name = default; + this._pad1 = default; + this.min_dist = default; + this.max_dist = default; + this.falloff_type = default; + this._pad0 = default; + } public WeightVGProximityModifierData( ModifierData modifier, char[] defgrp_name, diff --git a/BlendFile/DNA/WeightedNormalModifierData.cs b/BlendFile/DNA/WeightedNormalModifierData.cs index d398e1e..4ef44c7 100644 --- a/BlendFile/DNA/WeightedNormalModifierData.cs +++ b/BlendFile/DNA/WeightedNormalModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short weight; [DNAFieldAttribute(5, "float", "thresh", 4)] public float thresh; + public WeightedNormalModifierData() { + this.modifier = default; + this.defgrp_name = default; + this.mode = default; + this.flag = default; + this.weight = default; + this.thresh = default; + } public WeightedNormalModifierData(ModifierData modifier, char[] defgrp_name, char mode, char flag, short weight, float thresh) { this.modifier = modifier; this.defgrp_name = defgrp_name; diff --git a/BlendFile/DNA/WeldModifierData.cs b/BlendFile/DNA/WeldModifierData.cs index dffeb68..bef6347 100644 --- a/BlendFile/DNA/WeldModifierData.cs +++ b/BlendFile/DNA/WeldModifierData.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(5, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public WeldModifierData() { + this.modifier = default; + this.merge_dist = default; + this.defgrp_name = default; + this.mode = default; + this.flag = default; + this._pad = default; + } public WeldModifierData(ModifierData modifier, float merge_dist, char[] defgrp_name, char mode, char flag, char[] _pad) { this.modifier = modifier; this.merge_dist = merge_dist; diff --git a/BlendFile/DNA/WhiteBalanceModifierData.cs b/BlendFile/DNA/WhiteBalanceModifierData.cs index 1e89173..9cf5d8b 100644 --- a/BlendFile/DNA/WhiteBalanceModifierData.cs +++ b/BlendFile/DNA/WhiteBalanceModifierData.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float[] white_value = new System.Single[3]; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public WhiteBalanceModifierData() { + this.modifier = default; + this.white_value = default; + this._pad = default; + } public WhiteBalanceModifierData(SequenceModifierData modifier, float[] white_value, char[] _pad) { this.modifier = modifier; this.white_value = white_value; diff --git a/BlendFile/DNA/WipeVars.cs b/BlendFile/DNA/WipeVars.cs index c0d9add..488cec8 100644 --- a/BlendFile/DNA/WipeVars.cs +++ b/BlendFile/DNA/WipeVars.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short forward; [DNAFieldAttribute(3, "short", "wipetype", 2)] public short wipetype; + public WipeVars() { + this.edgeWidth = default; + this.angle = default; + this.forward = default; + this.wipetype = default; + } public WipeVars(float edgeWidth, float angle, short forward, short wipetype) { this.edgeWidth = edgeWidth; this.angle = angle; diff --git a/BlendFile/DNA/WireframeModifierData.cs b/BlendFile/DNA/WireframeModifierData.cs index 6280b48..3e38977 100644 --- a/BlendFile/DNA/WireframeModifierData.cs +++ b/BlendFile/DNA/WireframeModifierData.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public short mat_ofs; [DNAFieldAttribute(8, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public WireframeModifierData() { + this.modifier = default; + this.defgrp_name = default; + this.offset = default; + this.offset_fac = default; + this.offset_fac_vg = default; + this.crease_weight = default; + this.flag = default; + this.mat_ofs = default; + this._pad = default; + } public WireframeModifierData(ModifierData modifier, char[] defgrp_name, float offset, float offset_fac, float offset_fac_vg, float crease_weight, short flag, short mat_ofs, char[] _pad) { this.modifier = modifier; this.defgrp_name = defgrp_name; diff --git a/BlendFile/DNA/WorkSpace.cs b/BlendFile/DNA/WorkSpace.cs index 1403df1..2be488a 100644 --- a/BlendFile/DNA/WorkSpace.cs +++ b/BlendFile/DNA/WorkSpace.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public AssetLibraryReference asset_library_ref; [DNAFieldAttribute(12, "ViewerPath", "viewer_path", 16)] public ViewerPath viewer_path; + public WorkSpace() { + this.id = default; + this.layouts = default; + this.hook_layout_relations = default; + this.owner_ids = default; + this.tools = default; + this.ptr_pin_scene = default; + this._pad = default; + this.object_mode = default; + this.flags = default; + this.order = default; + this.ptr_runtime = default; + this.asset_library_ref = default; + this.viewer_path = default; + } public WorkSpace(ID id, ListBase layouts, ListBase hook_layout_relations, ListBase owner_ids, ListBase tools, Scene ptr_pin_scene, char[] _pad, int object_mode, int flags, int order, WorkSpaceRuntimeHandle ptr_runtime, AssetLibraryReference asset_library_ref, ViewerPath viewer_path) { this.id = id; this.layouts = layouts; diff --git a/BlendFile/DNA/WorkSpaceDataRelation.cs b/BlendFile/DNA/WorkSpaceDataRelation.cs index a8e5bbf..154b0bd 100644 --- a/BlendFile/DNA/WorkSpaceDataRelation.cs +++ b/BlendFile/DNA/WorkSpaceDataRelation.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int parentid; [DNAFieldAttribute(5, "char", "_pad_0[4]", 1)] public char[] _pad_0 = new System.Char[4]; + public WorkSpaceDataRelation() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_parent = default; + this.ptr_value = default; + this.parentid = default; + this._pad_0 = default; + } public WorkSpaceDataRelation(WorkSpaceDataRelation ptr_next, WorkSpaceDataRelation ptr_prev, object ptr_parent, object ptr_value, int parentid, char[] _pad_0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/WorkSpaceInstanceHook.cs b/BlendFile/DNA/WorkSpaceInstanceHook.cs index 9d9b2e0..22b7d2f 100644 --- a/BlendFile/DNA/WorkSpaceInstanceHook.cs +++ b/BlendFile/DNA/WorkSpaceInstanceHook.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public WorkSpace ptr_temp_workspace_store; [DNAFieldAttribute(3, "WorkSpaceLayout", "*temp_layout_store", 88)] public WorkSpaceLayout ptr_temp_layout_store; + public WorkSpaceInstanceHook() { + this.ptr_active = default; + this.ptr_act_layout = default; + this.ptr_temp_workspace_store = default; + this.ptr_temp_layout_store = default; + } public WorkSpaceInstanceHook(WorkSpace ptr_active, WorkSpaceLayout ptr_act_layout, WorkSpace ptr_temp_workspace_store, WorkSpaceLayout ptr_temp_layout_store) { this.ptr_active = ptr_active; this.ptr_act_layout = ptr_act_layout; diff --git a/BlendFile/DNA/WorkSpaceLayout.cs b/BlendFile/DNA/WorkSpaceLayout.cs index 3ca0a0b..3e8beb4 100644 --- a/BlendFile/DNA/WorkSpaceLayout.cs +++ b/BlendFile/DNA/WorkSpaceLayout.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public bScreen ptr_screen; [DNAFieldAttribute(3, "char", "name[64]", 1)] public char[] name = new System.Char[64]; + public WorkSpaceLayout() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_screen = default; + this.name = default; + } public WorkSpaceLayout(WorkSpaceLayout ptr_next, WorkSpaceLayout ptr_prev, bScreen ptr_screen, char[] name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/World.cs b/BlendFile/DNA/World.cs index 3c345ff..ada11de 100644 --- a/BlendFile/DNA/World.cs +++ b/BlendFile/DNA/World.cs @@ -93,6 +93,47 @@ namespace BlendFile.DNA { public ListBase gpumaterial; [DNAFieldAttribute(38, "uint64_t", "last_update", 8)] public ulong last_update; + public World() { + this.id = default; + this.ptr_adt = default; + this.drawdata = default; + this._pad0 = default; + this.texact = default; + this.mistype = default; + this.horr = default; + this.horg = default; + this.horb = default; + this.exposure = default; + this.exp = default; + this.range = default; + this.mode = default; + this._pad2 = default; + this.misi = default; + this.miststa = default; + this.mistdist = default; + this.misthi = default; + this.aodist = default; + this.aoenergy = default; + this.flag = default; + this._pad3 = default; + this.probe_resolution = default; + this.sun_threshold = default; + this.sun_angle = default; + this.sun_shadow_maximum_resolution = default; + this.sun_shadow_jitter_overblur = default; + this.sun_shadow_filter_radius = default; + this._pad4 = default; + this.ptr_ipo = default; + this.pr_texture = default; + this.use_nodes = default; + this._pad = default; + this.ptr_preview = default; + this.ptr_nodetree = default; + this.ptr_lightgroup = default; + this.ptr__pad1 = default; + this.gpumaterial = default; + this.last_update = default; + } public World( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/XrActionMap.cs b/BlendFile/DNA/XrActionMap.cs index 4f1ff26..4b183ca 100644 --- a/BlendFile/DNA/XrActionMap.cs +++ b/BlendFile/DNA/XrActionMap.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short selitem; [DNAFieldAttribute(5, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public XrActionMap() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.items = default; + this.selitem = default; + this._pad = default; + } public XrActionMap(XrActionMap ptr_next, XrActionMap ptr_prev, char[] name, ListBase items, short selitem, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/XrActionMapBinding.cs b/BlendFile/DNA/XrActionMapBinding.cs index 7129094..6d0d96b 100644 --- a/BlendFile/DNA/XrActionMapBinding.cs +++ b/BlendFile/DNA/XrActionMapBinding.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public float[] pose_location = new System.Single[3]; [DNAFieldAttribute(9, "float", "pose_rotation[3]", 4)] public float[] pose_rotation = new System.Single[3]; + public XrActionMapBinding() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.profile = default; + this.component_paths = default; + this.float_threshold = default; + this.axis_flag = default; + this._pad = default; + this.pose_location = default; + this.pose_rotation = default; + } public XrActionMapBinding(XrActionMapBinding ptr_next, XrActionMapBinding ptr_prev, char[] name, char[] profile, ListBase component_paths, float float_threshold, short axis_flag, char[] _pad, float[] pose_location, float[] pose_rotation) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/XrActionMapItem.cs b/BlendFile/DNA/XrActionMapItem.cs index a2e82db..25346ca 100644 --- a/BlendFile/DNA/XrActionMapItem.cs +++ b/BlendFile/DNA/XrActionMapItem.cs @@ -55,6 +55,28 @@ namespace BlendFile.DNA { public char[] _pad3 = new System.Char[2]; [DNAFieldAttribute(19, "ListBase", "bindings", 16)] public ListBase bindings; + public XrActionMapItem() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.type = default; + this._pad = default; + this.user_paths = default; + this.op = default; + this.ptr_op_properties = default; + this.ptr_op_properties_ptr = default; + this.op_flag = default; + this.action_flag = default; + this.haptic_flag = default; + this.pose_flag = default; + this.haptic_name = default; + this.haptic_duration = default; + this.haptic_frequency = default; + this.haptic_amplitude = default; + this.selbinding = default; + this._pad3 = default; + this.bindings = default; + } public XrActionMapItem( XrActionMapItem ptr_next, XrActionMapItem ptr_prev, diff --git a/BlendFile/DNA/XrComponentPath.cs b/BlendFile/DNA/XrComponentPath.cs index 5518ebe..79c0ba8 100644 --- a/BlendFile/DNA/XrComponentPath.cs +++ b/BlendFile/DNA/XrComponentPath.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public XrComponentPath ptr_prev; [DNAFieldAttribute(2, "char", "path[192]", 1)] public char[] path = new System.Char[192]; + public XrComponentPath() { + this.ptr_next = default; + this.ptr_prev = default; + this.path = default; + } public XrComponentPath(XrComponentPath ptr_next, XrComponentPath ptr_prev, char[] path) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/XrSessionSettings.cs b/BlendFile/DNA/XrSessionSettings.cs index a5a0a8d..cdbb9bc 100644 --- a/BlendFile/DNA/XrSessionSettings.cs +++ b/BlendFile/DNA/XrSessionSettings.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public int object_type_exclude_viewport; [DNAFieldAttribute(14, "int", "object_type_exclude_select", 4)] public int object_type_exclude_select; + public XrSessionSettings() { + this.shading = default; + this.base_scale = default; + this._pad = default; + this.base_pose_type = default; + this.ptr_base_pose_object = default; + this.base_pose_location = default; + this.base_pose_angle = default; + this.draw_flags = default; + this.controller_draw_style = default; + this._pad2 = default; + this.clip_start = default; + this.clip_end = default; + this.flag = default; + this.object_type_exclude_viewport = default; + this.object_type_exclude_select = default; + } public XrSessionSettings(View3DShading shading, float base_scale, char[] _pad, char base_pose_type, Object ptr_base_pose_object, float[] base_pose_location, float base_pose_angle, char draw_flags, char controller_draw_style, char[] _pad2, float clip_start, float clip_end, int flag, int object_type_exclude_viewport, int object_type_exclude_select) { this.shading = shading; this.base_scale = base_scale; diff --git a/BlendFile/DNA/XrUserPath.cs b/BlendFile/DNA/XrUserPath.cs index 67bcf3f..281e997 100644 --- a/BlendFile/DNA/XrUserPath.cs +++ b/BlendFile/DNA/XrUserPath.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public XrUserPath ptr_prev; [DNAFieldAttribute(2, "char", "path[64]", 1)] public char[] path = new System.Char[64]; + public XrUserPath() { + this.ptr_next = default; + this.ptr_prev = default; + this.path = default; + } public XrUserPath(XrUserPath ptr_next, XrUserPath ptr_prev, char[] path) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bAction.cs b/BlendFile/DNA/bAction.cs index 52b31d8..10ab6f7 100644 --- a/BlendFile/DNA/bAction.cs +++ b/BlendFile/DNA/bAction.cs @@ -57,6 +57,29 @@ namespace BlendFile.DNA { public float frame_end; [DNAFieldAttribute(20, "PreviewImage", "*preview", 48)] public PreviewImage ptr_preview; + public bAction() { + this.id = default; + this.ptr_ptr_layer_array = default; + this.layer_array_num = default; + this.layer_active_index = default; + this.ptr_ptr_slot_array = default; + this.slot_array_num = default; + this.last_slot_handle = default; + this.ptr_ptr_strip_keyframe_data_array = default; + this.strip_keyframe_data_array_num = default; + this._pad0 = default; + this.curves = default; + this.chanbase = default; + this.groups = default; + this.markers = default; + this.flag = default; + this.active_marker = default; + this.idroot = default; + this._pad1 = default; + this.frame_start = default; + this.frame_end = default; + this.ptr_preview = default; + } public bAction( ID id, ActionLayer ptr_ptr_layer_array, diff --git a/BlendFile/DNA/bActionChannel.cs b/BlendFile/DNA/bActionChannel.cs index 36d0bd3..b59fcf2 100644 --- a/BlendFile/DNA/bActionChannel.cs +++ b/BlendFile/DNA/bActionChannel.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(7, "int", "temp", 4)] public int temp; + public bActionChannel() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_grp = default; + this.ptr_ipo = default; + this.constraintChannels = default; + this.flag = default; + this.name = default; + this.temp = default; + } public bActionChannel(bActionChannel ptr_next, bActionChannel ptr_prev, bActionGroup ptr_grp, Ipo ptr_ipo, ListBase constraintChannels, int flag, char[] name, int temp) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bActionConstraint.cs b/BlendFile/DNA/bActionConstraint.cs index d7b4ad5..064a77e 100644 --- a/BlendFile/DNA/bActionConstraint.cs +++ b/BlendFile/DNA/bActionConstraint.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(15, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bActionConstraint() { + this.ptr_tar = default; + this.type = default; + this.local = default; + this.start = default; + this.end = default; + this.min = default; + this.max = default; + this.flag = default; + this.mix_mode = default; + this._pad = default; + this.eval_time = default; + this.ptr_act = default; + this.action_slot_handle = default; + this.action_slot_name = default; + this._pad1 = default; + this.subtarget = default; + } public bActionConstraint( Object ptr_tar, short type, diff --git a/BlendFile/DNA/bActionGroup.cs b/BlendFile/DNA/bActionGroup.cs index 0a41f7b..db725d4 100644 --- a/BlendFile/DNA/bActionGroup.cs +++ b/BlendFile/DNA/bActionGroup.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(9, "ThemeWireColor", "cs", 16)] public ThemeWireColor cs; + public bActionGroup() { + this.ptr_next = default; + this.ptr_prev = default; + this.channels = default; + this.fcurve_range_start = default; + this.fcurve_range_length = default; + this.ptr_channel_bag = default; + this.flag = default; + this.customCol = default; + this.name = default; + this.cs = default; + } public bActionGroup(bActionGroup ptr_next, bActionGroup ptr_prev, ListBase channels, int fcurve_range_start, int fcurve_range_length, ActionChannelBag ptr_channel_bag, int flag, int customCol, char[] name, ThemeWireColor cs) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bActionModifier.cs b/BlendFile/DNA/bActionModifier.cs index ea962b7..687705b 100644 --- a/BlendFile/DNA/bActionModifier.cs +++ b/BlendFile/DNA/bActionModifier.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public short no_rot_axis; [DNAFieldAttribute(9, "Object", "*ob", 1160)] public Object ptr_ob; + public bActionModifier() { + this.ptr_next = default; + this.ptr_prev = default; + this.type = default; + this.flag = default; + this.channel = default; + this.noisesize = default; + this.turbul = default; + this.channels = default; + this.no_rot_axis = default; + this.ptr_ob = default; + } public bActionModifier(bActionModifier ptr_next, bActionModifier ptr_prev, short type, short flag, char[] channel, float noisesize, float turbul, short channels, short no_rot_axis, Object ptr_ob) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bActionStrip.cs b/BlendFile/DNA/bActionStrip.cs index e1af3c6..fe58a03 100644 --- a/BlendFile/DNA/bActionStrip.cs +++ b/BlendFile/DNA/bActionStrip.cs @@ -59,6 +59,30 @@ namespace BlendFile.DNA { public char[] offs_bone = new System.Char[32]; [DNAFieldAttribute(21, "ListBase", "modifiers", 16)] public ListBase modifiers; + public bActionStrip() { + this.ptr_next = default; + this.ptr_prev = default; + this.flag = default; + this.mode = default; + this.stride_axis = default; + this.curmod = default; + this.ptr_ipo = default; + this.ptr_act = default; + this.ptr_object = default; + this.start = default; + this.end = default; + this.actstart = default; + this.actend = default; + this.actoffs = default; + this.stridelen = default; + this.repeat = default; + this.scale = default; + this.blendin = default; + this.blendout = default; + this.stridechannel = default; + this.offs_bone = default; + this.modifiers = default; + } public bActionStrip( bActionStrip ptr_next, bActionStrip ptr_prev, diff --git a/BlendFile/DNA/bAddon.cs b/BlendFile/DNA/bAddon.cs index b43ebb6..fc69f33 100644 --- a/BlendFile/DNA/bAddon.cs +++ b/BlendFile/DNA/bAddon.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] module = new System.Char[128]; [DNAFieldAttribute(3, "IDProperty", "*prop", 136)] public IDProperty ptr_prop; + public bAddon() { + this.ptr_next = default; + this.ptr_prev = default; + this.module = default; + this.ptr_prop = default; + } public bAddon(bAddon ptr_next, bAddon ptr_prev, char[] module, IDProperty ptr_prop) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bAnimVizSettings.cs b/BlendFile/DNA/bAnimVizSettings.cs index 949272b..826c2f4 100644 --- a/BlendFile/DNA/bAnimVizSettings.cs +++ b/BlendFile/DNA/bAnimVizSettings.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public int path_bc; [DNAFieldAttribute(10, "int", "path_ac", 4)] public int path_ac; + public bAnimVizSettings() { + this.recalc = default; + this.path_type = default; + this.path_step = default; + this.path_range = default; + this.path_viewflag = default; + this.path_bakeflag = default; + this._pad = default; + this.path_sf = default; + this.path_ef = default; + this.path_bc = default; + this.path_ac = default; + } public bAnimVizSettings(short recalc, short path_type, short path_step, short path_range, short path_viewflag, short path_bakeflag, char[] _pad, int path_sf, int path_ef, int path_bc, int path_ac) { this.recalc = recalc; this.path_type = path_type; diff --git a/BlendFile/DNA/bArmature.cs b/BlendFile/DNA/bArmature.cs index a984c2e..cfc58c9 100644 --- a/BlendFile/DNA/bArmature.cs +++ b/BlendFile/DNA/bArmature.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public float axes_position; [DNAFieldAttribute(23, "bArmature_Runtime", "runtime", 16)] public bArmature_Runtime runtime; + public bArmature() { + this.id = default; + this.ptr_adt = default; + this.bonebase = default; + this.ptr_bonehash = default; + this.ptr__pad1 = default; + this.ptr_edbo = default; + this.ptr_act_bone = default; + this.ptr_act_edbone = default; + this.needs_flush_to_id = default; + this._pad0 = default; + this.flag = default; + this.drawtype = default; + this.deformflag = default; + this.pathflag = default; + this.collections = default; + this.ptr_ptr_collection_array = default; + this.collection_array_num = default; + this.collection_root_count = default; + this.active_collection_name = default; + this.layer_used = default; + this.layer = default; + this.layer_protected = default; + this.axes_position = default; + this.runtime = default; + } public bArmature( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/bArmatureConstraint.cs b/BlendFile/DNA/bArmatureConstraint.cs index 1027c46..4a4a408 100644 --- a/BlendFile/DNA/bArmatureConstraint.cs +++ b/BlendFile/DNA/bArmatureConstraint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "ListBase", "targets", 16)] public ListBase targets; + public bArmatureConstraint() { + this.flag = default; + this._pad = default; + this.targets = default; + } public bArmatureConstraint(int flag, char[] _pad, ListBase targets) { this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/bArmature_Runtime.cs b/BlendFile/DNA/bArmature_Runtime.cs index 0f35d1f..b3aa5e0 100644 --- a/BlendFile/DNA/bArmature_Runtime.cs +++ b/BlendFile/DNA/bArmature_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public byte[] _pad0 = new System.Byte[4]; [DNAFieldAttribute(2, "BoneCollection", "*active_collection", 120)] public BoneCollection ptr_active_collection; + public bArmature_Runtime() { + this.active_collection_index = default; + this._pad0 = default; + this.ptr_active_collection = default; + } public bArmature_Runtime(int active_collection_index, byte[] _pad0, BoneCollection ptr_active_collection) { this.active_collection_index = active_collection_index; this._pad0 = _pad0; diff --git a/BlendFile/DNA/bCameraSolverConstraint.cs b/BlendFile/DNA/bCameraSolverConstraint.cs index d3a46b0..66c7c1c 100644 --- a/BlendFile/DNA/bCameraSolverConstraint.cs +++ b/BlendFile/DNA/bCameraSolverConstraint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bCameraSolverConstraint() { + this.ptr_clip = default; + this.flag = default; + this._pad = default; + } public bCameraSolverConstraint(MovieClip ptr_clip, int flag, char[] _pad) { this.ptr_clip = ptr_clip; this.flag = flag; diff --git a/BlendFile/DNA/bChildOfConstraint.cs b/BlendFile/DNA/bChildOfConstraint.cs index 7d542ea..8bf3e47 100644 --- a/BlendFile/DNA/bChildOfConstraint.cs +++ b/BlendFile/DNA/bChildOfConstraint.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[,] invmat = new System.Single[4,4]; [DNAFieldAttribute(4, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bChildOfConstraint() { + this.ptr_tar = default; + this.flag = default; + this._pad = default; + this.invmat = default; + this.subtarget = default; + } public bChildOfConstraint(Object ptr_tar, int flag, char[] _pad, float[,] invmat, char[] subtarget) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bClampToConstraint.cs b/BlendFile/DNA/bClampToConstraint.cs index eb95ce7..fbd4b95 100644 --- a/BlendFile/DNA/bClampToConstraint.cs +++ b/BlendFile/DNA/bClampToConstraint.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(2, "int", "flag2", 4)] public int flag2; + public bClampToConstraint() { + this.ptr_tar = default; + this.flag = default; + this.flag2 = default; + } public bClampToConstraint(Object ptr_tar, int flag, int flag2) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bConstraint.cs b/BlendFile/DNA/bConstraint.cs index 8837555..6ed1644 100644 --- a/BlendFile/DNA/bConstraint.cs +++ b/BlendFile/DNA/bConstraint.cs @@ -47,6 +47,24 @@ namespace BlendFile.DNA { public float lin_error; [DNAFieldAttribute(15, "float", "rot_error", 4)] public float rot_error; + public bConstraint() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_data = default; + this.type = default; + this.flag = default; + this.ownspace = default; + this.tarspace = default; + this.ui_expand_flag = default; + this.ptr_space_object = default; + this.space_subtarget = default; + this.name = default; + this.enforce = default; + this.headtail = default; + this.ptr_ipo = default; + this.lin_error = default; + this.rot_error = default; + } public bConstraint( bConstraint ptr_next, bConstraint ptr_prev, diff --git a/BlendFile/DNA/bConstraintChannel.cs b/BlendFile/DNA/bConstraintChannel.cs index 0e04f72..32adf65 100644 --- a/BlendFile/DNA/bConstraintChannel.cs +++ b/BlendFile/DNA/bConstraintChannel.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(4, "char", "name[30]", 1)] public char[] name = new System.Char[30]; + public bConstraintChannel() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_ipo = default; + this.flag = default; + this.name = default; + } public bConstraintChannel(bConstraintChannel ptr_next, bConstraintChannel ptr_prev, Ipo ptr_ipo, short flag, char[] name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bConstraintTarget.cs b/BlendFile/DNA/bConstraintTarget.cs index ec4c8a6..e108f1d 100644 --- a/BlendFile/DNA/bConstraintTarget.cs +++ b/BlendFile/DNA/bConstraintTarget.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public float weight; [DNAFieldAttribute(10, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bConstraintTarget() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_tar = default; + this.subtarget = default; + this.matrix = default; + this.space = default; + this.flag = default; + this.type = default; + this.rotOrder = default; + this.weight = default; + this._pad = default; + } public bConstraintTarget(bConstraintTarget ptr_next, bConstraintTarget ptr_prev, Object ptr_tar, char[] subtarget, float[,] matrix, short space, short flag, short type, short rotOrder, float weight, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bDampTrackConstraint.cs b/BlendFile/DNA/bDampTrackConstraint.cs index 4348fda..c96ce4b 100644 --- a/BlendFile/DNA/bDampTrackConstraint.cs +++ b/BlendFile/DNA/bDampTrackConstraint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(3, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bDampTrackConstraint() { + this.ptr_tar = default; + this.trackflag = default; + this._pad = default; + this.subtarget = default; + } public bDampTrackConstraint(Object ptr_tar, int trackflag, char[] _pad, char[] subtarget) { this.ptr_tar = ptr_tar; this.trackflag = trackflag; diff --git a/BlendFile/DNA/bDeformGroup.cs b/BlendFile/DNA/bDeformGroup.cs index 3bb8966..328093d 100644 --- a/BlendFile/DNA/bDeformGroup.cs +++ b/BlendFile/DNA/bDeformGroup.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(4, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public bDeformGroup() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flag = default; + this._pad0 = default; + } public bDeformGroup(bDeformGroup ptr_next, bDeformGroup ptr_prev, char[] name, char flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bDistLimitConstraint.cs b/BlendFile/DNA/bDistLimitConstraint.cs index 7de247c..496fac3 100644 --- a/BlendFile/DNA/bDistLimitConstraint.cs +++ b/BlendFile/DNA/bDistLimitConstraint.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short mode; [DNAFieldAttribute(6, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bDistLimitConstraint() { + this.ptr_tar = default; + this.subtarget = default; + this.dist = default; + this.soft = default; + this.flag = default; + this.mode = default; + this._pad = default; + } public bDistLimitConstraint(Object ptr_tar, char[] subtarget, float dist, float soft, short flag, short mode, char[] _pad) { this.ptr_tar = ptr_tar; this.subtarget = subtarget; diff --git a/BlendFile/DNA/bDopeSheet.cs b/BlendFile/DNA/bDopeSheet.cs index fc8429d..5ce594d 100644 --- a/BlendFile/DNA/bDopeSheet.cs +++ b/BlendFile/DNA/bDopeSheet.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(7, "int", "renameIndex", 4)] public int renameIndex; + public bDopeSheet() { + this.ptr_source = default; + this.chanbase = default; + this.ptr_filter_grp = default; + this.searchstr = default; + this.filterflag = default; + this.filterflag2 = default; + this.flag = default; + this.renameIndex = default; + } public bDopeSheet(ID ptr_source, ListBase chanbase, Collection ptr_filter_grp, char[] searchstr, int filterflag, int filterflag2, int flag, int renameIndex) { this.ptr_source = ptr_source; this.chanbase = chanbase; diff --git a/BlendFile/DNA/bFaceMap.cs b/BlendFile/DNA/bFaceMap.cs index 0182511..f3467ca 100644 --- a/BlendFile/DNA/bFaceMap.cs +++ b/BlendFile/DNA/bFaceMap.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(4, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public bFaceMap() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flag = default; + this._pad0 = default; + } public bFaceMap(bFaceMap ptr_next, bFaceMap ptr_prev, char[] name, char flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bFollowPathConstraint.cs b/BlendFile/DNA/bFollowPathConstraint.cs index 61c3066..8c9bc79 100644 --- a/BlendFile/DNA/bFollowPathConstraint.cs +++ b/BlendFile/DNA/bFollowPathConstraint.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short trackflag; [DNAFieldAttribute(5, "short", "upflag", 2)] public short upflag; + public bFollowPathConstraint() { + this.ptr_tar = default; + this.offset = default; + this.offset_fac = default; + this.followflag = default; + this.trackflag = default; + this.upflag = default; + } public bFollowPathConstraint(Object ptr_tar, float offset, float offset_fac, int followflag, short trackflag, short upflag) { this.ptr_tar = ptr_tar; this.offset = offset; diff --git a/BlendFile/DNA/bFollowTrackConstraint.cs b/BlendFile/DNA/bFollowTrackConstraint.cs index ec9ec37..778a7dc 100644 --- a/BlendFile/DNA/bFollowTrackConstraint.cs +++ b/BlendFile/DNA/bFollowTrackConstraint.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public Object ptr_camera; [DNAFieldAttribute(6, "Object", "*depth_ob", 1160)] public Object ptr_depth_ob; + public bFollowTrackConstraint() { + this.ptr_clip = default; + this.track = default; + this.flag = default; + this.frame_method = default; + this.@object = default; + this.ptr_camera = default; + this.ptr_depth_ob = default; + } public bFollowTrackConstraint(MovieClip ptr_clip, char[] track, int flag, int frame_method, char[] @object, Object ptr_camera, Object ptr_depth_ob) { this.ptr_clip = ptr_clip; this.track = track; diff --git a/BlendFile/DNA/bGPDcontrolpoint.cs b/BlendFile/DNA/bGPDcontrolpoint.cs index 4eaeb66..b5f3ca8 100644 --- a/BlendFile/DNA/bGPDcontrolpoint.cs +++ b/BlendFile/DNA/bGPDcontrolpoint.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float[] color = new System.Single[4]; [DNAFieldAttribute(4, "int", "size", 4)] public int size; + public bGPDcontrolpoint() { + this.x = default; + this.y = default; + this.z = default; + this.color = default; + this.size = default; + } public bGPDcontrolpoint(float x, float y, float z, float[] color, int size) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/bGPDcurve.cs b/BlendFile/DNA/bGPDcurve.cs index 6c2f6cf..52bbc81 100644 --- a/BlendFile/DNA/bGPDcurve.cs +++ b/BlendFile/DNA/bGPDcurve.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(3, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; + public bGPDcurve() { + this.ptr_curve_points = default; + this.tot_curve_points = default; + this.flag = default; + this._pad = default; + } public bGPDcurve(bGPDcurve_point ptr_curve_points, int tot_curve_points, short flag, char[] _pad) { this.ptr_curve_points = ptr_curve_points; this.tot_curve_points = tot_curve_points; diff --git a/BlendFile/DNA/bGPDcurve_point.cs b/BlendFile/DNA/bGPDcurve_point.cs index eea515b..6f35ff2 100644 --- a/BlendFile/DNA/bGPDcurve_point.cs +++ b/BlendFile/DNA/bGPDcurve_point.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public float[] vert_color = new System.Single[4]; [DNAFieldAttribute(9, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bGPDcurve_point() { + this.bezt = default; + this.pressure = default; + this.strength = default; + this.point_index = default; + this.flag = default; + this.uv_fac = default; + this.uv_rot = default; + this.uv_fill = default; + this.vert_color = default; + this._pad = default; + } public bGPDcurve_point(BezTriple bezt, float pressure, float strength, int point_index, int flag, float uv_fac, float uv_rot, float[] uv_fill, float[] vert_color, char[] _pad) { this.bezt = bezt; this.pressure = pressure; diff --git a/BlendFile/DNA/bGPDframe.cs b/BlendFile/DNA/bGPDframe.cs index 1cf6b7b..3f0f7ff 100644 --- a/BlendFile/DNA/bGPDframe.cs +++ b/BlendFile/DNA/bGPDframe.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short key_type; [DNAFieldAttribute(6, "bGPDframe_Runtime", "runtime", 16)] public bGPDframe_Runtime runtime; + public bGPDframe() { + this.ptr_next = default; + this.ptr_prev = default; + this.strokes = default; + this.framenum = default; + this.flag = default; + this.key_type = default; + this.runtime = default; + } public bGPDframe(bGPDframe ptr_next, bGPDframe ptr_prev, ListBase strokes, int framenum, short flag, short key_type, bGPDframe_Runtime runtime) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bGPDframe_Runtime.cs b/BlendFile/DNA/bGPDframe_Runtime.cs index 3e48120..163a278 100644 --- a/BlendFile/DNA/bGPDframe_Runtime.cs +++ b/BlendFile/DNA/bGPDframe_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int onion_id; [DNAFieldAttribute(2, "bGPDframe", "*gpf_orig", 56)] public bGPDframe ptr_gpf_orig; + public bGPDframe_Runtime() { + this.frameid = default; + this.onion_id = default; + this.ptr_gpf_orig = default; + } public bGPDframe_Runtime(int frameid, int onion_id, bGPDframe ptr_gpf_orig) { this.frameid = frameid; this.onion_id = onion_id; diff --git a/BlendFile/DNA/bGPDlayer.cs b/BlendFile/DNA/bGPDlayer.cs index 5320824..7bb8ceb 100644 --- a/BlendFile/DNA/bGPDlayer.cs +++ b/BlendFile/DNA/bGPDlayer.cs @@ -87,6 +87,44 @@ namespace BlendFile.DNA { public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(35, "bGPDlayer_Runtime", "runtime", 16)] public bGPDlayer_Runtime runtime; + public bGPDlayer() { + this.ptr_next = default; + this.ptr_prev = default; + this.frames = default; + this.ptr_actframe = default; + this.flag = default; + this.onion_flag = default; + this.color = default; + this.fill = default; + this.info = default; + this.thickness = default; + this.pass_index = default; + this.ptr_parent = default; + this.inverse = default; + this.parsubstr = default; + this.partype = default; + this.line_change = default; + this.tintcolor = default; + this.opacity = default; + this.viewlayername = default; + this.blend_mode = default; + this.vertex_paint_opacity = default; + this.gstep = default; + this.gstep_next = default; + this.gcolor_prev = default; + this.gcolor_next = default; + this._pad1 = default; + this.mask_layers = default; + this.act_mask = default; + this._pad2 = default; + this.location = default; + this.rotation = default; + this.scale = default; + this.layer_mat = default; + this.layer_invmat = default; + this._pad3 = default; + this.runtime = default; + } public bGPDlayer( bGPDlayer ptr_next, bGPDlayer ptr_prev, diff --git a/BlendFile/DNA/bGPDlayer_Mask.cs b/BlendFile/DNA/bGPDlayer_Mask.cs index 61c0127..bf6d6d8 100644 --- a/BlendFile/DNA/bGPDlayer_Mask.cs +++ b/BlendFile/DNA/bGPDlayer_Mask.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short sort_index; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bGPDlayer_Mask() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.flag = default; + this.sort_index = default; + this._pad = default; + } public bGPDlayer_Mask(bGPDlayer_Mask ptr_next, bGPDlayer_Mask ptr_prev, char[] name, short flag, short sort_index, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bGPDlayer_Runtime.cs b/BlendFile/DNA/bGPDlayer_Runtime.cs index 731b04c..7f17a44 100644 --- a/BlendFile/DNA/bGPDlayer_Runtime.cs +++ b/BlendFile/DNA/bGPDlayer_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "bGPDlayer", "*gpl_orig", 680)] public bGPDlayer ptr_gpl_orig; + public bGPDlayer_Runtime() { + this.icon_id = default; + this._pad = default; + this.ptr_gpl_orig = default; + } public bGPDlayer_Runtime(int icon_id, char[] _pad, bGPDlayer ptr_gpl_orig) { this.icon_id = icon_id; this._pad = _pad; diff --git a/BlendFile/DNA/bGPDpalette.cs b/BlendFile/DNA/bGPDpalette.cs index c8c6716..597ada3 100644 --- a/BlendFile/DNA/bGPDpalette.cs +++ b/BlendFile/DNA/bGPDpalette.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(5, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public bGPDpalette() { + this.ptr_next = default; + this.ptr_prev = default; + this.colors = default; + this.info = default; + this.flag = default; + this._pad = default; + } public bGPDpalette(bGPDpalette ptr_next, bGPDpalette ptr_prev, ListBase colors, char[] info, short flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bGPDpalettecolor.cs b/BlendFile/DNA/bGPDpalettecolor.cs index ce05bcf..671c121 100644 --- a/BlendFile/DNA/bGPDpalettecolor.cs +++ b/BlendFile/DNA/bGPDpalettecolor.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(6, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public bGPDpalettecolor() { + this.ptr_next = default; + this.ptr_prev = default; + this.info = default; + this.color = default; + this.fill = default; + this.flag = default; + this._pad = default; + } public bGPDpalettecolor(bGPDpalettecolor ptr_next, bGPDpalettecolor ptr_prev, char[] info, float[] color, float[] fill, short flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bGPDspoint.cs b/BlendFile/DNA/bGPDspoint.cs index 85c4b67..a1f62ea 100644 --- a/BlendFile/DNA/bGPDspoint.cs +++ b/BlendFile/DNA/bGPDspoint.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(12, "bGPDspoint_Runtime", "runtime", 16)] public bGPDspoint_Runtime runtime; + public bGPDspoint() { + this.x = default; + this.y = default; + this.z = default; + this.pressure = default; + this.strength = default; + this.time = default; + this.flag = default; + this.uv_fac = default; + this.uv_rot = default; + this.uv_fill = default; + this.vert_color = default; + this._pad2 = default; + this.runtime = default; + } public bGPDspoint(float x, float y, float z, float pressure, float strength, float time, int flag, float uv_fac, float uv_rot, float[] uv_fill, float[] vert_color, char[] _pad2, bGPDspoint_Runtime runtime) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/bGPDspoint_Runtime.cs b/BlendFile/DNA/bGPDspoint_Runtime.cs index dbf6af5..f9647c8 100644 --- a/BlendFile/DNA/bGPDspoint_Runtime.cs +++ b/BlendFile/DNA/bGPDspoint_Runtime.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int idx_orig; [DNAFieldAttribute(2, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public bGPDspoint_Runtime() { + this.ptr_pt_orig = default; + this.idx_orig = default; + this._pad0 = default; + } public bGPDspoint_Runtime(bGPDspoint ptr_pt_orig, int idx_orig, char[] _pad0) { this.ptr_pt_orig = ptr_pt_orig; this.idx_orig = idx_orig; diff --git a/BlendFile/DNA/bGPDstroke.cs b/BlendFile/DNA/bGPDstroke.cs index 4d131d1..9ec01ff 100644 --- a/BlendFile/DNA/bGPDstroke.cs +++ b/BlendFile/DNA/bGPDstroke.cs @@ -73,6 +73,37 @@ namespace BlendFile.DNA { public bGPDstroke_Runtime runtime; [DNAFieldAttribute(28, "void", "*_pad5", 0)] public object ptr__pad5; + public bGPDstroke() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_points = default; + this.ptr_triangles = default; + this.totpoints = default; + this.tot_triangles = default; + this.thickness = default; + this.flag = default; + this._pad = default; + this.inittime = default; + this.colorname = default; + this.mat_nr = default; + this.caps = default; + this.gradient_f = default; + this.gradient_s = default; + this.fill_opacity_fac = default; + this.boundbox_min = default; + this.boundbox_max = default; + this.uv_rotation = default; + this.uv_translation = default; + this.uv_scale = default; + this.select_index = default; + this._pad4 = default; + this.ptr_dvert = default; + this.ptr__pad3 = default; + this.vert_color_fill = default; + this.ptr_editcurve = default; + this.runtime = default; + this.ptr__pad5 = default; + } public bGPDstroke( bGPDstroke ptr_next, bGPDstroke ptr_prev, diff --git a/BlendFile/DNA/bGPDstroke_Runtime.cs b/BlendFile/DNA/bGPDstroke_Runtime.cs index 924105a..a9786f2 100644 --- a/BlendFile/DNA/bGPDstroke_Runtime.cs +++ b/BlendFile/DNA/bGPDstroke_Runtime.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public bGPDstroke ptr_gps_orig; [DNAFieldAttribute(8, "void", "*_pad2", 0)] public object ptr__pad2; + public bGPDstroke_Runtime() { + this.tmp_layerinfo = default; + this.multi_frame_falloff = default; + this.stroke_start = default; + this.fill_start = default; + this.vertex_start = default; + this.curve_start = default; + this._pad0 = default; + this.ptr_gps_orig = default; + this.ptr__pad2 = default; + } public bGPDstroke_Runtime(char[] tmp_layerinfo, float multi_frame_falloff, int stroke_start, int fill_start, int vertex_start, int curve_start, int _pad0, bGPDstroke ptr_gps_orig, object ptr__pad2) { this.tmp_layerinfo = tmp_layerinfo; this.multi_frame_falloff = multi_frame_falloff; diff --git a/BlendFile/DNA/bGPDtriangle.cs b/BlendFile/DNA/bGPDtriangle.cs index f47e1b3..1a67d45 100644 --- a/BlendFile/DNA/bGPDtriangle.cs +++ b/BlendFile/DNA/bGPDtriangle.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct bGPDtriangle { [DNAFieldAttribute(0, "int", "verts[3]", 4)] public int[] verts = new System.Int32[3]; + public bGPDtriangle() { + this.verts = default; + } public bGPDtriangle(int[] verts) { this.verts = verts; } diff --git a/BlendFile/DNA/bGPdata.cs b/BlendFile/DNA/bGPdata.cs index 41e4b6a..a0a5bd0 100644 --- a/BlendFile/DNA/bGPdata.cs +++ b/BlendFile/DNA/bGPdata.cs @@ -79,6 +79,40 @@ namespace BlendFile.DNA { public bGPgrid grid; [DNAFieldAttribute(31, "bGPdata_Runtime", "runtime", 192)] public bGPdata_Runtime runtime; + public bGPdata() { + this.id = default; + this.ptr_adt = default; + this.layers = default; + this.flag = default; + this.curve_edit_resolution = default; + this.curve_edit_threshold = default; + this.curve_edit_corner_angle = default; + this.palettes = default; + this.vertex_group_names = default; + this.pixfactor = default; + this.line_color = default; + this.onion_factor = default; + this.onion_mode = default; + this.onion_flag = default; + this.gstep = default; + this.gstep_next = default; + this.gcolor_prev = default; + this.gcolor_next = default; + this.zdepth_offset = default; + this.ptr_ptr_mat = default; + this.totcol = default; + this.totlayer = default; + this.totframe = default; + this._pad2 = default; + this.totstroke = default; + this.totpoint = default; + this.draw_mode = default; + this.onion_keytype = default; + this.select_last_index = default; + this.vertex_group_active_index = default; + this.grid = default; + this.runtime = default; + } public bGPdata( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/bGPdata_Runtime.cs b/BlendFile/DNA/bGPdata_Runtime.cs index 893e597..d54e9ec 100644 --- a/BlendFile/DNA/bGPdata_Runtime.cs +++ b/BlendFile/DNA/bGPdata_Runtime.cs @@ -61,6 +61,31 @@ namespace BlendFile.DNA { public LineartCache ptr_lineart_cache; [DNAFieldAttribute(22, "GPencilUpdateCache", "*update_cache", 0)] public GPencilUpdateCache ptr_update_cache; + public bGPdata_Runtime() { + this.ptr_sbuffer = default; + this.ptr_sbuffer_position_buf = default; + this.ptr_sbuffer_color_buf = default; + this.ptr_sbuffer_batch = default; + this.ptr_sbuffer_gps = default; + this.playing = default; + this.matid = default; + this.sbuffer_sflag = default; + this._pad1 = default; + this.sbuffer_used = default; + this.sbuffer_size = default; + this.vert_color_fill = default; + this.fill_opacity_fac = default; + this.arrow_start = default; + this.arrow_end = default; + this.arrow_start_style = default; + this.arrow_end_style = default; + this.tot_cp_points = default; + this.ptr_cp_points = default; + this.ptr_sbuffer_brush = default; + this.ptr_gpencil_cache = default; + this.ptr_lineart_cache = default; + this.ptr_update_cache = default; + } public bGPdata_Runtime( object ptr_sbuffer, GPUVertBufHandle ptr_sbuffer_position_buf, diff --git a/BlendFile/DNA/bGPgrid.cs b/BlendFile/DNA/bGPgrid.cs index 6b110f1..9c302ae 100644 --- a/BlendFile/DNA/bGPgrid.cs +++ b/BlendFile/DNA/bGPgrid.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public int lines; [DNAFieldAttribute(5, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bGPgrid() { + this.color = default; + this.scale = default; + this.offset = default; + this._pad1 = default; + this.lines = default; + this._pad = default; + } public bGPgrid(float[] color, float[] scale, float[] offset, char[] _pad1, int lines, char[] _pad) { this.color = color; this.scale = scale; diff --git a/BlendFile/DNA/bIKParam.cs b/BlendFile/DNA/bIKParam.cs index 81c0ad4..db11276 100644 --- a/BlendFile/DNA/bIKParam.cs +++ b/BlendFile/DNA/bIKParam.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct bIKParam { [DNAFieldAttribute(0, "int", "iksolver", 4)] public int iksolver; + public bIKParam() { + this.iksolver = default; + } public bIKParam(int iksolver) { this.iksolver = iksolver; } diff --git a/BlendFile/DNA/bItasc.cs b/BlendFile/DNA/bItasc.cs index 35bc599..e560a7e 100644 --- a/BlendFile/DNA/bItasc.cs +++ b/BlendFile/DNA/bItasc.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float dampmax; [DNAFieldAttribute(11, "float", "dampeps", 4)] public float dampeps; + public bItasc() { + this.iksolver = default; + this.precision = default; + this.numiter = default; + this.numstep = default; + this.minstep = default; + this.maxstep = default; + this.solver = default; + this.flag = default; + this.feedback = default; + this.maxvel = default; + this.dampmax = default; + this.dampeps = default; + } public bItasc(int iksolver, float precision, short numiter, short numstep, float minstep, float maxstep, short solver, short flag, float feedback, float maxvel, float dampmax, float dampeps) { this.iksolver = iksolver; this.precision = precision; diff --git a/BlendFile/DNA/bKinematicConstraint.cs b/BlendFile/DNA/bKinematicConstraint.cs index 0fb83ce..7347dac 100644 --- a/BlendFile/DNA/bKinematicConstraint.cs +++ b/BlendFile/DNA/bKinematicConstraint.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public short mode; [DNAFieldAttribute(14, "float", "dist", 4)] public float dist; + public bKinematicConstraint() { + this.ptr_tar = default; + this.iterations = default; + this.flag = default; + this.rootbone = default; + this.max_rootbone = default; + this.subtarget = default; + this.ptr_poletar = default; + this.polesubtarget = default; + this.poleangle = default; + this.weight = default; + this.orientweight = default; + this.grabtarget = default; + this.type = default; + this.mode = default; + this.dist = default; + } public bKinematicConstraint(Object ptr_tar, short iterations, short flag, short rootbone, short max_rootbone, char[] subtarget, Object ptr_poletar, char[] polesubtarget, float poleangle, float weight, float orientweight, float[] grabtarget, short type, short mode, float dist) { this.ptr_tar = ptr_tar; this.iterations = iterations; diff --git a/BlendFile/DNA/bLocLimitConstraint.cs b/BlendFile/DNA/bLocLimitConstraint.cs index b78f843..4688758 100644 --- a/BlendFile/DNA/bLocLimitConstraint.cs +++ b/BlendFile/DNA/bLocLimitConstraint.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(7, "short", "flag2", 2)] public short flag2; + public bLocLimitConstraint() { + this.xmin = default; + this.xmax = default; + this.ymin = default; + this.ymax = default; + this.zmin = default; + this.zmax = default; + this.flag = default; + this.flag2 = default; + } public bLocLimitConstraint(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax, short flag, short flag2) { this.xmin = xmin; this.xmax = xmax; diff --git a/BlendFile/DNA/bLocateLikeConstraint.cs b/BlendFile/DNA/bLocateLikeConstraint.cs index 6b51402..600a078 100644 --- a/BlendFile/DNA/bLocateLikeConstraint.cs +++ b/BlendFile/DNA/bLocateLikeConstraint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int reserved1; [DNAFieldAttribute(3, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bLocateLikeConstraint() { + this.ptr_tar = default; + this.flag = default; + this.reserved1 = default; + this.subtarget = default; + } public bLocateLikeConstraint(Object ptr_tar, int flag, int reserved1, char[] subtarget) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bLockTrackConstraint.cs b/BlendFile/DNA/bLockTrackConstraint.cs index c8c22cc..ba948c7 100644 --- a/BlendFile/DNA/bLockTrackConstraint.cs +++ b/BlendFile/DNA/bLockTrackConstraint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int lockflag; [DNAFieldAttribute(3, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bLockTrackConstraint() { + this.ptr_tar = default; + this.trackflag = default; + this.lockflag = default; + this.subtarget = default; + } public bLockTrackConstraint(Object ptr_tar, int trackflag, int lockflag, char[] subtarget) { this.ptr_tar = ptr_tar; this.trackflag = trackflag; diff --git a/BlendFile/DNA/bMinMaxConstraint.cs b/BlendFile/DNA/bMinMaxConstraint.cs index 693737f..355fa0c 100644 --- a/BlendFile/DNA/bMinMaxConstraint.cs +++ b/BlendFile/DNA/bMinMaxConstraint.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] subtarget = new System.Char[64]; [DNAFieldAttribute(5, "int", "_pad", 4)] public int _pad; + public bMinMaxConstraint() { + this.ptr_tar = default; + this.minmaxflag = default; + this.offset = default; + this.flag = default; + this.subtarget = default; + this._pad = default; + } public bMinMaxConstraint(Object ptr_tar, int minmaxflag, float offset, int flag, char[] subtarget, int _pad) { this.ptr_tar = ptr_tar; this.minmaxflag = minmaxflag; diff --git a/BlendFile/DNA/bMotionPath.cs b/BlendFile/DNA/bMotionPath.cs index 2e724ea..6b64163 100644 --- a/BlendFile/DNA/bMotionPath.cs +++ b/BlendFile/DNA/bMotionPath.cs @@ -41,6 +41,21 @@ namespace BlendFile.DNA { public GPUBatchHandle ptr_batch_points; [DNAFieldAttribute(12, "void", "*_pad", 0)] public object ptr__pad; + public bMotionPath() { + this.ptr_points = default; + this.length = default; + this.start_frame = default; + this.end_frame = default; + this.color = default; + this.color_post = default; + this.line_thickness = default; + this.flag = default; + this._pad2 = default; + this.ptr_points_vbo = default; + this.ptr_batch_line = default; + this.ptr_batch_points = default; + this.ptr__pad = default; + } public bMotionPath(bMotionPathVert ptr_points, int length, int start_frame, int end_frame, float[] color, float[] color_post, int line_thickness, int flag, char[] _pad2, GPUVertBufHandle ptr_points_vbo, GPUBatchHandle ptr_batch_line, GPUBatchHandle ptr_batch_points, object ptr__pad) { this.ptr_points = ptr_points; this.length = length; diff --git a/BlendFile/DNA/bMotionPathVert.cs b/BlendFile/DNA/bMotionPathVert.cs index 8047998..6a6820a 100644 --- a/BlendFile/DNA/bMotionPathVert.cs +++ b/BlendFile/DNA/bMotionPathVert.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float[] co = new System.Single[3]; [DNAFieldAttribute(1, "int", "flag", 4)] public int flag; + public bMotionPathVert() { + this.co = default; + this.flag = default; + } public bMotionPathVert(float[] co, int flag) { this.co = co; this.flag = flag; diff --git a/BlendFile/DNA/bNestedNodePath.cs b/BlendFile/DNA/bNestedNodePath.cs index f8de0f6..698fbd3 100644 --- a/BlendFile/DNA/bNestedNodePath.cs +++ b/BlendFile/DNA/bNestedNodePath.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int node_id; [DNAFieldAttribute(1, "int", "id_in_node", 4)] public int id_in_node; + public bNestedNodePath() { + this.node_id = default; + this.id_in_node = default; + } public bNestedNodePath(int node_id, int id_in_node) { this.node_id = node_id; this.id_in_node = id_in_node; diff --git a/BlendFile/DNA/bNestedNodeRef.cs b/BlendFile/DNA/bNestedNodeRef.cs index 88b13dc..a90fe4f 100644 --- a/BlendFile/DNA/bNestedNodeRef.cs +++ b/BlendFile/DNA/bNestedNodeRef.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "bNestedNodePath", "path", 8)] public bNestedNodePath path; + public bNestedNodeRef() { + this.id = default; + this._pad = default; + this.path = default; + } public bNestedNodeRef(int id, char[] _pad, bNestedNodePath path) { this.id = id; this._pad = _pad; diff --git a/BlendFile/DNA/bNode.cs b/BlendFile/DNA/bNode.cs index 7e48e68..3a66938 100644 --- a/BlendFile/DNA/bNode.cs +++ b/BlendFile/DNA/bNode.cs @@ -79,6 +79,40 @@ namespace BlendFile.DNA { public bNodePanelState ptr_panel_states_array; [DNAFieldAttribute(31, "bNodeRuntimeHandle", "*runtime", 0)] public bNodeRuntimeHandle ptr_runtime; + public bNode() { + this.ptr_next = default; + this.ptr_prev = default; + this.inputs = default; + this.outputs = default; + this.name = default; + this.identifier = default; + this.flag = default; + this.idname = default; + this.ptr_typeinfo = default; + this.type = default; + this.ui_order = default; + this.custom1 = default; + this.custom2 = default; + this.custom3 = default; + this.custom4 = default; + this.warning_propagation = default; + this._pad = default; + this.ptr_id = default; + this.ptr_storage = default; + this.ptr_prop = default; + this.ptr_parent = default; + this.locx = default; + this.locy = default; + this.width = default; + this.height = default; + this.offsetx = default; + this.offsety = default; + this.label = default; + this.color = default; + this.num_panel_states = default; + this.ptr_panel_states_array = default; + this.ptr_runtime = default; + } public bNode( bNode ptr_next, bNode ptr_prev, diff --git a/BlendFile/DNA/bNodeInstanceKey.cs b/BlendFile/DNA/bNodeInstanceKey.cs index 333f555..37d39a2 100644 --- a/BlendFile/DNA/bNodeInstanceKey.cs +++ b/BlendFile/DNA/bNodeInstanceKey.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct bNodeInstanceKey { [DNAFieldAttribute(0, "int", "value", 4)] public int value; + public bNodeInstanceKey() { + this.value = default; + } public bNodeInstanceKey(int value) { this.value = value; } diff --git a/BlendFile/DNA/bNodeLink.cs b/BlendFile/DNA/bNodeLink.cs index 310086d..7963d4a 100644 --- a/BlendFile/DNA/bNodeLink.cs +++ b/BlendFile/DNA/bNodeLink.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(7, "int", "multi_input_socket_index", 4)] public int multi_input_socket_index; + public bNodeLink() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_fromnode = default; + this.ptr_tonode = default; + this.ptr_fromsock = default; + this.ptr_tosock = default; + this.flag = default; + this.multi_input_socket_index = default; + } public bNodeLink(bNodeLink ptr_next, bNodeLink ptr_prev, bNode ptr_fromnode, bNode ptr_tonode, bNodeSocket ptr_fromsock, bNodeSocket ptr_tosock, int flag, int multi_input_socket_index) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bNodePanelState.cs b/BlendFile/DNA/bNodePanelState.cs index 248e9a2..26be86f 100644 --- a/BlendFile/DNA/bNodePanelState.cs +++ b/BlendFile/DNA/bNodePanelState.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(2, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public bNodePanelState() { + this.identifier = default; + this.flag = default; + this._pad = default; + } public bNodePanelState(int identifier, char flag, char[] _pad) { this.identifier = identifier; this.flag = flag; diff --git a/BlendFile/DNA/bNodeSocket.cs b/BlendFile/DNA/bNodeSocket.cs index e213e24..d0d6369 100644 --- a/BlendFile/DNA/bNodeSocket.cs +++ b/BlendFile/DNA/bNodeSocket.cs @@ -67,6 +67,34 @@ namespace BlendFile.DNA { public bNodeStack ns; [DNAFieldAttribute(25, "bNodeSocketRuntimeHandle", "*runtime", 0)] public bNodeSocketRuntimeHandle ptr_runtime; + public bNodeSocket() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_prop = default; + this.identifier = default; + this.name = default; + this.ptr_storage = default; + this.type = default; + this.flag = default; + this.limit = default; + this.in_out = default; + this.ptr_typeinfo = default; + this.idname = default; + this.ptr_default_value = default; + this.stack_index = default; + this.display_shape = default; + this.attribute_domain = default; + this._pad = default; + this.label = default; + this.short_label = default; + this.description = default; + this.ptr_default_attribute_name = default; + this.own_index = default; + this.to_index = default; + this.ptr_link = default; + this.ns = default; + this.ptr_runtime = default; + } public bNodeSocket( bNodeSocket ptr_next, bNodeSocket ptr_prev, diff --git a/BlendFile/DNA/bNodeSocketValueBoolean.cs b/BlendFile/DNA/bNodeSocketValueBoolean.cs index 5412a52..4bc89df 100644 --- a/BlendFile/DNA/bNodeSocketValueBoolean.cs +++ b/BlendFile/DNA/bNodeSocketValueBoolean.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct bNodeSocketValueBoolean { [DNAFieldAttribute(0, "char", "value", 1)] public char value; + public bNodeSocketValueBoolean() { + this.value = default; + } public bNodeSocketValueBoolean(char value) { this.value = value; } diff --git a/BlendFile/DNA/bNodeSocketValueCollection.cs b/BlendFile/DNA/bNodeSocketValueCollection.cs index 354f54b..ebc3fef 100644 --- a/BlendFile/DNA/bNodeSocketValueCollection.cs +++ b/BlendFile/DNA/bNodeSocketValueCollection.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class bNodeSocketValueCollection { [DNAFieldAttribute(0, "Collection", "*value", 376)] public Collection ptr_value; + public bNodeSocketValueCollection() { + this.ptr_value = default; + } public bNodeSocketValueCollection(Collection ptr_value) { this.ptr_value = ptr_value; } diff --git a/BlendFile/DNA/bNodeSocketValueFloat.cs b/BlendFile/DNA/bNodeSocketValueFloat.cs index b40024a..d05d89d 100644 --- a/BlendFile/DNA/bNodeSocketValueFloat.cs +++ b/BlendFile/DNA/bNodeSocketValueFloat.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float min; [DNAFieldAttribute(3, "float", "max", 4)] public float max; + public bNodeSocketValueFloat() { + this.subtype = default; + this.value = default; + this.min = default; + this.max = default; + } public bNodeSocketValueFloat(int subtype, float value, float min, float max) { this.subtype = subtype; this.value = value; diff --git a/BlendFile/DNA/bNodeSocketValueImage.cs b/BlendFile/DNA/bNodeSocketValueImage.cs index 6f36187..9145a34 100644 --- a/BlendFile/DNA/bNodeSocketValueImage.cs +++ b/BlendFile/DNA/bNodeSocketValueImage.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class bNodeSocketValueImage { [DNAFieldAttribute(0, "Image", "*value", 1600)] public Image ptr_value; + public bNodeSocketValueImage() { + this.ptr_value = default; + } public bNodeSocketValueImage(Image ptr_value) { this.ptr_value = ptr_value; } diff --git a/BlendFile/DNA/bNodeSocketValueInt.cs b/BlendFile/DNA/bNodeSocketValueInt.cs index d6572f9..1714002 100644 --- a/BlendFile/DNA/bNodeSocketValueInt.cs +++ b/BlendFile/DNA/bNodeSocketValueInt.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int min; [DNAFieldAttribute(3, "int", "max", 4)] public int max; + public bNodeSocketValueInt() { + this.subtype = default; + this.value = default; + this.min = default; + this.max = default; + } public bNodeSocketValueInt(int subtype, int value, int min, int max) { this.subtype = subtype; this.value = value; diff --git a/BlendFile/DNA/bNodeSocketValueMaterial.cs b/BlendFile/DNA/bNodeSocketValueMaterial.cs index 2fbd44c..c912262 100644 --- a/BlendFile/DNA/bNodeSocketValueMaterial.cs +++ b/BlendFile/DNA/bNodeSocketValueMaterial.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class bNodeSocketValueMaterial { [DNAFieldAttribute(0, "Material", "*value", 392)] public Material ptr_value; + public bNodeSocketValueMaterial() { + this.ptr_value = default; + } public bNodeSocketValueMaterial(Material ptr_value) { this.ptr_value = ptr_value; } diff --git a/BlendFile/DNA/bNodeSocketValueMenu.cs b/BlendFile/DNA/bNodeSocketValueMenu.cs index 3ad9ca6..7a73340 100644 --- a/BlendFile/DNA/bNodeSocketValueMenu.cs +++ b/BlendFile/DNA/bNodeSocketValueMenu.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int runtime_flag; [DNAFieldAttribute(2, "RuntimeNodeEnumItemsHandle", "*enum_items", 0)] public RuntimeNodeEnumItemsHandle ptr_enum_items; + public bNodeSocketValueMenu() { + this.value = default; + this.runtime_flag = default; + this.ptr_enum_items = default; + } public bNodeSocketValueMenu(int value, int runtime_flag, RuntimeNodeEnumItemsHandle ptr_enum_items) { this.value = value; this.runtime_flag = runtime_flag; diff --git a/BlendFile/DNA/bNodeSocketValueObject.cs b/BlendFile/DNA/bNodeSocketValueObject.cs index d4f8124..56f7889 100644 --- a/BlendFile/DNA/bNodeSocketValueObject.cs +++ b/BlendFile/DNA/bNodeSocketValueObject.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class bNodeSocketValueObject { [DNAFieldAttribute(0, "Object", "*value", 1160)] public Object ptr_value; + public bNodeSocketValueObject() { + this.ptr_value = default; + } public bNodeSocketValueObject(Object ptr_value) { this.ptr_value = ptr_value; } diff --git a/BlendFile/DNA/bNodeSocketValueRGBA.cs b/BlendFile/DNA/bNodeSocketValueRGBA.cs index f38ec49..cd40f6c 100644 --- a/BlendFile/DNA/bNodeSocketValueRGBA.cs +++ b/BlendFile/DNA/bNodeSocketValueRGBA.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct bNodeSocketValueRGBA { [DNAFieldAttribute(0, "float", "value[4]", 4)] public float[] value = new System.Single[4]; + public bNodeSocketValueRGBA() { + this.value = default; + } public bNodeSocketValueRGBA(float[] value) { this.value = value; } diff --git a/BlendFile/DNA/bNodeSocketValueRotation.cs b/BlendFile/DNA/bNodeSocketValueRotation.cs index 1b6c5e0..17f43dc 100644 --- a/BlendFile/DNA/bNodeSocketValueRotation.cs +++ b/BlendFile/DNA/bNodeSocketValueRotation.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct bNodeSocketValueRotation { [DNAFieldAttribute(0, "float", "value_euler[3]", 4)] public float[] value_euler = new System.Single[3]; + public bNodeSocketValueRotation() { + this.value_euler = default; + } public bNodeSocketValueRotation(float[] value_euler) { this.value_euler = value_euler; } diff --git a/BlendFile/DNA/bNodeSocketValueString.cs b/BlendFile/DNA/bNodeSocketValueString.cs index 4b2ed92..059d1d6 100644 --- a/BlendFile/DNA/bNodeSocketValueString.cs +++ b/BlendFile/DNA/bNodeSocketValueString.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "char", "value[1024]", 1)] public char[] value = new System.Char[1024]; + public bNodeSocketValueString() { + this.subtype = default; + this._pad = default; + this.value = default; + } public bNodeSocketValueString(int subtype, char[] _pad, char[] value) { this.subtype = subtype; this._pad = _pad; diff --git a/BlendFile/DNA/bNodeSocketValueTexture.cs b/BlendFile/DNA/bNodeSocketValueTexture.cs index c786e5f..d917568 100644 --- a/BlendFile/DNA/bNodeSocketValueTexture.cs +++ b/BlendFile/DNA/bNodeSocketValueTexture.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public class bNodeSocketValueTexture { [DNAFieldAttribute(0, "Tex", "*value", 488)] public Tex ptr_value; + public bNodeSocketValueTexture() { + this.ptr_value = default; + } public bNodeSocketValueTexture(Tex ptr_value) { this.ptr_value = ptr_value; } diff --git a/BlendFile/DNA/bNodeSocketValueVector.cs b/BlendFile/DNA/bNodeSocketValueVector.cs index 8defbad..c91edcf 100644 --- a/BlendFile/DNA/bNodeSocketValueVector.cs +++ b/BlendFile/DNA/bNodeSocketValueVector.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float min; [DNAFieldAttribute(3, "float", "max", 4)] public float max; + public bNodeSocketValueVector() { + this.subtype = default; + this.value = default; + this.min = default; + this.max = default; + } public bNodeSocketValueVector(int subtype, float[] value, float min, float max) { this.subtype = subtype; this.value = value; diff --git a/BlendFile/DNA/bNodeStack.cs b/BlendFile/DNA/bNodeStack.cs index f8b8277..312fdd2 100644 --- a/BlendFile/DNA/bNodeStack.cs +++ b/BlendFile/DNA/bNodeStack.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public short external; [DNAFieldAttribute(10, "char", "_pad[4]", 1)] public char[] _pad = new System.Char[4]; + public bNodeStack() { + this.vec = default; + this.min = default; + this.max = default; + this.ptr_data = default; + this.hasinput = default; + this.hasoutput = default; + this.datatype = default; + this.sockettype = default; + this.is_copy = default; + this.external = default; + this._pad = default; + } public bNodeStack(float[] vec, float min, float max, object ptr_data, short hasinput, short hasoutput, short datatype, short sockettype, short is_copy, short external, char[] _pad) { this.vec = vec; this.min = min; diff --git a/BlendFile/DNA/bNodeTree.cs b/BlendFile/DNA/bNodeTree.cs index 9469b75..400fe29 100644 --- a/BlendFile/DNA/bNodeTree.cs +++ b/BlendFile/DNA/bNodeTree.cs @@ -73,6 +73,37 @@ namespace BlendFile.DNA { public PreviewImage ptr_preview; [DNAFieldAttribute(28, "bNodeTreeRuntimeHandle", "*runtime", 0)] public bNodeTreeRuntimeHandle ptr_runtime; + public bNodeTree() { + this.id = default; + this.ptr_adt = default; + this.ptr_owner_id = default; + this.ptr_typeinfo = default; + this.idname = default; + this.ptr_description = default; + this.ptr_gpd = default; + this.view_center = default; + this.nodes = default; + this.links = default; + this.type = default; + this.cur_index = default; + this.flag = default; + this.chunksize = default; + this.execution_mode = default; + this.precision = default; + this.color_tag = default; + this.default_group_node_width = default; + this.viewer_border = default; + this.inputs = default; + this.outputs = default; + this.tree_interface = default; + this.ptr_previews = default; + this.active_viewer_key = default; + this.nested_node_refs_num = default; + this.ptr_nested_node_refs = default; + this.ptr_geometry_node_asset_traits = default; + this.ptr_preview = default; + this.ptr_runtime = default; + } public bNodeTree( ID id, AnimData ptr_adt, diff --git a/BlendFile/DNA/bNodeTreeInterface.cs b/BlendFile/DNA/bNodeTreeInterface.cs index 5119146..977a12c 100644 --- a/BlendFile/DNA/bNodeTreeInterface.cs +++ b/BlendFile/DNA/bNodeTreeInterface.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int next_uid; [DNAFieldAttribute(3, "bNodeTreeInterfaceRuntimeHandle", "*runtime", 0)] public bNodeTreeInterfaceRuntimeHandle ptr_runtime; + public bNodeTreeInterface() { + this.root_panel = default; + this.active_index = default; + this.next_uid = default; + this.ptr_runtime = default; + } public bNodeTreeInterface(bNodeTreeInterfacePanel root_panel, int active_index, int next_uid, bNodeTreeInterfaceRuntimeHandle ptr_runtime) { this.root_panel = root_panel; this.active_index = active_index; diff --git a/BlendFile/DNA/bNodeTreeInterfaceItem.cs b/BlendFile/DNA/bNodeTreeInterfaceItem.cs index 3648669..eb29a01 100644 --- a/BlendFile/DNA/bNodeTreeInterfaceItem.cs +++ b/BlendFile/DNA/bNodeTreeInterfaceItem.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public char item_type; [DNAFieldAttribute(1, "char", "_pad[7]", 1)] public char[] _pad = new System.Char[7]; + public bNodeTreeInterfaceItem() { + this.item_type = default; + this._pad = default; + } public bNodeTreeInterfaceItem(char item_type, char[] _pad) { this.item_type = item_type; this._pad = _pad; diff --git a/BlendFile/DNA/bNodeTreeInterfacePanel.cs b/BlendFile/DNA/bNodeTreeInterfacePanel.cs index 28ee98b..ec7776e 100644 --- a/BlendFile/DNA/bNodeTreeInterfacePanel.cs +++ b/BlendFile/DNA/bNodeTreeInterfacePanel.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public int items_num; [DNAFieldAttribute(7, "int", "identifier", 4)] public int identifier; + public bNodeTreeInterfacePanel() { + this.item = default; + this.ptr_name = default; + this.ptr_description = default; + this.flag = default; + this._pad = default; + this.ptr_ptr_items_array = default; + this.items_num = default; + this.identifier = default; + } public bNodeTreeInterfacePanel(bNodeTreeInterfaceItem item, char ptr_name, char ptr_description, int flag, char[] _pad, bNodeTreeInterfaceItem ptr_ptr_items_array, int items_num, int identifier) { this.item = item; this.ptr_name = ptr_name; diff --git a/BlendFile/DNA/bNodeTreeInterfaceSocket.cs b/BlendFile/DNA/bNodeTreeInterfaceSocket.cs index 42a9627..e56112e 100644 --- a/BlendFile/DNA/bNodeTreeInterfaceSocket.cs +++ b/BlendFile/DNA/bNodeTreeInterfaceSocket.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public object ptr_socket_data; [DNAFieldAttribute(10, "IDProperty", "*properties", 136)] public IDProperty ptr_properties; + public bNodeTreeInterfaceSocket() { + this.item = default; + this.ptr_name = default; + this.ptr_description = default; + this.ptr_socket_type = default; + this.flag = default; + this.attribute_domain = default; + this.default_input = default; + this.ptr_default_attribute_name = default; + this.ptr_identifier = default; + this.ptr_socket_data = default; + this.ptr_properties = default; + } public bNodeTreeInterfaceSocket(bNodeTreeInterfaceItem item, char ptr_name, char ptr_description, char ptr_socket_type, int flag, short attribute_domain, short default_input, char ptr_default_attribute_name, char ptr_identifier, object ptr_socket_data, IDProperty ptr_properties) { this.item = item; this.ptr_name = ptr_name; diff --git a/BlendFile/DNA/bNodeTreePath.cs b/BlendFile/DNA/bNodeTreePath.cs index a0ec96c..73b6955 100644 --- a/BlendFile/DNA/bNodeTreePath.cs +++ b/BlendFile/DNA/bNodeTreePath.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public char[] node_name = new System.Char[64]; [DNAFieldAttribute(7, "char", "display_name[64]", 1)] public char[] display_name = new System.Char[64]; + public bNodeTreePath() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_nodetree = default; + this.parent_key = default; + this._pad = default; + this.view_center = default; + this.node_name = default; + this.display_name = default; + } public bNodeTreePath(bNodeTreePath ptr_next, bNodeTreePath ptr_prev, bNodeTree ptr_nodetree, bNodeInstanceKey parent_key, char[] _pad, float[] view_center, char[] node_name, char[] display_name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bObjectSolverConstraint.cs b/BlendFile/DNA/bObjectSolverConstraint.cs index a46c203..401525c 100644 --- a/BlendFile/DNA/bObjectSolverConstraint.cs +++ b/BlendFile/DNA/bObjectSolverConstraint.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public float[,] invmat = new System.Single[4,4]; [DNAFieldAttribute(5, "Object", "*camera", 1160)] public Object ptr_camera; + public bObjectSolverConstraint() { + this.ptr_clip = default; + this.flag = default; + this._pad = default; + this.@object = default; + this.invmat = default; + this.ptr_camera = default; + } public bObjectSolverConstraint(MovieClip ptr_clip, int flag, char[] _pad, char[] @object, float[,] invmat, Object ptr_camera) { this.ptr_clip = ptr_clip; this.flag = flag; diff --git a/BlendFile/DNA/bPathCompare.cs b/BlendFile/DNA/bPathCompare.cs index 3815efc..5a9c323 100644 --- a/BlendFile/DNA/bPathCompare.cs +++ b/BlendFile/DNA/bPathCompare.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(4, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public bPathCompare() { + this.ptr_next = default; + this.ptr_prev = default; + this.path = default; + this.flag = default; + this._pad0 = default; + } public bPathCompare(bPathCompare ptr_next, bPathCompare ptr_prev, char[] path, char flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bPivotConstraint.cs b/BlendFile/DNA/bPivotConstraint.cs index 129623e..06bed07 100644 --- a/BlendFile/DNA/bPivotConstraint.cs +++ b/BlendFile/DNA/bPivotConstraint.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public short rotAxis; [DNAFieldAttribute(4, "short", "flag", 2)] public short flag; + public bPivotConstraint() { + this.ptr_tar = default; + this.subtarget = default; + this.offset = default; + this.rotAxis = default; + this.flag = default; + } public bPivotConstraint(Object ptr_tar, char[] subtarget, float[] offset, short rotAxis, short flag) { this.ptr_tar = ptr_tar; this.subtarget = subtarget; diff --git a/BlendFile/DNA/bPose.cs b/BlendFile/DNA/bPose.cs index b858a3f..9bac505 100644 --- a/BlendFile/DNA/bPose.cs +++ b/BlendFile/DNA/bPose.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public object ptr_ikparam; [DNAFieldAttribute(13, "bAnimVizSettings", "avs", 32)] public bAnimVizSettings avs; + public bPose() { + this.chanbase = default; + this.ptr_chanhash = default; + this.ptr_ptr_chan_array = default; + this.flag = default; + this._pad = default; + this.ctime = default; + this.stride_offset = default; + this.cyclic_offset = default; + this.agroups = default; + this.active_group = default; + this.iksolver = default; + this.ptr_ikdata = default; + this.ptr_ikparam = default; + this.avs = default; + } public bPose(ListBase chanbase, GHash ptr_chanhash, bPoseChannel ptr_ptr_chan_array, short flag, char[] _pad, float ctime, float[] stride_offset, float[] cyclic_offset, ListBase agroups, int active_group, int iksolver, object ptr_ikdata, object ptr_ikparam, bAnimVizSettings avs) { this.chanbase = chanbase; this.ptr_chanhash = ptr_chanhash; diff --git a/BlendFile/DNA/bPoseChannel.cs b/BlendFile/DNA/bPoseChannel.cs index 0c5284d..ee78bae 100644 --- a/BlendFile/DNA/bPoseChannel.cs +++ b/BlendFile/DNA/bPoseChannel.cs @@ -153,6 +153,77 @@ namespace BlendFile.DNA { public BoneColor color; [DNAFieldAttribute(68, "bPoseChannel_Runtime", "runtime", 168)] public bPoseChannel_Runtime runtime; + public bPoseChannel() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_prop = default; + this.constraints = default; + this.name = default; + this.flag = default; + this.ikflag = default; + this.protectflag = default; + this.agrp_index = default; + this.constflag = default; + this.selectflag = default; + this.drawflag = default; + this.bboneflag = default; + this._pad0 = default; + this.ptr_bone = default; + this.ptr_parent = default; + this.ptr_child = default; + this.iktree = default; + this.siktree = default; + this.ptr_mpath = default; + this.ptr_custom = default; + this.ptr_custom_tx = default; + this.custom_scale = default; + this.custom_scale_xyz = default; + this.custom_translation = default; + this.custom_rotation_euler = default; + this.custom_shape_wire_width = default; + this.loc = default; + this.size = default; + this.eul = default; + this.quat = default; + this.rotAxis = default; + this.rotAngle = default; + this.rotmode = default; + this._pad = default; + this.chan_mat = default; + this.pose_mat = default; + this.disp_mat = default; + this.disp_tail_mat = default; + this.constinv = default; + this.pose_head = default; + this.pose_tail = default; + this.limitmin = default; + this.limitmax = default; + this.stiffness = default; + this.ikstretch = default; + this.ikrotweight = default; + this.iklinweight = 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.ptr_bbone_prev = default; + this.ptr_bbone_next = default; + this.ptr_temp = default; + this.ptr_draw_data = default; + this.ptr_orig_pchan = default; + this.color = default; + this.runtime = default; + } public bPoseChannel( bPoseChannel ptr_next, bPoseChannel ptr_prev, diff --git a/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs b/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs index 24e116c..7917b29 100644 --- a/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs +++ b/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float plane_offset; [DNAFieldAttribute(3, "float", "depth_scale", 4)] public float depth_scale; + public bPoseChannel_BBoneSegmentBoundary() { + this.point = default; + this.plane_normal = default; + this.plane_offset = default; + this.depth_scale = default; + } public bPoseChannel_BBoneSegmentBoundary(float[] point, float[] plane_normal, float plane_offset, float depth_scale) { this.point = point; this.plane_normal = plane_normal; diff --git a/BlendFile/DNA/bPoseChannel_Runtime.cs b/BlendFile/DNA/bPoseChannel_Runtime.cs index 0480dc6..500e5c2 100644 --- a/BlendFile/DNA/bPoseChannel_Runtime.cs +++ b/BlendFile/DNA/bPoseChannel_Runtime.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public bPoseChannel_BBoneSegmentBoundary ptr_bbone_segment_boundaries; [DNAFieldAttribute(10, "void", "*_pad", 0)] public object ptr__pad; + public bPoseChannel_Runtime() { + this.session_uid = default; + this.deform_dual_quat = default; + this.bbone_segments = default; + this.bbone_arc_length_reciprocal = default; + this._pad1 = default; + this.ptr_bbone_rest_mats = default; + this.ptr_bbone_pose_mats = default; + this.ptr_bbone_deform_mats = default; + this.ptr_bbone_dual_quats = default; + this.ptr_bbone_segment_boundaries = default; + this.ptr__pad = default; + } public bPoseChannel_Runtime(SessionUID session_uid, DualQuat deform_dual_quat, int bbone_segments, float bbone_arc_length_reciprocal, char[] _pad1, Mat4 ptr_bbone_rest_mats, Mat4 ptr_bbone_pose_mats, Mat4 ptr_bbone_deform_mats, DualQuat ptr_bbone_dual_quats, bPoseChannel_BBoneSegmentBoundary ptr_bbone_segment_boundaries, object ptr__pad) { this.session_uid = session_uid; this.deform_dual_quat = deform_dual_quat; diff --git a/BlendFile/DNA/bPythonConstraint.cs b/BlendFile/DNA/bPythonConstraint.cs index dfd9278..f3bd260 100644 --- a/BlendFile/DNA/bPythonConstraint.cs +++ b/BlendFile/DNA/bPythonConstraint.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public Object ptr_tar; [DNAFieldAttribute(6, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bPythonConstraint() { + this.ptr_text = default; + this.ptr_prop = default; + this.flag = default; + this.tarnum = default; + this.targets = default; + this.ptr_tar = default; + this.subtarget = default; + } public bPythonConstraint(Text ptr_text, IDProperty ptr_prop, int flag, int tarnum, ListBase targets, Object ptr_tar, char[] subtarget) { this.ptr_text = ptr_text; this.ptr_prop = ptr_prop; diff --git a/BlendFile/DNA/bRigidBodyJointConstraint.cs b/BlendFile/DNA/bRigidBodyJointConstraint.cs index 7adddc9..506c147 100644 --- a/BlendFile/DNA/bRigidBodyJointConstraint.cs +++ b/BlendFile/DNA/bRigidBodyJointConstraint.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(13, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public bRigidBodyJointConstraint() { + this.ptr_tar = default; + this.ptr_child = default; + this.type = default; + this.pivX = default; + this.pivY = default; + this.pivZ = default; + this.axX = default; + this.axY = default; + this.axZ = default; + this.minLimit = default; + this.maxLimit = default; + this.extraFz = default; + this.flag = default; + this._pad = default; + } public bRigidBodyJointConstraint(Object ptr_tar, Object ptr_child, int type, float pivX, float pivY, float pivZ, float axX, float axY, float axZ, float[] minLimit, float[] maxLimit, float extraFz, short flag, char[] _pad) { this.ptr_tar = ptr_tar; this.ptr_child = ptr_child; diff --git a/BlendFile/DNA/bRotLimitConstraint.cs b/BlendFile/DNA/bRotLimitConstraint.cs index 5a80608..864a72f 100644 --- a/BlendFile/DNA/bRotLimitConstraint.cs +++ b/BlendFile/DNA/bRotLimitConstraint.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char euler_order; [DNAFieldAttribute(9, "char", "_pad[3]", 1)] public char[] _pad = new System.Char[3]; + public bRotLimitConstraint() { + this.xmin = default; + this.xmax = default; + this.ymin = default; + this.ymax = default; + this.zmin = default; + this.zmax = default; + this.flag = default; + this.flag2 = default; + this.euler_order = default; + this._pad = default; + } public bRotLimitConstraint(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax, short flag, short flag2, char euler_order, char[] _pad) { this.xmin = xmin; this.xmax = xmax; diff --git a/BlendFile/DNA/bRotateLikeConstraint.cs b/BlendFile/DNA/bRotateLikeConstraint.cs index 3a6ef93..83896b0 100644 --- a/BlendFile/DNA/bRotateLikeConstraint.cs +++ b/BlendFile/DNA/bRotateLikeConstraint.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(5, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bRotateLikeConstraint() { + this.ptr_tar = default; + this.flag = default; + this.euler_order = default; + this.mix_mode = default; + this._pad = default; + this.subtarget = default; + } public bRotateLikeConstraint(Object ptr_tar, int flag, char euler_order, char mix_mode, char[] _pad, char[] subtarget) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bSameVolumeConstraint.cs b/BlendFile/DNA/bSameVolumeConstraint.cs index 4145e3a..40132ef 100644 --- a/BlendFile/DNA/bSameVolumeConstraint.cs +++ b/BlendFile/DNA/bSameVolumeConstraint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(3, "float", "volume", 4)] public float volume; + public bSameVolumeConstraint() { + this.flag = default; + this.mode = default; + this._pad = default; + this.volume = default; + } public bSameVolumeConstraint(char flag, char mode, char[] _pad, float volume) { this.flag = flag; this.mode = mode; diff --git a/BlendFile/DNA/bScreen.cs b/BlendFile/DNA/bScreen.cs index 257cbe4..e39b7ef 100644 --- a/BlendFile/DNA/bScreen.cs +++ b/BlendFile/DNA/bScreen.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public wmTooltipState ptr_tool_tip; [DNAFieldAttribute(23, "PreviewImage", "*preview", 48)] public PreviewImage ptr_preview; + public bScreen() { + this.id = default; + this.vertbase = default; + this.edgebase = default; + this.areabase = default; + this.regionbase = default; + this.ptr_scene = default; + this.flag = default; + this.winid = default; + this.redraws_flag = default; + this.temp = default; + this.state = default; + this.do_draw = default; + this.do_refresh = default; + this.do_draw_gesture = default; + this.do_draw_paintcursor = default; + this.do_draw_drag = default; + this.skip_handling = default; + this.scrubbing = default; + this._pad = default; + this.ptr_active_region = default; + this.ptr_animtimer = default; + this.ptr_context = default; + this.ptr_tool_tip = default; + this.ptr_preview = default; + } public bScreen( ID id, ListBase vertbase, diff --git a/BlendFile/DNA/bShrinkwrapConstraint.cs b/BlendFile/DNA/bShrinkwrapConstraint.cs index 13b3183..4fbaa2d 100644 --- a/BlendFile/DNA/bShrinkwrapConstraint.cs +++ b/BlendFile/DNA/bShrinkwrapConstraint.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public char trackAxis; [DNAFieldAttribute(9, "char", "_pad", 1)] public char _pad; + public bShrinkwrapConstraint() { + this.ptr_target = default; + this.dist = default; + this.shrinkType = default; + this.projAxis = default; + this.projAxisSpace = default; + this.projLimit = default; + this.shrinkMode = default; + this.flag = default; + this.trackAxis = default; + this._pad = default; + } public bShrinkwrapConstraint(Object ptr_target, float dist, short shrinkType, char projAxis, char projAxisSpace, float projLimit, char shrinkMode, char flag, char trackAxis, char _pad) { this.ptr_target = ptr_target; this.dist = dist; diff --git a/BlendFile/DNA/bSizeLikeConstraint.cs b/BlendFile/DNA/bSizeLikeConstraint.cs index 78af4a3..0f4cb20 100644 --- a/BlendFile/DNA/bSizeLikeConstraint.cs +++ b/BlendFile/DNA/bSizeLikeConstraint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float power; [DNAFieldAttribute(3, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bSizeLikeConstraint() { + this.ptr_tar = default; + this.flag = default; + this.power = default; + this.subtarget = default; + } public bSizeLikeConstraint(Object ptr_tar, int flag, float power, char[] subtarget) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bSizeLimitConstraint.cs b/BlendFile/DNA/bSizeLimitConstraint.cs index dbe43a1..5c7ab01 100644 --- a/BlendFile/DNA/bSizeLimitConstraint.cs +++ b/BlendFile/DNA/bSizeLimitConstraint.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(7, "short", "flag2", 2)] public short flag2; + public bSizeLimitConstraint() { + this.xmin = default; + this.xmax = default; + this.ymin = default; + this.ymax = default; + this.zmin = default; + this.zmax = default; + this.flag = default; + this.flag2 = default; + } public bSizeLimitConstraint(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax, short flag, short flag2) { this.xmin = xmin; this.xmax = xmax; diff --git a/BlendFile/DNA/bSound.cs b/BlendFile/DNA/bSound.cs index 12fc641..923a478 100644 --- a/BlendFile/DNA/bSound.cs +++ b/BlendFile/DNA/bSound.cs @@ -59,6 +59,30 @@ namespace BlendFile.DNA { public int audio_channels; [DNAFieldAttribute(21, "int", "samplerate", 4)] public int samplerate; + public bSound() { + this.id = default; + this.name = default; + this.ptr_packedfile = default; + this.ptr_handle = default; + this.ptr_newpackedfile = default; + this.ptr_ipo = default; + this.volume = default; + this.attenuation = default; + this.pitch = default; + this.min_gain = default; + this.max_gain = default; + this.distance = default; + this.flags = default; + this.tags = default; + this._pad = default; + this.offset_time = default; + this.ptr_cache = default; + this.ptr_waveform = default; + this.ptr_playback_handle = default; + this.ptr_spinlock = default; + this.audio_channels = default; + this.samplerate = default; + } public bSound( ID id, char[] name, diff --git a/BlendFile/DNA/bSplineIKConstraint.cs b/BlendFile/DNA/bSplineIKConstraint.cs index bb39cfb..130e011 100644 --- a/BlendFile/DNA/bSplineIKConstraint.cs +++ b/BlendFile/DNA/bSplineIKConstraint.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float bulge_max; [DNAFieldAttribute(11, "float", "bulge_smooth", 4)] public float bulge_smooth; + public bSplineIKConstraint() { + this.ptr_tar = default; + this.ptr_points = default; + this.numpoints = default; + this.chainlen = default; + this.flag = default; + this.xzScaleMode = default; + this.yScaleMode = default; + this._pad = default; + this.bulge = default; + this.bulge_min = default; + this.bulge_max = default; + this.bulge_smooth = default; + } public bSplineIKConstraint(Object ptr_tar, float ptr_points, short numpoints, short chainlen, short flag, short xzScaleMode, short yScaleMode, short[] _pad, float bulge, float bulge_min, float bulge_max, float bulge_smooth) { this.ptr_tar = ptr_tar; this.ptr_points = ptr_points; diff --git a/BlendFile/DNA/bStretchToConstraint.cs b/BlendFile/DNA/bStretchToConstraint.cs index e9c83f5..86b44df 100644 --- a/BlendFile/DNA/bStretchToConstraint.cs +++ b/BlendFile/DNA/bStretchToConstraint.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public float bulge_smooth; [DNAFieldAttribute(9, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bStretchToConstraint() { + this.ptr_tar = default; + this.flag = default; + this.volmode = default; + this.plane = default; + this.orglength = default; + this.bulge = default; + this.bulge_min = default; + this.bulge_max = default; + this.bulge_smooth = default; + this.subtarget = default; + } public bStretchToConstraint(Object ptr_tar, int flag, int volmode, int plane, float orglength, float bulge, float bulge_min, float bulge_max, float bulge_smooth, char[] subtarget) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bTheme.cs b/BlendFile/DNA/bTheme.cs index 71cb1f5..0e5eff0 100644 --- a/BlendFile/DNA/bTheme.cs +++ b/BlendFile/DNA/bTheme.cs @@ -69,6 +69,35 @@ namespace BlendFile.DNA { public ThemeStripColor[] strip_color = new ThemeStripColor[9]; [DNAFieldAttribute(26, "int", "active_theme_area", 4)] public int active_theme_area; + public bTheme() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.filepath = default; + this.tui = default; + this.tbuts = default; + this.tv3d = default; + this.tfile = default; + this.tipo = default; + this.tinfo = default; + this.tact = default; + this.tnla = default; + this.tseq = default; + this.tima = default; + this.text = default; + this.toops = default; + this.tnode = default; + this.tuserpref = default; + this.tconsole = default; + this.tclip = default; + this.ttopbar = default; + this.tstatusbar = default; + this.space_spreadsheet = default; + this.tarm = default; + this.collection_color = default; + this.strip_color = default; + this.active_theme_area = default; + } public bTheme( bTheme ptr_next, bTheme ptr_prev, diff --git a/BlendFile/DNA/bToolRef.cs b/BlendFile/DNA/bToolRef.cs index 4adcecc..f42c5b4 100644 --- a/BlendFile/DNA/bToolRef.cs +++ b/BlendFile/DNA/bToolRef.cs @@ -33,6 +33,17 @@ namespace BlendFile.DNA { public IDProperty ptr_properties; [DNAFieldAttribute(8, "bToolRef_Runtime", "*runtime", 0)] public bToolRef_Runtime ptr_runtime; + public bToolRef() { + this.ptr_next = default; + this.ptr_prev = default; + this.idname = default; + this.idname_fallback = default; + this.tag = default; + this.space_type = default; + this.mode = default; + this.ptr_properties = default; + this.ptr_runtime = default; + } public bToolRef(bToolRef ptr_next, bToolRef ptr_prev, char[] idname, char[] idname_fallback, short tag, short space_type, int mode, IDProperty ptr_properties, bToolRef_Runtime ptr_runtime) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bTrackToConstraint.cs b/BlendFile/DNA/bTrackToConstraint.cs index 19ed5f7..05707f7 100644 --- a/BlendFile/DNA/bTrackToConstraint.cs +++ b/BlendFile/DNA/bTrackToConstraint.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[4]; [DNAFieldAttribute(5, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bTrackToConstraint() { + this.ptr_tar = default; + this.reserved1 = default; + this.reserved2 = default; + this.flags = default; + this._pad = default; + this.subtarget = default; + } public bTrackToConstraint(Object ptr_tar, int reserved1, int reserved2, int flags, char[] _pad, char[] subtarget) { this.ptr_tar = ptr_tar; this.reserved1 = reserved1; diff --git a/BlendFile/DNA/bTransLikeConstraint.cs b/BlendFile/DNA/bTransLikeConstraint.cs index cb0c292..0a07697 100644 --- a/BlendFile/DNA/bTransLikeConstraint.cs +++ b/BlendFile/DNA/bTransLikeConstraint.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "char", "subtarget[64]", 1)] public char[] subtarget = new System.Char[64]; + public bTransLikeConstraint() { + this.ptr_tar = default; + this.flag = default; + this.mix_mode = default; + this._pad = default; + this.subtarget = default; + } public bTransLikeConstraint(Object ptr_tar, int flag, char mix_mode, char[] _pad, char[] subtarget) { this.ptr_tar = ptr_tar; this.flag = flag; diff --git a/BlendFile/DNA/bTransformCacheConstraint.cs b/BlendFile/DNA/bTransformCacheConstraint.cs index 8d6aa79..5935935 100644 --- a/BlendFile/DNA/bTransformCacheConstraint.cs +++ b/BlendFile/DNA/bTransformCacheConstraint.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public CacheReader ptr_reader; [DNAFieldAttribute(3, "char", "reader_object_path[1024]", 1)] public char[] reader_object_path = new System.Char[1024]; + public bTransformCacheConstraint() { + this.ptr_cache_file = default; + this.object_path = default; + this.ptr_reader = default; + this.reader_object_path = default; + } public bTransformCacheConstraint(CacheFile ptr_cache_file, char[] object_path, CacheReader ptr_reader, char[] reader_object_path) { this.ptr_cache_file = ptr_cache_file; this.object_path = object_path; diff --git a/BlendFile/DNA/bTransformConstraint.cs b/BlendFile/DNA/bTransformConstraint.cs index a8e1e41..a39af09 100644 --- a/BlendFile/DNA/bTransformConstraint.cs +++ b/BlendFile/DNA/bTransformConstraint.cs @@ -63,6 +63,32 @@ namespace BlendFile.DNA { public float[] to_min_scale = new System.Single[3]; [DNAFieldAttribute(23, "float", "to_max_scale[3]", 4)] public float[] to_max_scale = new System.Single[3]; + public bTransformConstraint() { + this.ptr_tar = default; + this.subtarget = default; + this.from = default; + this.to = default; + this.map = default; + this.expo = default; + this.from_rotation_mode = default; + this.to_euler_order = default; + this.mix_mode_loc = default; + this.mix_mode_rot = default; + this.mix_mode_scale = default; + this._pad = default; + this.from_min = default; + this.from_max = default; + this.to_min = default; + this.to_max = default; + this.from_min_rot = default; + this.from_max_rot = default; + this.to_min_rot = default; + this.to_max_rot = default; + this.from_min_scale = default; + this.from_max_scale = default; + this.to_min_scale = default; + this.to_max_scale = default; + } public bTransformConstraint( Object ptr_tar, char[] subtarget, diff --git a/BlendFile/DNA/bUUID.cs b/BlendFile/DNA/bUUID.cs index 2e78f09..ccc2215 100644 --- a/BlendFile/DNA/bUUID.cs +++ b/BlendFile/DNA/bUUID.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public byte clock_seq_low; [DNAFieldAttribute(5, "uchar", "node[6]", 1)] public byte[] node = new System.Byte[6]; + public bUUID() { + this.time_low = default; + this.time_mid = default; + this.time_hi_and_version = default; + this.clock_seq_hi_and_reserved = default; + this.clock_seq_low = default; + this.node = default; + } public bUUID(int time_low, ushort time_mid, ushort time_hi_and_version, byte clock_seq_hi_and_reserved, byte clock_seq_low, byte[] node) { this.time_low = time_low; this.time_mid = time_mid; diff --git a/BlendFile/DNA/bUserAssetLibrary.cs b/BlendFile/DNA/bUserAssetLibrary.cs index 142b0c0..fadbdec 100644 --- a/BlendFile/DNA/bUserAssetLibrary.cs +++ b/BlendFile/DNA/bUserAssetLibrary.cs @@ -29,6 +29,15 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(6, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public bUserAssetLibrary() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.path = default; + this.import_method = default; + this.flag = default; + this._pad0 = default; + } public bUserAssetLibrary(bUserAssetLibrary ptr_next, bUserAssetLibrary ptr_prev, char[] name, char[] path, short import_method, short flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bUserAssetShelfSettings.cs b/BlendFile/DNA/bUserAssetShelfSettings.cs index 4457a4b..80a52c8 100644 --- a/BlendFile/DNA/bUserAssetShelfSettings.cs +++ b/BlendFile/DNA/bUserAssetShelfSettings.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] shelf_idname = new System.Char[64]; [DNAFieldAttribute(3, "ListBase", "enabled_catalog_paths", 16)] public ListBase enabled_catalog_paths; + public bUserAssetShelfSettings() { + this.ptr_next = default; + this.ptr_prev = default; + this.shelf_idname = default; + this.enabled_catalog_paths = default; + } public bUserAssetShelfSettings(bUserAssetShelfSettings ptr_next, bUserAssetShelfSettings ptr_prev, char[] shelf_idname, ListBase enabled_catalog_paths) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bUserExtensionRepo.cs b/BlendFile/DNA/bUserExtensionRepo.cs index 046b771..1c733b7 100644 --- a/BlendFile/DNA/bUserExtensionRepo.cs +++ b/BlendFile/DNA/bUserExtensionRepo.cs @@ -35,6 +35,18 @@ namespace BlendFile.DNA { public byte source; [DNAFieldAttribute(9, "char", "_pad0[6]", 1)] public char[] _pad0 = new System.Char[6]; + public bUserExtensionRepo() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.module = default; + this.ptr_access_token = default; + this.custom_dirpath = default; + this.remote_url = default; + this.flag = default; + this.source = default; + this._pad0 = default; + } public bUserExtensionRepo(bUserExtensionRepo ptr_next, bUserExtensionRepo ptr_prev, char[] name, char[] module, char ptr_access_token, char[] custom_dirpath, char[] remote_url, byte flag, byte source, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bUserMenu.cs b/BlendFile/DNA/bUserMenu.cs index 1958507..232b362 100644 --- a/BlendFile/DNA/bUserMenu.cs +++ b/BlendFile/DNA/bUserMenu.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char[] context = new System.Char[64]; [DNAFieldAttribute(5, "ListBase", "items", 16)] public ListBase items; + public bUserMenu() { + this.ptr_next = default; + this.ptr_prev = default; + this.space_type = default; + this._pad0 = default; + this.context = default; + this.items = default; + } public bUserMenu(bUserMenu ptr_next, bUserMenu ptr_prev, char space_type, char[] _pad0, char[] context, ListBase items) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bUserMenuItem.cs b/BlendFile/DNA/bUserMenuItem.cs index 7dc478d..bcf34ad 100644 --- a/BlendFile/DNA/bUserMenuItem.cs +++ b/BlendFile/DNA/bUserMenuItem.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public char type; [DNAFieldAttribute(4, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public bUserMenuItem() { + this.ptr_next = default; + this.ptr_prev = default; + this.ui_name = default; + this.type = default; + this._pad0 = default; + } public bUserMenuItem(bUserMenuItem ptr_next, bUserMenuItem ptr_prev, char[] ui_name, char type, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/bUserMenuItem_Menu.cs b/BlendFile/DNA/bUserMenuItem_Menu.cs index afba8ef..58f1f03 100644 --- a/BlendFile/DNA/bUserMenuItem_Menu.cs +++ b/BlendFile/DNA/bUserMenuItem_Menu.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public bUserMenuItem item; [DNAFieldAttribute(1, "char", "mt_idname[64]", 1)] public char[] mt_idname = new System.Char[64]; + public bUserMenuItem_Menu() { + this.item = default; + this.mt_idname = default; + } public bUserMenuItem_Menu(bUserMenuItem item, char[] mt_idname) { this.item = item; this.mt_idname = mt_idname; diff --git a/BlendFile/DNA/bUserMenuItem_Op.cs b/BlendFile/DNA/bUserMenuItem_Op.cs index fd9add8..3826c51 100644 --- a/BlendFile/DNA/bUserMenuItem_Op.cs +++ b/BlendFile/DNA/bUserMenuItem_Op.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public char opcontext; [DNAFieldAttribute(5, "char", "_pad0[7]", 1)] public char[] _pad0 = new System.Char[7]; + public bUserMenuItem_Op() { + this.item = default; + this.op_idname = default; + this.ptr_prop = default; + this.op_prop_enum = default; + this.opcontext = default; + this._pad0 = default; + } public bUserMenuItem_Op(bUserMenuItem item, char[] op_idname, IDProperty ptr_prop, char[] op_prop_enum, char opcontext, char[] _pad0) { this.item = item; this.op_idname = op_idname; diff --git a/BlendFile/DNA/bUserMenuItem_Prop.cs b/BlendFile/DNA/bUserMenuItem_Prop.cs index 4d89935..43d9b83 100644 --- a/BlendFile/DNA/bUserMenuItem_Prop.cs +++ b/BlendFile/DNA/bUserMenuItem_Prop.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public int prop_index; [DNAFieldAttribute(4, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public bUserMenuItem_Prop() { + this.item = default; + this.context_data_path = default; + this.prop_id = default; + this.prop_index = default; + this._pad0 = default; + } public bUserMenuItem_Prop(bUserMenuItem item, char[] context_data_path, char[] prop_id, int prop_index, char[] _pad0) { this.item = item; this.context_data_path = context_data_path; diff --git a/BlendFile/DNA/bUserScriptDirectory.cs b/BlendFile/DNA/bUserScriptDirectory.cs index b78d97d..b11a36d 100644 --- a/BlendFile/DNA/bUserScriptDirectory.cs +++ b/BlendFile/DNA/bUserScriptDirectory.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] name = new System.Char[64]; [DNAFieldAttribute(3, "char", "dir_path[768]", 1)] public char[] dir_path = new System.Char[768]; + public bUserScriptDirectory() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.dir_path = default; + } public bUserScriptDirectory(bUserScriptDirectory ptr_next, bUserScriptDirectory ptr_prev, char[] name, char[] dir_path) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/mat4x4f.cs b/BlendFile/DNA/mat4x4f.cs index c5896be..3d50567 100644 --- a/BlendFile/DNA/mat4x4f.cs +++ b/BlendFile/DNA/mat4x4f.cs @@ -17,6 +17,9 @@ namespace BlendFile.DNA { public struct mat4x4f { [DNAFieldAttribute(0, "float", "value[4][4]", 4)] public float[,] value = new System.Single[4,4]; + public mat4x4f() { + this.value = default; + } public mat4x4f(float[,] value) { this.value = value; } diff --git a/BlendFile/DNA/rctf.cs b/BlendFile/DNA/rctf.cs index 876d5cb..0852947 100644 --- a/BlendFile/DNA/rctf.cs +++ b/BlendFile/DNA/rctf.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float ymin; [DNAFieldAttribute(3, "float", "ymax", 4)] public float ymax; + public rctf() { + this.xmin = default; + this.xmax = default; + this.ymin = default; + this.ymax = default; + } public rctf(float xmin, float xmax, float ymin, float ymax) { this.xmin = xmin; this.xmax = xmax; diff --git a/BlendFile/DNA/rcti.cs b/BlendFile/DNA/rcti.cs index 1f44980..65a735d 100644 --- a/BlendFile/DNA/rcti.cs +++ b/BlendFile/DNA/rcti.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public int ymin; [DNAFieldAttribute(3, "int", "ymax", 4)] public int ymax; + public rcti() { + this.xmin = default; + this.xmax = default; + this.ymin = default; + this.ymax = default; + } public rcti(int xmin, int xmax, int ymin, int ymax) { this.xmin = xmin; this.xmax = xmax; diff --git a/BlendFile/DNA/tPaletteColorHSV.cs b/BlendFile/DNA/tPaletteColorHSV.cs index 95e656a..e875254 100644 --- a/BlendFile/DNA/tPaletteColorHSV.cs +++ b/BlendFile/DNA/tPaletteColorHSV.cs @@ -25,6 +25,13 @@ namespace BlendFile.DNA { public float s; [DNAFieldAttribute(4, "float", "v", 4)] public float v; + public tPaletteColorHSV() { + this.rgb = default; + this.value = default; + this.h = default; + this.s = default; + this.v = default; + } public tPaletteColorHSV(float[] rgb, float value, float h, float s, float v) { this.rgb = rgb; this.value = value; diff --git a/BlendFile/DNA/uiFontStyle.cs b/BlendFile/DNA/uiFontStyle.cs index 3648dcf..19332a0 100644 --- a/BlendFile/DNA/uiFontStyle.cs +++ b/BlendFile/DNA/uiFontStyle.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float shadowcolor; [DNAFieldAttribute(11, "int", "character_weight", 4)] public int character_weight; + public uiFontStyle() { + this.uifont_id = default; + this._pad1 = default; + this.points = default; + this.italic = default; + this.bold = default; + this.shadow = default; + this.shadx = default; + this.shady = default; + this._pad0 = default; + this.shadowalpha = default; + this.shadowcolor = default; + this.character_weight = default; + } public uiFontStyle(short uifont_id, char[] _pad1, float points, short italic, short bold, short shadow, short shadx, short shady, char[] _pad0, float shadowalpha, float shadowcolor, int character_weight) { this.uifont_id = uifont_id; this._pad1 = _pad1; diff --git a/BlendFile/DNA/uiList.cs b/BlendFile/DNA/uiList.cs index 9eeb50d..96a5936 100644 --- a/BlendFile/DNA/uiList.cs +++ b/BlendFile/DNA/uiList.cs @@ -45,6 +45,23 @@ namespace BlendFile.DNA { public IDProperty ptr_properties; [DNAFieldAttribute(14, "uiListDyn", "*dyn_data", 0)] public uiListDyn ptr_dyn_data; + public uiList() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_type = default; + this.list_id = default; + this.layout_type = default; + this.flag = default; + this.list_scroll = default; + this.list_grip = default; + this.list_last_len = default; + this.list_last_activei = default; + this.filter_byname = default; + this.filter_flag = default; + this.filter_sort_flag = default; + this.ptr_properties = default; + this.ptr_dyn_data = default; + } public uiList(uiList ptr_next, uiList ptr_prev, uiListType ptr_type, char[] list_id, int layout_type, int flag, int list_scroll, int list_grip, int list_last_len, int list_last_activei, char[] filter_byname, int filter_flag, int filter_sort_flag, IDProperty ptr_properties, uiListDyn ptr_dyn_data) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/uiPanelColors.cs b/BlendFile/DNA/uiPanelColors.cs index f32d4f6..24354a5 100644 --- a/BlendFile/DNA/uiPanelColors.cs +++ b/BlendFile/DNA/uiPanelColors.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] sub_back = new System.Char[4]; [DNAFieldAttribute(3, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public uiPanelColors() { + this.header = default; + this.back = default; + this.sub_back = default; + this._pad0 = default; + } public uiPanelColors(char[] header, char[] back, char[] sub_back, char[] _pad0) { this.header = header; this.back = back; diff --git a/BlendFile/DNA/uiPreview.cs b/BlendFile/DNA/uiPreview.cs index 909d6b5..29b08fa 100644 --- a/BlendFile/DNA/uiPreview.cs +++ b/BlendFile/DNA/uiPreview.cs @@ -27,6 +27,14 @@ namespace BlendFile.DNA { public short tag; [DNAFieldAttribute(5, "int", "id_session_uid", 4)] public int id_session_uid; + public uiPreview() { + this.ptr_next = default; + this.ptr_prev = default; + this.preview_id = default; + this.height = default; + this.tag = default; + this.id_session_uid = default; + } public uiPreview(uiPreview ptr_next, uiPreview ptr_prev, char[] preview_id, short height, short tag, int id_session_uid) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/uiStyle.cs b/BlendFile/DNA/uiStyle.cs index d2999c6..ac10a84 100644 --- a/BlendFile/DNA/uiStyle.cs +++ b/BlendFile/DNA/uiStyle.cs @@ -51,6 +51,26 @@ namespace BlendFile.DNA { public short panelouter; [DNAFieldAttribute(17, "char", "_pad0[2]", 1)] public char[] _pad0 = new System.Char[2]; + public uiStyle() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + this.paneltitle = default; + this.grouplabel = default; + this.widget = default; + this.tooltip = default; + this.panelzoom = default; + this.minlabelchars = default; + this.minwidgetchars = default; + this.columnspace = default; + this.templatespace = default; + this.boxspace = default; + this.buttonspacex = default; + this.buttonspacey = default; + this.panelspace = default; + this.panelouter = default; + this._pad0 = default; + } public uiStyle( uiStyle ptr_next, uiStyle ptr_prev, diff --git a/BlendFile/DNA/uiWidgetColors.cs b/BlendFile/DNA/uiWidgetColors.cs index 3d46b3b..3ead935 100644 --- a/BlendFile/DNA/uiWidgetColors.cs +++ b/BlendFile/DNA/uiWidgetColors.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public short shadedown; [DNAFieldAttribute(10, "float", "roundness", 4)] public float roundness; + public uiWidgetColors() { + this.outline = default; + this.inner = default; + this.inner_sel = default; + this.item = default; + this.text = default; + this.text_sel = default; + this.shaded = default; + this._pad0 = default; + this.shadetop = default; + this.shadedown = default; + this.roundness = default; + } public uiWidgetColors(char[] outline, char[] inner, char[] inner_sel, char[] item, char[] text, char[] text_sel, char shaded, char[] _pad0, short shadetop, short shadedown, float roundness) { this.outline = outline; this.inner = inner; diff --git a/BlendFile/DNA/uiWidgetStateColors.cs b/BlendFile/DNA/uiWidgetStateColors.cs index 403b74c..2efd628 100644 --- a/BlendFile/DNA/uiWidgetStateColors.cs +++ b/BlendFile/DNA/uiWidgetStateColors.cs @@ -39,6 +39,20 @@ namespace BlendFile.DNA { public float blend; [DNAFieldAttribute(11, "char", "_pad0[4]", 1)] public char[] _pad0 = new System.Char[4]; + public uiWidgetStateColors() { + this.inner_anim = default; + this.inner_anim_sel = default; + this.inner_key = default; + this.inner_key_sel = default; + this.inner_driven = default; + this.inner_driven_sel = default; + this.inner_overridden = default; + this.inner_overridden_sel = default; + this.inner_changed = default; + this.inner_changed_sel = default; + this.blend = default; + this._pad0 = default; + } public uiWidgetStateColors(char[] inner_anim, char[] inner_anim_sel, char[] inner_key, char[] inner_key_sel, char[] inner_driven, char[] inner_driven_sel, char[] inner_overridden, char[] inner_overridden_sel, char[] inner_changed, char[] inner_changed_sel, float blend, char[] _pad0) { this.inner_anim = inner_anim; this.inner_anim_sel = inner_anim_sel; diff --git a/BlendFile/DNA/vec2f.cs b/BlendFile/DNA/vec2f.cs index cae9e22..4ef10e3 100644 --- a/BlendFile/DNA/vec2f.cs +++ b/BlendFile/DNA/vec2f.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public float x; [DNAFieldAttribute(1, "float", "y", 4)] public float y; + public vec2f() { + this.x = default; + this.y = default; + } public vec2f(float x, float y) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/vec2i.cs b/BlendFile/DNA/vec2i.cs index 150d6bb..1e99aed 100644 --- a/BlendFile/DNA/vec2i.cs +++ b/BlendFile/DNA/vec2i.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public int x; [DNAFieldAttribute(1, "int", "y", 4)] public int y; + public vec2i() { + this.x = default; + this.y = default; + } public vec2i(int x, int y) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/vec2s.cs b/BlendFile/DNA/vec2s.cs index b9942a9..1f68d5a 100644 --- a/BlendFile/DNA/vec2s.cs +++ b/BlendFile/DNA/vec2s.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public short x; [DNAFieldAttribute(1, "short", "y", 2)] public short y; + public vec2s() { + this.x = default; + this.y = default; + } public vec2s(short x, short y) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/vec3f.cs b/BlendFile/DNA/vec3f.cs index 4ba928c..99afa11 100644 --- a/BlendFile/DNA/vec3f.cs +++ b/BlendFile/DNA/vec3f.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public float y; [DNAFieldAttribute(2, "float", "z", 4)] public float z; + public vec3f() { + this.x = default; + this.y = default; + this.z = default; + } public vec3f(float x, float y, float z) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/vec3i.cs b/BlendFile/DNA/vec3i.cs index 3f95d9b..c016916 100644 --- a/BlendFile/DNA/vec3i.cs +++ b/BlendFile/DNA/vec3i.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public int y; [DNAFieldAttribute(2, "int", "z", 4)] public int z; + public vec3i() { + this.x = default; + this.y = default; + this.z = default; + } public vec3i(int x, int y, int z) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/vec4f.cs b/BlendFile/DNA/vec4f.cs index 40939c2..f24db6a 100644 --- a/BlendFile/DNA/vec4f.cs +++ b/BlendFile/DNA/vec4f.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public float z; [DNAFieldAttribute(3, "float", "w", 4)] public float w; + public vec4f() { + this.x = default; + this.y = default; + this.z = default; + this.w = default; + } public vec4f(float x, float y, float z, float w) { this.x = x; this.y = y; diff --git a/BlendFile/DNA/wmKeyConfig.cs b/BlendFile/DNA/wmKeyConfig.cs index c48c104..f3edf31 100644 --- a/BlendFile/DNA/wmKeyConfig.cs +++ b/BlendFile/DNA/wmKeyConfig.cs @@ -31,6 +31,16 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(7, "char", "_pad0[2]", 1)] public char[] _pad0 = new System.Char[2]; + public wmKeyConfig() { + this.ptr_next = default; + this.ptr_prev = default; + this.idname = default; + this.basename = default; + this.keymaps = default; + this.actkeymap = default; + this.flag = default; + this._pad0 = default; + } public wmKeyConfig(wmKeyConfig ptr_next, wmKeyConfig ptr_prev, char[] idname, char[] basename, ListBase keymaps, int actkeymap, short flag, char[] _pad0) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/wmKeyConfigPref.cs b/BlendFile/DNA/wmKeyConfigPref.cs index c01d559..65f4796 100644 --- a/BlendFile/DNA/wmKeyConfigPref.cs +++ b/BlendFile/DNA/wmKeyConfigPref.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public char[] idname = new System.Char[64]; [DNAFieldAttribute(3, "IDProperty", "*prop", 136)] public IDProperty ptr_prop; + public wmKeyConfigPref() { + this.ptr_next = default; + this.ptr_prev = default; + this.idname = default; + this.ptr_prop = default; + } public wmKeyConfigPref(wmKeyConfigPref ptr_next, wmKeyConfigPref ptr_prev, char[] idname, IDProperty ptr_prop) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/wmKeyMap.cs b/BlendFile/DNA/wmKeyMap.cs index 983dfa8..07d4350 100644 --- a/BlendFile/DNA/wmKeyMap.cs +++ b/BlendFile/DNA/wmKeyMap.cs @@ -37,6 +37,19 @@ namespace BlendFile.DNA { public short kmi_id; [DNAFieldAttribute(12, "void", "*modal_items", 0)] public object ptr_modal_items; + public wmKeyMap() { + this.ptr_next = default; + this.ptr_prev = default; + this.items = default; + this.diff_items = default; + this.idname = default; + this.spaceid = default; + this.regionid = default; + this.owner_id = default; + this.flag = default; + this.kmi_id = default; + this.ptr_modal_items = default; + } public wmKeyMap(wmKeyMap ptr_next, wmKeyMap ptr_prev, ListBase items, ListBase diff_items, char[] idname, short spaceid, short regionid, char[] owner_id, short flag, short kmi_id, object ptr_modal_items) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/wmKeyMapDiffItem.cs b/BlendFile/DNA/wmKeyMapDiffItem.cs index 7d2436b..29f0184 100644 --- a/BlendFile/DNA/wmKeyMapDiffItem.cs +++ b/BlendFile/DNA/wmKeyMapDiffItem.cs @@ -23,6 +23,12 @@ namespace BlendFile.DNA { public wmKeyMapItem ptr_remove_item; [DNAFieldAttribute(3, "wmKeyMapItem", "*add_item", 184)] public wmKeyMapItem ptr_add_item; + public wmKeyMapDiffItem() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_remove_item = default; + this.ptr_add_item = default; + } public wmKeyMapDiffItem(wmKeyMapDiffItem ptr_next, wmKeyMapDiffItem ptr_prev, wmKeyMapItem ptr_remove_item, wmKeyMapItem ptr_add_item) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/wmKeyMapItem.cs b/BlendFile/DNA/wmKeyMapItem.cs index 1fbd015..cd05fd6 100644 --- a/BlendFile/DNA/wmKeyMapItem.cs +++ b/BlendFile/DNA/wmKeyMapItem.cs @@ -53,6 +53,27 @@ namespace BlendFile.DNA { public char[] _pad = new System.Char[2]; [DNAFieldAttribute(18, "PointerRNA", "*ptr", 0)] public PointerRNA ptr_ptr; + public wmKeyMapItem() { + this.ptr_next = default; + this.ptr_prev = default; + this.idname = default; + this.ptr_properties = default; + this.propvalue_str = default; + this.propvalue = default; + this.type = default; + this.val = default; + this.direction = default; + this.shift = default; + this.ctrl = default; + this.alt = default; + this.oskey = default; + this.keymodifier = default; + this.flag = default; + this.maptype = default; + this.id = default; + this._pad = default; + this.ptr_ptr = default; + } public wmKeyMapItem( wmKeyMapItem ptr_next, wmKeyMapItem ptr_prev, diff --git a/BlendFile/DNA/wmOperator.cs b/BlendFile/DNA/wmOperator.cs index 8e1d232..244ccb0 100644 --- a/BlendFile/DNA/wmOperator.cs +++ b/BlendFile/DNA/wmOperator.cs @@ -43,6 +43,22 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(13, "char", "_pad[6]", 1)] public char[] _pad = new System.Char[6]; + public wmOperator() { + this.ptr_next = default; + this.ptr_prev = default; + this.idname = default; + this.ptr_properties = default; + this.ptr_type = default; + this.ptr_customdata = default; + this.ptr_py_instance = default; + this.ptr_ptr = default; + this.ptr_reports = default; + this.macro = default; + this.ptr_opm = default; + this.ptr_layout = default; + this.flag = default; + this._pad = default; + } public wmOperator(wmOperator ptr_next, wmOperator ptr_prev, char[] idname, IDProperty ptr_properties, wmOperatorType ptr_type, object ptr_customdata, object ptr_py_instance, PointerRNA ptr_ptr, ReportList ptr_reports, ListBase macro, wmOperator ptr_opm, uiLayout ptr_layout, short flag, char[] _pad) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/wmOwnerID.cs b/BlendFile/DNA/wmOwnerID.cs index 86db007..54885eb 100644 --- a/BlendFile/DNA/wmOwnerID.cs +++ b/BlendFile/DNA/wmOwnerID.cs @@ -21,6 +21,11 @@ namespace BlendFile.DNA { public wmOwnerID ptr_prev; [DNAFieldAttribute(2, "char", "name[128]", 1)] public char[] name = new System.Char[128]; + public wmOwnerID() { + this.ptr_next = default; + this.ptr_prev = default; + this.name = default; + } public wmOwnerID(wmOwnerID ptr_next, wmOwnerID ptr_prev, char[] name) { this.ptr_next = ptr_next; this.ptr_prev = ptr_prev; diff --git a/BlendFile/DNA/wmWindow.cs b/BlendFile/DNA/wmWindow.cs index 35c2678..4be9593 100644 --- a/BlendFile/DNA/wmWindow.cs +++ b/BlendFile/DNA/wmWindow.cs @@ -107,6 +107,54 @@ namespace BlendFile.DNA { public object ptr_cursor_keymap_status; [DNAFieldAttribute(45, "uint64_t", "eventstate_prev_press_time_ms", 8)] public ulong eventstate_prev_press_time_ms; + public wmWindow() { + this.ptr_next = default; + this.ptr_prev = default; + this.ptr_ghostwin = default; + this.ptr_gpuctx = default; + this.ptr_parent = default; + this.ptr_scene = default; + this.ptr_new_scene = default; + this.view_layer_name = default; + this.ptr_unpinned_scene = default; + this.ptr_workspace_hook = default; + this.global_area_map = default; + this.ptr_screen = default; + this.winid = default; + this.posx = default; + this.posy = default; + this.sizex = default; + this.sizey = default; + this.windowstate = default; + this.active = default; + this.cursor = default; + this.lastcursor = default; + this.modalcursor = default; + this.grabcursor = default; + this.pie_event_type_lock = default; + this.pie_event_type_last = default; + this.addmousemove = default; + this.tag_cursor_refresh = default; + this.event_queue_check_click = default; + this.event_queue_check_drag = default; + this.event_queue_check_drag_handled = default; + this.event_queue_consecutive_gesture_type = default; + this.event_queue_consecutive_gesture_xy = default; + this.ptr_event_queue_consecutive_gesture_data = default; + this.ptr_eventstate = default; + this.ptr_event_last_handled = default; + this.ptr_ime_data = default; + this.ime_data_is_composing = default; + this._pad1 = default; + this.event_queue = default; + this.handlers = default; + this.modalhandlers = default; + this.gesture = default; + this.ptr_stereo3d_format = default; + this.drawcalls = default; + this.ptr_cursor_keymap_status = default; + this.eventstate_prev_press_time_ms = default; + } public wmWindow( wmWindow ptr_next, wmWindow ptr_prev, diff --git a/BlendFile/DNA/wmWindowManager.cs b/BlendFile/DNA/wmWindowManager.cs index f6f4287..3bffaa5 100644 --- a/BlendFile/DNA/wmWindowManager.cs +++ b/BlendFile/DNA/wmWindowManager.cs @@ -75,6 +75,38 @@ namespace BlendFile.DNA { public wmXrData xr; [DNAFieldAttribute(29, "WindowManagerRuntimeHandle", "*runtime", 0)] public WindowManagerRuntimeHandle ptr_runtime; + public wmWindowManager() { + this.id = default; + this.ptr_windrawable = default; + this.ptr_winactive = default; + this.windows = default; + this.init_flag = default; + this._pad0 = default; + this.file_saved = default; + this.op_undo_depth = default; + this.outliner_sync_select_dirty = default; + this.operators = default; + this.notifier_queue = default; + this.ptr_notifier_queue_set = default; + this.ptr_notifier_current = default; + this.extensions_updates = default; + this.extensions_blocked = default; + this.jobs = default; + this.paintcursors = default; + this.drags = default; + this.keyconfigs = default; + this.ptr_defaultconf = default; + this.ptr_addonconf = default; + this.ptr_userconf = default; + this.timers = default; + this.ptr_autosavetimer = default; + this.autosave_scheduled = default; + this._pad2 = default; + this.ptr_undo_stack = default; + this.ptr_message_bus = default; + this.xr = default; + this.ptr_runtime = default; + } public wmWindowManager( ID id, wmWindow ptr_windrawable, diff --git a/BlendFile/DNA/wmXrData.cs b/BlendFile/DNA/wmXrData.cs index a460875..18ed472 100644 --- a/BlendFile/DNA/wmXrData.cs +++ b/BlendFile/DNA/wmXrData.cs @@ -19,6 +19,10 @@ namespace BlendFile.DNA { public wmXrRuntimeData ptr_runtime; [DNAFieldAttribute(1, "XrSessionSettings", "session_settings", 1000)] public XrSessionSettings session_settings; + public wmXrData() { + this.ptr_runtime = default; + this.session_settings = default; + } public wmXrData(wmXrRuntimeData ptr_runtime, XrSessionSettings session_settings) { this.ptr_runtime = ptr_runtime; this.session_settings = session_settings; diff --git a/BlendFile/Reader.cs b/BlendFile/Reader.cs index 20f0c3b..2b069ae 100644 --- a/BlendFile/Reader.cs +++ b/BlendFile/Reader.cs @@ -1,4 +1,5 @@ using System.Reflection; +using System.Text; using Kaitai; @@ -25,18 +26,67 @@ public class Reader { var file = new KaitaiStream(_path); var blend = new Kaitai.BlendFile(file); - foreach (var block in blend.Blocks) { + foreach (var block in blend.Blocks) + { + if (block.Code != "DATA") continue; + if(!dnaTypes.ContainsKey((int)block.SdnaIndex)) continue; + Type t = dnaTypes[(int)block.SdnaIndex]; var obj = Activator.CreateInstance(t); if(obj == null) continue; objects.Add(obj); - foreach (var field in t.GetFields()) { + var fields = t.GetFields(); + + foreach (var field in fields) { var attrib = field.GetCustomAttribute(); if (attrib == null) continue; + var offset = fields.Where(f => f.GetCustomAttribute()!.OriginalIndex < attrib.OriginalIndex) + .Sum(f => f.GetCustomAttribute()!.Size); + var size = attrib.Size; + + byte[] data = new byte[size]; + Array.Copy((byte[])block.Body, offset, data, 0, size); + + var value = ConvertFieldData(data, attrib.OriginalType); + if(value == null) continue; + + field.SetValue(obj, value); } } - } -} \ No newline at end of file + + /* + * "char" => typeof(char).AssemblyQualifiedName, + "short" => typeof(short).AssemblyQualifiedName, + "int" => typeof(int).AssemblyQualifiedName, + "float" => typeof(float).AssemblyQualifiedName, + "double" => typeof(double).AssemblyQualifiedName, + "string" => typeof(string).AssemblyQualifiedName, + "void" => typeof(object).AssemblyQualifiedName, + "ushort" => typeof(ushort).AssemblyQualifiedName, + "uchar" => typeof(byte).AssemblyQualifiedName, + "int64_t" => typeof(long).AssemblyQualifiedName, + "int8_t" => typeof(sbyte).AssemblyQualifiedName, + "uint64_t" => typeof(ulong).AssemblyQualifiedName, + */ + private object? ConvertFieldData(byte[] data, string type) + { + return type switch + { + "char" => (char)data[0], + "short" => BitConverter.ToInt16(data, 0), + "int" => BitConverter.ToInt32(data, 0), + "float" => BitConverter.ToSingle(data, 0), + "double" => BitConverter.ToDouble(data, 0), + "string" => Encoding.UTF8.GetString(data), // utf8? + "void" => null, // object? + "ushort" => BitConverter.ToUInt16(data, 0), + "uchar" => data[0], + "int64_t" => BitConverter.ToInt64(data, 0), + "int8_t" => (sbyte)data[0], + "uint64_t" => BitConverter.ToUInt64(data, 0), + _ => null + }; + }} \ No newline at end of file diff --git a/BlendFileTester/BlendFileTester.csproj b/BlendFileTester/BlendFileTester.csproj new file mode 100644 index 0000000..7d3a54c --- /dev/null +++ b/BlendFileTester/BlendFileTester.csproj @@ -0,0 +1,21 @@ + + + + Exe + net8.0 + enable + BlendFileTester + 9 + + + + + + + + + Always + + + + diff --git a/BlenderSharp.sln b/BlenderSharp.sln index f1d084f..733e70b 100644 --- a/BlenderSharp.sln +++ b/BlenderSharp.sln @@ -4,6 +4,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeGenerator", "CodeGenera EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlendFile", "BlendFile\BlendFile.csproj", "{E2D22AE2-A31A-453C-8A3F-1D4066F0C55D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlendFileTester", "BlendFileTester\BlendFileTester.csproj", "{BAC4E50D-620A-4F1D-9AF9-84E63F3054BF}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -18,5 +20,9 @@ Global {E2D22AE2-A31A-453C-8A3F-1D4066F0C55D}.Debug|Any CPU.Build.0 = Debug|Any CPU {E2D22AE2-A31A-453C-8A3F-1D4066F0C55D}.Release|Any CPU.ActiveCfg = Release|Any CPU {E2D22AE2-A31A-453C-8A3F-1D4066F0C55D}.Release|Any CPU.Build.0 = Release|Any CPU + {BAC4E50D-620A-4F1D-9AF9-84E63F3054BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BAC4E50D-620A-4F1D-9AF9-84E63F3054BF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BAC4E50D-620A-4F1D-9AF9-84E63F3054BF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BAC4E50D-620A-4F1D-9AF9-84E63F3054BF}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/CodeGenerator/CodeGenerator.csproj b/CodeGenerator/CodeGenerator.csproj index f5f7183..2751a49 100644 --- a/CodeGenerator/CodeGenerator.csproj +++ b/CodeGenerator/CodeGenerator.csproj @@ -1,7 +1,7 @@  - net9.0 + net8.0 disable CodeGenerator Exe diff --git a/CodeGenerator/Program.cs b/CodeGenerator/Program.cs index 1819f43..55c59ae 100644 --- a/CodeGenerator/Program.cs +++ b/CodeGenerator/Program.cs @@ -18,7 +18,7 @@ namespace CodeGenerator { public static class Program { private static BlendFile blendfile; private static readonly StringBuilder sb = new(); - private const string OutPath = @"GeneratedOutput\"; + private const string OutPath = @"GeneratedOutput"; private const string Namespace = "BlendFile"; private static HashSet customTypes; @@ -116,7 +116,10 @@ namespace CodeGenerator { ctd.Members.Add(cmf); } - Log("Generating constructor"); + Log("Generating Parameterless constructor"); + ctd.Members.Add(GenerateParameterlessConstructor(type, ctd)); + + Log("Generating Default Constructor"); ctd.Members.Add(GenerateConstructor(type, ctd)); Log("Finished generating struct"); @@ -423,6 +426,25 @@ namespace CodeGenerator { return cc; } + + private static CodeConstructor GenerateParameterlessConstructor(BlendFile.DnaStruct type, CodeTypeDeclaration ctd) { + //Create a normal constructor + CodeConstructor cc = new CodeConstructor { + Name = type.Type, + Attributes = MemberAttributes.Public, + ReturnType = new(type.Type) + }; + + //Assign the parameters to the respective fields + cc.Statements.AddRange(ctd.Members + .OfType() + .Select(f => new CodeAssignStatement( + new CFieldRefExp(new CThisRefExp(), f.Name), + new CodeSnippetExpression("default")) + ).ToArray()); + + return cc; + } private static void SetupCCU(out CodeGeneratorOptions genOpts, out CSharpCodeProvider provider, out CodeCompileUnit ccu) { @@ -476,7 +498,7 @@ namespace CodeGenerator { } private static string GetOutputPath(CodeNamespace ns, string typeName) { - return $"{OutPath}\\{string.Concat(ns.Name.Split('.').Skip(1))}\\{typeName}.cs"; + return Path.Combine(OutPath, ns.Name, typeName + ".cs"); } } } \ No newline at end of file