From 8e4eac05683af808a52d1e138ea8bbfa264f8c23 Mon Sep 17 00:00:00 2001 From: Samuele Lorefice Date: Tue, 4 Mar 2025 18:48:04 +0100 Subject: [PATCH] Regenerated codefiles --- BlendFile/DNA/ARegion.cs | 135 ++--- BlendFile/DNA/ARegion_Runtime.cs | 32 +- BlendFile/DNA/ActionChannelBag.cs | 32 +- BlendFile/DNA/ActionLayer.cs | 28 +- BlendFile/DNA/ActionSlot.cs | 22 +- BlendFile/DNA/ActionStrip.cs | 16 +- BlendFile/DNA/ActionStripKeyframeData.cs | 18 +- BlendFile/DNA/AnimData.cs | 75 ++- BlendFile/DNA/AnimOverride.cs | 34 +- BlendFile/DNA/ArmatureGpencilModifierData.cs | 20 +- BlendFile/DNA/ArmatureModifierData.cs | 20 +- BlendFile/DNA/ArrayGpencilModifierData.cs | 50 +- BlendFile/DNA/ArrayModifierData.cs | 54 +- BlendFile/DNA/AssetCatalogPathLink.cs | 26 +- BlendFile/DNA/AssetLibraryReference.cs | 8 +- BlendFile/DNA/AssetMetaData.cs | 62 +- BlendFile/DNA/AssetShelf.cs | 36 +- BlendFile/DNA/AssetShelfSettings.cs | 38 +- BlendFile/DNA/AssetTag.cs | 20 +- BlendFile/DNA/AssetWeakReference.cs | 22 +- BlendFile/DNA/AudioData.cs | 20 +- BlendFile/DNA/BPoint.cs | 18 +- BlendFile/DNA/BakeData.cs | 42 +- BlendFile/DNA/Base.cs | 48 +- BlendFile/DNA/BevelModifierData.cs | 56 +- BlendFile/DNA/BezTriple.cs | 36 +- BlendFile/DNA/BlurShaderFxData.cs | 16 +- BlendFile/DNA/BoidData.cs | 10 +- BlendFile/DNA/BoidParticle.cs | 18 +- BlendFile/DNA/BoidRule.cs | 24 +- BlendFile/DNA/BoidRuleAverageSpeed.cs | 12 +- BlendFile/DNA/BoidRuleAvoidCollision.cs | 8 +- BlendFile/DNA/BoidRuleFight.cs | 8 +- BlendFile/DNA/BoidRuleFollowLeader.cs | 24 +- BlendFile/DNA/BoidRuleGoalAvoid.cs | 20 +- BlendFile/DNA/BoidSettings.cs | 48 +- BlendFile/DNA/BoidState.cs | 42 +- BlendFile/DNA/Bone.cs | 154 ++--- BlendFile/DNA/BoneCollection.cs | 38 +- BlendFile/DNA/BoneCollectionMember.cs | 26 +- BlendFile/DNA/BoneCollectionReference.cs | 26 +- BlendFile/DNA/BoneColor.cs | 8 +- BlendFile/DNA/Bone_Runtime.cs | 4 +- BlendFile/DNA/BooleanModifierData.cs | 34 +- BlendFile/DNA/BoundBox.cs | 4 +- BlendFile/DNA/BrightContrastModifierData.cs | 8 +- BlendFile/DNA/Brush.cs | 322 +++++----- BlendFile/DNA/BrushClone.cs | 16 +- BlendFile/DNA/BrushCurvesSculptSettings.cs | 30 +- BlendFile/DNA/BrushGpencilSettings.cs | 198 +++--- BlendFile/DNA/BuildEff.cs | 30 +- BlendFile/DNA/BuildGpencilModifierData.cs | 64 +- BlendFile/DNA/BuildModifierData.cs | 14 +- BlendFile/DNA/CBData.cs | 14 +- BlendFile/DNA/CacheFile.cs | 76 +-- BlendFile/DNA/CacheFileLayer.cs | 24 +- BlendFile/DNA/CacheObjectPath.cs | 20 +- BlendFile/DNA/Camera.cs | 110 ++-- BlendFile/DNA/CameraBGImage.cs | 50 +- BlendFile/DNA/CameraDOFSettings.cs | 26 +- BlendFile/DNA/CameraStereoSettings.cs | 18 +- BlendFile/DNA/Camera_Runtime.cs | 12 +- BlendFile/DNA/CastModifierData.cs | 32 +- BlendFile/DNA/ChannelDriver.cs | 30 +- BlendFile/DNA/CharInfo.cs | 10 +- BlendFile/DNA/ChildParticle.cs | 16 +- BlendFile/DNA/ClothCollSettings.cs | 49 +- BlendFile/DNA/ClothModifierData.cs | 62 +- BlendFile/DNA/ClothSimSettings.cs | 156 ++--- BlendFile/DNA/Collection.cs | 62 +- BlendFile/DNA/CollectionChild.cs | 30 +- BlendFile/DNA/CollectionExport.cs | 34 +- BlendFile/DNA/CollectionLightLinking.cs | 6 +- BlendFile/DNA/CollectionObject.cs | 30 +- BlendFile/DNA/Collection_Runtime.cs | 20 +- BlendFile/DNA/CollisionModifierData.cs | 24 +- BlendFile/DNA/ColorBalanceModifierData.cs | 8 +- BlendFile/DNA/ColorBand.cs | 16 +- BlendFile/DNA/ColorCorrectionData.cs | 14 +- BlendFile/DNA/ColorGpencilModifierData.cs | 38 +- .../DNA/ColorManagedColorspaceSettings.cs | 4 +- BlendFile/DNA/ColorManagedDisplaySettings.cs | 4 +- BlendFile/DNA/ColorManagedViewSettings.cs | 34 +- BlendFile/DNA/ColorMapping.cs | 20 +- BlendFile/DNA/ColorMixVars.cs | 6 +- BlendFile/DNA/ColorizeShaderFxData.cs | 18 +- BlendFile/DNA/ConsoleLine.cs | 34 +- BlendFile/DNA/CorrectiveSmoothDeltaCache.cs | 16 +- BlendFile/DNA/CorrectiveSmoothModifierData.cs | 22 +- BlendFile/DNA/CryptomatteEntry.cs | 24 +- BlendFile/DNA/CryptomatteLayer.cs | 20 +- BlendFile/DNA/Curve.cs | 306 +++++----- BlendFile/DNA/CurveMap.cs | 48 +- BlendFile/DNA/CurveMapPoint.cs | 10 +- BlendFile/DNA/CurveMapping.cs | 28 +- BlendFile/DNA/CurveModifierData.cs | 28 +- BlendFile/DNA/CurvePaintSettings.cs | 28 +- BlendFile/DNA/CurveProfile.cs | 40 +- BlendFile/DNA/CurveProfilePoint.cs | 26 +- BlendFile/DNA/Curves.cs | 58 +- BlendFile/DNA/CurvesGeometry.cs | 32 +- BlendFile/DNA/CurvesModifierData.cs | 6 +- BlendFile/DNA/CurvesSculpt.cs | 4 +- BlendFile/DNA/CustomData.cs | 34 +- BlendFile/DNA/CustomDataExternal.cs | 4 +- BlendFile/DNA/CustomDataLayer.cs | 38 +- BlendFile/DNA/CustomData_MeshMasks.cs | 12 +- BlendFile/DNA/DashGpencilModifierData.cs | 34 +- BlendFile/DNA/DashGpencilModifierSegment.cs | 24 +- BlendFile/DNA/DataTransferModifierData.cs | 52 +- BlendFile/DNA/DecimateModifierData.cs | 24 +- BlendFile/DNA/DisplaceModifierData.cs | 44 +- BlendFile/DNA/DisplaySafeAreas.cs | 10 +- BlendFile/DNA/DrawDataList.cs | 18 +- BlendFile/DNA/DriverTarget.cs | 36 +- BlendFile/DNA/DriverVar.cs | 30 +- BlendFile/DNA/DualQuat.cs | 10 +- BlendFile/DNA/DynamicPaintBrushSettings.cs | 76 +-- BlendFile/DNA/DynamicPaintCanvasSettings.cs | 20 +- BlendFile/DNA/DynamicPaintModifierData.cs | 24 +- BlendFile/DNA/DynamicPaintSurface.cs | 158 ++--- BlendFile/DNA/EQCurveMappingData.cs | 20 +- BlendFile/DNA/EdgeSplitModifierData.cs | 8 +- BlendFile/DNA/Editing.cs | 94 +-- BlendFile/DNA/EditingRuntime.cs | 34 +- BlendFile/DNA/Effect.cs | 26 +- BlendFile/DNA/EffectorWeights.cs | 18 +- BlendFile/DNA/EnvelopeGpencilModifierData.cs | 36 +- BlendFile/DNA/ExplodeModifierData.cs | 30 +- BlendFile/DNA/FCM_EnvelopeData.cs | 12 +- BlendFile/DNA/FCurve.cs | 101 ++-- BlendFile/DNA/FFMpegCodecData.cs | 46 +- BlendFile/DNA/FMod_Cycles.cs | 10 +- BlendFile/DNA/FMod_Envelope.cs | 18 +- BlendFile/DNA/FMod_FunctionGenerator.cs | 14 +- BlendFile/DNA/FMod_Generator.cs | 18 +- BlendFile/DNA/FMod_Limits.cs | 8 +- BlendFile/DNA/FMod_Noise.cs | 14 +- BlendFile/DNA/FMod_Stepped.cs | 12 +- BlendFile/DNA/FModifier.cs | 54 +- BlendFile/DNA/FPoint.cs | 8 +- BlendFile/DNA/FileAssetSelectParams.cs | 16 +- BlendFile/DNA/FileFolderHistory.cs | 26 +- BlendFile/DNA/FileGlobal.cs | 54 +- BlendFile/DNA/FileHandler.cs | 10 +- BlendFile/DNA/FileSelectParams.cs | 68 +-- BlendFile/DNA/FlipShaderFxData.cs | 10 +- BlendFile/DNA/FluidDomainSettings.cs | 562 +++++++++--------- BlendFile/DNA/FluidEffectorSettings.cs | 44 +- BlendFile/DNA/FluidFlowSettings.cs | 102 ++-- BlendFile/DNA/FluidModifierData.cs | 40 +- BlendFile/DNA/FluidVertexVelocity.cs | 4 +- BlendFile/DNA/FluidsimModifierData.cs | 20 +- BlendFile/DNA/FluidsimSettings.cs | 128 ++-- ...oreachGeometryElementZoneViewerPathElem.cs | 8 +- BlendFile/DNA/FreestyleConfig.cs | 18 +- BlendFile/DNA/FreestyleEdge.cs | 4 +- BlendFile/DNA/FreestyleFace.cs | 4 +- BlendFile/DNA/FreestyleLineSet.cs | 54 +- BlendFile/DNA/FreestyleLineStyle.cs | 114 ++-- BlendFile/DNA/FreestyleModuleConfig.cs | 30 +- BlendFile/DNA/GPUDOFSettings.cs | 18 +- BlendFile/DNA/GP_Interpolate_Settings.cs | 10 +- BlendFile/DNA/GP_Sculpt_Guide.cs | 28 +- BlendFile/DNA/GP_Sculpt_Settings.cs | 36 +- BlendFile/DNA/GaussianBlurVars.cs | 6 +- BlendFile/DNA/GeometryNodeAssetTraits.cs | 4 +- BlendFile/DNA/GlowShaderFxData.cs | 26 +- BlendFile/DNA/GlowVars.cs | 14 +- BlendFile/DNA/GpPaint.cs | 8 +- BlendFile/DNA/GpSculptPaint.cs | 8 +- BlendFile/DNA/GpVertexPaint.cs | 8 +- BlendFile/DNA/GpWeightPaint.cs | 8 +- BlendFile/DNA/GpencilModifierData.cs | 38 +- BlendFile/DNA/GreasePencil.cs | 94 ++- .../DNA/GreasePencilArmatureModifierData.cs | 18 +- .../DNA/GreasePencilArrayModifierData.cs | 34 +- .../DNA/GreasePencilBuildModifierData.cs | 48 +- .../DNA/GreasePencilColorModifierData.cs | 20 +- BlendFile/DNA/GreasePencilDashModifierData.cs | 20 +- .../DNA/GreasePencilDashModifierSegment.cs | 16 +- BlendFile/DNA/GreasePencilDrawing.cs | 14 +- BlendFile/DNA/GreasePencilDrawingBase.cs | 8 +- BlendFile/DNA/GreasePencilDrawingReference.cs | 12 +- .../DNA/GreasePencilEnvelopeModifierData.cs | 18 +- BlendFile/DNA/GreasePencilFrame.cs | 10 +- BlendFile/DNA/GreasePencilHookModifierData.cs | 32 +- .../DNA/GreasePencilLatticeModifierData.cs | 18 +- BlendFile/DNA/GreasePencilLayer.cs | 66 +- .../DNA/GreasePencilLayerFramesMapStorage.cs | 22 +- BlendFile/DNA/GreasePencilLayerMask.cs | 30 +- BlendFile/DNA/GreasePencilLayerTreeGroup.cs | 18 +- BlendFile/DNA/GreasePencilLayerTreeNode.cs | 40 +- .../DNA/GreasePencilLengthModifierData.cs | 42 +- .../DNA/GreasePencilLineartModifierData.cs | 160 ++--- .../DNA/GreasePencilMirrorModifierData.cs | 18 +- .../DNA/GreasePencilModifierInfluenceData.cs | 38 +- .../DNA/GreasePencilMultiModifierData.cs | 30 +- .../DNA/GreasePencilNoiseModifierData.cs | 36 +- .../DNA/GreasePencilOffsetModifierData.cs | 38 +- .../DNA/GreasePencilOnionSkinningSettings.cs | 22 +- .../DNA/GreasePencilOpacityModifierData.cs | 24 +- .../DNA/GreasePencilOutlineModifierData.cs | 30 +- .../DNA/GreasePencilShrinkwrapModifierData.cs | 50 +- .../DNA/GreasePencilSimplifyModifierData.cs | 20 +- .../DNA/GreasePencilSmoothModifierData.cs | 22 +- .../DNA/GreasePencilSubdivModifierData.cs | 20 +- .../DNA/GreasePencilTextureModifierData.cs | 26 +- .../DNA/GreasePencilThickModifierData.cs | 22 +- BlendFile/DNA/GreasePencilTimeModifierData.cs | 28 +- .../DNA/GreasePencilTimeModifierSegment.cs | 12 +- BlendFile/DNA/GreasePencilTintModifierData.cs | 42 +- .../GreasePencilWeightAngleModifierData.cs | 26 +- ...GreasePencilWeightProximityModifierData.cs | 24 +- BlendFile/DNA/GridPaintMask.cs | 14 +- BlendFile/DNA/GroupNodeViewerPathElem.cs | 8 +- BlendFile/DNA/HairKey.cs | 14 +- BlendFile/DNA/Histogram.cs | 28 +- BlendFile/DNA/HookGpencilModifierData.cs | 60 +- BlendFile/DNA/HookModifierData.cs | 56 +- BlendFile/DNA/HueCorrectModifierData.cs | 6 +- BlendFile/DNA/ID.cs | 120 ++-- BlendFile/DNA/IDOverrideLibrary.cs | 40 +- BlendFile/DNA/IDOverrideLibraryProperty.cs | 34 +- .../DNA/IDOverrideLibraryPropertyOperation.cs | 62 +- BlendFile/DNA/IDProperty.cs | 42 +- BlendFile/DNA/IDPropertyData.cs | 16 +- BlendFile/DNA/IDPropertyUIData.cs | 14 +- BlendFile/DNA/IDPropertyUIDataBool.cs | 22 +- BlendFile/DNA/IDPropertyUIDataEnumItem.cs | 30 +- BlendFile/DNA/IDPropertyUIDataFloat.cs | 34 +- BlendFile/DNA/IDPropertyUIDataID.cs | 8 +- BlendFile/DNA/IDPropertyUIDataInt.cs | 40 +- BlendFile/DNA/IDPropertyUIDataString.cs | 12 +- BlendFile/DNA/IDViewerPathElem.cs | 12 +- BlendFile/DNA/ID_Runtime.cs | 20 +- BlendFile/DNA/ID_Runtime_Remap.cs | 10 +- BlendFile/DNA/IdAdtTemplate.cs | 12 +- BlendFile/DNA/Image.cs | 144 ++--- BlendFile/DNA/ImageAnim.cs | 26 +- BlendFile/DNA/ImageFormatData.cs | 46 +- BlendFile/DNA/ImagePackedFile.cs | 32 +- BlendFile/DNA/ImagePaintSettings.cs | 48 +- BlendFile/DNA/ImageTile.cs | 36 +- BlendFile/DNA/ImageTile_Runtime.cs | 18 +- BlendFile/DNA/ImageUser.cs | 34 +- BlendFile/DNA/ImageView.cs | 22 +- BlendFile/DNA/Image_Runtime.cs | 28 +- BlendFile/DNA/IndexSwitchItem.cs | 4 +- BlendFile/DNA/Ipo.cs | 16 +- BlendFile/DNA/IpoCurve.cs | 82 +-- BlendFile/DNA/IpoDriver.cs | 20 +- BlendFile/DNA/KS_Path.cs | 52 +- BlendFile/DNA/Key.cs | 56 +- BlendFile/DNA/KeyBlock.cs | 50 +- BlendFile/DNA/KeyingSet.cs | 38 +- BlendFile/DNA/Lamp.cs | 112 ++-- BlendFile/DNA/LaplacianDeformModifierData.cs | 30 +- BlendFile/DNA/LaplacianSmoothModifierData.cs | 16 +- BlendFile/DNA/Lattice.cs | 116 ++-- BlendFile/DNA/LatticeGpencilModifierData.cs | 42 +- BlendFile/DNA/LatticeModifierData.cs | 28 +- BlendFile/DNA/LayerCollection.cs | 46 +- BlendFile/DNA/LayoutPanelState.cs | 30 +- BlendFile/DNA/LengthGpencilModifierData.cs | 46 +- BlendFile/DNA/Library.cs | 16 +- BlendFile/DNA/LibraryWeakReference.cs | 8 +- BlendFile/DNA/Library_Runtime.cs | 38 +- BlendFile/DNA/LightCache.cs | 48 +- BlendFile/DNA/LightCacheTexture.cs | 26 +- BlendFile/DNA/LightGridCache.cs | 32 +- BlendFile/DNA/LightLinking.cs | 20 +- BlendFile/DNA/LightLinkingRuntime.cs | 12 +- BlendFile/DNA/LightProbe.cs | 86 +-- BlendFile/DNA/LightProbeBakingData.cs | 10 +- BlendFile/DNA/LightProbeBlockData.cs | 6 +- BlendFile/DNA/LightProbeCache.cs | 16 +- BlendFile/DNA/LightProbeConnectivityData.cs | 10 +- BlendFile/DNA/LightProbeGridCacheFrame.cs | 38 +- BlendFile/DNA/LightProbeObjectCache.cs | 18 +- BlendFile/DNA/LightProbeVisibilityData.cs | 34 +- BlendFile/DNA/LightgroupMembership.cs | 4 +- .../DNA/LineStyleAlphaModifier_AlongStroke.cs | 16 +- .../DNA/LineStyleAlphaModifier_CreaseAngle.cs | 20 +- .../LineStyleAlphaModifier_Curvature_3D.cs | 20 +- ...neStyleAlphaModifier_DistanceFromCamera.cs | 20 +- ...neStyleAlphaModifier_DistanceFromObject.cs | 28 +- .../DNA/LineStyleAlphaModifier_Material.cs | 16 +- BlendFile/DNA/LineStyleAlphaModifier_Noise.cs | 20 +- .../DNA/LineStyleAlphaModifier_Tangent.cs | 16 +- .../DNA/LineStyleColorModifier_AlongStroke.cs | 12 +- .../DNA/LineStyleColorModifier_CreaseAngle.cs | 16 +- .../LineStyleColorModifier_Curvature_3D.cs | 20 +- ...neStyleColorModifier_DistanceFromCamera.cs | 16 +- ...neStyleColorModifier_DistanceFromObject.cs | 24 +- .../DNA/LineStyleColorModifier_Material.cs | 16 +- BlendFile/DNA/LineStyleColorModifier_Noise.cs | 20 +- .../DNA/LineStyleColorModifier_Tangent.cs | 12 +- .../DNA/LineStyleGeometryModifier_2DOffset.cs | 12 +- .../LineStyleGeometryModifier_2DTransform.cs | 20 +- ...StyleGeometryModifier_BackboneStretcher.cs | 8 +- .../LineStyleGeometryModifier_BezierCurve.cs | 8 +- .../LineStyleGeometryModifier_Blueprint.cs | 16 +- .../LineStyleGeometryModifier_GuidingLines.cs | 8 +- ...LineStyleGeometryModifier_PerlinNoise1D.cs | 16 +- ...LineStyleGeometryModifier_PerlinNoise2D.cs | 16 +- ...eStyleGeometryModifier_Polygonalization.cs | 8 +- .../DNA/LineStyleGeometryModifier_Sampling.cs | 8 +- ...ineStyleGeometryModifier_Simplification.cs | 8 +- ...StyleGeometryModifier_SinusDisplacement.cs | 12 +- .../LineStyleGeometryModifier_SpatialNoise.cs | 12 +- .../LineStyleGeometryModifier_TipRemover.cs | 8 +- BlendFile/DNA/LineStyleModifier.cs | 28 +- .../LineStyleThicknessModifier_AlongStroke.cs | 20 +- .../LineStyleThicknessModifier_Calligraphy.cs | 12 +- .../LineStyleThicknessModifier_CreaseAngle.cs | 24 +- ...LineStyleThicknessModifier_Curvature_3D.cs | 24 +- ...yleThicknessModifier_DistanceFromCamera.cs | 24 +- ...yleThicknessModifier_DistanceFromObject.cs | 32 +- .../LineStyleThicknessModifier_Material.cs | 20 +- .../DNA/LineStyleThicknessModifier_Noise.cs | 12 +- .../DNA/LineStyleThicknessModifier_Tangent.cs | 20 +- BlendFile/DNA/LineartGpencilModifierData.cs | 140 ++--- BlendFile/DNA/Link.cs | 18 +- BlendFile/DNA/LinkData.cs | 26 +- BlendFile/DNA/ListBase.cs | 18 +- BlendFile/DNA/MBoolProperty.cs | 4 +- BlendFile/DNA/MCol.cs | 10 +- BlendFile/DNA/MDefCell.cs | 6 +- BlendFile/DNA/MDefInfluence.cs | 6 +- BlendFile/DNA/MDeformVert.cs | 14 +- BlendFile/DNA/MDeformWeight.cs | 6 +- BlendFile/DNA/MDisps.cs | 14 +- BlendFile/DNA/MEdge.cs | 12 +- BlendFile/DNA/MFace.cs | 16 +- BlendFile/DNA/MFloatProperty.cs | 4 +- BlendFile/DNA/MInt8Property.cs | 4 +- BlendFile/DNA/MIntProperty.cs | 4 +- BlendFile/DNA/MLoop.cs | 6 +- BlendFile/DNA/MLoopCol.cs | 10 +- BlendFile/DNA/MLoopUV.cs | 6 +- BlendFile/DNA/MPoly.cs | 12 +- BlendFile/DNA/MPropCol.cs | 4 +- BlendFile/DNA/MRecast.cs | 4 +- BlendFile/DNA/MSelect.cs | 6 +- BlendFile/DNA/MStringProperty.cs | 6 +- BlendFile/DNA/MTFace.cs | 4 +- BlendFile/DNA/MTex.cs | 94 +-- BlendFile/DNA/MVert.cs | 10 +- BlendFile/DNA/MVertSkin.cs | 6 +- BlendFile/DNA/MappingInfoModifierData.cs | 30 +- BlendFile/DNA/Mask.cs | 28 +- BlendFile/DNA/MaskLayer.cs | 54 +- BlendFile/DNA/MaskLayerShape.cs | 34 +- BlendFile/DNA/MaskModifierData.cs | 28 +- BlendFile/DNA/MaskParent.cs | 22 +- BlendFile/DNA/MaskSpaceInfo.cs | 20 +- BlendFile/DNA/MaskSpline.cs | 44 +- BlendFile/DNA/MaskSplinePoint.cs | 18 +- BlendFile/DNA/MaskSplinePointUW.cs | 8 +- BlendFile/DNA/Material.cs | 140 ++--- BlendFile/DNA/MaterialGPencilStyle.cs | 66 +- BlendFile/DNA/MaterialLineArt.cs | 12 +- BlendFile/DNA/Mesh.cs | 258 ++++---- BlendFile/DNA/MeshCacheModifierData.cs | 40 +- BlendFile/DNA/MeshDeformModifierData.cs | 114 ++-- BlendFile/DNA/MeshSeqCacheModifierData.cs | 30 +- BlendFile/DNA/MeshStatVis.cs | 28 +- BlendFile/DNA/MeshToVolumeModifierData.cs | 32 +- BlendFile/DNA/MetaBall.cs | 78 +-- BlendFile/DNA/MetaElem.cs | 78 +-- BlendFile/DNA/MetaStack.cs | 44 +- BlendFile/DNA/MirrorGpencilModifierData.cs | 32 +- BlendFile/DNA/MirrorModifierData.cs | 36 +- BlendFile/DNA/ModifierData.cs | 52 +- BlendFile/DNA/ModifierViewerPathElem.cs | 12 +- BlendFile/DNA/MovieClip.cs | 82 +-- BlendFile/DNA/MovieClipProxy.cs | 12 +- BlendFile/DNA/MovieClipScopes.cs | 56 +- BlendFile/DNA/MovieClipUser.cs | 8 +- BlendFile/DNA/MovieClip_Runtime.cs | 4 +- BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs | 28 +- BlendFile/DNA/MovieReconstructedCamera.cs | 8 +- BlendFile/DNA/MovieTracking.cs | 46 +- BlendFile/DNA/MovieTrackingCamera.cs | 54 +- BlendFile/DNA/MovieTrackingDopesheet.cs | 16 +- .../DNA/MovieTrackingDopesheetChannel.cs | 48 +- .../MovieTrackingDopesheetCoverageSegment.cs | 26 +- BlendFile/DNA/MovieTrackingMarker.cs | 14 +- BlendFile/DNA/MovieTrackingObject.cs | 50 +- BlendFile/DNA/MovieTrackingPlaneMarker.cs | 8 +- BlendFile/DNA/MovieTrackingPlaneTrack.cs | 56 +- BlendFile/DNA/MovieTrackingReconstruction.cs | 18 +- BlendFile/DNA/MovieTrackingSettings.cs | 44 +- BlendFile/DNA/MovieTrackingStabilization.cs | 40 +- BlendFile/DNA/MovieTrackingStats.cs | 4 +- BlendFile/DNA/MovieTrackingTrack.cs | 84 +-- BlendFile/DNA/MultiplyGpencilModifierData.cs | 36 +- BlendFile/DNA/MultiresModifierData.cs | 26 +- BlendFile/DNA/NamedBrushAssetReference.cs | 34 +- BlendFile/DNA/NlaStrip.cs | 106 ++-- BlendFile/DNA/NlaTrack.cs | 26 +- BlendFile/DNA/NodeAccumulateField.cs | 6 +- BlendFile/DNA/NodeAntiAliasingData.cs | 8 +- BlendFile/DNA/NodeBilateralBlurData.cs | 10 +- BlendFile/DNA/NodeBlurData.cs | 34 +- BlendFile/DNA/NodeBokehImage.cs | 12 +- BlendFile/DNA/NodeBoxMask.cs | 14 +- BlendFile/DNA/NodeCMPCombSepColor.cs | 6 +- BlendFile/DNA/NodeChroma.cs | 20 +- BlendFile/DNA/NodeColorBalance.cs | 26 +- BlendFile/DNA/NodeColorCorrection.cs | 14 +- BlendFile/DNA/NodeColorspill.cs | 14 +- BlendFile/DNA/NodeCombSepColor.cs | 4 +- BlendFile/DNA/NodeConvertColorSpace.cs | 6 +- BlendFile/DNA/NodeCryptomatte.cs | 22 +- BlendFile/DNA/NodeCryptomatte_Runtime.cs | 8 +- BlendFile/DNA/NodeDBlurData.cs | 18 +- BlendFile/DNA/NodeDefocus.cs | 26 +- BlendFile/DNA/NodeDenoise.cs | 6 +- BlendFile/DNA/NodeDilateErode.cs | 4 +- BlendFile/DNA/NodeEllipseMask.cs | 14 +- BlendFile/DNA/NodeEnumDefinition.cs | 16 +- BlendFile/DNA/NodeEnumItem.cs | 22 +- ...odeForeachGeometryElementGenerationItem.cs | 18 +- ...deForeachGeometryElementGenerationItems.cs | 18 +- .../NodeForeachGeometryElementInputItem.cs | 16 +- .../NodeForeachGeometryElementInputItems.cs | 18 +- .../DNA/NodeForeachGeometryElementMainItem.cs | 16 +- .../NodeForeachGeometryElementMainItems.cs | 18 +- BlendFile/DNA/NodeFrame.cs | 6 +- BlendFile/DNA/NodeFunctionCompare.cs | 10 +- BlendFile/DNA/NodeGeometryAttributeCapture.cs | 22 +- .../DNA/NodeGeometryAttributeCaptureItem.cs | 16 +- BlendFile/DNA/NodeGeometryBake.cs | 18 +- BlendFile/DNA/NodeGeometryBakeItem.cs | 20 +- BlendFile/DNA/NodeGeometryCollectionInfo.cs | 4 +- BlendFile/DNA/NodeGeometryCurveFill.cs | 4 +- BlendFile/DNA/NodeGeometryCurveFillet.cs | 4 +- .../DNA/NodeGeometryCurvePrimitiveArc.cs | 4 +- ...NodeGeometryCurvePrimitiveBezierSegment.cs | 4 +- .../DNA/NodeGeometryCurvePrimitiveCircle.cs | 4 +- .../DNA/NodeGeometryCurvePrimitiveLine.cs | 4 +- .../DNA/NodeGeometryCurvePrimitiveQuad.cs | 4 +- BlendFile/DNA/NodeGeometryCurveResample.cs | 4 +- BlendFile/DNA/NodeGeometryCurveSample.cs | 10 +- .../DNA/NodeGeometryCurveSelectHandles.cs | 6 +- BlendFile/DNA/NodeGeometryCurveSetHandles.cs | 6 +- BlendFile/DNA/NodeGeometryCurveSplineType.cs | 4 +- BlendFile/DNA/NodeGeometryCurveToPoints.cs | 4 +- BlendFile/DNA/NodeGeometryCurveTrim.cs | 4 +- BlendFile/DNA/NodeGeometryDeleteGeometry.cs | 6 +- BlendFile/DNA/NodeGeometryDialGizmo.cs | 4 +- .../NodeGeometryDistributePointsInVolume.cs | 4 +- .../DNA/NodeGeometryDuplicateElements.cs | 4 +- BlendFile/DNA/NodeGeometryExtrudeMesh.cs | 4 +- ...NodeGeometryForeachGeometryElementInput.cs | 4 +- ...odeGeometryForeachGeometryElementOutput.cs | 14 +- BlendFile/DNA/NodeGeometryImageTexture.cs | 6 +- .../DNA/NodeGeometryInputNamedAttribute.cs | 4 +- BlendFile/DNA/NodeGeometryLinearGizmo.cs | 6 +- BlendFile/DNA/NodeGeometryMergeByDistance.cs | 4 +- BlendFile/DNA/NodeGeometryMergeLayers.cs | 4 +- BlendFile/DNA/NodeGeometryMeshCircle.cs | 4 +- BlendFile/DNA/NodeGeometryMeshCone.cs | 4 +- BlendFile/DNA/NodeGeometryMeshCylinder.cs | 4 +- BlendFile/DNA/NodeGeometryMeshLine.cs | 6 +- BlendFile/DNA/NodeGeometryMeshToPoints.cs | 4 +- BlendFile/DNA/NodeGeometryMeshToVolume.cs | 4 +- BlendFile/DNA/NodeGeometryObjectInfo.cs | 4 +- BlendFile/DNA/NodeGeometryPointsToVolume.cs | 6 +- BlendFile/DNA/NodeGeometryProximity.cs | 4 +- BlendFile/DNA/NodeGeometryRaycast.cs | 6 +- BlendFile/DNA/NodeGeometryRepeatInput.cs | 4 +- BlendFile/DNA/NodeGeometryRepeatOutput.cs | 18 +- BlendFile/DNA/NodeGeometrySampleIndex.cs | 10 +- BlendFile/DNA/NodeGeometrySeparateGeometry.cs | 4 +- .../NodeGeometrySetCurveHandlePositions.cs | 4 +- BlendFile/DNA/NodeGeometrySimulationInput.cs | 4 +- BlendFile/DNA/NodeGeometrySimulationOutput.cs | 18 +- .../DNA/NodeGeometryStoreNamedAttribute.cs | 6 +- BlendFile/DNA/NodeGeometryStringToCurves.cs | 10 +- .../DNA/NodeGeometrySubdivisionSurface.cs | 6 +- .../DNA/NodeGeometryTransferAttribute.cs | 10 +- BlendFile/DNA/NodeGeometryTransformGizmo.cs | 4 +- BlendFile/DNA/NodeGeometryUVUnwrap.cs | 4 +- BlendFile/DNA/NodeGeometryViewer.cs | 6 +- BlendFile/DNA/NodeGeometryVolumeToMesh.cs | 4 +- BlendFile/DNA/NodeGlare.cs | 30 +- BlendFile/DNA/NodeHueSat.cs | 8 +- BlendFile/DNA/NodeImageAnim.cs | 14 +- BlendFile/DNA/NodeImageFile.cs | 10 +- BlendFile/DNA/NodeImageLayer.cs | 6 +- BlendFile/DNA/NodeImageMultiFile.cs | 16 +- BlendFile/DNA/NodeImageMultiFileSocket.cs | 18 +- BlendFile/DNA/NodeIndexSwitch.cs | 18 +- BlendFile/DNA/NodeInputBool.cs | 4 +- BlendFile/DNA/NodeInputColor.cs | 4 +- BlendFile/DNA/NodeInputInt.cs | 4 +- BlendFile/DNA/NodeInputRotation.cs | 4 +- BlendFile/DNA/NodeInputString.cs | 10 +- BlendFile/DNA/NodeInputVector.cs | 4 +- BlendFile/DNA/NodeKeyingData.cs | 26 +- BlendFile/DNA/NodeKeyingScreenData.cs | 6 +- BlendFile/DNA/NodeKuwaharaData.cs | 16 +- BlendFile/DNA/NodeLensDist.cs | 10 +- BlendFile/DNA/NodeMapRange.cs | 10 +- BlendFile/DNA/NodeMask.cs | 6 +- BlendFile/DNA/NodeMenuSwitch.cs | 8 +- BlendFile/DNA/NodePlaneTrackDeformData.cs | 14 +- BlendFile/DNA/NodeRandomValue.cs | 4 +- BlendFile/DNA/NodeRepeatItem.cs | 16 +- BlendFile/DNA/NodeReroute.cs | 4 +- BlendFile/DNA/NodeScriptDict.cs | 18 +- BlendFile/DNA/NodeSetAlpha.cs | 4 +- BlendFile/DNA/NodeShaderAttribute.cs | 8 +- BlendFile/DNA/NodeShaderHairPrincipled.cs | 8 +- BlendFile/DNA/NodeShaderMix.cs | 14 +- BlendFile/DNA/NodeShaderNormalMap.cs | 6 +- BlendFile/DNA/NodeShaderOutputAOV.cs | 4 +- BlendFile/DNA/NodeShaderPrincipled.cs | 6 +- BlendFile/DNA/NodeShaderScript.cs | 18 +- BlendFile/DNA/NodeShaderTangent.cs | 8 +- BlendFile/DNA/NodeShaderTexIES.cs | 6 +- BlendFile/DNA/NodeShaderTexPointDensity.cs | 28 +- BlendFile/DNA/NodeShaderUVMap.cs | 4 +- BlendFile/DNA/NodeShaderVectTransform.cs | 10 +- BlendFile/DNA/NodeShaderVertexColor.cs | 4 +- BlendFile/DNA/NodeSimulationItem.cs | 16 +- BlendFile/DNA/NodeSunBeams.cs | 6 +- BlendFile/DNA/NodeSwitch.cs | 4 +- BlendFile/DNA/NodeTexBase.cs | 6 +- BlendFile/DNA/NodeTexBrick.cs | 12 +- BlendFile/DNA/NodeTexChecker.cs | 4 +- BlendFile/DNA/NodeTexEnvironment.cs | 14 +- BlendFile/DNA/NodeTexGabor.cs | 8 +- BlendFile/DNA/NodeTexGradient.cs | 8 +- BlendFile/DNA/NodeTexImage.cs | 18 +- BlendFile/DNA/NodeTexMagic.cs | 8 +- BlendFile/DNA/NodeTexMusgrave.cs | 8 +- BlendFile/DNA/NodeTexNoise.cs | 12 +- BlendFile/DNA/NodeTexSky.cs | 32 +- BlendFile/DNA/NodeTexVoronoi.cs | 16 +- BlendFile/DNA/NodeTexWave.cs | 12 +- BlendFile/DNA/NodeTonemap.cs | 18 +- BlendFile/DNA/NodeTrackPosData.cs | 6 +- BlendFile/DNA/NodeTranslateData.cs | 8 +- BlendFile/DNA/NodeTwoFloats.cs | 6 +- BlendFile/DNA/NodeTwoXYs.cs | 18 +- BlendFile/DNA/NodeVertexCol.cs | 4 +- BlendFile/DNA/NodesModifierBake.cs | 54 +- BlendFile/DNA/NodesModifierBakeFile.cs | 18 +- BlendFile/DNA/NodesModifierData.cs | 58 +- BlendFile/DNA/NodesModifierDataBlock.cs | 30 +- BlendFile/DNA/NodesModifierPackedBake.cs | 22 +- BlendFile/DNA/NodesModifierPanel.cs | 6 +- BlendFile/DNA/NodesModifierSettings.cs | 10 +- BlendFile/DNA/NoiseGpencilModifierData.cs | 54 +- BlendFile/DNA/NormalEditModifierData.cs | 38 +- BlendFile/DNA/Nurb.cs | 92 +-- BlendFile/DNA/ObHook.cs | 54 +- BlendFile/DNA/Object.cs | 446 +++++++------- BlendFile/DNA/ObjectLineArt.cs | 12 +- BlendFile/DNA/OceanModifierData.cs | 84 +-- BlendFile/DNA/OffsetGpencilModifierData.cs | 46 +- BlendFile/DNA/OpacityGpencilModifierData.cs | 40 +- BlendFile/DNA/OutlineGpencilModifierData.cs | 42 +- BlendFile/DNA/PTCacheExtra.cs | 30 +- BlendFile/DNA/PTCacheMem.cs | 36 +- BlendFile/DNA/PackedFile.cs | 22 +- BlendFile/DNA/Paint.cs | 74 +-- BlendFile/DNA/PaintCurve.cs | 16 +- BlendFile/DNA/PaintCurvePoint.cs | 6 +- BlendFile/DNA/PaintModeSettings.cs | 16 +- BlendFile/DNA/Paint_Runtime.cs | 8 +- BlendFile/DNA/Palette.cs | 10 +- BlendFile/DNA/PaletteColor.cs | 22 +- BlendFile/DNA/Panel.cs | 98 +-- BlendFile/DNA/PanelCategoryStack.cs | 20 +- BlendFile/DNA/PartDeflect.cs | 116 ++-- BlendFile/DNA/PartEff.cs | 122 ++-- BlendFile/DNA/ParticleBrushData.cs | 14 +- BlendFile/DNA/ParticleData.cs | 62 +- BlendFile/DNA/ParticleDupliWeight.cs | 34 +- BlendFile/DNA/ParticleEditSettings.cs | 56 +- BlendFile/DNA/ParticleInstanceModifierData.cs | 44 +- BlendFile/DNA/ParticleKey.cs | 12 +- BlendFile/DNA/ParticleSettings.cs | 430 +++++++------- BlendFile/DNA/ParticleSpring.cs | 8 +- BlendFile/DNA/ParticleSystem.cs | 284 ++++----- BlendFile/DNA/ParticleSystemModifierData.cs | 46 +- BlendFile/DNA/ParticleTarget.cs | 36 +- BlendFile/DNA/PhysicsSettings.cs | 10 +- BlendFile/DNA/PixelShaderFxData.cs | 12 +- BlendFile/DNA/PointCache.cs | 80 +-- BlendFile/DNA/PointCloud.cs | 50 +- BlendFile/DNA/PointDensity.cs | 96 +-- BlendFile/DNA/PreviewImage.cs | 26 +- BlendFile/DNA/RaytraceEEVEE.cs | 14 +- BlendFile/DNA/RegionAssetShelf.cs | 12 +- BlendFile/DNA/RegionView3D.cs | 130 ++-- BlendFile/DNA/RemeshModifierData.cs | 22 +- BlendFile/DNA/RenderData.cs | 184 +++--- BlendFile/DNA/RenderSlot.cs | 28 +- BlendFile/DNA/RepeatZoneViewerPathElem.cs | 8 +- BlendFile/DNA/ReportList.cs | 32 +- BlendFile/DNA/RigidBodyCon.cs | 98 +-- BlendFile/DNA/RigidBodyOb.cs | 44 +- BlendFile/DNA/RigidBodyWorld.cs | 66 +- BlendFile/DNA/RigidBodyWorld_Shared.cs | 20 +- BlendFile/DNA/RimShaderFxData.cs | 22 +- BlendFile/DNA/SBVertex.cs | 4 +- BlendFile/DNA/SDefBind.cs | 26 +- BlendFile/DNA/SDefVert.cs | 14 +- BlendFile/DNA/SPHFluidSettings.cs | 36 +- BlendFile/DNA/Scene.cs | 316 +++++----- BlendFile/DNA/SceneDisplay.cs | 22 +- BlendFile/DNA/SceneEEVEE.cs | 106 ++-- BlendFile/DNA/SceneGpencil.cs | 6 +- BlendFile/DNA/SceneHydra.cs | 6 +- BlendFile/DNA/SceneRenderLayer.cs | 62 +- BlendFile/DNA/SceneRenderView.cs | 26 +- BlendFile/DNA/Scopes.cs | 78 +-- BlendFile/DNA/ScrArea.cs | 122 ++-- BlendFile/DNA/ScrAreaMap.cs | 8 +- BlendFile/DNA/ScrArea_Runtime.cs | 14 +- BlendFile/DNA/ScrEdge.cs | 40 +- BlendFile/DNA/ScrGlobalAreaData.cs | 14 +- BlendFile/DNA/ScrVert.cs | 32 +- BlendFile/DNA/ScrewModifierData.cs | 38 +- BlendFile/DNA/Script.cs | 52 +- BlendFile/DNA/Sculpt.cs | 64 +- BlendFile/DNA/SeqConnection.cs | 26 +- BlendFile/DNA/SeqRetimingHandle.cs | 18 +- BlendFile/DNA/SeqTimelineChannel.cs | 24 +- BlendFile/DNA/Sequence.cs | 296 ++++----- BlendFile/DNA/SequenceModifierData.cs | 44 +- BlendFile/DNA/SequenceRuntime.cs | 4 +- BlendFile/DNA/SequencerCacheOverlay.cs | 6 +- BlendFile/DNA/SequencerMaskModifierData.cs | 4 +- BlendFile/DNA/SequencerPreviewOverlay.cs | 6 +- BlendFile/DNA/SequencerTimelineOverlay.cs | 6 +- BlendFile/DNA/SequencerTonemapModifierData.cs | 20 +- BlendFile/DNA/SequencerToolSettings.cs | 14 +- BlendFile/DNA/SessionUID.cs | 4 +- BlendFile/DNA/ShaderFxData.cs | 38 +- BlendFile/DNA/ShaderFxData_Runtime.cs | 30 +- BlendFile/DNA/ShadowShaderFxData.cs | 38 +- BlendFile/DNA/ShapeKeyModifierData.cs | 4 +- .../DNA/ShrinkwrapGpencilModifierData.cs | 72 +-- BlendFile/DNA/ShrinkwrapModifierData.cs | 38 +- BlendFile/DNA/SimpleDeformModifierData.cs | 34 +- BlendFile/DNA/SimplifyGpencilModifierData.cs | 34 +- BlendFile/DNA/SimulationZoneViewerPathElem.cs | 8 +- BlendFile/DNA/SkinModifierData.cs | 12 +- BlendFile/DNA/SmokeModifierData.cs | 8 +- BlendFile/DNA/SmoothGpencilModifierData.cs | 38 +- BlendFile/DNA/SmoothModifierData.cs | 12 +- BlendFile/DNA/SoftBody.cs | 172 +++--- BlendFile/DNA/SoftBody_Shared.cs | 12 +- BlendFile/DNA/SoftbodyModifierData.cs | 4 +- BlendFile/DNA/SolidColorVars.cs | 6 +- BlendFile/DNA/SolidLight.cs | 12 +- BlendFile/DNA/SolidifyModifierData.cs | 42 +- BlendFile/DNA/SoundEqualizerModifierData.cs | 6 +- BlendFile/DNA/SpaceAction.cs | 62 +- BlendFile/DNA/SpaceAction_Runtime.cs | 6 +- BlendFile/DNA/SpaceButs.cs | 90 +-- BlendFile/DNA/SpaceClip.cs | 90 +-- BlendFile/DNA/SpaceConsole.cs | 42 +- BlendFile/DNA/SpaceFile.cs | 156 ++--- BlendFile/DNA/SpaceGraph_Runtime.cs | 8 +- BlendFile/DNA/SpaceImage.cs | 102 ++-- BlendFile/DNA/SpaceImageOverlay.cs | 6 +- BlendFile/DNA/SpaceInfo.cs | 30 +- BlendFile/DNA/SpaceIpo.cs | 56 +- BlendFile/DNA/SpaceLink.cs | 26 +- BlendFile/DNA/SpaceNla.cs | 42 +- BlendFile/DNA/SpaceNode.cs | 126 ++-- BlendFile/DNA/SpaceNodeOverlay.cs | 6 +- BlendFile/DNA/SpaceOops.cs | 76 +-- BlendFile/DNA/SpaceScript.cs | 48 +- BlendFile/DNA/SpaceSeq.cs | 88 +-- BlendFile/DNA/SpaceSpreadsheet.cs | 68 +-- BlendFile/DNA/SpaceStatusBar.cs | 26 +- BlendFile/DNA/SpaceText.cs | 84 +-- BlendFile/DNA/SpaceTopBar.cs | 26 +- BlendFile/DNA/SpaceUserPref.cs | 32 +- BlendFile/DNA/Speaker.cs | 44 +- BlendFile/DNA/SpeedControlVars.cs | 22 +- BlendFile/DNA/SpreadsheetColumn.cs | 38 +- BlendFile/DNA/SpreadsheetColumnID.cs | 10 +- BlendFile/DNA/SpreadsheetInstanceID.cs | 4 +- BlendFile/DNA/SpreadsheetRowFilter.cs | 50 +- BlendFile/DNA/Stereo3dFormat.cs | 12 +- BlendFile/DNA/Strip.cs | 70 +-- BlendFile/DNA/StripAnim.cs | 26 +- BlendFile/DNA/StripColorBalance.cs | 20 +- BlendFile/DNA/StripCrop.cs | 10 +- BlendFile/DNA/StripElem.cs | 10 +- BlendFile/DNA/StripProxy.cs | 28 +- BlendFile/DNA/StripTransform.cs | 16 +- BlendFile/DNA/SubdivGpencilModifierData.cs | 28 +- BlendFile/DNA/SubsurfModifierData.cs | 36 +- BlendFile/DNA/SurfaceDeformModifierData.cs | 56 +- BlendFile/DNA/SurfaceModifierData.cs | 4 +- BlendFile/DNA/SurfaceModifierData_Runtime.cs | 22 +- BlendFile/DNA/SwirlShaderFxData.cs | 22 +- BlendFile/DNA/TFace.cs | 24 +- BlendFile/DNA/Tex.cs | 168 +++--- BlendFile/DNA/TexMapping.cs | 34 +- BlendFile/DNA/TexNodeOutput.cs | 4 +- BlendFile/DNA/TexPaintSlot.cs | 38 +- BlendFile/DNA/Text.cs | 48 +- BlendFile/DNA/TextBox.cs | 10 +- BlendFile/DNA/TextLine.cs | 38 +- BlendFile/DNA/TextVars.cs | 46 +- BlendFile/DNA/TextureGpencilModifierData.cs | 42 +- BlendFile/DNA/ThemeAssetShelf.cs | 6 +- BlendFile/DNA/ThemeCollectionColor.cs | 4 +- BlendFile/DNA/ThemeSpace.cs | 494 ++++++++------- BlendFile/DNA/ThemeStripColor.cs | 4 +- BlendFile/DNA/ThemeUI.cs | 117 ++-- BlendFile/DNA/ThemeWireColor.cs | 12 +- BlendFile/DNA/ThickGpencilModifierData.cs | 38 +- BlendFile/DNA/TimeGpencilModifierData.cs | 42 +- BlendFile/DNA/TimeGpencilModifierSegment.cs | 20 +- BlendFile/DNA/TimeMarker.cs | 40 +- BlendFile/DNA/TintGpencilModifierData.cs | 64 +- BlendFile/DNA/ToolSettings.cs | 276 ++++----- BlendFile/DNA/ToolSystemBrushBindings.cs | 12 +- BlendFile/DNA/TransformOrientation.cs | 24 +- BlendFile/DNA/TransformOrientationSlot.cs | 10 +- BlendFile/DNA/TransformVars.cs | 18 +- BlendFile/DNA/TreeStore.cs | 14 +- BlendFile/DNA/TreeStoreElem.cs | 18 +- BlendFile/DNA/TriangulateModifierData.cs | 12 +- BlendFile/DNA/UVProjectModifierData.cs | 28 +- BlendFile/DNA/UVWarpModifierData.cs | 44 +- BlendFile/DNA/UnifiedPaintSettings.cs | 72 +-- BlendFile/DNA/UnitSettings.cs | 20 +- BlendFile/DNA/UserDef.cs | 348 +++++------ BlendFile/DNA/UserDef_Experimental.cs | 48 +- BlendFile/DNA/UserDef_FileSpaceData.cs | 20 +- BlendFile/DNA/UserDef_Runtime.cs | 6 +- BlendFile/DNA/UserDef_SpaceData.cs | 8 +- BlendFile/DNA/UvSculpt.cs | 18 +- BlendFile/DNA/VFont.cs | 30 +- BlendFile/DNA/VPaint.cs | 10 +- BlendFile/DNA/View2D.cs | 70 +-- BlendFile/DNA/View3D.cs | 168 +++--- BlendFile/DNA/View3DCursor.cs | 16 +- BlendFile/DNA/View3DOverlay.cs | 58 +- BlendFile/DNA/View3DShading.cs | 80 +-- BlendFile/DNA/View3D_Runtime.cs | 22 +- BlendFile/DNA/ViewLayer.cs | 151 +++-- BlendFile/DNA/ViewLayerAOV.cs | 24 +- BlendFile/DNA/ViewLayerEEVEE.cs | 6 +- BlendFile/DNA/ViewLayerEngineData.cs | 34 +- BlendFile/DNA/ViewLayerLightgroup.cs | 20 +- BlendFile/DNA/ViewerNodeViewerPathElem.cs | 8 +- BlendFile/DNA/ViewerPath.cs | 4 +- BlendFile/DNA/ViewerPathElem.cs | 30 +- BlendFile/DNA/Volume.cs | 86 +-- BlendFile/DNA/VolumeDisplaceModifierData.cs | 28 +- BlendFile/DNA/VolumeDisplay.cs | 18 +- BlendFile/DNA/VolumeRender.cs | 10 +- BlendFile/DNA/VolumeToMeshModifierData.cs | 34 +- BlendFile/DNA/WalkNavigation.cs | 18 +- BlendFile/DNA/WarpModifierData.cs | 88 +-- BlendFile/DNA/WaveEff.cs | 48 +- BlendFile/DNA/WaveModifierData.cs | 80 +-- BlendFile/DNA/WaveShaderFxData.cs | 18 +- .../DNA/WeightAngleGpencilModifierData.cs | 32 +- .../DNA/WeightProxGpencilModifierData.cs | 38 +- BlendFile/DNA/WeightVGEditModifierData.cs | 66 +- BlendFile/DNA/WeightVGMixModifierData.cs | 54 +- .../DNA/WeightVGProximityModifierData.cs | 70 +-- BlendFile/DNA/WeightedNormalModifierData.cs | 14 +- BlendFile/DNA/WeldModifierData.cs | 14 +- BlendFile/DNA/WhiteBalanceModifierData.cs | 8 +- BlendFile/DNA/WipeVars.cs | 10 +- BlendFile/DNA/WireframeModifierData.cs | 20 +- BlendFile/DNA/WorkSpace.cs | 40 +- BlendFile/DNA/WorkSpaceDataRelation.cs | 38 +- BlendFile/DNA/WorkSpaceInstanceHook.cs | 34 +- BlendFile/DNA/WorkSpaceLayout.cs | 28 +- BlendFile/DNA/World.cs | 126 ++-- BlendFile/DNA/XrActionMap.cs | 26 +- BlendFile/DNA/XrActionMapBinding.cs | 34 +- BlendFile/DNA/XrActionMapItem.cs | 72 +-- BlendFile/DNA/XrComponentPath.cs | 20 +- BlendFile/DNA/XrSessionSettings.cs | 38 +- BlendFile/DNA/XrUserPath.cs | 20 +- BlendFile/DNA/bAction.cs | 85 ++- BlendFile/DNA/bActionChannel.cs | 42 +- BlendFile/DNA/bActionConstraint.cs | 48 +- BlendFile/DNA/bActionGroup.cs | 40 +- BlendFile/DNA/bActionModifier.cs | 40 +- BlendFile/DNA/bActionStrip.cs | 84 +-- BlendFile/DNA/bAddon.cs | 28 +- BlendFile/DNA/bAnimVizSettings.cs | 24 +- BlendFile/DNA/bArmature.cs | 111 ++-- BlendFile/DNA/bArmatureConstraint.cs | 8 +- BlendFile/DNA/bArmature_Runtime.cs | 14 +- BlendFile/DNA/bCameraSolverConstraint.cs | 14 +- BlendFile/DNA/bChildOfConstraint.cs | 18 +- BlendFile/DNA/bClampToConstraint.cs | 14 +- BlendFile/DNA/bConstraint.cs | 72 +-- BlendFile/DNA/bConstraintChannel.cs | 30 +- BlendFile/DNA/bConstraintTarget.cs | 42 +- BlendFile/DNA/bDampTrackConstraint.cs | 16 +- BlendFile/DNA/bDeformGroup.cs | 24 +- BlendFile/DNA/bDistLimitConstraint.cs | 22 +- BlendFile/DNA/bDopeSheet.cs | 30 +- BlendFile/DNA/bFaceMap.cs | 24 +- BlendFile/DNA/bFollowPathConstraint.cs | 20 +- BlendFile/DNA/bFollowTrackConstraint.cs | 34 +- BlendFile/DNA/bGPDcontrolpoint.cs | 12 +- BlendFile/DNA/bGPDcurve.cs | 16 +- BlendFile/DNA/bGPDcurve_point.cs | 22 +- BlendFile/DNA/bGPDframe.cs | 28 +- BlendFile/DNA/bGPDframe_Runtime.cs | 14 +- BlendFile/DNA/bGPDlayer.cs | 104 ++-- BlendFile/DNA/bGPDlayer_Mask.cs | 26 +- BlendFile/DNA/bGPDlayer_Runtime.cs | 14 +- BlendFile/DNA/bGPDpalette.cs | 26 +- BlendFile/DNA/bGPDpalettecolor.cs | 28 +- BlendFile/DNA/bGPDspoint.cs | 26 +- BlendFile/DNA/bGPDspoint_Runtime.cs | 14 +- BlendFile/DNA/bGPDstroke.cs | 122 ++-- BlendFile/DNA/bGPDstroke_Runtime.cs | 32 +- BlendFile/DNA/bGPDtriangle.cs | 4 +- BlendFile/DNA/bGPdata.cs | 80 +-- BlendFile/DNA/bGPdata_Runtime.cs | 126 ++-- BlendFile/DNA/bGPgrid.cs | 14 +- BlendFile/DNA/bIKParam.cs | 4 +- BlendFile/DNA/bItasc.cs | 26 +- BlendFile/DNA/bKinematicConstraint.cs | 44 +- BlendFile/DNA/bLocLimitConstraint.cs | 18 +- BlendFile/DNA/bLocateLikeConstraint.cs | 16 +- BlendFile/DNA/bLockTrackConstraint.cs | 16 +- BlendFile/DNA/bMinMaxConstraint.cs | 20 +- BlendFile/DNA/bMotionPath.cs | 58 +- BlendFile/DNA/bMotionPathVert.cs | 6 +- BlendFile/DNA/bNestedNodePath.cs | 6 +- BlendFile/DNA/bNestedNodeRef.cs | 8 +- BlendFile/DNA/bNode.cs | 133 ++--- BlendFile/DNA/bNodeInstanceKey.cs | 4 +- BlendFile/DNA/bNodeLink.cs | 54 +- BlendFile/DNA/bNodePanelState.cs | 8 +- BlendFile/DNA/bNodeSocket.cs | 124 ++-- BlendFile/DNA/bNodeSocketValueBoolean.cs | 4 +- BlendFile/DNA/bNodeSocketValueCollection.cs | 10 +- BlendFile/DNA/bNodeSocketValueFloat.cs | 10 +- BlendFile/DNA/bNodeSocketValueImage.cs | 10 +- BlendFile/DNA/bNodeSocketValueInt.cs | 10 +- BlendFile/DNA/bNodeSocketValueMaterial.cs | 10 +- BlendFile/DNA/bNodeSocketValueMenu.cs | 14 +- BlendFile/DNA/bNodeSocketValueObject.cs | 10 +- BlendFile/DNA/bNodeSocketValueRGBA.cs | 4 +- BlendFile/DNA/bNodeSocketValueRotation.cs | 4 +- BlendFile/DNA/bNodeSocketValueString.cs | 8 +- BlendFile/DNA/bNodeSocketValueTexture.cs | 10 +- BlendFile/DNA/bNodeSocketValueVector.cs | 10 +- BlendFile/DNA/bNodeStack.cs | 30 +- BlendFile/DNA/bNodeTree.cs | 138 ++--- BlendFile/DNA/bNodeTreeInterface.cs | 16 +- BlendFile/DNA/bNodeTreeInterfaceItem.cs | 6 +- BlendFile/DNA/bNodeTreeInterfacePanel.cs | 34 +- BlendFile/DNA/bNodeTreeInterfaceSocket.cs | 66 +- BlendFile/DNA/bNodeTreePath.cs | 36 +- BlendFile/DNA/bObjectSolverConstraint.cs | 26 +- BlendFile/DNA/bPathCompare.cs | 24 +- BlendFile/DNA/bPivotConstraint.cs | 18 +- BlendFile/DNA/bPose.cs | 52 +- BlendFile/DNA/bPoseChannel.cs | 250 ++++---- .../DNA/bPoseChannel_BBoneSegmentBoundary.cs | 10 +- BlendFile/DNA/bPoseChannel_Runtime.cs | 60 +- BlendFile/DNA/bPythonConstraint.cs | 34 +- BlendFile/DNA/bRigidBodyJointConstraint.cs | 42 +- BlendFile/DNA/bRotLimitConstraint.cs | 22 +- BlendFile/DNA/bRotateLikeConstraint.cs | 20 +- BlendFile/DNA/bSameVolumeConstraint.cs | 10 +- BlendFile/DNA/bScreen.cs | 96 +-- BlendFile/DNA/bShrinkwrapConstraint.cs | 28 +- BlendFile/DNA/bSizeLikeConstraint.cs | 16 +- BlendFile/DNA/bSizeLimitConstraint.cs | 18 +- BlendFile/DNA/bSound.cs | 108 ++-- BlendFile/DNA/bSplineIKConstraint.cs | 38 +- BlendFile/DNA/bStretchToConstraint.cs | 28 +- BlendFile/DNA/bTheme.cs | 70 +-- BlendFile/DNA/bToolRef.cs | 44 +- BlendFile/DNA/bTrackToConstraint.cs | 20 +- BlendFile/DNA/bTransLikeConstraint.cs | 18 +- BlendFile/DNA/bTransformCacheConstraint.cs | 22 +- BlendFile/DNA/bTransformConstraint.cs | 56 +- BlendFile/DNA/bUUID.cs | 14 +- BlendFile/DNA/bUserAssetLibrary.cs | 28 +- BlendFile/DNA/bUserAssetShelfSettings.cs | 22 +- BlendFile/DNA/bUserExtensionRepo.cs | 40 +- BlendFile/DNA/bUserMenu.cs | 26 +- BlendFile/DNA/bUserMenuItem.cs | 24 +- BlendFile/DNA/bUserMenuItem_Menu.cs | 6 +- BlendFile/DNA/bUserMenuItem_Op.cs | 20 +- BlendFile/DNA/bUserMenuItem_Prop.cs | 12 +- BlendFile/DNA/bUserScriptDirectory.cs | 22 +- BlendFile/DNA/mat4x4f.cs | 4 +- BlendFile/DNA/raw_data.cs | 2 +- BlendFile/DNA/rctf.cs | 10 +- BlendFile/DNA/rcti.cs | 10 +- BlendFile/DNA/tPaletteColorHSV.cs | 12 +- BlendFile/DNA/uiFontStyle.cs | 26 +- BlendFile/DNA/uiList.cs | 72 +-- BlendFile/DNA/uiPanelColors.cs | 10 +- BlendFile/DNA/uiPreview.cs | 26 +- BlendFile/DNA/uiStyle.cs | 52 +- BlendFile/DNA/uiWidgetColors.cs | 24 +- BlendFile/DNA/uiWidgetStateColors.cs | 26 +- BlendFile/DNA/vec2f.cs | 6 +- BlendFile/DNA/vec2i.cs | 6 +- BlendFile/DNA/vec2s.cs | 6 +- BlendFile/DNA/vec3f.cs | 8 +- BlendFile/DNA/vec3i.cs | 8 +- BlendFile/DNA/vec4f.cs | 10 +- BlendFile/DNA/wmKeyConfig.cs | 30 +- BlendFile/DNA/wmKeyConfigPref.cs | 28 +- BlendFile/DNA/wmKeyMap.cs | 42 +- BlendFile/DNA/wmKeyMapDiffItem.cs | 34 +- BlendFile/DNA/wmKeyMapItem.cs | 70 +-- BlendFile/DNA/wmOperator.cs | 90 +-- BlendFile/DNA/wmOwnerID.cs | 20 +- BlendFile/DNA/wmWindow.cs | 220 +++---- BlendFile/DNA/wmWindowManager.cs | 148 ++--- BlendFile/DNA/wmXrData.cs | 12 +- BlendFile/DNAClassAttribute.cs | 28 +- BlendFile/DNAFieldAttribute.cs | 73 ++- 937 files changed, 16011 insertions(+), 16181 deletions(-) diff --git a/BlendFile/DNA/ARegion.cs b/BlendFile/DNA/ARegion.cs index 08d8181..a3c75fc 100644 --- a/BlendFile/DNA/ARegion.cs +++ b/BlendFile/DNA/ARegion.cs @@ -13,77 +13,75 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(842, "ARegion", 440)] + [DNAClassAttribute(842, "ARegion", 424)] public class ARegion { - [DNAFieldAttribute(0, "ARegion", "*next", "ARegion", 8, true, 0)] - public ARegion ptr_next; - [DNAFieldAttribute(1, "ARegion", "*prev", "ARegion", 8, true, 8)] - public ARegion ptr_prev; - [DNAFieldAttribute(2, "View2D", "v2d", "View2D", 152, false, 16)] + [DNAFieldAttribute(8, "ARegion", 0, "*next", "ARegion", true, 0)] + public ARegion next; + [DNAFieldAttribute(8, "ARegion", 1, "*prev", "ARegion", true, 8)] + public ARegion prev; + [DNAFieldAttribute(152, "View2D", 2, "v2d", "View2D", false, 16)] public View2D v2d; - [DNAFieldAttribute(3, "rcti", "winrct", "rcti", 16, false, 168)] + [DNAFieldAttribute(16, "rcti", 3, "winrct", "rcti", false, 168)] public rcti winrct; - [DNAFieldAttribute(4, "rcti", "drawrct", "rcti", 16, false, 184)] + [DNAFieldAttribute(16, "rcti", 4, "drawrct", "rcti", false, 184)] public rcti drawrct; - [DNAFieldAttribute(5, "short", "winx", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 5, "winx", "short", false, 200)] public short winx; - [DNAFieldAttribute(6, "short", "winy", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 6, "winy", "short", false, 202)] public short winy; - [DNAFieldAttribute(7, "int", "category_scroll", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 7, "category_scroll", "int", false, 204)] public int category_scroll; - [DNAFieldAttribute(8, "char", "_pad0[4]", "System.Char[]", 4, false, 208)] + [DNAFieldAttribute(4, "char", 8, "_pad0[4]", "System.Char[]", false, 208)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(9, "short", "visible", "short", 2, false, 212)] + [DNAFieldAttribute(2, "short", 9, "visible", "short", false, 212)] public short visible; - [DNAFieldAttribute(10, "short", "regiontype", "short", 2, false, 214)] + [DNAFieldAttribute(2, "short", 10, "regiontype", "short", false, 214)] public short regiontype; - [DNAFieldAttribute(11, "short", "alignment", "short", 2, false, 216)] + [DNAFieldAttribute(2, "short", 11, "alignment", "short", false, 216)] public short alignment; - [DNAFieldAttribute(12, "short", "flag", "short", 2, false, 218)] + [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 218)] public short flag; - [DNAFieldAttribute(13, "short", "sizex", "short", 2, false, 220)] + [DNAFieldAttribute(2, "short", 13, "sizex", "short", false, 220)] public short sizex; - [DNAFieldAttribute(14, "short", "sizey", "short", 2, false, 222)] + [DNAFieldAttribute(2, "short", 14, "sizey", "short", false, 222)] public short sizey; - [DNAFieldAttribute(15, "short", "do_draw", "short", 2, false, 224)] + [DNAFieldAttribute(2, "short", 15, "do_draw", "short", false, 224)] public short do_draw; - [DNAFieldAttribute(16, "short", "do_draw_paintcursor", "short", 2, false, 226)] + [DNAFieldAttribute(2, "short", 16, "do_draw_paintcursor", "short", false, 226)] public short do_draw_paintcursor; - [DNAFieldAttribute(17, "short", "overlap", "short", 2, false, 228)] + [DNAFieldAttribute(2, "short", 17, "overlap", "short", false, 228)] public short overlap; - [DNAFieldAttribute(18, "short", "flagfullscreen", "short", 2, false, 230)] + [DNAFieldAttribute(2, "short", 18, "flagfullscreen", "short", false, 230)] public short flagfullscreen; - [DNAFieldAttribute(19, "ARegionType", "*type", "ARegionType", 8, true, 232)] - public ARegionType ptr_type; - [DNAFieldAttribute(20, "ListBase", "uiblocks", "ListBase", 16, false, 240)] + [DNAFieldAttribute(8, "ARegionType", 19, "*type", "ARegionType", true, 232)] + public ARegionType type; + [DNAFieldAttribute(16, "ListBase", 20, "uiblocks", "ListBase", false, 240)] public ListBase uiblocks; - [DNAFieldAttribute(21, "ListBase", "panels", "ListBase", 16, false, 256)] + [DNAFieldAttribute(16, "ListBase", 21, "panels", "ListBase", false, 256)] public ListBase panels; - [DNAFieldAttribute(22, "ListBase", "panels_category_active", "ListBase", 16, false, 272)] + [DNAFieldAttribute(16, "ListBase", 22, "panels_category_active", "ListBase", false, 272)] public ListBase panels_category_active; - [DNAFieldAttribute(23, "ListBase", "ui_lists", "ListBase", 16, false, 288)] - public ListBase ui_lists; - [DNAFieldAttribute(24, "ListBase", "ui_previews", "ListBase", 16, false, 304)] + [DNAFieldAttribute(16, "ListBase", 24, "ui_previews", "ListBase", false, 288)] public ListBase ui_previews; - [DNAFieldAttribute(25, "ListBase", "handlers", "ListBase", 16, false, 320)] + [DNAFieldAttribute(16, "ListBase", 25, "handlers", "ListBase", false, 304)] public ListBase handlers; - [DNAFieldAttribute(26, "ListBase", "panels_category", "ListBase", 16, false, 336)] + [DNAFieldAttribute(16, "ListBase", 26, "panels_category", "ListBase", false, 320)] public ListBase panels_category; - [DNAFieldAttribute(27, "wmGizmoMap", "*gizmo_map", "wmGizmoMap", 8, true, 352)] - public wmGizmoMap ptr_gizmo_map; - [DNAFieldAttribute(28, "wmTimer", "*regiontimer", "wmTimer", 8, true, 360)] - public wmTimer ptr_regiontimer; - [DNAFieldAttribute(29, "wmDrawBuffer", "*draw_buffer", "wmDrawBuffer", 8, true, 368)] - public wmDrawBuffer ptr_draw_buffer; - [DNAFieldAttribute(30, "char", "*headerstr", "char", 8, true, 376)] - public char ptr_headerstr; - [DNAFieldAttribute(31, "void", "*regiondata", "void", 8, true, 384)] - public object ptr_regiondata; - [DNAFieldAttribute(32, "ARegion_Runtime", "runtime", "ARegion_Runtime", 48, false, 392)] + [DNAFieldAttribute(8, "wmGizmoMap", 27, "*gizmo_map", "wmGizmoMap", true, 336)] + public wmGizmoMap gizmo_map; + [DNAFieldAttribute(8, "wmTimer", 28, "*regiontimer", "wmTimer", true, 344)] + public wmTimer regiontimer; + [DNAFieldAttribute(8, "wmDrawBuffer", 29, "*draw_buffer", "wmDrawBuffer", true, 352)] + public wmDrawBuffer draw_buffer; + [DNAFieldAttribute(8, "char", 30, "*headerstr", "char", true, 360)] + public char headerstr; + [DNAFieldAttribute(8, "void", 31, "*regiondata", "void", true, 368)] + public object regiondata; + [DNAFieldAttribute(48, "ARegion_Runtime", 32, "runtime", "ARegion_Runtime", false, 376)] public ARegion_Runtime runtime; public ARegion() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.v2d = default; this.winrct = default; this.drawrct = default; @@ -101,24 +99,23 @@ namespace BlendFile.DNA { this.do_draw_paintcursor = default; this.overlap = default; this.flagfullscreen = default; - this.ptr_type = default; + this.type = default; this.uiblocks = default; this.panels = default; this.panels_category_active = default; - this.ui_lists = default; this.ui_previews = default; this.handlers = default; this.panels_category = default; - this.ptr_gizmo_map = default; - this.ptr_regiontimer = default; - this.ptr_draw_buffer = default; - this.ptr_headerstr = default; - this.ptr_regiondata = default; + this.gizmo_map = default; + this.regiontimer = default; + this.draw_buffer = default; + this.headerstr = default; + this.regiondata = default; this.runtime = default; } public ARegion( - ARegion ptr_next, - ARegion ptr_prev, + ARegion next, + ARegion prev, View2D v2d, rcti winrct, rcti drawrct, @@ -136,22 +133,21 @@ namespace BlendFile.DNA { short do_draw_paintcursor, short overlap, short flagfullscreen, - ARegionType ptr_type, + ARegionType type, ListBase uiblocks, ListBase panels, ListBase panels_category_active, - ListBase ui_lists, ListBase ui_previews, ListBase handlers, ListBase panels_category, - wmGizmoMap ptr_gizmo_map, - wmTimer ptr_regiontimer, - wmDrawBuffer ptr_draw_buffer, - char ptr_headerstr, - object ptr_regiondata, + wmGizmoMap gizmo_map, + wmTimer regiontimer, + wmDrawBuffer draw_buffer, + char headerstr, + object regiondata, ARegion_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.v2d = v2d; this.winrct = winrct; this.drawrct = drawrct; @@ -169,19 +165,18 @@ namespace BlendFile.DNA { this.do_draw_paintcursor = do_draw_paintcursor; this.overlap = overlap; this.flagfullscreen = flagfullscreen; - this.ptr_type = ptr_type; + this.type = type; this.uiblocks = uiblocks; this.panels = panels; this.panels_category_active = panels_category_active; - this.ui_lists = ui_lists; this.ui_previews = ui_previews; this.handlers = handlers; this.panels_category = panels_category; - this.ptr_gizmo_map = ptr_gizmo_map; - this.ptr_regiontimer = ptr_regiontimer; - this.ptr_draw_buffer = ptr_draw_buffer; - this.ptr_headerstr = ptr_headerstr; - this.ptr_regiondata = ptr_regiondata; + this.gizmo_map = gizmo_map; + this.regiontimer = regiontimer; + this.draw_buffer = draw_buffer; + this.headerstr = headerstr; + this.regiondata = regiondata; this.runtime = runtime; } } diff --git a/BlendFile/DNA/ARegion_Runtime.cs b/BlendFile/DNA/ARegion_Runtime.cs index f72e36a..fa87a78 100644 --- a/BlendFile/DNA/ARegion_Runtime.cs +++ b/BlendFile/DNA/ARegion_Runtime.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(866, "ARegion_Runtime", 48)] public class ARegion_Runtime { - [DNAFieldAttribute(0, "char", "*category", "char", 8, true, 0)] - public char ptr_category; - [DNAFieldAttribute(1, "rcti", "visible_rect", "rcti", 16, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*category", "char", true, 0)] + public char category; + [DNAFieldAttribute(16, "rcti", 1, "visible_rect", "rcti", false, 8)] public rcti visible_rect; - [DNAFieldAttribute(2, "int", "offset_x", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 2, "offset_x", "int", false, 24)] public int offset_x; - [DNAFieldAttribute(3, "int", "offset_y", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 3, "offset_y", "int", false, 28)] public int offset_y; - [DNAFieldAttribute(4, "GHash", "*block_name_map", "GHash", 8, true, 32)] - public GHash ptr_block_name_map; - [DNAFieldAttribute(5, "Panel", "*popup_block_panel", "Panel", 8, true, 40)] - public Panel ptr_popup_block_panel; + [DNAFieldAttribute(8, "GHash", 4, "*block_name_map", "GHash", true, 32)] + public GHash block_name_map; + [DNAFieldAttribute(8, "Panel", 5, "*popup_block_panel", "Panel", true, 40)] + public Panel popup_block_panel; public ARegion_Runtime() { - this.ptr_category = default; + this.category = default; this.visible_rect = default; this.offset_x = default; this.offset_y = default; - this.ptr_block_name_map = default; - this.ptr_popup_block_panel = default; + this.block_name_map = default; + this.popup_block_panel = default; } - public ARegion_Runtime(char ptr_category, rcti visible_rect, int offset_x, int offset_y, GHash ptr_block_name_map, Panel ptr_popup_block_panel) { - this.ptr_category = ptr_category; + public ARegion_Runtime(char category, rcti visible_rect, int offset_x, int offset_y, GHash block_name_map, Panel popup_block_panel) { + this.category = category; this.visible_rect = visible_rect; this.offset_x = offset_x; this.offset_y = offset_y; - this.ptr_block_name_map = ptr_block_name_map; - this.ptr_popup_block_panel = ptr_popup_block_panel; + this.block_name_map = block_name_map; + this.popup_block_panel = popup_block_panel; } } } diff --git a/BlendFile/DNA/ActionChannelBag.cs b/BlendFile/DNA/ActionChannelBag.cs index 37ad612..9ba0ab0 100644 --- a/BlendFile/DNA/ActionChannelBag.cs +++ b/BlendFile/DNA/ActionChannelBag.cs @@ -13,35 +13,27 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(63, "ActionChannelBag", 32)] + [DNAClassAttribute(63, "ActionChannelBag", 8)] public class ActionChannelBag { - [DNAFieldAttribute(0, "int", "slot_handle", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "slot_handle", "int", false, 0)] public int slot_handle; - [DNAFieldAttribute(1, "int", "group_array_num", "int", 4, false, 4)] - public int group_array_num; - [DNAFieldAttribute(2, "bActionGroup", "**group_array", "bActionGroup", 8, true, 8)] - public bActionGroup ptr_ptr_group_array; - [DNAFieldAttribute(3, "uchar", "_pad[4]", "System.Byte[]", 4, false, 16)] + [DNAFieldAttribute(4, "uchar", 3, "_pad[4]", "System.Byte[]", false, 4)] public byte[] _pad = new System.Byte[4]; - [DNAFieldAttribute(4, "int", "fcurve_array_num", "int", 4, false, 20)] - public int fcurve_array_num; - [DNAFieldAttribute(5, "FCurve", "**fcurve_array", "FCurve", 8, true, 24)] - public FCurve ptr_ptr_fcurve_array; + [DNAListAttribute(8, "bActionGroup", "**group_array", 2, "bActionGroup", "group_array_num", 1, 8)] + public System.Collections.Generic.List group_array; + [DNAListAttribute(8, "FCurve", "**fcurve_array", 5, "FCurve", "fcurve_array_num", 4, 8)] + public System.Collections.Generic.List 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; + this.group_array = default; + this.fcurve_array = default; } - public ActionChannelBag(int slot_handle, int group_array_num, bActionGroup ptr_ptr_group_array, byte[] _pad, int fcurve_array_num, FCurve ptr_ptr_fcurve_array) { + public ActionChannelBag(int slot_handle, byte[] _pad, System.Collections.Generic.List group_array, System.Collections.Generic.List fcurve_array) { this.slot_handle = slot_handle; - this.group_array_num = group_array_num; - this.ptr_ptr_group_array = ptr_ptr_group_array; this._pad = _pad; - this.fcurve_array_num = fcurve_array_num; - this.ptr_ptr_fcurve_array = ptr_ptr_fcurve_array; + this.group_array = group_array; + this.fcurve_array = fcurve_array; } } } diff --git a/BlendFile/DNA/ActionLayer.cs b/BlendFile/DNA/ActionLayer.cs index 2f0b4ef..85a3430 100644 --- a/BlendFile/DNA/ActionLayer.cs +++ b/BlendFile/DNA/ActionLayer.cs @@ -13,43 +13,39 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(66, "ActionLayer", 88)] + [DNAClassAttribute(66, "ActionLayer", 76)] public class ActionLayer { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1, "float", "influence", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 1, "influence", "float", false, 64)] public float influence; - [DNAFieldAttribute(2, "uchar", "layer_flags", "uchar", 1, false, 68)] + [DNAFieldAttribute(1, "uchar", 2, "layer_flags", "uchar", false, 68)] public byte layer_flags; - [DNAFieldAttribute(3, "int8_t", "layer_mix_mode", "int8_t", 1, false, 69)] + [DNAFieldAttribute(1, "int8_t", 3, "layer_mix_mode", "int8_t", false, 69)] public sbyte layer_mix_mode; - [DNAFieldAttribute(4, "uchar", "_pad0[2]", "System.Byte[]", 2, false, 70)] + [DNAFieldAttribute(2, "uchar", 4, "_pad0[2]", "System.Byte[]", false, 70)] public byte[] _pad0 = new System.Byte[2]; - [DNAFieldAttribute(5, "ActionStrip", "**strip_array", "ActionStrip", 8, true, 72)] - public ActionStrip ptr_ptr_strip_array; - [DNAFieldAttribute(6, "int", "strip_array_num", "int", 4, false, 80)] - public int strip_array_num; - [DNAFieldAttribute(7, "uchar", "_pad1[4]", "System.Byte[]", 4, false, 84)] + [DNAFieldAttribute(4, "uchar", 7, "_pad1[4]", "System.Byte[]", false, 72)] public byte[] _pad1 = new System.Byte[4]; + [DNAListAttribute(8, "ActionStrip", "**strip_array", 5, "ActionStrip", "strip_array_num", 6, 76)] + public System.Collections.Generic.List strip_array; 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; + this.strip_array = default; } - public ActionLayer(char[] name, float influence, byte layer_flags, sbyte layer_mix_mode, byte[] _pad0, ActionStrip ptr_ptr_strip_array, int strip_array_num, byte[] _pad1) { + public ActionLayer(char[] name, float influence, byte layer_flags, sbyte layer_mix_mode, byte[] _pad0, byte[] _pad1, System.Collections.Generic.List strip_array) { this.name = name; this.influence = influence; this.layer_flags = layer_flags; this.layer_mix_mode = layer_mix_mode; this._pad0 = _pad0; - this.ptr_ptr_strip_array = ptr_ptr_strip_array; - this.strip_array_num = strip_array_num; this._pad1 = _pad1; + this.strip_array = strip_array; } } } diff --git a/BlendFile/DNA/ActionSlot.cs b/BlendFile/DNA/ActionSlot.cs index e1f7758..2491ee3 100644 --- a/BlendFile/DNA/ActionSlot.cs +++ b/BlendFile/DNA/ActionSlot.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(67, "ActionSlot", 88)] public class ActionSlot { - [DNAFieldAttribute(0, "char", "name[66]", "System.Char[]", 66, false, 0)] + [DNAFieldAttribute(66, "char", 0, "name[66]", "System.Char[]", false, 0)] public char[] name = new System.Char[66]; - [DNAFieldAttribute(1, "uchar", "_pad0[2]", "System.Byte[]", 2, false, 66)] + [DNAFieldAttribute(2, "uchar", 1, "_pad0[2]", "System.Byte[]", false, 66)] public byte[] _pad0 = new System.Byte[2]; - [DNAFieldAttribute(2, "int", "idtype", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 2, "idtype", "int", false, 68)] public int idtype; - [DNAFieldAttribute(3, "int", "handle", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 3, "handle", "int", false, 72)] public int handle; - [DNAFieldAttribute(4, "int8_t", "slot_flags", "int8_t", 1, false, 76)] + [DNAFieldAttribute(1, "int8_t", 4, "slot_flags", "int8_t", false, 76)] public sbyte slot_flags; - [DNAFieldAttribute(5, "uchar", "_pad1[3]", "System.Byte[]", 3, false, 77)] + [DNAFieldAttribute(3, "uchar", 5, "_pad1[3]", "System.Byte[]", false, 77)] public byte[] _pad1 = new System.Byte[3]; - [DNAFieldAttribute(6, "ActionSlotRuntimeHandle", "*runtime", "ActionSlotRuntimeHandle", 8, true, 80)] - public ActionSlotRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "ActionSlotRuntimeHandle", 6, "*runtime", "ActionSlotRuntimeHandle", true, 80)] + public ActionSlotRuntimeHandle runtime; public ActionSlot() { this.name = default; this._pad0 = default; @@ -36,16 +36,16 @@ namespace BlendFile.DNA { this.handle = default; this.slot_flags = default; this._pad1 = default; - this.ptr_runtime = default; + this.runtime = default; } - public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle ptr_runtime) { + public ActionSlot(char[] name, byte[] _pad0, int idtype, int handle, sbyte slot_flags, byte[] _pad1, ActionSlotRuntimeHandle runtime) { this.name = name; this._pad0 = _pad0; this.idtype = idtype; this.handle = handle; this.slot_flags = slot_flags; this._pad1 = _pad1; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/ActionStrip.cs b/BlendFile/DNA/ActionStrip.cs index c56f42a..698ef9f 100644 --- a/BlendFile/DNA/ActionStrip.cs +++ b/BlendFile/DNA/ActionStrip.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(77, "ActionStrip", 24)] - public struct ActionStrip { - [DNAFieldAttribute(0, "int8_t", "strip_type", "int8_t", 1, false, 0)] + public class ActionStrip { + [DNAFieldAttribute(1, "int8_t", 0, "strip_type", "int8_t", false, 0)] public sbyte strip_type; - [DNAFieldAttribute(1, "uchar", "_pad0[3]", "System.Byte[]", 3, false, 1)] + [DNAFieldAttribute(3, "uchar", 1, "_pad0[3]", "System.Byte[]", false, 1)] public byte[] _pad0 = new System.Byte[3]; - [DNAFieldAttribute(2, "int", "data_index", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "data_index", "int", false, 4)] public int data_index; - [DNAFieldAttribute(3, "float", "frame_start", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 3, "frame_start", "float", false, 8)] public float frame_start; - [DNAFieldAttribute(4, "float", "frame_end", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 4, "frame_end", "float", false, 12)] public float frame_end; - [DNAFieldAttribute(5, "float", "frame_offset", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 5, "frame_offset", "float", false, 16)] public float frame_offset; - [DNAFieldAttribute(6, "uchar", "_pad1[4]", "System.Byte[]", 4, false, 20)] + [DNAFieldAttribute(4, "uchar", 6, "_pad1[4]", "System.Byte[]", false, 20)] public byte[] _pad1 = new System.Byte[4]; public ActionStrip() { this.strip_type = default; diff --git a/BlendFile/DNA/ActionStripKeyframeData.cs b/BlendFile/DNA/ActionStripKeyframeData.cs index 678735e..bda30e3 100644 --- a/BlendFile/DNA/ActionStripKeyframeData.cs +++ b/BlendFile/DNA/ActionStripKeyframeData.cs @@ -13,23 +13,19 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(68, "ActionStripKeyframeData", 16)] + [DNAClassAttribute(68, "ActionStripKeyframeData", 4)] public class ActionStripKeyframeData { - [DNAFieldAttribute(0, "ActionChannelBag", "**channelbag_array", "ActionChannelBag", 8, true, 0)] - public ActionChannelBag ptr_ptr_channelbag_array; - [DNAFieldAttribute(1, "int", "channelbag_array_num", "int", 4, false, 8)] - public int channelbag_array_num; - [DNAFieldAttribute(2, "uchar", "_pad[4]", "System.Byte[]", 4, false, 12)] + [DNAFieldAttribute(4, "uchar", 2, "_pad[4]", "System.Byte[]", false, 0)] public byte[] _pad = new System.Byte[4]; + [DNAListAttribute(8, "ActionChannelBag", "**channelbag_array", 0, "ActionChannelBag", "channelbag_array_num", 1, 4)] + public System.Collections.Generic.List channelbag_array; public ActionStripKeyframeData() { - this.ptr_ptr_channelbag_array = default; - this.channelbag_array_num = default; this._pad = default; + this.channelbag_array = default; } - public ActionStripKeyframeData(ActionChannelBag ptr_ptr_channelbag_array, int channelbag_array_num, byte[] _pad) { - this.ptr_ptr_channelbag_array = ptr_ptr_channelbag_array; - this.channelbag_array_num = channelbag_array_num; + public ActionStripKeyframeData(byte[] _pad, System.Collections.Generic.List channelbag_array) { this._pad = _pad; + this.channelbag_array = channelbag_array; } } } diff --git a/BlendFile/DNA/AnimData.cs b/BlendFile/DNA/AnimData.cs index a37d694..7e4990a 100644 --- a/BlendFile/DNA/AnimData.cs +++ b/BlendFile/DNA/AnimData.cs @@ -13,61 +13,58 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(101, "AnimData", 248)] + [DNAClassAttribute(101, "AnimData", 240)] public class AnimData { - [DNAFieldAttribute(0, "bAction", "*action", "bAction", 8, true, 0)] - public bAction ptr_action; - [DNAFieldAttribute(1, "int", "slot_handle", "int", 4, false, 8)] + [DNAFieldAttribute(8, "bAction", 0, "*action", "bAction", true, 0)] + public bAction action; + [DNAFieldAttribute(4, "int", 1, "slot_handle", "int", false, 8)] public int slot_handle; - [DNAFieldAttribute(2, "char", "slot_name[66]", "System.Char[]", 66, false, 12)] + [DNAFieldAttribute(66, "char", 2, "slot_name[66]", "System.Char[]", false, 12)] public char[] slot_name = new System.Char[66]; - [DNAFieldAttribute(3, "uchar", "_pad0[2]", "System.Byte[]", 2, false, 78)] + [DNAFieldAttribute(2, "uchar", 3, "_pad0[2]", "System.Byte[]", false, 78)] public byte[] _pad0 = new System.Byte[2]; - [DNAFieldAttribute(4, "bAction", "*tmpact", "bAction", 8, true, 80)] - public bAction ptr_tmpact; - [DNAFieldAttribute(5, "int", "tmp_slot_handle", "int", 4, false, 88)] + [DNAFieldAttribute(8, "bAction", 4, "*tmpact", "bAction", true, 80)] + public bAction tmpact; + [DNAFieldAttribute(4, "int", 5, "tmp_slot_handle", "int", false, 88)] public int tmp_slot_handle; - [DNAFieldAttribute(6, "char", "tmp_slot_name[66]", "System.Char[]", 66, false, 92)] + [DNAFieldAttribute(66, "char", 6, "tmp_slot_name[66]", "System.Char[]", false, 92)] public char[] tmp_slot_name = new System.Char[66]; - [DNAFieldAttribute(7, "uchar", "_pad1[2]", "System.Byte[]", 2, false, 158)] + [DNAFieldAttribute(2, "uchar", 7, "_pad1[2]", "System.Byte[]", false, 158)] public byte[] _pad1 = new System.Byte[2]; - [DNAFieldAttribute(8, "ListBase", "nla_tracks", "ListBase", 16, false, 160)] + [DNAFieldAttribute(16, "ListBase", 8, "nla_tracks", "ListBase", false, 160)] public ListBase nla_tracks; - [DNAFieldAttribute(9, "NlaTrack", "*act_track", "NlaTrack", 8, true, 176)] - public NlaTrack ptr_act_track; - [DNAFieldAttribute(10, "NlaStrip", "*actstrip", "NlaStrip", 8, true, 184)] - public NlaStrip ptr_actstrip; - [DNAFieldAttribute(11, "ListBase", "drivers", "ListBase", 16, false, 192)] + [DNAFieldAttribute(8, "NlaTrack", 9, "*act_track", "NlaTrack", true, 176)] + public NlaTrack act_track; + [DNAFieldAttribute(8, "NlaStrip", 10, "*actstrip", "NlaStrip", true, 184)] + public NlaStrip actstrip; + [DNAFieldAttribute(16, "ListBase", 11, "drivers", "ListBase", false, 192)] public ListBase drivers; - [DNAFieldAttribute(12, "ListBase", "overrides", "ListBase", 16, false, 208)] + [DNAFieldAttribute(16, "ListBase", 12, "overrides", "ListBase", false, 208)] public ListBase overrides; - [DNAFieldAttribute(13, "FCurve", "**driver_array", "FCurve", 8, true, 224)] - public FCurve ptr_ptr_driver_array; - [DNAFieldAttribute(14, "int", "flag", "int", 4, false, 232)] + [DNAFieldAttribute(4, "int", 14, "flag", "int", false, 224)] public int flag; - [DNAFieldAttribute(15, "short", "act_blendmode", "short", 2, false, 236)] + [DNAFieldAttribute(2, "short", 15, "act_blendmode", "short", false, 228)] public short act_blendmode; - [DNAFieldAttribute(16, "short", "act_extendmode", "short", 2, false, 238)] + [DNAFieldAttribute(2, "short", 16, "act_extendmode", "short", false, 230)] public short act_extendmode; - [DNAFieldAttribute(17, "float", "act_influence", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 17, "act_influence", "float", false, 232)] public float act_influence; - [DNAFieldAttribute(18, "uchar", "_pad2[4]", "System.Byte[]", 4, false, 244)] + [DNAFieldAttribute(4, "uchar", 18, "_pad2[4]", "System.Byte[]", false, 236)] public byte[] _pad2 = new System.Byte[4]; public AnimData() { - this.ptr_action = default; + this.action = default; this.slot_handle = default; this.slot_name = default; this._pad0 = default; - this.ptr_tmpact = default; + this.tmpact = default; this.tmp_slot_handle = default; this.tmp_slot_name = default; this._pad1 = default; this.nla_tracks = default; - this.ptr_act_track = default; - this.ptr_actstrip = default; + this.act_track = default; + this.actstrip = default; this.drivers = default; this.overrides = default; - this.ptr_ptr_driver_array = default; this.flag = default; this.act_blendmode = default; this.act_extendmode = default; @@ -75,39 +72,37 @@ namespace BlendFile.DNA { this._pad2 = default; } public AnimData( - bAction ptr_action, + bAction action, int slot_handle, char[] slot_name, byte[] _pad0, - bAction ptr_tmpact, + bAction tmpact, int tmp_slot_handle, char[] tmp_slot_name, byte[] _pad1, ListBase nla_tracks, - NlaTrack ptr_act_track, - NlaStrip ptr_actstrip, + NlaTrack act_track, + NlaStrip actstrip, ListBase drivers, ListBase overrides, - FCurve ptr_ptr_driver_array, int flag, short act_blendmode, short act_extendmode, float act_influence, byte[] _pad2) { - this.ptr_action = ptr_action; + this.action = action; this.slot_handle = slot_handle; this.slot_name = slot_name; this._pad0 = _pad0; - this.ptr_tmpact = ptr_tmpact; + this.tmpact = tmpact; this.tmp_slot_handle = tmp_slot_handle; this.tmp_slot_name = tmp_slot_name; this._pad1 = _pad1; this.nla_tracks = nla_tracks; - this.ptr_act_track = ptr_act_track; - this.ptr_actstrip = ptr_actstrip; + this.act_track = act_track; + this.actstrip = actstrip; this.drivers = drivers; this.overrides = overrides; - this.ptr_ptr_driver_array = ptr_ptr_driver_array; this.flag = flag; this.act_blendmode = act_blendmode; this.act_extendmode = act_extendmode; diff --git a/BlendFile/DNA/AnimOverride.cs b/BlendFile/DNA/AnimOverride.cs index 8c5b5a2..73ae5cf 100644 --- a/BlendFile/DNA/AnimOverride.cs +++ b/BlendFile/DNA/AnimOverride.cs @@ -13,30 +13,26 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(100, "AnimOverride", 32)] + [DNAClassAttribute(100, "AnimOverride", 28)] public class AnimOverride { - [DNAFieldAttribute(0, "AnimOverride", "*next", "AnimOverride", 8, true, 0)] - public AnimOverride ptr_next; - [DNAFieldAttribute(1, "AnimOverride", "*prev", "AnimOverride", 8, true, 8)] - public AnimOverride ptr_prev; - [DNAFieldAttribute(2, "char", "*rna_path", "char", 8, true, 16)] - public char ptr_rna_path; - [DNAFieldAttribute(3, "int", "array_index", "int", 4, false, 24)] - public int array_index; - [DNAFieldAttribute(4, "float", "value", "float", 4, false, 28)] + [DNAFieldAttribute(8, "AnimOverride", 0, "*next", "AnimOverride", true, 0)] + public AnimOverride next; + [DNAFieldAttribute(8, "AnimOverride", 1, "*prev", "AnimOverride", true, 8)] + public AnimOverride prev; + [DNAFieldAttribute(8, "char", 2, "*rna_path", "char", true, 16)] + public char rna_path; + [DNAFieldAttribute(4, "float", 4, "value", "float", false, 24)] public float value; public AnimOverride() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_rna_path = default; - this.array_index = default; + this.next = default; + this.prev = default; + this.rna_path = default; this.value = default; } - public AnimOverride(AnimOverride ptr_next, AnimOverride ptr_prev, char ptr_rna_path, int array_index, float value) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_rna_path = ptr_rna_path; - this.array_index = array_index; + public AnimOverride(AnimOverride next, AnimOverride prev, char rna_path, float value) { + this.next = next; + this.prev = prev; + this.rna_path = rna_path; this.value = value; } } diff --git a/BlendFile/DNA/ArmatureGpencilModifierData.cs b/BlendFile/DNA/ArmatureGpencilModifierData.cs index 895e90b..b84a03a 100644 --- a/BlendFile/DNA/ArmatureGpencilModifierData.cs +++ b/BlendFile/DNA/ArmatureGpencilModifierData.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(296, "ArmatureGpencilModifierData", 184)] public class ArmatureGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "short", "deformflag", "short", 2, false, 104)] + [DNAFieldAttribute(2, "short", 1, "deformflag", "short", false, 104)] public short deformflag; - [DNAFieldAttribute(2, "short", "multi", "short", 2, false, 106)] + [DNAFieldAttribute(2, "short", 2, "multi", "short", false, 106)] public short multi; - [DNAFieldAttribute(3, "int", "_pad", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 3, "_pad", "int", false, 108)] public int _pad; - [DNAFieldAttribute(4, "Object", "*object", "Object", 8, true, 112)] - public Object ptr_object; - [DNAFieldAttribute(6, "char", "vgname[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 112)] + public Object @object; + [DNAFieldAttribute(64, "char", 6, "vgname[64]", "System.Char[]", false, 120)] public char[] vgname = new System.Char[64]; public ArmatureGpencilModifierData() { this.modifier = default; this.deformflag = default; this.multi = default; this._pad = default; - this.ptr_object = default; + this.@object = default; this.vgname = default; } - public ArmatureGpencilModifierData(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object ptr_object, char[] vgname) { + public ArmatureGpencilModifierData(GpencilModifierData modifier, short deformflag, short multi, int _pad, Object @object, char[] vgname) { this.modifier = modifier; this.deformflag = deformflag; this.multi = multi; this._pad = _pad; - this.ptr_object = ptr_object; + this.@object = @object; this.vgname = vgname; } } diff --git a/BlendFile/DNA/ArmatureModifierData.cs b/BlendFile/DNA/ArmatureModifierData.cs index 6c3718d..22f04c5 100644 --- a/BlendFile/DNA/ArmatureModifierData.cs +++ b/BlendFile/DNA/ArmatureModifierData.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(461, "ArmatureModifierData", 200)] public class ArmatureModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "short", "deformflag", "short", 2, false, 120)] + [DNAFieldAttribute(2, "short", 1, "deformflag", "short", false, 120)] public short deformflag; - [DNAFieldAttribute(2, "short", "multi", "short", 2, false, 122)] + [DNAFieldAttribute(2, "short", 2, "multi", "short", false, 122)] public short multi; - [DNAFieldAttribute(3, "char", "_pad2[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 3, "_pad2[4]", "System.Char[]", false, 124)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(4, "Object", "*object", "Object", 8, true, 128)] - public Object ptr_object; - [DNAFieldAttribute(6, "char", "defgrp_name[64]", "System.Char[]", 64, false, 136)] + [DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 128)] + public Object @object; + [DNAFieldAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", false, 136)] public char[] defgrp_name = new System.Char[64]; public ArmatureModifierData() { this.modifier = default; this.deformflag = default; this.multi = default; this._pad2 = default; - this.ptr_object = default; + this.@object = default; this.defgrp_name = default; } - public ArmatureModifierData(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object ptr_object, char[] defgrp_name) { + public ArmatureModifierData(ModifierData modifier, short deformflag, short multi, char[] _pad2, Object @object, char[] defgrp_name) { this.modifier = modifier; this.deformflag = deformflag; this.multi = multi; this._pad2 = _pad2; - this.ptr_object = ptr_object; + this.@object = @object; this.defgrp_name = defgrp_name; } } diff --git a/BlendFile/DNA/ArrayGpencilModifierData.cs b/BlendFile/DNA/ArrayGpencilModifierData.cs index c9b154e..a0a8dd9 100644 --- a/BlendFile/DNA/ArrayGpencilModifierData.cs +++ b/BlendFile/DNA/ArrayGpencilModifierData.cs @@ -15,44 +15,44 @@ namespace BlendFile.DNA { [DNAClassAttribute(284, "ArrayGpencilModifierData", 336)] public class ArrayGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 112)] - public Material ptr_material; - [DNAFieldAttribute(3, "int", "count", "int", 4, false, 120)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] + public Material material; + [DNAFieldAttribute(4, "int", 3, "count", "int", false, 120)] public int count; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 124)] public int flag; - [DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 12, false, 128)] + [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 128)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(6, "float", "shift[3]", "System.Single[]", 12, false, 140)] + [DNAFieldAttribute(12, "float", 6, "shift[3]", "System.Single[]", false, 140)] public float[] shift = new System.Single[3]; - [DNAFieldAttribute(7, "float", "rnd_offset[3]", "System.Single[]", 12, false, 152)] + [DNAFieldAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", false, 152)] public float[] rnd_offset = new System.Single[3]; - [DNAFieldAttribute(8, "float", "rnd_rot[3]", "System.Single[]", 12, false, 164)] + [DNAFieldAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", false, 164)] public float[] rnd_rot = new System.Single[3]; - [DNAFieldAttribute(9, "float", "rnd_scale[3]", "System.Single[]", 12, false, 176)] + [DNAFieldAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", false, 176)] public float[] rnd_scale = new System.Single[3]; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 188)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 188)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(11, "int", "seed", "int", 4, false, 192)] + [DNAFieldAttribute(4, "int", 11, "seed", "int", false, 192)] public int seed; - [DNAFieldAttribute(12, "int", "pass_index", "int", 4, false, 196)] + [DNAFieldAttribute(4, "int", 12, "pass_index", "int", false, 196)] public int pass_index; - [DNAFieldAttribute(13, "char", "layername[64]", "System.Char[]", 64, false, 200)] + [DNAFieldAttribute(64, "char", 13, "layername[64]", "System.Char[]", false, 200)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(14, "char", "materialname[64]", "System.Char[]", 64, false, 264)] + [DNAFieldAttribute(64, "char", 14, "materialname[64]", "System.Char[]", false, 264)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(15, "int", "mat_rpl", "int", 4, false, 328)] + [DNAFieldAttribute(4, "int", 15, "mat_rpl", "int", false, 328)] public int mat_rpl; - [DNAFieldAttribute(16, "int", "layer_pass", "int", 4, false, 332)] + [DNAFieldAttribute(4, "int", 16, "layer_pass", "int", false, 332)] public int layer_pass; public ArrayGpencilModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_material = default; + this.@object = default; + this.material = default; this.count = default; this.flag = default; this.offset = default; @@ -70,8 +70,8 @@ namespace BlendFile.DNA { } public ArrayGpencilModifierData( GpencilModifierData modifier, - Object ptr_object, - Material ptr_material, + Object @object, + Material material, int count, int flag, float[] offset, @@ -87,8 +87,8 @@ namespace BlendFile.DNA { int mat_rpl, int layer_pass) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_material = ptr_material; + this.@object = @object; + this.material = material; this.count = count; this.flag = flag; this.offset = offset; diff --git a/BlendFile/DNA/ArrayModifierData.cs b/BlendFile/DNA/ArrayModifierData.cs index cc8d4db..14fba8e 100644 --- a/BlendFile/DNA/ArrayModifierData.cs +++ b/BlendFile/DNA/ArrayModifierData.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(451, "ArrayModifierData", 208)] public class ArrayModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*start_cap", "Object", 8, true, 120)] - public Object ptr_start_cap; - [DNAFieldAttribute(2, "Object", "*end_cap", "Object", 8, true, 128)] - public Object ptr_end_cap; - [DNAFieldAttribute(3, "Object", "*curve_ob", "Object", 8, true, 136)] - public Object ptr_curve_ob; - [DNAFieldAttribute(4, "Object", "*offset_ob", "Object", 8, true, 144)] - public Object ptr_offset_ob; - [DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 12, false, 152)] + [DNAFieldAttribute(8, "Object", 1, "*start_cap", "Object", true, 120)] + public Object start_cap; + [DNAFieldAttribute(8, "Object", 2, "*end_cap", "Object", true, 128)] + public Object end_cap; + [DNAFieldAttribute(8, "Object", 3, "*curve_ob", "Object", true, 136)] + public Object curve_ob; + [DNAFieldAttribute(8, "Object", 4, "*offset_ob", "Object", true, 144)] + public Object offset_ob; + [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 152)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(6, "float", "scale[3]", "System.Single[]", 12, false, 164)] + [DNAFieldAttribute(12, "float", 6, "scale[3]", "System.Single[]", false, 164)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(7, "float", "length", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 7, "length", "float", false, 176)] public float length; - [DNAFieldAttribute(8, "float", "merge_dist", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 8, "merge_dist", "float", false, 180)] public float merge_dist; - [DNAFieldAttribute(9, "int", "fit_type", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 9, "fit_type", "int", false, 184)] public int fit_type; - [DNAFieldAttribute(10, "int", "offset_type", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 10, "offset_type", "int", false, 188)] public int offset_type; - [DNAFieldAttribute(11, "int", "flags", "int", 4, false, 192)] + [DNAFieldAttribute(4, "int", 11, "flags", "int", false, 192)] public int flags; - [DNAFieldAttribute(12, "int", "count", "int", 4, false, 196)] + [DNAFieldAttribute(4, "int", 12, "count", "int", false, 196)] public int count; - [DNAFieldAttribute(13, "float", "uv_offset[2]", "System.Single[]", 8, false, 200)] + [DNAFieldAttribute(8, "float", 13, "uv_offset[2]", "System.Single[]", false, 200)] public float[] uv_offset = new System.Single[2]; public ArrayModifierData() { this.modifier = default; - this.ptr_start_cap = default; - this.ptr_end_cap = default; - this.ptr_curve_ob = default; - this.ptr_offset_ob = default; + this.start_cap = default; + this.end_cap = default; + this.curve_ob = default; + this.offset_ob = default; this.offset = default; this.scale = default; this.length = default; @@ -59,12 +59,12 @@ namespace BlendFile.DNA { this.count = default; this.uv_offset = default; } - public ArrayModifierData(ModifierData modifier, Object ptr_start_cap, Object ptr_end_cap, Object ptr_curve_ob, Object ptr_offset_ob, float[] offset, float[] scale, float length, float merge_dist, int fit_type, int offset_type, int flags, int count, float[] uv_offset) { + public ArrayModifierData(ModifierData modifier, Object start_cap, Object end_cap, Object curve_ob, Object offset_ob, float[] offset, float[] scale, float length, float merge_dist, int fit_type, int offset_type, int flags, int count, float[] uv_offset) { this.modifier = modifier; - this.ptr_start_cap = ptr_start_cap; - this.ptr_end_cap = ptr_end_cap; - this.ptr_curve_ob = ptr_curve_ob; - this.ptr_offset_ob = ptr_offset_ob; + this.start_cap = start_cap; + this.end_cap = end_cap; + this.curve_ob = curve_ob; + this.offset_ob = offset_ob; this.offset = offset; this.scale = scale; this.length = length; diff --git a/BlendFile/DNA/AssetCatalogPathLink.cs b/BlendFile/DNA/AssetCatalogPathLink.cs index 8059dd5..04b2188 100644 --- a/BlendFile/DNA/AssetCatalogPathLink.cs +++ b/BlendFile/DNA/AssetCatalogPathLink.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(115, "AssetCatalogPathLink", 24)] public class AssetCatalogPathLink { - [DNAFieldAttribute(0, "AssetCatalogPathLink", "*next", "AssetCatalogPathLink", 8, true, 0)] - public AssetCatalogPathLink ptr_next; - [DNAFieldAttribute(1, "AssetCatalogPathLink", "*prev", "AssetCatalogPathLink", 8, true, 8)] - public AssetCatalogPathLink ptr_prev; - [DNAFieldAttribute(2, "char", "*path", "char", 8, true, 16)] - public char ptr_path; + [DNAFieldAttribute(8, "AssetCatalogPathLink", 0, "*next", "AssetCatalogPathLink", true, 0)] + public AssetCatalogPathLink next; + [DNAFieldAttribute(8, "AssetCatalogPathLink", 1, "*prev", "AssetCatalogPathLink", true, 8)] + public AssetCatalogPathLink prev; + [DNAFieldAttribute(8, "char", 2, "*path", "char", true, 16)] + public char path; public AssetCatalogPathLink() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_path = default; + this.next = default; + this.prev = default; + this.path = default; } - public AssetCatalogPathLink(AssetCatalogPathLink ptr_next, AssetCatalogPathLink ptr_prev, char ptr_path) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_path = ptr_path; + public AssetCatalogPathLink(AssetCatalogPathLink next, AssetCatalogPathLink prev, char path) { + this.next = next; + this.prev = prev; + this.path = path; } } } diff --git a/BlendFile/DNA/AssetLibraryReference.cs b/BlendFile/DNA/AssetLibraryReference.cs index 29c3bcf..78006fd 100644 --- a/BlendFile/DNA/AssetLibraryReference.cs +++ b/BlendFile/DNA/AssetLibraryReference.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(113, "AssetLibraryReference", 8)] - public struct AssetLibraryReference { - [DNAFieldAttribute(0, "short", "type", "short", 2, false, 0)] + public class AssetLibraryReference { + [DNAFieldAttribute(2, "short", 0, "type", "short", false, 0)] public short type; - [DNAFieldAttribute(1, "char", "_pad1[2]", "System.Char[]", 2, false, 2)] + [DNAFieldAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", false, 2)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(2, "int", "custom_library_index", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "custom_library_index", "int", false, 4)] public int custom_library_index; public AssetLibraryReference() { this.type = default; diff --git a/BlendFile/DNA/AssetMetaData.cs b/BlendFile/DNA/AssetMetaData.cs index ca7e075..6a27f6c 100644 --- a/BlendFile/DNA/AssetMetaData.cs +++ b/BlendFile/DNA/AssetMetaData.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(35, "AssetMetaData", 152)] public class AssetMetaData { - [DNAFieldAttribute(0, "AssetTypeInfo", "*local_type_info", "AssetTypeInfo", 8, true, 0)] - public AssetTypeInfo ptr_local_type_info; - [DNAFieldAttribute(1, "IDProperty", "*properties", "IDProperty", 8, true, 8)] - public IDProperty ptr_properties; - [DNAFieldAttribute(2, "bUUID", "catalog_id", "bUUID", 16, false, 16)] + [DNAFieldAttribute(8, "AssetTypeInfo", 0, "*local_type_info", "AssetTypeInfo", true, 0)] + public AssetTypeInfo local_type_info; + [DNAFieldAttribute(8, "IDProperty", 1, "*properties", "IDProperty", true, 8)] + public IDProperty properties; + [DNAFieldAttribute(16, "bUUID", 2, "catalog_id", "bUUID", false, 16)] public bUUID catalog_id; - [DNAFieldAttribute(3, "char", "catalog_simple_name[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 3, "catalog_simple_name[64]", "System.Char[]", false, 32)] public char[] catalog_simple_name = new System.Char[64]; - [DNAFieldAttribute(4, "char", "*author", "char", 8, true, 96)] - public char ptr_author; - [DNAFieldAttribute(5, "char", "*description", "char", 8, true, 104)] - public char ptr_description; - [DNAFieldAttribute(6, "char", "*copyright", "char", 8, true, 112)] - public char ptr_copyright; - [DNAFieldAttribute(7, "char", "*license", "char", 8, true, 120)] - public char ptr_license; - [DNAFieldAttribute(8, "ListBase", "tags", "ListBase", 16, false, 128)] + [DNAFieldAttribute(8, "char", 4, "*author", "char", true, 96)] + public char author; + [DNAFieldAttribute(8, "char", 5, "*description", "char", true, 104)] + public char description; + [DNAFieldAttribute(8, "char", 6, "*copyright", "char", true, 112)] + public char copyright; + [DNAFieldAttribute(8, "char", 7, "*license", "char", true, 120)] + public char license; + [DNAFieldAttribute(16, "ListBase", 8, "tags", "ListBase", false, 128)] public ListBase tags; - [DNAFieldAttribute(9, "short", "active_tag", "short", 2, false, 144)] + [DNAFieldAttribute(2, "short", 9, "active_tag", "short", false, 144)] public short active_tag; - [DNAFieldAttribute(10, "short", "tot_tags", "short", 2, false, 146)] + [DNAFieldAttribute(2, "short", 10, "tot_tags", "short", false, 146)] public short tot_tags; - [DNAFieldAttribute(11, "char", "_pad[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 11, "_pad[4]", "System.Char[]", false, 148)] public char[] _pad = new System.Char[4]; public AssetMetaData() { - this.ptr_local_type_info = default; - this.ptr_properties = default; + this.local_type_info = default; + this.properties = default; this.catalog_id = default; this.catalog_simple_name = default; - this.ptr_author = default; - this.ptr_description = default; - this.ptr_copyright = default; - this.ptr_license = default; + this.author = default; + this.description = default; + this.copyright = default; + this.license = default; this.tags = default; this.active_tag = default; this.tot_tags = default; this._pad = default; } - public AssetMetaData(AssetTypeInfo ptr_local_type_info, IDProperty ptr_properties, bUUID catalog_id, char[] catalog_simple_name, char ptr_author, char ptr_description, char ptr_copyright, char ptr_license, ListBase tags, short active_tag, short tot_tags, char[] _pad) { - this.ptr_local_type_info = ptr_local_type_info; - this.ptr_properties = ptr_properties; + public AssetMetaData(AssetTypeInfo local_type_info, IDProperty properties, bUUID catalog_id, char[] catalog_simple_name, char author, char description, char copyright, char license, ListBase tags, short active_tag, short tot_tags, char[] _pad) { + this.local_type_info = local_type_info; + this.properties = properties; this.catalog_id = catalog_id; this.catalog_simple_name = catalog_simple_name; - this.ptr_author = ptr_author; - this.ptr_description = ptr_description; - this.ptr_copyright = ptr_copyright; - this.ptr_license = ptr_license; + this.author = author; + this.description = description; + this.copyright = copyright; + this.license = license; this.tags = tags; this.active_tag = active_tag; this.tot_tags = tot_tags; diff --git a/BlendFile/DNA/AssetShelf.cs b/BlendFile/DNA/AssetShelf.cs index 8c2d48e..782e240 100644 --- a/BlendFile/DNA/AssetShelf.cs +++ b/BlendFile/DNA/AssetShelf.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(871, "AssetShelf", 216)] public class AssetShelf { - [DNAFieldAttribute(0, "AssetShelf", "*next", "AssetShelf", 8, true, 0)] - public AssetShelf ptr_next; - [DNAFieldAttribute(1, "AssetShelf", "*prev", "AssetShelf", 8, true, 8)] - public AssetShelf ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "AssetShelf", 0, "*next", "AssetShelf", true, 0)] + public AssetShelf next; + [DNAFieldAttribute(8, "AssetShelf", 1, "*prev", "AssetShelf", true, 8)] + public AssetShelf prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(3, "AssetShelfType", "*type", "AssetShelfType", 8, true, 80)] - public AssetShelfType ptr_type; - [DNAFieldAttribute(4, "AssetShelfSettings", "settings", "AssetShelfSettings", 120, false, 88)] + [DNAFieldAttribute(8, "AssetShelfType", 3, "*type", "AssetShelfType", true, 80)] + public AssetShelfType type; + [DNAFieldAttribute(120, "AssetShelfSettings", 4, "settings", "AssetShelfSettings", false, 88)] public AssetShelfSettings settings; - [DNAFieldAttribute(5, "short", "preferred_row_count", "short", 2, false, 208)] + [DNAFieldAttribute(2, "short", 5, "preferred_row_count", "short", false, 208)] public short preferred_row_count; - [DNAFieldAttribute(6, "short", "instance_flag", "short", 2, false, 210)] + [DNAFieldAttribute(2, "short", 6, "instance_flag", "short", false, 210)] public short instance_flag; - [DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false, 212)] + [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 212)] public char[] _pad = new System.Char[4]; public AssetShelf() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.idname = default; - this.ptr_type = default; + this.type = default; this.settings = default; this.preferred_row_count = default; this.instance_flag = default; this._pad = default; } - public AssetShelf(AssetShelf ptr_next, AssetShelf ptr_prev, char[] idname, AssetShelfType ptr_type, AssetShelfSettings settings, short preferred_row_count, short instance_flag, char[] _pad) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public AssetShelf(AssetShelf next, AssetShelf prev, char[] idname, AssetShelfType type, AssetShelfSettings settings, short preferred_row_count, short instance_flag, char[] _pad) { + this.next = next; + this.prev = prev; this.idname = idname; - this.ptr_type = ptr_type; + this.type = type; this.settings = settings; this.preferred_row_count = preferred_row_count; this.instance_flag = instance_flag; diff --git a/BlendFile/DNA/AssetShelfSettings.cs b/BlendFile/DNA/AssetShelfSettings.cs index ce7827c..106c5b8 100644 --- a/BlendFile/DNA/AssetShelfSettings.cs +++ b/BlendFile/DNA/AssetShelfSettings.cs @@ -15,41 +15,41 @@ namespace BlendFile.DNA { [DNAClassAttribute(870, "AssetShelfSettings", 120)] public class AssetShelfSettings { - [DNAFieldAttribute(0, "AssetShelfSettings", "*next", "AssetShelfSettings", 8, true, 0)] - public AssetShelfSettings ptr_next; - [DNAFieldAttribute(1, "AssetShelfSettings", "*prev", "AssetShelfSettings", 8, true, 8)] - public AssetShelfSettings ptr_prev; - [DNAFieldAttribute(2, "AssetLibraryReference", "asset_library_reference", "AssetLibraryReference", 8, false, 16)] + [DNAFieldAttribute(8, "AssetShelfSettings", 0, "*next", "AssetShelfSettings", true, 0)] + public AssetShelfSettings next; + [DNAFieldAttribute(8, "AssetShelfSettings", 1, "*prev", "AssetShelfSettings", true, 8)] + public AssetShelfSettings prev; + [DNAFieldAttribute(8, "AssetLibraryReference", 2, "asset_library_reference", "AssetLibraryReference", false, 16)] public AssetLibraryReference asset_library_reference; - [DNAFieldAttribute(3, "ListBase", "enabled_catalog_paths", "ListBase", 16, false, 24)] + [DNAFieldAttribute(16, "ListBase", 3, "enabled_catalog_paths", "ListBase", false, 24)] public ListBase enabled_catalog_paths; - [DNAFieldAttribute(4, "char", "*active_catalog_path", "char", 8, true, 40)] - public char ptr_active_catalog_path; - [DNAFieldAttribute(5, "char", "search_string[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(8, "char", 4, "*active_catalog_path", "char", true, 40)] + public char active_catalog_path; + [DNAFieldAttribute(64, "char", 5, "search_string[64]", "System.Char[]", false, 48)] public char[] search_string = new System.Char[64]; - [DNAFieldAttribute(6, "short", "preview_size", "short", 2, false, 112)] + [DNAFieldAttribute(2, "short", 6, "preview_size", "short", false, 112)] public short preview_size; - [DNAFieldAttribute(7, "short", "display_flag", "short", 2, false, 114)] + [DNAFieldAttribute(2, "short", 7, "display_flag", "short", false, 114)] public short display_flag; - [DNAFieldAttribute(8, "char", "_pad1[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 8, "_pad1[4]", "System.Char[]", false, 116)] public char[] _pad1 = new System.Char[4]; public AssetShelfSettings() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.asset_library_reference = default; this.enabled_catalog_paths = default; - this.ptr_active_catalog_path = default; + this.active_catalog_path = default; this.search_string = default; this.preview_size = default; this.display_flag = default; this._pad1 = default; } - public AssetShelfSettings(AssetShelfSettings ptr_next, AssetShelfSettings ptr_prev, AssetLibraryReference asset_library_reference, ListBase enabled_catalog_paths, char ptr_active_catalog_path, char[] search_string, short preview_size, short display_flag, char[] _pad1) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public AssetShelfSettings(AssetShelfSettings next, AssetShelfSettings prev, AssetLibraryReference asset_library_reference, ListBase enabled_catalog_paths, char active_catalog_path, char[] search_string, short preview_size, short display_flag, char[] _pad1) { + this.next = next; + this.prev = prev; this.asset_library_reference = asset_library_reference; this.enabled_catalog_paths = enabled_catalog_paths; - this.ptr_active_catalog_path = ptr_active_catalog_path; + this.active_catalog_path = active_catalog_path; this.search_string = search_string; this.preview_size = preview_size; this.display_flag = display_flag; diff --git a/BlendFile/DNA/AssetTag.cs b/BlendFile/DNA/AssetTag.cs index 9114c1e..b66f221 100644 --- a/BlendFile/DNA/AssetTag.cs +++ b/BlendFile/DNA/AssetTag.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(110, "AssetTag", 80)] public class AssetTag { - [DNAFieldAttribute(0, "AssetTag", "*next", "AssetTag", 8, true, 0)] - public AssetTag ptr_next; - [DNAFieldAttribute(1, "AssetTag", "*prev", "AssetTag", 8, true, 8)] - public AssetTag ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "AssetTag", 0, "*next", "AssetTag", true, 0)] + public AssetTag next; + [DNAFieldAttribute(8, "AssetTag", 1, "*prev", "AssetTag", true, 8)] + public AssetTag prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; public AssetTag() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; } - public AssetTag(AssetTag ptr_next, AssetTag ptr_prev, char[] name) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public AssetTag(AssetTag next, AssetTag prev, char[] name) { + this.next = next; + this.prev = prev; this.name = name; } } diff --git a/BlendFile/DNA/AssetWeakReference.cs b/BlendFile/DNA/AssetWeakReference.cs index dba3795..20031e4 100644 --- a/BlendFile/DNA/AssetWeakReference.cs +++ b/BlendFile/DNA/AssetWeakReference.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(114, "AssetWeakReference", 24)] public class AssetWeakReference { - [DNAFieldAttribute(0, "char", "_pad[6]", "System.Char[]", 6, false, 0)] + [DNAFieldAttribute(6, "char", 0, "_pad[6]", "System.Char[]", false, 0)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(1, "short", "asset_library_type", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 1, "asset_library_type", "short", false, 6)] public short asset_library_type; - [DNAFieldAttribute(2, "char", "*asset_library_identifier", "char", 8, true, 8)] - public char ptr_asset_library_identifier; - [DNAFieldAttribute(3, "char", "*relative_asset_identifier", "char", 8, true, 16)] - public char ptr_relative_asset_identifier; + [DNAFieldAttribute(8, "char", 2, "*asset_library_identifier", "char", true, 8)] + public char asset_library_identifier; + [DNAFieldAttribute(8, "char", 3, "*relative_asset_identifier", "char", true, 16)] + public char relative_asset_identifier; public AssetWeakReference() { this._pad = default; this.asset_library_type = default; - this.ptr_asset_library_identifier = default; - this.ptr_relative_asset_identifier = default; + this.asset_library_identifier = default; + this.relative_asset_identifier = default; } - public AssetWeakReference(char[] _pad, short asset_library_type, char ptr_asset_library_identifier, char ptr_relative_asset_identifier) { + public AssetWeakReference(char[] _pad, short asset_library_type, char asset_library_identifier, char relative_asset_identifier) { this._pad = _pad; this.asset_library_type = asset_library_type; - this.ptr_asset_library_identifier = ptr_asset_library_identifier; - this.ptr_relative_asset_identifier = ptr_relative_asset_identifier; + this.asset_library_identifier = asset_library_identifier; + this.relative_asset_identifier = relative_asset_identifier; } } } diff --git a/BlendFile/DNA/AudioData.cs b/BlendFile/DNA/AudioData.cs index a49c731..65e4c83 100644 --- a/BlendFile/DNA/AudioData.cs +++ b/BlendFile/DNA/AudioData.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(798, "AudioData", 32)] - public struct AudioData { - [DNAFieldAttribute(0, "int", "mixrate", "int", 4, false, 0)] + public class AudioData { + [DNAFieldAttribute(4, "int", 0, "mixrate", "int", false, 0)] public int mixrate; - [DNAFieldAttribute(1, "float", "main", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "main", "float", false, 4)] public float main; - [DNAFieldAttribute(2, "float", "speed_of_sound", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "speed_of_sound", "float", false, 8)] public float speed_of_sound; - [DNAFieldAttribute(3, "float", "doppler_factor", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "doppler_factor", "float", false, 12)] public float doppler_factor; - [DNAFieldAttribute(4, "int", "distance_model", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "distance_model", "int", false, 16)] public int distance_model; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 20)] public short flag; - [DNAFieldAttribute(6, "char", "_pad[2]", "System.Char[]", 2, false, 22)] + [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 22)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(7, "float", "volume", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 7, "volume", "float", false, 24)] public float volume; - [DNAFieldAttribute(8, "char", "_pad2[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", false, 28)] public char[] _pad2 = new System.Char[4]; public AudioData() { this.mixrate = default; diff --git a/BlendFile/DNA/BPoint.cs b/BlendFile/DNA/BPoint.cs index 88107a2..2d51078 100644 --- a/BlendFile/DNA/BPoint.cs +++ b/BlendFile/DNA/BPoint.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(206, "BPoint", 36)] - public struct BPoint { - [DNAFieldAttribute(0, "float", "vec[4]", "System.Single[]", 16, false, 0)] + public class BPoint { + [DNAFieldAttribute(16, "float", 0, "vec[4]", "System.Single[]", false, 0)] public float[] vec = new System.Single[4]; - [DNAFieldAttribute(1, "float", "alfa", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 16)] public float alfa; - [DNAFieldAttribute(2, "float", "weight", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 2, "weight", "float", false, 20)] public float weight; - [DNAFieldAttribute(3, "uchar", "f1", "uchar", 1, false, 24)] + [DNAFieldAttribute(1, "uchar", 3, "f1", "uchar", false, 24)] public byte f1; - [DNAFieldAttribute(4, "char", "_pad1[1]", "System.Char[]", 1, false, 25)] + [DNAFieldAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", false, 25)] public char[] _pad1 = new System.Char[1]; - [DNAFieldAttribute(5, "short", "hide", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 5, "hide", "short", false, 26)] public short hide; - [DNAFieldAttribute(6, "float", "radius", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 6, "radius", "float", false, 28)] public float radius; - [DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false, 32)] + [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 32)] public char[] _pad = new System.Char[4]; public BPoint() { this.vec = default; diff --git a/BlendFile/DNA/BakeData.cs b/BlendFile/DNA/BakeData.cs index 8d13d00..cf4aec7 100644 --- a/BlendFile/DNA/BakeData.cs +++ b/BlendFile/DNA/BakeData.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(801, "BakeData", 1400)] public class BakeData { - [DNAFieldAttribute(0, "ImageFormatData", "im_format", "ImageFormatData", 336, false, 0)] + [DNAFieldAttribute(336, "ImageFormatData", 0, "im_format", "ImageFormatData", false, 0)] public ImageFormatData im_format; - [DNAFieldAttribute(1, "char", "filepath[1024]", "System.Char[]", 1024, false, 336)] + [DNAFieldAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", false, 336)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(2, "short", "width", "short", 2, false, 1360)] + [DNAFieldAttribute(2, "short", 2, "width", "short", false, 1360)] public short width; - [DNAFieldAttribute(3, "short", "height", "short", 2, false, 1362)] + [DNAFieldAttribute(2, "short", 3, "height", "short", false, 1362)] public short height; - [DNAFieldAttribute(4, "short", "margin", "short", 2, false, 1364)] + [DNAFieldAttribute(2, "short", 4, "margin", "short", false, 1364)] public short margin; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 1366)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 1366)] public short flag; - [DNAFieldAttribute(6, "float", "cage_extrusion", "float", 4, false, 1368)] + [DNAFieldAttribute(4, "float", 6, "cage_extrusion", "float", false, 1368)] public float cage_extrusion; - [DNAFieldAttribute(7, "float", "max_ray_distance", "float", 4, false, 1372)] + [DNAFieldAttribute(4, "float", 7, "max_ray_distance", "float", false, 1372)] public float max_ray_distance; - [DNAFieldAttribute(8, "int", "pass_filter", "int", 4, false, 1376)] + [DNAFieldAttribute(4, "int", 8, "pass_filter", "int", false, 1376)] public int pass_filter; - [DNAFieldAttribute(9, "char", "normal_swizzle[3]", "System.Char[]", 3, false, 1380)] + [DNAFieldAttribute(3, "char", 9, "normal_swizzle[3]", "System.Char[]", false, 1380)] public char[] normal_swizzle = new System.Char[3]; - [DNAFieldAttribute(10, "char", "normal_space", "char", 1, false, 1383)] + [DNAFieldAttribute(1, "char", 10, "normal_space", "char", false, 1383)] public char normal_space; - [DNAFieldAttribute(11, "char", "target", "char", 1, false, 1384)] + [DNAFieldAttribute(1, "char", 11, "target", "char", false, 1384)] public char target; - [DNAFieldAttribute(12, "char", "save_mode", "char", 1, false, 1385)] + [DNAFieldAttribute(1, "char", 12, "save_mode", "char", false, 1385)] public char save_mode; - [DNAFieldAttribute(13, "char", "margin_type", "char", 1, false, 1386)] + [DNAFieldAttribute(1, "char", 13, "margin_type", "char", false, 1386)] public char margin_type; - [DNAFieldAttribute(14, "char", "view_from", "char", 1, false, 1387)] + [DNAFieldAttribute(1, "char", 14, "view_from", "char", false, 1387)] public char view_from; - [DNAFieldAttribute(15, "char", "_pad[4]", "System.Char[]", 4, false, 1388)] + [DNAFieldAttribute(4, "char", 15, "_pad[4]", "System.Char[]", false, 1388)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(16, "Object", "*cage_object", "Object", 8, true, 1392)] - public Object ptr_cage_object; + [DNAFieldAttribute(8, "Object", 16, "*cage_object", "Object", true, 1392)] + public Object cage_object; public BakeData() { this.im_format = default; this.filepath = default; @@ -66,7 +66,7 @@ namespace BlendFile.DNA { this.margin_type = default; this.view_from = default; this._pad = default; - this.ptr_cage_object = default; + this.cage_object = default; } public BakeData( ImageFormatData im_format, @@ -85,7 +85,7 @@ namespace BlendFile.DNA { char margin_type, char view_from, char[] _pad, - Object ptr_cage_object) { + Object cage_object) { this.im_format = im_format; this.filepath = filepath; this.width = width; @@ -102,7 +102,7 @@ namespace BlendFile.DNA { this.margin_type = margin_type; this.view_from = view_from; this._pad = _pad; - this.ptr_cage_object = ptr_cage_object; + this.cage_object = cage_object; } } } diff --git a/BlendFile/DNA/Base.cs b/BlendFile/DNA/Base.cs index 07ded52..d38cd85 100644 --- a/BlendFile/DNA/Base.cs +++ b/BlendFile/DNA/Base.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(340, "Base", 48)] public class Base { - [DNAFieldAttribute(0, "Base", "*next", "Base", 8, true, 0)] - public Base ptr_next; - [DNAFieldAttribute(1, "Base", "*prev", "Base", 8, true, 8)] - public Base ptr_prev; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 16)] - public Object ptr_object; - [DNAFieldAttribute(3, "Base", "*base_orig", "Base", 8, true, 24)] - public Base ptr_base_orig; - [DNAFieldAttribute(4, "int", "lay", "int", 4, false, 32)] + [DNAFieldAttribute(8, "Base", 0, "*next", "Base", true, 0)] + public Base next; + [DNAFieldAttribute(8, "Base", 1, "*prev", "Base", true, 8)] + public Base prev; + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 16)] + public Object @object; + [DNAFieldAttribute(8, "Base", 3, "*base_orig", "Base", true, 24)] + public Base base_orig; + [DNAFieldAttribute(4, "int", 4, "lay", "int", false, 32)] public int lay; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 36)] public short flag; - [DNAFieldAttribute(6, "short", "flag_from_collection", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 6, "flag_from_collection", "short", false, 38)] public short flag_from_collection; - [DNAFieldAttribute(7, "short", "flag_legacy", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 7, "flag_legacy", "short", false, 40)] public short flag_legacy; - [DNAFieldAttribute(8, "short", "local_view_bits", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 8, "local_view_bits", "short", false, 42)] public short local_view_bits; - [DNAFieldAttribute(9, "short", "local_collections_bits", "short", 2, false, 44)] + [DNAFieldAttribute(2, "short", 9, "local_collections_bits", "short", false, 44)] public short local_collections_bits; - [DNAFieldAttribute(10, "char", "_pad1[2]", "System.Char[]", 2, false, 46)] + [DNAFieldAttribute(2, "char", 10, "_pad1[2]", "System.Char[]", false, 46)] public char[] _pad1 = new System.Char[2]; public Base() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_object = default; - this.ptr_base_orig = default; + this.next = default; + this.prev = default; + this.@object = default; + this.base_orig = default; this.lay = default; this.flag = default; this.flag_from_collection = default; @@ -50,11 +50,11 @@ namespace BlendFile.DNA { this.local_collections_bits = default; this._pad1 = default; } - public Base(Base ptr_next, Base ptr_prev, Object ptr_object, Base ptr_base_orig, int lay, short flag, short flag_from_collection, short flag_legacy, short local_view_bits, short local_collections_bits, char[] _pad1) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_object = ptr_object; - this.ptr_base_orig = ptr_base_orig; + public Base(Base next, Base prev, Object @object, Base base_orig, int lay, short flag, short flag_from_collection, short flag_legacy, short local_view_bits, short local_collections_bits, char[] _pad1) { + this.next = next; + this.prev = prev; + this.@object = @object; + this.base_orig = base_orig; this.lay = lay; this.flag = flag; this.flag_from_collection = flag_from_collection; diff --git a/BlendFile/DNA/BevelModifierData.cs b/BlendFile/DNA/BevelModifierData.cs index 2c98bcf..7c81376 100644 --- a/BlendFile/DNA/BevelModifierData.cs +++ b/BlendFile/DNA/BevelModifierData.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(454, "BevelModifierData", 368)] public class BevelModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "value", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "value", "float", false, 120)] public float value; - [DNAFieldAttribute(2, "int", "res", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 2, "res", "int", false, 124)] public int res; - [DNAFieldAttribute(3, "short", "flags", "short", 2, false, 128)] + [DNAFieldAttribute(2, "short", 3, "flags", "short", false, 128)] public short flags; - [DNAFieldAttribute(4, "short", "val_flags", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 4, "val_flags", "short", false, 130)] public short val_flags; - [DNAFieldAttribute(5, "short", "profile_type", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 5, "profile_type", "short", false, 132)] public short profile_type; - [DNAFieldAttribute(6, "short", "lim_flags", "short", 2, false, 134)] + [DNAFieldAttribute(2, "short", 6, "lim_flags", "short", false, 134)] public short lim_flags; - [DNAFieldAttribute(7, "short", "e_flags", "short", 2, false, 136)] + [DNAFieldAttribute(2, "short", 7, "e_flags", "short", false, 136)] public short e_flags; - [DNAFieldAttribute(8, "short", "mat", "short", 2, false, 138)] + [DNAFieldAttribute(2, "short", 8, "mat", "short", false, 138)] public short mat; - [DNAFieldAttribute(9, "short", "edge_flags", "short", 2, false, 140)] + [DNAFieldAttribute(2, "short", 9, "edge_flags", "short", false, 140)] public short edge_flags; - [DNAFieldAttribute(10, "short", "face_str_mode", "short", 2, false, 142)] + [DNAFieldAttribute(2, "short", 10, "face_str_mode", "short", false, 142)] public short face_str_mode; - [DNAFieldAttribute(11, "short", "miter_inner", "short", 2, false, 144)] + [DNAFieldAttribute(2, "short", 11, "miter_inner", "short", false, 144)] public short miter_inner; - [DNAFieldAttribute(12, "short", "miter_outer", "short", 2, false, 146)] + [DNAFieldAttribute(2, "short", 12, "miter_outer", "short", false, 146)] public short miter_outer; - [DNAFieldAttribute(13, "short", "vmesh_method", "short", 2, false, 148)] + [DNAFieldAttribute(2, "short", 13, "vmesh_method", "short", false, 148)] public short vmesh_method; - [DNAFieldAttribute(14, "char", "affect_type", "char", 1, false, 150)] + [DNAFieldAttribute(1, "char", 14, "affect_type", "char", false, 150)] public char affect_type; - [DNAFieldAttribute(15, "char", "_pad", "char", 1, false, 151)] + [DNAFieldAttribute(1, "char", 15, "_pad", "char", false, 151)] public char _pad; - [DNAFieldAttribute(16, "float", "profile", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 16, "profile", "float", false, 152)] public float profile; - [DNAFieldAttribute(17, "float", "bevel_angle", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 17, "bevel_angle", "float", false, 156)] public float bevel_angle; - [DNAFieldAttribute(18, "float", "spread", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 18, "spread", "float", false, 160)] public float spread; - [DNAFieldAttribute(19, "char", "defgrp_name[64]", "System.Char[]", 64, false, 164)] + [DNAFieldAttribute(64, "char", 19, "defgrp_name[64]", "System.Char[]", false, 164)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(20, "char", "_pad1[4]", "System.Char[]", 4, false, 228)] + [DNAFieldAttribute(4, "char", 20, "_pad1[4]", "System.Char[]", false, 228)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(21, "CurveProfile", "*custom_profile", "CurveProfile", 8, true, 232)] - public CurveProfile ptr_custom_profile; - [DNAFieldAttribute(22, "char", "edge_weight_name[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(8, "CurveProfile", 21, "*custom_profile", "CurveProfile", true, 232)] + public CurveProfile custom_profile; + [DNAFieldAttribute(64, "char", 22, "edge_weight_name[64]", "System.Char[]", false, 240)] public char[] edge_weight_name = new System.Char[64]; - [DNAFieldAttribute(23, "char", "vertex_weight_name[64]", "System.Char[]", 64, false, 304)] + [DNAFieldAttribute(64, "char", 23, "vertex_weight_name[64]", "System.Char[]", false, 304)] public char[] vertex_weight_name = new System.Char[64]; public BevelModifierData() { this.modifier = default; @@ -85,7 +85,7 @@ namespace BlendFile.DNA { this.spread = default; this.defgrp_name = default; this._pad1 = default; - this.ptr_custom_profile = default; + this.custom_profile = default; this.edge_weight_name = default; this.vertex_weight_name = default; } @@ -111,7 +111,7 @@ namespace BlendFile.DNA { float spread, char[] defgrp_name, char[] _pad1, - CurveProfile ptr_custom_profile, + CurveProfile custom_profile, char[] edge_weight_name, char[] vertex_weight_name) { this.modifier = modifier; @@ -135,7 +135,7 @@ namespace BlendFile.DNA { this.spread = spread; this.defgrp_name = defgrp_name; this._pad1 = _pad1; - this.ptr_custom_profile = ptr_custom_profile; + this.custom_profile = custom_profile; this.edge_weight_name = edge_weight_name; this.vertex_weight_name = vertex_weight_name; } diff --git a/BlendFile/DNA/BezTriple.cs b/BlendFile/DNA/BezTriple.cs index bb4d7c8..cbaa9da 100644 --- a/BlendFile/DNA/BezTriple.cs +++ b/BlendFile/DNA/BezTriple.cs @@ -14,40 +14,40 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(95, "BezTriple", 72)] - public struct BezTriple { - [DNAFieldAttribute(0, "float", "vec[3][3]", "System.Single[,]", 36, false, 0)] + public class BezTriple { + [DNAFieldAttribute(36, "float", 0, "vec[3][3]", "System.Single[,]", false, 0)] public float[,] vec = new System.Single[3,3]; - [DNAFieldAttribute(1, "float", "alfa", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 36)] public float alfa; - [DNAFieldAttribute(2, "float", "weight", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 2, "weight", "float", false, 40)] public float weight; - [DNAFieldAttribute(3, "float", "radius", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 3, "radius", "float", false, 44)] public float radius; - [DNAFieldAttribute(4, "char", "ipo", "char", 1, false, 48)] + [DNAFieldAttribute(1, "char", 4, "ipo", "char", false, 48)] public char ipo; - [DNAFieldAttribute(5, "uchar", "h1", "uchar", 1, false, 49)] + [DNAFieldAttribute(1, "uchar", 5, "h1", "uchar", false, 49)] public byte h1; - [DNAFieldAttribute(6, "uchar", "h2", "uchar", 1, false, 50)] + [DNAFieldAttribute(1, "uchar", 6, "h2", "uchar", false, 50)] public byte h2; - [DNAFieldAttribute(7, "uchar", "f1", "uchar", 1, false, 51)] + [DNAFieldAttribute(1, "uchar", 7, "f1", "uchar", false, 51)] public byte f1; - [DNAFieldAttribute(8, "uchar", "f2", "uchar", 1, false, 52)] + [DNAFieldAttribute(1, "uchar", 8, "f2", "uchar", false, 52)] public byte f2; - [DNAFieldAttribute(9, "uchar", "f3", "uchar", 1, false, 53)] + [DNAFieldAttribute(1, "uchar", 9, "f3", "uchar", false, 53)] public byte f3; - [DNAFieldAttribute(10, "char", "hide", "char", 1, false, 54)] + [DNAFieldAttribute(1, "char", 10, "hide", "char", false, 54)] public char hide; - [DNAFieldAttribute(11, "char", "easing", "char", 1, false, 55)] + [DNAFieldAttribute(1, "char", 11, "easing", "char", false, 55)] public char easing; - [DNAFieldAttribute(12, "float", "back", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 12, "back", "float", false, 56)] public float back; - [DNAFieldAttribute(13, "float", "amplitude", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 13, "amplitude", "float", false, 60)] public float amplitude; - [DNAFieldAttribute(14, "float", "period", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 14, "period", "float", false, 64)] public float period; - [DNAFieldAttribute(15, "char", "auto_handle_type", "char", 1, false, 68)] + [DNAFieldAttribute(1, "char", 15, "auto_handle_type", "char", false, 68)] public char auto_handle_type; - [DNAFieldAttribute(16, "char", "_pad[3]", "System.Char[]", 3, false, 69)] + [DNAFieldAttribute(3, "char", 16, "_pad[3]", "System.Char[]", false, 69)] public char[] _pad = new System.Char[3]; public BezTriple() { this.vec = default; diff --git a/BlendFile/DNA/BlurShaderFxData.cs b/BlendFile/DNA/BlurShaderFxData.cs index 1233a72..257de9c 100644 --- a/BlendFile/DNA/BlurShaderFxData.cs +++ b/BlendFile/DNA/BlurShaderFxData.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(917, "BlurShaderFxData", 168)] - public struct BlurShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class BlurShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "float", "radius[2]", "System.Single[]", 8, false, 104)] + [DNAFieldAttribute(8, "float", 1, "radius[2]", "System.Single[]", false, 104)] public float[] radius = new System.Single[2]; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)] public int flag; - [DNAFieldAttribute(3, "int", "samples", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 3, "samples", "int", false, 116)] public int samples; - [DNAFieldAttribute(4, "float", "rotation", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 120)] public float rotation; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 128)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 6, "runtime", "ShaderFxData_Runtime", false, 128)] public ShaderFxData_Runtime runtime; public BlurShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/BoidData.cs b/BlendFile/DNA/BoidData.cs index f9aa923..082736b 100644 --- a/BlendFile/DNA/BoidData.cs +++ b/BlendFile/DNA/BoidData.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(122, "BoidData", 20)] - public struct BoidData { - [DNAFieldAttribute(0, "float", "health", "float", 4, false, 0)] + public class BoidData { + [DNAFieldAttribute(4, "float", 0, "health", "float", false, 0)] public float health; - [DNAFieldAttribute(1, "float", "acc[3]", "System.Single[]", 12, false, 4)] + [DNAFieldAttribute(12, "float", 1, "acc[3]", "System.Single[]", false, 4)] public float[] acc = new System.Single[3]; - [DNAFieldAttribute(2, "short", "state_id", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 2, "state_id", "short", false, 16)] public short state_id; - [DNAFieldAttribute(3, "short", "mode", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "mode", "short", false, 18)] public short mode; public BoidData() { this.health = default; diff --git a/BlendFile/DNA/BoidParticle.cs b/BlendFile/DNA/BoidParticle.cs index da5e057..26308c9 100644 --- a/BlendFile/DNA/BoidParticle.cs +++ b/BlendFile/DNA/BoidParticle.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(778, "BoidParticle", 56)] public class BoidParticle { - [DNAFieldAttribute(0, "Object", "*ground", "Object", 8, true, 0)] - public Object ptr_ground; - [DNAFieldAttribute(1, "BoidData", "data", "BoidData", 20, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*ground", "Object", true, 0)] + public Object ground; + [DNAFieldAttribute(20, "BoidData", 1, "data", "BoidData", false, 8)] public BoidData data; - [DNAFieldAttribute(2, "float", "gravity[3]", "System.Single[]", 12, false, 28)] + [DNAFieldAttribute(12, "float", 2, "gravity[3]", "System.Single[]", false, 28)] public float[] gravity = new System.Single[3]; - [DNAFieldAttribute(3, "float", "wander[3]", "System.Single[]", 12, false, 40)] + [DNAFieldAttribute(12, "float", 3, "wander[3]", "System.Single[]", false, 40)] public float[] wander = new System.Single[3]; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 52)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 52)] public char[] _pad0 = new System.Char[4]; public BoidParticle() { - this.ptr_ground = default; + this.ground = default; this.data = default; this.gravity = default; this.wander = default; this._pad0 = default; } - public BoidParticle(Object ptr_ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) { - this.ptr_ground = ptr_ground; + public BoidParticle(Object ground, BoidData data, float[] gravity, float[] wander, char[] _pad0) { + this.ground = ground; this.data = data; this.gravity = gravity; this.wander = wander; diff --git a/BlendFile/DNA/BoidRule.cs b/BlendFile/DNA/BoidRule.cs index 9cbe9c9..46c9540 100644 --- a/BlendFile/DNA/BoidRule.cs +++ b/BlendFile/DNA/BoidRule.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(116, "BoidRule", 56)] public class BoidRule { - [DNAFieldAttribute(0, "BoidRule", "*next", "BoidRule", 8, true, 0)] - public BoidRule ptr_next; - [DNAFieldAttribute(1, "BoidRule", "*prev", "BoidRule", 8, true, 8)] - public BoidRule ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "BoidRule", 0, "*next", "BoidRule", true, 0)] + public BoidRule next; + [DNAFieldAttribute(8, "BoidRule", 1, "*prev", "BoidRule", true, 8)] + public BoidRule prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 20)] public int flag; - [DNAFieldAttribute(4, "char", "name[32]", "System.Char[]", 32, false, 24)] + [DNAFieldAttribute(32, "char", 4, "name[32]", "System.Char[]", false, 24)] public char[] name = new System.Char[32]; public BoidRule() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.flag = default; this.name = default; } - public BoidRule(BoidRule ptr_next, BoidRule ptr_prev, int type, int flag, char[] name) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public BoidRule(BoidRule next, BoidRule prev, int type, int flag, char[] name) { + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.name = name; diff --git a/BlendFile/DNA/BoidRuleAverageSpeed.cs b/BlendFile/DNA/BoidRuleAverageSpeed.cs index 6898807..e5e420a 100644 --- a/BlendFile/DNA/BoidRuleAverageSpeed.cs +++ b/BlendFile/DNA/BoidRuleAverageSpeed.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(120, "BoidRuleAverageSpeed", 72)] - public struct BoidRuleAverageSpeed { - [DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false, 0)] + public class BoidRuleAverageSpeed { + [DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)] public BoidRule rule; - [DNAFieldAttribute(1, "float", "wander", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 1, "wander", "float", false, 56)] public float wander; - [DNAFieldAttribute(2, "float", "level", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 2, "level", "float", false, 60)] public float level; - [DNAFieldAttribute(3, "float", "speed", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 3, "speed", "float", false, 64)] public float speed; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 68)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 68)] public char[] _pad0 = new System.Char[4]; public BoidRuleAverageSpeed() { this.rule = default; diff --git a/BlendFile/DNA/BoidRuleAvoidCollision.cs b/BlendFile/DNA/BoidRuleAvoidCollision.cs index 83778ca..3b5c0ad 100644 --- a/BlendFile/DNA/BoidRuleAvoidCollision.cs +++ b/BlendFile/DNA/BoidRuleAvoidCollision.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(118, "BoidRuleAvoidCollision", 64)] - public struct BoidRuleAvoidCollision { - [DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false, 0)] + public class BoidRuleAvoidCollision { + [DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)] public BoidRule rule; - [DNAFieldAttribute(1, "int", "options", "int", 4, false, 56)] + [DNAFieldAttribute(4, "int", 1, "options", "int", false, 56)] public int options; - [DNAFieldAttribute(2, "float", "look_ahead", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 2, "look_ahead", "float", false, 60)] public float look_ahead; public BoidRuleAvoidCollision() { this.rule = default; diff --git a/BlendFile/DNA/BoidRuleFight.cs b/BlendFile/DNA/BoidRuleFight.cs index 8f81030..15d35be 100644 --- a/BlendFile/DNA/BoidRuleFight.cs +++ b/BlendFile/DNA/BoidRuleFight.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(121, "BoidRuleFight", 64)] - public struct BoidRuleFight { - [DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false, 0)] + public class BoidRuleFight { + [DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)] public BoidRule rule; - [DNAFieldAttribute(1, "float", "distance", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 1, "distance", "float", false, 56)] public float distance; - [DNAFieldAttribute(2, "float", "flee_distance", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 2, "flee_distance", "float", false, 60)] public float flee_distance; public BoidRuleFight() { this.rule = default; diff --git a/BlendFile/DNA/BoidRuleFollowLeader.cs b/BlendFile/DNA/BoidRuleFollowLeader.cs index 9aa6c04..529af3e 100644 --- a/BlendFile/DNA/BoidRuleFollowLeader.cs +++ b/BlendFile/DNA/BoidRuleFollowLeader.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(119, "BoidRuleFollowLeader", 104)] public class BoidRuleFollowLeader { - [DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false, 0)] + [DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)] public BoidRule rule; - [DNAFieldAttribute(1, "Object", "*ob", "Object", 8, true, 56)] - public Object ptr_ob; - [DNAFieldAttribute(2, "float", "loc[3]", "System.Single[]", 12, false, 64)] + [DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 56)] + public Object ob; + [DNAFieldAttribute(12, "float", 2, "loc[3]", "System.Single[]", false, 64)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(3, "float", "oloc[3]", "System.Single[]", 12, false, 76)] + [DNAFieldAttribute(12, "float", 3, "oloc[3]", "System.Single[]", false, 76)] public float[] oloc = new System.Single[3]; - [DNAFieldAttribute(4, "float", "cfra", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 4, "cfra", "float", false, 88)] public float cfra; - [DNAFieldAttribute(5, "float", "distance", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 5, "distance", "float", false, 92)] public float distance; - [DNAFieldAttribute(6, "int", "options", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 6, "options", "int", false, 96)] public int options; - [DNAFieldAttribute(7, "int", "queue_size", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 7, "queue_size", "int", false, 100)] public int queue_size; public BoidRuleFollowLeader() { this.rule = default; - this.ptr_ob = default; + this.ob = default; this.loc = default; this.oloc = default; this.cfra = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { this.options = default; this.queue_size = default; } - public BoidRuleFollowLeader(BoidRule rule, Object ptr_ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) { + public BoidRuleFollowLeader(BoidRule rule, Object ob, float[] loc, float[] oloc, float cfra, float distance, int options, int queue_size) { this.rule = rule; - this.ptr_ob = ptr_ob; + this.ob = ob; this.loc = loc; this.oloc = oloc; this.cfra = cfra; diff --git a/BlendFile/DNA/BoidRuleGoalAvoid.cs b/BlendFile/DNA/BoidRuleGoalAvoid.cs index 19f3d8e..f3cd6e2 100644 --- a/BlendFile/DNA/BoidRuleGoalAvoid.cs +++ b/BlendFile/DNA/BoidRuleGoalAvoid.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(117, "BoidRuleGoalAvoid", 80)] public class BoidRuleGoalAvoid { - [DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false, 0)] + [DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)] public BoidRule rule; - [DNAFieldAttribute(1, "Object", "*ob", "Object", 8, true, 56)] - public Object ptr_ob; - [DNAFieldAttribute(2, "int", "options", "int", 4, false, 64)] + [DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 56)] + public Object ob; + [DNAFieldAttribute(4, "int", 2, "options", "int", false, 64)] public int options; - [DNAFieldAttribute(3, "float", "fear_factor", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 3, "fear_factor", "float", false, 68)] public float fear_factor; - [DNAFieldAttribute(4, "int", "signal_id", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 4, "signal_id", "int", false, 72)] public int signal_id; - [DNAFieldAttribute(5, "int", "channels", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 5, "channels", "int", false, 76)] public int channels; public BoidRuleGoalAvoid() { this.rule = default; - this.ptr_ob = default; + this.ob = default; this.options = default; this.fear_factor = default; this.signal_id = default; this.channels = default; } - public BoidRuleGoalAvoid(BoidRule rule, Object ptr_ob, int options, float fear_factor, int signal_id, int channels) { + public BoidRuleGoalAvoid(BoidRule rule, Object ob, int options, float fear_factor, int signal_id, int channels) { this.rule = rule; - this.ptr_ob = ptr_ob; + this.ob = ob; this.options = options; this.fear_factor = fear_factor; this.signal_id = signal_id; diff --git a/BlendFile/DNA/BoidSettings.cs b/BlendFile/DNA/BoidSettings.cs index f17fbfb..8d49a04 100644 --- a/BlendFile/DNA/BoidSettings.cs +++ b/BlendFile/DNA/BoidSettings.cs @@ -14,52 +14,52 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(124, "BoidSettings", 104)] - public struct BoidSettings { - [DNAFieldAttribute(0, "int", "options", "int", 4, false, 0)] + public class BoidSettings { + [DNAFieldAttribute(4, "int", 0, "options", "int", false, 0)] public int options; - [DNAFieldAttribute(1, "int", "last_state_id", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "last_state_id", "int", false, 4)] public int last_state_id; - [DNAFieldAttribute(2, "float", "landing_smoothness", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "landing_smoothness", "float", false, 8)] public float landing_smoothness; - [DNAFieldAttribute(3, "float", "height", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "height", "float", false, 12)] public float height; - [DNAFieldAttribute(4, "float", "banking", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "banking", "float", false, 16)] public float banking; - [DNAFieldAttribute(5, "float", "pitch", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "pitch", "float", false, 20)] public float pitch; - [DNAFieldAttribute(6, "float", "health", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "health", "float", false, 24)] public float health; - [DNAFieldAttribute(7, "float", "aggression", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "aggression", "float", false, 28)] public float aggression; - [DNAFieldAttribute(8, "float", "strength", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "strength", "float", false, 32)] public float strength; - [DNAFieldAttribute(9, "float", "accuracy", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "accuracy", "float", false, 36)] public float accuracy; - [DNAFieldAttribute(10, "float", "range", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "range", "float", false, 40)] public float range; - [DNAFieldAttribute(11, "float", "air_min_speed", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "air_min_speed", "float", false, 44)] public float air_min_speed; - [DNAFieldAttribute(12, "float", "air_max_speed", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 12, "air_max_speed", "float", false, 48)] public float air_max_speed; - [DNAFieldAttribute(13, "float", "air_max_acc", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 13, "air_max_acc", "float", false, 52)] public float air_max_acc; - [DNAFieldAttribute(14, "float", "air_max_ave", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 14, "air_max_ave", "float", false, 56)] public float air_max_ave; - [DNAFieldAttribute(15, "float", "air_personal_space", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 15, "air_personal_space", "float", false, 60)] public float air_personal_space; - [DNAFieldAttribute(16, "float", "land_jump_speed", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 16, "land_jump_speed", "float", false, 64)] public float land_jump_speed; - [DNAFieldAttribute(17, "float", "land_max_speed", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 17, "land_max_speed", "float", false, 68)] public float land_max_speed; - [DNAFieldAttribute(18, "float", "land_max_acc", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 18, "land_max_acc", "float", false, 72)] public float land_max_acc; - [DNAFieldAttribute(19, "float", "land_max_ave", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 19, "land_max_ave", "float", false, 76)] public float land_max_ave; - [DNAFieldAttribute(20, "float", "land_personal_space", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 20, "land_personal_space", "float", false, 80)] public float land_personal_space; - [DNAFieldAttribute(21, "float", "land_stick_force", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 21, "land_stick_force", "float", false, 84)] public float land_stick_force; - [DNAFieldAttribute(22, "ListBase", "states", "ListBase", 16, false, 88)] + [DNAFieldAttribute(16, "ListBase", 22, "states", "ListBase", false, 88)] public ListBase states; public BoidSettings() { this.options = default; diff --git a/BlendFile/DNA/BoidState.cs b/BlendFile/DNA/BoidState.cs index a7526ae..6b226be 100644 --- a/BlendFile/DNA/BoidState.cs +++ b/BlendFile/DNA/BoidState.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(123, "BoidState", 128)] public class BoidState { - [DNAFieldAttribute(0, "BoidState", "*next", "BoidState", 8, true, 0)] - public BoidState ptr_next; - [DNAFieldAttribute(1, "BoidState", "*prev", "BoidState", 8, true, 8)] - public BoidState ptr_prev; - [DNAFieldAttribute(2, "ListBase", "rules", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "BoidState", 0, "*next", "BoidState", true, 0)] + public BoidState next; + [DNAFieldAttribute(8, "BoidState", 1, "*prev", "BoidState", true, 8)] + public BoidState prev; + [DNAFieldAttribute(16, "ListBase", 2, "rules", "ListBase", false, 16)] public ListBase rules; - [DNAFieldAttribute(3, "ListBase", "conditions", "ListBase", 16, false, 32)] + [DNAFieldAttribute(16, "ListBase", 3, "conditions", "ListBase", false, 32)] public ListBase conditions; - [DNAFieldAttribute(4, "ListBase", "actions", "ListBase", 16, false, 48)] + [DNAFieldAttribute(16, "ListBase", 4, "actions", "ListBase", false, 48)] public ListBase actions; - [DNAFieldAttribute(5, "char", "name[32]", "System.Char[]", 32, false, 64)] + [DNAFieldAttribute(32, "char", 5, "name[32]", "System.Char[]", false, 64)] public char[] name = new System.Char[32]; - [DNAFieldAttribute(6, "int", "id", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 6, "id", "int", false, 96)] public int id; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 100)] public int flag; - [DNAFieldAttribute(8, "int", "ruleset_type", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 8, "ruleset_type", "int", false, 104)] public int ruleset_type; - [DNAFieldAttribute(9, "float", "rule_fuzziness", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 9, "rule_fuzziness", "float", false, 108)] public float rule_fuzziness; - [DNAFieldAttribute(10, "int", "signal_id", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 10, "signal_id", "int", false, 112)] public int signal_id; - [DNAFieldAttribute(11, "int", "channels", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 11, "channels", "int", false, 116)] public int channels; - [DNAFieldAttribute(12, "float", "volume", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 12, "volume", "float", false, 120)] public float volume; - [DNAFieldAttribute(13, "float", "falloff", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 13, "falloff", "float", false, 124)] public float falloff; public BoidState() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.rules = default; this.conditions = default; this.actions = default; @@ -59,9 +59,9 @@ namespace BlendFile.DNA { this.volume = default; this.falloff = default; } - public BoidState(BoidState ptr_next, BoidState ptr_prev, ListBase rules, ListBase conditions, ListBase actions, char[] name, int id, int flag, int ruleset_type, float rule_fuzziness, int signal_id, int channels, float volume, float falloff) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public BoidState(BoidState next, BoidState prev, ListBase rules, ListBase conditions, ListBase actions, char[] name, int id, int flag, int ruleset_type, float rule_fuzziness, int signal_id, int channels, float volume, float falloff) { + this.next = next; + this.prev = prev; this.rules = rules; this.conditions = conditions; this.actions = actions; diff --git a/BlendFile/DNA/Bone.cs b/BlendFile/DNA/Bone.cs index 7429576..abd6407 100644 --- a/BlendFile/DNA/Bone.cs +++ b/BlendFile/DNA/Bone.cs @@ -15,117 +15,117 @@ namespace BlendFile.DNA { [DNAClassAttribute(54, "Bone", 472)] public class Bone { - [DNAFieldAttribute(0, "Bone", "*next", "Bone", 8, true, 0)] - public Bone ptr_next; - [DNAFieldAttribute(1, "Bone", "*prev", "Bone", 8, true, 8)] - public Bone ptr_prev; - [DNAFieldAttribute(2, "IDProperty", "*prop", "IDProperty", 8, true, 16)] - public IDProperty ptr_prop; - [DNAFieldAttribute(3, "Bone", "*parent", "Bone", 8, true, 24)] - public Bone ptr_parent; - [DNAFieldAttribute(4, "ListBase", "childbase", "ListBase", 16, false, 32)] + [DNAFieldAttribute(8, "Bone", 0, "*next", "Bone", true, 0)] + public Bone next; + [DNAFieldAttribute(8, "Bone", 1, "*prev", "Bone", true, 8)] + public Bone prev; + [DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 16)] + public IDProperty prop; + [DNAFieldAttribute(8, "Bone", 3, "*parent", "Bone", true, 24)] + public Bone parent; + [DNAFieldAttribute(16, "ListBase", 4, "childbase", "ListBase", false, 32)] public ListBase childbase; - [DNAFieldAttribute(5, "char", "name[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(64, "char", 5, "name[64]", "System.Char[]", false, 48)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(6, "float", "roll", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 6, "roll", "float", false, 112)] public float roll; - [DNAFieldAttribute(7, "float", "head[3]", "System.Single[]", 12, false, 116)] + [DNAFieldAttribute(12, "float", 7, "head[3]", "System.Single[]", false, 116)] public float[] head = new System.Single[3]; - [DNAFieldAttribute(8, "float", "tail[3]", "System.Single[]", 12, false, 128)] + [DNAFieldAttribute(12, "float", 8, "tail[3]", "System.Single[]", false, 128)] public float[] tail = new System.Single[3]; - [DNAFieldAttribute(9, "float", "bone_mat[3][3]", "System.Single[,]", 36, false, 140)] + [DNAFieldAttribute(36, "float", 9, "bone_mat[3][3]", "System.Single[,]", false, 140)] public float[,] bone_mat = new System.Single[3,3]; - [DNAFieldAttribute(10, "int", "flag", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 176)] public int flag; - [DNAFieldAttribute(11, "char", "_pad1[4]", "System.Char[]", 4, false, 180)] + [DNAFieldAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", false, 180)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(12, "BoneColor", "color", "BoneColor", 24, false, 184)] + [DNAFieldAttribute(24, "BoneColor", 12, "color", "BoneColor", false, 184)] public BoneColor color; - [DNAFieldAttribute(13, "char", "inherit_scale_mode", "char", 1, false, 208)] + [DNAFieldAttribute(1, "char", 13, "inherit_scale_mode", "char", false, 208)] public char inherit_scale_mode; - [DNAFieldAttribute(14, "char", "_pad[3]", "System.Char[]", 3, false, 209)] + [DNAFieldAttribute(3, "char", 14, "_pad[3]", "System.Char[]", false, 209)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(15, "float", "arm_head[3]", "System.Single[]", 12, false, 212)] + [DNAFieldAttribute(12, "float", 15, "arm_head[3]", "System.Single[]", false, 212)] public float[] arm_head = new System.Single[3]; - [DNAFieldAttribute(16, "float", "arm_tail[3]", "System.Single[]", 12, false, 224)] + [DNAFieldAttribute(12, "float", 16, "arm_tail[3]", "System.Single[]", false, 224)] public float[] arm_tail = new System.Single[3]; - [DNAFieldAttribute(17, "float", "arm_mat[4][4]", "System.Single[,]", 64, false, 236)] + [DNAFieldAttribute(64, "float", 17, "arm_mat[4][4]", "System.Single[,]", false, 236)] public float[,] arm_mat = new System.Single[4,4]; - [DNAFieldAttribute(18, "float", "arm_roll", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 18, "arm_roll", "float", false, 300)] public float arm_roll; - [DNAFieldAttribute(19, "float", "dist", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 19, "dist", "float", false, 304)] public float dist; - [DNAFieldAttribute(20, "float", "weight", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 20, "weight", "float", false, 308)] public float weight; - [DNAFieldAttribute(21, "float", "xwidth", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 21, "xwidth", "float", false, 312)] public float xwidth; - [DNAFieldAttribute(22, "float", "length", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 22, "length", "float", false, 316)] public float length; - [DNAFieldAttribute(23, "float", "zwidth", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 23, "zwidth", "float", false, 320)] public float zwidth; - [DNAFieldAttribute(24, "float", "rad_head", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 24, "rad_head", "float", false, 324)] public float rad_head; - [DNAFieldAttribute(25, "float", "rad_tail", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 25, "rad_tail", "float", false, 328)] public float rad_tail; - [DNAFieldAttribute(26, "float", "roll1", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 26, "roll1", "float", false, 332)] public float roll1; - [DNAFieldAttribute(27, "float", "roll2", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 27, "roll2", "float", false, 336)] public float roll2; - [DNAFieldAttribute(28, "float", "curveInX", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 28, "curveInX", "float", false, 340)] public float curveInX; - [DNAFieldAttribute(29, "float", "curveInY", "float", 4, false, 344)] + [DNAFieldAttribute(4, "float", 29, "curveInY", "float", false, 344)] public float curveInY; - [DNAFieldAttribute(30, "float", "curveOutX", "float", 4, false, 348)] + [DNAFieldAttribute(4, "float", 30, "curveOutX", "float", false, 348)] public float curveOutX; - [DNAFieldAttribute(31, "float", "curveOutY", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 31, "curveOutY", "float", false, 352)] public float curveOutY; - [DNAFieldAttribute(32, "float", "ease1", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 32, "ease1", "float", false, 356)] public float ease1; - [DNAFieldAttribute(33, "float", "ease2", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 33, "ease2", "float", false, 360)] public float ease2; - [DNAFieldAttribute(34, "float", "scaleIn", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 34, "scaleIn", "float", false, 364)] public float scaleIn; - [DNAFieldAttribute(35, "float", "scale_in_y", "float", 4, false, 368)] + [DNAFieldAttribute(4, "float", 35, "scale_in_y", "float", false, 368)] public float scale_in_y; - [DNAFieldAttribute(36, "float", "scaleOut", "float", 4, false, 372)] + [DNAFieldAttribute(4, "float", 36, "scaleOut", "float", false, 372)] public float scaleOut; - [DNAFieldAttribute(37, "float", "scale_out_y", "float", 4, false, 376)] + [DNAFieldAttribute(4, "float", 37, "scale_out_y", "float", false, 376)] public float scale_out_y; - [DNAFieldAttribute(38, "float", "scale_in[3]", "System.Single[]", 12, false, 380)] + [DNAFieldAttribute(12, "float", 38, "scale_in[3]", "System.Single[]", false, 380)] public float[] scale_in = new System.Single[3]; - [DNAFieldAttribute(39, "float", "scale_out[3]", "System.Single[]", 12, false, 392)] + [DNAFieldAttribute(12, "float", 39, "scale_out[3]", "System.Single[]", false, 392)] public float[] scale_out = new System.Single[3]; - [DNAFieldAttribute(40, "float", "size[3]", "System.Single[]", 12, false, 404)] + [DNAFieldAttribute(12, "float", 40, "size[3]", "System.Single[]", false, 404)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(41, "int", "layer", "int", 4, false, 416)] + [DNAFieldAttribute(4, "int", 41, "layer", "int", false, 416)] public int layer; - [DNAFieldAttribute(42, "short", "segments", "short", 2, false, 420)] + [DNAFieldAttribute(2, "short", 42, "segments", "short", false, 420)] public short segments; - [DNAFieldAttribute(43, "char", "bbone_mapping_mode", "char", 1, false, 422)] + [DNAFieldAttribute(1, "char", 43, "bbone_mapping_mode", "char", false, 422)] public char bbone_mapping_mode; - [DNAFieldAttribute(44, "char", "_pad2[7]", "System.Char[]", 7, false, 423)] + [DNAFieldAttribute(7, "char", 44, "_pad2[7]", "System.Char[]", false, 423)] public char[] _pad2 = new System.Char[7]; - [DNAFieldAttribute(45, "char", "bbone_prev_type", "char", 1, false, 430)] + [DNAFieldAttribute(1, "char", 45, "bbone_prev_type", "char", false, 430)] public char bbone_prev_type; - [DNAFieldAttribute(46, "char", "bbone_next_type", "char", 1, false, 431)] + [DNAFieldAttribute(1, "char", 46, "bbone_next_type", "char", false, 431)] public char bbone_next_type; - [DNAFieldAttribute(47, "int", "bbone_flag", "int", 4, false, 432)] + [DNAFieldAttribute(4, "int", 47, "bbone_flag", "int", false, 432)] public int bbone_flag; - [DNAFieldAttribute(48, "short", "bbone_prev_flag", "short", 2, false, 436)] + [DNAFieldAttribute(2, "short", 48, "bbone_prev_flag", "short", false, 436)] public short bbone_prev_flag; - [DNAFieldAttribute(49, "short", "bbone_next_flag", "short", 2, false, 438)] + [DNAFieldAttribute(2, "short", 49, "bbone_next_flag", "short", false, 438)] public short bbone_next_flag; - [DNAFieldAttribute(50, "Bone", "*bbone_prev", "Bone", 8, true, 440)] - public Bone ptr_bbone_prev; - [DNAFieldAttribute(51, "Bone", "*bbone_next", "Bone", 8, true, 448)] - public Bone ptr_bbone_next; - [DNAFieldAttribute(52, "Bone_Runtime", "runtime", "Bone_Runtime", 16, false, 456)] + [DNAFieldAttribute(8, "Bone", 50, "*bbone_prev", "Bone", true, 440)] + public Bone bbone_prev; + [DNAFieldAttribute(8, "Bone", 51, "*bbone_next", "Bone", true, 448)] + public Bone bbone_next; + [DNAFieldAttribute(16, "Bone_Runtime", 52, "runtime", "Bone_Runtime", false, 456)] public Bone_Runtime runtime; public Bone() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_prop = default; - this.ptr_parent = default; + this.next = default; + this.prev = default; + this.prop = default; + this.parent = default; this.childbase = default; this.name = default; this.roll = default; @@ -172,15 +172,15 @@ namespace BlendFile.DNA { this.bbone_flag = default; this.bbone_prev_flag = default; this.bbone_next_flag = default; - this.ptr_bbone_prev = default; - this.ptr_bbone_next = default; + this.bbone_prev = default; + this.bbone_next = default; this.runtime = default; } public Bone( - Bone ptr_next, - Bone ptr_prev, - IDProperty ptr_prop, - Bone ptr_parent, + Bone next, + Bone prev, + IDProperty prop, + Bone parent, ListBase childbase, char[] name, float roll, @@ -227,13 +227,13 @@ namespace BlendFile.DNA { int bbone_flag, short bbone_prev_flag, short bbone_next_flag, - Bone ptr_bbone_prev, - Bone ptr_bbone_next, + Bone bbone_prev, + Bone bbone_next, Bone_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_prop = ptr_prop; - this.ptr_parent = ptr_parent; + this.next = next; + this.prev = prev; + this.prop = prop; + this.parent = parent; this.childbase = childbase; this.name = name; this.roll = roll; @@ -280,8 +280,8 @@ namespace BlendFile.DNA { this.bbone_flag = bbone_flag; this.bbone_prev_flag = bbone_prev_flag; this.bbone_next_flag = bbone_next_flag; - this.ptr_bbone_prev = ptr_bbone_prev; - this.ptr_bbone_next = ptr_bbone_next; + this.bbone_prev = bbone_prev; + this.bbone_next = bbone_next; this.runtime = runtime; } } diff --git a/BlendFile/DNA/BoneCollection.cs b/BlendFile/DNA/BoneCollection.cs index 812377b..3a6e42a 100644 --- a/BlendFile/DNA/BoneCollection.cs +++ b/BlendFile/DNA/BoneCollection.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(105, "BoneCollection", 120)] public class BoneCollection { - [DNAFieldAttribute(0, "BoneCollection", "*next", "BoneCollection", 8, true, 0)] - public BoneCollection ptr_next; - [DNAFieldAttribute(1, "BoneCollection", "*prev", "BoneCollection", 8, true, 8)] - public BoneCollection ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "BoneCollection", 0, "*next", "BoneCollection", true, 0)] + public BoneCollection next; + [DNAFieldAttribute(8, "BoneCollection", 1, "*prev", "BoneCollection", true, 8)] + public BoneCollection prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "ListBase", "bones", "ListBase", 16, false, 80)] + [DNAFieldAttribute(16, "ListBase", 3, "bones", "ListBase", false, 80)] public ListBase bones; - [DNAFieldAttribute(4, "uchar", "flags", "uchar", 1, false, 96)] + [DNAFieldAttribute(1, "uchar", 4, "flags", "uchar", false, 96)] public byte flags; - [DNAFieldAttribute(5, "uchar", "_pad0[7]", "System.Byte[]", 7, false, 97)] + [DNAFieldAttribute(7, "uchar", 5, "_pad0[7]", "System.Byte[]", false, 97)] public byte[] _pad0 = new System.Byte[7]; - [DNAFieldAttribute(6, "int", "child_index", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 6, "child_index", "int", false, 104)] public int child_index; - [DNAFieldAttribute(7, "int", "child_count", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 7, "child_count", "int", false, 108)] public int child_count; - [DNAFieldAttribute(8, "IDProperty", "*prop", "IDProperty", 8, true, 112)] - public IDProperty ptr_prop; + [DNAFieldAttribute(8, "IDProperty", 8, "*prop", "IDProperty", true, 112)] + public IDProperty prop; public BoneCollection() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.bones = default; this.flags = default; this._pad0 = default; this.child_index = default; this.child_count = default; - this.ptr_prop = default; + this.prop = default; } - public BoneCollection(BoneCollection ptr_next, BoneCollection ptr_prev, char[] name, ListBase bones, byte flags, byte[] _pad0, int child_index, int child_count, IDProperty ptr_prop) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public BoneCollection(BoneCollection next, BoneCollection prev, char[] name, ListBase bones, byte flags, byte[] _pad0, int child_index, int child_count, IDProperty prop) { + this.next = next; + this.prev = prev; this.name = name; this.bones = bones; this.flags = flags; this._pad0 = _pad0; this.child_index = child_index; this.child_count = child_count; - this.ptr_prop = ptr_prop; + this.prop = prop; } } } diff --git a/BlendFile/DNA/BoneCollectionMember.cs b/BlendFile/DNA/BoneCollectionMember.cs index dd2c44e..ba06e1a 100644 --- a/BlendFile/DNA/BoneCollectionMember.cs +++ b/BlendFile/DNA/BoneCollectionMember.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(108, "BoneCollectionMember", 24)] public class BoneCollectionMember { - [DNAFieldAttribute(0, "BoneCollectionMember", "*next", "BoneCollectionMember", 8, true, 0)] - public BoneCollectionMember ptr_next; - [DNAFieldAttribute(1, "BoneCollectionMember", "*prev", "BoneCollectionMember", 8, true, 8)] - public BoneCollectionMember ptr_prev; - [DNAFieldAttribute(2, "Bone", "*bone", "Bone", 8, true, 16)] - public Bone ptr_bone; + [DNAFieldAttribute(8, "BoneCollectionMember", 0, "*next", "BoneCollectionMember", true, 0)] + public BoneCollectionMember next; + [DNAFieldAttribute(8, "BoneCollectionMember", 1, "*prev", "BoneCollectionMember", true, 8)] + public BoneCollectionMember prev; + [DNAFieldAttribute(8, "Bone", 2, "*bone", "Bone", true, 16)] + public Bone bone; public BoneCollectionMember() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_bone = default; + this.next = default; + this.prev = default; + this.bone = default; } - public BoneCollectionMember(BoneCollectionMember ptr_next, BoneCollectionMember ptr_prev, Bone ptr_bone) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_bone = ptr_bone; + public BoneCollectionMember(BoneCollectionMember next, BoneCollectionMember prev, Bone bone) { + this.next = next; + this.prev = prev; + this.bone = bone; } } } diff --git a/BlendFile/DNA/BoneCollectionReference.cs b/BlendFile/DNA/BoneCollectionReference.cs index c48377e..6176f4a 100644 --- a/BlendFile/DNA/BoneCollectionReference.cs +++ b/BlendFile/DNA/BoneCollectionReference.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(109, "BoneCollectionReference", 24)] public class BoneCollectionReference { - [DNAFieldAttribute(0, "BoneCollectionReference", "*next", "BoneCollectionReference", 8, true, 0)] - public BoneCollectionReference ptr_next; - [DNAFieldAttribute(1, "BoneCollectionReference", "*prev", "BoneCollectionReference", 8, true, 8)] - public BoneCollectionReference ptr_prev; - [DNAFieldAttribute(2, "BoneCollection", "*bcoll", "BoneCollection", 8, true, 16)] - public BoneCollection ptr_bcoll; + [DNAFieldAttribute(8, "BoneCollectionReference", 0, "*next", "BoneCollectionReference", true, 0)] + public BoneCollectionReference next; + [DNAFieldAttribute(8, "BoneCollectionReference", 1, "*prev", "BoneCollectionReference", true, 8)] + public BoneCollectionReference prev; + [DNAFieldAttribute(8, "BoneCollection", 2, "*bcoll", "BoneCollection", true, 16)] + public BoneCollection bcoll; public BoneCollectionReference() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_bcoll = default; + this.next = default; + this.prev = default; + this.bcoll = default; } - public BoneCollectionReference(BoneCollectionReference ptr_next, BoneCollectionReference ptr_prev, BoneCollection ptr_bcoll) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_bcoll = ptr_bcoll; + public BoneCollectionReference(BoneCollectionReference next, BoneCollectionReference prev, BoneCollection bcoll) { + this.next = next; + this.prev = prev; + this.bcoll = bcoll; } } } diff --git a/BlendFile/DNA/BoneColor.cs b/BlendFile/DNA/BoneColor.cs index c0a116d..d9725da 100644 --- a/BlendFile/DNA/BoneColor.cs +++ b/BlendFile/DNA/BoneColor.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(57, "BoneColor", 24)] - public struct BoneColor { - [DNAFieldAttribute(0, "int8_t", "palette_index", "int8_t", 1, false, 0)] + public class BoneColor { + [DNAFieldAttribute(1, "int8_t", 0, "palette_index", "int8_t", false, 0)] public sbyte palette_index; - [DNAFieldAttribute(1, "uchar", "_pad0[7]", "System.Byte[]", 7, false, 1)] + [DNAFieldAttribute(7, "uchar", 1, "_pad0[7]", "System.Byte[]", false, 1)] public byte[] _pad0 = new System.Byte[7]; - [DNAFieldAttribute(2, "ThemeWireColor", "custom", "ThemeWireColor", 16, false, 8)] + [DNAFieldAttribute(16, "ThemeWireColor", 2, "custom", "ThemeWireColor", false, 8)] public ThemeWireColor custom; public BoneColor() { this.palette_index = default; diff --git a/BlendFile/DNA/Bone_Runtime.cs b/BlendFile/DNA/Bone_Runtime.cs index ccf90a3..859aa87 100644 --- a/BlendFile/DNA/Bone_Runtime.cs +++ b/BlendFile/DNA/Bone_Runtime.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(103, "Bone_Runtime", 16)] - public struct Bone_Runtime { - [DNAFieldAttribute(0, "ListBase", "collections", "ListBase", 16, false, 0)] + public class Bone_Runtime { + [DNAFieldAttribute(16, "ListBase", 0, "collections", "ListBase", false, 0)] public ListBase collections; public Bone_Runtime() { this.collections = default; diff --git a/BlendFile/DNA/BooleanModifierData.cs b/BlendFile/DNA/BooleanModifierData.cs index 41447d5..097ef6c 100644 --- a/BlendFile/DNA/BooleanModifierData.cs +++ b/BlendFile/DNA/BooleanModifierData.cs @@ -15,30 +15,30 @@ namespace BlendFile.DNA { [DNAClassAttribute(473, "BooleanModifierData", 152)] public class BooleanModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "Collection", "*collection", "Collection", 8, true, 128)] - public Collection ptr_collection; - [DNAFieldAttribute(3, "float", "double_threshold", "float", 4, false, 136)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(8, "Collection", 2, "*collection", "Collection", true, 128)] + public Collection collection; + [DNAFieldAttribute(4, "float", 3, "double_threshold", "float", false, 136)] public float double_threshold; - [DNAFieldAttribute(4, "char", "operation", "char", 1, false, 140)] + [DNAFieldAttribute(1, "char", 4, "operation", "char", false, 140)] public char operation; - [DNAFieldAttribute(5, "char", "solver", "char", 1, false, 141)] + [DNAFieldAttribute(1, "char", 5, "solver", "char", false, 141)] public char solver; - [DNAFieldAttribute(6, "char", "material_mode", "char", 1, false, 142)] + [DNAFieldAttribute(1, "char", 6, "material_mode", "char", false, 142)] public char material_mode; - [DNAFieldAttribute(7, "char", "flag", "char", 1, false, 143)] + [DNAFieldAttribute(1, "char", 7, "flag", "char", false, 143)] public char flag; - [DNAFieldAttribute(8, "char", "bm_flag", "char", 1, false, 144)] + [DNAFieldAttribute(1, "char", 8, "bm_flag", "char", false, 144)] public char bm_flag; - [DNAFieldAttribute(9, "char", "_pad[7]", "System.Char[]", 7, false, 145)] + [DNAFieldAttribute(7, "char", 9, "_pad[7]", "System.Char[]", false, 145)] public char[] _pad = new System.Char[7]; public BooleanModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_collection = default; + this.@object = default; + this.collection = default; this.double_threshold = default; this.operation = default; this.solver = default; @@ -47,10 +47,10 @@ namespace BlendFile.DNA { this.bm_flag = default; this._pad = default; } - public BooleanModifierData(ModifierData modifier, Object ptr_object, Collection ptr_collection, float double_threshold, char operation, char solver, char material_mode, char flag, char bm_flag, char[] _pad) { + public BooleanModifierData(ModifierData modifier, Object @object, Collection collection, float double_threshold, char operation, char solver, char material_mode, char flag, char bm_flag, char[] _pad) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_collection = ptr_collection; + this.@object = @object; + this.collection = collection; this.double_threshold = double_threshold; this.operation = operation; this.solver = solver; diff --git a/BlendFile/DNA/BoundBox.cs b/BlendFile/DNA/BoundBox.cs index 241d977..5d771dc 100644 --- a/BlendFile/DNA/BoundBox.cs +++ b/BlendFile/DNA/BoundBox.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(442, "BoundBox", 96)] - public struct BoundBox { - [DNAFieldAttribute(0, "float", "vec[8][3]", "System.Single[,]", 96, false, 0)] + public class BoundBox { + [DNAFieldAttribute(96, "float", 0, "vec[8][3]", "System.Single[,]", false, 0)] public float[,] vec = new System.Single[8,3]; public BoundBox() { this.vec = default; diff --git a/BlendFile/DNA/BrightContrastModifierData.cs b/BlendFile/DNA/BrightContrastModifierData.cs index 2e870e3..c7b052a 100644 --- a/BlendFile/DNA/BrightContrastModifierData.cs +++ b/BlendFile/DNA/BrightContrastModifierData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(908, "BrightContrastModifierData", 120)] - public struct BrightContrastModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class BrightContrastModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "float", "bright", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 1, "bright", "float", false, 112)] public float bright; - [DNAFieldAttribute(2, "float", "contrast", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 2, "contrast", "float", false, 116)] public float contrast; public BrightContrastModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/Brush.cs b/BlendFile/DNA/Brush.cs index 3475a59..e6fb96a 100644 --- a/BlendFile/DNA/Brush.cs +++ b/BlendFile/DNA/Brush.cs @@ -15,267 +15,267 @@ namespace BlendFile.DNA { [DNAClassAttribute(131, "Brush", 2216)] public class Brush { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "BrushClone", "clone", "BrushClone", 24, false, 208)] + [DNAFieldAttribute(24, "BrushClone", 1, "clone", "BrushClone", false, 208)] public BrushClone clone; - [DNAFieldAttribute(2, "CurveMapping", "*curve", "CurveMapping", 8, true, 232)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(3, "MTex", "mtex", "MTex", 216, false, 240)] + [DNAFieldAttribute(8, "CurveMapping", 2, "*curve", "CurveMapping", true, 232)] + public CurveMapping curve; + [DNAFieldAttribute(216, "MTex", 3, "mtex", "MTex", false, 240)] public MTex mtex; - [DNAFieldAttribute(4, "MTex", "mask_mtex", "MTex", 216, false, 456)] + [DNAFieldAttribute(216, "MTex", 4, "mask_mtex", "MTex", false, 456)] public MTex mask_mtex; - [DNAFieldAttribute(5, "Brush", "*toggle_brush", "Brush", 8, true, 672)] - public Brush ptr_toggle_brush; - [DNAFieldAttribute(6, "ImBuf", "*icon_imbuf", "ImBuf", 8, true, 680)] - public ImBuf ptr_icon_imbuf; - [DNAFieldAttribute(7, "PreviewImage", "*preview", "PreviewImage", 8, true, 688)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(8, "ColorBand", "*gradient", "ColorBand", 8, true, 696)] - public ColorBand ptr_gradient; - [DNAFieldAttribute(9, "PaintCurve", "*paint_curve", "PaintCurve", 8, true, 704)] - public PaintCurve ptr_paint_curve; - [DNAFieldAttribute(10, "char", "icon_filepath[1024]", "System.Char[]", 1024, false, 712)] + [DNAFieldAttribute(8, "Brush", 5, "*toggle_brush", "Brush", true, 672)] + public Brush toggle_brush; + [DNAFieldAttribute(8, "ImBuf", 6, "*icon_imbuf", "ImBuf", true, 680)] + public ImBuf icon_imbuf; + [DNAFieldAttribute(8, "PreviewImage", 7, "*preview", "PreviewImage", true, 688)] + public PreviewImage preview; + [DNAFieldAttribute(8, "ColorBand", 8, "*gradient", "ColorBand", true, 696)] + public ColorBand gradient; + [DNAFieldAttribute(8, "PaintCurve", 9, "*paint_curve", "PaintCurve", true, 704)] + public PaintCurve paint_curve; + [DNAFieldAttribute(1024, "char", 10, "icon_filepath[1024]", "System.Char[]", false, 712)] public char[] icon_filepath = new System.Char[1024]; - [DNAFieldAttribute(11, "float", "normal_weight", "float", 4, false, 1736)] + [DNAFieldAttribute(4, "float", 11, "normal_weight", "float", false, 1736)] public float normal_weight; - [DNAFieldAttribute(12, "float", "rake_factor", "float", 4, false, 1740)] + [DNAFieldAttribute(4, "float", 12, "rake_factor", "float", false, 1740)] public float rake_factor; - [DNAFieldAttribute(13, "short", "blend", "short", 2, false, 1744)] + [DNAFieldAttribute(2, "short", 13, "blend", "short", false, 1744)] public short blend; - [DNAFieldAttribute(14, "short", "ob_mode", "short", 2, false, 1746)] + [DNAFieldAttribute(2, "short", 14, "ob_mode", "short", false, 1746)] public short ob_mode; - [DNAFieldAttribute(15, "float", "weight", "float", 4, false, 1748)] + [DNAFieldAttribute(4, "float", 15, "weight", "float", false, 1748)] public float weight; - [DNAFieldAttribute(16, "int", "size", "int", 4, false, 1752)] + [DNAFieldAttribute(4, "int", 16, "size", "int", false, 1752)] public int size; - [DNAFieldAttribute(17, "int", "flag", "int", 4, false, 1756)] + [DNAFieldAttribute(4, "int", 17, "flag", "int", false, 1756)] public int flag; - [DNAFieldAttribute(18, "int", "flag2", "int", 4, false, 1760)] + [DNAFieldAttribute(4, "int", 18, "flag2", "int", false, 1760)] public int flag2; - [DNAFieldAttribute(19, "int", "sampling_flag", "int", 4, false, 1764)] + [DNAFieldAttribute(4, "int", 19, "sampling_flag", "int", false, 1764)] public int sampling_flag; - [DNAFieldAttribute(20, "int", "input_samples", "int", 4, false, 1768)] + [DNAFieldAttribute(4, "int", 20, "input_samples", "int", false, 1768)] public int input_samples; - [DNAFieldAttribute(21, "int", "mask_pressure", "int", 4, false, 1772)] + [DNAFieldAttribute(4, "int", 21, "mask_pressure", "int", false, 1772)] public int mask_pressure; - [DNAFieldAttribute(22, "float", "jitter", "float", 4, false, 1776)] + [DNAFieldAttribute(4, "float", 22, "jitter", "float", false, 1776)] public float jitter; - [DNAFieldAttribute(23, "int", "jitter_absolute", "int", 4, false, 1780)] + [DNAFieldAttribute(4, "int", 23, "jitter_absolute", "int", false, 1780)] public int jitter_absolute; - [DNAFieldAttribute(24, "int", "overlay_flags", "int", 4, false, 1784)] + [DNAFieldAttribute(4, "int", 24, "overlay_flags", "int", false, 1784)] public int overlay_flags; - [DNAFieldAttribute(25, "int", "spacing", "int", 4, false, 1788)] + [DNAFieldAttribute(4, "int", 25, "spacing", "int", false, 1788)] public int spacing; - [DNAFieldAttribute(26, "int", "smooth_stroke_radius", "int", 4, false, 1792)] + [DNAFieldAttribute(4, "int", 26, "smooth_stroke_radius", "int", false, 1792)] public int smooth_stroke_radius; - [DNAFieldAttribute(27, "float", "smooth_stroke_factor", "float", 4, false, 1796)] + [DNAFieldAttribute(4, "float", 27, "smooth_stroke_factor", "float", false, 1796)] public float smooth_stroke_factor; - [DNAFieldAttribute(28, "float", "rate", "float", 4, false, 1800)] + [DNAFieldAttribute(4, "float", 28, "rate", "float", false, 1800)] public float rate; - [DNAFieldAttribute(29, "float", "rgb[3]", "System.Single[]", 12, false, 1804)] + [DNAFieldAttribute(12, "float", 29, "rgb[3]", "System.Single[]", false, 1804)] public float[] rgb = new System.Single[3]; - [DNAFieldAttribute(30, "float", "alpha", "float", 4, false, 1816)] + [DNAFieldAttribute(4, "float", 30, "alpha", "float", false, 1816)] public float alpha; - [DNAFieldAttribute(31, "float", "hardness", "float", 4, false, 1820)] + [DNAFieldAttribute(4, "float", 31, "hardness", "float", false, 1820)] public float hardness; - [DNAFieldAttribute(32, "float", "flow", "float", 4, false, 1824)] + [DNAFieldAttribute(4, "float", 32, "flow", "float", false, 1824)] public float flow; - [DNAFieldAttribute(33, "float", "wet_mix", "float", 4, false, 1828)] + [DNAFieldAttribute(4, "float", 33, "wet_mix", "float", false, 1828)] public float wet_mix; - [DNAFieldAttribute(34, "float", "wet_persistence", "float", 4, false, 1832)] + [DNAFieldAttribute(4, "float", 34, "wet_persistence", "float", false, 1832)] public float wet_persistence; - [DNAFieldAttribute(35, "float", "density", "float", 4, false, 1836)] + [DNAFieldAttribute(4, "float", 35, "density", "float", false, 1836)] public float density; - [DNAFieldAttribute(36, "int", "paint_flags", "int", 4, false, 1840)] + [DNAFieldAttribute(4, "int", 36, "paint_flags", "int", false, 1840)] public int paint_flags; - [DNAFieldAttribute(37, "float", "tip_roundness", "float", 4, false, 1844)] + [DNAFieldAttribute(4, "float", 37, "tip_roundness", "float", false, 1844)] public float tip_roundness; - [DNAFieldAttribute(38, "float", "tip_scale_x", "float", 4, false, 1848)] + [DNAFieldAttribute(4, "float", 38, "tip_scale_x", "float", false, 1848)] public float tip_scale_x; - [DNAFieldAttribute(39, "float", "secondary_rgb[3]", "System.Single[]", 12, false, 1852)] + [DNAFieldAttribute(12, "float", 39, "secondary_rgb[3]", "System.Single[]", false, 1852)] public float[] secondary_rgb = new System.Single[3]; - [DNAFieldAttribute(40, "float", "dash_ratio", "float", 4, false, 1864)] + [DNAFieldAttribute(4, "float", 40, "dash_ratio", "float", false, 1864)] public float dash_ratio; - [DNAFieldAttribute(41, "int", "dash_samples", "int", 4, false, 1868)] + [DNAFieldAttribute(4, "int", 41, "dash_samples", "int", false, 1868)] public int dash_samples; - [DNAFieldAttribute(42, "int", "sculpt_plane", "int", 4, false, 1872)] + [DNAFieldAttribute(4, "int", 42, "sculpt_plane", "int", false, 1872)] public int sculpt_plane; - [DNAFieldAttribute(43, "float", "plane_offset", "float", 4, false, 1876)] + [DNAFieldAttribute(4, "float", 43, "plane_offset", "float", false, 1876)] public float plane_offset; - [DNAFieldAttribute(44, "int", "gradient_spacing", "int", 4, false, 1880)] + [DNAFieldAttribute(4, "int", 44, "gradient_spacing", "int", false, 1880)] public int gradient_spacing; - [DNAFieldAttribute(45, "char", "gradient_stroke_mode", "char", 1, false, 1884)] + [DNAFieldAttribute(1, "char", 45, "gradient_stroke_mode", "char", false, 1884)] public char gradient_stroke_mode; - [DNAFieldAttribute(46, "char", "gradient_fill_mode", "char", 1, false, 1885)] + [DNAFieldAttribute(1, "char", 46, "gradient_fill_mode", "char", false, 1885)] public char gradient_fill_mode; - [DNAFieldAttribute(47, "char", "has_unsaved_changes", "char", 1, false, 1886)] + [DNAFieldAttribute(1, "char", 47, "has_unsaved_changes", "char", false, 1886)] public char has_unsaved_changes; - [DNAFieldAttribute(48, "char", "falloff_shape", "char", 1, false, 1887)] + [DNAFieldAttribute(1, "char", 48, "falloff_shape", "char", false, 1887)] public char falloff_shape; - [DNAFieldAttribute(49, "float", "falloff_angle", "float", 4, false, 1888)] + [DNAFieldAttribute(4, "float", 49, "falloff_angle", "float", false, 1888)] public float falloff_angle; - [DNAFieldAttribute(50, "char", "sculpt_tool", "char", 1, false, 1892)] + [DNAFieldAttribute(1, "char", 50, "sculpt_tool", "char", false, 1892)] public char sculpt_tool; - [DNAFieldAttribute(51, "char", "vertexpaint_tool", "char", 1, false, 1893)] + [DNAFieldAttribute(1, "char", 51, "vertexpaint_tool", "char", false, 1893)] public char vertexpaint_tool; - [DNAFieldAttribute(52, "char", "weightpaint_tool", "char", 1, false, 1894)] + [DNAFieldAttribute(1, "char", 52, "weightpaint_tool", "char", false, 1894)] public char weightpaint_tool; - [DNAFieldAttribute(53, "char", "imagepaint_tool", "char", 1, false, 1895)] + [DNAFieldAttribute(1, "char", 53, "imagepaint_tool", "char", false, 1895)] public char imagepaint_tool; - [DNAFieldAttribute(54, "char", "mask_tool", "char", 1, false, 1896)] + [DNAFieldAttribute(1, "char", 54, "mask_tool", "char", false, 1896)] public char mask_tool; - [DNAFieldAttribute(55, "char", "gpencil_tool", "char", 1, false, 1897)] + [DNAFieldAttribute(1, "char", 55, "gpencil_tool", "char", false, 1897)] public char gpencil_tool; - [DNAFieldAttribute(56, "char", "gpencil_vertex_tool", "char", 1, false, 1898)] + [DNAFieldAttribute(1, "char", 56, "gpencil_vertex_tool", "char", false, 1898)] public char gpencil_vertex_tool; - [DNAFieldAttribute(57, "char", "gpencil_sculpt_tool", "char", 1, false, 1899)] + [DNAFieldAttribute(1, "char", 57, "gpencil_sculpt_tool", "char", false, 1899)] public char gpencil_sculpt_tool; - [DNAFieldAttribute(58, "char", "gpencil_weight_tool", "char", 1, false, 1900)] + [DNAFieldAttribute(1, "char", 58, "gpencil_weight_tool", "char", false, 1900)] public char gpencil_weight_tool; - [DNAFieldAttribute(59, "char", "curves_sculpt_tool", "char", 1, false, 1901)] + [DNAFieldAttribute(1, "char", 59, "curves_sculpt_tool", "char", false, 1901)] public char curves_sculpt_tool; - [DNAFieldAttribute(60, "char", "_pad1[6]", "System.Char[]", 6, false, 1902)] + [DNAFieldAttribute(6, "char", 60, "_pad1[6]", "System.Char[]", false, 1902)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(61, "float", "autosmooth_factor", "float", 4, false, 1908)] + [DNAFieldAttribute(4, "float", 61, "autosmooth_factor", "float", false, 1908)] public float autosmooth_factor; - [DNAFieldAttribute(62, "float", "tilt_strength_factor", "float", 4, false, 1912)] + [DNAFieldAttribute(4, "float", 62, "tilt_strength_factor", "float", false, 1912)] public float tilt_strength_factor; - [DNAFieldAttribute(63, "float", "topology_rake_factor", "float", 4, false, 1916)] + [DNAFieldAttribute(4, "float", 63, "topology_rake_factor", "float", false, 1916)] public float topology_rake_factor; - [DNAFieldAttribute(64, "float", "crease_pinch_factor", "float", 4, false, 1920)] + [DNAFieldAttribute(4, "float", 64, "crease_pinch_factor", "float", false, 1920)] public float crease_pinch_factor; - [DNAFieldAttribute(65, "float", "normal_radius_factor", "float", 4, false, 1924)] + [DNAFieldAttribute(4, "float", 65, "normal_radius_factor", "float", false, 1924)] public float normal_radius_factor; - [DNAFieldAttribute(66, "float", "area_radius_factor", "float", 4, false, 1928)] + [DNAFieldAttribute(4, "float", 66, "area_radius_factor", "float", false, 1928)] public float area_radius_factor; - [DNAFieldAttribute(67, "float", "wet_paint_radius_factor", "float", 4, false, 1932)] + [DNAFieldAttribute(4, "float", 67, "wet_paint_radius_factor", "float", false, 1932)] public float wet_paint_radius_factor; - [DNAFieldAttribute(68, "float", "plane_trim", "float", 4, false, 1936)] + [DNAFieldAttribute(4, "float", 68, "plane_trim", "float", false, 1936)] public float plane_trim; - [DNAFieldAttribute(69, "float", "height", "float", 4, false, 1940)] + [DNAFieldAttribute(4, "float", 69, "height", "float", false, 1940)] public float height; - [DNAFieldAttribute(70, "float", "texture_sample_bias", "float", 4, false, 1944)] + [DNAFieldAttribute(4, "float", 70, "texture_sample_bias", "float", false, 1944)] public float texture_sample_bias; - [DNAFieldAttribute(71, "int", "curve_preset", "int", 4, false, 1948)] + [DNAFieldAttribute(4, "int", 71, "curve_preset", "int", false, 1948)] public int curve_preset; - [DNAFieldAttribute(72, "float", "disconnected_distance_max", "float", 4, false, 1952)] + [DNAFieldAttribute(4, "float", 72, "disconnected_distance_max", "float", false, 1952)] public float disconnected_distance_max; - [DNAFieldAttribute(73, "int", "deform_target", "int", 4, false, 1956)] + [DNAFieldAttribute(4, "int", 73, "deform_target", "int", false, 1956)] public int deform_target; - [DNAFieldAttribute(74, "int", "automasking_flags", "int", 4, false, 1960)] + [DNAFieldAttribute(4, "int", 74, "automasking_flags", "int", false, 1960)] public int automasking_flags; - [DNAFieldAttribute(75, "int", "automasking_boundary_edges_propagation_steps", "int", 4, false, 1964)] + [DNAFieldAttribute(4, "int", 75, "automasking_boundary_edges_propagation_steps", "int", false, 1964)] public int automasking_boundary_edges_propagation_steps; - [DNAFieldAttribute(76, "float", "automasking_start_normal_limit", "float", 4, false, 1968)] + [DNAFieldAttribute(4, "float", 76, "automasking_start_normal_limit", "float", false, 1968)] public float automasking_start_normal_limit; - [DNAFieldAttribute(77, "float", "automasking_start_normal_falloff", "float", 4, false, 1972)] + [DNAFieldAttribute(4, "float", 77, "automasking_start_normal_falloff", "float", false, 1972)] public float automasking_start_normal_falloff; - [DNAFieldAttribute(78, "float", "automasking_view_normal_limit", "float", 4, false, 1976)] + [DNAFieldAttribute(4, "float", 78, "automasking_view_normal_limit", "float", false, 1976)] public float automasking_view_normal_limit; - [DNAFieldAttribute(79, "float", "automasking_view_normal_falloff", "float", 4, false, 1980)] + [DNAFieldAttribute(4, "float", 79, "automasking_view_normal_falloff", "float", false, 1980)] public float automasking_view_normal_falloff; - [DNAFieldAttribute(80, "int", "elastic_deform_type", "int", 4, false, 1984)] + [DNAFieldAttribute(4, "int", 80, "elastic_deform_type", "int", false, 1984)] public int elastic_deform_type; - [DNAFieldAttribute(81, "float", "elastic_deform_volume_preservation", "float", 4, false, 1988)] + [DNAFieldAttribute(4, "float", 81, "elastic_deform_volume_preservation", "float", false, 1988)] public float elastic_deform_volume_preservation; - [DNAFieldAttribute(82, "int", "snake_hook_deform_type", "int", 4, false, 1992)] + [DNAFieldAttribute(4, "int", 82, "snake_hook_deform_type", "int", false, 1992)] public int snake_hook_deform_type; - [DNAFieldAttribute(83, "int", "pose_deform_type", "int", 4, false, 1996)] + [DNAFieldAttribute(4, "int", 83, "pose_deform_type", "int", false, 1996)] public int pose_deform_type; - [DNAFieldAttribute(84, "float", "pose_offset", "float", 4, false, 2000)] + [DNAFieldAttribute(4, "float", 84, "pose_offset", "float", false, 2000)] public float pose_offset; - [DNAFieldAttribute(85, "int", "pose_smooth_iterations", "int", 4, false, 2004)] + [DNAFieldAttribute(4, "int", 85, "pose_smooth_iterations", "int", false, 2004)] public int pose_smooth_iterations; - [DNAFieldAttribute(86, "int", "pose_ik_segments", "int", 4, false, 2008)] + [DNAFieldAttribute(4, "int", 86, "pose_ik_segments", "int", false, 2008)] public int pose_ik_segments; - [DNAFieldAttribute(87, "int", "pose_origin_type", "int", 4, false, 2012)] + [DNAFieldAttribute(4, "int", 87, "pose_origin_type", "int", false, 2012)] public int pose_origin_type; - [DNAFieldAttribute(88, "int", "boundary_deform_type", "int", 4, false, 2016)] + [DNAFieldAttribute(4, "int", 88, "boundary_deform_type", "int", false, 2016)] public int boundary_deform_type; - [DNAFieldAttribute(89, "int", "boundary_falloff_type", "int", 4, false, 2020)] + [DNAFieldAttribute(4, "int", 89, "boundary_falloff_type", "int", false, 2020)] public int boundary_falloff_type; - [DNAFieldAttribute(90, "float", "boundary_offset", "float", 4, false, 2024)] + [DNAFieldAttribute(4, "float", 90, "boundary_offset", "float", false, 2024)] public float boundary_offset; - [DNAFieldAttribute(91, "int", "cloth_deform_type", "int", 4, false, 2028)] + [DNAFieldAttribute(4, "int", 91, "cloth_deform_type", "int", false, 2028)] public int cloth_deform_type; - [DNAFieldAttribute(92, "int", "cloth_force_falloff_type", "int", 4, false, 2032)] + [DNAFieldAttribute(4, "int", 92, "cloth_force_falloff_type", "int", false, 2032)] public int cloth_force_falloff_type; - [DNAFieldAttribute(93, "int", "cloth_simulation_area_type", "int", 4, false, 2036)] + [DNAFieldAttribute(4, "int", 93, "cloth_simulation_area_type", "int", false, 2036)] public int cloth_simulation_area_type; - [DNAFieldAttribute(94, "float", "cloth_mass", "float", 4, false, 2040)] + [DNAFieldAttribute(4, "float", 94, "cloth_mass", "float", false, 2040)] public float cloth_mass; - [DNAFieldAttribute(95, "float", "cloth_damping", "float", 4, false, 2044)] + [DNAFieldAttribute(4, "float", 95, "cloth_damping", "float", false, 2044)] public float cloth_damping; - [DNAFieldAttribute(96, "float", "cloth_sim_limit", "float", 4, false, 2048)] + [DNAFieldAttribute(4, "float", 96, "cloth_sim_limit", "float", false, 2048)] public float cloth_sim_limit; - [DNAFieldAttribute(97, "float", "cloth_sim_falloff", "float", 4, false, 2052)] + [DNAFieldAttribute(4, "float", 97, "cloth_sim_falloff", "float", false, 2052)] public float cloth_sim_falloff; - [DNAFieldAttribute(98, "float", "cloth_constraint_softbody_strength", "float", 4, false, 2056)] + [DNAFieldAttribute(4, "float", 98, "cloth_constraint_softbody_strength", "float", false, 2056)] public float cloth_constraint_softbody_strength; - [DNAFieldAttribute(99, "int", "smooth_deform_type", "int", 4, false, 2060)] + [DNAFieldAttribute(4, "int", 99, "smooth_deform_type", "int", false, 2060)] public int smooth_deform_type; - [DNAFieldAttribute(100, "float", "surface_smooth_shape_preservation", "float", 4, false, 2064)] + [DNAFieldAttribute(4, "float", 100, "surface_smooth_shape_preservation", "float", false, 2064)] public float surface_smooth_shape_preservation; - [DNAFieldAttribute(101, "float", "surface_smooth_current_vertex", "float", 4, false, 2068)] + [DNAFieldAttribute(4, "float", 101, "surface_smooth_current_vertex", "float", false, 2068)] public float surface_smooth_current_vertex; - [DNAFieldAttribute(102, "int", "surface_smooth_iterations", "int", 4, false, 2072)] + [DNAFieldAttribute(4, "int", 102, "surface_smooth_iterations", "int", false, 2072)] public int surface_smooth_iterations; - [DNAFieldAttribute(103, "float", "multiplane_scrape_angle", "float", 4, false, 2076)] + [DNAFieldAttribute(4, "float", 103, "multiplane_scrape_angle", "float", false, 2076)] public float multiplane_scrape_angle; - [DNAFieldAttribute(104, "int", "smear_deform_type", "int", 4, false, 2080)] + [DNAFieldAttribute(4, "int", 104, "smear_deform_type", "int", false, 2080)] public int smear_deform_type; - [DNAFieldAttribute(105, "int", "slide_deform_type", "int", 4, false, 2084)] + [DNAFieldAttribute(4, "int", 105, "slide_deform_type", "int", false, 2084)] public int slide_deform_type; - [DNAFieldAttribute(106, "int", "texture_overlay_alpha", "int", 4, false, 2088)] + [DNAFieldAttribute(4, "int", 106, "texture_overlay_alpha", "int", false, 2088)] public int texture_overlay_alpha; - [DNAFieldAttribute(107, "int", "mask_overlay_alpha", "int", 4, false, 2092)] + [DNAFieldAttribute(4, "int", 107, "mask_overlay_alpha", "int", false, 2092)] public int mask_overlay_alpha; - [DNAFieldAttribute(108, "int", "cursor_overlay_alpha", "int", 4, false, 2096)] + [DNAFieldAttribute(4, "int", 108, "cursor_overlay_alpha", "int", false, 2096)] public int cursor_overlay_alpha; - [DNAFieldAttribute(109, "float", "unprojected_radius", "float", 4, false, 2100)] + [DNAFieldAttribute(4, "float", 109, "unprojected_radius", "float", false, 2100)] public float unprojected_radius; - [DNAFieldAttribute(110, "float", "sharp_threshold", "float", 4, false, 2104)] + [DNAFieldAttribute(4, "float", 110, "sharp_threshold", "float", false, 2104)] public float sharp_threshold; - [DNAFieldAttribute(111, "int", "blur_kernel_radius", "int", 4, false, 2108)] + [DNAFieldAttribute(4, "int", 111, "blur_kernel_radius", "int", false, 2108)] public int blur_kernel_radius; - [DNAFieldAttribute(112, "int", "blur_mode", "int", 4, false, 2112)] + [DNAFieldAttribute(4, "int", 112, "blur_mode", "int", false, 2112)] public int blur_mode; - [DNAFieldAttribute(113, "float", "fill_threshold", "float", 4, false, 2116)] + [DNAFieldAttribute(4, "float", 113, "fill_threshold", "float", false, 2116)] public float fill_threshold; - [DNAFieldAttribute(114, "float", "add_col[4]", "System.Single[]", 16, false, 2120)] + [DNAFieldAttribute(16, "float", 114, "add_col[4]", "System.Single[]", false, 2120)] public float[] add_col = new System.Single[4]; - [DNAFieldAttribute(115, "float", "sub_col[4]", "System.Single[]", 16, false, 2136)] + [DNAFieldAttribute(16, "float", 115, "sub_col[4]", "System.Single[]", false, 2136)] public float[] sub_col = new System.Single[4]; - [DNAFieldAttribute(116, "float", "stencil_pos[2]", "System.Single[]", 8, false, 2152)] + [DNAFieldAttribute(8, "float", 116, "stencil_pos[2]", "System.Single[]", false, 2152)] public float[] stencil_pos = new System.Single[2]; - [DNAFieldAttribute(117, "float", "stencil_dimension[2]", "System.Single[]", 8, false, 2160)] + [DNAFieldAttribute(8, "float", 117, "stencil_dimension[2]", "System.Single[]", false, 2160)] public float[] stencil_dimension = new System.Single[2]; - [DNAFieldAttribute(118, "float", "mask_stencil_pos[2]", "System.Single[]", 8, false, 2168)] + [DNAFieldAttribute(8, "float", 118, "mask_stencil_pos[2]", "System.Single[]", false, 2168)] public float[] mask_stencil_pos = new System.Single[2]; - [DNAFieldAttribute(119, "float", "mask_stencil_dimension[2]", "System.Single[]", 8, false, 2176)] + [DNAFieldAttribute(8, "float", 119, "mask_stencil_dimension[2]", "System.Single[]", false, 2176)] public float[] mask_stencil_dimension = new System.Single[2]; - [DNAFieldAttribute(120, "BrushGpencilSettings", "*gpencil_settings", "BrushGpencilSettings", 8, true, 2184)] - public BrushGpencilSettings ptr_gpencil_settings; - [DNAFieldAttribute(121, "BrushCurvesSculptSettings", "*curves_sculpt_settings", "BrushCurvesSculptSettings", 8, true, 2192)] - public BrushCurvesSculptSettings ptr_curves_sculpt_settings; - [DNAFieldAttribute(122, "int", "automasking_cavity_blur_steps", "int", 4, false, 2200)] + [DNAFieldAttribute(8, "BrushGpencilSettings", 120, "*gpencil_settings", "BrushGpencilSettings", true, 2184)] + public BrushGpencilSettings gpencil_settings; + [DNAFieldAttribute(8, "BrushCurvesSculptSettings", 121, "*curves_sculpt_settings", "BrushCurvesSculptSettings", true, 2192)] + public BrushCurvesSculptSettings curves_sculpt_settings; + [DNAFieldAttribute(4, "int", 122, "automasking_cavity_blur_steps", "int", false, 2200)] public int automasking_cavity_blur_steps; - [DNAFieldAttribute(123, "float", "automasking_cavity_factor", "float", 4, false, 2204)] + [DNAFieldAttribute(4, "float", 123, "automasking_cavity_factor", "float", false, 2204)] public float automasking_cavity_factor; - [DNAFieldAttribute(124, "CurveMapping", "*automasking_cavity_curve", "CurveMapping", 8, true, 2208)] - public CurveMapping ptr_automasking_cavity_curve; + [DNAFieldAttribute(8, "CurveMapping", 124, "*automasking_cavity_curve", "CurveMapping", true, 2208)] + public CurveMapping automasking_cavity_curve; public Brush() { this.id = default; this.clone = default; - this.ptr_curve = default; + this.curve = default; this.mtex = default; this.mask_mtex = default; - this.ptr_toggle_brush = default; - this.ptr_icon_imbuf = default; - this.ptr_preview = default; - this.ptr_gradient = default; - this.ptr_paint_curve = default; + this.toggle_brush = default; + this.icon_imbuf = default; + this.preview = default; + this.gradient = default; + this.paint_curve = default; this.icon_filepath = default; this.normal_weight = default; this.rake_factor = default; @@ -386,23 +386,23 @@ namespace BlendFile.DNA { this.stencil_dimension = default; this.mask_stencil_pos = default; this.mask_stencil_dimension = default; - this.ptr_gpencil_settings = default; - this.ptr_curves_sculpt_settings = default; + this.gpencil_settings = default; + this.curves_sculpt_settings = default; this.automasking_cavity_blur_steps = default; this.automasking_cavity_factor = default; - this.ptr_automasking_cavity_curve = default; + this.automasking_cavity_curve = default; } public Brush( ID id, BrushClone clone, - CurveMapping ptr_curve, + CurveMapping curve, MTex mtex, MTex mask_mtex, - Brush ptr_toggle_brush, - ImBuf ptr_icon_imbuf, - PreviewImage ptr_preview, - ColorBand ptr_gradient, - PaintCurve ptr_paint_curve, + Brush toggle_brush, + ImBuf icon_imbuf, + PreviewImage preview, + ColorBand gradient, + PaintCurve paint_curve, char[] icon_filepath, float normal_weight, float rake_factor, @@ -513,21 +513,21 @@ namespace BlendFile.DNA { float[] stencil_dimension, float[] mask_stencil_pos, float[] mask_stencil_dimension, - BrushGpencilSettings ptr_gpencil_settings, - BrushCurvesSculptSettings ptr_curves_sculpt_settings, + BrushGpencilSettings gpencil_settings, + BrushCurvesSculptSettings curves_sculpt_settings, int automasking_cavity_blur_steps, float automasking_cavity_factor, - CurveMapping ptr_automasking_cavity_curve) { + CurveMapping automasking_cavity_curve) { this.id = id; this.clone = clone; - this.ptr_curve = ptr_curve; + this.curve = curve; this.mtex = mtex; this.mask_mtex = mask_mtex; - this.ptr_toggle_brush = ptr_toggle_brush; - this.ptr_icon_imbuf = ptr_icon_imbuf; - this.ptr_preview = ptr_preview; - this.ptr_gradient = ptr_gradient; - this.ptr_paint_curve = ptr_paint_curve; + this.toggle_brush = toggle_brush; + this.icon_imbuf = icon_imbuf; + this.preview = preview; + this.gradient = gradient; + this.paint_curve = paint_curve; this.icon_filepath = icon_filepath; this.normal_weight = normal_weight; this.rake_factor = rake_factor; @@ -638,11 +638,11 @@ namespace BlendFile.DNA { this.stencil_dimension = stencil_dimension; this.mask_stencil_pos = mask_stencil_pos; this.mask_stencil_dimension = mask_stencil_dimension; - this.ptr_gpencil_settings = ptr_gpencil_settings; - this.ptr_curves_sculpt_settings = ptr_curves_sculpt_settings; + this.gpencil_settings = gpencil_settings; + this.curves_sculpt_settings = curves_sculpt_settings; this.automasking_cavity_blur_steps = automasking_cavity_blur_steps; this.automasking_cavity_factor = automasking_cavity_factor; - this.ptr_automasking_cavity_curve = ptr_automasking_cavity_curve; + this.automasking_cavity_curve = automasking_cavity_curve; } } } diff --git a/BlendFile/DNA/BrushClone.cs b/BlendFile/DNA/BrushClone.cs index 818eb5e..4e212b4 100644 --- a/BlendFile/DNA/BrushClone.cs +++ b/BlendFile/DNA/BrushClone.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(125, "BrushClone", 24)] public class BrushClone { - [DNAFieldAttribute(0, "Image", "*image", "Image", 8, true, 0)] - public Image ptr_image; - [DNAFieldAttribute(1, "float", "offset[2]", "System.Single[]", 8, false, 8)] + [DNAFieldAttribute(8, "Image", 0, "*image", "Image", true, 0)] + public Image image; + [DNAFieldAttribute(8, "float", 1, "offset[2]", "System.Single[]", false, 8)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(2, "float", "alpha", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 2, "alpha", "float", false, 16)] public float alpha; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public BrushClone() { - this.ptr_image = default; + this.image = default; this.offset = default; this.alpha = default; this._pad = default; } - public BrushClone(Image ptr_image, float[] offset, float alpha, char[] _pad) { - this.ptr_image = ptr_image; + public BrushClone(Image image, float[] offset, float alpha, char[] _pad) { + this.image = image; this.offset = offset; this.alpha = alpha; this._pad = _pad; diff --git a/BlendFile/DNA/BrushCurvesSculptSettings.cs b/BlendFile/DNA/BrushCurvesSculptSettings.cs index 8d2e1a7..3dca9b5 100644 --- a/BlendFile/DNA/BrushCurvesSculptSettings.cs +++ b/BlendFile/DNA/BrushCurvesSculptSettings.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(130, "BrushCurvesSculptSettings", 48)] public class BrushCurvesSculptSettings { - [DNAFieldAttribute(0, "int", "add_amount", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "add_amount", "int", false, 0)] public int add_amount; - [DNAFieldAttribute(1, "int", "points_per_curve", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "points_per_curve", "int", false, 4)] public int points_per_curve; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(3, "float", "minimum_length", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "minimum_length", "float", false, 12)] public float minimum_length; - [DNAFieldAttribute(4, "float", "curve_length", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "curve_length", "float", false, 16)] public float curve_length; - [DNAFieldAttribute(5, "float", "minimum_distance", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "minimum_distance", "float", false, 20)] public float minimum_distance; - [DNAFieldAttribute(6, "float", "curve_radius", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "curve_radius", "float", false, 24)] public float curve_radius; - [DNAFieldAttribute(7, "int", "density_add_attempts", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "density_add_attempts", "int", false, 28)] public int density_add_attempts; - [DNAFieldAttribute(8, "uchar", "density_mode", "uchar", 1, false, 32)] + [DNAFieldAttribute(1, "uchar", 8, "density_mode", "uchar", false, 32)] public byte density_mode; - [DNAFieldAttribute(9, "char", "_pad[7]", "System.Char[]", 7, false, 33)] + [DNAFieldAttribute(7, "char", 9, "_pad[7]", "System.Char[]", false, 33)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(10, "CurveMapping", "*curve_parameter_falloff", "CurveMapping", 8, true, 40)] - public CurveMapping ptr_curve_parameter_falloff; + [DNAFieldAttribute(8, "CurveMapping", 10, "*curve_parameter_falloff", "CurveMapping", true, 40)] + public CurveMapping curve_parameter_falloff; public BrushCurvesSculptSettings() { this.add_amount = default; this.points_per_curve = default; @@ -48,9 +48,9 @@ namespace BlendFile.DNA { this.density_add_attempts = default; this.density_mode = default; this._pad = default; - this.ptr_curve_parameter_falloff = default; + this.curve_parameter_falloff = default; } - public BrushCurvesSculptSettings(int add_amount, int points_per_curve, int flag, float minimum_length, float curve_length, float minimum_distance, float curve_radius, int density_add_attempts, byte density_mode, char[] _pad, CurveMapping ptr_curve_parameter_falloff) { + public BrushCurvesSculptSettings(int add_amount, int points_per_curve, int flag, float minimum_length, float curve_length, float minimum_distance, float curve_radius, int density_add_attempts, byte density_mode, char[] _pad, CurveMapping curve_parameter_falloff) { this.add_amount = add_amount; this.points_per_curve = points_per_curve; this.flag = flag; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.density_add_attempts = density_add_attempts; this.density_mode = density_mode; this._pad = _pad; - this.ptr_curve_parameter_falloff = ptr_curve_parameter_falloff; + this.curve_parameter_falloff = curve_parameter_falloff; } } } diff --git a/BlendFile/DNA/BrushGpencilSettings.cs b/BlendFile/DNA/BrushGpencilSettings.cs index 648528d..779d67e 100644 --- a/BlendFile/DNA/BrushGpencilSettings.cs +++ b/BlendFile/DNA/BrushGpencilSettings.cs @@ -15,116 +15,116 @@ namespace BlendFile.DNA { [DNAClassAttribute(127, "BrushGpencilSettings", 248)] public class BrushGpencilSettings { - [DNAFieldAttribute(0, "float", "draw_smoothfac", "float", 4, false, 0)] + [DNAFieldAttribute(4, "float", 0, "draw_smoothfac", "float", false, 0)] public float draw_smoothfac; - [DNAFieldAttribute(1, "float", "fill_factor", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "fill_factor", "float", false, 4)] public float fill_factor; - [DNAFieldAttribute(2, "float", "draw_strength", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "draw_strength", "float", false, 8)] public float draw_strength; - [DNAFieldAttribute(3, "float", "draw_jitter", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "draw_jitter", "float", false, 12)] public float draw_jitter; - [DNAFieldAttribute(4, "float", "draw_angle", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "draw_angle", "float", false, 16)] public float draw_angle; - [DNAFieldAttribute(5, "float", "draw_angle_factor", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "draw_angle_factor", "float", false, 20)] public float draw_angle_factor; - [DNAFieldAttribute(6, "float", "draw_random_press", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "draw_random_press", "float", false, 24)] public float draw_random_press; - [DNAFieldAttribute(7, "float", "draw_random_strength", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "draw_random_strength", "float", false, 28)] public float draw_random_strength; - [DNAFieldAttribute(8, "short", "draw_smoothlvl", "short", 2, false, 32)] + [DNAFieldAttribute(2, "short", 8, "draw_smoothlvl", "short", false, 32)] public short draw_smoothlvl; - [DNAFieldAttribute(9, "short", "draw_subdivide", "short", 2, false, 34)] + [DNAFieldAttribute(2, "short", 9, "draw_subdivide", "short", false, 34)] public short draw_subdivide; - [DNAFieldAttribute(10, "short", "fill_layer_mode", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 10, "fill_layer_mode", "short", false, 36)] public short fill_layer_mode; - [DNAFieldAttribute(11, "short", "fill_direction", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 11, "fill_direction", "short", false, 38)] public short fill_direction; - [DNAFieldAttribute(12, "float", "fill_threshold", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 12, "fill_threshold", "float", false, 40)] public float fill_threshold; - [DNAFieldAttribute(13, "char", "_pad2[2]", "System.Char[]", 2, false, 44)] + [DNAFieldAttribute(2, "char", 13, "_pad2[2]", "System.Char[]", false, 44)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(14, "int8_t", "caps_type", "int8_t", 1, false, 46)] + [DNAFieldAttribute(1, "int8_t", 14, "caps_type", "int8_t", false, 46)] public sbyte caps_type; - [DNAFieldAttribute(15, "char", "_pad[1]", "System.Char[]", 1, false, 47)] + [DNAFieldAttribute(1, "char", 15, "_pad[1]", "System.Char[]", false, 47)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(16, "int", "flag2", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 16, "flag2", "int", false, 48)] public int flag2; - [DNAFieldAttribute(17, "int", "fill_simplylvl", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 17, "fill_simplylvl", "int", false, 52)] public int fill_simplylvl; - [DNAFieldAttribute(18, "int", "fill_draw_mode", "int", 4, false, 56)] + [DNAFieldAttribute(4, "int", 18, "fill_draw_mode", "int", false, 56)] public int fill_draw_mode; - [DNAFieldAttribute(19, "int", "fill_extend_mode", "int", 4, false, 60)] + [DNAFieldAttribute(4, "int", 19, "fill_extend_mode", "int", false, 60)] public int fill_extend_mode; - [DNAFieldAttribute(20, "int", "input_samples", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 20, "input_samples", "int", false, 64)] public int input_samples; - [DNAFieldAttribute(21, "float", "uv_random", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 21, "uv_random", "float", false, 68)] public float uv_random; - [DNAFieldAttribute(22, "int", "brush_type", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 22, "brush_type", "int", false, 72)] public int brush_type; - [DNAFieldAttribute(23, "int", "eraser_mode", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 23, "eraser_mode", "int", false, 76)] public int eraser_mode; - [DNAFieldAttribute(24, "float", "active_smooth", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 24, "active_smooth", "float", false, 80)] public float active_smooth; - [DNAFieldAttribute(25, "float", "era_strength_f", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 25, "era_strength_f", "float", false, 84)] public float era_strength_f; - [DNAFieldAttribute(26, "float", "era_thickness_f", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 26, "era_thickness_f", "float", false, 88)] public float era_thickness_f; - [DNAFieldAttribute(27, "int", "flag", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 27, "flag", "int", false, 92)] public int flag; - [DNAFieldAttribute(28, "float", "gradient_f", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 28, "gradient_f", "float", false, 96)] public float gradient_f; - [DNAFieldAttribute(29, "float", "gradient_s[2]", "System.Single[]", 8, false, 100)] + [DNAFieldAttribute(8, "float", 29, "gradient_s[2]", "System.Single[]", false, 100)] public float[] gradient_s = new System.Single[2]; - [DNAFieldAttribute(30, "float", "simplify_f", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 30, "simplify_f", "float", false, 108)] public float simplify_f; - [DNAFieldAttribute(31, "float", "vertex_factor", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 31, "vertex_factor", "float", false, 112)] public float vertex_factor; - [DNAFieldAttribute(32, "int", "vertex_mode", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 32, "vertex_mode", "int", false, 116)] public int vertex_mode; - [DNAFieldAttribute(33, "int", "sculpt_flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 33, "sculpt_flag", "int", false, 120)] public int sculpt_flag; - [DNAFieldAttribute(34, "int", "sculpt_mode_flag", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 34, "sculpt_mode_flag", "int", false, 124)] public int sculpt_mode_flag; - [DNAFieldAttribute(35, "short", "preset_type", "short", 2, false, 128)] + [DNAFieldAttribute(2, "short", 35, "preset_type", "short", false, 128)] public short preset_type; - [DNAFieldAttribute(36, "short", "brush_draw_mode", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 36, "brush_draw_mode", "short", false, 130)] public short brush_draw_mode; - [DNAFieldAttribute(37, "float", "random_hue", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 37, "random_hue", "float", false, 132)] public float random_hue; - [DNAFieldAttribute(38, "float", "random_saturation", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 38, "random_saturation", "float", false, 136)] public float random_saturation; - [DNAFieldAttribute(39, "float", "random_value", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 39, "random_value", "float", false, 140)] public float random_value; - [DNAFieldAttribute(40, "float", "fill_extend_fac", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 40, "fill_extend_fac", "float", false, 144)] public float fill_extend_fac; - [DNAFieldAttribute(41, "int", "dilate_pixels", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 41, "dilate_pixels", "int", false, 148)] public int dilate_pixels; - [DNAFieldAttribute(42, "CurveMapping", "*curve_sensitivity", "CurveMapping", 8, true, 152)] - public CurveMapping ptr_curve_sensitivity; - [DNAFieldAttribute(43, "CurveMapping", "*curve_strength", "CurveMapping", 8, true, 160)] - public CurveMapping ptr_curve_strength; - [DNAFieldAttribute(44, "CurveMapping", "*curve_jitter", "CurveMapping", 8, true, 168)] - public CurveMapping ptr_curve_jitter; - [DNAFieldAttribute(45, "CurveMapping", "*curve_rand_pressure", "CurveMapping", 8, true, 176)] - public CurveMapping ptr_curve_rand_pressure; - [DNAFieldAttribute(46, "CurveMapping", "*curve_rand_strength", "CurveMapping", 8, true, 184)] - public CurveMapping ptr_curve_rand_strength; - [DNAFieldAttribute(47, "CurveMapping", "*curve_rand_uv", "CurveMapping", 8, true, 192)] - public CurveMapping ptr_curve_rand_uv; - [DNAFieldAttribute(48, "CurveMapping", "*curve_rand_hue", "CurveMapping", 8, true, 200)] - public CurveMapping ptr_curve_rand_hue; - [DNAFieldAttribute(49, "CurveMapping", "*curve_rand_saturation", "CurveMapping", 8, true, 208)] - public CurveMapping ptr_curve_rand_saturation; - [DNAFieldAttribute(50, "CurveMapping", "*curve_rand_value", "CurveMapping", 8, true, 216)] - public CurveMapping ptr_curve_rand_value; - [DNAFieldAttribute(51, "float", "outline_fac", "float", 4, false, 224)] + [DNAFieldAttribute(8, "CurveMapping", 42, "*curve_sensitivity", "CurveMapping", true, 152)] + public CurveMapping curve_sensitivity; + [DNAFieldAttribute(8, "CurveMapping", 43, "*curve_strength", "CurveMapping", true, 160)] + public CurveMapping curve_strength; + [DNAFieldAttribute(8, "CurveMapping", 44, "*curve_jitter", "CurveMapping", true, 168)] + public CurveMapping curve_jitter; + [DNAFieldAttribute(8, "CurveMapping", 45, "*curve_rand_pressure", "CurveMapping", true, 176)] + public CurveMapping curve_rand_pressure; + [DNAFieldAttribute(8, "CurveMapping", 46, "*curve_rand_strength", "CurveMapping", true, 184)] + public CurveMapping curve_rand_strength; + [DNAFieldAttribute(8, "CurveMapping", 47, "*curve_rand_uv", "CurveMapping", true, 192)] + public CurveMapping curve_rand_uv; + [DNAFieldAttribute(8, "CurveMapping", 48, "*curve_rand_hue", "CurveMapping", true, 200)] + public CurveMapping curve_rand_hue; + [DNAFieldAttribute(8, "CurveMapping", 49, "*curve_rand_saturation", "CurveMapping", true, 208)] + public CurveMapping curve_rand_saturation; + [DNAFieldAttribute(8, "CurveMapping", 50, "*curve_rand_value", "CurveMapping", true, 216)] + public CurveMapping curve_rand_value; + [DNAFieldAttribute(4, "float", 51, "outline_fac", "float", false, 224)] public float outline_fac; - [DNAFieldAttribute(52, "float", "simplify_px", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 52, "simplify_px", "float", false, 228)] public float simplify_px; - [DNAFieldAttribute(53, "Material", "*material", "Material", 8, true, 232)] - public Material ptr_material; - [DNAFieldAttribute(54, "Material", "*material_alt", "Material", 8, true, 240)] - public Material ptr_material_alt; + [DNAFieldAttribute(8, "Material", 53, "*material", "Material", true, 232)] + public Material material; + [DNAFieldAttribute(8, "Material", 54, "*material_alt", "Material", true, 240)] + public Material material_alt; public BrushGpencilSettings() { this.draw_smoothfac = default; this.fill_factor = default; @@ -168,19 +168,19 @@ namespace BlendFile.DNA { this.random_value = default; this.fill_extend_fac = default; this.dilate_pixels = default; - this.ptr_curve_sensitivity = default; - this.ptr_curve_strength = default; - this.ptr_curve_jitter = default; - this.ptr_curve_rand_pressure = default; - this.ptr_curve_rand_strength = default; - this.ptr_curve_rand_uv = default; - this.ptr_curve_rand_hue = default; - this.ptr_curve_rand_saturation = default; - this.ptr_curve_rand_value = default; + this.curve_sensitivity = default; + this.curve_strength = default; + this.curve_jitter = default; + this.curve_rand_pressure = default; + this.curve_rand_strength = default; + this.curve_rand_uv = default; + this.curve_rand_hue = default; + this.curve_rand_saturation = default; + this.curve_rand_value = default; this.outline_fac = default; this.simplify_px = default; - this.ptr_material = default; - this.ptr_material_alt = default; + this.material = default; + this.material_alt = default; } public BrushGpencilSettings( float draw_smoothfac, @@ -225,19 +225,19 @@ namespace BlendFile.DNA { float random_value, float fill_extend_fac, int dilate_pixels, - CurveMapping ptr_curve_sensitivity, - CurveMapping ptr_curve_strength, - CurveMapping ptr_curve_jitter, - CurveMapping ptr_curve_rand_pressure, - CurveMapping ptr_curve_rand_strength, - CurveMapping ptr_curve_rand_uv, - CurveMapping ptr_curve_rand_hue, - CurveMapping ptr_curve_rand_saturation, - CurveMapping ptr_curve_rand_value, + CurveMapping curve_sensitivity, + CurveMapping curve_strength, + CurveMapping curve_jitter, + CurveMapping curve_rand_pressure, + CurveMapping curve_rand_strength, + CurveMapping curve_rand_uv, + CurveMapping curve_rand_hue, + CurveMapping curve_rand_saturation, + CurveMapping curve_rand_value, float outline_fac, float simplify_px, - Material ptr_material, - Material ptr_material_alt) { + Material material, + Material material_alt) { this.draw_smoothfac = draw_smoothfac; this.fill_factor = fill_factor; this.draw_strength = draw_strength; @@ -280,19 +280,19 @@ namespace BlendFile.DNA { this.random_value = random_value; this.fill_extend_fac = fill_extend_fac; this.dilate_pixels = dilate_pixels; - this.ptr_curve_sensitivity = ptr_curve_sensitivity; - this.ptr_curve_strength = ptr_curve_strength; - this.ptr_curve_jitter = ptr_curve_jitter; - this.ptr_curve_rand_pressure = ptr_curve_rand_pressure; - this.ptr_curve_rand_strength = ptr_curve_rand_strength; - this.ptr_curve_rand_uv = ptr_curve_rand_uv; - this.ptr_curve_rand_hue = ptr_curve_rand_hue; - this.ptr_curve_rand_saturation = ptr_curve_rand_saturation; - this.ptr_curve_rand_value = ptr_curve_rand_value; + this.curve_sensitivity = curve_sensitivity; + this.curve_strength = curve_strength; + this.curve_jitter = curve_jitter; + this.curve_rand_pressure = curve_rand_pressure; + this.curve_rand_strength = curve_rand_strength; + this.curve_rand_uv = curve_rand_uv; + this.curve_rand_hue = curve_rand_hue; + this.curve_rand_saturation = curve_rand_saturation; + this.curve_rand_value = curve_rand_value; this.outline_fac = outline_fac; this.simplify_px = simplify_px; - this.ptr_material = ptr_material; - this.ptr_material_alt = ptr_material_alt; + this.material = material; + this.material_alt = material_alt; } } } diff --git a/BlendFile/DNA/BuildEff.cs b/BlendFile/DNA/BuildEff.cs index e6ebe8a..00653d6 100644 --- a/BlendFile/DNA/BuildEff.cs +++ b/BlendFile/DNA/BuildEff.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(235, "BuildEff", 32)] public class BuildEff { - [DNAFieldAttribute(0, "BuildEff", "*next", "BuildEff", 8, true, 0)] - public BuildEff ptr_next; - [DNAFieldAttribute(1, "BuildEff", "*prev", "BuildEff", 8, true, 8)] - public BuildEff ptr_prev; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "BuildEff", 0, "*next", "BuildEff", true, 0)] + public BuildEff next; + [DNAFieldAttribute(8, "BuildEff", 1, "*prev", "BuildEff", true, 8)] + public BuildEff prev; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(4, "short", "buttype", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)] public short buttype; - [DNAFieldAttribute(5, "char", "_pad0[2]", "System.Char[]", 2, false, 22)] + [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 22)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(6, "float", "len", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "len", "float", false, 24)] public float len; - [DNAFieldAttribute(7, "float", "sfra", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "sfra", "float", false, 28)] public float sfra; public BuildEff() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.flag = default; this.buttype = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { this.len = default; this.sfra = default; } - public BuildEff(BuildEff ptr_next, BuildEff ptr_prev, short type, short flag, short buttype, char[] _pad0, float len, float sfra) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public BuildEff(BuildEff next, BuildEff prev, short type, short flag, short buttype, char[] _pad0, float len, float sfra) { + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.buttype = buttype; diff --git a/BlendFile/DNA/BuildGpencilModifierData.cs b/BlendFile/DNA/BuildGpencilModifierData.cs index bae534a..45a39ea 100644 --- a/BlendFile/DNA/BuildGpencilModifierData.cs +++ b/BlendFile/DNA/BuildGpencilModifierData.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(285, "BuildGpencilModifierData", 376)] public class BuildGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "int", "pass_index", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)] public int pass_index; - [DNAFieldAttribute(4, "char", "materialname[64]", "System.Char[]", 64, false, 180)] + [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 180)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "layer_pass", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 5, "layer_pass", "int", false, 244)] public int layer_pass; - [DNAFieldAttribute(6, "float", "start_frame", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 6, "start_frame", "float", false, 248)] public float start_frame; - [DNAFieldAttribute(7, "float", "end_frame", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 7, "end_frame", "float", false, 252)] public float end_frame; - [DNAFieldAttribute(8, "float", "start_delay", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 8, "start_delay", "float", false, 256)] public float start_delay; - [DNAFieldAttribute(9, "float", "length", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 9, "length", "float", false, 260)] public float length; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 264)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 264)] public short flag; - [DNAFieldAttribute(11, "short", "mode", "short", 2, false, 266)] + [DNAFieldAttribute(2, "short", 11, "mode", "short", false, 266)] public short mode; - [DNAFieldAttribute(12, "short", "transition", "short", 2, false, 268)] + [DNAFieldAttribute(2, "short", 12, "transition", "short", false, 268)] public short transition; - [DNAFieldAttribute(13, "short", "time_alignment", "short", 2, false, 270)] + [DNAFieldAttribute(2, "short", 13, "time_alignment", "short", false, 270)] public short time_alignment; - [DNAFieldAttribute(14, "float", "speed_fac", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 14, "speed_fac", "float", false, 272)] public float speed_fac; - [DNAFieldAttribute(15, "float", "speed_maxgap", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 15, "speed_maxgap", "float", false, 276)] public float speed_maxgap; - [DNAFieldAttribute(16, "short", "time_mode", "short", 2, false, 280)] + [DNAFieldAttribute(2, "short", 16, "time_mode", "short", false, 280)] public short time_mode; - [DNAFieldAttribute(17, "char", "_pad[6]", "System.Char[]", 6, false, 282)] + [DNAFieldAttribute(6, "char", 17, "_pad[6]", "System.Char[]", false, 282)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(18, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(19, "float", "percentage_fac", "float", 4, false, 296)] + [DNAFieldAttribute(8, "Object", 18, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(4, "float", 19, "percentage_fac", "float", false, 296)] public float percentage_fac; - [DNAFieldAttribute(20, "float", "fade_fac", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 20, "fade_fac", "float", false, 300)] public float fade_fac; - [DNAFieldAttribute(21, "char", "target_vgname[64]", "System.Char[]", 64, false, 304)] + [DNAFieldAttribute(64, "char", 21, "target_vgname[64]", "System.Char[]", false, 304)] public char[] target_vgname = new System.Char[64]; - [DNAFieldAttribute(22, "float", "fade_opacity_strength", "float", 4, false, 368)] + [DNAFieldAttribute(4, "float", 22, "fade_opacity_strength", "float", false, 368)] public float fade_opacity_strength; - [DNAFieldAttribute(23, "float", "fade_thickness_strength", "float", 4, false, 372)] + [DNAFieldAttribute(4, "float", 23, "fade_thickness_strength", "float", false, 372)] public float fade_thickness_strength; public BuildGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.pass_index = default; this.materialname = default; @@ -82,7 +82,7 @@ namespace BlendFile.DNA { this.speed_maxgap = default; this.time_mode = default; this._pad = default; - this.ptr_object = default; + this.@object = default; this.percentage_fac = default; this.fade_fac = default; this.target_vgname = default; @@ -91,7 +91,7 @@ namespace BlendFile.DNA { } public BuildGpencilModifierData( GpencilModifierData modifier, - Material ptr_material, + Material material, char[] layername, int pass_index, char[] materialname, @@ -108,14 +108,14 @@ namespace BlendFile.DNA { float speed_maxgap, short time_mode, char[] _pad, - Object ptr_object, + Object @object, float percentage_fac, float fade_fac, char[] target_vgname, float fade_opacity_strength, float fade_thickness_strength) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.pass_index = pass_index; this.materialname = materialname; @@ -132,7 +132,7 @@ namespace BlendFile.DNA { this.speed_maxgap = speed_maxgap; this.time_mode = time_mode; this._pad = _pad; - this.ptr_object = ptr_object; + this.@object = @object; this.percentage_fac = percentage_fac; this.fade_fac = fade_fac; this.target_vgname = target_vgname; diff --git a/BlendFile/DNA/BuildModifierData.cs b/BlendFile/DNA/BuildModifierData.cs index add789d..9906a0d 100644 --- a/BlendFile/DNA/BuildModifierData.cs +++ b/BlendFile/DNA/BuildModifierData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(449, "BuildModifierData", 136)] - public struct BuildModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class BuildModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "start", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "start", "float", false, 120)] public float start; - [DNAFieldAttribute(2, "float", "length", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 2, "length", "float", false, 124)] public float length; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 128)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 128)] public short flag; - [DNAFieldAttribute(4, "short", "randomize", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 4, "randomize", "short", false, 130)] public short randomize; - [DNAFieldAttribute(5, "int", "seed", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 5, "seed", "int", false, 132)] public int seed; public BuildModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/CBData.cs b/BlendFile/DNA/CBData.cs index dbd26c2..e524872 100644 --- a/BlendFile/DNA/CBData.cs +++ b/BlendFile/DNA/CBData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(974, "CBData", 24)] - public struct CBData { - [DNAFieldAttribute(0, "float", "r", "float", 4, false, 0)] + public class CBData { + [DNAFieldAttribute(4, "float", 0, "r", "float", false, 0)] public float r; - [DNAFieldAttribute(1, "float", "g", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "g", "float", false, 4)] public float g; - [DNAFieldAttribute(2, "float", "b", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "b", "float", false, 8)] public float b; - [DNAFieldAttribute(3, "float", "a", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "a", "float", false, 12)] public float a; - [DNAFieldAttribute(4, "float", "pos", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "pos", "float", false, 16)] public float pos; - [DNAFieldAttribute(5, "int", "cur", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "cur", "int", false, 20)] public int cur; public CBData() { this.r = default; diff --git a/BlendFile/DNA/CacheFile.cs b/BlendFile/DNA/CacheFile.cs index e64067f..a7816ed 100644 --- a/BlendFile/DNA/CacheFile.cs +++ b/BlendFile/DNA/CacheFile.cs @@ -15,61 +15,61 @@ namespace BlendFile.DNA { [DNAClassAttribute(142, "CacheFile", 2416)] public class CacheFile { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "ListBase", "object_paths", "ListBase", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "ListBase", 2, "object_paths", "ListBase", false, 216)] public ListBase object_paths; - [DNAFieldAttribute(3, "ListBase", "layers", "ListBase", 16, false, 232)] + [DNAFieldAttribute(16, "ListBase", 3, "layers", "ListBase", false, 232)] public ListBase layers; - [DNAFieldAttribute(4, "char", "filepath[1024]", "System.Char[]", 1024, false, 248)] + [DNAFieldAttribute(1024, "char", 4, "filepath[1024]", "System.Char[]", false, 248)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(5, "char", "is_sequence", "char", 1, false, 1272)] + [DNAFieldAttribute(1, "char", 5, "is_sequence", "char", false, 1272)] public char is_sequence; - [DNAFieldAttribute(6, "char", "forward_axis", "char", 1, false, 1273)] + [DNAFieldAttribute(1, "char", 6, "forward_axis", "char", false, 1273)] public char forward_axis; - [DNAFieldAttribute(7, "char", "up_axis", "char", 1, false, 1274)] + [DNAFieldAttribute(1, "char", 7, "up_axis", "char", false, 1274)] public char up_axis; - [DNAFieldAttribute(8, "char", "override_frame", "char", 1, false, 1275)] + [DNAFieldAttribute(1, "char", 8, "override_frame", "char", false, 1275)] public char override_frame; - [DNAFieldAttribute(9, "float", "scale", "float", 4, false, 1276)] + [DNAFieldAttribute(4, "float", 9, "scale", "float", false, 1276)] public float scale; - [DNAFieldAttribute(10, "float", "frame", "float", 4, false, 1280)] + [DNAFieldAttribute(4, "float", 10, "frame", "float", false, 1280)] public float frame; - [DNAFieldAttribute(11, "float", "frame_offset", "float", 4, false, 1284)] + [DNAFieldAttribute(4, "float", 11, "frame_offset", "float", false, 1284)] public float frame_offset; - [DNAFieldAttribute(12, "char", "_pad[4]", "System.Char[]", 4, false, 1288)] + [DNAFieldAttribute(4, "char", 12, "_pad[4]", "System.Char[]", false, 1288)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(13, "short", "flag", "short", 2, false, 1292)] + [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 1292)] public short flag; - [DNAFieldAttribute(14, "char", "type", "char", 1, false, 1294)] + [DNAFieldAttribute(1, "char", 14, "type", "char", false, 1294)] public char type; - [DNAFieldAttribute(15, "char", "use_render_procedural", "char", 1, false, 1295)] + [DNAFieldAttribute(1, "char", 15, "use_render_procedural", "char", false, 1295)] public char use_render_procedural; - [DNAFieldAttribute(16, "char", "_pad1[3]", "System.Char[]", 3, false, 1296)] + [DNAFieldAttribute(3, "char", 16, "_pad1[3]", "System.Char[]", false, 1296)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(17, "char", "use_prefetch", "char", 1, false, 1299)] + [DNAFieldAttribute(1, "char", 17, "use_prefetch", "char", false, 1299)] public char use_prefetch; - [DNAFieldAttribute(18, "int", "prefetch_cache_size", "int", 4, false, 1300)] + [DNAFieldAttribute(4, "int", 18, "prefetch_cache_size", "int", false, 1300)] public int prefetch_cache_size; - [DNAFieldAttribute(19, "int", "active_layer", "int", 4, false, 1304)] + [DNAFieldAttribute(4, "int", 19, "active_layer", "int", false, 1304)] public int active_layer; - [DNAFieldAttribute(20, "char", "_pad2[3]", "System.Char[]", 3, false, 1308)] + [DNAFieldAttribute(3, "char", 20, "_pad2[3]", "System.Char[]", false, 1308)] public char[] _pad2 = new System.Char[3]; - [DNAFieldAttribute(21, "char", "velocity_unit", "char", 1, false, 1311)] + [DNAFieldAttribute(1, "char", 21, "velocity_unit", "char", false, 1311)] public char velocity_unit; - [DNAFieldAttribute(22, "char", "velocity_name[64]", "System.Char[]", 64, false, 1312)] + [DNAFieldAttribute(64, "char", 22, "velocity_name[64]", "System.Char[]", false, 1312)] public char[] velocity_name = new System.Char[64]; - [DNAFieldAttribute(23, "CacheArchiveHandle", "*handle", "CacheArchiveHandle", 8, true, 1376)] - public CacheArchiveHandle ptr_handle; - [DNAFieldAttribute(24, "char", "handle_filepath[1024]", "System.Char[]", 1024, false, 1384)] + [DNAFieldAttribute(8, "CacheArchiveHandle", 23, "*handle", "CacheArchiveHandle", true, 1376)] + public CacheArchiveHandle handle; + [DNAFieldAttribute(1024, "char", 24, "handle_filepath[1024]", "System.Char[]", false, 1384)] public char[] handle_filepath = new System.Char[1024]; - [DNAFieldAttribute(25, "GSet", "*handle_readers", "GSet", 8, true, 2408)] - public GSet ptr_handle_readers; + [DNAFieldAttribute(8, "GSet", 25, "*handle_readers", "GSet", true, 2408)] + public GSet handle_readers; public CacheFile() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.object_paths = default; this.layers = default; this.filepath = default; @@ -91,13 +91,13 @@ namespace BlendFile.DNA { this._pad2 = default; this.velocity_unit = default; this.velocity_name = default; - this.ptr_handle = default; + this.handle = default; this.handle_filepath = default; - this.ptr_handle_readers = default; + this.handle_readers = default; } public CacheFile( ID id, - AnimData ptr_adt, + AnimData adt, ListBase object_paths, ListBase layers, char[] filepath, @@ -119,11 +119,11 @@ namespace BlendFile.DNA { char[] _pad2, char velocity_unit, char[] velocity_name, - CacheArchiveHandle ptr_handle, + CacheArchiveHandle handle, char[] handle_filepath, - GSet ptr_handle_readers) { + GSet handle_readers) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.object_paths = object_paths; this.layers = layers; this.filepath = filepath; @@ -145,9 +145,9 @@ namespace BlendFile.DNA { this._pad2 = _pad2; this.velocity_unit = velocity_unit; this.velocity_name = velocity_name; - this.ptr_handle = ptr_handle; + this.handle = handle; this.handle_filepath = handle_filepath; - this.ptr_handle_readers = ptr_handle_readers; + this.handle_readers = handle_readers; } } } diff --git a/BlendFile/DNA/CacheFileLayer.cs b/BlendFile/DNA/CacheFileLayer.cs index f2e53f2..f85d878 100644 --- a/BlendFile/DNA/CacheFileLayer.cs +++ b/BlendFile/DNA/CacheFileLayer.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(141, "CacheFileLayer", 1048)] public class CacheFileLayer { - [DNAFieldAttribute(0, "CacheFileLayer", "*next", "CacheFileLayer", 8, true, 0)] - public CacheFileLayer ptr_next; - [DNAFieldAttribute(1, "CacheFileLayer", "*prev", "CacheFileLayer", 8, true, 8)] - public CacheFileLayer ptr_prev; - [DNAFieldAttribute(2, "char", "filepath[1024]", "System.Char[]", 1024, false, 16)] + [DNAFieldAttribute(8, "CacheFileLayer", 0, "*next", "CacheFileLayer", true, 0)] + public CacheFileLayer next; + [DNAFieldAttribute(8, "CacheFileLayer", 1, "*prev", "CacheFileLayer", true, 8)] + public CacheFileLayer prev; + [DNAFieldAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", false, 16)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 1040)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 1040)] public int flag; - [DNAFieldAttribute(4, "int", "_pad", "int", 4, false, 1044)] + [DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 1044)] public int _pad; public CacheFileLayer() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.filepath = default; this.flag = default; this._pad = default; } - public CacheFileLayer(CacheFileLayer ptr_next, CacheFileLayer ptr_prev, char[] filepath, int flag, int _pad) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public CacheFileLayer(CacheFileLayer next, CacheFileLayer prev, char[] filepath, int flag, int _pad) { + this.next = next; + this.prev = prev; this.filepath = filepath; this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/CacheObjectPath.cs b/BlendFile/DNA/CacheObjectPath.cs index c0f48bd..9303de2 100644 --- a/BlendFile/DNA/CacheObjectPath.cs +++ b/BlendFile/DNA/CacheObjectPath.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(140, "CacheObjectPath", 4112)] public class CacheObjectPath { - [DNAFieldAttribute(0, "CacheObjectPath", "*next", "CacheObjectPath", 8, true, 0)] - public CacheObjectPath ptr_next; - [DNAFieldAttribute(1, "CacheObjectPath", "*prev", "CacheObjectPath", 8, true, 8)] - public CacheObjectPath ptr_prev; - [DNAFieldAttribute(2, "char", "path[4096]", "System.Char[]", 4096, false, 16)] + [DNAFieldAttribute(8, "CacheObjectPath", 0, "*next", "CacheObjectPath", true, 0)] + public CacheObjectPath next; + [DNAFieldAttribute(8, "CacheObjectPath", 1, "*prev", "CacheObjectPath", true, 8)] + public CacheObjectPath prev; + [DNAFieldAttribute(4096, "char", 2, "path[4096]", "System.Char[]", false, 16)] public char[] path = new System.Char[4096]; public CacheObjectPath() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.path = default; } - public CacheObjectPath(CacheObjectPath ptr_next, CacheObjectPath ptr_prev, char[] path) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public CacheObjectPath(CacheObjectPath next, CacheObjectPath prev, char[] path) { + this.next = next; + this.prev = prev; this.path = path; } } diff --git a/BlendFile/DNA/Camera.cs b/BlendFile/DNA/Camera.cs index ede8e33..a6e4530 100644 --- a/BlendFile/DNA/Camera.cs +++ b/BlendFile/DNA/Camera.cs @@ -15,95 +15,95 @@ namespace BlendFile.DNA { [DNAClassAttribute(152, "Camera", 736)] public class Camera { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "char", "type", "char", 1, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(1, "char", 2, "type", "char", false, 216)] public char type; - [DNAFieldAttribute(3, "char", "dtx", "char", 1, false, 217)] + [DNAFieldAttribute(1, "char", 3, "dtx", "char", false, 217)] public char dtx; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 218)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 218)] public short flag; - [DNAFieldAttribute(5, "float", "passepartalpha", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 5, "passepartalpha", "float", false, 220)] public float passepartalpha; - [DNAFieldAttribute(6, "float", "clipsta", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 6, "clipsta", "float", false, 224)] public float clipsta; - [DNAFieldAttribute(7, "float", "clipend", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 7, "clipend", "float", false, 228)] public float clipend; - [DNAFieldAttribute(8, "float", "lens", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 8, "lens", "float", false, 232)] public float lens; - [DNAFieldAttribute(9, "float", "ortho_scale", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 9, "ortho_scale", "float", false, 236)] public float ortho_scale; - [DNAFieldAttribute(10, "float", "drawsize", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 10, "drawsize", "float", false, 240)] public float drawsize; - [DNAFieldAttribute(11, "float", "sensor_x", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 11, "sensor_x", "float", false, 244)] public float sensor_x; - [DNAFieldAttribute(12, "float", "sensor_y", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 12, "sensor_y", "float", false, 248)] public float sensor_y; - [DNAFieldAttribute(13, "float", "shiftx", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 13, "shiftx", "float", false, 252)] public float shiftx; - [DNAFieldAttribute(14, "float", "shifty", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 14, "shifty", "float", false, 256)] public float shifty; - [DNAFieldAttribute(15, "float", "YF_dofdist", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 15, "YF_dofdist", "float", false, 260)] public float YF_dofdist; - [DNAFieldAttribute(16, "char", "sensor_fit", "char", 1, false, 264)] + [DNAFieldAttribute(1, "char", 16, "sensor_fit", "char", false, 264)] public char sensor_fit; - [DNAFieldAttribute(17, "char", "panorama_type", "char", 1, false, 265)] + [DNAFieldAttribute(1, "char", 17, "panorama_type", "char", false, 265)] public char panorama_type; - [DNAFieldAttribute(18, "char", "_pad[2]", "System.Char[]", 2, false, 266)] + [DNAFieldAttribute(2, "char", 18, "_pad[2]", "System.Char[]", false, 266)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(19, "float", "fisheye_fov", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 19, "fisheye_fov", "float", false, 268)] public float fisheye_fov; - [DNAFieldAttribute(20, "float", "fisheye_lens", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 20, "fisheye_lens", "float", false, 272)] public float fisheye_lens; - [DNAFieldAttribute(21, "float", "latitude_min", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 21, "latitude_min", "float", false, 276)] public float latitude_min; - [DNAFieldAttribute(22, "float", "latitude_max", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 22, "latitude_max", "float", false, 280)] public float latitude_max; - [DNAFieldAttribute(23, "float", "longitude_min", "float", 4, false, 284)] + [DNAFieldAttribute(4, "float", 23, "longitude_min", "float", false, 284)] public float longitude_min; - [DNAFieldAttribute(24, "float", "longitude_max", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 24, "longitude_max", "float", false, 288)] public float longitude_max; - [DNAFieldAttribute(25, "float", "fisheye_polynomial_k0", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 25, "fisheye_polynomial_k0", "float", false, 292)] public float fisheye_polynomial_k0; - [DNAFieldAttribute(26, "float", "fisheye_polynomial_k1", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 26, "fisheye_polynomial_k1", "float", false, 296)] public float fisheye_polynomial_k1; - [DNAFieldAttribute(27, "float", "fisheye_polynomial_k2", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 27, "fisheye_polynomial_k2", "float", false, 300)] public float fisheye_polynomial_k2; - [DNAFieldAttribute(28, "float", "fisheye_polynomial_k3", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 28, "fisheye_polynomial_k3", "float", false, 304)] public float fisheye_polynomial_k3; - [DNAFieldAttribute(29, "float", "fisheye_polynomial_k4", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 29, "fisheye_polynomial_k4", "float", false, 308)] public float fisheye_polynomial_k4; - [DNAFieldAttribute(30, "float", "central_cylindrical_range_u_min", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 30, "central_cylindrical_range_u_min", "float", false, 312)] public float central_cylindrical_range_u_min; - [DNAFieldAttribute(31, "float", "central_cylindrical_range_u_max", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 31, "central_cylindrical_range_u_max", "float", false, 316)] public float central_cylindrical_range_u_max; - [DNAFieldAttribute(32, "float", "central_cylindrical_range_v_min", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 32, "central_cylindrical_range_v_min", "float", false, 320)] public float central_cylindrical_range_v_min; - [DNAFieldAttribute(33, "float", "central_cylindrical_range_v_max", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 33, "central_cylindrical_range_v_max", "float", false, 324)] public float central_cylindrical_range_v_max; - [DNAFieldAttribute(34, "float", "central_cylindrical_radius", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 34, "central_cylindrical_radius", "float", false, 328)] public float central_cylindrical_radius; - [DNAFieldAttribute(35, "float", "_pad2", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 35, "_pad2", "float", false, 332)] public float _pad2; - [DNAFieldAttribute(36, "Ipo", "*ipo", "Ipo", 8, true, 336)] - public Ipo ptr_ipo; - [DNAFieldAttribute(37, "Object", "*dof_ob", "Object", 8, true, 344)] - public Object ptr_dof_ob; - [DNAFieldAttribute(38, "GPUDOFSettings", "gpu_dof", "GPUDOFSettings", 32, false, 352)] + [DNAFieldAttribute(8, "Ipo", 36, "*ipo", "Ipo", true, 336)] + public Ipo ipo; + [DNAFieldAttribute(8, "Object", 37, "*dof_ob", "Object", true, 344)] + public Object dof_ob; + [DNAFieldAttribute(32, "GPUDOFSettings", 38, "gpu_dof", "GPUDOFSettings", false, 352)] public GPUDOFSettings gpu_dof; - [DNAFieldAttribute(39, "CameraDOFSettings", "dof", "CameraDOFSettings", 96, false, 384)] + [DNAFieldAttribute(96, "CameraDOFSettings", 39, "dof", "CameraDOFSettings", false, 384)] public CameraDOFSettings dof; - [DNAFieldAttribute(40, "ListBase", "bg_images", "ListBase", 16, false, 480)] + [DNAFieldAttribute(16, "ListBase", 40, "bg_images", "ListBase", false, 480)] public ListBase bg_images; - [DNAFieldAttribute(41, "CameraStereoSettings", "stereo", "CameraStereoSettings", 24, false, 496)] + [DNAFieldAttribute(24, "CameraStereoSettings", 41, "stereo", "CameraStereoSettings", false, 496)] public CameraStereoSettings stereo; - [DNAFieldAttribute(42, "Camera_Runtime", "runtime", "Camera_Runtime", 216, false, 520)] + [DNAFieldAttribute(216, "Camera_Runtime", 42, "runtime", "Camera_Runtime", false, 520)] public Camera_Runtime runtime; public Camera() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.type = default; this.dtx = default; this.flag = default; @@ -138,8 +138,8 @@ namespace BlendFile.DNA { this.central_cylindrical_range_v_max = default; this.central_cylindrical_radius = default; this._pad2 = default; - this.ptr_ipo = default; - this.ptr_dof_ob = default; + this.ipo = default; + this.dof_ob = default; this.gpu_dof = default; this.dof = default; this.bg_images = default; @@ -148,7 +148,7 @@ namespace BlendFile.DNA { } public Camera( ID id, - AnimData ptr_adt, + AnimData adt, char type, char dtx, short flag, @@ -183,15 +183,15 @@ namespace BlendFile.DNA { float central_cylindrical_range_v_max, float central_cylindrical_radius, float _pad2, - Ipo ptr_ipo, - Object ptr_dof_ob, + Ipo ipo, + Object dof_ob, GPUDOFSettings gpu_dof, CameraDOFSettings dof, ListBase bg_images, CameraStereoSettings stereo, Camera_Runtime runtime) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.type = type; this.dtx = dtx; this.flag = flag; @@ -226,8 +226,8 @@ namespace BlendFile.DNA { this.central_cylindrical_range_v_max = central_cylindrical_range_v_max; this.central_cylindrical_radius = central_cylindrical_radius; this._pad2 = _pad2; - this.ptr_ipo = ptr_ipo; - this.ptr_dof_ob = ptr_dof_ob; + this.ipo = ipo; + this.dof_ob = dof_ob; this.gpu_dof = gpu_dof; this.dof = dof; this.bg_images = bg_images; diff --git a/BlendFile/DNA/CameraBGImage.cs b/BlendFile/DNA/CameraBGImage.cs index bdc2bcf..7ce6f04 100644 --- a/BlendFile/DNA/CameraBGImage.cs +++ b/BlendFile/DNA/CameraBGImage.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(146, "CameraBGImage", 104)] public class CameraBGImage { - [DNAFieldAttribute(0, "CameraBGImage", "*next", "CameraBGImage", 8, true, 0)] - public CameraBGImage ptr_next; - [DNAFieldAttribute(1, "CameraBGImage", "*prev", "CameraBGImage", 8, true, 8)] - public CameraBGImage ptr_prev; - [DNAFieldAttribute(2, "Image", "*ima", "Image", 8, true, 16)] - public Image ptr_ima; - [DNAFieldAttribute(3, "ImageUser", "iuser", "ImageUser", 40, false, 24)] + [DNAFieldAttribute(8, "CameraBGImage", 0, "*next", "CameraBGImage", true, 0)] + public CameraBGImage next; + [DNAFieldAttribute(8, "CameraBGImage", 1, "*prev", "CameraBGImage", true, 8)] + public CameraBGImage prev; + [DNAFieldAttribute(8, "Image", 2, "*ima", "Image", true, 16)] + public Image ima; + [DNAFieldAttribute(40, "ImageUser", 3, "iuser", "ImageUser", false, 24)] public ImageUser iuser; - [DNAFieldAttribute(4, "MovieClip", "*clip", "MovieClip", 8, true, 64)] - public MovieClip ptr_clip; - [DNAFieldAttribute(5, "MovieClipUser", "cuser", "MovieClipUser", 8, false, 72)] + [DNAFieldAttribute(8, "MovieClip", 4, "*clip", "MovieClip", true, 64)] + public MovieClip clip; + [DNAFieldAttribute(8, "MovieClipUser", 5, "cuser", "MovieClipUser", false, 72)] public MovieClipUser cuser; - [DNAFieldAttribute(6, "float", "offset[2]", "System.Single[]", 8, false, 80)] + [DNAFieldAttribute(8, "float", 6, "offset[2]", "System.Single[]", false, 80)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(7, "float", "scale", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 7, "scale", "float", false, 88)] public float scale; - [DNAFieldAttribute(8, "float", "rotation", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 8, "rotation", "float", false, 92)] public float rotation; - [DNAFieldAttribute(9, "float", "alpha", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 9, "alpha", "float", false, 96)] public float alpha; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 100)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 100)] public short flag; - [DNAFieldAttribute(11, "short", "source", "short", 2, false, 102)] + [DNAFieldAttribute(2, "short", 11, "source", "short", false, 102)] public short source; public CameraBGImage() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_ima = default; + this.next = default; + this.prev = default; + this.ima = default; this.iuser = default; - this.ptr_clip = default; + this.clip = default; this.cuser = default; this.offset = default; this.scale = default; @@ -53,12 +53,12 @@ namespace BlendFile.DNA { this.flag = default; this.source = default; } - public CameraBGImage(CameraBGImage ptr_next, CameraBGImage ptr_prev, Image ptr_ima, ImageUser iuser, MovieClip ptr_clip, MovieClipUser cuser, float[] offset, float scale, float rotation, float alpha, short flag, short source) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_ima = ptr_ima; + public CameraBGImage(CameraBGImage next, CameraBGImage prev, Image ima, ImageUser iuser, MovieClip clip, MovieClipUser cuser, float[] offset, float scale, float rotation, float alpha, short flag, short source) { + this.next = next; + this.prev = prev; + this.ima = ima; this.iuser = iuser; - this.ptr_clip = ptr_clip; + this.clip = clip; this.cuser = cuser; this.offset = offset; this.scale = scale; diff --git a/BlendFile/DNA/CameraDOFSettings.cs b/BlendFile/DNA/CameraDOFSettings.cs index 7674eed..9199662 100644 --- a/BlendFile/DNA/CameraDOFSettings.cs +++ b/BlendFile/DNA/CameraDOFSettings.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(150, "CameraDOFSettings", 96)] public class CameraDOFSettings { - [DNAFieldAttribute(0, "Object", "*focus_object", "Object", 8, true, 0)] - public Object ptr_focus_object; - [DNAFieldAttribute(1, "char", "focus_subtarget[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*focus_object", "Object", true, 0)] + public Object focus_object; + [DNAFieldAttribute(64, "char", 1, "focus_subtarget[64]", "System.Char[]", false, 8)] public char[] focus_subtarget = new System.Char[64]; - [DNAFieldAttribute(2, "float", "focus_distance", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 2, "focus_distance", "float", false, 72)] public float focus_distance; - [DNAFieldAttribute(3, "float", "aperture_fstop", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 3, "aperture_fstop", "float", false, 76)] public float aperture_fstop; - [DNAFieldAttribute(4, "float", "aperture_rotation", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 4, "aperture_rotation", "float", false, 80)] public float aperture_rotation; - [DNAFieldAttribute(5, "float", "aperture_ratio", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 5, "aperture_ratio", "float", false, 84)] public float aperture_ratio; - [DNAFieldAttribute(6, "int", "aperture_blades", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 6, "aperture_blades", "int", false, 88)] public int aperture_blades; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 92)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 92)] public short flag; - [DNAFieldAttribute(8, "char", "_pad[2]", "System.Char[]", 2, false, 94)] + [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 94)] public char[] _pad = new System.Char[2]; public CameraDOFSettings() { - this.ptr_focus_object = default; + this.focus_object = default; this.focus_subtarget = default; this.focus_distance = default; this.aperture_fstop = default; @@ -44,8 +44,8 @@ namespace BlendFile.DNA { this.flag = default; this._pad = default; } - public CameraDOFSettings(Object ptr_focus_object, char[] focus_subtarget, float focus_distance, float aperture_fstop, float aperture_rotation, float aperture_ratio, int aperture_blades, short flag, char[] _pad) { - this.ptr_focus_object = ptr_focus_object; + public CameraDOFSettings(Object focus_object, char[] focus_subtarget, float focus_distance, float aperture_fstop, float aperture_rotation, float aperture_ratio, int aperture_blades, short flag, char[] _pad) { + this.focus_object = focus_object; this.focus_subtarget = focus_subtarget; this.focus_distance = focus_distance; this.aperture_fstop = aperture_fstop; diff --git a/BlendFile/DNA/CameraStereoSettings.cs b/BlendFile/DNA/CameraStereoSettings.cs index d153e25..c518c9c 100644 --- a/BlendFile/DNA/CameraStereoSettings.cs +++ b/BlendFile/DNA/CameraStereoSettings.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(145, "CameraStereoSettings", 24)] - public struct CameraStereoSettings { - [DNAFieldAttribute(0, "float", "interocular_distance", "float", 4, false, 0)] + public class CameraStereoSettings { + [DNAFieldAttribute(4, "float", 0, "interocular_distance", "float", false, 0)] public float interocular_distance; - [DNAFieldAttribute(1, "float", "convergence_distance", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "convergence_distance", "float", false, 4)] public float convergence_distance; - [DNAFieldAttribute(2, "short", "convergence_mode", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "convergence_mode", "short", false, 8)] public short convergence_mode; - [DNAFieldAttribute(3, "short", "pivot", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 3, "pivot", "short", false, 10)] public short pivot; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 12)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 14)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(6, "float", "pole_merge_angle_from", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 6, "pole_merge_angle_from", "float", false, 16)] public float pole_merge_angle_from; - [DNAFieldAttribute(7, "float", "pole_merge_angle_to", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 7, "pole_merge_angle_to", "float", false, 20)] public float pole_merge_angle_to; public CameraStereoSettings() { this.interocular_distance = default; diff --git a/BlendFile/DNA/Camera_Runtime.cs b/BlendFile/DNA/Camera_Runtime.cs index 4b33632..2fef604 100644 --- a/BlendFile/DNA/Camera_Runtime.cs +++ b/BlendFile/DNA/Camera_Runtime.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(151, "Camera_Runtime", 216)] - public struct Camera_Runtime { - [DNAFieldAttribute(0, "float", "drw_corners[2][4][2]", "System.Single[,,]", 64, false, 0)] + public class Camera_Runtime { + [DNAFieldAttribute(64, "float", 0, "drw_corners[2][4][2]", "System.Single[,,]", false, 0)] public float[,,] drw_corners = new System.Single[2,4,2]; - [DNAFieldAttribute(1, "float", "drw_tria[2][2]", "System.Single[,]", 16, false, 64)] + [DNAFieldAttribute(16, "float", 1, "drw_tria[2][2]", "System.Single[,]", false, 64)] public float[,] drw_tria = new System.Single[2,2]; - [DNAFieldAttribute(2, "float", "drw_depth[2]", "System.Single[]", 8, false, 80)] + [DNAFieldAttribute(8, "float", 2, "drw_depth[2]", "System.Single[]", false, 80)] public float[] drw_depth = new System.Single[2]; - [DNAFieldAttribute(3, "float", "drw_focusmat[4][4]", "System.Single[,]", 64, false, 88)] + [DNAFieldAttribute(64, "float", 3, "drw_focusmat[4][4]", "System.Single[,]", false, 88)] public float[,] drw_focusmat = new System.Single[4,4]; - [DNAFieldAttribute(4, "float", "drw_normalmat[4][4]", "System.Single[,]", 64, false, 152)] + [DNAFieldAttribute(64, "float", 4, "drw_normalmat[4][4]", "System.Single[,]", false, 152)] public float[,] drw_normalmat = new System.Single[4,4]; public Camera_Runtime() { this.drw_corners = default; diff --git a/BlendFile/DNA/CastModifierData.cs b/BlendFile/DNA/CastModifierData.cs index 021c3c8..a3f866f 100644 --- a/BlendFile/DNA/CastModifierData.cs +++ b/BlendFile/DNA/CastModifierData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(459, "CastModifierData", 216)] public class CastModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "float", "fac", "float", 4, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(4, "float", 2, "fac", "float", false, 128)] public float fac; - [DNAFieldAttribute(3, "float", "radius", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 3, "radius", "float", false, 132)] public float radius; - [DNAFieldAttribute(4, "float", "size", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 4, "size", "float", false, 136)] public float size; - [DNAFieldAttribute(5, "char", "defgrp_name[64]", "System.Char[]", 64, false, 140)] + [DNAFieldAttribute(64, "char", 5, "defgrp_name[64]", "System.Char[]", false, 140)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 204)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 204)] public short flag; - [DNAFieldAttribute(7, "short", "type", "short", 2, false, 206)] + [DNAFieldAttribute(2, "short", 7, "type", "short", false, 206)] public short type; - [DNAFieldAttribute(8, "void", "*_pad1", "void", 8, true, 208)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 8, "*_pad1", "void", true, 208)] + public object _pad1; public CastModifierData() { this.modifier = default; - this.ptr_object = default; + this.@object = default; this.fac = default; this.radius = default; this.size = default; this.defgrp_name = default; this.flag = default; this.type = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public CastModifierData(ModifierData modifier, Object ptr_object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object ptr__pad1) { + public CastModifierData(ModifierData modifier, Object @object, float fac, float radius, float size, char[] defgrp_name, short flag, short type, object _pad1) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.fac = fac; this.radius = radius; this.size = size; this.defgrp_name = defgrp_name; this.flag = flag; this.type = type; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/ChannelDriver.cs b/BlendFile/DNA/ChannelDriver.cs index f0f8164..823aab4 100644 --- a/BlendFile/DNA/ChannelDriver.cs +++ b/BlendFile/DNA/ChannelDriver.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(92, "ChannelDriver", 304)] public class ChannelDriver { - [DNAFieldAttribute(0, "ListBase", "variables", "ListBase", 16, false, 0)] + [DNAFieldAttribute(16, "ListBase", 0, "variables", "ListBase", false, 0)] public ListBase variables; - [DNAFieldAttribute(1, "char", "expression[256]", "System.Char[]", 256, false, 16)] + [DNAFieldAttribute(256, "char", 1, "expression[256]", "System.Char[]", false, 16)] public char[] expression = new System.Char[256]; - [DNAFieldAttribute(2, "void", "*expr_comp", "void", 8, true, 272)] - public object ptr_expr_comp; - [DNAFieldAttribute(3, "ExprPyLike_Parsed", "*expr_simple", "ExprPyLike_Parsed", 8, true, 280)] - public ExprPyLike_Parsed ptr_expr_simple; - [DNAFieldAttribute(4, "float", "curval", "float", 4, false, 288)] + [DNAFieldAttribute(8, "void", 2, "*expr_comp", "void", true, 272)] + public object expr_comp; + [DNAFieldAttribute(8, "ExprPyLike_Parsed", 3, "*expr_simple", "ExprPyLike_Parsed", true, 280)] + public ExprPyLike_Parsed expr_simple; + [DNAFieldAttribute(4, "float", 4, "curval", "float", false, 288)] public float curval; - [DNAFieldAttribute(5, "float", "influence", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 5, "influence", "float", false, 292)] public float influence; - [DNAFieldAttribute(6, "int", "type", "int", 4, false, 296)] + [DNAFieldAttribute(4, "int", 6, "type", "int", false, 296)] public int type; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 300)] public int flag; public ChannelDriver() { this.variables = default; this.expression = default; - this.ptr_expr_comp = default; - this.ptr_expr_simple = default; + this.expr_comp = default; + this.expr_simple = default; this.curval = default; this.influence = default; this.type = default; this.flag = default; } - public ChannelDriver(ListBase variables, char[] expression, object ptr_expr_comp, ExprPyLike_Parsed ptr_expr_simple, float curval, float influence, int type, int flag) { + public ChannelDriver(ListBase variables, char[] expression, object expr_comp, ExprPyLike_Parsed expr_simple, float curval, float influence, int type, int flag) { this.variables = variables; this.expression = expression; - this.ptr_expr_comp = ptr_expr_comp; - this.ptr_expr_simple = ptr_expr_simple; + this.expr_comp = expr_comp; + this.expr_simple = expr_simple; this.curval = curval; this.influence = influence; this.type = type; diff --git a/BlendFile/DNA/CharInfo.cs b/BlendFile/DNA/CharInfo.cs index 6124c1f..a90424f 100644 --- a/BlendFile/DNA/CharInfo.cs +++ b/BlendFile/DNA/CharInfo.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(208, "CharInfo", 8)] - public struct CharInfo { - [DNAFieldAttribute(0, "float", "kern", "float", 4, false, 0)] + public class CharInfo { + [DNAFieldAttribute(4, "float", 0, "kern", "float", false, 0)] public float kern; - [DNAFieldAttribute(1, "short", "mat_nr", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "mat_nr", "short", false, 4)] public short mat_nr; - [DNAFieldAttribute(2, "char", "flag", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 6)] public char flag; - [DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false, 7)] + [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 7)] public char[] _pad = new System.Char[1]; public CharInfo() { this.kern = default; diff --git a/BlendFile/DNA/ChildParticle.cs b/BlendFile/DNA/ChildParticle.cs index 618f2c7..0ee3c70 100644 --- a/BlendFile/DNA/ChildParticle.cs +++ b/BlendFile/DNA/ChildParticle.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(780, "ChildParticle", 64)] - public struct ChildParticle { - [DNAFieldAttribute(0, "int", "num", "int", 4, false, 0)] + public class ChildParticle { + [DNAFieldAttribute(4, "int", 0, "num", "int", false, 0)] public int num; - [DNAFieldAttribute(1, "int", "parent", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "parent", "int", false, 4)] public int parent; - [DNAFieldAttribute(2, "int", "pa[4]", "System.Int32[]", 16, false, 8)] + [DNAFieldAttribute(16, "int", 2, "pa[4]", "System.Int32[]", false, 8)] public int[] pa = new System.Int32[4]; - [DNAFieldAttribute(3, "float", "w[4]", "System.Single[]", 16, false, 24)] + [DNAFieldAttribute(16, "float", 3, "w[4]", "System.Single[]", false, 24)] public float[] w = new System.Single[4]; - [DNAFieldAttribute(4, "float", "fuv[4]", "System.Single[]", 16, false, 40)] + [DNAFieldAttribute(16, "float", 4, "fuv[4]", "System.Single[]", false, 40)] public float[] fuv = new System.Single[4]; - [DNAFieldAttribute(5, "float", "foffset", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 5, "foffset", "float", false, 56)] public float foffset; - [DNAFieldAttribute(6, "char", "_pad0[4]", "System.Char[]", 4, false, 60)] + [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 60)] public char[] _pad0 = new System.Char[4]; public ChildParticle() { this.num = default; diff --git a/BlendFile/DNA/ClothCollSettings.cs b/BlendFile/DNA/ClothCollSettings.cs index c5438f2..ea8d0f5 100644 --- a/BlendFile/DNA/ClothCollSettings.cs +++ b/BlendFile/DNA/ClothCollSettings.cs @@ -13,46 +13,43 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(157, "ClothCollSettings", 72)] + [DNAClassAttribute(157, "ClothCollSettings", 64)] public class ClothCollSettings { - [DNAFieldAttribute(0, "LinkNode", "*collision_list", "LinkNode", 8, true, 0)] - public LinkNode ptr_collision_list; - [DNAFieldAttribute(1, "float", "epsilon", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 1, "epsilon", "float", false, 0)] public float epsilon; - [DNAFieldAttribute(2, "float", "self_friction", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "self_friction", "float", false, 4)] public float self_friction; - [DNAFieldAttribute(3, "float", "friction", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 3, "friction", "float", false, 8)] public float friction; - [DNAFieldAttribute(4, "float", "damping", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 4, "damping", "float", false, 12)] public float damping; - [DNAFieldAttribute(5, "float", "selfepsilon", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 5, "selfepsilon", "float", false, 16)] public float selfepsilon; - [DNAFieldAttribute(6, "float", "repel_force", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 6, "repel_force", "float", false, 20)] public float repel_force; - [DNAFieldAttribute(7, "float", "distance_repel", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 7, "distance_repel", "float", false, 24)] public float distance_repel; - [DNAFieldAttribute(8, "int", "flags", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 8, "flags", "int", false, 28)] public int flags; - [DNAFieldAttribute(9, "short", "self_loop_count", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 9, "self_loop_count", "short", false, 32)] public short self_loop_count; - [DNAFieldAttribute(10, "short", "loop_count", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 10, "loop_count", "short", false, 34)] public short loop_count; - [DNAFieldAttribute(11, "char", "_pad[4]", "System.Char[]", 4, false, 44)] + [DNAFieldAttribute(4, "char", 11, "_pad[4]", "System.Char[]", false, 36)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(12, "Collection", "*group", "Collection", 8, true, 48)] - public Collection ptr_group; - [DNAFieldAttribute(13, "short", "vgroup_selfcol", "short", 2, false, 56)] + [DNAFieldAttribute(8, "Collection", 12, "*group", "Collection", true, 40)] + public Collection group; + [DNAFieldAttribute(2, "short", 13, "vgroup_selfcol", "short", false, 48)] public short vgroup_selfcol; - [DNAFieldAttribute(14, "short", "vgroup_objcol", "short", 2, false, 58)] + [DNAFieldAttribute(2, "short", 14, "vgroup_objcol", "short", false, 50)] public short vgroup_objcol; - [DNAFieldAttribute(15, "char", "_pad2[4]", "System.Char[]", 4, false, 60)] + [DNAFieldAttribute(4, "char", 15, "_pad2[4]", "System.Char[]", false, 52)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(16, "float", "clamp", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 16, "clamp", "float", false, 56)] public float clamp; - [DNAFieldAttribute(17, "float", "self_clamp", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 17, "self_clamp", "float", false, 60)] public float self_clamp; public ClothCollSettings() { - this.ptr_collision_list = default; this.epsilon = default; this.self_friction = default; this.friction = default; @@ -64,7 +61,7 @@ namespace BlendFile.DNA { this.self_loop_count = default; this.loop_count = default; this._pad = default; - this.ptr_group = default; + this.group = default; this.vgroup_selfcol = default; this.vgroup_objcol = default; this._pad2 = default; @@ -72,7 +69,6 @@ namespace BlendFile.DNA { this.self_clamp = default; } public ClothCollSettings( - LinkNode ptr_collision_list, float epsilon, float self_friction, float friction, @@ -84,13 +80,12 @@ namespace BlendFile.DNA { short self_loop_count, short loop_count, char[] _pad, - Collection ptr_group, + Collection group, short vgroup_selfcol, short vgroup_objcol, char[] _pad2, float clamp, float self_clamp) { - this.ptr_collision_list = ptr_collision_list; this.epsilon = epsilon; this.self_friction = self_friction; this.friction = friction; @@ -102,7 +97,7 @@ namespace BlendFile.DNA { this.self_loop_count = self_loop_count; this.loop_count = loop_count; this._pad = _pad; - this.ptr_group = ptr_group; + this.group = group; this.vgroup_selfcol = vgroup_selfcol; this.vgroup_objcol = vgroup_objcol; this._pad2 = _pad2; diff --git a/BlendFile/DNA/ClothModifierData.cs b/BlendFile/DNA/ClothModifierData.cs index 209e4df..537c297 100644 --- a/BlendFile/DNA/ClothModifierData.cs +++ b/BlendFile/DNA/ClothModifierData.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(464, "ClothModifierData", 224)] public class ClothModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Cloth", "*clothObject", "Cloth", 8, true, 120)] - public Cloth ptr_clothObject; - [DNAFieldAttribute(2, "ClothSimSettings", "*sim_parms", "ClothSimSettings", 8, true, 128)] - public ClothSimSettings ptr_sim_parms; - [DNAFieldAttribute(3, "ClothCollSettings", "*coll_parms", "ClothCollSettings", 8, true, 136)] - public ClothCollSettings ptr_coll_parms; - [DNAFieldAttribute(4, "PointCache", "*point_cache", "PointCache", 8, true, 144)] - public PointCache ptr_point_cache; - [DNAFieldAttribute(5, "ListBase", "ptcaches", "ListBase", 16, false, 152)] + [DNAFieldAttribute(8, "Cloth", 1, "*clothObject", "Cloth", true, 120)] + public Cloth clothObject; + [DNAFieldAttribute(8, "ClothSimSettings", 2, "*sim_parms", "ClothSimSettings", true, 128)] + public ClothSimSettings sim_parms; + [DNAFieldAttribute(8, "ClothCollSettings", 3, "*coll_parms", "ClothCollSettings", true, 136)] + public ClothCollSettings coll_parms; + [DNAFieldAttribute(8, "PointCache", 4, "*point_cache", "PointCache", true, 144)] + public PointCache point_cache; + [DNAFieldAttribute(16, "ListBase", 5, "ptcaches", "ListBase", false, 152)] public ListBase ptcaches; - [DNAFieldAttribute(6, "ClothHairData", "*hairdata", "ClothHairData", 8, true, 168)] - public ClothHairData ptr_hairdata; - [DNAFieldAttribute(7, "float", "hair_grid_min[3]", "System.Single[]", 12, false, 176)] + [DNAFieldAttribute(8, "ClothHairData", 6, "*hairdata", "ClothHairData", true, 168)] + public ClothHairData hairdata; + [DNAFieldAttribute(12, "float", 7, "hair_grid_min[3]", "System.Single[]", false, 176)] public float[] hair_grid_min = new System.Single[3]; - [DNAFieldAttribute(8, "float", "hair_grid_max[3]", "System.Single[]", 12, false, 188)] + [DNAFieldAttribute(12, "float", 8, "hair_grid_max[3]", "System.Single[]", false, 188)] public float[] hair_grid_max = new System.Single[3]; - [DNAFieldAttribute(9, "int", "hair_grid_res[3]", "System.Int32[]", 12, false, 200)] + [DNAFieldAttribute(12, "int", 9, "hair_grid_res[3]", "System.Int32[]", false, 200)] public int[] hair_grid_res = new System.Int32[3]; - [DNAFieldAttribute(10, "float", "hair_grid_cellsize", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 10, "hair_grid_cellsize", "float", false, 212)] public float hair_grid_cellsize; - [DNAFieldAttribute(11, "ClothSolverResult", "*solver_result", "ClothSolverResult", 8, true, 216)] - public ClothSolverResult ptr_solver_result; + [DNAFieldAttribute(8, "ClothSolverResult", 11, "*solver_result", "ClothSolverResult", true, 216)] + public ClothSolverResult solver_result; public ClothModifierData() { this.modifier = default; - this.ptr_clothObject = default; - this.ptr_sim_parms = default; - this.ptr_coll_parms = default; - this.ptr_point_cache = default; + this.clothObject = default; + this.sim_parms = default; + this.coll_parms = default; + this.point_cache = default; this.ptcaches = default; - this.ptr_hairdata = default; + this.hairdata = default; this.hair_grid_min = default; this.hair_grid_max = default; this.hair_grid_res = default; this.hair_grid_cellsize = default; - this.ptr_solver_result = default; + this.solver_result = default; } - public ClothModifierData(ModifierData modifier, Cloth ptr_clothObject, ClothSimSettings ptr_sim_parms, ClothCollSettings ptr_coll_parms, PointCache ptr_point_cache, ListBase ptcaches, ClothHairData ptr_hairdata, float[] hair_grid_min, float[] hair_grid_max, int[] hair_grid_res, float hair_grid_cellsize, ClothSolverResult ptr_solver_result) { + public ClothModifierData(ModifierData modifier, Cloth clothObject, ClothSimSettings sim_parms, ClothCollSettings coll_parms, PointCache point_cache, ListBase ptcaches, ClothHairData hairdata, float[] hair_grid_min, float[] hair_grid_max, int[] hair_grid_res, float hair_grid_cellsize, ClothSolverResult solver_result) { this.modifier = modifier; - this.ptr_clothObject = ptr_clothObject; - this.ptr_sim_parms = ptr_sim_parms; - this.ptr_coll_parms = ptr_coll_parms; - this.ptr_point_cache = ptr_point_cache; + this.clothObject = clothObject; + this.sim_parms = sim_parms; + this.coll_parms = coll_parms; + this.point_cache = point_cache; this.ptcaches = ptcaches; - this.ptr_hairdata = ptr_hairdata; + this.hairdata = hairdata; this.hair_grid_min = hair_grid_min; this.hair_grid_max = hair_grid_max; this.hair_grid_res = hair_grid_res; this.hair_grid_cellsize = hair_grid_cellsize; - this.ptr_solver_result = ptr_solver_result; + this.solver_result = solver_result; } } } diff --git a/BlendFile/DNA/ClothSimSettings.cs b/BlendFile/DNA/ClothSimSettings.cs index cd38761..5361753 100644 --- a/BlendFile/DNA/ClothSimSettings.cs +++ b/BlendFile/DNA/ClothSimSettings.cs @@ -15,148 +15,148 @@ namespace BlendFile.DNA { [DNAClassAttribute(154, "ClothSimSettings", 272)] public class ClothSimSettings { - [DNAFieldAttribute(0, "LinkNode", "*cache", "LinkNode", 8, true, 0)] - public LinkNode ptr_cache; - [DNAFieldAttribute(1, "float", "mingoal", "float", 4, false, 8)] + [DNAFieldAttribute(8, "LinkNode", 0, "*cache", "LinkNode", true, 0)] + public LinkNode cache; + [DNAFieldAttribute(4, "float", 1, "mingoal", "float", false, 8)] public float mingoal; - [DNAFieldAttribute(2, "float", "Cdis", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "Cdis", "float", false, 12)] public float Cdis; - [DNAFieldAttribute(3, "float", "Cvi", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 3, "Cvi", "float", false, 16)] public float Cvi; - [DNAFieldAttribute(4, "float", "gravity[3]", "System.Single[]", 12, false, 20)] + [DNAFieldAttribute(12, "float", 4, "gravity[3]", "System.Single[]", false, 20)] public float[] gravity = new System.Single[3]; - [DNAFieldAttribute(5, "float", "dt", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 5, "dt", "float", false, 32)] public float dt; - [DNAFieldAttribute(6, "float", "mass", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 6, "mass", "float", false, 36)] public float mass; - [DNAFieldAttribute(7, "float", "structural", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 7, "structural", "float", false, 40)] public float structural; - [DNAFieldAttribute(8, "float", "shear", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 8, "shear", "float", false, 44)] public float shear; - [DNAFieldAttribute(9, "float", "bending", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 9, "bending", "float", false, 48)] public float bending; - [DNAFieldAttribute(10, "float", "max_bend", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 10, "max_bend", "float", false, 52)] public float max_bend; - [DNAFieldAttribute(11, "float", "max_struct", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 11, "max_struct", "float", false, 56)] public float max_struct; - [DNAFieldAttribute(12, "float", "max_shear", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 12, "max_shear", "float", false, 60)] public float max_shear; - [DNAFieldAttribute(13, "float", "max_sewing", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 13, "max_sewing", "float", false, 64)] public float max_sewing; - [DNAFieldAttribute(14, "float", "avg_spring_len", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 14, "avg_spring_len", "float", false, 68)] public float avg_spring_len; - [DNAFieldAttribute(15, "float", "timescale", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 15, "timescale", "float", false, 72)] public float timescale; - [DNAFieldAttribute(16, "float", "time_scale", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 16, "time_scale", "float", false, 76)] public float time_scale; - [DNAFieldAttribute(17, "float", "maxgoal", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 17, "maxgoal", "float", false, 80)] public float maxgoal; - [DNAFieldAttribute(18, "float", "eff_force_scale", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 18, "eff_force_scale", "float", false, 84)] public float eff_force_scale; - [DNAFieldAttribute(19, "float", "eff_wind_scale", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 19, "eff_wind_scale", "float", false, 88)] public float eff_wind_scale; - [DNAFieldAttribute(20, "float", "sim_time_old", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 20, "sim_time_old", "float", false, 92)] public float sim_time_old; - [DNAFieldAttribute(21, "float", "defgoal", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 21, "defgoal", "float", false, 96)] public float defgoal; - [DNAFieldAttribute(22, "float", "goalspring", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 22, "goalspring", "float", false, 100)] public float goalspring; - [DNAFieldAttribute(23, "float", "goalfrict", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 23, "goalfrict", "float", false, 104)] public float goalfrict; - [DNAFieldAttribute(24, "float", "velocity_smooth", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 24, "velocity_smooth", "float", false, 108)] public float velocity_smooth; - [DNAFieldAttribute(25, "float", "density_target", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 25, "density_target", "float", false, 112)] public float density_target; - [DNAFieldAttribute(26, "float", "density_strength", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 26, "density_strength", "float", false, 116)] public float density_strength; - [DNAFieldAttribute(27, "float", "collider_friction", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 27, "collider_friction", "float", false, 120)] public float collider_friction; - [DNAFieldAttribute(28, "float", "vel_damping", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 28, "vel_damping", "float", false, 124)] public float vel_damping; - [DNAFieldAttribute(29, "float", "shrink_min", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 29, "shrink_min", "float", false, 128)] public float shrink_min; - [DNAFieldAttribute(30, "float", "shrink_max", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 30, "shrink_max", "float", false, 132)] public float shrink_max; - [DNAFieldAttribute(31, "float", "uniform_pressure_force", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 31, "uniform_pressure_force", "float", false, 136)] public float uniform_pressure_force; - [DNAFieldAttribute(32, "float", "target_volume", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 32, "target_volume", "float", false, 140)] public float target_volume; - [DNAFieldAttribute(33, "float", "pressure_factor", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 33, "pressure_factor", "float", false, 144)] public float pressure_factor; - [DNAFieldAttribute(34, "float", "fluid_density", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 34, "fluid_density", "float", false, 148)] public float fluid_density; - [DNAFieldAttribute(35, "short", "vgroup_pressure", "short", 2, false, 152)] + [DNAFieldAttribute(2, "short", 35, "vgroup_pressure", "short", false, 152)] public short vgroup_pressure; - [DNAFieldAttribute(36, "char", "_pad7[6]", "System.Char[]", 6, false, 154)] + [DNAFieldAttribute(6, "char", 36, "_pad7[6]", "System.Char[]", false, 154)] public char[] _pad7 = new System.Char[6]; - [DNAFieldAttribute(37, "float", "bending_damping", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 37, "bending_damping", "float", false, 160)] public float bending_damping; - [DNAFieldAttribute(38, "float", "voxel_cell_size", "float", 4, false, 164)] + [DNAFieldAttribute(4, "float", 38, "voxel_cell_size", "float", false, 164)] public float voxel_cell_size; - [DNAFieldAttribute(39, "int", "stepsPerFrame", "int", 4, false, 168)] + [DNAFieldAttribute(4, "int", 39, "stepsPerFrame", "int", false, 168)] public int stepsPerFrame; - [DNAFieldAttribute(40, "int", "flags", "int", 4, false, 172)] + [DNAFieldAttribute(4, "int", 40, "flags", "int", false, 172)] public int flags; - [DNAFieldAttribute(41, "int", "preroll", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 41, "preroll", "int", false, 176)] public int preroll; - [DNAFieldAttribute(42, "int", "maxspringlen", "int", 4, false, 180)] + [DNAFieldAttribute(4, "int", 42, "maxspringlen", "int", false, 180)] public int maxspringlen; - [DNAFieldAttribute(43, "short", "solver_type", "short", 2, false, 184)] + [DNAFieldAttribute(2, "short", 43, "solver_type", "short", false, 184)] public short solver_type; - [DNAFieldAttribute(44, "short", "vgroup_bend", "short", 2, false, 186)] + [DNAFieldAttribute(2, "short", 44, "vgroup_bend", "short", false, 186)] public short vgroup_bend; - [DNAFieldAttribute(45, "short", "vgroup_mass", "short", 2, false, 188)] + [DNAFieldAttribute(2, "short", 45, "vgroup_mass", "short", false, 188)] public short vgroup_mass; - [DNAFieldAttribute(46, "short", "vgroup_struct", "short", 2, false, 190)] + [DNAFieldAttribute(2, "short", 46, "vgroup_struct", "short", false, 190)] public short vgroup_struct; - [DNAFieldAttribute(47, "short", "vgroup_shrink", "short", 2, false, 192)] + [DNAFieldAttribute(2, "short", 47, "vgroup_shrink", "short", false, 192)] public short vgroup_shrink; - [DNAFieldAttribute(48, "short", "shapekey_rest", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 48, "shapekey_rest", "short", false, 194)] public short shapekey_rest; - [DNAFieldAttribute(49, "short", "presets", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 49, "presets", "short", false, 196)] public short presets; - [DNAFieldAttribute(50, "short", "reset", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 50, "reset", "short", false, 198)] public short reset; - [DNAFieldAttribute(51, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 200)] - public EffectorWeights ptr_effector_weights; - [DNAFieldAttribute(52, "short", "bending_model", "short", 2, false, 208)] + [DNAFieldAttribute(8, "EffectorWeights", 51, "*effector_weights", "EffectorWeights", true, 200)] + public EffectorWeights effector_weights; + [DNAFieldAttribute(2, "short", 52, "bending_model", "short", false, 208)] public short bending_model; - [DNAFieldAttribute(53, "short", "vgroup_shear", "short", 2, false, 210)] + [DNAFieldAttribute(2, "short", 53, "vgroup_shear", "short", false, 210)] public short vgroup_shear; - [DNAFieldAttribute(54, "float", "tension", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 54, "tension", "float", false, 212)] public float tension; - [DNAFieldAttribute(55, "float", "compression", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 55, "compression", "float", false, 216)] public float compression; - [DNAFieldAttribute(56, "float", "max_tension", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 56, "max_tension", "float", false, 220)] public float max_tension; - [DNAFieldAttribute(57, "float", "max_compression", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 57, "max_compression", "float", false, 224)] public float max_compression; - [DNAFieldAttribute(58, "float", "tension_damp", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 58, "tension_damp", "float", false, 228)] public float tension_damp; - [DNAFieldAttribute(59, "float", "compression_damp", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 59, "compression_damp", "float", false, 232)] public float compression_damp; - [DNAFieldAttribute(60, "float", "shear_damp", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 60, "shear_damp", "float", false, 236)] public float shear_damp; - [DNAFieldAttribute(61, "float", "internal_spring_max_length", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 61, "internal_spring_max_length", "float", false, 240)] public float internal_spring_max_length; - [DNAFieldAttribute(62, "float", "internal_spring_max_diversion", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 62, "internal_spring_max_diversion", "float", false, 244)] public float internal_spring_max_diversion; - [DNAFieldAttribute(63, "short", "vgroup_intern", "short", 2, false, 248)] + [DNAFieldAttribute(2, "short", 63, "vgroup_intern", "short", false, 248)] public short vgroup_intern; - [DNAFieldAttribute(64, "char", "_pad1[2]", "System.Char[]", 2, false, 250)] + [DNAFieldAttribute(2, "char", 64, "_pad1[2]", "System.Char[]", false, 250)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(65, "float", "internal_tension", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 65, "internal_tension", "float", false, 252)] public float internal_tension; - [DNAFieldAttribute(66, "float", "internal_compression", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 66, "internal_compression", "float", false, 256)] public float internal_compression; - [DNAFieldAttribute(67, "float", "max_internal_tension", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 67, "max_internal_tension", "float", false, 260)] public float max_internal_tension; - [DNAFieldAttribute(68, "float", "max_internal_compression", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 68, "max_internal_compression", "float", false, 264)] public float max_internal_compression; - [DNAFieldAttribute(69, "char", "_pad0[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 69, "_pad0[4]", "System.Char[]", false, 268)] public char[] _pad0 = new System.Char[4]; public ClothSimSettings() { - this.ptr_cache = default; + this.cache = default; this.mingoal = default; this.Cdis = default; this.Cvi = default; @@ -207,7 +207,7 @@ namespace BlendFile.DNA { this.shapekey_rest = default; this.presets = default; this.reset = default; - this.ptr_effector_weights = default; + this.effector_weights = default; this.bending_model = default; this.vgroup_shear = default; this.tension = default; @@ -228,7 +228,7 @@ namespace BlendFile.DNA { this._pad0 = default; } public ClothSimSettings( - LinkNode ptr_cache, + LinkNode cache, float mingoal, float Cdis, float Cvi, @@ -279,7 +279,7 @@ namespace BlendFile.DNA { short shapekey_rest, short presets, short reset, - EffectorWeights ptr_effector_weights, + EffectorWeights effector_weights, short bending_model, short vgroup_shear, float tension, @@ -298,7 +298,7 @@ namespace BlendFile.DNA { float max_internal_tension, float max_internal_compression, char[] _pad0) { - this.ptr_cache = ptr_cache; + this.cache = cache; this.mingoal = mingoal; this.Cdis = Cdis; this.Cvi = Cvi; @@ -349,7 +349,7 @@ namespace BlendFile.DNA { this.shapekey_rest = shapekey_rest; this.presets = presets; this.reset = reset; - this.ptr_effector_weights = ptr_effector_weights; + this.effector_weights = effector_weights; this.bending_model = bending_model; this.vgroup_shear = vgroup_shear; this.tension = tension; diff --git a/BlendFile/DNA/Collection.cs b/BlendFile/DNA/Collection.cs index aca5bc5..82b5d04 100644 --- a/BlendFile/DNA/Collection.cs +++ b/BlendFile/DNA/Collection.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(70, "Collection", 376)] public class Collection { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "ID", "*owner_id", "ID", 8, true, 208)] - public ID ptr_owner_id; - [DNAFieldAttribute(2, "ListBase", "gobject", "ListBase", 16, false, 216)] + [DNAFieldAttribute(8, "ID", 1, "*owner_id", "ID", true, 208)] + public ID owner_id; + [DNAFieldAttribute(16, "ListBase", 2, "gobject", "ListBase", false, 216)] public ListBase gobject; - [DNAFieldAttribute(3, "ListBase", "children", "ListBase", 16, false, 232)] + [DNAFieldAttribute(16, "ListBase", 3, "children", "ListBase", false, 232)] public ListBase children; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 248)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 248)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(5, "int", "active_exporter_index", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 5, "active_exporter_index", "int", false, 252)] public int active_exporter_index; - [DNAFieldAttribute(6, "ListBase", "exporters", "ListBase", 16, false, 256)] + [DNAFieldAttribute(16, "ListBase", 6, "exporters", "ListBase", false, 256)] public ListBase exporters; - [DNAFieldAttribute(7, "PreviewImage", "*preview", "PreviewImage", 8, true, 272)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(8, "int", "layer", "int", 4, false, 280)] + [DNAFieldAttribute(8, "PreviewImage", 7, "*preview", "PreviewImage", true, 272)] + public PreviewImage preview; + [DNAFieldAttribute(4, "int", 8, "layer", "int", false, 280)] public int layer; - [DNAFieldAttribute(9, "float", "dupli_ofs[3]", "System.Single[]", 12, false, 284)] + [DNAFieldAttribute(12, "float", 9, "dupli_ofs[3]", "System.Single[]", false, 284)] public float[] dupli_ofs = new System.Single[3]; - [DNAFieldAttribute(10, "uchar", "flag", "uchar", 1, false, 296)] + [DNAFieldAttribute(1, "uchar", 10, "flag", "uchar", false, 296)] public byte flag; - [DNAFieldAttribute(11, "int8_t", "color_tag", "int8_t", 1, false, 297)] + [DNAFieldAttribute(1, "int8_t", 11, "color_tag", "int8_t", false, 297)] public sbyte color_tag; - [DNAFieldAttribute(12, "char", "_pad1[2]", "System.Char[]", 2, false, 298)] + [DNAFieldAttribute(2, "char", 12, "_pad1[2]", "System.Char[]", false, 298)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(13, "uchar", "lineart_usage", "uchar", 1, false, 300)] + [DNAFieldAttribute(1, "uchar", 13, "lineart_usage", "uchar", false, 300)] public byte lineart_usage; - [DNAFieldAttribute(14, "uchar", "lineart_flags", "uchar", 1, false, 301)] + [DNAFieldAttribute(1, "uchar", 14, "lineart_flags", "uchar", false, 301)] public byte lineart_flags; - [DNAFieldAttribute(15, "uchar", "lineart_intersection_mask", "uchar", 1, false, 302)] + [DNAFieldAttribute(1, "uchar", 15, "lineart_intersection_mask", "uchar", false, 302)] public byte lineart_intersection_mask; - [DNAFieldAttribute(16, "uchar", "lineart_intersection_priority", "uchar", 1, false, 303)] + [DNAFieldAttribute(1, "uchar", 16, "lineart_intersection_priority", "uchar", false, 303)] public byte lineart_intersection_priority; - [DNAFieldAttribute(17, "ViewLayer", "*view_layer", "ViewLayer", 8, true, 304)] - public ViewLayer ptr_view_layer; - [DNAFieldAttribute(18, "Collection_Runtime", "runtime", "Collection_Runtime", 64, false, 312)] + [DNAFieldAttribute(8, "ViewLayer", 17, "*view_layer", "ViewLayer", true, 304)] + public ViewLayer view_layer; + [DNAFieldAttribute(64, "Collection_Runtime", 18, "runtime", "Collection_Runtime", false, 312)] public Collection_Runtime runtime; public Collection() { this.id = default; - this.ptr_owner_id = default; + this.owner_id = default; this.gobject = default; this.children = default; this._pad0 = default; this.active_exporter_index = default; this.exporters = default; - this.ptr_preview = default; + this.preview = default; this.layer = default; this.dupli_ofs = default; this.flag = default; @@ -71,18 +71,18 @@ namespace BlendFile.DNA { this.lineart_flags = default; this.lineart_intersection_mask = default; this.lineart_intersection_priority = default; - this.ptr_view_layer = default; + this.view_layer = default; this.runtime = default; } public Collection( ID id, - ID ptr_owner_id, + ID owner_id, ListBase gobject, ListBase children, char[] _pad0, int active_exporter_index, ListBase exporters, - PreviewImage ptr_preview, + PreviewImage preview, int layer, float[] dupli_ofs, byte flag, @@ -92,16 +92,16 @@ namespace BlendFile.DNA { byte lineart_flags, byte lineart_intersection_mask, byte lineart_intersection_priority, - ViewLayer ptr_view_layer, + ViewLayer view_layer, Collection_Runtime runtime) { this.id = id; - this.ptr_owner_id = ptr_owner_id; + this.owner_id = owner_id; this.gobject = gobject; this.children = children; this._pad0 = _pad0; this.active_exporter_index = active_exporter_index; this.exporters = exporters; - this.ptr_preview = ptr_preview; + this.preview = preview; this.layer = layer; this.dupli_ofs = dupli_ofs; this.flag = flag; @@ -111,7 +111,7 @@ namespace BlendFile.DNA { this.lineart_flags = lineart_flags; this.lineart_intersection_mask = lineart_intersection_mask; this.lineart_intersection_priority = lineart_intersection_priority; - this.ptr_view_layer = ptr_view_layer; + this.view_layer = view_layer; this.runtime = runtime; } } diff --git a/BlendFile/DNA/CollectionChild.cs b/BlendFile/DNA/CollectionChild.cs index c107c9c..8633a51 100644 --- a/BlendFile/DNA/CollectionChild.cs +++ b/BlendFile/DNA/CollectionChild.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(160, "CollectionChild", 32)] public class CollectionChild { - [DNAFieldAttribute(0, "CollectionChild", "*next", "CollectionChild", 8, true, 0)] - public CollectionChild ptr_next; - [DNAFieldAttribute(1, "CollectionChild", "*prev", "CollectionChild", 8, true, 8)] - public CollectionChild ptr_prev; - [DNAFieldAttribute(2, "Collection", "*collection", "Collection", 8, true, 16)] - public Collection ptr_collection; - [DNAFieldAttribute(3, "CollectionLightLinking", "light_linking", "CollectionLightLinking", 4, false, 24)] + [DNAFieldAttribute(8, "CollectionChild", 0, "*next", "CollectionChild", true, 0)] + public CollectionChild next; + [DNAFieldAttribute(8, "CollectionChild", 1, "*prev", "CollectionChild", true, 8)] + public CollectionChild prev; + [DNAFieldAttribute(8, "Collection", 2, "*collection", "Collection", true, 16)] + public Collection collection; + [DNAFieldAttribute(4, "CollectionLightLinking", 3, "light_linking", "CollectionLightLinking", false, 24)] public CollectionLightLinking light_linking; - [DNAFieldAttribute(4, "int", "_pad", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 28)] public int _pad; public CollectionChild() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_collection = default; + this.next = default; + this.prev = default; + this.collection = default; this.light_linking = default; this._pad = default; } - public CollectionChild(CollectionChild ptr_next, CollectionChild ptr_prev, Collection ptr_collection, CollectionLightLinking light_linking, int _pad) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_collection = ptr_collection; + public CollectionChild(CollectionChild next, CollectionChild prev, Collection collection, CollectionLightLinking light_linking, int _pad) { + this.next = next; + this.prev = prev; + this.collection = collection; this.light_linking = light_linking; this._pad = _pad; } diff --git a/BlendFile/DNA/CollectionExport.cs b/BlendFile/DNA/CollectionExport.cs index 801a307..837c7d0 100644 --- a/BlendFile/DNA/CollectionExport.cs +++ b/BlendFile/DNA/CollectionExport.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(161, "CollectionExport", 160)] public class CollectionExport { - [DNAFieldAttribute(0, "CollectionExport", "*next", "CollectionExport", 8, true, 0)] - public CollectionExport ptr_next; - [DNAFieldAttribute(1, "CollectionExport", "*prev", "CollectionExport", 8, true, 8)] - public CollectionExport ptr_prev; - [DNAFieldAttribute(2, "char", "fh_idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "CollectionExport", 0, "*next", "CollectionExport", true, 0)] + public CollectionExport next; + [DNAFieldAttribute(8, "CollectionExport", 1, "*prev", "CollectionExport", true, 8)] + public CollectionExport prev; + [DNAFieldAttribute(64, "char", 2, "fh_idname[64]", "System.Char[]", false, 16)] public char[] fh_idname = new System.Char[64]; - [DNAFieldAttribute(3, "char", "name[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 80)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(4, "IDProperty", "*export_properties", "IDProperty", 8, true, 144)] - public IDProperty ptr_export_properties; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 152)] + [DNAFieldAttribute(8, "IDProperty", 4, "*export_properties", "IDProperty", true, 144)] + public IDProperty export_properties; + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 152)] public int flag; - [DNAFieldAttribute(6, "int", "_pad0", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 6, "_pad0", "int", false, 156)] public int _pad0; public CollectionExport() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.fh_idname = default; this.name = default; - this.ptr_export_properties = default; + this.export_properties = default; this.flag = default; this._pad0 = default; } - public CollectionExport(CollectionExport ptr_next, CollectionExport ptr_prev, char[] fh_idname, char[] name, IDProperty ptr_export_properties, int flag, int _pad0) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public CollectionExport(CollectionExport next, CollectionExport prev, char[] fh_idname, char[] name, IDProperty export_properties, int flag, int _pad0) { + this.next = next; + this.prev = prev; this.fh_idname = fh_idname; this.name = name; - this.ptr_export_properties = ptr_export_properties; + this.export_properties = export_properties; this.flag = flag; this._pad0 = _pad0; } diff --git a/BlendFile/DNA/CollectionLightLinking.cs b/BlendFile/DNA/CollectionLightLinking.cs index fa8bd5a..41f434a 100644 --- a/BlendFile/DNA/CollectionLightLinking.cs +++ b/BlendFile/DNA/CollectionLightLinking.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(158, "CollectionLightLinking", 4)] - public struct CollectionLightLinking { - [DNAFieldAttribute(0, "uchar", "link_state", "uchar", 1, false, 0)] + public class CollectionLightLinking { + [DNAFieldAttribute(1, "uchar", 0, "link_state", "uchar", false, 0)] public byte link_state; - [DNAFieldAttribute(1, "uchar", "_pad[3]", "System.Byte[]", 3, false, 1)] + [DNAFieldAttribute(3, "uchar", 1, "_pad[3]", "System.Byte[]", false, 1)] public byte[] _pad = new System.Byte[3]; public CollectionLightLinking() { this.link_state = default; diff --git a/BlendFile/DNA/CollectionObject.cs b/BlendFile/DNA/CollectionObject.cs index 8607af4..32f29ff 100644 --- a/BlendFile/DNA/CollectionObject.cs +++ b/BlendFile/DNA/CollectionObject.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(159, "CollectionObject", 32)] public class CollectionObject { - [DNAFieldAttribute(0, "CollectionObject", "*next", "CollectionObject", 8, true, 0)] - public CollectionObject ptr_next; - [DNAFieldAttribute(1, "CollectionObject", "*prev", "CollectionObject", 8, true, 8)] - public CollectionObject ptr_prev; - [DNAFieldAttribute(2, "Object", "*ob", "Object", 8, true, 16)] - public Object ptr_ob; - [DNAFieldAttribute(3, "CollectionLightLinking", "light_linking", "CollectionLightLinking", 4, false, 24)] + [DNAFieldAttribute(8, "CollectionObject", 0, "*next", "CollectionObject", true, 0)] + public CollectionObject next; + [DNAFieldAttribute(8, "CollectionObject", 1, "*prev", "CollectionObject", true, 8)] + public CollectionObject prev; + [DNAFieldAttribute(8, "Object", 2, "*ob", "Object", true, 16)] + public Object ob; + [DNAFieldAttribute(4, "CollectionLightLinking", 3, "light_linking", "CollectionLightLinking", false, 24)] public CollectionLightLinking light_linking; - [DNAFieldAttribute(4, "int", "_pad", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 28)] public int _pad; public CollectionObject() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_ob = default; + this.next = default; + this.prev = default; + this.ob = default; this.light_linking = default; this._pad = default; } - public CollectionObject(CollectionObject ptr_next, CollectionObject ptr_prev, Object ptr_ob, CollectionLightLinking light_linking, int _pad) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_ob = ptr_ob; + public CollectionObject(CollectionObject next, CollectionObject prev, Object ob, CollectionLightLinking light_linking, int _pad) { + this.next = next; + this.prev = prev; + this.ob = ob; this.light_linking = light_linking; this._pad = _pad; } diff --git a/BlendFile/DNA/Collection_Runtime.cs b/BlendFile/DNA/Collection_Runtime.cs index 7d8ad7b..06f3452 100644 --- a/BlendFile/DNA/Collection_Runtime.cs +++ b/BlendFile/DNA/Collection_Runtime.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(162, "Collection_Runtime", 64)] public class Collection_Runtime { - [DNAFieldAttribute(0, "ListBase", "object_cache", "ListBase", 16, false, 0)] + [DNAFieldAttribute(16, "ListBase", 0, "object_cache", "ListBase", false, 0)] public ListBase object_cache; - [DNAFieldAttribute(1, "ListBase", "object_cache_instanced", "ListBase", 16, false, 16)] + [DNAFieldAttribute(16, "ListBase", 1, "object_cache_instanced", "ListBase", false, 16)] public ListBase object_cache_instanced; - [DNAFieldAttribute(2, "ListBase", "parents", "ListBase", 16, false, 32)] + [DNAFieldAttribute(16, "ListBase", 2, "parents", "ListBase", false, 32)] public ListBase parents; - [DNAFieldAttribute(3, "GHash", "*gobject_hash", "GHash", 8, true, 48)] - public GHash ptr_gobject_hash; - [DNAFieldAttribute(4, "uchar", "tag", "uchar", 1, false, 56)] + [DNAFieldAttribute(8, "GHash", 3, "*gobject_hash", "GHash", true, 48)] + public GHash gobject_hash; + [DNAFieldAttribute(1, "uchar", 4, "tag", "uchar", false, 56)] public byte tag; - [DNAFieldAttribute(5, "char", "_pad0[7]", "System.Char[]", 7, false, 57)] + [DNAFieldAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", false, 57)] public char[] _pad0 = new System.Char[7]; public Collection_Runtime() { this.object_cache = default; this.object_cache_instanced = default; this.parents = default; - this.ptr_gobject_hash = default; + this.gobject_hash = default; this.tag = default; this._pad0 = default; } - public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash ptr_gobject_hash, byte tag, char[] _pad0) { + public Collection_Runtime(ListBase object_cache, ListBase object_cache_instanced, ListBase parents, GHash gobject_hash, byte tag, char[] _pad0) { this.object_cache = object_cache; this.object_cache_instanced = object_cache_instanced; this.parents = parents; - this.ptr_gobject_hash = ptr_gobject_hash; + this.gobject_hash = gobject_hash; this.tag = tag; this._pad0 = _pad0; } diff --git a/BlendFile/DNA/CollisionModifierData.cs b/BlendFile/DNA/CollisionModifierData.cs index bbbf2b6..60c003f 100644 --- a/BlendFile/DNA/CollisionModifierData.cs +++ b/BlendFile/DNA/CollisionModifierData.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(468, "CollisionModifierData", 152)] public class CollisionModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(8, "int", "mvert_num", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 8, "mvert_num", "int", false, 120)] public int mvert_num; - [DNAFieldAttribute(9, "int", "tri_num", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 9, "tri_num", "int", false, 124)] public int tri_num; - [DNAFieldAttribute(10, "float", "time_x", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 10, "time_x", "float", false, 128)] public float time_x; - [DNAFieldAttribute(11, "float", "time_xnew", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 11, "time_xnew", "float", false, 132)] public float time_xnew; - [DNAFieldAttribute(12, "char", "is_static", "char", 1, false, 136)] + [DNAFieldAttribute(1, "char", 12, "is_static", "char", false, 136)] public char is_static; - [DNAFieldAttribute(13, "char", "_pad[7]", "System.Char[]", 7, false, 137)] + [DNAFieldAttribute(7, "char", 13, "_pad[7]", "System.Char[]", false, 137)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(14, "BVHTree", "*bvhtree", "BVHTree", 8, true, 144)] - public BVHTree ptr_bvhtree; + [DNAFieldAttribute(8, "BVHTree", 14, "*bvhtree", "BVHTree", true, 144)] + public BVHTree bvhtree; public CollisionModifierData() { this.modifier = default; this.mvert_num = default; @@ -39,9 +39,9 @@ namespace BlendFile.DNA { this.time_xnew = default; this.is_static = default; this._pad = default; - this.ptr_bvhtree = default; + this.bvhtree = default; } - public CollisionModifierData(ModifierData modifier, int mvert_num, int tri_num, float time_x, float time_xnew, char is_static, char[] _pad, BVHTree ptr_bvhtree) { + public CollisionModifierData(ModifierData modifier, int mvert_num, int tri_num, float time_x, float time_xnew, char is_static, char[] _pad, BVHTree bvhtree) { this.modifier = modifier; this.mvert_num = mvert_num; this.tri_num = tri_num; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { this.time_xnew = time_xnew; this.is_static = is_static; this._pad = _pad; - this.ptr_bvhtree = ptr_bvhtree; + this.bvhtree = bvhtree; } } } diff --git a/BlendFile/DNA/ColorBalanceModifierData.cs b/BlendFile/DNA/ColorBalanceModifierData.cs index df8f1b8..ceeda97 100644 --- a/BlendFile/DNA/ColorBalanceModifierData.cs +++ b/BlendFile/DNA/ColorBalanceModifierData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(905, "ColorBalanceModifierData", 200)] - public struct ColorBalanceModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class ColorBalanceModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "StripColorBalance", "color_balance", "StripColorBalance", 84, false, 112)] + [DNAFieldAttribute(84, "StripColorBalance", 1, "color_balance", "StripColorBalance", false, 112)] public StripColorBalance color_balance; - [DNAFieldAttribute(2, "float", "color_multiply", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 2, "color_multiply", "float", false, 196)] public float color_multiply; public ColorBalanceModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ColorBand.cs b/BlendFile/DNA/ColorBand.cs index d14fe42..a94c9d3 100644 --- a/BlendFile/DNA/ColorBand.cs +++ b/BlendFile/DNA/ColorBand.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(134, "ColorBand", 776)] - public struct ColorBand { - [DNAFieldAttribute(0, "short", "tot", "short", 2, false, 0)] + public class ColorBand { + [DNAFieldAttribute(2, "short", 0, "tot", "short", false, 0)] public short tot; - [DNAFieldAttribute(1, "short", "cur", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "cur", "short", false, 2)] public short cur; - [DNAFieldAttribute(2, "char", "ipotype", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 2, "ipotype", "char", false, 4)] public char ipotype; - [DNAFieldAttribute(3, "char", "ipotype_hue", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 3, "ipotype_hue", "char", false, 5)] public char ipotype_hue; - [DNAFieldAttribute(4, "char", "color_mode", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 4, "color_mode", "char", false, 6)] public char color_mode; - [DNAFieldAttribute(5, "char", "_pad[1]", "System.Char[]", 1, false, 7)] + [DNAFieldAttribute(1, "char", 5, "_pad[1]", "System.Char[]", false, 7)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(6, "CBData", "data[32]", "CBData[]", 768, false, 8)] + [DNAFieldAttribute(768, "CBData", 6, "data[32]", "CBData[]", false, 8)] public CBData[] data = new CBData[32]; public ColorBand() { this.tot = default; diff --git a/BlendFile/DNA/ColorCorrectionData.cs b/BlendFile/DNA/ColorCorrectionData.cs index 5574311..3a4cb4a 100644 --- a/BlendFile/DNA/ColorCorrectionData.cs +++ b/BlendFile/DNA/ColorCorrectionData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(602, "ColorCorrectionData", 24)] - public struct ColorCorrectionData { - [DNAFieldAttribute(0, "float", "saturation", "float", 4, false, 0)] + public class ColorCorrectionData { + [DNAFieldAttribute(4, "float", 0, "saturation", "float", false, 0)] public float saturation; - [DNAFieldAttribute(1, "float", "contrast", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "contrast", "float", false, 4)] public float contrast; - [DNAFieldAttribute(2, "float", "gamma", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "gamma", "float", false, 8)] public float gamma; - [DNAFieldAttribute(3, "float", "gain", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "gain", "float", false, 12)] public float gain; - [DNAFieldAttribute(4, "float", "lift", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "lift", "float", false, 16)] public float lift; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public ColorCorrectionData() { this.saturation = default; diff --git a/BlendFile/DNA/ColorGpencilModifierData.cs b/BlendFile/DNA/ColorGpencilModifierData.cs index 31b16bc..3a88f6a 100644 --- a/BlendFile/DNA/ColorGpencilModifierData.cs +++ b/BlendFile/DNA/ColorGpencilModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(281, "ColorGpencilModifierData", 280)] public class ColorGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "int", "pass_index", "int", 4, false, 240)] + [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(6, "float", "hsv[3]", "System.Single[]", 12, false, 248)] + [DNAFieldAttribute(12, "float", 6, "hsv[3]", "System.Single[]", false, 248)] public float[] hsv = new System.Single[3]; - [DNAFieldAttribute(7, "char", "modify_color", "char", 1, false, 260)] + [DNAFieldAttribute(1, "char", 7, "modify_color", "char", false, 260)] public char modify_color; - [DNAFieldAttribute(8, "char", "_pad[3]", "System.Char[]", 3, false, 261)] + [DNAFieldAttribute(3, "char", 8, "_pad[3]", "System.Char[]", false, 261)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false, 264)] + [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 264)] public int layer_pass; - [DNAFieldAttribute(10, "char", "_pad1[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 268)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", "CurveMapping", 8, true, 272)] - public CurveMapping ptr_curve_intensity; + [DNAFieldAttribute(8, "CurveMapping", 11, "*curve_intensity", "CurveMapping", true, 272)] + public CurveMapping curve_intensity; public ColorGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.pass_index = default; @@ -51,11 +51,11 @@ namespace BlendFile.DNA { this._pad = default; this.layer_pass = default; this._pad1 = default; - this.ptr_curve_intensity = default; + this.curve_intensity = default; } - public ColorGpencilModifierData(GpencilModifierData modifier, Material ptr_material, char[] layername, char[] materialname, int pass_index, int flag, float[] hsv, char modify_color, char[] _pad, int layer_pass, char[] _pad1, CurveMapping ptr_curve_intensity) { + public ColorGpencilModifierData(GpencilModifierData modifier, Material material, char[] layername, char[] materialname, int pass_index, int flag, float[] hsv, char modify_color, char[] _pad, int layer_pass, char[] _pad1, CurveMapping curve_intensity) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.pass_index = pass_index; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { this._pad = _pad; this.layer_pass = layer_pass; this._pad1 = _pad1; - this.ptr_curve_intensity = ptr_curve_intensity; + this.curve_intensity = curve_intensity; } } } diff --git a/BlendFile/DNA/ColorManagedColorspaceSettings.cs b/BlendFile/DNA/ColorManagedColorspaceSettings.cs index 06f857f..95ff190 100644 --- a/BlendFile/DNA/ColorManagedColorspaceSettings.cs +++ b/BlendFile/DNA/ColorManagedColorspaceSettings.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(170, "ColorManagedColorspaceSettings", 64)] - public struct ColorManagedColorspaceSettings { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class ColorManagedColorspaceSettings { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; public ColorManagedColorspaceSettings() { this.name = default; diff --git a/BlendFile/DNA/ColorManagedDisplaySettings.cs b/BlendFile/DNA/ColorManagedDisplaySettings.cs index 1a200bb..4d20962 100644 --- a/BlendFile/DNA/ColorManagedDisplaySettings.cs +++ b/BlendFile/DNA/ColorManagedDisplaySettings.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(169, "ColorManagedDisplaySettings", 64)] - public struct ColorManagedDisplaySettings { - [DNAFieldAttribute(0, "char", "display_device[64]", "System.Char[]", 64, false, 0)] + public class ColorManagedDisplaySettings { + [DNAFieldAttribute(64, "char", 0, "display_device[64]", "System.Char[]", false, 0)] public char[] display_device = new System.Char[64]; public ColorManagedDisplaySettings() { this.display_device = default; diff --git a/BlendFile/DNA/ColorManagedViewSettings.cs b/BlendFile/DNA/ColorManagedViewSettings.cs index e218052..196bb87 100644 --- a/BlendFile/DNA/ColorManagedViewSettings.cs +++ b/BlendFile/DNA/ColorManagedViewSettings.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(168, "ColorManagedViewSettings", 168)] public class ColorManagedViewSettings { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "char", "look[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(64, "char", 2, "look[64]", "System.Char[]", false, 8)] public char[] look = new System.Char[64]; - [DNAFieldAttribute(3, "char", "view_transform[64]", "System.Char[]", 64, false, 72)] + [DNAFieldAttribute(64, "char", 3, "view_transform[64]", "System.Char[]", false, 72)] public char[] view_transform = new System.Char[64]; - [DNAFieldAttribute(4, "float", "exposure", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 4, "exposure", "float", false, 136)] public float exposure; - [DNAFieldAttribute(5, "float", "gamma", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 5, "gamma", "float", false, 140)] public float gamma; - [DNAFieldAttribute(6, "float", "temperature", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 6, "temperature", "float", false, 144)] public float temperature; - [DNAFieldAttribute(7, "float", "tint", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 7, "tint", "float", false, 148)] public float tint; - [DNAFieldAttribute(8, "CurveMapping", "*curve_mapping", "CurveMapping", 8, true, 152)] - public CurveMapping ptr_curve_mapping; - [DNAFieldAttribute(9, "void", "*_pad2", "void", 8, true, 160)] - public object ptr__pad2; + [DNAFieldAttribute(8, "CurveMapping", 8, "*curve_mapping", "CurveMapping", true, 152)] + public CurveMapping curve_mapping; + [DNAFieldAttribute(8, "void", 9, "*_pad2", "void", true, 160)] + public object _pad2; public ColorManagedViewSettings() { this.flag = default; this._pad = default; @@ -44,10 +44,10 @@ namespace BlendFile.DNA { this.gamma = default; this.temperature = default; this.tint = default; - this.ptr_curve_mapping = default; - this.ptr__pad2 = default; + this.curve_mapping = default; + this._pad2 = default; } - public ColorManagedViewSettings(int flag, char[] _pad, char[] look, char[] view_transform, float exposure, float gamma, float temperature, float tint, CurveMapping ptr_curve_mapping, object ptr__pad2) { + public ColorManagedViewSettings(int flag, char[] _pad, char[] look, char[] view_transform, float exposure, float gamma, float temperature, float tint, CurveMapping curve_mapping, object _pad2) { this.flag = flag; this._pad = _pad; this.look = look; @@ -56,8 +56,8 @@ namespace BlendFile.DNA { this.gamma = gamma; this.temperature = temperature; this.tint = tint; - this.ptr_curve_mapping = ptr_curve_mapping; - this.ptr__pad2 = ptr__pad2; + this.curve_mapping = curve_mapping; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/ColorMapping.cs b/BlendFile/DNA/ColorMapping.cs index b0a73b8..adac226 100644 --- a/BlendFile/DNA/ColorMapping.cs +++ b/BlendFile/DNA/ColorMapping.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(636, "ColorMapping", 816)] - public struct ColorMapping { - [DNAFieldAttribute(0, "ColorBand", "coba", "ColorBand", 776, false, 0)] + public class ColorMapping { + [DNAFieldAttribute(776, "ColorBand", 0, "coba", "ColorBand", false, 0)] public ColorBand coba; - [DNAFieldAttribute(1, "float", "bright", "float", 4, false, 776)] + [DNAFieldAttribute(4, "float", 1, "bright", "float", false, 776)] public float bright; - [DNAFieldAttribute(2, "float", "contrast", "float", 4, false, 780)] + [DNAFieldAttribute(4, "float", 2, "contrast", "float", false, 780)] public float contrast; - [DNAFieldAttribute(3, "float", "saturation", "float", 4, false, 784)] + [DNAFieldAttribute(4, "float", 3, "saturation", "float", false, 784)] public float saturation; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 788)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 788)] public int flag; - [DNAFieldAttribute(5, "float", "blend_color[3]", "System.Single[]", 12, false, 792)] + [DNAFieldAttribute(12, "float", 5, "blend_color[3]", "System.Single[]", false, 792)] public float[] blend_color = new System.Single[3]; - [DNAFieldAttribute(6, "float", "blend_factor", "float", 4, false, 804)] + [DNAFieldAttribute(4, "float", 6, "blend_factor", "float", false, 804)] public float blend_factor; - [DNAFieldAttribute(7, "int", "blend_type", "int", 4, false, 808)] + [DNAFieldAttribute(4, "int", 7, "blend_type", "int", false, 808)] public int blend_type; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 812)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 812)] public char[] _pad = new System.Char[4]; public ColorMapping() { this.coba = default; diff --git a/BlendFile/DNA/ColorMixVars.cs b/BlendFile/DNA/ColorMixVars.cs index ffe3c4f..792d8cc 100644 --- a/BlendFile/DNA/ColorMixVars.cs +++ b/BlendFile/DNA/ColorMixVars.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(903, "ColorMixVars", 8)] - public struct ColorMixVars { - [DNAFieldAttribute(0, "int", "blend_effect", "int", 4, false, 0)] + public class ColorMixVars { + [DNAFieldAttribute(4, "int", 0, "blend_effect", "int", false, 0)] public int blend_effect; - [DNAFieldAttribute(1, "float", "factor", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "factor", "float", false, 4)] public float factor; public ColorMixVars() { this.blend_effect = default; diff --git a/BlendFile/DNA/ColorizeShaderFxData.cs b/BlendFile/DNA/ColorizeShaderFxData.cs index 6c6f8cb..de10dbf 100644 --- a/BlendFile/DNA/ColorizeShaderFxData.cs +++ b/BlendFile/DNA/ColorizeShaderFxData.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(918, "ColorizeShaderFxData", 192)] - public struct ColorizeShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class ColorizeShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "int", "mode", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 1, "mode", "int", false, 104)] public int mode; - [DNAFieldAttribute(2, "float", "low_color[4]", "System.Single[]", 16, false, 108)] + [DNAFieldAttribute(16, "float", 2, "low_color[4]", "System.Single[]", false, 108)] public float[] low_color = new System.Single[4]; - [DNAFieldAttribute(3, "float", "high_color[4]", "System.Single[]", 16, false, 124)] + [DNAFieldAttribute(16, "float", 3, "high_color[4]", "System.Single[]", false, 124)] public float[] high_color = new System.Single[4]; - [DNAFieldAttribute(4, "float", "factor", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 4, "factor", "float", false, 140)] public float factor; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 144)] public int flag; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 148)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 152)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 7, "runtime", "ShaderFxData_Runtime", false, 152)] public ShaderFxData_Runtime runtime; public ColorizeShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/ConsoleLine.cs b/BlendFile/DNA/ConsoleLine.cs index 7210eb4..934db46 100644 --- a/BlendFile/DNA/ConsoleLine.cs +++ b/BlendFile/DNA/ConsoleLine.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(959, "ConsoleLine", 40)] public class ConsoleLine { - [DNAFieldAttribute(0, "ConsoleLine", "*next", "ConsoleLine", 8, true, 0)] - public ConsoleLine ptr_next; - [DNAFieldAttribute(1, "ConsoleLine", "*prev", "ConsoleLine", 8, true, 8)] - public ConsoleLine ptr_prev; - [DNAFieldAttribute(2, "int", "len_alloc", "int", 4, false, 16)] + [DNAFieldAttribute(8, "ConsoleLine", 0, "*next", "ConsoleLine", true, 0)] + public ConsoleLine next; + [DNAFieldAttribute(8, "ConsoleLine", 1, "*prev", "ConsoleLine", true, 8)] + public ConsoleLine prev; + [DNAFieldAttribute(4, "int", 2, "len_alloc", "int", false, 16)] public int len_alloc; - [DNAFieldAttribute(3, "int", "len", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "len", "int", false, 20)] public int len; - [DNAFieldAttribute(4, "char", "*line", "char", 8, true, 24)] - public char ptr_line; - [DNAFieldAttribute(5, "int", "cursor", "int", 4, false, 32)] + [DNAFieldAttribute(8, "char", 4, "*line", "char", true, 24)] + public char line; + [DNAFieldAttribute(4, "int", 5, "cursor", "int", false, 32)] public int cursor; - [DNAFieldAttribute(6, "int", "type", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 6, "type", "int", false, 36)] public int type; public ConsoleLine() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.len_alloc = default; this.len = default; - this.ptr_line = default; + this.line = default; this.cursor = default; this.type = default; } - public ConsoleLine(ConsoleLine ptr_next, ConsoleLine ptr_prev, int len_alloc, int len, char ptr_line, int cursor, int type) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public ConsoleLine(ConsoleLine next, ConsoleLine prev, int len_alloc, int len, char line, int cursor, int type) { + this.next = next; + this.prev = prev; this.len_alloc = len_alloc; this.len = len; - this.ptr_line = ptr_line; + this.line = line; this.cursor = cursor; this.type = type; } diff --git a/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs b/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs index c2da208..45ca23c 100644 --- a/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs +++ b/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(500, "CorrectiveSmoothDeltaCache", 24)] public class CorrectiveSmoothDeltaCache { - [DNAFieldAttribute(1, "int", "deltas_num", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 1, "deltas_num", "int", false, 0)] public int deltas_num; - [DNAFieldAttribute(2, "float", "lambda", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "lambda", "float", false, 4)] public float lambda; - [DNAFieldAttribute(3, "float", "scale", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 3, "scale", "float", false, 8)] public float scale; - [DNAFieldAttribute(4, "short", "repeat", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 4, "repeat", "short", false, 12)] public short repeat; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 14)] public short flag; - [DNAFieldAttribute(6, "char", "smooth_type", "char", 1, false, 16)] + [DNAFieldAttribute(1, "char", 6, "smooth_type", "char", false, 16)] public char smooth_type; - [DNAFieldAttribute(7, "char", "rest_source", "char", 1, false, 17)] + [DNAFieldAttribute(1, "char", 7, "rest_source", "char", false, 17)] public char rest_source; - [DNAFieldAttribute(8, "char", "_pad[6]", "System.Char[]", 6, false, 18)] + [DNAFieldAttribute(6, "char", 8, "_pad[6]", "System.Char[]", false, 18)] public char[] _pad = new System.Char[6]; public CorrectiveSmoothDeltaCache() { this.deltas_num = default; diff --git a/BlendFile/DNA/CorrectiveSmoothModifierData.cs b/BlendFile/DNA/CorrectiveSmoothModifierData.cs index ea495be..a567e48 100644 --- a/BlendFile/DNA/CorrectiveSmoothModifierData.cs +++ b/BlendFile/DNA/CorrectiveSmoothModifierData.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(501, "CorrectiveSmoothModifierData", 240)] public class CorrectiveSmoothModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(2, "int", "bind_coords_num", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 2, "bind_coords_num", "int", false, 120)] public int bind_coords_num; - [DNAFieldAttribute(3, "float", "lambda", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 3, "lambda", "float", false, 124)] public float lambda; - [DNAFieldAttribute(4, "float", "scale", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 4, "scale", "float", false, 128)] public float scale; - [DNAFieldAttribute(5, "short", "repeat", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 5, "repeat", "short", false, 132)] public short repeat; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 134)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 134)] public short flag; - [DNAFieldAttribute(7, "char", "smooth_type", "char", 1, false, 136)] + [DNAFieldAttribute(1, "char", 7, "smooth_type", "char", false, 136)] public char smooth_type; - [DNAFieldAttribute(8, "char", "rest_source", "char", 1, false, 137)] + [DNAFieldAttribute(1, "char", 8, "rest_source", "char", false, 137)] public char rest_source; - [DNAFieldAttribute(9, "char", "_pad[6]", "System.Char[]", 6, false, 138)] + [DNAFieldAttribute(6, "char", 9, "_pad[6]", "System.Char[]", false, 138)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(10, "char", "defgrp_name[64]", "System.Char[]", 64, false, 144)] + [DNAFieldAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", false, 144)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(11, "CorrectiveSmoothDeltaCache", "delta_cache", "CorrectiveSmoothDeltaCache", 32, false, 208)] + [DNAFieldAttribute(32, "CorrectiveSmoothDeltaCache", 11, "delta_cache", "CorrectiveSmoothDeltaCache", false, 208)] public CorrectiveSmoothDeltaCache delta_cache; public CorrectiveSmoothModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/CryptomatteEntry.cs b/BlendFile/DNA/CryptomatteEntry.cs index 04a9500..6e9ef3c 100644 --- a/BlendFile/DNA/CryptomatteEntry.cs +++ b/BlendFile/DNA/CryptomatteEntry.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(669, "CryptomatteEntry", 88)] public class CryptomatteEntry { - [DNAFieldAttribute(0, "CryptomatteEntry", "*next", "CryptomatteEntry", 8, true, 0)] - public CryptomatteEntry ptr_next; - [DNAFieldAttribute(1, "CryptomatteEntry", "*prev", "CryptomatteEntry", 8, true, 8)] - public CryptomatteEntry ptr_prev; - [DNAFieldAttribute(2, "float", "encoded_hash", "float", 4, false, 16)] + [DNAFieldAttribute(8, "CryptomatteEntry", 0, "*next", "CryptomatteEntry", true, 0)] + public CryptomatteEntry next; + [DNAFieldAttribute(8, "CryptomatteEntry", 1, "*prev", "CryptomatteEntry", true, 8)] + public CryptomatteEntry prev; + [DNAFieldAttribute(4, "float", 2, "encoded_hash", "float", false, 16)] public float encoded_hash; - [DNAFieldAttribute(3, "char", "name[64]", "System.Char[]", 64, false, 20)] + [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 20)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 84)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 84)] public char[] _pad = new System.Char[4]; public CryptomatteEntry() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.encoded_hash = default; this.name = default; this._pad = default; } - public CryptomatteEntry(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, float encoded_hash, char[] name, char[] _pad) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public CryptomatteEntry(CryptomatteEntry next, CryptomatteEntry prev, float encoded_hash, char[] name, char[] _pad) { + this.next = next; + this.prev = prev; this.encoded_hash = encoded_hash; this.name = name; this._pad = _pad; diff --git a/BlendFile/DNA/CryptomatteLayer.cs b/BlendFile/DNA/CryptomatteLayer.cs index 614fd5d..cf93ae6 100644 --- a/BlendFile/DNA/CryptomatteLayer.cs +++ b/BlendFile/DNA/CryptomatteLayer.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(670, "CryptomatteLayer", 80)] public class CryptomatteLayer { - [DNAFieldAttribute(0, "CryptomatteEntry", "*next", "CryptomatteEntry", 8, true, 0)] - public CryptomatteEntry ptr_next; - [DNAFieldAttribute(1, "CryptomatteEntry", "*prev", "CryptomatteEntry", 8, true, 8)] - public CryptomatteEntry ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "CryptomatteEntry", 0, "*next", "CryptomatteEntry", true, 0)] + public CryptomatteEntry next; + [DNAFieldAttribute(8, "CryptomatteEntry", 1, "*prev", "CryptomatteEntry", true, 8)] + public CryptomatteEntry prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; public CryptomatteLayer() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; } - public CryptomatteLayer(CryptomatteEntry ptr_next, CryptomatteEntry ptr_prev, char[] name) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public CryptomatteLayer(CryptomatteEntry next, CryptomatteEntry prev, char[] name) { + this.next = next; + this.prev = prev; this.name = name; } } diff --git a/BlendFile/DNA/Curve.cs b/BlendFile/DNA/Curve.cs index c8055b7..e3f4cc7 100644 --- a/BlendFile/DNA/Curve.cs +++ b/BlendFile/DNA/Curve.cs @@ -15,172 +15,172 @@ namespace BlendFile.DNA { [DNAClassAttribute(210, "Curve", 640)] public class Curve { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "ListBase", "nurb", "ListBase", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "ListBase", 2, "nurb", "ListBase", false, 216)] public ListBase nurb; - [DNAFieldAttribute(3, "EditNurb", "*editnurb", "EditNurb", 8, true, 232)] - public EditNurb ptr_editnurb; - [DNAFieldAttribute(4, "Object", "*bevobj", "Object", 8, true, 240)] - public Object ptr_bevobj; - [DNAFieldAttribute(5, "Object", "*taperobj", "Object", 8, true, 248)] - public Object ptr_taperobj; - [DNAFieldAttribute(6, "Object", "*textoncurve", "Object", 8, true, 256)] - public Object ptr_textoncurve; - [DNAFieldAttribute(7, "Ipo", "*ipo", "Ipo", 8, true, 264)] - public Ipo ptr_ipo; - [DNAFieldAttribute(8, "Key", "*key", "Key", 8, true, 272)] - public Key ptr_key; - [DNAFieldAttribute(9, "Material", "**mat", "Material", 8, true, 280)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(10, "CurveProfile", "*bevel_profile", "CurveProfile", 8, true, 288)] - public CurveProfile ptr_bevel_profile; - [DNAFieldAttribute(11, "float", "loc[3]", "System.Single[]", 12, false, 296)] + [DNAFieldAttribute(8, "EditNurb", 3, "*editnurb", "EditNurb", true, 232)] + public EditNurb editnurb; + [DNAFieldAttribute(8, "Object", 4, "*bevobj", "Object", true, 240)] + public Object bevobj; + [DNAFieldAttribute(8, "Object", 5, "*taperobj", "Object", true, 248)] + public Object taperobj; + [DNAFieldAttribute(8, "Object", 6, "*textoncurve", "Object", true, 256)] + public Object textoncurve; + [DNAFieldAttribute(8, "Ipo", 7, "*ipo", "Ipo", true, 264)] + public Ipo ipo; + [DNAFieldAttribute(8, "Key", 8, "*key", "Key", true, 272)] + public Key key; + [DNAFieldAttribute(8, "Material", 9, "**mat", "Material", true, 280)] + public Material mat; + [DNAFieldAttribute(8, "CurveProfile", 10, "*bevel_profile", "CurveProfile", true, 288)] + public CurveProfile bevel_profile; + [DNAFieldAttribute(12, "float", 11, "loc[3]", "System.Single[]", false, 296)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", "size[3]", "System.Single[]", 12, false, 308)] + [DNAFieldAttribute(12, "float", 12, "size[3]", "System.Single[]", false, 308)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(13, "short", "type", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 13, "type", "short", false, 320)] public short type; - [DNAFieldAttribute(14, "char", "texflag", "char", 1, false, 322)] + [DNAFieldAttribute(1, "char", 14, "texflag", "char", false, 322)] public char texflag; - [DNAFieldAttribute(15, "char", "_pad0[7]", "System.Char[]", 7, false, 323)] + [DNAFieldAttribute(7, "char", 15, "_pad0[7]", "System.Char[]", false, 323)] public char[] _pad0 = new System.Char[7]; - [DNAFieldAttribute(16, "short", "twist_mode", "short", 2, false, 330)] + [DNAFieldAttribute(2, "short", 16, "twist_mode", "short", false, 330)] public short twist_mode; - [DNAFieldAttribute(17, "float", "twist_smooth", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 17, "twist_smooth", "float", false, 332)] public float twist_smooth; - [DNAFieldAttribute(18, "float", "smallcaps_scale", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 18, "smallcaps_scale", "float", false, 336)] public float smallcaps_scale; - [DNAFieldAttribute(19, "int", "pathlen", "int", 4, false, 340)] + [DNAFieldAttribute(4, "int", 19, "pathlen", "int", false, 340)] public int pathlen; - [DNAFieldAttribute(20, "short", "bevresol", "short", 2, false, 344)] + [DNAFieldAttribute(2, "short", 20, "bevresol", "short", false, 344)] public short bevresol; - [DNAFieldAttribute(21, "short", "totcol", "short", 2, false, 346)] + [DNAFieldAttribute(2, "short", 21, "totcol", "short", false, 346)] public short totcol; - [DNAFieldAttribute(22, "int", "flag", "int", 4, false, 348)] + [DNAFieldAttribute(4, "int", 22, "flag", "int", false, 348)] public int flag; - [DNAFieldAttribute(23, "float", "width", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 23, "width", "float", false, 352)] public float width; - [DNAFieldAttribute(24, "float", "ext1", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 24, "ext1", "float", false, 356)] public float ext1; - [DNAFieldAttribute(25, "float", "ext2", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 25, "ext2", "float", false, 360)] public float ext2; - [DNAFieldAttribute(26, "short", "resolu", "short", 2, false, 364)] + [DNAFieldAttribute(2, "short", 26, "resolu", "short", false, 364)] public short resolu; - [DNAFieldAttribute(27, "short", "resolv", "short", 2, false, 366)] + [DNAFieldAttribute(2, "short", 27, "resolv", "short", false, 366)] public short resolv; - [DNAFieldAttribute(28, "short", "resolu_ren", "short", 2, false, 368)] + [DNAFieldAttribute(2, "short", 28, "resolu_ren", "short", false, 368)] public short resolu_ren; - [DNAFieldAttribute(29, "short", "resolv_ren", "short", 2, false, 370)] + [DNAFieldAttribute(2, "short", 29, "resolv_ren", "short", false, 370)] public short resolv_ren; - [DNAFieldAttribute(30, "int", "actnu", "int", 4, false, 372)] + [DNAFieldAttribute(4, "int", 30, "actnu", "int", false, 372)] public int actnu; - [DNAFieldAttribute(31, "int", "actvert", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 31, "actvert", "int", false, 376)] public int actvert; - [DNAFieldAttribute(32, "char", "overflow", "char", 1, false, 380)] + [DNAFieldAttribute(1, "char", 32, "overflow", "char", false, 380)] public char overflow; - [DNAFieldAttribute(33, "char", "spacemode", "char", 1, false, 381)] + [DNAFieldAttribute(1, "char", 33, "spacemode", "char", false, 381)] public char spacemode; - [DNAFieldAttribute(34, "char", "align_y", "char", 1, false, 382)] + [DNAFieldAttribute(1, "char", 34, "align_y", "char", false, 382)] public char align_y; - [DNAFieldAttribute(35, "char", "bevel_mode", "char", 1, false, 383)] + [DNAFieldAttribute(1, "char", 35, "bevel_mode", "char", false, 383)] public char bevel_mode; - [DNAFieldAttribute(36, "char", "taper_radius_mode", "char", 1, false, 384)] + [DNAFieldAttribute(1, "char", 36, "taper_radius_mode", "char", false, 384)] public char taper_radius_mode; - [DNAFieldAttribute(37, "char", "_pad", "char", 1, false, 385)] + [DNAFieldAttribute(1, "char", 37, "_pad", "char", false, 385)] public char _pad; - [DNAFieldAttribute(38, "short", "lines", "short", 2, false, 386)] + [DNAFieldAttribute(2, "short", 38, "lines", "short", false, 386)] public short lines; - [DNAFieldAttribute(39, "float", "spacing", "float", 4, false, 388)] + [DNAFieldAttribute(4, "float", 39, "spacing", "float", false, 388)] public float spacing; - [DNAFieldAttribute(40, "float", "linedist", "float", 4, false, 392)] + [DNAFieldAttribute(4, "float", 40, "linedist", "float", false, 392)] public float linedist; - [DNAFieldAttribute(41, "float", "shear", "float", 4, false, 396)] + [DNAFieldAttribute(4, "float", 41, "shear", "float", false, 396)] public float shear; - [DNAFieldAttribute(42, "float", "fsize", "float", 4, false, 400)] + [DNAFieldAttribute(4, "float", 42, "fsize", "float", false, 400)] public float fsize; - [DNAFieldAttribute(43, "float", "wordspace", "float", 4, false, 404)] + [DNAFieldAttribute(4, "float", 43, "wordspace", "float", false, 404)] public float wordspace; - [DNAFieldAttribute(44, "float", "ulpos", "float", 4, false, 408)] + [DNAFieldAttribute(4, "float", 44, "ulpos", "float", false, 408)] public float ulpos; - [DNAFieldAttribute(45, "float", "ulheight", "float", 4, false, 412)] + [DNAFieldAttribute(4, "float", 45, "ulheight", "float", false, 412)] public float ulheight; - [DNAFieldAttribute(46, "float", "xof", "float", 4, false, 416)] + [DNAFieldAttribute(4, "float", 46, "xof", "float", false, 416)] public float xof; - [DNAFieldAttribute(47, "float", "yof", "float", 4, false, 420)] + [DNAFieldAttribute(4, "float", 47, "yof", "float", false, 420)] public float yof; - [DNAFieldAttribute(48, "float", "linewidth", "float", 4, false, 424)] + [DNAFieldAttribute(4, "float", 48, "linewidth", "float", false, 424)] public float linewidth; - [DNAFieldAttribute(49, "int", "pos", "int", 4, false, 428)] + [DNAFieldAttribute(4, "int", 49, "pos", "int", false, 428)] public int pos; - [DNAFieldAttribute(50, "int", "selstart", "int", 4, false, 432)] + [DNAFieldAttribute(4, "int", 50, "selstart", "int", false, 432)] public int selstart; - [DNAFieldAttribute(51, "int", "selend", "int", 4, false, 436)] + [DNAFieldAttribute(4, "int", 51, "selend", "int", false, 436)] public int selend; - [DNAFieldAttribute(52, "int", "len_wchar", "int", 4, false, 440)] + [DNAFieldAttribute(4, "int", 52, "len_wchar", "int", false, 440)] public int len_wchar; - [DNAFieldAttribute(53, "int", "len", "int", 4, false, 444)] + [DNAFieldAttribute(4, "int", 53, "len", "int", false, 444)] public int len; - [DNAFieldAttribute(54, "char", "*str", "char", 8, true, 448)] - public char ptr_str; - [DNAFieldAttribute(55, "EditFont", "*editfont", "EditFont", 8, true, 456)] - public EditFont ptr_editfont; - [DNAFieldAttribute(56, "char", "family[64]", "System.Char[]", 64, false, 464)] + [DNAFieldAttribute(8, "char", 54, "*str", "char", true, 448)] + public char str; + [DNAFieldAttribute(8, "EditFont", 55, "*editfont", "EditFont", true, 456)] + public EditFont editfont; + [DNAFieldAttribute(64, "char", 56, "family[64]", "System.Char[]", false, 464)] public char[] family = new System.Char[64]; - [DNAFieldAttribute(57, "VFont", "*vfont", "VFont", 8, true, 528)] - public VFont ptr_vfont; - [DNAFieldAttribute(58, "VFont", "*vfontb", "VFont", 8, true, 536)] - public VFont ptr_vfontb; - [DNAFieldAttribute(59, "VFont", "*vfonti", "VFont", 8, true, 544)] - public VFont ptr_vfonti; - [DNAFieldAttribute(60, "VFont", "*vfontbi", "VFont", 8, true, 552)] - public VFont ptr_vfontbi; - [DNAFieldAttribute(61, "TextBox", "*tb", "TextBox", 8, true, 560)] - public TextBox ptr_tb; - [DNAFieldAttribute(62, "int", "totbox", "int", 4, false, 568)] + [DNAFieldAttribute(8, "VFont", 57, "*vfont", "VFont", true, 528)] + public VFont vfont; + [DNAFieldAttribute(8, "VFont", 58, "*vfontb", "VFont", true, 536)] + public VFont vfontb; + [DNAFieldAttribute(8, "VFont", 59, "*vfonti", "VFont", true, 544)] + public VFont vfonti; + [DNAFieldAttribute(8, "VFont", 60, "*vfontbi", "VFont", true, 552)] + public VFont vfontbi; + [DNAFieldAttribute(8, "TextBox", 61, "*tb", "TextBox", true, 560)] + public TextBox tb; + [DNAFieldAttribute(4, "int", 62, "totbox", "int", false, 568)] public int totbox; - [DNAFieldAttribute(63, "int", "actbox", "int", 4, false, 572)] + [DNAFieldAttribute(4, "int", 63, "actbox", "int", false, 572)] public int actbox; - [DNAFieldAttribute(64, "CharInfo", "*strinfo", "CharInfo", 8, true, 576)] - public CharInfo ptr_strinfo; - [DNAFieldAttribute(65, "CharInfo", "curinfo", "CharInfo", 8, false, 584)] + [DNAFieldAttribute(8, "CharInfo", 64, "*strinfo", "CharInfo", true, 576)] + public CharInfo strinfo; + [DNAFieldAttribute(8, "CharInfo", 65, "curinfo", "CharInfo", false, 584)] public CharInfo curinfo; - [DNAFieldAttribute(66, "float", "ctime", "float", 4, false, 592)] + [DNAFieldAttribute(4, "float", 66, "ctime", "float", false, 592)] public float ctime; - [DNAFieldAttribute(67, "float", "bevfac1", "float", 4, false, 596)] + [DNAFieldAttribute(4, "float", 67, "bevfac1", "float", false, 596)] public float bevfac1; - [DNAFieldAttribute(68, "float", "bevfac2", "float", 4, false, 600)] + [DNAFieldAttribute(4, "float", 68, "bevfac2", "float", false, 600)] public float bevfac2; - [DNAFieldAttribute(69, "char", "bevfac1_mapping", "char", 1, false, 604)] + [DNAFieldAttribute(1, "char", 69, "bevfac1_mapping", "char", false, 604)] public char bevfac1_mapping; - [DNAFieldAttribute(70, "char", "bevfac2_mapping", "char", 1, false, 605)] + [DNAFieldAttribute(1, "char", 70, "bevfac2_mapping", "char", false, 605)] public char bevfac2_mapping; - [DNAFieldAttribute(71, "char", "_pad2[6]", "System.Char[]", 6, false, 606)] + [DNAFieldAttribute(6, "char", 71, "_pad2[6]", "System.Char[]", false, 606)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(72, "float", "fsize_realtime", "float", 4, false, 612)] + [DNAFieldAttribute(4, "float", 72, "fsize_realtime", "float", false, 612)] public float fsize_realtime; - [DNAFieldAttribute(73, "Curves", "*curve_eval", "Curves", 8, true, 616)] - public Curves ptr_curve_eval; - [DNAFieldAttribute(74, "char", "edit_data_from_original", "char", 1, false, 624)] + [DNAFieldAttribute(8, "Curves", 73, "*curve_eval", "Curves", true, 616)] + public Curves curve_eval; + [DNAFieldAttribute(1, "char", 74, "edit_data_from_original", "char", false, 624)] public char edit_data_from_original; - [DNAFieldAttribute(75, "char", "_pad3[7]", "System.Char[]", 7, false, 625)] + [DNAFieldAttribute(7, "char", 75, "_pad3[7]", "System.Char[]", false, 625)] public char[] _pad3 = new System.Char[7]; - [DNAFieldAttribute(76, "void", "*batch_cache", "void", 8, true, 632)] - public object ptr_batch_cache; + [DNAFieldAttribute(8, "void", 76, "*batch_cache", "void", true, 632)] + public object batch_cache; public Curve() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.nurb = default; - this.ptr_editnurb = default; - this.ptr_bevobj = default; - this.ptr_taperobj = default; - this.ptr_textoncurve = default; - this.ptr_ipo = default; - this.ptr_key = default; - this.ptr_ptr_mat = default; - this.ptr_bevel_profile = default; + this.editnurb = default; + this.bevobj = default; + this.taperobj = default; + this.textoncurve = default; + this.ipo = default; + this.key = default; + this.mat = default; + this.bevel_profile = default; this.loc = default; this.size = default; this.type = default; @@ -224,17 +224,17 @@ namespace BlendFile.DNA { this.selend = default; this.len_wchar = default; this.len = default; - this.ptr_str = default; - this.ptr_editfont = default; + this.str = default; + this.editfont = default; this.family = default; - this.ptr_vfont = default; - this.ptr_vfontb = default; - this.ptr_vfonti = default; - this.ptr_vfontbi = default; - this.ptr_tb = default; + this.vfont = default; + this.vfontb = default; + this.vfonti = default; + this.vfontbi = default; + this.tb = default; this.totbox = default; this.actbox = default; - this.ptr_strinfo = default; + this.strinfo = default; this.curinfo = default; this.ctime = default; this.bevfac1 = default; @@ -243,23 +243,23 @@ namespace BlendFile.DNA { this.bevfac2_mapping = default; this._pad2 = default; this.fsize_realtime = default; - this.ptr_curve_eval = default; + this.curve_eval = default; this.edit_data_from_original = default; this._pad3 = default; - this.ptr_batch_cache = default; + this.batch_cache = default; } public Curve( ID id, - AnimData ptr_adt, + AnimData adt, ListBase nurb, - EditNurb ptr_editnurb, - Object ptr_bevobj, - Object ptr_taperobj, - Object ptr_textoncurve, - Ipo ptr_ipo, - Key ptr_key, - Material ptr_ptr_mat, - CurveProfile ptr_bevel_profile, + EditNurb editnurb, + Object bevobj, + Object taperobj, + Object textoncurve, + Ipo ipo, + Key key, + Material mat, + CurveProfile bevel_profile, float[] loc, float[] size, short type, @@ -303,17 +303,17 @@ namespace BlendFile.DNA { int selend, int len_wchar, int len, - char ptr_str, - EditFont ptr_editfont, + char str, + EditFont editfont, char[] family, - VFont ptr_vfont, - VFont ptr_vfontb, - VFont ptr_vfonti, - VFont ptr_vfontbi, - TextBox ptr_tb, + VFont vfont, + VFont vfontb, + VFont vfonti, + VFont vfontbi, + TextBox tb, int totbox, int actbox, - CharInfo ptr_strinfo, + CharInfo strinfo, CharInfo curinfo, float ctime, float bevfac1, @@ -322,21 +322,21 @@ namespace BlendFile.DNA { char bevfac2_mapping, char[] _pad2, float fsize_realtime, - Curves ptr_curve_eval, + Curves curve_eval, char edit_data_from_original, char[] _pad3, - object ptr_batch_cache) { + object batch_cache) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.nurb = nurb; - this.ptr_editnurb = ptr_editnurb; - this.ptr_bevobj = ptr_bevobj; - this.ptr_taperobj = ptr_taperobj; - this.ptr_textoncurve = ptr_textoncurve; - this.ptr_ipo = ptr_ipo; - this.ptr_key = ptr_key; - this.ptr_ptr_mat = ptr_ptr_mat; - this.ptr_bevel_profile = ptr_bevel_profile; + this.editnurb = editnurb; + this.bevobj = bevobj; + this.taperobj = taperobj; + this.textoncurve = textoncurve; + this.ipo = ipo; + this.key = key; + this.mat = mat; + this.bevel_profile = bevel_profile; this.loc = loc; this.size = size; this.type = type; @@ -380,17 +380,17 @@ namespace BlendFile.DNA { this.selend = selend; this.len_wchar = len_wchar; this.len = len; - this.ptr_str = ptr_str; - this.ptr_editfont = ptr_editfont; + this.str = str; + this.editfont = editfont; this.family = family; - this.ptr_vfont = ptr_vfont; - this.ptr_vfontb = ptr_vfontb; - this.ptr_vfonti = ptr_vfonti; - this.ptr_vfontbi = ptr_vfontbi; - this.ptr_tb = ptr_tb; + this.vfont = vfont; + this.vfontb = vfontb; + this.vfonti = vfonti; + this.vfontbi = vfontbi; + this.tb = tb; this.totbox = totbox; this.actbox = actbox; - this.ptr_strinfo = ptr_strinfo; + this.strinfo = strinfo; this.curinfo = curinfo; this.ctime = ctime; this.bevfac1 = bevfac1; @@ -399,10 +399,10 @@ namespace BlendFile.DNA { this.bevfac2_mapping = bevfac2_mapping; this._pad2 = _pad2; this.fsize_realtime = fsize_realtime; - this.ptr_curve_eval = ptr_curve_eval; + this.curve_eval = curve_eval; this.edit_data_from_original = edit_data_from_original; this._pad3 = _pad3; - this.ptr_batch_cache = ptr_batch_cache; + this.batch_cache = batch_cache; } } } diff --git a/BlendFile/DNA/CurveMap.cs b/BlendFile/DNA/CurveMap.cs index 18e6aaf..a4e71c4 100644 --- a/BlendFile/DNA/CurveMap.cs +++ b/BlendFile/DNA/CurveMap.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(165, "CurveMap", 80)] public class CurveMap { - [DNAFieldAttribute(0, "short", "totpoint", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "totpoint", "short", false, 0)] public short totpoint; - [DNAFieldAttribute(1, "short", "flag", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "flag", "short", false, 2)] public short flag; - [DNAFieldAttribute(2, "float", "range", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "range", "float", false, 4)] public float range; - [DNAFieldAttribute(3, "float", "mintable", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 3, "mintable", "float", false, 8)] public float mintable; - [DNAFieldAttribute(4, "float", "maxtable", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 4, "maxtable", "float", false, 12)] public float maxtable; - [DNAFieldAttribute(5, "float", "ext_in[2]", "System.Single[]", 8, false, 16)] + [DNAFieldAttribute(8, "float", 5, "ext_in[2]", "System.Single[]", false, 16)] public float[] ext_in = new System.Single[2]; - [DNAFieldAttribute(6, "float", "ext_out[2]", "System.Single[]", 8, false, 24)] + [DNAFieldAttribute(8, "float", 6, "ext_out[2]", "System.Single[]", false, 24)] public float[] ext_out = new System.Single[2]; - [DNAFieldAttribute(7, "CurveMapPoint", "*curve", "CurveMapPoint", 8, true, 32)] - public CurveMapPoint ptr_curve; - [DNAFieldAttribute(8, "CurveMapPoint", "*table", "CurveMapPoint", 8, true, 40)] - public CurveMapPoint ptr_table; - [DNAFieldAttribute(9, "CurveMapPoint", "*premultable", "CurveMapPoint", 8, true, 48)] - public CurveMapPoint ptr_premultable; - [DNAFieldAttribute(10, "float", "premul_ext_in[2]", "System.Single[]", 8, false, 56)] + [DNAFieldAttribute(8, "CurveMapPoint", 7, "*curve", "CurveMapPoint", true, 32)] + public CurveMapPoint curve; + [DNAFieldAttribute(8, "CurveMapPoint", 8, "*table", "CurveMapPoint", true, 40)] + public CurveMapPoint table; + [DNAFieldAttribute(8, "CurveMapPoint", 9, "*premultable", "CurveMapPoint", true, 48)] + public CurveMapPoint premultable; + [DNAFieldAttribute(8, "float", 10, "premul_ext_in[2]", "System.Single[]", false, 56)] public float[] premul_ext_in = new System.Single[2]; - [DNAFieldAttribute(11, "float", "premul_ext_out[2]", "System.Single[]", 8, false, 64)] + [DNAFieldAttribute(8, "float", 11, "premul_ext_out[2]", "System.Single[]", false, 64)] public float[] premul_ext_out = new System.Single[2]; - [DNAFieldAttribute(12, "short", "default_handle_type", "short", 2, false, 72)] + [DNAFieldAttribute(2, "short", 12, "default_handle_type", "short", false, 72)] public short default_handle_type; - [DNAFieldAttribute(13, "char", "_pad[6]", "System.Char[]", 6, false, 74)] + [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 74)] public char[] _pad = new System.Char[6]; public CurveMap() { this.totpoint = default; @@ -51,15 +51,15 @@ namespace BlendFile.DNA { this.maxtable = default; this.ext_in = default; this.ext_out = default; - this.ptr_curve = default; - this.ptr_table = default; - this.ptr_premultable = default; + this.curve = default; + this.table = default; + this.premultable = default; this.premul_ext_in = default; this.premul_ext_out = default; this.default_handle_type = default; this._pad = default; } - public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint ptr_curve, CurveMapPoint ptr_table, CurveMapPoint ptr_premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) { + public CurveMap(short totpoint, short flag, float range, float mintable, float maxtable, float[] ext_in, float[] ext_out, CurveMapPoint curve, CurveMapPoint table, CurveMapPoint premultable, float[] premul_ext_in, float[] premul_ext_out, short default_handle_type, char[] _pad) { this.totpoint = totpoint; this.flag = flag; this.range = range; @@ -67,9 +67,9 @@ namespace BlendFile.DNA { this.maxtable = maxtable; this.ext_in = ext_in; this.ext_out = ext_out; - this.ptr_curve = ptr_curve; - this.ptr_table = ptr_table; - this.ptr_premultable = ptr_premultable; + this.curve = curve; + this.table = table; + this.premultable = premultable; this.premul_ext_in = premul_ext_in; this.premul_ext_out = premul_ext_out; this.default_handle_type = default_handle_type; diff --git a/BlendFile/DNA/CurveMapPoint.cs b/BlendFile/DNA/CurveMapPoint.cs index 45ddbc6..7ce2259 100644 --- a/BlendFile/DNA/CurveMapPoint.cs +++ b/BlendFile/DNA/CurveMapPoint.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(164, "CurveMapPoint", 12)] - public struct CurveMapPoint { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class CurveMapPoint { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 8)] public short flag; - [DNAFieldAttribute(3, "short", "shorty", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 3, "shorty", "short", false, 10)] public short shorty; public CurveMapPoint() { this.x = default; diff --git a/BlendFile/DNA/CurveMapping.cs b/BlendFile/DNA/CurveMapping.cs index 03e8c9b..6c6e125 100644 --- a/BlendFile/DNA/CurveMapping.cs +++ b/BlendFile/DNA/CurveMapping.cs @@ -14,32 +14,32 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(128, "CurveMapping", 424)] - public struct CurveMapping { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class CurveMapping { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "int", "cur", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "cur", "int", false, 4)] public int cur; - [DNAFieldAttribute(2, "int", "preset", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "preset", "int", false, 8)] public int preset; - [DNAFieldAttribute(3, "int", "changed_timestamp", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "changed_timestamp", "int", false, 12)] public int changed_timestamp; - [DNAFieldAttribute(4, "rctf", "curr", "rctf", 16, false, 16)] + [DNAFieldAttribute(16, "rctf", 4, "curr", "rctf", false, 16)] public rctf curr; - [DNAFieldAttribute(5, "rctf", "clipr", "rctf", 16, false, 32)] + [DNAFieldAttribute(16, "rctf", 5, "clipr", "rctf", false, 32)] public rctf clipr; - [DNAFieldAttribute(6, "CurveMap", "cm[4]", "CurveMap[]", 320, false, 48)] + [DNAFieldAttribute(320, "CurveMap", 6, "cm[4]", "CurveMap[]", false, 48)] public CurveMap[] cm = new CurveMap[4]; - [DNAFieldAttribute(7, "float", "black[3]", "System.Single[]", 12, false, 368)] + [DNAFieldAttribute(12, "float", 7, "black[3]", "System.Single[]", false, 368)] public float[] black = new System.Single[3]; - [DNAFieldAttribute(8, "float", "white[3]", "System.Single[]", 12, false, 380)] + [DNAFieldAttribute(12, "float", 8, "white[3]", "System.Single[]", false, 380)] public float[] white = new System.Single[3]; - [DNAFieldAttribute(9, "float", "bwmul[3]", "System.Single[]", 12, false, 392)] + [DNAFieldAttribute(12, "float", 9, "bwmul[3]", "System.Single[]", false, 392)] public float[] bwmul = new System.Single[3]; - [DNAFieldAttribute(10, "float", "sample[3]", "System.Single[]", 12, false, 404)] + [DNAFieldAttribute(12, "float", 10, "sample[3]", "System.Single[]", false, 404)] public float[] sample = new System.Single[3]; - [DNAFieldAttribute(11, "short", "tone", "short", 2, false, 416)] + [DNAFieldAttribute(2, "short", 11, "tone", "short", false, 416)] public short tone; - [DNAFieldAttribute(12, "char", "_pad[6]", "System.Char[]", 6, false, 418)] + [DNAFieldAttribute(6, "char", 12, "_pad[6]", "System.Char[]", false, 418)] public char[] _pad = new System.Char[6]; public CurveMapping() { this.flag = default; diff --git a/BlendFile/DNA/CurveModifierData.cs b/BlendFile/DNA/CurveModifierData.cs index 8901533..850f6a0 100644 --- a/BlendFile/DNA/CurveModifierData.cs +++ b/BlendFile/DNA/CurveModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(448, "CurveModifierData", 208)] public class CurveModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 128)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "short", "defaxis", "short", 2, false, 192)] + [DNAFieldAttribute(2, "short", 3, "defaxis", "short", false, 192)] public short defaxis; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 196)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 196)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true, 200)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)] + public object _pad1; public CurveModifierData() { this.modifier = default; - this.ptr_object = default; + this.@object = default; this.name = default; this.defaxis = default; this.flag = default; this._pad = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public CurveModifierData(ModifierData modifier, Object ptr_object, char[] name, short defaxis, short flag, char[] _pad, object ptr__pad1) { + public CurveModifierData(ModifierData modifier, Object @object, char[] name, short defaxis, short flag, char[] _pad, object _pad1) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.name = name; this.defaxis = defaxis; this.flag = flag; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/CurvePaintSettings.cs b/BlendFile/DNA/CurvePaintSettings.cs index 6698a41..cf12ac3 100644 --- a/BlendFile/DNA/CurvePaintSettings.cs +++ b/BlendFile/DNA/CurvePaintSettings.cs @@ -14,32 +14,32 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(825, "CurvePaintSettings", 32)] - public struct CurvePaintSettings { - [DNAFieldAttribute(0, "char", "curve_type", "char", 1, false, 0)] + public class CurvePaintSettings { + [DNAFieldAttribute(1, "char", 0, "curve_type", "char", false, 0)] public char curve_type; - [DNAFieldAttribute(1, "char", "flag", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 1)] public char flag; - [DNAFieldAttribute(2, "char", "depth_mode", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "depth_mode", "char", false, 2)] public char depth_mode; - [DNAFieldAttribute(3, "char", "surface_plane", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "surface_plane", "char", false, 3)] public char surface_plane; - [DNAFieldAttribute(4, "char", "fit_method", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 4, "fit_method", "char", false, 4)] public char fit_method; - [DNAFieldAttribute(5, "char", "_pad", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 5, "_pad", "char", false, 5)] public char _pad; - [DNAFieldAttribute(6, "short", "error_threshold", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 6, "error_threshold", "short", false, 6)] public short error_threshold; - [DNAFieldAttribute(7, "float", "radius_min", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 7, "radius_min", "float", false, 8)] public float radius_min; - [DNAFieldAttribute(8, "float", "radius_max", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 8, "radius_max", "float", false, 12)] public float radius_max; - [DNAFieldAttribute(9, "float", "radius_taper_start", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 9, "radius_taper_start", "float", false, 16)] public float radius_taper_start; - [DNAFieldAttribute(10, "float", "radius_taper_end", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 10, "radius_taper_end", "float", false, 20)] public float radius_taper_end; - [DNAFieldAttribute(11, "float", "surface_offset", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 11, "surface_offset", "float", false, 24)] public float surface_offset; - [DNAFieldAttribute(12, "float", "corner_angle", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 12, "corner_angle", "float", false, 28)] public float corner_angle; public CurvePaintSettings() { this.curve_type = default; diff --git a/BlendFile/DNA/CurveProfile.cs b/BlendFile/DNA/CurveProfile.cs index a239dd0..20388e1 100644 --- a/BlendFile/DNA/CurveProfile.cs +++ b/BlendFile/DNA/CurveProfile.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(213, "CurveProfile", 72)] public class CurveProfile { - [DNAFieldAttribute(0, "short", "path_len", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "path_len", "short", false, 0)] public short path_len; - [DNAFieldAttribute(1, "short", "segments_len", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "segments_len", "short", false, 2)] public short segments_len; - [DNAFieldAttribute(2, "int", "preset", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "preset", "int", false, 4)] public int preset; - [DNAFieldAttribute(3, "CurveProfilePoint", "*path", "CurveProfilePoint", 8, true, 8)] - public CurveProfilePoint ptr_path; - [DNAFieldAttribute(4, "CurveProfilePoint", "*table", "CurveProfilePoint", 8, true, 16)] - public CurveProfilePoint ptr_table; - [DNAFieldAttribute(5, "CurveProfilePoint", "*segments", "CurveProfilePoint", 8, true, 24)] - public CurveProfilePoint ptr_segments; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 32)] + [DNAFieldAttribute(8, "CurveProfilePoint", 3, "*path", "CurveProfilePoint", true, 8)] + public CurveProfilePoint path; + [DNAFieldAttribute(8, "CurveProfilePoint", 4, "*table", "CurveProfilePoint", true, 16)] + public CurveProfilePoint table; + [DNAFieldAttribute(8, "CurveProfilePoint", 5, "*segments", "CurveProfilePoint", true, 24)] + public CurveProfilePoint segments; + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 32)] public int flag; - [DNAFieldAttribute(7, "int", "changed_timestamp", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 7, "changed_timestamp", "int", false, 36)] public int changed_timestamp; - [DNAFieldAttribute(8, "rctf", "view_rect", "rctf", 16, false, 40)] + [DNAFieldAttribute(16, "rctf", 8, "view_rect", "rctf", false, 40)] public rctf view_rect; - [DNAFieldAttribute(9, "rctf", "clip_rect", "rctf", 16, false, 56)] + [DNAFieldAttribute(16, "rctf", 9, "clip_rect", "rctf", false, 56)] public rctf clip_rect; public CurveProfile() { this.path_len = default; this.segments_len = default; this.preset = default; - this.ptr_path = default; - this.ptr_table = default; - this.ptr_segments = default; + this.path = default; + this.table = default; + this.segments = default; this.flag = default; this.changed_timestamp = default; this.view_rect = default; this.clip_rect = default; } - public CurveProfile(short path_len, short segments_len, int preset, CurveProfilePoint ptr_path, CurveProfilePoint ptr_table, CurveProfilePoint ptr_segments, int flag, int changed_timestamp, rctf view_rect, rctf clip_rect) { + public CurveProfile(short path_len, short segments_len, int preset, CurveProfilePoint path, CurveProfilePoint table, CurveProfilePoint segments, int flag, int changed_timestamp, rctf view_rect, rctf clip_rect) { this.path_len = path_len; this.segments_len = segments_len; this.preset = preset; - this.ptr_path = ptr_path; - this.ptr_table = ptr_table; - this.ptr_segments = ptr_segments; + this.path = path; + this.table = table; + this.segments = segments; this.flag = flag; this.changed_timestamp = changed_timestamp; this.view_rect = view_rect; diff --git a/BlendFile/DNA/CurveProfilePoint.cs b/BlendFile/DNA/CurveProfilePoint.cs index cbfb71a..f757591 100644 --- a/BlendFile/DNA/CurveProfilePoint.cs +++ b/BlendFile/DNA/CurveProfilePoint.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(217, "CurveProfilePoint", 40)] public class CurveProfilePoint { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 8)] public short flag; - [DNAFieldAttribute(3, "char", "h1", "char", 1, false, 10)] + [DNAFieldAttribute(1, "char", 3, "h1", "char", false, 10)] public char h1; - [DNAFieldAttribute(4, "char", "h2", "char", 1, false, 11)] + [DNAFieldAttribute(1, "char", 4, "h2", "char", false, 11)] public char h2; - [DNAFieldAttribute(5, "float", "h1_loc[2]", "System.Single[]", 8, false, 12)] + [DNAFieldAttribute(8, "float", 5, "h1_loc[2]", "System.Single[]", false, 12)] public float[] h1_loc = new System.Single[2]; - [DNAFieldAttribute(6, "float", "h2_loc[2]", "System.Single[]", 8, false, 20)] + [DNAFieldAttribute(8, "float", 6, "h2_loc[2]", "System.Single[]", false, 20)] public float[] h2_loc = new System.Single[2]; - [DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(8, "CurveProfile", "*profile", "CurveProfile", 8, true, 32)] - public CurveProfile ptr_profile; + [DNAFieldAttribute(8, "CurveProfile", 8, "*profile", "CurveProfile", true, 32)] + public CurveProfile profile; public CurveProfilePoint() { this.x = default; this.y = default; @@ -42,9 +42,9 @@ namespace BlendFile.DNA { this.h1_loc = default; this.h2_loc = default; this._pad = default; - this.ptr_profile = default; + this.profile = default; } - public CurveProfilePoint(float x, float y, short flag, char h1, char h2, float[] h1_loc, float[] h2_loc, char[] _pad, CurveProfile ptr_profile) { + public CurveProfilePoint(float x, float y, short flag, char h1, char h2, float[] h1_loc, float[] h2_loc, char[] _pad, CurveProfile profile) { this.x = x; this.y = y; this.flag = flag; @@ -53,7 +53,7 @@ namespace BlendFile.DNA { this.h1_loc = h1_loc; this.h2_loc = h2_loc; this._pad = _pad; - this.ptr_profile = ptr_profile; + this.profile = profile; } } } diff --git a/BlendFile/DNA/Curves.cs b/BlendFile/DNA/Curves.cs index 8be636a..dc9e901 100644 --- a/BlendFile/DNA/Curves.cs +++ b/BlendFile/DNA/Curves.cs @@ -15,61 +15,61 @@ namespace BlendFile.DNA { [DNAClassAttribute(216, "Curves", 808)] public class Curves { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "CurvesGeometry", "geometry", "CurvesGeometry", 544, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(544, "CurvesGeometry", 2, "geometry", "CurvesGeometry", false, 216)] public CurvesGeometry geometry; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 760)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 760)] public int flag; - [DNAFieldAttribute(4, "int", "attributes_active_index", "int", 4, false, 764)] + [DNAFieldAttribute(4, "int", 4, "attributes_active_index", "int", false, 764)] public int attributes_active_index; - [DNAFieldAttribute(5, "Material", "**mat", "Material", 8, true, 768)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(6, "short", "totcol", "short", 2, false, 776)] + [DNAFieldAttribute(8, "Material", 5, "**mat", "Material", true, 768)] + public Material mat; + [DNAFieldAttribute(2, "short", 6, "totcol", "short", false, 776)] public short totcol; - [DNAFieldAttribute(7, "char", "symmetry", "char", 1, false, 778)] + [DNAFieldAttribute(1, "char", 7, "symmetry", "char", false, 778)] public char symmetry; - [DNAFieldAttribute(8, "char", "selection_domain", "char", 1, false, 779)] + [DNAFieldAttribute(1, "char", 8, "selection_domain", "char", false, 779)] public char selection_domain; - [DNAFieldAttribute(9, "char", "_pad[4]", "System.Char[]", 4, false, 780)] + [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 780)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(10, "Object", "*surface", "Object", 8, true, 784)] - public Object ptr_surface; - [DNAFieldAttribute(11, "char", "*surface_uv_map", "char", 8, true, 792)] - public char ptr_surface_uv_map; - [DNAFieldAttribute(12, "void", "*batch_cache", "void", 8, true, 800)] - public object ptr_batch_cache; + [DNAFieldAttribute(8, "Object", 10, "*surface", "Object", true, 784)] + public Object surface; + [DNAFieldAttribute(8, "char", 11, "*surface_uv_map", "char", true, 792)] + public char surface_uv_map; + [DNAFieldAttribute(8, "void", 12, "*batch_cache", "void", true, 800)] + public object batch_cache; public Curves() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.geometry = default; this.flag = default; this.attributes_active_index = default; - this.ptr_ptr_mat = default; + this.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; + this.surface = default; + this.surface_uv_map = default; + this.batch_cache = default; } - public Curves(ID id, AnimData ptr_adt, CurvesGeometry geometry, int flag, int attributes_active_index, Material ptr_ptr_mat, short totcol, char symmetry, char selection_domain, char[] _pad, Object ptr_surface, char ptr_surface_uv_map, object ptr_batch_cache) { + public Curves(ID id, AnimData adt, CurvesGeometry geometry, int flag, int attributes_active_index, Material mat, short totcol, char symmetry, char selection_domain, char[] _pad, Object surface, char surface_uv_map, object batch_cache) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.geometry = geometry; this.flag = flag; this.attributes_active_index = attributes_active_index; - this.ptr_ptr_mat = ptr_ptr_mat; + this.mat = mat; this.totcol = totcol; this.symmetry = symmetry; this.selection_domain = selection_domain; this._pad = _pad; - this.ptr_surface = ptr_surface; - this.ptr_surface_uv_map = ptr_surface_uv_map; - this.ptr_batch_cache = ptr_batch_cache; + this.surface = surface; + this.surface_uv_map = surface_uv_map; + this.batch_cache = batch_cache; } } } diff --git a/BlendFile/DNA/CurvesGeometry.cs b/BlendFile/DNA/CurvesGeometry.cs index c77e3ce..1f424b7 100644 --- a/BlendFile/DNA/CurvesGeometry.cs +++ b/BlendFile/DNA/CurvesGeometry.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(218, "CurvesGeometry", 544)] public class CurvesGeometry { - [DNAFieldAttribute(0, "int", "*curve_offsets", "int", 8, true, 0)] - public int ptr_curve_offsets; - [DNAFieldAttribute(1, "CustomData", "point_data", "CustomData", 248, false, 8)] + [DNAFieldAttribute(8, "int", 0, "*curve_offsets", "int", true, 0)] + public int curve_offsets; + [DNAFieldAttribute(248, "CustomData", 1, "point_data", "CustomData", false, 8)] public CustomData point_data; - [DNAFieldAttribute(2, "CustomData", "curve_data", "CustomData", 248, false, 256)] + [DNAFieldAttribute(248, "CustomData", 2, "curve_data", "CustomData", false, 256)] public CustomData curve_data; - [DNAFieldAttribute(3, "int", "point_size", "int", 4, false, 504)] + [DNAFieldAttribute(4, "int", 3, "point_size", "int", false, 504)] public int point_size; - [DNAFieldAttribute(4, "int", "curve_size", "int", 4, false, 508)] + [DNAFieldAttribute(4, "int", 4, "curve_size", "int", false, 508)] public int curve_size; - [DNAFieldAttribute(5, "ListBase", "vertex_group_names", "ListBase", 16, false, 512)] + [DNAFieldAttribute(16, "ListBase", 5, "vertex_group_names", "ListBase", false, 512)] public ListBase vertex_group_names; - [DNAFieldAttribute(6, "int", "vertex_group_active_index", "int", 4, false, 528)] + [DNAFieldAttribute(4, "int", 6, "vertex_group_active_index", "int", false, 528)] public int vertex_group_active_index; - [DNAFieldAttribute(7, "int", "attributes_active_index", "int", 4, false, 532)] + [DNAFieldAttribute(4, "int", 7, "attributes_active_index", "int", false, 532)] public int attributes_active_index; - [DNAFieldAttribute(8, "CurvesGeometryRuntimeHandle", "*runtime", "CurvesGeometryRuntimeHandle", 8, true, 536)] - public CurvesGeometryRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "CurvesGeometryRuntimeHandle", 8, "*runtime", "CurvesGeometryRuntimeHandle", true, 536)] + public CurvesGeometryRuntimeHandle runtime; public CurvesGeometry() { - this.ptr_curve_offsets = default; + this.curve_offsets = default; this.point_data = default; this.curve_data = default; this.point_size = default; @@ -42,10 +42,10 @@ namespace BlendFile.DNA { this.vertex_group_names = default; this.vertex_group_active_index = default; this.attributes_active_index = default; - this.ptr_runtime = default; + this.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; + public CurvesGeometry(int 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 runtime) { + this.curve_offsets = curve_offsets; this.point_data = point_data; this.curve_data = curve_data; this.point_size = point_size; @@ -53,7 +53,7 @@ namespace BlendFile.DNA { this.vertex_group_names = vertex_group_names; this.vertex_group_active_index = vertex_group_active_index; this.attributes_active_index = attributes_active_index; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/CurvesModifierData.cs b/BlendFile/DNA/CurvesModifierData.cs index b875c85..6d22496 100644 --- a/BlendFile/DNA/CurvesModifierData.cs +++ b/BlendFile/DNA/CurvesModifierData.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(906, "CurvesModifierData", 536)] - public struct CurvesModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class CurvesModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "CurveMapping", "curve_mapping", "CurveMapping", 424, false, 112)] + [DNAFieldAttribute(424, "CurveMapping", 1, "curve_mapping", "CurveMapping", false, 112)] public CurveMapping curve_mapping; public CurvesModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/CurvesSculpt.cs b/BlendFile/DNA/CurvesSculpt.cs index 06b3134..4df0b32 100644 --- a/BlendFile/DNA/CurvesSculpt.cs +++ b/BlendFile/DNA/CurvesSculpt.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(813, "CurvesSculpt", 120)] - public struct CurvesSculpt { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + public class CurvesSculpt { + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; public CurvesSculpt() { this.paint = default; diff --git a/BlendFile/DNA/CustomData.cs b/BlendFile/DNA/CustomData.cs index e280612..020b957 100644 --- a/BlendFile/DNA/CustomData.cs +++ b/BlendFile/DNA/CustomData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(219, "CustomData", 248)] public class CustomData { - [DNAFieldAttribute(0, "CustomDataLayer", "*layers", "CustomDataLayer", 8, true, 0)] - public CustomDataLayer ptr_layers; - [DNAFieldAttribute(1, "int", "typemap[53]", "System.Int32[]", 212, false, 8)] + [DNAFieldAttribute(8, "CustomDataLayer", 0, "*layers", "CustomDataLayer", true, 0)] + public CustomDataLayer layers; + [DNAFieldAttribute(212, "int", 1, "typemap[53]", "System.Int32[]", false, 8)] public int[] typemap = new System.Int32[53]; - [DNAFieldAttribute(2, "int", "totlayer", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 2, "totlayer", "int", false, 220)] public int totlayer; - [DNAFieldAttribute(3, "int", "maxlayer", "int", 4, false, 224)] + [DNAFieldAttribute(4, "int", 3, "maxlayer", "int", false, 224)] public int maxlayer; - [DNAFieldAttribute(4, "int", "totsize", "int", 4, false, 228)] + [DNAFieldAttribute(4, "int", 4, "totsize", "int", false, 228)] public int totsize; - [DNAFieldAttribute(5, "BLI_mempool", "*pool", "BLI_mempool", 8, true, 232)] - public BLI_mempool ptr_pool; - [DNAFieldAttribute(6, "CustomDataExternal", "*external", "CustomDataExternal", 8, true, 240)] - public CustomDataExternal ptr_external; + [DNAFieldAttribute(8, "BLI_mempool", 5, "*pool", "BLI_mempool", true, 232)] + public BLI_mempool pool; + [DNAFieldAttribute(8, "CustomDataExternal", 6, "*external", "CustomDataExternal", true, 240)] + public CustomDataExternal external; public CustomData() { - this.ptr_layers = default; + this.layers = default; this.typemap = default; this.totlayer = default; this.maxlayer = default; this.totsize = default; - this.ptr_pool = default; - this.ptr_external = default; + this.pool = default; + this.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; + public CustomData(CustomDataLayer layers, int[] typemap, int totlayer, int maxlayer, int totsize, BLI_mempool pool, CustomDataExternal external) { + this.layers = layers; this.typemap = typemap; this.totlayer = totlayer; this.maxlayer = maxlayer; this.totsize = totsize; - this.ptr_pool = ptr_pool; - this.ptr_external = ptr_external; + this.pool = pool; + this.external = external; } } } diff --git a/BlendFile/DNA/CustomDataExternal.cs b/BlendFile/DNA/CustomDataExternal.cs index 4d8c6cf..1fa8cfc 100644 --- a/BlendFile/DNA/CustomDataExternal.cs +++ b/BlendFile/DNA/CustomDataExternal.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(223, "CustomDataExternal", 1024)] - public struct CustomDataExternal { - [DNAFieldAttribute(0, "char", "filename[1024]", "System.Char[]", 1024, false, 0)] + public class CustomDataExternal { + [DNAFieldAttribute(1024, "char", 0, "filename[1024]", "System.Char[]", false, 0)] public char[] filename = new System.Char[1024]; public CustomDataExternal() { this.filename = default; diff --git a/BlendFile/DNA/CustomDataLayer.cs b/BlendFile/DNA/CustomDataLayer.cs index b5b0b48..367977f 100644 --- a/BlendFile/DNA/CustomDataLayer.cs +++ b/BlendFile/DNA/CustomDataLayer.cs @@ -15,30 +15,30 @@ namespace BlendFile.DNA { [DNAClassAttribute(221, "CustomDataLayer", 120)] public class CustomDataLayer { - [DNAFieldAttribute(0, "int", "type", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "type", "int", false, 0)] public int type; - [DNAFieldAttribute(1, "int", "offset", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "offset", "int", false, 4)] public int offset; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(3, "int", "active", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "active", "int", false, 12)] public int active; - [DNAFieldAttribute(4, "int", "active_rnd", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "active_rnd", "int", false, 16)] public int active_rnd; - [DNAFieldAttribute(5, "int", "active_clone", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "active_clone", "int", false, 20)] public int active_clone; - [DNAFieldAttribute(6, "int", "active_mask", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "active_mask", "int", false, 24)] public int active_mask; - [DNAFieldAttribute(7, "int", "uid", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "uid", "int", false, 28)] public int uid; - [DNAFieldAttribute(8, "char", "name[68]", "System.Char[]", 68, false, 32)] + [DNAFieldAttribute(68, "char", 8, "name[68]", "System.Char[]", false, 32)] public char[] name = new System.Char[68]; - [DNAFieldAttribute(9, "char", "_pad1[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", false, 100)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(10, "void", "*data", "void", 8, true, 104)] - public object ptr_data; - [DNAFieldAttribute(11, "ImplicitSharingInfoHandle", "*sharing_info", "ImplicitSharingInfoHandle", 8, true, 112)] - public ImplicitSharingInfoHandle ptr_sharing_info; + [DNAFieldAttribute(8, "void", 10, "*data", "void", true, 104)] + public object data; + [DNAFieldAttribute(8, "ImplicitSharingInfoHandle", 11, "*sharing_info", "ImplicitSharingInfoHandle", true, 112)] + public ImplicitSharingInfoHandle sharing_info; public CustomDataLayer() { this.type = default; this.offset = default; @@ -50,10 +50,10 @@ namespace BlendFile.DNA { this.uid = default; this.name = default; this._pad1 = default; - this.ptr_data = default; - this.ptr_sharing_info = default; + this.data = default; + this.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) { + 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 data, ImplicitSharingInfoHandle sharing_info) { this.type = type; this.offset = offset; this.flag = flag; @@ -64,8 +64,8 @@ namespace BlendFile.DNA { this.uid = uid; this.name = name; this._pad1 = _pad1; - this.ptr_data = ptr_data; - this.ptr_sharing_info = ptr_sharing_info; + this.data = data; + this.sharing_info = sharing_info; } } } diff --git a/BlendFile/DNA/CustomData_MeshMasks.cs b/BlendFile/DNA/CustomData_MeshMasks.cs index 105da5e..40e5c5a 100644 --- a/BlendFile/DNA/CustomData_MeshMasks.cs +++ b/BlendFile/DNA/CustomData_MeshMasks.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(225, "CustomData_MeshMasks", 40)] - public struct CustomData_MeshMasks { - [DNAFieldAttribute(0, "uint64_t", "vmask", "uint64_t", 8, false, 0)] + public class CustomData_MeshMasks { + [DNAFieldAttribute(8, "uint64_t", 0, "vmask", "uint64_t", false, 0)] public ulong vmask; - [DNAFieldAttribute(1, "uint64_t", "emask", "uint64_t", 8, false, 8)] + [DNAFieldAttribute(8, "uint64_t", 1, "emask", "uint64_t", false, 8)] public ulong emask; - [DNAFieldAttribute(2, "uint64_t", "fmask", "uint64_t", 8, false, 16)] + [DNAFieldAttribute(8, "uint64_t", 2, "fmask", "uint64_t", false, 16)] public ulong fmask; - [DNAFieldAttribute(3, "uint64_t", "pmask", "uint64_t", 8, false, 24)] + [DNAFieldAttribute(8, "uint64_t", 3, "pmask", "uint64_t", false, 24)] public ulong pmask; - [DNAFieldAttribute(4, "uint64_t", "lmask", "uint64_t", 8, false, 32)] + [DNAFieldAttribute(8, "uint64_t", 4, "lmask", "uint64_t", false, 32)] public ulong lmask; public CustomData_MeshMasks() { this.vmask = default; diff --git a/BlendFile/DNA/DashGpencilModifierData.cs b/BlendFile/DNA/DashGpencilModifierData.cs index d9eb9d7..5320fdc 100644 --- a/BlendFile/DNA/DashGpencilModifierData.cs +++ b/BlendFile/DNA/DashGpencilModifierData.cs @@ -15,47 +15,47 @@ namespace BlendFile.DNA { [DNAClassAttribute(290, "DashGpencilModifierData", 208)] public class DashGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "int", "pass_index", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)] public int pass_index; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 180)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 180)] public int flag; - [DNAFieldAttribute(5, "int", "layer_pass", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 5, "layer_pass", "int", false, 184)] public int layer_pass; - [DNAFieldAttribute(6, "int", "dash_offset", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 6, "dash_offset", "int", false, 188)] public int dash_offset; - [DNAFieldAttribute(7, "DashGpencilModifierSegment", "*segments", "DashGpencilModifierSegment", 8, true, 192)] - public DashGpencilModifierSegment ptr_segments; - [DNAFieldAttribute(8, "int", "segments_len", "int", 4, false, 200)] + [DNAFieldAttribute(8, "DashGpencilModifierSegment", 7, "*segments", "DashGpencilModifierSegment", true, 192)] + public DashGpencilModifierSegment segments; + [DNAFieldAttribute(4, "int", 8, "segments_len", "int", false, 200)] public int segments_len; - [DNAFieldAttribute(9, "int", "segment_active_index", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 9, "segment_active_index", "int", false, 204)] public int segment_active_index; public DashGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.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 = 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) { + public DashGpencilModifierData(GpencilModifierData modifier, Material material, char[] layername, int pass_index, int flag, int layer_pass, int dash_offset, DashGpencilModifierSegment segments, int segments_len, int segment_active_index) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.pass_index = pass_index; this.flag = flag; this.layer_pass = layer_pass; this.dash_offset = dash_offset; - this.ptr_segments = ptr_segments; + this.segments = segments; this.segments_len = segments_len; this.segment_active_index = segment_active_index; } diff --git a/BlendFile/DNA/DashGpencilModifierSegment.cs b/BlendFile/DNA/DashGpencilModifierSegment.cs index a90ff98..ac9a0c2 100644 --- a/BlendFile/DNA/DashGpencilModifierSegment.cs +++ b/BlendFile/DNA/DashGpencilModifierSegment.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(289, "DashGpencilModifierSegment", 96)] public class DashGpencilModifierSegment { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1, "DashGpencilModifierData", "*dmd", "DashGpencilModifierData", 8, true, 64)] - public DashGpencilModifierData ptr_dmd; - [DNAFieldAttribute(2, "int", "dash", "int", 4, false, 72)] + [DNAFieldAttribute(8, "DashGpencilModifierData", 1, "*dmd", "DashGpencilModifierData", true, 64)] + public DashGpencilModifierData dmd; + [DNAFieldAttribute(4, "int", 2, "dash", "int", false, 72)] public int dash; - [DNAFieldAttribute(3, "int", "gap", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 3, "gap", "int", false, 76)] public int gap; - [DNAFieldAttribute(4, "float", "radius", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 4, "radius", "float", false, 80)] public float radius; - [DNAFieldAttribute(5, "float", "opacity", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 5, "opacity", "float", false, 84)] public float opacity; - [DNAFieldAttribute(6, "int", "mat_nr", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 6, "mat_nr", "int", false, 88)] public int mat_nr; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 92)] public int flag; public DashGpencilModifierSegment() { this.name = default; - this.ptr_dmd = default; + this.dmd = default; this.dash = default; this.gap = default; this.radius = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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) { + public DashGpencilModifierSegment(char[] name, DashGpencilModifierData dmd, int dash, int gap, float radius, float opacity, int mat_nr, int flag) { this.name = name; - this.ptr_dmd = ptr_dmd; + this.dmd = dmd; this.dash = dash; this.gap = gap; this.radius = radius; diff --git a/BlendFile/DNA/DataTransferModifierData.cs b/BlendFile/DNA/DataTransferModifierData.cs index 6c7ae87..0c525f8 100644 --- a/BlendFile/DNA/DataTransferModifierData.cs +++ b/BlendFile/DNA/DataTransferModifierData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(507, "DataTransferModifierData", 288)] public class DataTransferModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*ob_source", "Object", 8, true, 120)] - public Object ptr_ob_source; - [DNAFieldAttribute(2, "int", "data_types", "int", 4, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*ob_source", "Object", true, 120)] + public Object ob_source; + [DNAFieldAttribute(4, "int", 2, "data_types", "int", false, 128)] public int data_types; - [DNAFieldAttribute(3, "int", "vmap_mode", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 3, "vmap_mode", "int", false, 132)] public int vmap_mode; - [DNAFieldAttribute(4, "int", "emap_mode", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 4, "emap_mode", "int", false, 136)] public int emap_mode; - [DNAFieldAttribute(5, "int", "lmap_mode", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 5, "lmap_mode", "int", false, 140)] public int lmap_mode; - [DNAFieldAttribute(6, "int", "pmap_mode", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 6, "pmap_mode", "int", false, 144)] public int pmap_mode; - [DNAFieldAttribute(7, "float", "map_max_distance", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 7, "map_max_distance", "float", false, 148)] public float map_max_distance; - [DNAFieldAttribute(8, "float", "map_ray_radius", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 8, "map_ray_radius", "float", false, 152)] public float map_ray_radius; - [DNAFieldAttribute(9, "float", "islands_precision", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 9, "islands_precision", "float", false, 156)] public float islands_precision; - [DNAFieldAttribute(10, "char", "_pad1[4]", "System.Char[]", 4, false, 160)] + [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 160)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(11, "int", "layers_select_src[5]", "System.Int32[]", 20, false, 164)] + [DNAFieldAttribute(20, "int", 11, "layers_select_src[5]", "System.Int32[]", false, 164)] public int[] layers_select_src = new System.Int32[5]; - [DNAFieldAttribute(12, "int", "layers_select_dst[5]", "System.Int32[]", 20, false, 184)] + [DNAFieldAttribute(20, "int", 12, "layers_select_dst[5]", "System.Int32[]", false, 184)] public int[] layers_select_dst = new System.Int32[5]; - [DNAFieldAttribute(13, "int", "mix_mode", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 13, "mix_mode", "int", false, 204)] public int mix_mode; - [DNAFieldAttribute(14, "float", "mix_factor", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 14, "mix_factor", "float", false, 208)] public float mix_factor; - [DNAFieldAttribute(15, "char", "defgrp_name[64]", "System.Char[]", 64, false, 212)] + [DNAFieldAttribute(64, "char", 15, "defgrp_name[64]", "System.Char[]", false, 212)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(16, "int", "flags", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 16, "flags", "int", false, 276)] public int flags; - [DNAFieldAttribute(17, "void", "*_pad2", "void", 8, true, 280)] - public object ptr__pad2; + [DNAFieldAttribute(8, "void", 17, "*_pad2", "void", true, 280)] + public object _pad2; public DataTransferModifierData() { this.modifier = default; - this.ptr_ob_source = default; + this.ob_source = default; this.data_types = default; this.vmap_mode = default; this.emap_mode = default; @@ -69,11 +69,11 @@ namespace BlendFile.DNA { this.mix_factor = default; this.defgrp_name = default; this.flags = default; - this.ptr__pad2 = default; + this._pad2 = default; } public DataTransferModifierData( ModifierData modifier, - Object ptr_ob_source, + Object ob_source, int data_types, int vmap_mode, int emap_mode, @@ -89,9 +89,9 @@ namespace BlendFile.DNA { float mix_factor, char[] defgrp_name, int flags, - object ptr__pad2) { + object _pad2) { this.modifier = modifier; - this.ptr_ob_source = ptr_ob_source; + this.ob_source = ob_source; this.data_types = data_types; this.vmap_mode = vmap_mode; this.emap_mode = emap_mode; @@ -107,7 +107,7 @@ namespace BlendFile.DNA { this.mix_factor = mix_factor; this.defgrp_name = defgrp_name; this.flags = flags; - this.ptr__pad2 = ptr__pad2; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/DecimateModifierData.cs b/BlendFile/DNA/DecimateModifierData.cs index 16e7ca7..a99dfac 100644 --- a/BlendFile/DNA/DecimateModifierData.cs +++ b/BlendFile/DNA/DecimateModifierData.cs @@ -14,28 +14,28 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(457, "DecimateModifierData", 208)] - public struct DecimateModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class DecimateModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "percent", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "percent", "float", false, 120)] public float percent; - [DNAFieldAttribute(2, "short", "iter", "short", 2, false, 124)] + [DNAFieldAttribute(2, "short", 2, "iter", "short", false, 124)] public short iter; - [DNAFieldAttribute(3, "char", "delimit", "char", 1, false, 126)] + [DNAFieldAttribute(1, "char", 3, "delimit", "char", false, 126)] public char delimit; - [DNAFieldAttribute(4, "char", "symmetry_axis", "char", 1, false, 127)] + [DNAFieldAttribute(1, "char", 4, "symmetry_axis", "char", false, 127)] public char symmetry_axis; - [DNAFieldAttribute(5, "float", "angle", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 5, "angle", "float", false, 128)] public float angle; - [DNAFieldAttribute(6, "char", "defgrp_name[64]", "System.Char[]", 64, false, 132)] + [DNAFieldAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", false, 132)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(7, "float", "defgrp_factor", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 7, "defgrp_factor", "float", false, 196)] public float defgrp_factor; - [DNAFieldAttribute(8, "short", "flag", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 8, "flag", "short", false, 200)] public short flag; - [DNAFieldAttribute(9, "short", "mode", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 9, "mode", "short", false, 202)] public short mode; - [DNAFieldAttribute(10, "int", "face_count", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 10, "face_count", "int", false, 204)] public int face_count; public DecimateModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/DisplaceModifierData.cs b/BlendFile/DNA/DisplaceModifierData.cs index d8b1fe2..9a4372f 100644 --- a/BlendFile/DNA/DisplaceModifierData.cs +++ b/BlendFile/DNA/DisplaceModifierData.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(455, "DisplaceModifierData", 368)] public class DisplaceModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Tex", "*texture", "Tex", 8, true, 120)] - public Tex ptr_texture; - [DNAFieldAttribute(2, "Object", "*map_object", "Object", 8, true, 128)] - public Object ptr_map_object; - [DNAFieldAttribute(3, "char", "map_bone[64]", "System.Char[]", 64, false, 136)] + [DNAFieldAttribute(8, "Tex", 1, "*texture", "Tex", true, 120)] + public Tex texture; + [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] + public Object map_object; + [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(4, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 200)] + [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(5, "char", "_pad1[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(6, "int", "uvlayer_tmp", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; - [DNAFieldAttribute(7, "int", "texmapping", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 7, "texmapping", "int", false, 276)] public int texmapping; - [DNAFieldAttribute(8, "float", "strength", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 8, "strength", "float", false, 280)] public float strength; - [DNAFieldAttribute(9, "int", "direction", "int", 4, false, 284)] + [DNAFieldAttribute(4, "int", 9, "direction", "int", false, 284)] public int direction; - [DNAFieldAttribute(10, "char", "defgrp_name[64]", "System.Char[]", 64, false, 288)] + [DNAFieldAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", false, 288)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(11, "float", "midlevel", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 11, "midlevel", "float", false, 352)] public float midlevel; - [DNAFieldAttribute(12, "int", "space", "int", 4, false, 356)] + [DNAFieldAttribute(4, "int", 12, "space", "int", false, 356)] public int space; - [DNAFieldAttribute(13, "short", "flag", "short", 2, false, 360)] + [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 360)] public short flag; - [DNAFieldAttribute(14, "char", "_pad2[6]", "System.Char[]", 6, false, 362)] + [DNAFieldAttribute(6, "char", 14, "_pad2[6]", "System.Char[]", false, 362)] public char[] _pad2 = new System.Char[6]; public DisplaceModifierData() { this.modifier = default; - this.ptr_texture = default; - this.ptr_map_object = default; + this.texture = default; + this.map_object = default; this.map_bone = default; this.uvlayer_name = default; this._pad1 = default; @@ -62,10 +62,10 @@ namespace BlendFile.DNA { 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) { + public DisplaceModifierData(ModifierData modifier, Tex texture, Object 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; - this.ptr_map_object = ptr_map_object; + this.texture = texture; + this.map_object = map_object; this.map_bone = map_bone; this.uvlayer_name = uvlayer_name; this._pad1 = _pad1; diff --git a/BlendFile/DNA/DisplaySafeAreas.cs b/BlendFile/DNA/DisplaySafeAreas.cs index 365aef5..5d0faab 100644 --- a/BlendFile/DNA/DisplaySafeAreas.cs +++ b/BlendFile/DNA/DisplaySafeAreas.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(831, "DisplaySafeAreas", 32)] - public struct DisplaySafeAreas { - [DNAFieldAttribute(0, "float", "title[2]", "System.Single[]", 8, false, 0)] + public class DisplaySafeAreas { + [DNAFieldAttribute(8, "float", 0, "title[2]", "System.Single[]", false, 0)] public float[] title = new System.Single[2]; - [DNAFieldAttribute(1, "float", "action[2]", "System.Single[]", 8, false, 8)] + [DNAFieldAttribute(8, "float", 1, "action[2]", "System.Single[]", false, 8)] public float[] action = new System.Single[2]; - [DNAFieldAttribute(2, "float", "title_center[2]", "System.Single[]", 8, false, 16)] + [DNAFieldAttribute(8, "float", 2, "title_center[2]", "System.Single[]", false, 16)] public float[] title_center = new System.Single[2]; - [DNAFieldAttribute(3, "float", "action_center[2]", "System.Single[]", 8, false, 24)] + [DNAFieldAttribute(8, "float", 3, "action_center[2]", "System.Single[]", false, 24)] public float[] action_center = new System.Single[2]; public DisplaySafeAreas() { this.title = default; diff --git a/BlendFile/DNA/DrawDataList.cs b/BlendFile/DNA/DrawDataList.cs index 13ebbb9..52edfbd 100644 --- a/BlendFile/DNA/DrawDataList.cs +++ b/BlendFile/DNA/DrawDataList.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(14, "DrawDataList", 16)] public class DrawDataList { - [DNAFieldAttribute(0, "DrawData", "*first", "DrawData", 8, true, 0)] - public DrawData ptr_first; - [DNAFieldAttribute(1, "DrawData", "*last", "DrawData", 8, true, 8)] - public DrawData ptr_last; + [DNAFieldAttribute(8, "DrawData", 0, "*first", "DrawData", true, 0)] + public DrawData first; + [DNAFieldAttribute(8, "DrawData", 1, "*last", "DrawData", true, 8)] + public DrawData last; public DrawDataList() { - this.ptr_first = default; - this.ptr_last = default; + this.first = default; + this.last = default; } - public DrawDataList(DrawData ptr_first, DrawData ptr_last) { - this.ptr_first = ptr_first; - this.ptr_last = ptr_last; + public DrawDataList(DrawData first, DrawData last) { + this.first = first; + this.last = last; } } } diff --git a/BlendFile/DNA/DriverTarget.cs b/BlendFile/DNA/DriverTarget.cs index 9656a6a..9a1bcf0 100644 --- a/BlendFile/DNA/DriverTarget.cs +++ b/BlendFile/DNA/DriverTarget.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(90, "DriverTarget", 104)] public class DriverTarget { - [DNAFieldAttribute(0, "ID", "*id", "ID", 8, true, 0)] - public ID ptr_id; - [DNAFieldAttribute(1, "char", "*rna_path", "char", 8, true, 8)] - public char ptr_rna_path; - [DNAFieldAttribute(2, "char", "pchan_name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "ID", 0, "*id", "ID", true, 0)] + public ID id; + [DNAFieldAttribute(8, "char", 1, "*rna_path", "char", true, 8)] + public char rna_path; + [DNAFieldAttribute(64, "char", 2, "pchan_name[64]", "System.Char[]", false, 16)] public char[] pchan_name = new System.Char[64]; - [DNAFieldAttribute(3, "short", "transChan", "short", 2, false, 80)] + [DNAFieldAttribute(2, "short", 3, "transChan", "short", false, 80)] public short transChan; - [DNAFieldAttribute(4, "char", "rotation_mode", "char", 1, false, 82)] + [DNAFieldAttribute(1, "char", 4, "rotation_mode", "char", false, 82)] public char rotation_mode; - [DNAFieldAttribute(5, "char", "_pad[5]", "System.Char[]", 5, false, 83)] + [DNAFieldAttribute(5, "char", 5, "_pad[5]", "System.Char[]", false, 83)] public char[] _pad = new System.Char[5]; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 88)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 88)] public short flag; - [DNAFieldAttribute(7, "short", "options", "short", 2, false, 90)] + [DNAFieldAttribute(2, "short", 7, "options", "short", false, 90)] public short options; - [DNAFieldAttribute(8, "int", "idtype", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 8, "idtype", "int", false, 92)] public int idtype; - [DNAFieldAttribute(9, "int", "context_property", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 9, "context_property", "int", false, 96)] public int context_property; - [DNAFieldAttribute(10, "float", "fallback_value", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 10, "fallback_value", "float", false, 100)] public float fallback_value; public DriverTarget() { - this.ptr_id = default; - this.ptr_rna_path = default; + this.id = default; + this.rna_path = default; this.pchan_name = default; this.transChan = default; this.rotation_mode = default; @@ -50,9 +50,9 @@ namespace BlendFile.DNA { 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; + public DriverTarget(ID id, char 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.id = id; + this.rna_path = rna_path; this.pchan_name = pchan_name; this.transChan = transChan; this.rotation_mode = rotation_mode; diff --git a/BlendFile/DNA/DriverVar.cs b/BlendFile/DNA/DriverVar.cs index 9f8b55e..49decd4 100644 --- a/BlendFile/DNA/DriverVar.cs +++ b/BlendFile/DNA/DriverVar.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(91, "DriverVar", 920)] public class DriverVar { - [DNAFieldAttribute(0, "DriverVar", "*next", "DriverVar", 8, true, 0)] - public DriverVar ptr_next; - [DNAFieldAttribute(1, "DriverVar", "*prev", "DriverVar", 8, true, 8)] - public DriverVar ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "DriverVar", 0, "*next", "DriverVar", true, 0)] + public DriverVar next; + [DNAFieldAttribute(8, "DriverVar", 1, "*prev", "DriverVar", true, 8)] + public DriverVar prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "DriverTarget", "targets[8]", "DriverTarget[]", 832, false, 80)] + [DNAFieldAttribute(832, "DriverTarget", 3, "targets[8]", "DriverTarget[]", false, 80)] public DriverTarget[] targets = new DriverTarget[8]; - [DNAFieldAttribute(4, "char", "num_targets", "char", 1, false, 912)] + [DNAFieldAttribute(1, "char", 4, "num_targets", "char", false, 912)] public char num_targets; - [DNAFieldAttribute(5, "char", "type", "char", 1, false, 913)] + [DNAFieldAttribute(1, "char", 5, "type", "char", false, 913)] public char type; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 914)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 914)] public short flag; - [DNAFieldAttribute(7, "float", "curval", "float", 4, false, 916)] + [DNAFieldAttribute(4, "float", 7, "curval", "float", false, 916)] public float curval; public DriverVar() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.targets = default; this.num_targets = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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; + public DriverVar(DriverVar next, DriverVar prev, char[] name, DriverTarget[] targets, char num_targets, char type, short flag, float curval) { + this.next = next; + this.prev = prev; this.name = name; this.targets = targets; this.num_targets = num_targets; diff --git a/BlendFile/DNA/DualQuat.cs b/BlendFile/DNA/DualQuat.cs index e1708a3..c089b6b 100644 --- a/BlendFile/DNA/DualQuat.cs +++ b/BlendFile/DNA/DualQuat.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(51, "DualQuat", 100)] - public struct DualQuat { - [DNAFieldAttribute(0, "float", "quat[4]", "System.Single[]", 16, false, 0)] + public class DualQuat { + [DNAFieldAttribute(16, "float", 0, "quat[4]", "System.Single[]", false, 0)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(1, "float", "trans[4]", "System.Single[]", 16, false, 16)] + [DNAFieldAttribute(16, "float", 1, "trans[4]", "System.Single[]", false, 16)] public float[] trans = new System.Single[4]; - [DNAFieldAttribute(2, "float", "scale[4][4]", "System.Single[,]", 64, false, 32)] + [DNAFieldAttribute(64, "float", 2, "scale[4][4]", "System.Single[,]", false, 32)] public float[,] scale = new System.Single[4,4]; - [DNAFieldAttribute(3, "float", "scale_weight", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 3, "scale_weight", "float", false, 96)] public float scale_weight; public DualQuat() { this.quat = default; diff --git a/BlendFile/DNA/DynamicPaintBrushSettings.cs b/BlendFile/DNA/DynamicPaintBrushSettings.cs index e2c240f..ed18447 100644 --- a/BlendFile/DNA/DynamicPaintBrushSettings.cs +++ b/BlendFile/DNA/DynamicPaintBrushSettings.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(232, "DynamicPaintBrushSettings", 96)] public class DynamicPaintBrushSettings { - [DNAFieldAttribute(0, "DynamicPaintModifierData", "*pmd", "DynamicPaintModifierData", 8, true, 0)] - public DynamicPaintModifierData ptr_pmd; - [DNAFieldAttribute(1, "ParticleSystem", "*psys", "ParticleSystem", 8, true, 8)] - public ParticleSystem ptr_psys; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 16)] + [DNAFieldAttribute(8, "DynamicPaintModifierData", 0, "*pmd", "DynamicPaintModifierData", true, 0)] + public DynamicPaintModifierData pmd; + [DNAFieldAttribute(8, "ParticleSystem", 1, "*psys", "ParticleSystem", true, 8)] + public ParticleSystem psys; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 16)] public int flags; - [DNAFieldAttribute(3, "int", "collision", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "collision", "int", false, 20)] public int collision; - [DNAFieldAttribute(4, "float", "r", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 4, "r", "float", false, 24)] public float r; - [DNAFieldAttribute(5, "float", "g", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 5, "g", "float", false, 28)] public float g; - [DNAFieldAttribute(6, "float", "b", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 6, "b", "float", false, 32)] public float b; - [DNAFieldAttribute(7, "float", "alpha", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 7, "alpha", "float", false, 36)] public float alpha; - [DNAFieldAttribute(8, "float", "wetness", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 8, "wetness", "float", false, 40)] public float wetness; - [DNAFieldAttribute(9, "float", "particle_radius", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 9, "particle_radius", "float", false, 44)] public float particle_radius; - [DNAFieldAttribute(10, "float", "particle_smooth", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 10, "particle_smooth", "float", false, 48)] public float particle_smooth; - [DNAFieldAttribute(11, "float", "paint_distance", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 11, "paint_distance", "float", false, 52)] public float paint_distance; - [DNAFieldAttribute(12, "ColorBand", "*paint_ramp", "ColorBand", 8, true, 56)] - public ColorBand ptr_paint_ramp; - [DNAFieldAttribute(13, "ColorBand", "*vel_ramp", "ColorBand", 8, true, 64)] - public ColorBand ptr_vel_ramp; - [DNAFieldAttribute(14, "short", "proximity_falloff", "short", 2, false, 72)] + [DNAFieldAttribute(8, "ColorBand", 12, "*paint_ramp", "ColorBand", true, 56)] + public ColorBand paint_ramp; + [DNAFieldAttribute(8, "ColorBand", 13, "*vel_ramp", "ColorBand", true, 64)] + public ColorBand vel_ramp; + [DNAFieldAttribute(2, "short", 14, "proximity_falloff", "short", false, 72)] public short proximity_falloff; - [DNAFieldAttribute(15, "short", "wave_type", "short", 2, false, 74)] + [DNAFieldAttribute(2, "short", 15, "wave_type", "short", false, 74)] public short wave_type; - [DNAFieldAttribute(16, "short", "ray_dir", "short", 2, false, 76)] + [DNAFieldAttribute(2, "short", 16, "ray_dir", "short", false, 76)] public short ray_dir; - [DNAFieldAttribute(17, "char", "_pad[2]", "System.Char[]", 2, false, 78)] + [DNAFieldAttribute(2, "char", 17, "_pad[2]", "System.Char[]", false, 78)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(18, "float", "wave_factor", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 18, "wave_factor", "float", false, 80)] public float wave_factor; - [DNAFieldAttribute(19, "float", "wave_clamp", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 19, "wave_clamp", "float", false, 84)] public float wave_clamp; - [DNAFieldAttribute(20, "float", "max_velocity", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 20, "max_velocity", "float", false, 88)] public float max_velocity; - [DNAFieldAttribute(21, "float", "smudge_strength", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 21, "smudge_strength", "float", false, 92)] public float smudge_strength; public DynamicPaintBrushSettings() { - this.ptr_pmd = default; - this.ptr_psys = default; + this.pmd = default; + this.psys = default; this.flags = default; this.collision = default; this.r = default; @@ -72,8 +72,8 @@ namespace BlendFile.DNA { this.particle_radius = default; this.particle_smooth = default; this.paint_distance = default; - this.ptr_paint_ramp = default; - this.ptr_vel_ramp = default; + this.paint_ramp = default; + this.vel_ramp = default; this.proximity_falloff = default; this.wave_type = default; this.ray_dir = default; @@ -84,8 +84,8 @@ namespace BlendFile.DNA { this.smudge_strength = default; } public DynamicPaintBrushSettings( - DynamicPaintModifierData ptr_pmd, - ParticleSystem ptr_psys, + DynamicPaintModifierData pmd, + ParticleSystem psys, int flags, int collision, float r, @@ -96,8 +96,8 @@ namespace BlendFile.DNA { float particle_radius, float particle_smooth, float paint_distance, - ColorBand ptr_paint_ramp, - ColorBand ptr_vel_ramp, + ColorBand paint_ramp, + ColorBand vel_ramp, short proximity_falloff, short wave_type, short ray_dir, @@ -106,8 +106,8 @@ namespace BlendFile.DNA { float wave_clamp, float max_velocity, float smudge_strength) { - this.ptr_pmd = ptr_pmd; - this.ptr_psys = ptr_psys; + this.pmd = pmd; + this.psys = psys; this.flags = flags; this.collision = collision; this.r = r; @@ -118,8 +118,8 @@ namespace BlendFile.DNA { this.particle_radius = particle_radius; this.particle_smooth = particle_smooth; this.paint_distance = paint_distance; - this.ptr_paint_ramp = ptr_paint_ramp; - this.ptr_vel_ramp = ptr_vel_ramp; + this.paint_ramp = paint_ramp; + this.vel_ramp = vel_ramp; this.proximity_falloff = proximity_falloff; this.wave_type = wave_type; this.ray_dir = ray_dir; diff --git a/BlendFile/DNA/DynamicPaintCanvasSettings.cs b/BlendFile/DNA/DynamicPaintCanvasSettings.cs index 9673a52..831e42b 100644 --- a/BlendFile/DNA/DynamicPaintCanvasSettings.cs +++ b/BlendFile/DNA/DynamicPaintCanvasSettings.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(227, "DynamicPaintCanvasSettings", 96)] public class DynamicPaintCanvasSettings { - [DNAFieldAttribute(0, "DynamicPaintModifierData", "*pmd", "DynamicPaintModifierData", 8, true, 0)] - public DynamicPaintModifierData ptr_pmd; - [DNAFieldAttribute(1, "ListBase", "surfaces", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "DynamicPaintModifierData", 0, "*pmd", "DynamicPaintModifierData", true, 0)] + public DynamicPaintModifierData pmd; + [DNAFieldAttribute(16, "ListBase", 1, "surfaces", "ListBase", false, 8)] public ListBase surfaces; - [DNAFieldAttribute(2, "short", "active_sur", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 2, "active_sur", "short", false, 24)] public short active_sur; - [DNAFieldAttribute(3, "short", "flags", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 3, "flags", "short", false, 26)] public short flags; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "char", "error[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 5, "error[64]", "System.Char[]", false, 32)] public char[] error = new System.Char[64]; public DynamicPaintCanvasSettings() { - this.ptr_pmd = default; + this.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; + public DynamicPaintCanvasSettings(DynamicPaintModifierData pmd, ListBase surfaces, short active_sur, short flags, char[] _pad, char[] error) { + this.pmd = pmd; this.surfaces = surfaces; this.active_sur = active_sur; this.flags = flags; diff --git a/BlendFile/DNA/DynamicPaintModifierData.cs b/BlendFile/DNA/DynamicPaintModifierData.cs index a4abfc5..fea7dbd 100644 --- a/BlendFile/DNA/DynamicPaintModifierData.cs +++ b/BlendFile/DNA/DynamicPaintModifierData.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(231, "DynamicPaintModifierData", 144)] public class DynamicPaintModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "DynamicPaintCanvasSettings", "*canvas", "DynamicPaintCanvasSettings", 8, true, 120)] - public DynamicPaintCanvasSettings ptr_canvas; - [DNAFieldAttribute(2, "DynamicPaintBrushSettings", "*brush", "DynamicPaintBrushSettings", 8, true, 128)] - public DynamicPaintBrushSettings ptr_brush; - [DNAFieldAttribute(3, "int", "type", "int", 4, false, 136)] + [DNAFieldAttribute(8, "DynamicPaintCanvasSettings", 1, "*canvas", "DynamicPaintCanvasSettings", true, 120)] + public DynamicPaintCanvasSettings canvas; + [DNAFieldAttribute(8, "DynamicPaintBrushSettings", 2, "*brush", "DynamicPaintBrushSettings", true, 128)] + public DynamicPaintBrushSettings brush; + [DNAFieldAttribute(4, "int", 3, "type", "int", false, 136)] public int type; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 140)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 140)] public char[] _pad = new System.Char[4]; public DynamicPaintModifierData() { this.modifier = default; - this.ptr_canvas = default; - this.ptr_brush = default; + this.canvas = default; + this.brush = default; this.type = default; this._pad = default; } - public DynamicPaintModifierData(ModifierData modifier, DynamicPaintCanvasSettings ptr_canvas, DynamicPaintBrushSettings ptr_brush, int type, char[] _pad) { + public DynamicPaintModifierData(ModifierData modifier, DynamicPaintCanvasSettings canvas, DynamicPaintBrushSettings brush, int type, char[] _pad) { this.modifier = modifier; - this.ptr_canvas = ptr_canvas; - this.ptr_brush = ptr_brush; + this.canvas = canvas; + this.brush = brush; this.type = type; this._pad = _pad; } diff --git a/BlendFile/DNA/DynamicPaintSurface.cs b/BlendFile/DNA/DynamicPaintSurface.cs index 388e13c..04fb358 100644 --- a/BlendFile/DNA/DynamicPaintSurface.cs +++ b/BlendFile/DNA/DynamicPaintSurface.cs @@ -15,108 +15,108 @@ namespace BlendFile.DNA { [DNAClassAttribute(226, "DynamicPaintSurface", 1568)] public class DynamicPaintSurface { - [DNAFieldAttribute(0, "DynamicPaintSurface", "*next", "DynamicPaintSurface", 8, true, 0)] - public DynamicPaintSurface ptr_next; - [DNAFieldAttribute(1, "DynamicPaintSurface", "*prev", "DynamicPaintSurface", 8, true, 8)] - public DynamicPaintSurface ptr_prev; - [DNAFieldAttribute(2, "DynamicPaintCanvasSettings", "*canvas", "DynamicPaintCanvasSettings", 8, true, 16)] - public DynamicPaintCanvasSettings ptr_canvas; - [DNAFieldAttribute(3, "PaintSurfaceData", "*data", "PaintSurfaceData", 8, true, 24)] - public PaintSurfaceData ptr_data; - [DNAFieldAttribute(4, "Collection", "*brush_group", "Collection", 8, true, 32)] - public Collection ptr_brush_group; - [DNAFieldAttribute(5, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 40)] - public EffectorWeights ptr_effector_weights; - [DNAFieldAttribute(6, "PointCache", "*pointcache", "PointCache", 8, true, 48)] - public PointCache ptr_pointcache; - [DNAFieldAttribute(7, "ListBase", "ptcaches", "ListBase", 16, false, 56)] + [DNAFieldAttribute(8, "DynamicPaintSurface", 0, "*next", "DynamicPaintSurface", true, 0)] + public DynamicPaintSurface next; + [DNAFieldAttribute(8, "DynamicPaintSurface", 1, "*prev", "DynamicPaintSurface", true, 8)] + public DynamicPaintSurface prev; + [DNAFieldAttribute(8, "DynamicPaintCanvasSettings", 2, "*canvas", "DynamicPaintCanvasSettings", true, 16)] + public DynamicPaintCanvasSettings canvas; + [DNAFieldAttribute(8, "PaintSurfaceData", 3, "*data", "PaintSurfaceData", true, 24)] + public PaintSurfaceData data; + [DNAFieldAttribute(8, "Collection", 4, "*brush_group", "Collection", true, 32)] + public Collection brush_group; + [DNAFieldAttribute(8, "EffectorWeights", 5, "*effector_weights", "EffectorWeights", true, 40)] + public EffectorWeights effector_weights; + [DNAFieldAttribute(8, "PointCache", 6, "*pointcache", "PointCache", true, 48)] + public PointCache pointcache; + [DNAFieldAttribute(16, "ListBase", 7, "ptcaches", "ListBase", false, 56)] public ListBase ptcaches; - [DNAFieldAttribute(8, "int", "current_frame", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 8, "current_frame", "int", false, 72)] public int current_frame; - [DNAFieldAttribute(9, "char", "name[64]", "System.Char[]", 64, false, 76)] + [DNAFieldAttribute(64, "char", 9, "name[64]", "System.Char[]", false, 76)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(10, "short", "format", "short", 2, false, 140)] + [DNAFieldAttribute(2, "short", 10, "format", "short", false, 140)] public short format; - [DNAFieldAttribute(11, "short", "type", "short", 2, false, 142)] + [DNAFieldAttribute(2, "short", 11, "type", "short", false, 142)] public short type; - [DNAFieldAttribute(12, "short", "disp_type", "short", 2, false, 144)] + [DNAFieldAttribute(2, "short", 12, "disp_type", "short", false, 144)] public short disp_type; - [DNAFieldAttribute(13, "short", "image_fileformat", "short", 2, false, 146)] + [DNAFieldAttribute(2, "short", 13, "image_fileformat", "short", false, 146)] public short image_fileformat; - [DNAFieldAttribute(14, "short", "effect_ui", "short", 2, false, 148)] + [DNAFieldAttribute(2, "short", 14, "effect_ui", "short", false, 148)] public short effect_ui; - [DNAFieldAttribute(15, "short", "init_color_type", "short", 2, false, 150)] + [DNAFieldAttribute(2, "short", 15, "init_color_type", "short", false, 150)] public short init_color_type; - [DNAFieldAttribute(16, "int", "flags", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 16, "flags", "int", false, 152)] public int flags; - [DNAFieldAttribute(17, "int", "effect", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 17, "effect", "int", false, 156)] public int effect; - [DNAFieldAttribute(18, "int", "image_resolution", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 18, "image_resolution", "int", false, 160)] public int image_resolution; - [DNAFieldAttribute(19, "int", "substeps", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 19, "substeps", "int", false, 164)] public int substeps; - [DNAFieldAttribute(20, "int", "start_frame", "int", 4, false, 168)] + [DNAFieldAttribute(4, "int", 20, "start_frame", "int", false, 168)] public int start_frame; - [DNAFieldAttribute(21, "int", "end_frame", "int", 4, false, 172)] + [DNAFieldAttribute(4, "int", 21, "end_frame", "int", false, 172)] public int end_frame; - [DNAFieldAttribute(22, "float", "init_color[4]", "System.Single[]", 16, false, 176)] + [DNAFieldAttribute(16, "float", 22, "init_color[4]", "System.Single[]", false, 176)] public float[] init_color = new System.Single[4]; - [DNAFieldAttribute(23, "Tex", "*init_texture", "Tex", 8, true, 192)] - public Tex ptr_init_texture; - [DNAFieldAttribute(24, "char", "init_layername[68]", "System.Char[]", 68, false, 200)] + [DNAFieldAttribute(8, "Tex", 23, "*init_texture", "Tex", true, 192)] + public Tex init_texture; + [DNAFieldAttribute(68, "char", 24, "init_layername[68]", "System.Char[]", false, 200)] public char[] init_layername = new System.Char[68]; - [DNAFieldAttribute(25, "int", "dry_speed", "int", 4, false, 268)] + [DNAFieldAttribute(4, "int", 25, "dry_speed", "int", false, 268)] public int dry_speed; - [DNAFieldAttribute(26, "int", "diss_speed", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 26, "diss_speed", "int", false, 272)] public int diss_speed; - [DNAFieldAttribute(27, "float", "color_dry_threshold", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 27, "color_dry_threshold", "float", false, 276)] public float color_dry_threshold; - [DNAFieldAttribute(28, "float", "depth_clamp", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 28, "depth_clamp", "float", false, 280)] public float depth_clamp; - [DNAFieldAttribute(29, "float", "disp_factor", "float", 4, false, 284)] + [DNAFieldAttribute(4, "float", 29, "disp_factor", "float", false, 284)] public float disp_factor; - [DNAFieldAttribute(30, "float", "spread_speed", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 30, "spread_speed", "float", false, 288)] public float spread_speed; - [DNAFieldAttribute(31, "float", "color_spread_speed", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 31, "color_spread_speed", "float", false, 292)] public float color_spread_speed; - [DNAFieldAttribute(32, "float", "shrink_speed", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 32, "shrink_speed", "float", false, 296)] public float shrink_speed; - [DNAFieldAttribute(33, "float", "drip_vel", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 33, "drip_vel", "float", false, 300)] public float drip_vel; - [DNAFieldAttribute(34, "float", "drip_acc", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 34, "drip_acc", "float", false, 304)] public float drip_acc; - [DNAFieldAttribute(35, "float", "influence_scale", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 35, "influence_scale", "float", false, 308)] public float influence_scale; - [DNAFieldAttribute(36, "float", "radius_scale", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 36, "radius_scale", "float", false, 312)] public float radius_scale; - [DNAFieldAttribute(37, "float", "wave_damping", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 37, "wave_damping", "float", false, 316)] public float wave_damping; - [DNAFieldAttribute(38, "float", "wave_speed", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 38, "wave_speed", "float", false, 320)] public float wave_speed; - [DNAFieldAttribute(39, "float", "wave_timescale", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 39, "wave_timescale", "float", false, 324)] public float wave_timescale; - [DNAFieldAttribute(40, "float", "wave_spring", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 40, "wave_spring", "float", false, 328)] public float wave_spring; - [DNAFieldAttribute(41, "float", "wave_smoothness", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 41, "wave_smoothness", "float", false, 332)] public float wave_smoothness; - [DNAFieldAttribute(42, "char", "_pad2[4]", "System.Char[]", 4, false, 336)] + [DNAFieldAttribute(4, "char", 42, "_pad2[4]", "System.Char[]", false, 336)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(43, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 340)] + [DNAFieldAttribute(68, "char", 43, "uvlayer_name[68]", "System.Char[]", false, 340)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(44, "char", "image_output_path[1024]", "System.Char[]", 1024, false, 408)] + [DNAFieldAttribute(1024, "char", 44, "image_output_path[1024]", "System.Char[]", false, 408)] public char[] image_output_path = new System.Char[1024]; - [DNAFieldAttribute(45, "char", "output_name[68]", "System.Char[]", 68, false, 1432)] + [DNAFieldAttribute(68, "char", 45, "output_name[68]", "System.Char[]", false, 1432)] public char[] output_name = new System.Char[68]; - [DNAFieldAttribute(46, "char", "output_name2[68]", "System.Char[]", 68, false, 1500)] + [DNAFieldAttribute(68, "char", 46, "output_name2[68]", "System.Char[]", false, 1500)] 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.next = default; + this.prev = default; + this.canvas = default; + this.data = default; + this.brush_group = default; + this.effector_weights = default; + this.pointcache = default; this.ptcaches = default; this.current_frame = default; this.name = default; @@ -133,7 +133,7 @@ namespace BlendFile.DNA { this.start_frame = default; this.end_frame = default; this.init_color = default; - this.ptr_init_texture = default; + this.init_texture = default; this.init_layername = default; this.dry_speed = default; this.diss_speed = default; @@ -159,13 +159,13 @@ namespace BlendFile.DNA { this.output_name2 = default; } public DynamicPaintSurface( - DynamicPaintSurface ptr_next, - DynamicPaintSurface ptr_prev, - DynamicPaintCanvasSettings ptr_canvas, - PaintSurfaceData ptr_data, - Collection ptr_brush_group, - EffectorWeights ptr_effector_weights, - PointCache ptr_pointcache, + DynamicPaintSurface next, + DynamicPaintSurface prev, + DynamicPaintCanvasSettings canvas, + PaintSurfaceData data, + Collection brush_group, + EffectorWeights effector_weights, + PointCache pointcache, ListBase ptcaches, int current_frame, char[] name, @@ -182,7 +182,7 @@ namespace BlendFile.DNA { int start_frame, int end_frame, float[] init_color, - Tex ptr_init_texture, + Tex init_texture, char[] init_layername, int dry_speed, int diss_speed, @@ -206,13 +206,13 @@ namespace BlendFile.DNA { char[] image_output_path, char[] output_name, char[] output_name2) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_canvas = ptr_canvas; - this.ptr_data = ptr_data; - this.ptr_brush_group = ptr_brush_group; - this.ptr_effector_weights = ptr_effector_weights; - this.ptr_pointcache = ptr_pointcache; + this.next = next; + this.prev = prev; + this.canvas = canvas; + this.data = data; + this.brush_group = brush_group; + this.effector_weights = effector_weights; + this.pointcache = pointcache; this.ptcaches = ptcaches; this.current_frame = current_frame; this.name = name; @@ -229,7 +229,7 @@ namespace BlendFile.DNA { this.start_frame = start_frame; this.end_frame = end_frame; this.init_color = init_color; - this.ptr_init_texture = ptr_init_texture; + this.init_texture = init_texture; this.init_layername = init_layername; this.dry_speed = dry_speed; this.diss_speed = diss_speed; diff --git a/BlendFile/DNA/EQCurveMappingData.cs b/BlendFile/DNA/EQCurveMappingData.cs index 93c660e..febfa2f 100644 --- a/BlendFile/DNA/EQCurveMappingData.cs +++ b/BlendFile/DNA/EQCurveMappingData.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(912, "EQCurveMappingData", 440)] public class EQCurveMappingData { - [DNAFieldAttribute(0, "EQCurveMappingData", "*next", "EQCurveMappingData", 8, true, 0)] - public EQCurveMappingData ptr_next; - [DNAFieldAttribute(1, "EQCurveMappingData", "*prev", "EQCurveMappingData", 8, true, 8)] - public EQCurveMappingData ptr_prev; - [DNAFieldAttribute(2, "CurveMapping", "curve_mapping", "CurveMapping", 424, false, 16)] + [DNAFieldAttribute(8, "EQCurveMappingData", 0, "*next", "EQCurveMappingData", true, 0)] + public EQCurveMappingData next; + [DNAFieldAttribute(8, "EQCurveMappingData", 1, "*prev", "EQCurveMappingData", true, 8)] + public EQCurveMappingData prev; + [DNAFieldAttribute(424, "CurveMapping", 2, "curve_mapping", "CurveMapping", false, 16)] public CurveMapping curve_mapping; public EQCurveMappingData() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public EQCurveMappingData(EQCurveMappingData next, EQCurveMappingData prev, CurveMapping curve_mapping) { + this.next = next; + this.prev = prev; this.curve_mapping = curve_mapping; } } diff --git a/BlendFile/DNA/EdgeSplitModifierData.cs b/BlendFile/DNA/EdgeSplitModifierData.cs index 14f3993..aae84ac 100644 --- a/BlendFile/DNA/EdgeSplitModifierData.cs +++ b/BlendFile/DNA/EdgeSplitModifierData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(453, "EdgeSplitModifierData", 128)] - public struct EdgeSplitModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class EdgeSplitModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "split_angle", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "split_angle", "float", false, 120)] public float split_angle; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 124)] public int flags; public EdgeSplitModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/Editing.cs b/BlendFile/DNA/Editing.cs index 41a103b..770eee7 100644 --- a/BlendFile/DNA/Editing.cs +++ b/BlendFile/DNA/Editing.cs @@ -15,60 +15,60 @@ namespace BlendFile.DNA { [DNAClassAttribute(840, "Editing", 3256)] public class Editing { - [DNAFieldAttribute(0, "ListBase", "*seqbasep", "ListBase", 8, true, 0)] - public ListBase ptr_seqbasep; - [DNAFieldAttribute(1, "ListBase", "*displayed_channels", "ListBase", 8, true, 8)] - public ListBase ptr_displayed_channels; - [DNAFieldAttribute(2, "void", "*_pad0", "void", 8, true, 16)] - public object ptr__pad0; - [DNAFieldAttribute(3, "ListBase", "seqbase", "ListBase", 16, false, 24)] + [DNAFieldAttribute(8, "ListBase", 0, "*seqbasep", "ListBase", true, 0)] + public ListBase seqbasep; + [DNAFieldAttribute(8, "ListBase", 1, "*displayed_channels", "ListBase", true, 8)] + public ListBase displayed_channels; + [DNAFieldAttribute(8, "void", 2, "*_pad0", "void", true, 16)] + public object _pad0; + [DNAFieldAttribute(16, "ListBase", 3, "seqbase", "ListBase", false, 24)] public ListBase seqbase; - [DNAFieldAttribute(4, "ListBase", "metastack", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 4, "metastack", "ListBase", false, 40)] public ListBase metastack; - [DNAFieldAttribute(5, "ListBase", "channels", "ListBase", 16, false, 56)] + [DNAFieldAttribute(16, "ListBase", 5, "channels", "ListBase", false, 56)] public ListBase channels; - [DNAFieldAttribute(6, "Sequence", "*act_seq", "Sequence", 8, true, 72)] - public Sequence ptr_act_seq; - [DNAFieldAttribute(7, "char", "act_imagedir[1024]", "System.Char[]", 1024, false, 80)] + [DNAFieldAttribute(8, "Sequence", 6, "*act_seq", "Sequence", true, 72)] + public Sequence act_seq; + [DNAFieldAttribute(1024, "char", 7, "act_imagedir[1024]", "System.Char[]", false, 80)] public char[] act_imagedir = new System.Char[1024]; - [DNAFieldAttribute(8, "char", "act_sounddir[1024]", "System.Char[]", 1024, false, 1104)] + [DNAFieldAttribute(1024, "char", 8, "act_sounddir[1024]", "System.Char[]", false, 1104)] public char[] act_sounddir = new System.Char[1024]; - [DNAFieldAttribute(9, "char", "proxy_dir[1024]", "System.Char[]", 1024, false, 2128)] + [DNAFieldAttribute(1024, "char", 9, "proxy_dir[1024]", "System.Char[]", false, 2128)] public char[] proxy_dir = new System.Char[1024]; - [DNAFieldAttribute(10, "int", "proxy_storage", "int", 4, false, 3152)] + [DNAFieldAttribute(4, "int", 10, "proxy_storage", "int", false, 3152)] public int proxy_storage; - [DNAFieldAttribute(11, "int", "over_ofs", "int", 4, false, 3156)] + [DNAFieldAttribute(4, "int", 11, "over_ofs", "int", false, 3156)] public int over_ofs; - [DNAFieldAttribute(12, "int", "over_cfra", "int", 4, false, 3160)] + [DNAFieldAttribute(4, "int", 12, "over_cfra", "int", false, 3160)] public int over_cfra; - [DNAFieldAttribute(13, "int", "over_flag", "int", 4, false, 3164)] + [DNAFieldAttribute(4, "int", 13, "over_flag", "int", false, 3164)] public int over_flag; - [DNAFieldAttribute(14, "rctf", "over_border", "rctf", 16, false, 3168)] + [DNAFieldAttribute(16, "rctf", 14, "over_border", "rctf", false, 3168)] public rctf over_border; - [DNAFieldAttribute(15, "int", "show_missing_media_flag", "int", 4, false, 3184)] + [DNAFieldAttribute(4, "int", 15, "show_missing_media_flag", "int", false, 3184)] public int show_missing_media_flag; - [DNAFieldAttribute(16, "int", "_pad1", "int", 4, false, 3188)] + [DNAFieldAttribute(4, "int", 16, "_pad1", "int", false, 3188)] public int _pad1; - [DNAFieldAttribute(17, "SeqCache", "*cache", "SeqCache", 8, true, 3192)] - public SeqCache ptr_cache; - [DNAFieldAttribute(18, "float", "recycle_max_cost", "float", 4, false, 3200)] + [DNAFieldAttribute(8, "SeqCache", 17, "*cache", "SeqCache", true, 3192)] + public SeqCache cache; + [DNAFieldAttribute(4, "float", 18, "recycle_max_cost", "float", false, 3200)] public float recycle_max_cost; - [DNAFieldAttribute(19, "int", "cache_flag", "int", 4, false, 3204)] + [DNAFieldAttribute(4, "int", 19, "cache_flag", "int", false, 3204)] public int cache_flag; - [DNAFieldAttribute(20, "PrefetchJob", "*prefetch_job", "PrefetchJob", 8, true, 3208)] - public PrefetchJob ptr_prefetch_job; - [DNAFieldAttribute(21, "int64_t", "disk_cache_timestamp", "int64_t", 8, false, 3216)] + [DNAFieldAttribute(8, "PrefetchJob", 20, "*prefetch_job", "PrefetchJob", true, 3208)] + public PrefetchJob prefetch_job; + [DNAFieldAttribute(8, "int64_t", 21, "disk_cache_timestamp", "int64_t", false, 3216)] public long disk_cache_timestamp; - [DNAFieldAttribute(22, "EditingRuntime", "runtime", "EditingRuntime", 32, false, 3224)] + [DNAFieldAttribute(32, "EditingRuntime", 22, "runtime", "EditingRuntime", false, 3224)] public EditingRuntime runtime; public Editing() { - this.ptr_seqbasep = default; - this.ptr_displayed_channels = default; - this.ptr__pad0 = default; + this.seqbasep = default; + this.displayed_channels = default; + this._pad0 = default; this.seqbase = default; this.metastack = default; this.channels = default; - this.ptr_act_seq = default; + this.act_seq = default; this.act_imagedir = default; this.act_sounddir = default; this.proxy_dir = default; @@ -79,21 +79,21 @@ namespace BlendFile.DNA { this.over_border = default; this.show_missing_media_flag = default; this._pad1 = default; - this.ptr_cache = default; + this.cache = default; this.recycle_max_cost = default; this.cache_flag = default; - this.ptr_prefetch_job = default; + this.prefetch_job = default; this.disk_cache_timestamp = default; this.runtime = default; } public Editing( - ListBase ptr_seqbasep, - ListBase ptr_displayed_channels, - object ptr__pad0, + ListBase seqbasep, + ListBase displayed_channels, + object _pad0, ListBase seqbase, ListBase metastack, ListBase channels, - Sequence ptr_act_seq, + Sequence act_seq, char[] act_imagedir, char[] act_sounddir, char[] proxy_dir, @@ -104,19 +104,19 @@ namespace BlendFile.DNA { rctf over_border, int show_missing_media_flag, int _pad1, - SeqCache ptr_cache, + SeqCache cache, float recycle_max_cost, int cache_flag, - PrefetchJob ptr_prefetch_job, + PrefetchJob prefetch_job, long disk_cache_timestamp, EditingRuntime runtime) { - this.ptr_seqbasep = ptr_seqbasep; - this.ptr_displayed_channels = ptr_displayed_channels; - this.ptr__pad0 = ptr__pad0; + this.seqbasep = seqbasep; + this.displayed_channels = displayed_channels; + this._pad0 = _pad0; this.seqbase = seqbase; this.metastack = metastack; this.channels = channels; - this.ptr_act_seq = ptr_act_seq; + this.act_seq = act_seq; this.act_imagedir = act_imagedir; this.act_sounddir = act_sounddir; this.proxy_dir = proxy_dir; @@ -127,10 +127,10 @@ namespace BlendFile.DNA { this.over_border = over_border; this.show_missing_media_flag = show_missing_media_flag; this._pad1 = _pad1; - this.ptr_cache = ptr_cache; + this.cache = cache; this.recycle_max_cost = recycle_max_cost; this.cache_flag = cache_flag; - this.ptr_prefetch_job = ptr_prefetch_job; + this.prefetch_job = prefetch_job; this.disk_cache_timestamp = disk_cache_timestamp; this.runtime = runtime; } diff --git a/BlendFile/DNA/EditingRuntime.cs b/BlendFile/DNA/EditingRuntime.cs index f03e0dc..4d4d041 100644 --- a/BlendFile/DNA/EditingRuntime.cs +++ b/BlendFile/DNA/EditingRuntime.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(890, "EditingRuntime", 32)] public class EditingRuntime { - [DNAFieldAttribute(0, "SequenceLookup", "*sequence_lookup", "SequenceLookup", 8, true, 0)] - public SequenceLookup ptr_sequence_lookup; - [DNAFieldAttribute(1, "MediaPresence", "*media_presence", "MediaPresence", 8, true, 8)] - public MediaPresence ptr_media_presence; - [DNAFieldAttribute(2, "ThumbnailCache", "*thumbnail_cache", "ThumbnailCache", 8, true, 16)] - public ThumbnailCache ptr_thumbnail_cache; - [DNAFieldAttribute(3, "void", "*_pad", "void", 8, true, 24)] - public object ptr__pad; + [DNAFieldAttribute(8, "SequenceLookup", 0, "*sequence_lookup", "SequenceLookup", true, 0)] + public SequenceLookup sequence_lookup; + [DNAFieldAttribute(8, "MediaPresence", 1, "*media_presence", "MediaPresence", true, 8)] + public MediaPresence media_presence; + [DNAFieldAttribute(8, "ThumbnailCache", 2, "*thumbnail_cache", "ThumbnailCache", true, 16)] + public ThumbnailCache thumbnail_cache; + [DNAFieldAttribute(8, "void", 3, "*_pad", "void", true, 24)] + public object _pad; public EditingRuntime() { - this.ptr_sequence_lookup = default; - this.ptr_media_presence = default; - this.ptr_thumbnail_cache = default; - this.ptr__pad = default; + this.sequence_lookup = default; + this.media_presence = default; + this.thumbnail_cache = default; + this._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; - this.ptr_thumbnail_cache = ptr_thumbnail_cache; - this.ptr__pad = ptr__pad; + public EditingRuntime(SequenceLookup sequence_lookup, MediaPresence media_presence, ThumbnailCache thumbnail_cache, object _pad) { + this.sequence_lookup = sequence_lookup; + this.media_presence = media_presence; + this.thumbnail_cache = thumbnail_cache; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/Effect.cs b/BlendFile/DNA/Effect.cs index 75c339b..94660b9 100644 --- a/BlendFile/DNA/Effect.cs +++ b/BlendFile/DNA/Effect.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(234, "Effect", 24)] public class Effect { - [DNAFieldAttribute(0, "Effect", "*next", "Effect", 8, true, 0)] - public Effect ptr_next; - [DNAFieldAttribute(1, "Effect", "*prev", "Effect", 8, true, 8)] - public Effect ptr_prev; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "Effect", 0, "*next", "Effect", true, 0)] + public Effect next; + [DNAFieldAttribute(8, "Effect", 1, "*prev", "Effect", true, 8)] + public Effect prev; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(4, "short", "buttype", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)] public short buttype; - [DNAFieldAttribute(5, "char", "_pad0[2]", "System.Char[]", 2, false, 22)] + [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 22)] public char[] _pad0 = new System.Char[2]; public Effect() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public Effect(Effect next, Effect prev, short type, short flag, short buttype, char[] _pad0) { + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.buttype = buttype; diff --git a/BlendFile/DNA/EffectorWeights.cs b/BlendFile/DNA/EffectorWeights.cs index 9f68ddf..43a5bad 100644 --- a/BlendFile/DNA/EffectorWeights.cs +++ b/BlendFile/DNA/EffectorWeights.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(156, "EffectorWeights", 72)] public class EffectorWeights { - [DNAFieldAttribute(0, "Collection", "*group", "Collection", 8, true, 0)] - public Collection ptr_group; - [DNAFieldAttribute(1, "float", "weight[14]", "System.Single[]", 56, false, 8)] + [DNAFieldAttribute(8, "Collection", 0, "*group", "Collection", true, 0)] + public Collection group; + [DNAFieldAttribute(56, "float", 1, "weight[14]", "System.Single[]", false, 8)] public float[] weight = new System.Single[14]; - [DNAFieldAttribute(2, "float", "global_gravity", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 2, "global_gravity", "float", false, 64)] public float global_gravity; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 68)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 68)] public short flag; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 70)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 70)] public char[] _pad = new System.Char[2]; public EffectorWeights() { - this.ptr_group = default; + this.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; + public EffectorWeights(Collection group, float[] weight, float global_gravity, short flag, char[] _pad) { + this.group = group; this.weight = weight; this.global_gravity = global_gravity; this.flag = flag; diff --git a/BlendFile/DNA/EnvelopeGpencilModifierData.cs b/BlendFile/DNA/EnvelopeGpencilModifierData.cs index a12d8c4..a313a12 100644 --- a/BlendFile/DNA/EnvelopeGpencilModifierData.cs +++ b/BlendFile/DNA/EnvelopeGpencilModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(306, "EnvelopeGpencilModifierData", 280)] public class EnvelopeGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "vgname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "vgname[64]", "System.Char[]", false, 176)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(4, "int", "pass_index", "int", 4, false, 240)] + [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(6, "int", "mode", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 6, "mode", "int", false, 248)] public int mode; - [DNAFieldAttribute(7, "int", "mat_nr", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 7, "mat_nr", "int", false, 252)] public int mat_nr; - [DNAFieldAttribute(8, "float", "thickness", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 8, "thickness", "float", false, 256)] public float thickness; - [DNAFieldAttribute(9, "float", "strength", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 9, "strength", "float", false, 260)] public float strength; - [DNAFieldAttribute(10, "int", "skip", "int", 4, false, 264)] + [DNAFieldAttribute(4, "int", 10, "skip", "int", false, 264)] public int skip; - [DNAFieldAttribute(11, "int", "layer_pass", "int", 4, false, 268)] + [DNAFieldAttribute(4, "int", 11, "layer_pass", "int", false, 268)] public int layer_pass; - [DNAFieldAttribute(12, "int", "spread", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 12, "spread", "int", false, 272)] public int spread; - [DNAFieldAttribute(13, "char", "_pad[4]", "System.Char[]", 4, false, 276)] + [DNAFieldAttribute(4, "char", 13, "_pad[4]", "System.Char[]", false, 276)] public char[] _pad = new System.Char[4]; public EnvelopeGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.vgname = default; this.pass_index = default; @@ -59,9 +59,9 @@ namespace BlendFile.DNA { 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) { + public EnvelopeGpencilModifierData(GpencilModifierData modifier, Material 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; + this.material = material; this.layername = layername; this.vgname = vgname; this.pass_index = pass_index; diff --git a/BlendFile/DNA/ExplodeModifierData.cs b/BlendFile/DNA/ExplodeModifierData.cs index 30d2af2..e0732cb 100644 --- a/BlendFile/DNA/ExplodeModifierData.cs +++ b/BlendFile/DNA/ExplodeModifierData.cs @@ -15,41 +15,41 @@ namespace BlendFile.DNA { [DNAClassAttribute(479, "ExplodeModifierData", 216)] public class ExplodeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "int", "*facepa", "int", 8, true, 120)] - public int ptr_facepa; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 128)] + [DNAFieldAttribute(8, "int", 1, "*facepa", "int", true, 120)] + public int facepa; + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 128)] public short flag; - [DNAFieldAttribute(3, "short", "vgroup", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 3, "vgroup", "short", false, 130)] public short vgroup; - [DNAFieldAttribute(4, "float", "protect", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 4, "protect", "float", false, 132)] public float protect; - [DNAFieldAttribute(5, "char", "uvname[68]", "System.Char[]", 68, false, 136)] + [DNAFieldAttribute(68, "char", 5, "uvname[68]", "System.Char[]", false, 136)] public char[] uvname = new System.Char[68]; - [DNAFieldAttribute(6, "char", "_pad1[4]", "System.Char[]", 4, false, 204)] + [DNAFieldAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", false, 204)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(7, "void", "*_pad2", "void", 8, true, 208)] - public object ptr__pad2; + [DNAFieldAttribute(8, "void", 7, "*_pad2", "void", true, 208)] + public object _pad2; public ExplodeModifierData() { this.modifier = default; - this.ptr_facepa = default; + this.facepa = default; this.flag = default; this.vgroup = default; this.protect = default; this.uvname = default; this._pad1 = default; - this.ptr__pad2 = default; + this._pad2 = default; } - public ExplodeModifierData(ModifierData modifier, int ptr_facepa, short flag, short vgroup, float protect, char[] uvname, char[] _pad1, object ptr__pad2) { + public ExplodeModifierData(ModifierData modifier, int facepa, short flag, short vgroup, float protect, char[] uvname, char[] _pad1, object _pad2) { this.modifier = modifier; - this.ptr_facepa = ptr_facepa; + this.facepa = facepa; this.flag = flag; this.vgroup = vgroup; this.protect = protect; this.uvname = uvname; this._pad1 = _pad1; - this.ptr__pad2 = ptr__pad2; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/FCM_EnvelopeData.cs b/BlendFile/DNA/FCM_EnvelopeData.cs index 08044da..86e03cb 100644 --- a/BlendFile/DNA/FCM_EnvelopeData.cs +++ b/BlendFile/DNA/FCM_EnvelopeData.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(83, "FCM_EnvelopeData", 16)] - public struct FCM_EnvelopeData { - [DNAFieldAttribute(0, "float", "min", "float", 4, false, 0)] + public class FCM_EnvelopeData { + [DNAFieldAttribute(4, "float", 0, "min", "float", false, 0)] public float min; - [DNAFieldAttribute(1, "float", "max", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "max", "float", false, 4)] public float max; - [DNAFieldAttribute(2, "float", "time", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "time", "float", false, 8)] public float time; - [DNAFieldAttribute(3, "short", "f1", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 3, "f1", "short", false, 12)] public short f1; - [DNAFieldAttribute(4, "short", "f2", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 4, "f2", "short", false, 14)] public short f2; public FCM_EnvelopeData() { this.min = default; diff --git a/BlendFile/DNA/FCurve.cs b/BlendFile/DNA/FCurve.cs index 39c03e4..a523970 100644 --- a/BlendFile/DNA/FCurve.cs +++ b/BlendFile/DNA/FCurve.cs @@ -13,56 +13,54 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(79, "FCurve", 120)] + [DNAClassAttribute(79, "FCurve", 116)] public class FCurve { - [DNAFieldAttribute(0, "FCurve", "*next", "FCurve", 8, true, 0)] - public FCurve ptr_next; - [DNAFieldAttribute(1, "FCurve", "*prev", "FCurve", 8, true, 8)] - public FCurve ptr_prev; - [DNAFieldAttribute(2, "bActionGroup", "*grp", "bActionGroup", 8, true, 16)] - public bActionGroup ptr_grp; - [DNAFieldAttribute(3, "ChannelDriver", "*driver", "ChannelDriver", 8, true, 24)] - public ChannelDriver ptr_driver; - [DNAFieldAttribute(4, "ListBase", "modifiers", "ListBase", 16, false, 32)] + [DNAFieldAttribute(8, "FCurve", 0, "*next", "FCurve", true, 0)] + public FCurve next; + [DNAFieldAttribute(8, "FCurve", 1, "*prev", "FCurve", true, 8)] + public FCurve prev; + [DNAFieldAttribute(8, "bActionGroup", 2, "*grp", "bActionGroup", true, 16)] + public bActionGroup grp; + [DNAFieldAttribute(8, "ChannelDriver", 3, "*driver", "ChannelDriver", true, 24)] + public ChannelDriver driver; + [DNAFieldAttribute(16, "ListBase", 4, "modifiers", "ListBase", false, 32)] public ListBase modifiers; - [DNAFieldAttribute(5, "BezTriple", "*bezt", "BezTriple", 8, true, 48)] - public BezTriple ptr_bezt; - [DNAFieldAttribute(6, "FPoint", "*fpt", "FPoint", 8, true, 56)] - public FPoint ptr_fpt; - [DNAFieldAttribute(7, "int", "totvert", "int", 4, false, 64)] + [DNAFieldAttribute(8, "BezTriple", 5, "*bezt", "BezTriple", true, 48)] + public BezTriple bezt; + [DNAFieldAttribute(8, "FPoint", 6, "*fpt", "FPoint", true, 56)] + public FPoint fpt; + [DNAFieldAttribute(4, "int", 7, "totvert", "int", false, 64)] public int totvert; - [DNAFieldAttribute(8, "int", "active_keyframe_index", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 8, "active_keyframe_index", "int", false, 68)] public int active_keyframe_index; - [DNAFieldAttribute(9, "float", "curval", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 9, "curval", "float", false, 72)] public float curval; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 76)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 76)] public short flag; - [DNAFieldAttribute(11, "short", "extend", "short", 2, false, 78)] + [DNAFieldAttribute(2, "short", 11, "extend", "short", false, 78)] public short extend; - [DNAFieldAttribute(12, "char", "auto_smoothing", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 12, "auto_smoothing", "char", false, 80)] public char auto_smoothing; - [DNAFieldAttribute(13, "char", "_pad[3]", "System.Char[]", 3, false, 81)] + [DNAFieldAttribute(3, "char", 13, "_pad[3]", "System.Char[]", false, 81)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(14, "int", "array_index", "int", 4, false, 84)] - public int array_index; - [DNAFieldAttribute(15, "char", "*rna_path", "char", 8, true, 88)] - public char ptr_rna_path; - [DNAFieldAttribute(16, "int", "color_mode", "int", 4, false, 96)] + [DNAFieldAttribute(8, "char", 15, "*rna_path", "char", true, 84)] + public char rna_path; + [DNAFieldAttribute(4, "int", 16, "color_mode", "int", false, 92)] public int color_mode; - [DNAFieldAttribute(17, "float", "color[3]", "System.Single[]", 12, false, 100)] + [DNAFieldAttribute(12, "float", 17, "color[3]", "System.Single[]", false, 96)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(18, "float", "prev_norm_factor", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 18, "prev_norm_factor", "float", false, 108)] public float prev_norm_factor; - [DNAFieldAttribute(19, "float", "prev_offset", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 19, "prev_offset", "float", false, 112)] public float prev_offset; public FCurve() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_grp = default; - this.ptr_driver = default; + this.next = default; + this.prev = default; + this.grp = default; + this.driver = default; this.modifiers = default; - this.ptr_bezt = default; - this.ptr_fpt = default; + this.bezt = default; + this.fpt = default; this.totvert = default; this.active_keyframe_index = default; this.curval = default; @@ -70,21 +68,20 @@ namespace BlendFile.DNA { this.extend = default; this.auto_smoothing = default; this._pad = default; - this.array_index = default; - this.ptr_rna_path = default; + this.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, - bActionGroup ptr_grp, - ChannelDriver ptr_driver, + FCurve next, + FCurve prev, + bActionGroup grp, + ChannelDriver driver, ListBase modifiers, - BezTriple ptr_bezt, - FPoint ptr_fpt, + BezTriple bezt, + FPoint fpt, int totvert, int active_keyframe_index, float curval, @@ -92,19 +89,18 @@ namespace BlendFile.DNA { short extend, char auto_smoothing, char[] _pad, - int array_index, - char ptr_rna_path, + char rna_path, int color_mode, float[] color, float prev_norm_factor, float prev_offset) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_grp = ptr_grp; - this.ptr_driver = ptr_driver; + this.next = next; + this.prev = prev; + this.grp = grp; + this.driver = driver; this.modifiers = modifiers; - this.ptr_bezt = ptr_bezt; - this.ptr_fpt = ptr_fpt; + this.bezt = bezt; + this.fpt = fpt; this.totvert = totvert; this.active_keyframe_index = active_keyframe_index; this.curval = curval; @@ -112,8 +108,7 @@ namespace BlendFile.DNA { this.extend = extend; this.auto_smoothing = auto_smoothing; this._pad = _pad; - this.array_index = array_index; - this.ptr_rna_path = ptr_rna_path; + this.rna_path = rna_path; this.color_mode = color_mode; this.color = color; this.prev_norm_factor = prev_norm_factor; diff --git a/BlendFile/DNA/FFMpegCodecData.cs b/BlendFile/DNA/FFMpegCodecData.cs index befc2fe..c14e0dc 100644 --- a/BlendFile/DNA/FFMpegCodecData.cs +++ b/BlendFile/DNA/FFMpegCodecData.cs @@ -15,44 +15,44 @@ namespace BlendFile.DNA { [DNAClassAttribute(797, "FFMpegCodecData", 80)] public class FFMpegCodecData { - [DNAFieldAttribute(0, "int", "type", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "type", "int", false, 0)] public int type; - [DNAFieldAttribute(1, "int", "codec", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "codec", "int", false, 4)] public int codec; - [DNAFieldAttribute(2, "int", "audio_codec", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "audio_codec", "int", false, 8)] public int audio_codec; - [DNAFieldAttribute(3, "int", "video_bitrate", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "video_bitrate", "int", false, 12)] public int video_bitrate; - [DNAFieldAttribute(4, "int", "audio_bitrate", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "audio_bitrate", "int", false, 16)] public int audio_bitrate; - [DNAFieldAttribute(5, "int", "audio_mixrate", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "audio_mixrate", "int", false, 20)] public int audio_mixrate; - [DNAFieldAttribute(6, "int", "audio_channels", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "audio_channels", "int", false, 24)] public int audio_channels; - [DNAFieldAttribute(7, "float", "audio_volume", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "audio_volume", "float", false, 28)] public float audio_volume; - [DNAFieldAttribute(8, "int", "gop_size", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 8, "gop_size", "int", false, 32)] public int gop_size; - [DNAFieldAttribute(9, "int", "max_b_frames", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 9, "max_b_frames", "int", false, 36)] public int max_b_frames; - [DNAFieldAttribute(10, "int", "flags", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 10, "flags", "int", false, 40)] public int flags; - [DNAFieldAttribute(11, "int", "constant_rate_factor", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 11, "constant_rate_factor", "int", false, 44)] public int constant_rate_factor; - [DNAFieldAttribute(12, "int", "ffmpeg_preset", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 12, "ffmpeg_preset", "int", false, 48)] public int ffmpeg_preset; - [DNAFieldAttribute(13, "int", "rc_min_rate", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 13, "rc_min_rate", "int", false, 52)] public int rc_min_rate; - [DNAFieldAttribute(14, "int", "rc_max_rate", "int", 4, false, 56)] + [DNAFieldAttribute(4, "int", 14, "rc_max_rate", "int", false, 56)] public int rc_max_rate; - [DNAFieldAttribute(15, "int", "rc_buffer_size", "int", 4, false, 60)] + [DNAFieldAttribute(4, "int", 15, "rc_buffer_size", "int", false, 60)] public int rc_buffer_size; - [DNAFieldAttribute(16, "int", "mux_packet_size", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 16, "mux_packet_size", "int", false, 64)] public int mux_packet_size; - [DNAFieldAttribute(17, "int", "mux_rate", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 17, "mux_rate", "int", false, 68)] public int mux_rate; - [DNAFieldAttribute(18, "void", "*_pad1", "void", 8, true, 72)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 18, "*_pad1", "void", true, 72)] + public object _pad1; public FFMpegCodecData() { this.type = default; this.codec = default; @@ -72,7 +72,7 @@ namespace BlendFile.DNA { this.rc_buffer_size = default; this.mux_packet_size = default; this.mux_rate = default; - this.ptr__pad1 = default; + this._pad1 = default; } public FFMpegCodecData( int type, @@ -93,7 +93,7 @@ namespace BlendFile.DNA { int rc_buffer_size, int mux_packet_size, int mux_rate, - object ptr__pad1) { + object _pad1) { this.type = type; this.codec = codec; this.audio_codec = audio_codec; @@ -112,7 +112,7 @@ namespace BlendFile.DNA { this.rc_buffer_size = rc_buffer_size; this.mux_packet_size = mux_packet_size; this.mux_rate = mux_rate; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/FMod_Cycles.cs b/BlendFile/DNA/FMod_Cycles.cs index b07382c..5fa6dba 100644 --- a/BlendFile/DNA/FMod_Cycles.cs +++ b/BlendFile/DNA/FMod_Cycles.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(85, "FMod_Cycles", 8)] - public struct FMod_Cycles { - [DNAFieldAttribute(0, "short", "before_mode", "short", 2, false, 0)] + public class FMod_Cycles { + [DNAFieldAttribute(2, "short", 0, "before_mode", "short", false, 0)] public short before_mode; - [DNAFieldAttribute(1, "short", "after_mode", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "after_mode", "short", false, 2)] public short after_mode; - [DNAFieldAttribute(2, "short", "before_cycles", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "before_cycles", "short", false, 4)] public short before_cycles; - [DNAFieldAttribute(3, "short", "after_cycles", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "after_cycles", "short", false, 6)] public short after_cycles; public FMod_Cycles() { this.before_mode = default; diff --git a/BlendFile/DNA/FMod_Envelope.cs b/BlendFile/DNA/FMod_Envelope.cs index 83ac720..ff3da8e 100644 --- a/BlendFile/DNA/FMod_Envelope.cs +++ b/BlendFile/DNA/FMod_Envelope.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(84, "FMod_Envelope", 24)] public class FMod_Envelope { - [DNAFieldAttribute(0, "FCM_EnvelopeData", "*data", "FCM_EnvelopeData", 8, true, 0)] - public FCM_EnvelopeData ptr_data; - [DNAFieldAttribute(1, "int", "totvert", "int", 4, false, 8)] + [DNAFieldAttribute(8, "FCM_EnvelopeData", 0, "*data", "FCM_EnvelopeData", true, 0)] + public FCM_EnvelopeData data; + [DNAFieldAttribute(4, "int", 1, "totvert", "int", false, 8)] public int totvert; - [DNAFieldAttribute(2, "float", "midval", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "midval", "float", false, 12)] public float midval; - [DNAFieldAttribute(3, "float", "min", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 3, "min", "float", false, 16)] public float min; - [DNAFieldAttribute(4, "float", "max", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 4, "max", "float", false, 20)] public float max; public FMod_Envelope() { - this.ptr_data = default; + this.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; + public FMod_Envelope(FCM_EnvelopeData data, int totvert, float midval, float min, float max) { + this.data = data; this.totvert = totvert; this.midval = midval; this.min = min; diff --git a/BlendFile/DNA/FMod_FunctionGenerator.cs b/BlendFile/DNA/FMod_FunctionGenerator.cs index ae155c0..d6ff962 100644 --- a/BlendFile/DNA/FMod_FunctionGenerator.cs +++ b/BlendFile/DNA/FMod_FunctionGenerator.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(82, "FMod_FunctionGenerator", 24)] - public struct FMod_FunctionGenerator { - [DNAFieldAttribute(0, "float", "amplitude", "float", 4, false, 0)] + public class FMod_FunctionGenerator { + [DNAFieldAttribute(4, "float", 0, "amplitude", "float", false, 0)] public float amplitude; - [DNAFieldAttribute(1, "float", "phase_multiplier", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "phase_multiplier", "float", false, 4)] public float phase_multiplier; - [DNAFieldAttribute(2, "float", "phase_offset", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "phase_offset", "float", false, 8)] public float phase_offset; - [DNAFieldAttribute(3, "float", "value_offset", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "value_offset", "float", false, 12)] public float value_offset; - [DNAFieldAttribute(4, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 20)] public int flag; public FMod_FunctionGenerator() { this.amplitude = default; diff --git a/BlendFile/DNA/FMod_Generator.cs b/BlendFile/DNA/FMod_Generator.cs index a81a816..ac0c3cb 100644 --- a/BlendFile/DNA/FMod_Generator.cs +++ b/BlendFile/DNA/FMod_Generator.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(81, "FMod_Generator", 24)] public class FMod_Generator { - [DNAFieldAttribute(0, "float", "*coefficients", "float", 8, true, 0)] - public float ptr_coefficients; - [DNAFieldAttribute(1, "int", "arraysize", "int", 4, false, 8)] + [DNAFieldAttribute(8, "float", 0, "*coefficients", "float", true, 0)] + public float coefficients; + [DNAFieldAttribute(4, "int", 1, "arraysize", "int", false, 8)] public int arraysize; - [DNAFieldAttribute(2, "int", "poly_order", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "poly_order", "int", false, 12)] public int poly_order; - [DNAFieldAttribute(3, "int", "mode", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "mode", "int", false, 16)] public int mode; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 20)] public int flag; public FMod_Generator() { - this.ptr_coefficients = default; + this.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; + public FMod_Generator(float coefficients, int arraysize, int poly_order, int mode, int flag) { + this.coefficients = coefficients; this.arraysize = arraysize; this.poly_order = poly_order; this.mode = mode; diff --git a/BlendFile/DNA/FMod_Limits.cs b/BlendFile/DNA/FMod_Limits.cs index 92ede6b..cb0cb59 100644 --- a/BlendFile/DNA/FMod_Limits.cs +++ b/BlendFile/DNA/FMod_Limits.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(86, "FMod_Limits", 24)] - public struct FMod_Limits { - [DNAFieldAttribute(0, "rctf", "rect", "rctf", 16, false, 0)] + public class FMod_Limits { + [DNAFieldAttribute(16, "rctf", 0, "rect", "rctf", false, 0)] public rctf rect; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public FMod_Limits() { this.rect = default; diff --git a/BlendFile/DNA/FMod_Noise.cs b/BlendFile/DNA/FMod_Noise.cs index 0744eea..6792533 100644 --- a/BlendFile/DNA/FMod_Noise.cs +++ b/BlendFile/DNA/FMod_Noise.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(88, "FMod_Noise", 20)] - public struct FMod_Noise { - [DNAFieldAttribute(0, "float", "size", "float", 4, false, 0)] + public class FMod_Noise { + [DNAFieldAttribute(4, "float", 0, "size", "float", false, 0)] public float size; - [DNAFieldAttribute(1, "float", "strength", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "strength", "float", false, 4)] public float strength; - [DNAFieldAttribute(2, "float", "phase", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "phase", "float", false, 8)] public float phase; - [DNAFieldAttribute(3, "float", "offset", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "offset", "float", false, 12)] public float offset; - [DNAFieldAttribute(4, "short", "depth", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 4, "depth", "short", false, 16)] public short depth; - [DNAFieldAttribute(5, "short", "modification", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 5, "modification", "short", false, 18)] public short modification; public FMod_Noise() { this.size = default; diff --git a/BlendFile/DNA/FMod_Stepped.cs b/BlendFile/DNA/FMod_Stepped.cs index 0973f0c..0f4fe08 100644 --- a/BlendFile/DNA/FMod_Stepped.cs +++ b/BlendFile/DNA/FMod_Stepped.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(89, "FMod_Stepped", 20)] - public struct FMod_Stepped { - [DNAFieldAttribute(0, "float", "step_size", "float", 4, false, 0)] + public class FMod_Stepped { + [DNAFieldAttribute(4, "float", 0, "step_size", "float", false, 0)] public float step_size; - [DNAFieldAttribute(1, "float", "offset", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "offset", "float", false, 4)] public float offset; - [DNAFieldAttribute(2, "float", "start_frame", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "start_frame", "float", false, 8)] public float start_frame; - [DNAFieldAttribute(3, "float", "end_frame", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "end_frame", "float", false, 12)] public float end_frame; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 16)] public int flag; public FMod_Stepped() { this.step_size = default; diff --git a/BlendFile/DNA/FModifier.cs b/BlendFile/DNA/FModifier.cs index eb7384a..b94cae2 100644 --- a/BlendFile/DNA/FModifier.cs +++ b/BlendFile/DNA/FModifier.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(80, "FModifier", 128)] public class FModifier { - [DNAFieldAttribute(0, "FModifier", "*next", "FModifier", 8, true, 0)] - public FModifier ptr_next; - [DNAFieldAttribute(1, "FModifier", "*prev", "FModifier", 8, true, 8)] - public FModifier ptr_prev; - [DNAFieldAttribute(2, "FCurve", "*curve", "FCurve", 8, true, 16)] - public FCurve ptr_curve; - [DNAFieldAttribute(3, "void", "*data", "void", 8, true, 24)] - public object ptr_data; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(8, "FModifier", 0, "*next", "FModifier", true, 0)] + public FModifier next; + [DNAFieldAttribute(8, "FModifier", 1, "*prev", "FModifier", true, 8)] + public FModifier prev; + [DNAFieldAttribute(8, "FCurve", 2, "*curve", "FCurve", true, 16)] + public FCurve curve; + [DNAFieldAttribute(8, "void", 3, "*data", "void", true, 24)] + public object data; + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 32)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "short", "type", "short", 2, false, 96)] + [DNAFieldAttribute(2, "short", 5, "type", "short", false, 96)] public short type; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 98)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 98)] public short flag; - [DNAFieldAttribute(7, "short", "ui_expand_flag", "short", 2, false, 100)] + [DNAFieldAttribute(2, "short", 7, "ui_expand_flag", "short", false, 100)] public short ui_expand_flag; - [DNAFieldAttribute(8, "char", "_pad[6]", "System.Char[]", 6, false, 102)] + [DNAFieldAttribute(6, "char", 8, "_pad[6]", "System.Char[]", false, 102)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(9, "float", "influence", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 9, "influence", "float", false, 108)] public float influence; - [DNAFieldAttribute(10, "float", "sfra", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 10, "sfra", "float", false, 112)] public float sfra; - [DNAFieldAttribute(11, "float", "efra", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 11, "efra", "float", false, 116)] public float efra; - [DNAFieldAttribute(12, "float", "blendin", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 12, "blendin", "float", false, 120)] public float blendin; - [DNAFieldAttribute(13, "float", "blendout", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 13, "blendout", "float", false, 124)] public float blendout; public FModifier() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_curve = default; - this.ptr_data = default; + this.next = default; + this.prev = default; + this.curve = default; + this.data = default; this.name = default; this.type = default; this.flag = default; @@ -59,11 +59,11 @@ namespace BlendFile.DNA { 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; - this.ptr_curve = ptr_curve; - this.ptr_data = ptr_data; + public FModifier(FModifier next, FModifier prev, FCurve curve, object data, char[] name, short type, short flag, short ui_expand_flag, char[] _pad, float influence, float sfra, float efra, float blendin, float blendout) { + this.next = next; + this.prev = prev; + this.curve = curve; + this.data = data; this.name = name; this.type = type; this.flag = flag; diff --git a/BlendFile/DNA/FPoint.cs b/BlendFile/DNA/FPoint.cs index 7e9a987..e719262 100644 --- a/BlendFile/DNA/FPoint.cs +++ b/BlendFile/DNA/FPoint.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(94, "FPoint", 16)] - public struct FPoint { - [DNAFieldAttribute(0, "float", "vec[2]", "System.Single[]", 8, false, 0)] + public class FPoint { + [DNAFieldAttribute(8, "float", 0, "vec[2]", "System.Single[]", false, 0)] public float[] vec = new System.Single[2]; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public FPoint() { this.vec = default; diff --git a/BlendFile/DNA/FileAssetSelectParams.cs b/BlendFile/DNA/FileAssetSelectParams.cs index 5b89dbe..599f046 100644 --- a/BlendFile/DNA/FileAssetSelectParams.cs +++ b/BlendFile/DNA/FileAssetSelectParams.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(941, "FileAssetSelectParams", 2128)] - public struct FileAssetSelectParams { - [DNAFieldAttribute(0, "FileSelectParams", "base_params", "FileSelectParams", 2088, false, 0)] + public class FileAssetSelectParams { + [DNAFieldAttribute(2088, "FileSelectParams", 0, "base_params", "FileSelectParams", false, 0)] public FileSelectParams base_params; - [DNAFieldAttribute(1, "AssetLibraryReference", "asset_library_ref", "AssetLibraryReference", 8, false, 2088)] + [DNAFieldAttribute(8, "AssetLibraryReference", 1, "asset_library_ref", "AssetLibraryReference", false, 2088)] public AssetLibraryReference asset_library_ref; - [DNAFieldAttribute(2, "short", "asset_catalog_visibility", "short", 2, false, 2096)] + [DNAFieldAttribute(2, "short", 2, "asset_catalog_visibility", "short", false, 2096)] public short asset_catalog_visibility; - [DNAFieldAttribute(3, "char", "_pad[6]", "System.Char[]", 6, false, 2098)] + [DNAFieldAttribute(6, "char", 3, "_pad[6]", "System.Char[]", false, 2098)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(4, "bUUID", "catalog_id", "bUUID", 16, false, 2104)] + [DNAFieldAttribute(16, "bUUID", 4, "catalog_id", "bUUID", false, 2104)] public bUUID catalog_id; - [DNAFieldAttribute(5, "short", "import_type", "short", 2, false, 2120)] + [DNAFieldAttribute(2, "short", 5, "import_type", "short", false, 2120)] public short import_type; - [DNAFieldAttribute(6, "char", "_pad2[6]", "System.Char[]", 6, false, 2122)] + [DNAFieldAttribute(6, "char", 6, "_pad2[6]", "System.Char[]", false, 2122)] public char[] _pad2 = new System.Char[6]; public FileAssetSelectParams() { this.base_params = default; diff --git a/BlendFile/DNA/FileFolderHistory.cs b/BlendFile/DNA/FileFolderHistory.cs index ce71b9f..e95a3f2 100644 --- a/BlendFile/DNA/FileFolderHistory.cs +++ b/BlendFile/DNA/FileFolderHistory.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(942, "FileFolderHistory", 56)] public class FileFolderHistory { - [DNAFieldAttribute(0, "FileFolderLists", "*next", "FileFolderLists", 8, true, 0)] - public FileFolderLists ptr_next; - [DNAFieldAttribute(1, "FileFolderLists", "*prev", "FileFolderLists", 8, true, 8)] - public FileFolderLists ptr_prev; - [DNAFieldAttribute(2, "char", "browse_mode", "char", 1, false, 16)] + [DNAFieldAttribute(8, "FileFolderLists", 0, "*next", "FileFolderLists", true, 0)] + public FileFolderLists next; + [DNAFieldAttribute(8, "FileFolderLists", 1, "*prev", "FileFolderLists", true, 8)] + public FileFolderLists prev; + [DNAFieldAttribute(1, "char", 2, "browse_mode", "char", false, 16)] public char browse_mode; - [DNAFieldAttribute(3, "char", "_pad[7]", "System.Char[]", 7, false, 17)] + [DNAFieldAttribute(7, "char", 3, "_pad[7]", "System.Char[]", false, 17)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(4, "ListBase", "folders_prev", "ListBase", 16, false, 24)] + [DNAFieldAttribute(16, "ListBase", 4, "folders_prev", "ListBase", false, 24)] public ListBase folders_prev; - [DNAFieldAttribute(5, "ListBase", "folders_next", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 5, "folders_next", "ListBase", false, 40)] public ListBase folders_next; public FileFolderHistory() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public FileFolderHistory(FileFolderLists next, FileFolderLists prev, char browse_mode, char[] _pad, ListBase folders_prev, ListBase folders_next) { + this.next = next; + this.prev = prev; this.browse_mode = browse_mode; this._pad = _pad; this.folders_prev = folders_prev; diff --git a/BlendFile/DNA/FileGlobal.cs b/BlendFile/DNA/FileGlobal.cs index 4b231e0..3c7bfbd 100644 --- a/BlendFile/DNA/FileGlobal.cs +++ b/BlendFile/DNA/FileGlobal.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(239, "FileGlobal", 1104)] public class FileGlobal { - [DNAFieldAttribute(0, "char", "subvstr[4]", "System.Char[]", 4, false, 0)] + [DNAFieldAttribute(4, "char", 0, "subvstr[4]", "System.Char[]", false, 0)] public char[] subvstr = new System.Char[4]; - [DNAFieldAttribute(1, "short", "subversion", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "subversion", "short", false, 4)] public short subversion; - [DNAFieldAttribute(2, "short", "minversion", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 2, "minversion", "short", false, 6)] public short minversion; - [DNAFieldAttribute(3, "short", "minsubversion", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 3, "minsubversion", "short", false, 8)] public short minsubversion; - [DNAFieldAttribute(4, "char", "_pad[6]", "System.Char[]", 6, false, 10)] + [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(5, "bScreen", "*curscreen", "bScreen", 8, true, 16)] - public bScreen ptr_curscreen; - [DNAFieldAttribute(6, "Scene", "*curscene", "Scene", 8, true, 24)] - public Scene ptr_curscene; - [DNAFieldAttribute(7, "ViewLayer", "*cur_view_layer", "ViewLayer", 8, true, 32)] - public ViewLayer ptr_cur_view_layer; - [DNAFieldAttribute(8, "void", "*_pad1", "void", 8, true, 40)] - public object ptr__pad1; - [DNAFieldAttribute(9, "int", "fileflags", "int", 4, false, 48)] + [DNAFieldAttribute(8, "bScreen", 5, "*curscreen", "bScreen", true, 16)] + public bScreen curscreen; + [DNAFieldAttribute(8, "Scene", 6, "*curscene", "Scene", true, 24)] + public Scene curscene; + [DNAFieldAttribute(8, "ViewLayer", 7, "*cur_view_layer", "ViewLayer", true, 32)] + public ViewLayer cur_view_layer; + [DNAFieldAttribute(8, "void", 8, "*_pad1", "void", true, 40)] + public object _pad1; + [DNAFieldAttribute(4, "int", 9, "fileflags", "int", false, 48)] public int fileflags; - [DNAFieldAttribute(10, "int", "globalf", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 10, "globalf", "int", false, 52)] public int globalf; - [DNAFieldAttribute(11, "uint64_t", "build_commit_timestamp", "uint64_t", 8, false, 56)] + [DNAFieldAttribute(8, "uint64_t", 11, "build_commit_timestamp", "uint64_t", false, 56)] public ulong build_commit_timestamp; - [DNAFieldAttribute(12, "char", "build_hash[16]", "System.Char[]", 16, false, 64)] + [DNAFieldAttribute(16, "char", 12, "build_hash[16]", "System.Char[]", false, 64)] public char[] build_hash = new System.Char[16]; - [DNAFieldAttribute(13, "char", "filename[1024]", "System.Char[]", 1024, false, 80)] + [DNAFieldAttribute(1024, "char", 13, "filename[1024]", "System.Char[]", false, 80)] public char[] filename = new System.Char[1024]; public FileGlobal() { this.subvstr = default; @@ -49,26 +49,26 @@ namespace BlendFile.DNA { 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.curscreen = default; + this.curscene = default; + this.cur_view_layer = default; + this._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) { + public FileGlobal(char[] subvstr, short subversion, short minversion, short minsubversion, char[] _pad, bScreen curscreen, Scene curscene, ViewLayer cur_view_layer, object _pad1, int fileflags, int globalf, ulong build_commit_timestamp, char[] build_hash, char[] filename) { this.subvstr = subvstr; this.subversion = subversion; this.minversion = minversion; this.minsubversion = minsubversion; this._pad = _pad; - this.ptr_curscreen = ptr_curscreen; - this.ptr_curscene = ptr_curscene; - this.ptr_cur_view_layer = ptr_cur_view_layer; - this.ptr__pad1 = ptr__pad1; + this.curscreen = curscreen; + this.curscene = curscene; + this.cur_view_layer = cur_view_layer; + this._pad1 = _pad1; this.fileflags = fileflags; this.globalf = globalf; this.build_commit_timestamp = build_commit_timestamp; diff --git a/BlendFile/DNA/FileHandler.cs b/BlendFile/DNA/FileHandler.cs index 747a9aa..1d029f4 100644 --- a/BlendFile/DNA/FileHandler.cs +++ b/BlendFile/DNA/FileHandler.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(874, "FileHandler", 8)] public class FileHandler { - [DNAFieldAttribute(0, "FileHandlerTypeHandle", "*type", "FileHandlerTypeHandle", 8, true, 0)] - public FileHandlerTypeHandle ptr_type; + [DNAFieldAttribute(8, "FileHandlerTypeHandle", 0, "*type", "FileHandlerTypeHandle", true, 0)] + public FileHandlerTypeHandle type; public FileHandler() { - this.ptr_type = default; + this.type = default; } - public FileHandler(FileHandlerTypeHandle ptr_type) { - this.ptr_type = ptr_type; + public FileHandler(FileHandlerTypeHandle type) { + this.type = type; } } } diff --git a/BlendFile/DNA/FileSelectParams.cs b/BlendFile/DNA/FileSelectParams.cs index ebfff61..fbe6a6c 100644 --- a/BlendFile/DNA/FileSelectParams.cs +++ b/BlendFile/DNA/FileSelectParams.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(940, "FileSelectParams", 2088)] public class FileSelectParams { - [DNAFieldAttribute(0, "char", "title[96]", "System.Char[]", 96, false, 0)] + [DNAFieldAttribute(96, "char", 0, "title[96]", "System.Char[]", false, 0)] public char[] title = new System.Char[96]; - [DNAFieldAttribute(1, "char", "dir[1090]", "System.Char[]", 1090, false, 96)] + [DNAFieldAttribute(1090, "char", 1, "dir[1090]", "System.Char[]", false, 96)] public char[] dir = new System.Char[1090]; - [DNAFieldAttribute(2, "char", "file[256]", "System.Char[]", 256, false, 1186)] + [DNAFieldAttribute(256, "char", 2, "file[256]", "System.Char[]", false, 1186)] public char[] file = new System.Char[256]; - [DNAFieldAttribute(3, "char", "renamefile[256]", "System.Char[]", 256, false, 1442)] + [DNAFieldAttribute(256, "char", 3, "renamefile[256]", "System.Char[]", false, 1442)] public char[] renamefile = new System.Char[256]; - [DNAFieldAttribute(4, "short", "rename_flag", "short", 2, false, 1698)] + [DNAFieldAttribute(2, "short", 4, "rename_flag", "short", false, 1698)] public short rename_flag; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 1700)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 1700)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "ID", "*rename_id", "ID", 8, true, 1704)] - public ID ptr_rename_id; - [DNAFieldAttribute(7, "void", "*_pad3", "void", 8, true, 1712)] - public object ptr__pad3; - [DNAFieldAttribute(8, "char", "filter_glob[256]", "System.Char[]", 256, false, 1720)] + [DNAFieldAttribute(8, "ID", 6, "*rename_id", "ID", true, 1704)] + public ID rename_id; + [DNAFieldAttribute(8, "void", 7, "*_pad3", "void", true, 1712)] + public object _pad3; + [DNAFieldAttribute(256, "char", 8, "filter_glob[256]", "System.Char[]", false, 1720)] public char[] filter_glob = new System.Char[256]; - [DNAFieldAttribute(9, "char", "filter_search[64]", "System.Char[]", 64, false, 1976)] + [DNAFieldAttribute(64, "char", 9, "filter_search[64]", "System.Char[]", false, 1976)] public char[] filter_search = new System.Char[64]; - [DNAFieldAttribute(10, "uint64_t", "filter_id", "uint64_t", 8, false, 2040)] + [DNAFieldAttribute(8, "uint64_t", 10, "filter_id", "uint64_t", false, 2040)] public ulong filter_id; - [DNAFieldAttribute(11, "int", "active_file", "int", 4, false, 2048)] + [DNAFieldAttribute(4, "int", 11, "active_file", "int", false, 2048)] public int active_file; - [DNAFieldAttribute(12, "int", "highlight_file", "int", 4, false, 2052)] + [DNAFieldAttribute(4, "int", 12, "highlight_file", "int", false, 2052)] public int highlight_file; - [DNAFieldAttribute(13, "int", "sel_first", "int", 4, false, 2056)] + [DNAFieldAttribute(4, "int", 13, "sel_first", "int", false, 2056)] public int sel_first; - [DNAFieldAttribute(14, "int", "sel_last", "int", 4, false, 2060)] + [DNAFieldAttribute(4, "int", 14, "sel_last", "int", false, 2060)] public int sel_last; - [DNAFieldAttribute(15, "short", "thumbnail_size", "short", 2, false, 2064)] + [DNAFieldAttribute(2, "short", 15, "thumbnail_size", "short", false, 2064)] public short thumbnail_size; - [DNAFieldAttribute(16, "char", "_pad1[2]", "System.Char[]", 2, false, 2066)] + [DNAFieldAttribute(2, "char", 16, "_pad1[2]", "System.Char[]", false, 2066)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(17, "short", "type", "short", 2, false, 2068)] + [DNAFieldAttribute(2, "short", 17, "type", "short", false, 2068)] public short type; - [DNAFieldAttribute(18, "short", "flag", "short", 2, false, 2070)] + [DNAFieldAttribute(2, "short", 18, "flag", "short", false, 2070)] public short flag; - [DNAFieldAttribute(19, "short", "sort", "short", 2, false, 2072)] + [DNAFieldAttribute(2, "short", 19, "sort", "short", false, 2072)] public short sort; - [DNAFieldAttribute(20, "short", "display", "short", 2, false, 2074)] + [DNAFieldAttribute(2, "short", 20, "display", "short", false, 2074)] public short display; - [DNAFieldAttribute(21, "char", "details_flags", "char", 1, false, 2076)] + [DNAFieldAttribute(1, "char", 21, "details_flags", "char", false, 2076)] public char details_flags; - [DNAFieldAttribute(22, "char", "_pad2[3]", "System.Char[]", 3, false, 2077)] + [DNAFieldAttribute(3, "char", 22, "_pad2[3]", "System.Char[]", false, 2077)] public char[] _pad2 = new System.Char[3]; - [DNAFieldAttribute(23, "int", "filter", "int", 4, false, 2080)] + [DNAFieldAttribute(4, "int", 23, "filter", "int", false, 2080)] public int filter; - [DNAFieldAttribute(24, "short", "recursion_level", "short", 2, false, 2084)] + [DNAFieldAttribute(2, "short", 24, "recursion_level", "short", false, 2084)] public short recursion_level; - [DNAFieldAttribute(25, "char", "_pad4[2]", "System.Char[]", 2, false, 2086)] + [DNAFieldAttribute(2, "char", 25, "_pad4[2]", "System.Char[]", false, 2086)] public char[] _pad4 = new System.Char[2]; public FileSelectParams() { this.title = default; @@ -74,8 +74,8 @@ namespace BlendFile.DNA { this.renamefile = default; this.rename_flag = default; this._pad = default; - this.ptr_rename_id = default; - this.ptr__pad3 = default; + this.rename_id = default; + this._pad3 = default; this.filter_glob = default; this.filter_search = default; this.filter_id = default; @@ -102,8 +102,8 @@ namespace BlendFile.DNA { char[] renamefile, short rename_flag, char[] _pad, - ID ptr_rename_id, - object ptr__pad3, + ID rename_id, + object _pad3, char[] filter_glob, char[] filter_search, ulong filter_id, @@ -128,8 +128,8 @@ namespace BlendFile.DNA { this.renamefile = renamefile; this.rename_flag = rename_flag; this._pad = _pad; - this.ptr_rename_id = ptr_rename_id; - this.ptr__pad3 = ptr__pad3; + this.rename_id = rename_id; + this._pad3 = _pad3; this.filter_glob = filter_glob; this.filter_search = filter_search; this.filter_id = filter_id; diff --git a/BlendFile/DNA/FlipShaderFxData.cs b/BlendFile/DNA/FlipShaderFxData.cs index 2cdd122..6976f48 100644 --- a/BlendFile/DNA/FlipShaderFxData.cs +++ b/BlendFile/DNA/FlipShaderFxData.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(919, "FlipShaderFxData", 152)] - public struct FlipShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class FlipShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 104)] public int flag; - [DNAFieldAttribute(2, "int", "flipmode", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 2, "flipmode", "int", false, 108)] public int flipmode; - [DNAFieldAttribute(3, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 112)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 3, "runtime", "ShaderFxData_Runtime", false, 112)] public ShaderFxData_Runtime runtime; public FlipShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/FluidDomainSettings.cs b/BlendFile/DNA/FluidDomainSettings.cs index d31ad90..09c67f4 100644 --- a/BlendFile/DNA/FluidDomainSettings.cs +++ b/BlendFile/DNA/FluidDomainSettings.cs @@ -15,399 +15,399 @@ namespace BlendFile.DNA { [DNAClassAttribute(242, "FluidDomainSettings", 2288)] public class FluidDomainSettings { - [DNAFieldAttribute(0, "FluidModifierData", "*fmd", "FluidModifierData", 8, true, 0)] - public FluidModifierData ptr_fmd; - [DNAFieldAttribute(1, "MANTA", "*fluid", "MANTA", 8, true, 8)] - public MANTA ptr_fluid; - [DNAFieldAttribute(2, "MANTA", "*fluid_old", "MANTA", 8, true, 16)] - public MANTA ptr_fluid_old; - [DNAFieldAttribute(3, "void", "*fluid_mutex", "void", 8, true, 24)] - public object ptr_fluid_mutex; - [DNAFieldAttribute(4, "Collection", "*fluid_group", "Collection", 8, true, 32)] - public Collection ptr_fluid_group; - [DNAFieldAttribute(5, "Collection", "*force_group", "Collection", 8, true, 40)] - public Collection ptr_force_group; - [DNAFieldAttribute(6, "Collection", "*effector_group", "Collection", 8, true, 48)] - public Collection ptr_effector_group; - [DNAFieldAttribute(7, "GPUTexture", "*tex_density", "GPUTexture", 8, true, 56)] - public GPUTexture ptr_tex_density; - [DNAFieldAttribute(8, "GPUTexture", "*tex_color", "GPUTexture", 8, true, 64)] - public GPUTexture ptr_tex_color; - [DNAFieldAttribute(9, "GPUTexture", "*tex_wt", "GPUTexture", 8, true, 72)] - public GPUTexture ptr_tex_wt; - [DNAFieldAttribute(10, "GPUTexture", "*tex_shadow", "GPUTexture", 8, true, 80)] - public GPUTexture ptr_tex_shadow; - [DNAFieldAttribute(11, "GPUTexture", "*tex_flame", "GPUTexture", 8, true, 88)] - public GPUTexture ptr_tex_flame; - [DNAFieldAttribute(12, "GPUTexture", "*tex_flame_coba", "GPUTexture", 8, true, 96)] - public GPUTexture ptr_tex_flame_coba; - [DNAFieldAttribute(13, "GPUTexture", "*tex_coba", "GPUTexture", 8, true, 104)] - public GPUTexture ptr_tex_coba; - [DNAFieldAttribute(14, "GPUTexture", "*tex_field", "GPUTexture", 8, true, 112)] - public GPUTexture ptr_tex_field; - [DNAFieldAttribute(15, "GPUTexture", "*tex_velocity_x", "GPUTexture", 8, true, 120)] - public GPUTexture ptr_tex_velocity_x; - [DNAFieldAttribute(16, "GPUTexture", "*tex_velocity_y", "GPUTexture", 8, true, 128)] - public GPUTexture ptr_tex_velocity_y; - [DNAFieldAttribute(17, "GPUTexture", "*tex_velocity_z", "GPUTexture", 8, true, 136)] - public GPUTexture ptr_tex_velocity_z; - [DNAFieldAttribute(18, "GPUTexture", "*tex_flags", "GPUTexture", 8, true, 144)] - public GPUTexture ptr_tex_flags; - [DNAFieldAttribute(19, "GPUTexture", "*tex_range_field", "GPUTexture", 8, true, 152)] - public GPUTexture ptr_tex_range_field; - [DNAFieldAttribute(20, "Object", "*guiding_parent", "Object", 8, true, 160)] - public Object ptr_guiding_parent; - [DNAFieldAttribute(21, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 168)] - public EffectorWeights ptr_effector_weights; - [DNAFieldAttribute(22, "float", "p0[3]", "System.Single[]", 12, false, 176)] + [DNAFieldAttribute(8, "FluidModifierData", 0, "*fmd", "FluidModifierData", true, 0)] + public FluidModifierData fmd; + [DNAFieldAttribute(8, "MANTA", 1, "*fluid", "MANTA", true, 8)] + public MANTA fluid; + [DNAFieldAttribute(8, "MANTA", 2, "*fluid_old", "MANTA", true, 16)] + public MANTA fluid_old; + [DNAFieldAttribute(8, "void", 3, "*fluid_mutex", "void", true, 24)] + public object fluid_mutex; + [DNAFieldAttribute(8, "Collection", 4, "*fluid_group", "Collection", true, 32)] + public Collection fluid_group; + [DNAFieldAttribute(8, "Collection", 5, "*force_group", "Collection", true, 40)] + public Collection force_group; + [DNAFieldAttribute(8, "Collection", 6, "*effector_group", "Collection", true, 48)] + public Collection effector_group; + [DNAFieldAttribute(8, "GPUTexture", 7, "*tex_density", "GPUTexture", true, 56)] + public GPUTexture tex_density; + [DNAFieldAttribute(8, "GPUTexture", 8, "*tex_color", "GPUTexture", true, 64)] + public GPUTexture tex_color; + [DNAFieldAttribute(8, "GPUTexture", 9, "*tex_wt", "GPUTexture", true, 72)] + public GPUTexture tex_wt; + [DNAFieldAttribute(8, "GPUTexture", 10, "*tex_shadow", "GPUTexture", true, 80)] + public GPUTexture tex_shadow; + [DNAFieldAttribute(8, "GPUTexture", 11, "*tex_flame", "GPUTexture", true, 88)] + public GPUTexture tex_flame; + [DNAFieldAttribute(8, "GPUTexture", 12, "*tex_flame_coba", "GPUTexture", true, 96)] + public GPUTexture tex_flame_coba; + [DNAFieldAttribute(8, "GPUTexture", 13, "*tex_coba", "GPUTexture", true, 104)] + public GPUTexture tex_coba; + [DNAFieldAttribute(8, "GPUTexture", 14, "*tex_field", "GPUTexture", true, 112)] + public GPUTexture tex_field; + [DNAFieldAttribute(8, "GPUTexture", 15, "*tex_velocity_x", "GPUTexture", true, 120)] + public GPUTexture tex_velocity_x; + [DNAFieldAttribute(8, "GPUTexture", 16, "*tex_velocity_y", "GPUTexture", true, 128)] + public GPUTexture tex_velocity_y; + [DNAFieldAttribute(8, "GPUTexture", 17, "*tex_velocity_z", "GPUTexture", true, 136)] + public GPUTexture tex_velocity_z; + [DNAFieldAttribute(8, "GPUTexture", 18, "*tex_flags", "GPUTexture", true, 144)] + public GPUTexture tex_flags; + [DNAFieldAttribute(8, "GPUTexture", 19, "*tex_range_field", "GPUTexture", true, 152)] + public GPUTexture tex_range_field; + [DNAFieldAttribute(8, "Object", 20, "*guiding_parent", "Object", true, 160)] + public Object guiding_parent; + [DNAFieldAttribute(8, "EffectorWeights", 21, "*effector_weights", "EffectorWeights", true, 168)] + public EffectorWeights effector_weights; + [DNAFieldAttribute(12, "float", 22, "p0[3]", "System.Single[]", false, 176)] public float[] p0 = new System.Single[3]; - [DNAFieldAttribute(23, "float", "p1[3]", "System.Single[]", 12, false, 188)] + [DNAFieldAttribute(12, "float", 23, "p1[3]", "System.Single[]", false, 188)] public float[] p1 = new System.Single[3]; - [DNAFieldAttribute(24, "float", "dp0[3]", "System.Single[]", 12, false, 200)] + [DNAFieldAttribute(12, "float", 24, "dp0[3]", "System.Single[]", false, 200)] public float[] dp0 = new System.Single[3]; - [DNAFieldAttribute(25, "float", "cell_size[3]", "System.Single[]", 12, false, 212)] + [DNAFieldAttribute(12, "float", 25, "cell_size[3]", "System.Single[]", false, 212)] public float[] cell_size = new System.Single[3]; - [DNAFieldAttribute(26, "float", "global_size[3]", "System.Single[]", 12, false, 224)] + [DNAFieldAttribute(12, "float", 26, "global_size[3]", "System.Single[]", false, 224)] public float[] global_size = new System.Single[3]; - [DNAFieldAttribute(27, "float", "prev_loc[3]", "System.Single[]", 12, false, 236)] + [DNAFieldAttribute(12, "float", 27, "prev_loc[3]", "System.Single[]", false, 236)] public float[] prev_loc = new System.Single[3]; - [DNAFieldAttribute(28, "int", "shift[3]", "System.Int32[]", 12, false, 248)] + [DNAFieldAttribute(12, "int", 28, "shift[3]", "System.Int32[]", false, 248)] public int[] shift = new System.Int32[3]; - [DNAFieldAttribute(29, "float", "shift_f[3]", "System.Single[]", 12, false, 260)] + [DNAFieldAttribute(12, "float", 29, "shift_f[3]", "System.Single[]", false, 260)] public float[] shift_f = new System.Single[3]; - [DNAFieldAttribute(30, "float", "obj_shift_f[3]", "System.Single[]", 12, false, 272)] + [DNAFieldAttribute(12, "float", 30, "obj_shift_f[3]", "System.Single[]", false, 272)] public float[] obj_shift_f = new System.Single[3]; - [DNAFieldAttribute(31, "float", "imat[4][4]", "System.Single[,]", 64, false, 284)] + [DNAFieldAttribute(64, "float", 31, "imat[4][4]", "System.Single[,]", false, 284)] public float[,] imat = new System.Single[4,4]; - [DNAFieldAttribute(32, "float", "obmat[4][4]", "System.Single[,]", 64, false, 348)] + [DNAFieldAttribute(64, "float", 32, "obmat[4][4]", "System.Single[,]", false, 348)] public float[,] obmat = new System.Single[4,4]; - [DNAFieldAttribute(33, "float", "fluidmat[4][4]", "System.Single[,]", 64, false, 412)] + [DNAFieldAttribute(64, "float", 33, "fluidmat[4][4]", "System.Single[,]", false, 412)] public float[,] fluidmat = new System.Single[4,4]; - [DNAFieldAttribute(34, "float", "fluidmat_wt[4][4]", "System.Single[,]", 64, false, 476)] + [DNAFieldAttribute(64, "float", 34, "fluidmat_wt[4][4]", "System.Single[,]", false, 476)] public float[,] fluidmat_wt = new System.Single[4,4]; - [DNAFieldAttribute(35, "int", "base_res[3]", "System.Int32[]", 12, false, 540)] + [DNAFieldAttribute(12, "int", 35, "base_res[3]", "System.Int32[]", false, 540)] public int[] base_res = new System.Int32[3]; - [DNAFieldAttribute(36, "int", "res_min[3]", "System.Int32[]", 12, false, 552)] + [DNAFieldAttribute(12, "int", 36, "res_min[3]", "System.Int32[]", false, 552)] public int[] res_min = new System.Int32[3]; - [DNAFieldAttribute(37, "int", "res_max[3]", "System.Int32[]", 12, false, 564)] + [DNAFieldAttribute(12, "int", 37, "res_max[3]", "System.Int32[]", false, 564)] public int[] res_max = new System.Int32[3]; - [DNAFieldAttribute(38, "int", "res[3]", "System.Int32[]", 12, false, 576)] + [DNAFieldAttribute(12, "int", 38, "res[3]", "System.Int32[]", false, 576)] public int[] res = new System.Int32[3]; - [DNAFieldAttribute(39, "int", "total_cells", "int", 4, false, 588)] + [DNAFieldAttribute(4, "int", 39, "total_cells", "int", false, 588)] public int total_cells; - [DNAFieldAttribute(40, "float", "dx", "float", 4, false, 592)] + [DNAFieldAttribute(4, "float", 40, "dx", "float", false, 592)] public float dx; - [DNAFieldAttribute(41, "float", "scale", "float", 4, false, 596)] + [DNAFieldAttribute(4, "float", 41, "scale", "float", false, 596)] public float scale; - [DNAFieldAttribute(42, "int", "boundary_width", "int", 4, false, 600)] + [DNAFieldAttribute(4, "int", 42, "boundary_width", "int", false, 600)] public int boundary_width; - [DNAFieldAttribute(43, "float", "gravity_final[3]", "System.Single[]", 12, false, 604)] + [DNAFieldAttribute(12, "float", 43, "gravity_final[3]", "System.Single[]", false, 604)] public float[] gravity_final = new System.Single[3]; - [DNAFieldAttribute(44, "int", "adapt_margin", "int", 4, false, 616)] + [DNAFieldAttribute(4, "int", 44, "adapt_margin", "int", false, 616)] public int adapt_margin; - [DNAFieldAttribute(45, "int", "adapt_res", "int", 4, false, 620)] + [DNAFieldAttribute(4, "int", 45, "adapt_res", "int", false, 620)] public int adapt_res; - [DNAFieldAttribute(46, "float", "adapt_threshold", "float", 4, false, 624)] + [DNAFieldAttribute(4, "float", 46, "adapt_threshold", "float", false, 624)] public float adapt_threshold; - [DNAFieldAttribute(47, "int", "maxres", "int", 4, false, 628)] + [DNAFieldAttribute(4, "int", 47, "maxres", "int", false, 628)] public int maxres; - [DNAFieldAttribute(48, "int", "solver_res", "int", 4, false, 632)] + [DNAFieldAttribute(4, "int", 48, "solver_res", "int", false, 632)] public int solver_res; - [DNAFieldAttribute(49, "int", "border_collisions", "int", 4, false, 636)] + [DNAFieldAttribute(4, "int", 49, "border_collisions", "int", false, 636)] public int border_collisions; - [DNAFieldAttribute(50, "int", "flags", "int", 4, false, 640)] + [DNAFieldAttribute(4, "int", 50, "flags", "int", false, 640)] public int flags; - [DNAFieldAttribute(51, "float", "gravity[3]", "System.Single[]", 12, false, 644)] + [DNAFieldAttribute(12, "float", 51, "gravity[3]", "System.Single[]", false, 644)] public float[] gravity = new System.Single[3]; - [DNAFieldAttribute(52, "int", "active_fields", "int", 4, false, 656)] + [DNAFieldAttribute(4, "int", 52, "active_fields", "int", false, 656)] public int active_fields; - [DNAFieldAttribute(53, "short", "type", "short", 2, false, 660)] + [DNAFieldAttribute(2, "short", 53, "type", "short", false, 660)] public short type; - [DNAFieldAttribute(54, "char", "_pad2[6]", "System.Char[]", 6, false, 662)] + [DNAFieldAttribute(6, "char", 54, "_pad2[6]", "System.Char[]", false, 662)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(55, "float", "alpha", "float", 4, false, 668)] + [DNAFieldAttribute(4, "float", 55, "alpha", "float", false, 668)] public float alpha; - [DNAFieldAttribute(56, "float", "beta", "float", 4, false, 672)] + [DNAFieldAttribute(4, "float", 56, "beta", "float", false, 672)] public float beta; - [DNAFieldAttribute(57, "int", "diss_speed", "int", 4, false, 676)] + [DNAFieldAttribute(4, "int", 57, "diss_speed", "int", false, 676)] public int diss_speed; - [DNAFieldAttribute(58, "float", "vorticity", "float", 4, false, 680)] + [DNAFieldAttribute(4, "float", 58, "vorticity", "float", false, 680)] public float vorticity; - [DNAFieldAttribute(59, "float", "active_color[3]", "System.Single[]", 12, false, 684)] + [DNAFieldAttribute(12, "float", 59, "active_color[3]", "System.Single[]", false, 684)] public float[] active_color = new System.Single[3]; - [DNAFieldAttribute(60, "int", "highres_sampling", "int", 4, false, 696)] + [DNAFieldAttribute(4, "int", 60, "highres_sampling", "int", false, 696)] public int highres_sampling; - [DNAFieldAttribute(61, "float", "burning_rate", "float", 4, false, 700)] + [DNAFieldAttribute(4, "float", 61, "burning_rate", "float", false, 700)] public float burning_rate; - [DNAFieldAttribute(62, "float", "flame_smoke", "float", 4, false, 704)] + [DNAFieldAttribute(4, "float", 62, "flame_smoke", "float", false, 704)] public float flame_smoke; - [DNAFieldAttribute(63, "float", "flame_vorticity", "float", 4, false, 708)] + [DNAFieldAttribute(4, "float", 63, "flame_vorticity", "float", false, 708)] public float flame_vorticity; - [DNAFieldAttribute(64, "float", "flame_ignition", "float", 4, false, 712)] + [DNAFieldAttribute(4, "float", 64, "flame_ignition", "float", false, 712)] public float flame_ignition; - [DNAFieldAttribute(65, "float", "flame_max_temp", "float", 4, false, 716)] + [DNAFieldAttribute(4, "float", 65, "flame_max_temp", "float", false, 716)] public float flame_max_temp; - [DNAFieldAttribute(66, "float", "flame_smoke_color[3]", "System.Single[]", 12, false, 720)] + [DNAFieldAttribute(12, "float", 66, "flame_smoke_color[3]", "System.Single[]", false, 720)] public float[] flame_smoke_color = new System.Single[3]; - [DNAFieldAttribute(67, "float", "noise_strength", "float", 4, false, 732)] + [DNAFieldAttribute(4, "float", 67, "noise_strength", "float", false, 732)] public float noise_strength; - [DNAFieldAttribute(68, "float", "noise_pos_scale", "float", 4, false, 736)] + [DNAFieldAttribute(4, "float", 68, "noise_pos_scale", "float", false, 736)] public float noise_pos_scale; - [DNAFieldAttribute(69, "float", "noise_time_anim", "float", 4, false, 740)] + [DNAFieldAttribute(4, "float", 69, "noise_time_anim", "float", false, 740)] public float noise_time_anim; - [DNAFieldAttribute(70, "int", "res_noise[3]", "System.Int32[]", 12, false, 744)] + [DNAFieldAttribute(12, "int", 70, "res_noise[3]", "System.Int32[]", false, 744)] public int[] res_noise = new System.Int32[3]; - [DNAFieldAttribute(71, "int", "noise_scale", "int", 4, false, 756)] + [DNAFieldAttribute(4, "int", 71, "noise_scale", "int", false, 756)] public int noise_scale; - [DNAFieldAttribute(72, "char", "_pad3[4]", "System.Char[]", 4, false, 760)] + [DNAFieldAttribute(4, "char", 72, "_pad3[4]", "System.Char[]", false, 760)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(73, "float", "particle_randomness", "float", 4, false, 764)] + [DNAFieldAttribute(4, "float", 73, "particle_randomness", "float", false, 764)] public float particle_randomness; - [DNAFieldAttribute(74, "int", "particle_number", "int", 4, false, 768)] + [DNAFieldAttribute(4, "int", 74, "particle_number", "int", false, 768)] public int particle_number; - [DNAFieldAttribute(75, "int", "particle_minimum", "int", 4, false, 772)] + [DNAFieldAttribute(4, "int", 75, "particle_minimum", "int", false, 772)] public int particle_minimum; - [DNAFieldAttribute(76, "int", "particle_maximum", "int", 4, false, 776)] + [DNAFieldAttribute(4, "int", 76, "particle_maximum", "int", false, 776)] public int particle_maximum; - [DNAFieldAttribute(77, "float", "particle_radius", "float", 4, false, 780)] + [DNAFieldAttribute(4, "float", 77, "particle_radius", "float", false, 780)] public float particle_radius; - [DNAFieldAttribute(78, "float", "particle_band_width", "float", 4, false, 784)] + [DNAFieldAttribute(4, "float", 78, "particle_band_width", "float", false, 784)] public float particle_band_width; - [DNAFieldAttribute(79, "float", "fractions_threshold", "float", 4, false, 788)] + [DNAFieldAttribute(4, "float", 79, "fractions_threshold", "float", false, 788)] public float fractions_threshold; - [DNAFieldAttribute(80, "float", "fractions_distance", "float", 4, false, 792)] + [DNAFieldAttribute(4, "float", 80, "fractions_distance", "float", false, 792)] public float fractions_distance; - [DNAFieldAttribute(81, "float", "flip_ratio", "float", 4, false, 796)] + [DNAFieldAttribute(4, "float", 81, "flip_ratio", "float", false, 796)] public float flip_ratio; - [DNAFieldAttribute(82, "int", "sys_particle_maximum", "int", 4, false, 800)] + [DNAFieldAttribute(4, "int", 82, "sys_particle_maximum", "int", false, 800)] public int sys_particle_maximum; - [DNAFieldAttribute(83, "short", "simulation_method", "short", 2, false, 804)] + [DNAFieldAttribute(2, "short", 83, "simulation_method", "short", false, 804)] public short simulation_method; - [DNAFieldAttribute(84, "char", "_pad4[6]", "System.Char[]", 6, false, 806)] + [DNAFieldAttribute(6, "char", 84, "_pad4[6]", "System.Char[]", false, 806)] public char[] _pad4 = new System.Char[6]; - [DNAFieldAttribute(85, "float", "viscosity_value", "float", 4, false, 812)] + [DNAFieldAttribute(4, "float", 85, "viscosity_value", "float", false, 812)] public float viscosity_value; - [DNAFieldAttribute(86, "char", "_pad5[4]", "System.Char[]", 4, false, 816)] + [DNAFieldAttribute(4, "char", 86, "_pad5[4]", "System.Char[]", false, 816)] public char[] _pad5 = new System.Char[4]; - [DNAFieldAttribute(87, "float", "surface_tension", "float", 4, false, 820)] + [DNAFieldAttribute(4, "float", 87, "surface_tension", "float", false, 820)] public float surface_tension; - [DNAFieldAttribute(88, "float", "viscosity_base", "float", 4, false, 824)] + [DNAFieldAttribute(4, "float", 88, "viscosity_base", "float", false, 824)] public float viscosity_base; - [DNAFieldAttribute(89, "int", "viscosity_exponent", "int", 4, false, 828)] + [DNAFieldAttribute(4, "int", 89, "viscosity_exponent", "int", false, 828)] public int viscosity_exponent; - [DNAFieldAttribute(90, "float", "mesh_concave_upper", "float", 4, false, 832)] + [DNAFieldAttribute(4, "float", 90, "mesh_concave_upper", "float", false, 832)] public float mesh_concave_upper; - [DNAFieldAttribute(91, "float", "mesh_concave_lower", "float", 4, false, 836)] + [DNAFieldAttribute(4, "float", 91, "mesh_concave_lower", "float", false, 836)] public float mesh_concave_lower; - [DNAFieldAttribute(92, "float", "mesh_particle_radius", "float", 4, false, 840)] + [DNAFieldAttribute(4, "float", 92, "mesh_particle_radius", "float", false, 840)] public float mesh_particle_radius; - [DNAFieldAttribute(93, "int", "mesh_smoothen_pos", "int", 4, false, 844)] + [DNAFieldAttribute(4, "int", 93, "mesh_smoothen_pos", "int", false, 844)] public int mesh_smoothen_pos; - [DNAFieldAttribute(94, "int", "mesh_smoothen_neg", "int", 4, false, 848)] + [DNAFieldAttribute(4, "int", 94, "mesh_smoothen_neg", "int", false, 848)] public int mesh_smoothen_neg; - [DNAFieldAttribute(95, "int", "mesh_scale", "int", 4, false, 852)] + [DNAFieldAttribute(4, "int", 95, "mesh_scale", "int", false, 852)] public int mesh_scale; - [DNAFieldAttribute(96, "short", "mesh_generator", "short", 2, false, 856)] + [DNAFieldAttribute(2, "short", 96, "mesh_generator", "short", false, 856)] public short mesh_generator; - [DNAFieldAttribute(97, "char", "_pad6[2]", "System.Char[]", 2, false, 858)] + [DNAFieldAttribute(2, "char", 97, "_pad6[2]", "System.Char[]", false, 858)] public char[] _pad6 = new System.Char[2]; - [DNAFieldAttribute(98, "int", "particle_type", "int", 4, false, 860)] + [DNAFieldAttribute(4, "int", 98, "particle_type", "int", false, 860)] public int particle_type; - [DNAFieldAttribute(99, "int", "particle_scale", "int", 4, false, 864)] + [DNAFieldAttribute(4, "int", 99, "particle_scale", "int", false, 864)] public int particle_scale; - [DNAFieldAttribute(100, "float", "sndparticle_tau_min_wc", "float", 4, false, 868)] + [DNAFieldAttribute(4, "float", 100, "sndparticle_tau_min_wc", "float", false, 868)] public float sndparticle_tau_min_wc; - [DNAFieldAttribute(101, "float", "sndparticle_tau_max_wc", "float", 4, false, 872)] + [DNAFieldAttribute(4, "float", 101, "sndparticle_tau_max_wc", "float", false, 872)] public float sndparticle_tau_max_wc; - [DNAFieldAttribute(102, "float", "sndparticle_tau_min_ta", "float", 4, false, 876)] + [DNAFieldAttribute(4, "float", 102, "sndparticle_tau_min_ta", "float", false, 876)] public float sndparticle_tau_min_ta; - [DNAFieldAttribute(103, "float", "sndparticle_tau_max_ta", "float", 4, false, 880)] + [DNAFieldAttribute(4, "float", 103, "sndparticle_tau_max_ta", "float", false, 880)] public float sndparticle_tau_max_ta; - [DNAFieldAttribute(104, "float", "sndparticle_tau_min_k", "float", 4, false, 884)] + [DNAFieldAttribute(4, "float", 104, "sndparticle_tau_min_k", "float", false, 884)] public float sndparticle_tau_min_k; - [DNAFieldAttribute(105, "float", "sndparticle_tau_max_k", "float", 4, false, 888)] + [DNAFieldAttribute(4, "float", 105, "sndparticle_tau_max_k", "float", false, 888)] public float sndparticle_tau_max_k; - [DNAFieldAttribute(106, "int", "sndparticle_k_wc", "int", 4, false, 892)] + [DNAFieldAttribute(4, "int", 106, "sndparticle_k_wc", "int", false, 892)] public int sndparticle_k_wc; - [DNAFieldAttribute(107, "int", "sndparticle_k_ta", "int", 4, false, 896)] + [DNAFieldAttribute(4, "int", 107, "sndparticle_k_ta", "int", false, 896)] public int sndparticle_k_ta; - [DNAFieldAttribute(108, "float", "sndparticle_k_b", "float", 4, false, 900)] + [DNAFieldAttribute(4, "float", 108, "sndparticle_k_b", "float", false, 900)] public float sndparticle_k_b; - [DNAFieldAttribute(109, "float", "sndparticle_k_d", "float", 4, false, 904)] + [DNAFieldAttribute(4, "float", 109, "sndparticle_k_d", "float", false, 904)] public float sndparticle_k_d; - [DNAFieldAttribute(110, "float", "sndparticle_l_min", "float", 4, false, 908)] + [DNAFieldAttribute(4, "float", 110, "sndparticle_l_min", "float", false, 908)] public float sndparticle_l_min; - [DNAFieldAttribute(111, "float", "sndparticle_l_max", "float", 4, false, 912)] + [DNAFieldAttribute(4, "float", 111, "sndparticle_l_max", "float", false, 912)] public float sndparticle_l_max; - [DNAFieldAttribute(112, "int", "sndparticle_potential_radius", "int", 4, false, 916)] + [DNAFieldAttribute(4, "int", 112, "sndparticle_potential_radius", "int", false, 916)] public int sndparticle_potential_radius; - [DNAFieldAttribute(113, "int", "sndparticle_update_radius", "int", 4, false, 920)] + [DNAFieldAttribute(4, "int", 113, "sndparticle_update_radius", "int", false, 920)] public int sndparticle_update_radius; - [DNAFieldAttribute(114, "char", "sndparticle_boundary", "char", 1, false, 924)] + [DNAFieldAttribute(1, "char", 114, "sndparticle_boundary", "char", false, 924)] public char sndparticle_boundary; - [DNAFieldAttribute(115, "char", "sndparticle_combined_export", "char", 1, false, 925)] + [DNAFieldAttribute(1, "char", 115, "sndparticle_combined_export", "char", false, 925)] public char sndparticle_combined_export; - [DNAFieldAttribute(116, "char", "_pad7[6]", "System.Char[]", 6, false, 926)] + [DNAFieldAttribute(6, "char", 116, "_pad7[6]", "System.Char[]", false, 926)] public char[] _pad7 = new System.Char[6]; - [DNAFieldAttribute(117, "float", "guiding_alpha", "float", 4, false, 932)] + [DNAFieldAttribute(4, "float", 117, "guiding_alpha", "float", false, 932)] public float guiding_alpha; - [DNAFieldAttribute(118, "int", "guiding_beta", "int", 4, false, 936)] + [DNAFieldAttribute(4, "int", 118, "guiding_beta", "int", false, 936)] public int guiding_beta; - [DNAFieldAttribute(119, "float", "guiding_vel_factor", "float", 4, false, 940)] + [DNAFieldAttribute(4, "float", 119, "guiding_vel_factor", "float", false, 940)] public float guiding_vel_factor; - [DNAFieldAttribute(120, "int", "guide_res[3]", "System.Int32[]", 12, false, 944)] + [DNAFieldAttribute(12, "int", 120, "guide_res[3]", "System.Int32[]", false, 944)] public int[] guide_res = new System.Int32[3]; - [DNAFieldAttribute(121, "short", "guiding_source", "short", 2, false, 956)] + [DNAFieldAttribute(2, "short", 121, "guiding_source", "short", false, 956)] public short guiding_source; - [DNAFieldAttribute(122, "char", "_pad8[2]", "System.Char[]", 2, false, 958)] + [DNAFieldAttribute(2, "char", 122, "_pad8[2]", "System.Char[]", false, 958)] public char[] _pad8 = new System.Char[2]; - [DNAFieldAttribute(123, "int", "cache_frame_start", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 123, "cache_frame_start", "int", false, 960)] public int cache_frame_start; - [DNAFieldAttribute(124, "int", "cache_frame_end", "int", 4, false, 964)] + [DNAFieldAttribute(4, "int", 124, "cache_frame_end", "int", false, 964)] public int cache_frame_end; - [DNAFieldAttribute(125, "int", "cache_frame_pause_data", "int", 4, false, 968)] + [DNAFieldAttribute(4, "int", 125, "cache_frame_pause_data", "int", false, 968)] public int cache_frame_pause_data; - [DNAFieldAttribute(126, "int", "cache_frame_pause_noise", "int", 4, false, 972)] + [DNAFieldAttribute(4, "int", 126, "cache_frame_pause_noise", "int", false, 972)] public int cache_frame_pause_noise; - [DNAFieldAttribute(127, "int", "cache_frame_pause_mesh", "int", 4, false, 976)] + [DNAFieldAttribute(4, "int", 127, "cache_frame_pause_mesh", "int", false, 976)] public int cache_frame_pause_mesh; - [DNAFieldAttribute(128, "int", "cache_frame_pause_particles", "int", 4, false, 980)] + [DNAFieldAttribute(4, "int", 128, "cache_frame_pause_particles", "int", false, 980)] public int cache_frame_pause_particles; - [DNAFieldAttribute(129, "int", "cache_frame_pause_guiding", "int", 4, false, 984)] + [DNAFieldAttribute(4, "int", 129, "cache_frame_pause_guiding", "int", false, 984)] public int cache_frame_pause_guiding; - [DNAFieldAttribute(130, "int", "cache_frame_offset", "int", 4, false, 988)] + [DNAFieldAttribute(4, "int", 130, "cache_frame_offset", "int", false, 988)] public int cache_frame_offset; - [DNAFieldAttribute(131, "int", "cache_flag", "int", 4, false, 992)] + [DNAFieldAttribute(4, "int", 131, "cache_flag", "int", false, 992)] public int cache_flag; - [DNAFieldAttribute(132, "char", "cache_mesh_format", "char", 1, false, 996)] + [DNAFieldAttribute(1, "char", 132, "cache_mesh_format", "char", false, 996)] public char cache_mesh_format; - [DNAFieldAttribute(133, "char", "cache_data_format", "char", 1, false, 997)] + [DNAFieldAttribute(1, "char", 133, "cache_data_format", "char", false, 997)] public char cache_data_format; - [DNAFieldAttribute(134, "char", "cache_particle_format", "char", 1, false, 998)] + [DNAFieldAttribute(1, "char", 134, "cache_particle_format", "char", false, 998)] public char cache_particle_format; - [DNAFieldAttribute(135, "char", "cache_noise_format", "char", 1, false, 999)] + [DNAFieldAttribute(1, "char", 135, "cache_noise_format", "char", false, 999)] public char cache_noise_format; - [DNAFieldAttribute(136, "char", "cache_directory[1024]", "System.Char[]", 1024, false, 1000)] + [DNAFieldAttribute(1024, "char", 136, "cache_directory[1024]", "System.Char[]", false, 1000)] public char[] cache_directory = new System.Char[1024]; - [DNAFieldAttribute(137, "char", "error[64]", "System.Char[]", 64, false, 2024)] + [DNAFieldAttribute(64, "char", 137, "error[64]", "System.Char[]", false, 2024)] public char[] error = new System.Char[64]; - [DNAFieldAttribute(138, "short", "cache_type", "short", 2, false, 2088)] + [DNAFieldAttribute(2, "short", 138, "cache_type", "short", false, 2088)] public short cache_type; - [DNAFieldAttribute(139, "char", "cache_id[4]", "System.Char[]", 4, false, 2090)] + [DNAFieldAttribute(4, "char", 139, "cache_id[4]", "System.Char[]", false, 2090)] public char[] cache_id = new System.Char[4]; - [DNAFieldAttribute(140, "char", "_pad9[2]", "System.Char[]", 2, false, 2094)] + [DNAFieldAttribute(2, "char", 140, "_pad9[2]", "System.Char[]", false, 2094)] public char[] _pad9 = new System.Char[2]; - [DNAFieldAttribute(141, "float", "dt", "float", 4, false, 2096)] + [DNAFieldAttribute(4, "float", 141, "dt", "float", false, 2096)] public float dt; - [DNAFieldAttribute(142, "float", "time_total", "float", 4, false, 2100)] + [DNAFieldAttribute(4, "float", 142, "time_total", "float", false, 2100)] public float time_total; - [DNAFieldAttribute(143, "float", "time_per_frame", "float", 4, false, 2104)] + [DNAFieldAttribute(4, "float", 143, "time_per_frame", "float", false, 2104)] public float time_per_frame; - [DNAFieldAttribute(144, "float", "frame_length", "float", 4, false, 2108)] + [DNAFieldAttribute(4, "float", 144, "frame_length", "float", false, 2108)] public float frame_length; - [DNAFieldAttribute(145, "float", "time_scale", "float", 4, false, 2112)] + [DNAFieldAttribute(4, "float", 145, "time_scale", "float", false, 2112)] public float time_scale; - [DNAFieldAttribute(146, "float", "cfl_condition", "float", 4, false, 2116)] + [DNAFieldAttribute(4, "float", 146, "cfl_condition", "float", false, 2116)] public float cfl_condition; - [DNAFieldAttribute(147, "int", "timesteps_minimum", "int", 4, false, 2120)] + [DNAFieldAttribute(4, "int", 147, "timesteps_minimum", "int", false, 2120)] public int timesteps_minimum; - [DNAFieldAttribute(148, "int", "timesteps_maximum", "int", 4, false, 2124)] + [DNAFieldAttribute(4, "int", 148, "timesteps_maximum", "int", false, 2124)] public int timesteps_maximum; - [DNAFieldAttribute(149, "float", "slice_per_voxel", "float", 4, false, 2128)] + [DNAFieldAttribute(4, "float", 149, "slice_per_voxel", "float", false, 2128)] public float slice_per_voxel; - [DNAFieldAttribute(150, "float", "slice_depth", "float", 4, false, 2132)] + [DNAFieldAttribute(4, "float", 150, "slice_depth", "float", false, 2132)] public float slice_depth; - [DNAFieldAttribute(151, "float", "display_thickness", "float", 4, false, 2136)] + [DNAFieldAttribute(4, "float", 151, "display_thickness", "float", false, 2136)] public float display_thickness; - [DNAFieldAttribute(152, "float", "grid_scale", "float", 4, false, 2140)] + [DNAFieldAttribute(4, "float", 152, "grid_scale", "float", false, 2140)] public float grid_scale; - [DNAFieldAttribute(153, "ColorBand", "*coba", "ColorBand", 8, true, 2144)] - public ColorBand ptr_coba; - [DNAFieldAttribute(154, "float", "vector_scale", "float", 4, false, 2152)] + [DNAFieldAttribute(8, "ColorBand", 153, "*coba", "ColorBand", true, 2144)] + public ColorBand coba; + [DNAFieldAttribute(4, "float", 154, "vector_scale", "float", false, 2152)] public float vector_scale; - [DNAFieldAttribute(155, "float", "gridlines_lower_bound", "float", 4, false, 2156)] + [DNAFieldAttribute(4, "float", 155, "gridlines_lower_bound", "float", false, 2156)] public float gridlines_lower_bound; - [DNAFieldAttribute(156, "float", "gridlines_upper_bound", "float", 4, false, 2160)] + [DNAFieldAttribute(4, "float", 156, "gridlines_upper_bound", "float", false, 2160)] public float gridlines_upper_bound; - [DNAFieldAttribute(157, "float", "gridlines_range_color[4]", "System.Single[]", 16, false, 2164)] + [DNAFieldAttribute(16, "float", 157, "gridlines_range_color[4]", "System.Single[]", false, 2164)] public float[] gridlines_range_color = new System.Single[4]; - [DNAFieldAttribute(158, "char", "axis_slice_method", "char", 1, false, 2180)] + [DNAFieldAttribute(1, "char", 158, "axis_slice_method", "char", false, 2180)] public char axis_slice_method; - [DNAFieldAttribute(159, "char", "slice_axis", "char", 1, false, 2181)] + [DNAFieldAttribute(1, "char", 159, "slice_axis", "char", false, 2181)] public char slice_axis; - [DNAFieldAttribute(160, "char", "show_gridlines", "char", 1, false, 2182)] + [DNAFieldAttribute(1, "char", 160, "show_gridlines", "char", false, 2182)] public char show_gridlines; - [DNAFieldAttribute(161, "char", "draw_velocity", "char", 1, false, 2183)] + [DNAFieldAttribute(1, "char", 161, "draw_velocity", "char", false, 2183)] public char draw_velocity; - [DNAFieldAttribute(162, "char", "vector_draw_type", "char", 1, false, 2184)] + [DNAFieldAttribute(1, "char", 162, "vector_draw_type", "char", false, 2184)] public char vector_draw_type; - [DNAFieldAttribute(163, "char", "vector_field", "char", 1, false, 2185)] + [DNAFieldAttribute(1, "char", 163, "vector_field", "char", false, 2185)] public char vector_field; - [DNAFieldAttribute(164, "char", "vector_scale_with_magnitude", "char", 1, false, 2186)] + [DNAFieldAttribute(1, "char", 164, "vector_scale_with_magnitude", "char", false, 2186)] public char vector_scale_with_magnitude; - [DNAFieldAttribute(165, "char", "vector_draw_mac_components", "char", 1, false, 2187)] + [DNAFieldAttribute(1, "char", 165, "vector_draw_mac_components", "char", false, 2187)] public char vector_draw_mac_components; - [DNAFieldAttribute(166, "char", "use_coba", "char", 1, false, 2188)] + [DNAFieldAttribute(1, "char", 166, "use_coba", "char", false, 2188)] public char use_coba; - [DNAFieldAttribute(167, "char", "coba_field", "char", 1, false, 2189)] + [DNAFieldAttribute(1, "char", 167, "coba_field", "char", false, 2189)] public char coba_field; - [DNAFieldAttribute(168, "char", "interp_method", "char", 1, false, 2190)] + [DNAFieldAttribute(1, "char", 168, "interp_method", "char", false, 2190)] public char interp_method; - [DNAFieldAttribute(169, "char", "gridlines_color_field", "char", 1, false, 2191)] + [DNAFieldAttribute(1, "char", 169, "gridlines_color_field", "char", false, 2191)] public char gridlines_color_field; - [DNAFieldAttribute(170, "char", "gridlines_cell_filter", "char", 1, false, 2192)] + [DNAFieldAttribute(1, "char", 170, "gridlines_cell_filter", "char", false, 2192)] public char gridlines_cell_filter; - [DNAFieldAttribute(171, "char", "_pad10[3]", "System.Char[]", 3, false, 2193)] + [DNAFieldAttribute(3, "char", 171, "_pad10[3]", "System.Char[]", false, 2193)] public char[] _pad10 = new System.Char[3]; - [DNAFieldAttribute(172, "float", "velocity_scale", "float", 4, false, 2196)] + [DNAFieldAttribute(4, "float", 172, "velocity_scale", "float", false, 2196)] public float velocity_scale; - [DNAFieldAttribute(173, "int", "openvdb_compression", "int", 4, false, 2200)] + [DNAFieldAttribute(4, "int", 173, "openvdb_compression", "int", false, 2200)] public int openvdb_compression; - [DNAFieldAttribute(174, "float", "clipping", "float", 4, false, 2204)] + [DNAFieldAttribute(4, "float", 174, "clipping", "float", false, 2204)] public float clipping; - [DNAFieldAttribute(175, "char", "openvdb_data_depth", "char", 1, false, 2208)] + [DNAFieldAttribute(1, "char", 175, "openvdb_data_depth", "char", false, 2208)] public char openvdb_data_depth; - [DNAFieldAttribute(176, "char", "_pad11[7]", "System.Char[]", 7, false, 2209)] + [DNAFieldAttribute(7, "char", 176, "_pad11[7]", "System.Char[]", false, 2209)] public char[] _pad11 = new System.Char[7]; - [DNAFieldAttribute(177, "int", "viewsettings", "int", 4, false, 2216)] + [DNAFieldAttribute(4, "int", 177, "viewsettings", "int", false, 2216)] public int viewsettings; - [DNAFieldAttribute(178, "char", "_pad12[4]", "System.Char[]", 4, false, 2220)] + [DNAFieldAttribute(4, "char", 178, "_pad12[4]", "System.Char[]", false, 2220)] public char[] _pad12 = new System.Char[4]; - [DNAFieldAttribute(179, "PointCache", "*point_cache[2]", "PointCache[]", 16, true, 2224)] - public PointCache[] ptr_point_ca = new PointCache[2]; - [DNAFieldAttribute(180, "ListBase", "ptcaches[2]", "ListBase[]", 32, false, 2240)] + [DNAFieldAttribute(16, "PointCache", 179, "*point_cache[2]", "PointCache[]", true, 2224)] + public PointCache[] point_cache = new PointCache[2]; + [DNAFieldAttribute(32, "ListBase", 180, "ptcaches[2]", "ListBase[]", false, 2240)] public ListBase[] ptcaches = new ListBase[2]; - [DNAFieldAttribute(181, "int", "cache_comp", "int", 4, false, 2272)] + [DNAFieldAttribute(4, "int", 181, "cache_comp", "int", false, 2272)] public int cache_comp; - [DNAFieldAttribute(182, "int", "cache_high_comp", "int", 4, false, 2276)] + [DNAFieldAttribute(4, "int", 182, "cache_high_comp", "int", false, 2276)] public int cache_high_comp; - [DNAFieldAttribute(183, "char", "cache_file_format", "char", 1, false, 2280)] + [DNAFieldAttribute(1, "char", 183, "cache_file_format", "char", false, 2280)] public char cache_file_format; - [DNAFieldAttribute(184, "char", "_pad13[7]", "System.Char[]", 7, false, 2281)] + [DNAFieldAttribute(7, "char", 184, "_pad13[7]", "System.Char[]", false, 2281)] 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.fmd = default; + this.fluid = default; + this.fluid_old = default; + this.fluid_mutex = default; + this.fluid_group = default; + this.force_group = default; + this.effector_group = default; + this.tex_density = default; + this.tex_color = default; + this.tex_wt = default; + this.tex_shadow = default; + this.tex_flame = default; + this.tex_flame_coba = default; + this.tex_coba = default; + this.tex_field = default; + this.tex_velocity_x = default; + this.tex_velocity_y = default; + this.tex_velocity_z = default; + this.tex_flags = default; + this.tex_range_field = default; + this.guiding_parent = default; + this.effector_weights = default; this.p0 = default; this.p1 = default; this.dp0 = default; @@ -539,7 +539,7 @@ namespace BlendFile.DNA { this.slice_depth = default; this.display_thickness = default; this.grid_scale = default; - this.ptr_coba = default; + this.coba = default; this.vector_scale = default; this.gridlines_lower_bound = default; this.gridlines_upper_bound = default; @@ -565,7 +565,7 @@ namespace BlendFile.DNA { this._pad11 = default; this.viewsettings = default; this._pad12 = default; - this.ptr_point_ca = default; + this.point_cache = default; this.ptcaches = default; this.cache_comp = default; this.cache_high_comp = default; @@ -573,28 +573,28 @@ namespace BlendFile.DNA { this._pad13 = default; } public FluidDomainSettings( - FluidModifierData ptr_fmd, - MANTA ptr_fluid, - MANTA ptr_fluid_old, - object ptr_fluid_mutex, - Collection ptr_fluid_group, - Collection ptr_force_group, - Collection ptr_effector_group, - GPUTexture ptr_tex_density, - GPUTexture ptr_tex_color, - GPUTexture ptr_tex_wt, - GPUTexture ptr_tex_shadow, - GPUTexture ptr_tex_flame, - GPUTexture ptr_tex_flame_coba, - GPUTexture ptr_tex_coba, - GPUTexture ptr_tex_field, - GPUTexture ptr_tex_velocity_x, - GPUTexture ptr_tex_velocity_y, - GPUTexture ptr_tex_velocity_z, - GPUTexture ptr_tex_flags, - GPUTexture ptr_tex_range_field, - Object ptr_guiding_parent, - EffectorWeights ptr_effector_weights, + FluidModifierData fmd, + MANTA fluid, + MANTA fluid_old, + object fluid_mutex, + Collection fluid_group, + Collection force_group, + Collection effector_group, + GPUTexture tex_density, + GPUTexture tex_color, + GPUTexture tex_wt, + GPUTexture tex_shadow, + GPUTexture tex_flame, + GPUTexture tex_flame_coba, + GPUTexture tex_coba, + GPUTexture tex_field, + GPUTexture tex_velocity_x, + GPUTexture tex_velocity_y, + GPUTexture tex_velocity_z, + GPUTexture tex_flags, + GPUTexture tex_range_field, + Object guiding_parent, + EffectorWeights effector_weights, float[] p0, float[] p1, float[] dp0, @@ -726,7 +726,7 @@ namespace BlendFile.DNA { float slice_depth, float display_thickness, float grid_scale, - ColorBand ptr_coba, + ColorBand coba, float vector_scale, float gridlines_lower_bound, float gridlines_upper_bound, @@ -752,34 +752,34 @@ namespace BlendFile.DNA { char[] _pad11, int viewsettings, char[] _pad12, - PointCache[] ptr_point_ca, + PointCache[] point_cache, ListBase[] ptcaches, int cache_comp, int cache_high_comp, char cache_file_format, char[] _pad13) { - this.ptr_fmd = ptr_fmd; - this.ptr_fluid = ptr_fluid; - this.ptr_fluid_old = ptr_fluid_old; - this.ptr_fluid_mutex = ptr_fluid_mutex; - this.ptr_fluid_group = ptr_fluid_group; - this.ptr_force_group = ptr_force_group; - this.ptr_effector_group = ptr_effector_group; - this.ptr_tex_density = ptr_tex_density; - this.ptr_tex_color = ptr_tex_color; - this.ptr_tex_wt = ptr_tex_wt; - this.ptr_tex_shadow = ptr_tex_shadow; - this.ptr_tex_flame = ptr_tex_flame; - this.ptr_tex_flame_coba = ptr_tex_flame_coba; - this.ptr_tex_coba = ptr_tex_coba; - this.ptr_tex_field = ptr_tex_field; - this.ptr_tex_velocity_x = ptr_tex_velocity_x; - this.ptr_tex_velocity_y = ptr_tex_velocity_y; - this.ptr_tex_velocity_z = ptr_tex_velocity_z; - this.ptr_tex_flags = ptr_tex_flags; - this.ptr_tex_range_field = ptr_tex_range_field; - this.ptr_guiding_parent = ptr_guiding_parent; - this.ptr_effector_weights = ptr_effector_weights; + this.fmd = fmd; + this.fluid = fluid; + this.fluid_old = fluid_old; + this.fluid_mutex = fluid_mutex; + this.fluid_group = fluid_group; + this.force_group = force_group; + this.effector_group = effector_group; + this.tex_density = tex_density; + this.tex_color = tex_color; + this.tex_wt = tex_wt; + this.tex_shadow = tex_shadow; + this.tex_flame = tex_flame; + this.tex_flame_coba = tex_flame_coba; + this.tex_coba = tex_coba; + this.tex_field = tex_field; + this.tex_velocity_x = tex_velocity_x; + this.tex_velocity_y = tex_velocity_y; + this.tex_velocity_z = tex_velocity_z; + this.tex_flags = tex_flags; + this.tex_range_field = tex_range_field; + this.guiding_parent = guiding_parent; + this.effector_weights = effector_weights; this.p0 = p0; this.p1 = p1; this.dp0 = dp0; @@ -911,7 +911,7 @@ namespace BlendFile.DNA { this.slice_depth = slice_depth; this.display_thickness = display_thickness; this.grid_scale = grid_scale; - this.ptr_coba = ptr_coba; + this.coba = coba; this.vector_scale = vector_scale; this.gridlines_lower_bound = gridlines_lower_bound; this.gridlines_upper_bound = gridlines_upper_bound; @@ -937,7 +937,7 @@ namespace BlendFile.DNA { this._pad11 = _pad11; this.viewsettings = viewsettings; this._pad12 = _pad12; - this.ptr_point_ca = ptr_point_ca; + this.point_cache = point_cache; this.ptcaches = ptcaches; this.cache_comp = cache_comp; this.cache_high_comp = cache_high_comp; diff --git a/BlendFile/DNA/FluidEffectorSettings.cs b/BlendFile/DNA/FluidEffectorSettings.cs index 0b62c33..84aad69 100644 --- a/BlendFile/DNA/FluidEffectorSettings.cs +++ b/BlendFile/DNA/FluidEffectorSettings.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(248, "FluidEffectorSettings", 56)] public class FluidEffectorSettings { - [DNAFieldAttribute(0, "FluidModifierData", "*fmd", "FluidModifierData", 8, true, 0)] - public FluidModifierData ptr_fmd; - [DNAFieldAttribute(1, "Mesh", "*mesh", "Mesh", 8, true, 8)] - public Mesh ptr_mesh; - [DNAFieldAttribute(2, "float", "*verts_old", "float", 8, true, 16)] - public float ptr_verts_old; - [DNAFieldAttribute(3, "int", "numverts", "int", 4, false, 24)] + [DNAFieldAttribute(8, "FluidModifierData", 0, "*fmd", "FluidModifierData", true, 0)] + public FluidModifierData fmd; + [DNAFieldAttribute(8, "Mesh", 1, "*mesh", "Mesh", true, 8)] + public Mesh mesh; + [DNAFieldAttribute(8, "float", 2, "*verts_old", "float", true, 16)] + public float verts_old; + [DNAFieldAttribute(4, "int", 3, "numverts", "int", false, 24)] public int numverts; - [DNAFieldAttribute(4, "float", "surface_distance", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 4, "surface_distance", "float", false, 28)] public float surface_distance; - [DNAFieldAttribute(5, "int", "flags", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 5, "flags", "int", false, 32)] public int flags; - [DNAFieldAttribute(6, "int", "subframes", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 6, "subframes", "int", false, 36)] public int subframes; - [DNAFieldAttribute(7, "short", "type", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 7, "type", "short", false, 40)] public short type; - [DNAFieldAttribute(8, "char", "_pad1[6]", "System.Char[]", 6, false, 42)] + [DNAFieldAttribute(6, "char", 8, "_pad1[6]", "System.Char[]", false, 42)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(9, "float", "vel_multi", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 9, "vel_multi", "float", false, 48)] public float vel_multi; - [DNAFieldAttribute(10, "short", "guiding_mode", "short", 2, false, 52)] + [DNAFieldAttribute(2, "short", 10, "guiding_mode", "short", false, 52)] public short guiding_mode; - [DNAFieldAttribute(11, "char", "_pad2[2]", "System.Char[]", 2, false, 54)] + [DNAFieldAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", false, 54)] public char[] _pad2 = new System.Char[2]; public FluidEffectorSettings() { - this.ptr_fmd = default; - this.ptr_mesh = default; - this.ptr_verts_old = default; + this.fmd = default; + this.mesh = default; + this.verts_old = default; this.numverts = default; this.surface_distance = default; this.flags = default; @@ -53,10 +53,10 @@ namespace BlendFile.DNA { 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; - this.ptr_verts_old = ptr_verts_old; + public FluidEffectorSettings(FluidModifierData fmd, Mesh mesh, float verts_old, int numverts, float surface_distance, int flags, int subframes, short type, char[] _pad1, float vel_multi, short guiding_mode, char[] _pad2) { + this.fmd = fmd; + this.mesh = mesh; + this.verts_old = verts_old; this.numverts = numverts; this.surface_distance = surface_distance; this.flags = flags; diff --git a/BlendFile/DNA/FluidFlowSettings.cs b/BlendFile/DNA/FluidFlowSettings.cs index 8cb1b12..4083016 100644 --- a/BlendFile/DNA/FluidFlowSettings.cs +++ b/BlendFile/DNA/FluidFlowSettings.cs @@ -15,74 +15,74 @@ namespace BlendFile.DNA { [DNAClassAttribute(246, "FluidFlowSettings", 216)] public class FluidFlowSettings { - [DNAFieldAttribute(0, "FluidModifierData", "*fmd", "FluidModifierData", 8, true, 0)] - public FluidModifierData ptr_fmd; - [DNAFieldAttribute(1, "Mesh", "*mesh", "Mesh", 8, true, 8)] - public Mesh ptr_mesh; - [DNAFieldAttribute(2, "ParticleSystem", "*psys", "ParticleSystem", 8, true, 16)] - public ParticleSystem ptr_psys; - [DNAFieldAttribute(3, "Tex", "*noise_texture", "Tex", 8, true, 24)] - public Tex ptr_noise_texture; - [DNAFieldAttribute(4, "float", "*verts_old", "float", 8, true, 32)] - public float ptr_verts_old; - [DNAFieldAttribute(5, "int", "numverts", "int", 4, false, 40)] + [DNAFieldAttribute(8, "FluidModifierData", 0, "*fmd", "FluidModifierData", true, 0)] + public FluidModifierData fmd; + [DNAFieldAttribute(8, "Mesh", 1, "*mesh", "Mesh", true, 8)] + public Mesh mesh; + [DNAFieldAttribute(8, "ParticleSystem", 2, "*psys", "ParticleSystem", true, 16)] + public ParticleSystem psys; + [DNAFieldAttribute(8, "Tex", 3, "*noise_texture", "Tex", true, 24)] + public Tex noise_texture; + [DNAFieldAttribute(8, "float", 4, "*verts_old", "float", true, 32)] + public float verts_old; + [DNAFieldAttribute(4, "int", 5, "numverts", "int", false, 40)] public int numverts; - [DNAFieldAttribute(6, "float", "vel_multi", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 6, "vel_multi", "float", false, 44)] public float vel_multi; - [DNAFieldAttribute(7, "float", "vel_normal", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 7, "vel_normal", "float", false, 48)] public float vel_normal; - [DNAFieldAttribute(8, "float", "vel_random", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 8, "vel_random", "float", false, 52)] public float vel_random; - [DNAFieldAttribute(9, "float", "vel_coord[3]", "System.Single[]", 12, false, 56)] + [DNAFieldAttribute(12, "float", 9, "vel_coord[3]", "System.Single[]", false, 56)] public float[] vel_coord = new System.Single[3]; - [DNAFieldAttribute(10, "char", "_pad1[4]", "System.Char[]", 4, false, 68)] + [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 68)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(11, "float", "density", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 11, "density", "float", false, 72)] public float density; - [DNAFieldAttribute(12, "float", "color[3]", "System.Single[]", 12, false, 76)] + [DNAFieldAttribute(12, "float", 12, "color[3]", "System.Single[]", false, 76)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(13, "float", "fuel_amount", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 13, "fuel_amount", "float", false, 88)] public float fuel_amount; - [DNAFieldAttribute(14, "float", "temperature", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 14, "temperature", "float", false, 92)] public float temperature; - [DNAFieldAttribute(15, "float", "volume_density", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 15, "volume_density", "float", false, 96)] public float volume_density; - [DNAFieldAttribute(16, "float", "surface_distance", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 16, "surface_distance", "float", false, 100)] public float surface_distance; - [DNAFieldAttribute(17, "float", "particle_size", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 17, "particle_size", "float", false, 104)] public float particle_size; - [DNAFieldAttribute(18, "int", "subframes", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 18, "subframes", "int", false, 108)] public int subframes; - [DNAFieldAttribute(19, "float", "texture_size", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 19, "texture_size", "float", false, 112)] public float texture_size; - [DNAFieldAttribute(20, "float", "texture_offset", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 20, "texture_offset", "float", false, 116)] public float texture_offset; - [DNAFieldAttribute(21, "char", "_pad2[4]", "System.Char[]", 4, false, 120)] + [DNAFieldAttribute(4, "char", 21, "_pad2[4]", "System.Char[]", false, 120)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(22, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 124)] + [DNAFieldAttribute(68, "char", 22, "uvlayer_name[68]", "System.Char[]", false, 124)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(23, "char", "_pad3[4]", "System.Char[]", 4, false, 192)] + [DNAFieldAttribute(4, "char", 23, "_pad3[4]", "System.Char[]", false, 192)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(24, "short", "vgroup_density", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 24, "vgroup_density", "short", false, 196)] public short vgroup_density; - [DNAFieldAttribute(25, "short", "type", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 25, "type", "short", false, 198)] public short type; - [DNAFieldAttribute(26, "short", "behavior", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 26, "behavior", "short", false, 200)] public short behavior; - [DNAFieldAttribute(27, "short", "source", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 27, "source", "short", false, 202)] public short source; - [DNAFieldAttribute(28, "short", "texture_type", "short", 2, false, 204)] + [DNAFieldAttribute(2, "short", 28, "texture_type", "short", false, 204)] public short texture_type; - [DNAFieldAttribute(29, "short", "_pad4[3]", "System.Int16[]", 6, false, 206)] + [DNAFieldAttribute(6, "short", 29, "_pad4[3]", "System.Int16[]", false, 206)] public short[] _pad4 = new System.Int16[3]; - [DNAFieldAttribute(30, "int", "flags", "int", 4, false, 212)] + [DNAFieldAttribute(4, "int", 30, "flags", "int", false, 212)] 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.fmd = default; + this.mesh = default; + this.psys = default; + this.noise_texture = default; + this.verts_old = default; this.numverts = default; this.vel_multi = default; this.vel_normal = default; @@ -111,11 +111,11 @@ namespace BlendFile.DNA { this.flags = default; } public FluidFlowSettings( - FluidModifierData ptr_fmd, - Mesh ptr_mesh, - ParticleSystem ptr_psys, - Tex ptr_noise_texture, - float ptr_verts_old, + FluidModifierData fmd, + Mesh mesh, + ParticleSystem psys, + Tex noise_texture, + float verts_old, int numverts, float vel_multi, float vel_normal, @@ -142,11 +142,11 @@ namespace BlendFile.DNA { short texture_type, short[] _pad4, int flags) { - this.ptr_fmd = ptr_fmd; - this.ptr_mesh = ptr_mesh; - this.ptr_psys = ptr_psys; - this.ptr_noise_texture = ptr_noise_texture; - this.ptr_verts_old = ptr_verts_old; + this.fmd = fmd; + this.mesh = mesh; + this.psys = psys; + this.noise_texture = noise_texture; + this.verts_old = verts_old; this.numverts = numverts; this.vel_multi = vel_multi; this.vel_normal = vel_normal; diff --git a/BlendFile/DNA/FluidModifierData.cs b/BlendFile/DNA/FluidModifierData.cs index 72ac1cb..3d35299 100644 --- a/BlendFile/DNA/FluidModifierData.cs +++ b/BlendFile/DNA/FluidModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(243, "FluidModifierData", 160)] public class FluidModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "FluidDomainSettings", "*domain", "FluidDomainSettings", 8, true, 120)] - public FluidDomainSettings ptr_domain; - [DNAFieldAttribute(2, "FluidFlowSettings", "*flow", "FluidFlowSettings", 8, true, 128)] - public FluidFlowSettings ptr_flow; - [DNAFieldAttribute(3, "FluidEffectorSettings", "*effector", "FluidEffectorSettings", 8, true, 136)] - public FluidEffectorSettings ptr_effector; - [DNAFieldAttribute(4, "float", "time", "float", 4, false, 144)] + [DNAFieldAttribute(8, "FluidDomainSettings", 1, "*domain", "FluidDomainSettings", true, 120)] + public FluidDomainSettings domain; + [DNAFieldAttribute(8, "FluidFlowSettings", 2, "*flow", "FluidFlowSettings", true, 128)] + public FluidFlowSettings flow; + [DNAFieldAttribute(8, "FluidEffectorSettings", 3, "*effector", "FluidEffectorSettings", true, 136)] + public FluidEffectorSettings effector; + [DNAFieldAttribute(4, "float", 4, "time", "float", false, 144)] public float time; - [DNAFieldAttribute(5, "int", "type", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 5, "type", "int", false, 148)] public int type; - [DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true, 152)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 152)] + public object _pad1; public FluidModifierData() { this.modifier = default; - this.ptr_domain = default; - this.ptr_flow = default; - this.ptr_effector = default; + this.domain = default; + this.flow = default; + this.effector = default; this.time = default; this.type = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public FluidModifierData(ModifierData modifier, FluidDomainSettings ptr_domain, FluidFlowSettings ptr_flow, FluidEffectorSettings ptr_effector, float time, int type, object ptr__pad1) { + public FluidModifierData(ModifierData modifier, FluidDomainSettings domain, FluidFlowSettings flow, FluidEffectorSettings effector, float time, int type, object _pad1) { this.modifier = modifier; - this.ptr_domain = ptr_domain; - this.ptr_flow = ptr_flow; - this.ptr_effector = ptr_effector; + this.domain = domain; + this.flow = flow; + this.effector = effector; this.time = time; this.type = type; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/FluidVertexVelocity.cs b/BlendFile/DNA/FluidVertexVelocity.cs index 4198490..325fb9b 100644 --- a/BlendFile/DNA/FluidVertexVelocity.cs +++ b/BlendFile/DNA/FluidVertexVelocity.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(756, "FluidVertexVelocity", 12)] - public struct FluidVertexVelocity { - [DNAFieldAttribute(0, "float", "vel[3]", "System.Single[]", 12, false, 0)] + public class FluidVertexVelocity { + [DNAFieldAttribute(12, "float", 0, "vel[3]", "System.Single[]", false, 0)] public float[] vel = new System.Single[3]; public FluidVertexVelocity() { this.vel = default; diff --git a/BlendFile/DNA/FluidsimModifierData.cs b/BlendFile/DNA/FluidsimModifierData.cs index 6f58570..6649b0b 100644 --- a/BlendFile/DNA/FluidsimModifierData.cs +++ b/BlendFile/DNA/FluidsimModifierData.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(481, "FluidsimModifierData", 136)] public class FluidsimModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "FluidsimSettings", "*fss", "FluidsimSettings", 8, true, 120)] - public FluidsimSettings ptr_fss; - [DNAFieldAttribute(2, "void", "*_pad1", "void", 8, true, 128)] - public object ptr__pad1; + [DNAFieldAttribute(8, "FluidsimSettings", 1, "*fss", "FluidsimSettings", true, 120)] + public FluidsimSettings fss; + [DNAFieldAttribute(8, "void", 2, "*_pad1", "void", true, 128)] + public object _pad1; public FluidsimModifierData() { this.modifier = default; - this.ptr_fss = default; - this.ptr__pad1 = default; + this.fss = default; + this._pad1 = default; } - public FluidsimModifierData(ModifierData modifier, FluidsimSettings ptr_fss, object ptr__pad1) { + public FluidsimModifierData(ModifierData modifier, FluidsimSettings fss, object _pad1) { this.modifier = modifier; - this.ptr_fss = ptr_fss; - this.ptr__pad1 = ptr__pad1; + this.fss = fss; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/FluidsimSettings.cs b/BlendFile/DNA/FluidsimSettings.cs index 72c48ea..4697ec4 100644 --- a/BlendFile/DNA/FluidsimSettings.cs +++ b/BlendFile/DNA/FluidsimSettings.cs @@ -15,112 +15,112 @@ namespace BlendFile.DNA { [DNAClassAttribute(482, "FluidsimSettings", 1240)] public class FluidsimSettings { - [DNAFieldAttribute(0, "FluidsimModifierData", "*fmd", "FluidsimModifierData", 8, true, 0)] - public FluidsimModifierData ptr_fmd; - [DNAFieldAttribute(1, "int", "threads", "int", 4, false, 8)] + [DNAFieldAttribute(8, "FluidsimModifierData", 0, "*fmd", "FluidsimModifierData", true, 0)] + public FluidsimModifierData fmd; + [DNAFieldAttribute(4, "int", 1, "threads", "int", false, 8)] public int threads; - [DNAFieldAttribute(2, "char", "_pad1[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 12)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(3, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 3, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(4, "short", "show_advancedoptions", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 4, "show_advancedoptions", "short", false, 18)] public short show_advancedoptions; - [DNAFieldAttribute(5, "short", "resolutionxyz", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 5, "resolutionxyz", "short", false, 20)] public short resolutionxyz; - [DNAFieldAttribute(6, "short", "previewresxyz", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 6, "previewresxyz", "short", false, 22)] public short previewresxyz; - [DNAFieldAttribute(7, "float", "realsize", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 7, "realsize", "float", false, 24)] public float realsize; - [DNAFieldAttribute(8, "short", "guiDisplayMode", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 8, "guiDisplayMode", "short", false, 28)] public short guiDisplayMode; - [DNAFieldAttribute(9, "short", "renderDisplayMode", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 9, "renderDisplayMode", "short", false, 30)] public short renderDisplayMode; - [DNAFieldAttribute(10, "float", "viscosityValue", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 10, "viscosityValue", "float", false, 32)] public float viscosityValue; - [DNAFieldAttribute(11, "short", "viscosityMode", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 11, "viscosityMode", "short", false, 36)] public short viscosityMode; - [DNAFieldAttribute(12, "short", "viscosityExponent", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 12, "viscosityExponent", "short", false, 38)] public short viscosityExponent; - [DNAFieldAttribute(13, "float", "grav[3]", "System.Single[]", 12, false, 40)] + [DNAFieldAttribute(12, "float", 13, "grav[3]", "System.Single[]", false, 40)] public float[] grav = new System.Single[3]; - [DNAFieldAttribute(14, "float", "animStart", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 14, "animStart", "float", false, 52)] public float animStart; - [DNAFieldAttribute(15, "float", "animEnd", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 15, "animEnd", "float", false, 56)] public float animEnd; - [DNAFieldAttribute(16, "int", "bakeStart", "int", 4, false, 60)] + [DNAFieldAttribute(4, "int", 16, "bakeStart", "int", false, 60)] public int bakeStart; - [DNAFieldAttribute(17, "int", "bakeEnd", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 17, "bakeEnd", "int", false, 64)] public int bakeEnd; - [DNAFieldAttribute(18, "int", "frameOffset", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 18, "frameOffset", "int", false, 68)] public int frameOffset; - [DNAFieldAttribute(19, "char", "_pad2[4]", "System.Char[]", 4, false, 72)] + [DNAFieldAttribute(4, "char", 19, "_pad2[4]", "System.Char[]", false, 72)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(20, "float", "gstar", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 20, "gstar", "float", false, 76)] public float gstar; - [DNAFieldAttribute(21, "int", "maxRefine", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 21, "maxRefine", "int", false, 80)] public int maxRefine; - [DNAFieldAttribute(22, "float", "iniVelx", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 22, "iniVelx", "float", false, 84)] public float iniVelx; - [DNAFieldAttribute(23, "float", "iniVely", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 23, "iniVely", "float", false, 88)] public float iniVely; - [DNAFieldAttribute(24, "float", "iniVelz", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 24, "iniVelz", "float", false, 92)] public float iniVelz; - [DNAFieldAttribute(25, "char", "surfdataPath[1024]", "System.Char[]", 1024, false, 96)] + [DNAFieldAttribute(1024, "char", 25, "surfdataPath[1024]", "System.Char[]", false, 96)] public char[] surfdataPath = new System.Char[1024]; - [DNAFieldAttribute(26, "float", "bbStart[3]", "System.Single[]", 12, false, 1120)] + [DNAFieldAttribute(12, "float", 26, "bbStart[3]", "System.Single[]", false, 1120)] public float[] bbStart = new System.Single[3]; - [DNAFieldAttribute(27, "float", "bbSize[3]", "System.Single[]", 12, false, 1132)] + [DNAFieldAttribute(12, "float", 27, "bbSize[3]", "System.Single[]", false, 1132)] public float[] bbSize = new System.Single[3]; - [DNAFieldAttribute(28, "Ipo", "*ipo", "Ipo", 8, true, 1144)] - public Ipo ptr_ipo; - [DNAFieldAttribute(29, "short", "typeFlags", "short", 2, false, 1152)] + [DNAFieldAttribute(8, "Ipo", 28, "*ipo", "Ipo", true, 1144)] + public Ipo ipo; + [DNAFieldAttribute(2, "short", 29, "typeFlags", "short", false, 1152)] public short typeFlags; - [DNAFieldAttribute(30, "char", "domainNovecgen", "char", 1, false, 1154)] + [DNAFieldAttribute(1, "char", 30, "domainNovecgen", "char", false, 1154)] public char domainNovecgen; - [DNAFieldAttribute(31, "char", "volumeInitType", "char", 1, false, 1155)] + [DNAFieldAttribute(1, "char", 31, "volumeInitType", "char", false, 1155)] public char volumeInitType; - [DNAFieldAttribute(32, "float", "partSlipValue", "float", 4, false, 1156)] + [DNAFieldAttribute(4, "float", 32, "partSlipValue", "float", false, 1156)] public float partSlipValue; - [DNAFieldAttribute(33, "int", "generateTracers", "int", 4, false, 1160)] + [DNAFieldAttribute(4, "int", 33, "generateTracers", "int", false, 1160)] public int generateTracers; - [DNAFieldAttribute(34, "float", "generateParticles", "float", 4, false, 1164)] + [DNAFieldAttribute(4, "float", 34, "generateParticles", "float", false, 1164)] public float generateParticles; - [DNAFieldAttribute(35, "float", "surfaceSmoothing", "float", 4, false, 1168)] + [DNAFieldAttribute(4, "float", 35, "surfaceSmoothing", "float", false, 1168)] public float surfaceSmoothing; - [DNAFieldAttribute(36, "int", "surfaceSubdivs", "int", 4, false, 1172)] + [DNAFieldAttribute(4, "int", 36, "surfaceSubdivs", "int", false, 1172)] public int surfaceSubdivs; - [DNAFieldAttribute(37, "int", "flag", "int", 4, false, 1176)] + [DNAFieldAttribute(4, "int", 37, "flag", "int", false, 1176)] public int flag; - [DNAFieldAttribute(38, "float", "particleInfSize", "float", 4, false, 1180)] + [DNAFieldAttribute(4, "float", 38, "particleInfSize", "float", false, 1180)] public float particleInfSize; - [DNAFieldAttribute(39, "float", "particleInfAlpha", "float", 4, false, 1184)] + [DNAFieldAttribute(4, "float", 39, "particleInfAlpha", "float", false, 1184)] public float particleInfAlpha; - [DNAFieldAttribute(40, "float", "farFieldSize", "float", 4, false, 1188)] + [DNAFieldAttribute(4, "float", 40, "farFieldSize", "float", false, 1188)] public float farFieldSize; - [DNAFieldAttribute(41, "FluidVertexVelocity", "*meshVelocities", "FluidVertexVelocity", 8, true, 1192)] - public FluidVertexVelocity ptr_meshVelocities; - [DNAFieldAttribute(42, "int", "totvert", "int", 4, false, 1200)] + [DNAFieldAttribute(8, "FluidVertexVelocity", 41, "*meshVelocities", "FluidVertexVelocity", true, 1192)] + public FluidVertexVelocity meshVelocities; + [DNAFieldAttribute(4, "int", 42, "totvert", "int", false, 1200)] public int totvert; - [DNAFieldAttribute(43, "float", "cpsTimeStart", "float", 4, false, 1204)] + [DNAFieldAttribute(4, "float", 43, "cpsTimeStart", "float", false, 1204)] public float cpsTimeStart; - [DNAFieldAttribute(44, "float", "cpsTimeEnd", "float", 4, false, 1208)] + [DNAFieldAttribute(4, "float", 44, "cpsTimeEnd", "float", false, 1208)] public float cpsTimeEnd; - [DNAFieldAttribute(45, "float", "cpsQuality", "float", 4, false, 1212)] + [DNAFieldAttribute(4, "float", 45, "cpsQuality", "float", false, 1212)] public float cpsQuality; - [DNAFieldAttribute(46, "float", "attractforceStrength", "float", 4, false, 1216)] + [DNAFieldAttribute(4, "float", 46, "attractforceStrength", "float", false, 1216)] public float attractforceStrength; - [DNAFieldAttribute(47, "float", "attractforceRadius", "float", 4, false, 1220)] + [DNAFieldAttribute(4, "float", 47, "attractforceRadius", "float", false, 1220)] public float attractforceRadius; - [DNAFieldAttribute(48, "float", "velocityforceStrength", "float", 4, false, 1224)] + [DNAFieldAttribute(4, "float", 48, "velocityforceStrength", "float", false, 1224)] public float velocityforceStrength; - [DNAFieldAttribute(49, "float", "velocityforceRadius", "float", 4, false, 1228)] + [DNAFieldAttribute(4, "float", 49, "velocityforceRadius", "float", false, 1228)] public float velocityforceRadius; - [DNAFieldAttribute(50, "int", "lastgoodframe", "int", 4, false, 1232)] + [DNAFieldAttribute(4, "int", 50, "lastgoodframe", "int", false, 1232)] public int lastgoodframe; - [DNAFieldAttribute(51, "float", "animRate", "float", 4, false, 1236)] + [DNAFieldAttribute(4, "float", 51, "animRate", "float", false, 1236)] public float animRate; public FluidsimSettings() { - this.ptr_fmd = default; + this.fmd = default; this.threads = default; this._pad1 = default; this.type = default; @@ -148,7 +148,7 @@ namespace BlendFile.DNA { this.surfdataPath = default; this.bbStart = default; this.bbSize = default; - this.ptr_ipo = default; + this.ipo = default; this.typeFlags = default; this.domainNovecgen = default; this.volumeInitType = default; @@ -161,7 +161,7 @@ namespace BlendFile.DNA { this.particleInfSize = default; this.particleInfAlpha = default; this.farFieldSize = default; - this.ptr_meshVelocities = default; + this.meshVelocities = default; this.totvert = default; this.cpsTimeStart = default; this.cpsTimeEnd = default; @@ -174,7 +174,7 @@ namespace BlendFile.DNA { this.animRate = default; } public FluidsimSettings( - FluidsimModifierData ptr_fmd, + FluidsimModifierData fmd, int threads, char[] _pad1, short type, @@ -202,7 +202,7 @@ namespace BlendFile.DNA { char[] surfdataPath, float[] bbStart, float[] bbSize, - Ipo ptr_ipo, + Ipo ipo, short typeFlags, char domainNovecgen, char volumeInitType, @@ -215,7 +215,7 @@ namespace BlendFile.DNA { float particleInfSize, float particleInfAlpha, float farFieldSize, - FluidVertexVelocity ptr_meshVelocities, + FluidVertexVelocity meshVelocities, int totvert, float cpsTimeStart, float cpsTimeEnd, @@ -226,7 +226,7 @@ namespace BlendFile.DNA { float velocityforceRadius, int lastgoodframe, float animRate) { - this.ptr_fmd = ptr_fmd; + this.fmd = fmd; this.threads = threads; this._pad1 = _pad1; this.type = type; @@ -254,7 +254,7 @@ namespace BlendFile.DNA { this.surfdataPath = surfdataPath; this.bbStart = bbStart; this.bbSize = bbSize; - this.ptr_ipo = ptr_ipo; + this.ipo = ipo; this.typeFlags = typeFlags; this.domainNovecgen = domainNovecgen; this.volumeInitType = volumeInitType; @@ -267,7 +267,7 @@ namespace BlendFile.DNA { this.particleInfSize = particleInfSize; this.particleInfAlpha = particleInfAlpha; this.farFieldSize = farFieldSize; - this.ptr_meshVelocities = ptr_meshVelocities; + this.meshVelocities = meshVelocities; this.totvert = totvert; this.cpsTimeStart = cpsTimeStart; this.cpsTimeEnd = cpsTimeEnd; diff --git a/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs b/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs index 13890c0..b944f19 100644 --- a/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs +++ b/BlendFile/DNA/ForeachGeometryElementZoneViewerPathElem.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1036, "ForeachGeometryElementZoneViewerPathElem", 40)] - public struct ForeachGeometryElementZoneViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + public class ForeachGeometryElementZoneViewerPathElem { + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "int", "zone_output_node_id", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 1, "zone_output_node_id", "int", false, 32)] public int zone_output_node_id; - [DNAFieldAttribute(2, "int", "index", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 2, "index", "int", false, 36)] public int index; public ForeachGeometryElementZoneViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/FreestyleConfig.cs b/BlendFile/DNA/FreestyleConfig.cs index f325fa2..639ff0f 100644 --- a/BlendFile/DNA/FreestyleConfig.cs +++ b/BlendFile/DNA/FreestyleConfig.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(252, "FreestyleConfig", 56)] - public struct FreestyleConfig { - [DNAFieldAttribute(0, "ListBase", "modules", "ListBase", 16, false, 0)] + public class FreestyleConfig { + [DNAFieldAttribute(16, "ListBase", 0, "modules", "ListBase", false, 0)] public ListBase modules; - [DNAFieldAttribute(1, "int", "mode", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 1, "mode", "int", false, 16)] public int mode; - [DNAFieldAttribute(2, "int", "raycasting_algorithm", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 2, "raycasting_algorithm", "int", false, 20)] public int raycasting_algorithm; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 24)] public int flags; - [DNAFieldAttribute(4, "float", "sphere_radius", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 4, "sphere_radius", "float", false, 28)] public float sphere_radius; - [DNAFieldAttribute(5, "float", "dkr_epsilon", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 5, "dkr_epsilon", "float", false, 32)] public float dkr_epsilon; - [DNAFieldAttribute(6, "float", "crease_angle", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 6, "crease_angle", "float", false, 36)] public float crease_angle; - [DNAFieldAttribute(7, "ListBase", "linesets", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 7, "linesets", "ListBase", false, 40)] public ListBase linesets; public FreestyleConfig() { this.modules = default; diff --git a/BlendFile/DNA/FreestyleEdge.cs b/BlendFile/DNA/FreestyleEdge.cs index 858ab49..b37d647 100644 --- a/BlendFile/DNA/FreestyleEdge.cs +++ b/BlendFile/DNA/FreestyleEdge.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(437, "FreestyleEdge", 1)] - public struct FreestyleEdge { - [DNAFieldAttribute(0, "char", "flag", "char", 1, false, 0)] + public class FreestyleEdge { + [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; public FreestyleEdge() { this.flag = default; diff --git a/BlendFile/DNA/FreestyleFace.cs b/BlendFile/DNA/FreestyleFace.cs index 5828379..aa3e045 100644 --- a/BlendFile/DNA/FreestyleFace.cs +++ b/BlendFile/DNA/FreestyleFace.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(438, "FreestyleFace", 1)] - public struct FreestyleFace { - [DNAFieldAttribute(0, "char", "flag", "char", 1, false, 0)] + public class FreestyleFace { + [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; public FreestyleFace() { this.flag = default; diff --git a/BlendFile/DNA/FreestyleLineSet.cs b/BlendFile/DNA/FreestyleLineSet.cs index d785c43..5af243b 100644 --- a/BlendFile/DNA/FreestyleLineSet.cs +++ b/BlendFile/DNA/FreestyleLineSet.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(249, "FreestyleLineSet", 128)] public class FreestyleLineSet { - [DNAFieldAttribute(0, "FreestyleLineSet", "*next", "FreestyleLineSet", 8, true, 0)] - public FreestyleLineSet ptr_next; - [DNAFieldAttribute(1, "FreestyleLineSet", "*prev", "FreestyleLineSet", 8, true, 8)] - public FreestyleLineSet ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "FreestyleLineSet", 0, "*next", "FreestyleLineSet", true, 0)] + public FreestyleLineSet next; + [DNAFieldAttribute(8, "FreestyleLineSet", 1, "*prev", "FreestyleLineSet", true, 8)] + public FreestyleLineSet prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 80)] public int flags; - [DNAFieldAttribute(4, "int", "selection", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 4, "selection", "int", false, 84)] public int selection; - [DNAFieldAttribute(5, "short", "qi", "short", 2, false, 88)] + [DNAFieldAttribute(2, "short", 5, "qi", "short", false, 88)] public short qi; - [DNAFieldAttribute(6, "char", "_pad1[2]", "System.Char[]", 2, false, 90)] + [DNAFieldAttribute(2, "char", 6, "_pad1[2]", "System.Char[]", false, 90)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(7, "int", "qi_start", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 7, "qi_start", "int", false, 92)] public int qi_start; - [DNAFieldAttribute(8, "int", "qi_end", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 8, "qi_end", "int", false, 96)] public int qi_end; - [DNAFieldAttribute(9, "int", "edge_types", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 9, "edge_types", "int", false, 100)] public int edge_types; - [DNAFieldAttribute(10, "int", "exclude_edge_types", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 10, "exclude_edge_types", "int", false, 104)] public int exclude_edge_types; - [DNAFieldAttribute(11, "char", "_pad2[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 11, "_pad2[4]", "System.Char[]", false, 108)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(12, "Collection", "*group", "Collection", 8, true, 112)] - public Collection ptr_group; - [DNAFieldAttribute(13, "FreestyleLineStyle", "*linestyle", "FreestyleLineStyle", 8, true, 120)] - public FreestyleLineStyle ptr_linestyle; + [DNAFieldAttribute(8, "Collection", 12, "*group", "Collection", true, 112)] + public Collection group; + [DNAFieldAttribute(8, "FreestyleLineStyle", 13, "*linestyle", "FreestyleLineStyle", true, 120)] + public FreestyleLineStyle linestyle; public FreestyleLineSet() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.flags = default; this.selection = default; @@ -56,12 +56,12 @@ namespace BlendFile.DNA { this.edge_types = default; this.exclude_edge_types = default; this._pad2 = default; - this.ptr_group = default; - this.ptr_linestyle = default; + this.group = default; + this.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; + public FreestyleLineSet(FreestyleLineSet next, FreestyleLineSet 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 group, FreestyleLineStyle linestyle) { + this.next = next; + this.prev = prev; this.name = name; this.flags = flags; this.selection = selection; @@ -72,8 +72,8 @@ namespace BlendFile.DNA { this.edge_types = edge_types; this.exclude_edge_types = exclude_edge_types; this._pad2 = _pad2; - this.ptr_group = ptr_group; - this.ptr_linestyle = ptr_linestyle; + this.group = group; + this.linestyle = linestyle; } } } diff --git a/BlendFile/DNA/FreestyleLineStyle.cs b/BlendFile/DNA/FreestyleLineStyle.cs index 9312410..aca738f 100644 --- a/BlendFile/DNA/FreestyleLineStyle.cs +++ b/BlendFile/DNA/FreestyleLineStyle.cs @@ -15,99 +15,99 @@ namespace BlendFile.DNA { [DNAClassAttribute(250, "FreestyleLineStyle", 552)] public class FreestyleLineStyle { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "float", "r", "float", 4, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(4, "float", 2, "r", "float", false, 216)] public float r; - [DNAFieldAttribute(3, "float", "g", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 3, "g", "float", false, 220)] public float g; - [DNAFieldAttribute(4, "float", "b", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 4, "b", "float", false, 224)] public float b; - [DNAFieldAttribute(5, "float", "alpha", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 5, "alpha", "float", false, 228)] public float alpha; - [DNAFieldAttribute(6, "float", "thickness", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 6, "thickness", "float", false, 232)] public float thickness; - [DNAFieldAttribute(7, "int", "thickness_position", "int", 4, false, 236)] + [DNAFieldAttribute(4, "int", 7, "thickness_position", "int", false, 236)] public int thickness_position; - [DNAFieldAttribute(8, "float", "thickness_ratio", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 8, "thickness_ratio", "float", false, 240)] public float thickness_ratio; - [DNAFieldAttribute(9, "int", "flag", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 9, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(10, "int", "caps", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 10, "caps", "int", false, 248)] public int caps; - [DNAFieldAttribute(11, "int", "chaining", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 11, "chaining", "int", false, 252)] public int chaining; - [DNAFieldAttribute(12, "int", "rounds", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 12, "rounds", "int", false, 256)] public int rounds; - [DNAFieldAttribute(13, "float", "split_length", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 13, "split_length", "float", false, 260)] public float split_length; - [DNAFieldAttribute(14, "float", "min_angle", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 14, "min_angle", "float", false, 264)] public float min_angle; - [DNAFieldAttribute(15, "float", "max_angle", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 15, "max_angle", "float", false, 268)] public float max_angle; - [DNAFieldAttribute(16, "float", "min_length", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 16, "min_length", "float", false, 272)] public float min_length; - [DNAFieldAttribute(17, "float", "max_length", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 17, "max_length", "float", false, 276)] public float max_length; - [DNAFieldAttribute(18, "int", "chain_count", "int", 4, false, 280)] + [DNAFieldAttribute(4, "int", 18, "chain_count", "int", false, 280)] public int chain_count; - [DNAFieldAttribute(19, "short", "split_dash1", "short", 2, false, 284)] + [DNAFieldAttribute(2, "short", 19, "split_dash1", "short", false, 284)] public short split_dash1; - [DNAFieldAttribute(20, "short", "split_gap1", "short", 2, false, 286)] + [DNAFieldAttribute(2, "short", 20, "split_gap1", "short", false, 286)] public short split_gap1; - [DNAFieldAttribute(21, "short", "split_dash2", "short", 2, false, 288)] + [DNAFieldAttribute(2, "short", 21, "split_dash2", "short", false, 288)] public short split_dash2; - [DNAFieldAttribute(22, "short", "split_gap2", "short", 2, false, 290)] + [DNAFieldAttribute(2, "short", 22, "split_gap2", "short", false, 290)] public short split_gap2; - [DNAFieldAttribute(23, "short", "split_dash3", "short", 2, false, 292)] + [DNAFieldAttribute(2, "short", 23, "split_dash3", "short", false, 292)] public short split_dash3; - [DNAFieldAttribute(24, "short", "split_gap3", "short", 2, false, 294)] + [DNAFieldAttribute(2, "short", 24, "split_gap3", "short", false, 294)] public short split_gap3; - [DNAFieldAttribute(25, "int", "sort_key", "int", 4, false, 296)] + [DNAFieldAttribute(4, "int", 25, "sort_key", "int", false, 296)] public int sort_key; - [DNAFieldAttribute(26, "int", "integration_type", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 26, "integration_type", "int", false, 300)] public int integration_type; - [DNAFieldAttribute(27, "float", "texstep", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 27, "texstep", "float", false, 304)] public float texstep; - [DNAFieldAttribute(28, "short", "texact", "short", 2, false, 308)] + [DNAFieldAttribute(2, "short", 28, "texact", "short", false, 308)] public short texact; - [DNAFieldAttribute(29, "short", "pr_texture", "short", 2, false, 310)] + [DNAFieldAttribute(2, "short", 29, "pr_texture", "short", false, 310)] public short pr_texture; - [DNAFieldAttribute(30, "short", "use_nodes", "short", 2, false, 312)] + [DNAFieldAttribute(2, "short", 30, "use_nodes", "short", false, 312)] public short use_nodes; - [DNAFieldAttribute(31, "char", "_pad[6]", "System.Char[]", 6, false, 314)] + [DNAFieldAttribute(6, "char", 31, "_pad[6]", "System.Char[]", false, 314)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(32, "short", "dash1", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 32, "dash1", "short", false, 320)] public short dash1; - [DNAFieldAttribute(33, "short", "gap1", "short", 2, false, 322)] + [DNAFieldAttribute(2, "short", 33, "gap1", "short", false, 322)] public short gap1; - [DNAFieldAttribute(34, "short", "dash2", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 34, "dash2", "short", false, 324)] public short dash2; - [DNAFieldAttribute(35, "short", "gap2", "short", 2, false, 326)] + [DNAFieldAttribute(2, "short", 35, "gap2", "short", false, 326)] public short gap2; - [DNAFieldAttribute(36, "short", "dash3", "short", 2, false, 328)] + [DNAFieldAttribute(2, "short", 36, "dash3", "short", false, 328)] public short dash3; - [DNAFieldAttribute(37, "short", "gap3", "short", 2, false, 330)] + [DNAFieldAttribute(2, "short", 37, "gap3", "short", false, 330)] public short gap3; - [DNAFieldAttribute(38, "int", "panel", "int", 4, false, 332)] + [DNAFieldAttribute(4, "int", 38, "panel", "int", false, 332)] public int panel; - [DNAFieldAttribute(39, "MTex", "*mtex[18]", "MTex[]", 144, true, 336)] - public MTex[] ptr_m = new MTex[18]; - [DNAFieldAttribute(40, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 480)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(41, "ListBase", "color_modifiers", "ListBase", 16, false, 488)] + [DNAFieldAttribute(144, "MTex", 39, "*mtex[18]", "MTex[]", true, 336)] + public MTex[] mtex = new MTex[18]; + [DNAFieldAttribute(8, "bNodeTree", 40, "*nodetree", "bNodeTree", true, 480)] + public bNodeTree nodetree; + [DNAFieldAttribute(16, "ListBase", 41, "color_modifiers", "ListBase", false, 488)] public ListBase color_modifiers; - [DNAFieldAttribute(42, "ListBase", "alpha_modifiers", "ListBase", 16, false, 504)] + [DNAFieldAttribute(16, "ListBase", 42, "alpha_modifiers", "ListBase", false, 504)] public ListBase alpha_modifiers; - [DNAFieldAttribute(43, "ListBase", "thickness_modifiers", "ListBase", 16, false, 520)] + [DNAFieldAttribute(16, "ListBase", 43, "thickness_modifiers", "ListBase", false, 520)] public ListBase thickness_modifiers; - [DNAFieldAttribute(44, "ListBase", "geometry_modifiers", "ListBase", 16, false, 536)] + [DNAFieldAttribute(16, "ListBase", 44, "geometry_modifiers", "ListBase", false, 536)] public ListBase geometry_modifiers; public FreestyleLineStyle() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.r = default; this.g = default; this.b = default; @@ -145,8 +145,8 @@ namespace BlendFile.DNA { this.dash3 = default; this.gap3 = default; this.panel = default; - this.ptr_m = default; - this.ptr_nodetree = default; + this.mtex = default; + this.nodetree = default; this.color_modifiers = default; this.alpha_modifiers = default; this.thickness_modifiers = default; @@ -154,7 +154,7 @@ namespace BlendFile.DNA { } public FreestyleLineStyle( ID id, - AnimData ptr_adt, + AnimData adt, float r, float g, float b, @@ -192,14 +192,14 @@ namespace BlendFile.DNA { short dash3, short gap3, int panel, - MTex[] ptr_m, - bNodeTree ptr_nodetree, + MTex[] mtex, + bNodeTree nodetree, ListBase color_modifiers, ListBase alpha_modifiers, ListBase thickness_modifiers, ListBase geometry_modifiers) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.r = r; this.g = g; this.b = b; @@ -237,8 +237,8 @@ namespace BlendFile.DNA { this.dash3 = dash3; this.gap3 = gap3; this.panel = panel; - this.ptr_m = ptr_m; - this.ptr_nodetree = ptr_nodetree; + this.mtex = mtex; + this.nodetree = nodetree; this.color_modifiers = color_modifiers; this.alpha_modifiers = alpha_modifiers; this.thickness_modifiers = thickness_modifiers; diff --git a/BlendFile/DNA/FreestyleModuleConfig.cs b/BlendFile/DNA/FreestyleModuleConfig.cs index e8c85d3..8951080 100644 --- a/BlendFile/DNA/FreestyleModuleConfig.cs +++ b/BlendFile/DNA/FreestyleModuleConfig.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(251, "FreestyleModuleConfig", 32)] public class FreestyleModuleConfig { - [DNAFieldAttribute(0, "FreestyleModuleConfig", "*next", "FreestyleModuleConfig", 8, true, 0)] - public FreestyleModuleConfig ptr_next; - [DNAFieldAttribute(1, "FreestyleModuleConfig", "*prev", "FreestyleModuleConfig", 8, true, 8)] - public FreestyleModuleConfig ptr_prev; - [DNAFieldAttribute(2, "Text", "*script", "Text", 8, true, 16)] - public Text ptr_script; - [DNAFieldAttribute(3, "short", "is_displayed", "short", 2, false, 24)] + [DNAFieldAttribute(8, "FreestyleModuleConfig", 0, "*next", "FreestyleModuleConfig", true, 0)] + public FreestyleModuleConfig next; + [DNAFieldAttribute(8, "FreestyleModuleConfig", 1, "*prev", "FreestyleModuleConfig", true, 8)] + public FreestyleModuleConfig prev; + [DNAFieldAttribute(8, "Text", 2, "*script", "Text", true, 16)] + public Text script; + [DNAFieldAttribute(2, "short", 3, "is_displayed", "short", false, 24)] public short is_displayed; - [DNAFieldAttribute(4, "char", "_pad[6]", "System.Char[]", 6, false, 26)] + [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 26)] public char[] _pad = new System.Char[6]; public FreestyleModuleConfig() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_script = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_script = ptr_script; + public FreestyleModuleConfig(FreestyleModuleConfig next, FreestyleModuleConfig prev, Text script, short is_displayed, char[] _pad) { + this.next = next; + this.prev = prev; + this.script = script; this.is_displayed = is_displayed; this._pad = _pad; } diff --git a/BlendFile/DNA/GPUDOFSettings.cs b/BlendFile/DNA/GPUDOFSettings.cs index 791aec2..1dd6021 100644 --- a/BlendFile/DNA/GPUDOFSettings.cs +++ b/BlendFile/DNA/GPUDOFSettings.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(153, "GPUDOFSettings", 32)] - public struct GPUDOFSettings { - [DNAFieldAttribute(0, "float", "focus_distance", "float", 4, false, 0)] + public class GPUDOFSettings { + [DNAFieldAttribute(4, "float", 0, "focus_distance", "float", false, 0)] public float focus_distance; - [DNAFieldAttribute(1, "float", "fstop", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "fstop", "float", false, 4)] public float fstop; - [DNAFieldAttribute(2, "float", "focal_length", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "focal_length", "float", false, 8)] public float focal_length; - [DNAFieldAttribute(3, "float", "sensor", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "sensor", "float", false, 12)] public float sensor; - [DNAFieldAttribute(4, "float", "rotation", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 16)] public float rotation; - [DNAFieldAttribute(5, "float", "ratio", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "ratio", "float", false, 20)] public float ratio; - [DNAFieldAttribute(6, "int", "num_blades", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "num_blades", "int", false, 24)] public int num_blades; - [DNAFieldAttribute(7, "int", "high_quality", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "high_quality", "int", false, 28)] public int high_quality; public GPUDOFSettings() { this.focus_distance = default; diff --git a/BlendFile/DNA/GP_Interpolate_Settings.cs b/BlendFile/DNA/GP_Interpolate_Settings.cs index fa33a39..f521688 100644 --- a/BlendFile/DNA/GP_Interpolate_Settings.cs +++ b/BlendFile/DNA/GP_Interpolate_Settings.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(822, "GP_Interpolate_Settings", 8)] public class GP_Interpolate_Settings { - [DNAFieldAttribute(0, "CurveMapping", "*custom_ipo", "CurveMapping", 8, true, 0)] - public CurveMapping ptr_custom_ipo; + [DNAFieldAttribute(8, "CurveMapping", 0, "*custom_ipo", "CurveMapping", true, 0)] + public CurveMapping custom_ipo; public GP_Interpolate_Settings() { - this.ptr_custom_ipo = default; + this.custom_ipo = default; } - public GP_Interpolate_Settings(CurveMapping ptr_custom_ipo) { - this.ptr_custom_ipo = ptr_custom_ipo; + public GP_Interpolate_Settings(CurveMapping custom_ipo) { + this.custom_ipo = custom_ipo; } } } diff --git a/BlendFile/DNA/GP_Sculpt_Guide.cs b/BlendFile/DNA/GP_Sculpt_Guide.cs index 1eddf3b..21576aa 100644 --- a/BlendFile/DNA/GP_Sculpt_Guide.cs +++ b/BlendFile/DNA/GP_Sculpt_Guide.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(820, "GP_Sculpt_Guide", 40)] public class GP_Sculpt_Guide { - [DNAFieldAttribute(0, "char", "use_guide", "char", 1, false, 0)] + [DNAFieldAttribute(1, "char", 0, "use_guide", "char", false, 0)] public char use_guide; - [DNAFieldAttribute(1, "char", "use_snapping", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "use_snapping", "char", false, 1)] public char use_snapping; - [DNAFieldAttribute(2, "char", "reference_point", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "reference_point", "char", false, 2)] public char reference_point; - [DNAFieldAttribute(3, "char", "type", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "type", "char", false, 3)] public char type; - [DNAFieldAttribute(4, "char", "_pad2[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 4, "_pad2[4]", "System.Char[]", false, 4)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(5, "float", "angle", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 5, "angle", "float", false, 8)] public float angle; - [DNAFieldAttribute(6, "float", "angle_snap", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 6, "angle_snap", "float", false, 12)] public float angle_snap; - [DNAFieldAttribute(7, "float", "spacing", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 7, "spacing", "float", false, 16)] public float spacing; - [DNAFieldAttribute(8, "float", "location[3]", "System.Single[]", 12, false, 20)] + [DNAFieldAttribute(12, "float", 8, "location[3]", "System.Single[]", false, 20)] public float[] location = new System.Single[3]; - [DNAFieldAttribute(9, "Object", "*reference_object", "Object", 8, true, 32)] - public Object ptr_reference_object; + [DNAFieldAttribute(8, "Object", 9, "*reference_object", "Object", true, 32)] + public Object reference_object; public GP_Sculpt_Guide() { this.use_guide = default; this.use_snapping = default; @@ -45,9 +45,9 @@ namespace BlendFile.DNA { this.angle_snap = default; this.spacing = default; this.location = default; - this.ptr_reference_object = default; + this.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) { + 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 reference_object) { this.use_guide = use_guide; this.use_snapping = use_snapping; this.reference_point = reference_point; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { this.angle_snap = angle_snap; this.spacing = spacing; this.location = location; - this.ptr_reference_object = ptr_reference_object; + this.reference_object = reference_object; } } } diff --git a/BlendFile/DNA/GP_Sculpt_Settings.cs b/BlendFile/DNA/GP_Sculpt_Settings.cs index e9e1e9b..cbc80e4 100644 --- a/BlendFile/DNA/GP_Sculpt_Settings.cs +++ b/BlendFile/DNA/GP_Sculpt_Settings.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(821, "GP_Sculpt_Settings", 80)] public class GP_Sculpt_Settings { - [DNAFieldAttribute(0, "void", "*paintcursor", "void", 8, true, 0)] - public object ptr_paintcursor; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "void", 0, "*paintcursor", "void", true, 0)] + public object paintcursor; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "int", "lock_axis", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "lock_axis", "int", false, 12)] public int lock_axis; - [DNAFieldAttribute(3, "float", "isect_threshold", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 3, "isect_threshold", "float", false, 16)] public float isect_threshold; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "CurveMapping", "*cur_falloff", "CurveMapping", 8, true, 24)] - public CurveMapping ptr_cur_falloff; - [DNAFieldAttribute(6, "CurveMapping", "*cur_primitive", "CurveMapping", 8, true, 32)] - public CurveMapping ptr_cur_primitive; - [DNAFieldAttribute(7, "GP_Sculpt_Guide", "guide", "GP_Sculpt_Guide", 40, false, 40)] + [DNAFieldAttribute(8, "CurveMapping", 5, "*cur_falloff", "CurveMapping", true, 24)] + public CurveMapping cur_falloff; + [DNAFieldAttribute(8, "CurveMapping", 6, "*cur_primitive", "CurveMapping", true, 32)] + public CurveMapping cur_primitive; + [DNAFieldAttribute(40, "GP_Sculpt_Guide", 7, "guide", "GP_Sculpt_Guide", false, 40)] public GP_Sculpt_Guide guide; public GP_Sculpt_Settings() { - this.ptr_paintcursor = default; + this.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.cur_falloff = default; + this.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; + public GP_Sculpt_Settings(object paintcursor, int flag, int lock_axis, float isect_threshold, char[] _pad, CurveMapping cur_falloff, CurveMapping cur_primitive, GP_Sculpt_Guide guide) { + this.paintcursor = paintcursor; this.flag = flag; this.lock_axis = lock_axis; this.isect_threshold = isect_threshold; this._pad = _pad; - this.ptr_cur_falloff = ptr_cur_falloff; - this.ptr_cur_primitive = ptr_cur_primitive; + this.cur_falloff = cur_falloff; + this.cur_primitive = cur_primitive; this.guide = guide; } } diff --git a/BlendFile/DNA/GaussianBlurVars.cs b/BlendFile/DNA/GaussianBlurVars.cs index 28b99cc..7e75483 100644 --- a/BlendFile/DNA/GaussianBlurVars.cs +++ b/BlendFile/DNA/GaussianBlurVars.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(901, "GaussianBlurVars", 8)] - public struct GaussianBlurVars { - [DNAFieldAttribute(0, "float", "size_x", "float", 4, false, 0)] + public class GaussianBlurVars { + [DNAFieldAttribute(4, "float", 0, "size_x", "float", false, 0)] public float size_x; - [DNAFieldAttribute(1, "float", "size_y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "size_y", "float", false, 4)] public float size_y; public GaussianBlurVars() { this.size_x = default; diff --git a/BlendFile/DNA/GeometryNodeAssetTraits.cs b/BlendFile/DNA/GeometryNodeAssetTraits.cs index 8058044..3024147 100644 --- a/BlendFile/DNA/GeometryNodeAssetTraits.cs +++ b/BlendFile/DNA/GeometryNodeAssetTraits.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(583, "GeometryNodeAssetTraits", 4)] - public struct GeometryNodeAssetTraits { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class GeometryNodeAssetTraits { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; public GeometryNodeAssetTraits() { this.flag = default; diff --git a/BlendFile/DNA/GlowShaderFxData.cs b/BlendFile/DNA/GlowShaderFxData.cs index 15c89db..34f5b28 100644 --- a/BlendFile/DNA/GlowShaderFxData.cs +++ b/BlendFile/DNA/GlowShaderFxData.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(920, "GlowShaderFxData", 208)] - public struct GlowShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class GlowShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "float", "glow_color[4]", "System.Single[]", 16, false, 104)] + [DNAFieldAttribute(16, "float", 1, "glow_color[4]", "System.Single[]", false, 104)] public float[] glow_color = new System.Single[4]; - [DNAFieldAttribute(2, "float", "select_color[3]", "System.Single[]", 12, false, 120)] + [DNAFieldAttribute(12, "float", 2, "select_color[3]", "System.Single[]", false, 120)] public float[] select_color = new System.Single[3]; - [DNAFieldAttribute(3, "float", "threshold", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 3, "threshold", "float", false, 132)] public float threshold; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 136)] public int flag; - [DNAFieldAttribute(5, "int", "mode", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 5, "mode", "int", false, 140)] public int mode; - [DNAFieldAttribute(6, "float", "blur[2]", "System.Single[]", 8, false, 144)] + [DNAFieldAttribute(8, "float", 6, "blur[2]", "System.Single[]", false, 144)] public float[] blur = new System.Single[2]; - [DNAFieldAttribute(7, "int", "samples", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 7, "samples", "int", false, 152)] public int samples; - [DNAFieldAttribute(8, "float", "rotation", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 8, "rotation", "float", false, 156)] public float rotation; - [DNAFieldAttribute(9, "int", "blend_mode", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 9, "blend_mode", "int", false, 160)] public int blend_mode; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 164)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 164)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(11, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 168)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 11, "runtime", "ShaderFxData_Runtime", false, 168)] public ShaderFxData_Runtime runtime; public GlowShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/GlowVars.cs b/BlendFile/DNA/GlowVars.cs index 33bcfac..f8c018e 100644 --- a/BlendFile/DNA/GlowVars.cs +++ b/BlendFile/DNA/GlowVars.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(897, "GlowVars", 24)] - public struct GlowVars { - [DNAFieldAttribute(0, "float", "fMini", "float", 4, false, 0)] + public class GlowVars { + [DNAFieldAttribute(4, "float", 0, "fMini", "float", false, 0)] public float fMini; - [DNAFieldAttribute(1, "float", "fClamp", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "fClamp", "float", false, 4)] public float fClamp; - [DNAFieldAttribute(2, "float", "fBoost", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "fBoost", "float", false, 8)] public float fBoost; - [DNAFieldAttribute(3, "float", "dDist", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "dDist", "float", false, 12)] public float dDist; - [DNAFieldAttribute(4, "int", "dQuality", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "dQuality", "int", false, 16)] public int dQuality; - [DNAFieldAttribute(5, "int", "bNoComp", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "bNoComp", "int", false, 20)] public int bNoComp; public GlowVars() { this.fMini = default; diff --git a/BlendFile/DNA/GpPaint.cs b/BlendFile/DNA/GpPaint.cs index fe52ad0..f7ef510 100644 --- a/BlendFile/DNA/GpPaint.cs +++ b/BlendFile/DNA/GpPaint.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(815, "GpPaint", 128)] - public struct GpPaint { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + public class GpPaint { + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(2, "int", "mode", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 2, "mode", "int", false, 124)] public int mode; public GpPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpSculptPaint.cs b/BlendFile/DNA/GpSculptPaint.cs index 6ff266f..9c0705f 100644 --- a/BlendFile/DNA/GpSculptPaint.cs +++ b/BlendFile/DNA/GpSculptPaint.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(817, "GpSculptPaint", 128)] - public struct GpSculptPaint { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + public class GpSculptPaint { + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public GpSculptPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpVertexPaint.cs b/BlendFile/DNA/GpVertexPaint.cs index cc1bdb9..096ff2a 100644 --- a/BlendFile/DNA/GpVertexPaint.cs +++ b/BlendFile/DNA/GpVertexPaint.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(816, "GpVertexPaint", 128)] - public struct GpVertexPaint { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + public class GpVertexPaint { + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public GpVertexPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpWeightPaint.cs b/BlendFile/DNA/GpWeightPaint.cs index 955fd29..f610736 100644 --- a/BlendFile/DNA/GpWeightPaint.cs +++ b/BlendFile/DNA/GpWeightPaint.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(818, "GpWeightPaint", 128)] - public struct GpWeightPaint { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + public class GpWeightPaint { + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public GpWeightPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpencilModifierData.cs b/BlendFile/DNA/GpencilModifierData.cs index 0b3eb85..5bac177 100644 --- a/BlendFile/DNA/GpencilModifierData.cs +++ b/BlendFile/DNA/GpencilModifierData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(275, "GpencilModifierData", 104)] public class GpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "*next", "GpencilModifierData", 8, true, 0)] - public GpencilModifierData ptr_next; - [DNAFieldAttribute(1, "GpencilModifierData", "*prev", "GpencilModifierData", 8, true, 8)] - public GpencilModifierData ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "GpencilModifierData", 0, "*next", "GpencilModifierData", true, 0)] + public GpencilModifierData next; + [DNAFieldAttribute(8, "GpencilModifierData", 1, "*prev", "GpencilModifierData", true, 8)] + public GpencilModifierData prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "int", "mode", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "mode", "int", false, 20)] public int mode; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 24)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 24)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 28)] public short flag; - [DNAFieldAttribute(6, "short", "ui_expand_flag", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 6, "ui_expand_flag", "short", false, 30)] public short ui_expand_flag; - [DNAFieldAttribute(7, "char", "name[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 7, "name[64]", "System.Char[]", false, 32)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(8, "char", "*error", "char", 8, true, 96)] - public char ptr_error; + [DNAFieldAttribute(8, "char", 8, "*error", "char", true, 96)] + public char error; public GpencilModifierData() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + this.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; + public GpencilModifierData(GpencilModifierData next, GpencilModifierData prev, int type, int mode, char[] _pad0, short flag, short ui_expand_flag, char[] name, char error) { + this.next = next; + this.prev = prev; this.type = type; this.mode = mode; this._pad0 = _pad0; this.flag = flag; this.ui_expand_flag = ui_expand_flag; this.name = name; - this.ptr_error = ptr_error; + this.error = error; } } } diff --git a/BlendFile/DNA/GreasePencil.cs b/BlendFile/DNA/GreasePencil.cs index 0e747ea..ce5ef24 100644 --- a/BlendFile/DNA/GreasePencil.cs +++ b/BlendFile/DNA/GreasePencil.cs @@ -13,106 +13,96 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(311, "GreasePencil", 592)] + [DNAClassAttribute(311, "GreasePencil", 570)] public class GreasePencil { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "GreasePencilDrawingBase", "**drawing_array", "GreasePencilDrawingBase", 8, true, 216)] - public GreasePencilDrawingBase ptr_ptr_drawing_array; - [DNAFieldAttribute(3, "int", "drawing_array_size", "int", 4, false, 224)] - public int drawing_array_size; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 228)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 216)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "GreasePencilLayerTreeGroup", "*root_group_ptr", "GreasePencilLayerTreeGroup", 8, true, 232)] - public GreasePencilLayerTreeGroup ptr_root_group_ptr; - [DNAFieldAttribute(6, "CustomData", "layers_data", "CustomData", 248, false, 240)] + [DNAFieldAttribute(8, "GreasePencilLayerTreeGroup", 5, "*root_group_ptr", "GreasePencilLayerTreeGroup", true, 220)] + public GreasePencilLayerTreeGroup root_group_ptr; + [DNAFieldAttribute(248, "CustomData", 6, "layers_data", "CustomData", false, 228)] public CustomData layers_data; - [DNAFieldAttribute(7, "int", "attributes_active_index", "int", 4, false, 488)] + [DNAFieldAttribute(4, "int", 7, "attributes_active_index", "int", false, 476)] public int attributes_active_index; - [DNAFieldAttribute(8, "char", "_pad2[4]", "System.Char[]", 4, false, 492)] + [DNAFieldAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", false, 480)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(9, "GreasePencilLayerTreeNode", "*active_node", "GreasePencilLayerTreeNode", 8, true, 496)] - public GreasePencilLayerTreeNode ptr_active_node; - [DNAFieldAttribute(10, "Material", "**material_array", "Material", 8, true, 504)] - public Material ptr_ptr_material_array; - [DNAFieldAttribute(11, "short", "material_array_size", "short", 2, false, 512)] - public short material_array_size; - [DNAFieldAttribute(12, "char", "_pad3[2]", "System.Char[]", 2, false, 514)] + [DNAFieldAttribute(8, "GreasePencilLayerTreeNode", 9, "*active_node", "GreasePencilLayerTreeNode", true, 484)] + public GreasePencilLayerTreeNode active_node; + [DNAFieldAttribute(2, "char", 12, "_pad3[2]", "System.Char[]", false, 492)] public char[] _pad3 = new System.Char[2]; - [DNAFieldAttribute(13, "int", "flag", "int", 4, false, 516)] + [DNAFieldAttribute(4, "int", 13, "flag", "int", false, 494)] public int flag; - [DNAFieldAttribute(14, "ListBase", "vertex_group_names", "ListBase", 16, false, 520)] + [DNAFieldAttribute(16, "ListBase", 14, "vertex_group_names", "ListBase", false, 498)] public ListBase vertex_group_names; - [DNAFieldAttribute(15, "int", "vertex_group_active_index", "int", 4, false, 536)] + [DNAFieldAttribute(4, "int", 15, "vertex_group_active_index", "int", false, 514)] public int vertex_group_active_index; - [DNAFieldAttribute(16, "char", "_pad4[4]", "System.Char[]", 4, false, 540)] + [DNAFieldAttribute(4, "char", 16, "_pad4[4]", "System.Char[]", false, 518)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(17, "GreasePencilOnionSkinningSettings", "onion_skinning_settings", "GreasePencilOnionSkinningSettings", 40, false, 544)] + [DNAFieldAttribute(40, "GreasePencilOnionSkinningSettings", 17, "onion_skinning_settings", "GreasePencilOnionSkinningSettings", false, 522)] public GreasePencilOnionSkinningSettings onion_skinning_settings; - [DNAFieldAttribute(18, "GreasePencilRuntimeHandle", "*runtime", "GreasePencilRuntimeHandle", 8, true, 584)] - public GreasePencilRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "GreasePencilRuntimeHandle", 18, "*runtime", "GreasePencilRuntimeHandle", true, 562)] + public GreasePencilRuntimeHandle runtime; + [DNAListAttribute(8, "GreasePencilDrawingBase", "**drawing_array", 2, "GreasePencilDrawingBase", "drawing_array_size", 3, 570)] + public System.Collections.Generic.List drawing_array; + [DNAListAttribute(8, "Material", "**material_array", 10, "Material", "material_array_size", 11, 570)] + public System.Collections.Generic.List material_array; public GreasePencil() { this.id = default; - this.ptr_adt = default; - this.ptr_ptr_drawing_array = default; - this.drawing_array_size = default; + this.adt = default; this._pad = default; - this.ptr_root_group_ptr = default; + this.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.active_node = 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; + this.runtime = default; + this.drawing_array = default; + this.material_array = default; } public GreasePencil( ID id, - AnimData ptr_adt, - GreasePencilDrawingBase ptr_ptr_drawing_array, - int drawing_array_size, + AnimData adt, char[] _pad, - GreasePencilLayerTreeGroup ptr_root_group_ptr, + GreasePencilLayerTreeGroup root_group_ptr, CustomData layers_data, int attributes_active_index, char[] _pad2, - GreasePencilLayerTreeNode ptr_active_node, - Material ptr_ptr_material_array, - short material_array_size, + GreasePencilLayerTreeNode active_node, char[] _pad3, int flag, ListBase vertex_group_names, int vertex_group_active_index, char[] _pad4, GreasePencilOnionSkinningSettings onion_skinning_settings, - GreasePencilRuntimeHandle ptr_runtime) { + GreasePencilRuntimeHandle runtime, + System.Collections.Generic.List drawing_array, + System.Collections.Generic.List material_array) { this.id = id; - this.ptr_adt = ptr_adt; - this.ptr_ptr_drawing_array = ptr_ptr_drawing_array; - this.drawing_array_size = drawing_array_size; + this.adt = adt; this._pad = _pad; - this.ptr_root_group_ptr = ptr_root_group_ptr; + this.root_group_ptr = root_group_ptr; this.layers_data = layers_data; this.attributes_active_index = attributes_active_index; this._pad2 = _pad2; - this.ptr_active_node = ptr_active_node; - this.ptr_ptr_material_array = ptr_ptr_material_array; - this.material_array_size = material_array_size; + this.active_node = active_node; this._pad3 = _pad3; this.flag = flag; this.vertex_group_names = vertex_group_names; this.vertex_group_active_index = vertex_group_active_index; this._pad4 = _pad4; this.onion_skinning_settings = onion_skinning_settings; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; + this.drawing_array = drawing_array; + this.material_array = material_array; } } } diff --git a/BlendFile/DNA/GreasePencilArmatureModifierData.cs b/BlendFile/DNA/GreasePencilArmatureModifierData.cs index 9aa932a..8e22417 100644 --- a/BlendFile/DNA/GreasePencilArmatureModifierData.cs +++ b/BlendFile/DNA/GreasePencilArmatureModifierData.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(545, "GreasePencilArmatureModifierData", 304)] public class GreasePencilArmatureModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(3, "short", "deformflag", "short", 2, false, 296)] + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(2, "short", 3, "deformflag", "short", false, 296)] public short deformflag; - [DNAFieldAttribute(4, "char", "_pad[6]", "System.Char[]", 6, false, 298)] + [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 298)] public char[] _pad = new System.Char[6]; public GreasePencilArmatureModifierData() { this.modifier = default; this.influence = default; - this.ptr_object = default; + this.@object = default; this.deformflag = default; this._pad = default; } - public GreasePencilArmatureModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, short deformflag, char[] _pad) { + public GreasePencilArmatureModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object @object, short deformflag, char[] _pad) { this.modifier = modifier; this.influence = influence; - this.ptr_object = ptr_object; + this.@object = @object; this.deformflag = deformflag; this._pad = _pad; } diff --git a/BlendFile/DNA/GreasePencilArrayModifierData.cs b/BlendFile/DNA/GreasePencilArrayModifierData.cs index f133087..121b810 100644 --- a/BlendFile/DNA/GreasePencilArrayModifierData.cs +++ b/BlendFile/DNA/GreasePencilArrayModifierData.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(541, "GreasePencilArrayModifierData", 376)] public class GreasePencilArrayModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(3, "int", "count", "int", 4, false, 296)] + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(4, "int", 3, "count", "int", false, 296)] public int count; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 300)] public int flag; - [DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 12, false, 304)] + [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 304)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(6, "float", "shift[3]", "System.Single[]", 12, false, 316)] + [DNAFieldAttribute(12, "float", 6, "shift[3]", "System.Single[]", false, 316)] public float[] shift = new System.Single[3]; - [DNAFieldAttribute(7, "float", "rnd_offset[3]", "System.Single[]", 12, false, 328)] + [DNAFieldAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", false, 328)] public float[] rnd_offset = new System.Single[3]; - [DNAFieldAttribute(8, "float", "rnd_rot[3]", "System.Single[]", 12, false, 340)] + [DNAFieldAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", false, 340)] public float[] rnd_rot = new System.Single[3]; - [DNAFieldAttribute(9, "float", "rnd_scale[3]", "System.Single[]", 12, false, 352)] + [DNAFieldAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", false, 352)] public float[] rnd_scale = new System.Single[3]; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 364)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 364)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(11, "int", "seed", "int", 4, false, 368)] + [DNAFieldAttribute(4, "int", 11, "seed", "int", false, 368)] public int seed; - [DNAFieldAttribute(12, "int", "mat_rpl", "int", 4, false, 372)] + [DNAFieldAttribute(4, "int", 12, "mat_rpl", "int", false, 372)] public int mat_rpl; public GreasePencilArrayModifierData() { this.modifier = default; this.influence = default; - this.ptr_object = default; + this.@object = default; this.count = default; this.flag = default; this.offset = default; @@ -56,10 +56,10 @@ namespace BlendFile.DNA { 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) { + public GreasePencilArrayModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object @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; - this.ptr_object = ptr_object; + this.@object = @object; this.count = count; this.flag = flag; this.offset = offset; diff --git a/BlendFile/DNA/GreasePencilBuildModifierData.cs b/BlendFile/DNA/GreasePencilBuildModifierData.cs index aeb43ff..efdc7c6 100644 --- a/BlendFile/DNA/GreasePencilBuildModifierData.cs +++ b/BlendFile/DNA/GreasePencilBuildModifierData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(551, "GreasePencilBuildModifierData", 416)] public class GreasePencilBuildModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "float", "start_frame", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 2, "start_frame", "float", false, 288)] public float start_frame; - [DNAFieldAttribute(3, "float", "end_frame", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "end_frame", "float", false, 292)] public float end_frame; - [DNAFieldAttribute(4, "float", "start_delay", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "start_delay", "float", false, 296)] public float start_delay; - [DNAFieldAttribute(5, "float", "length", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 5, "length", "float", false, 300)] public float length; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 304)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 304)] public short flag; - [DNAFieldAttribute(7, "short", "mode", "short", 2, false, 306)] + [DNAFieldAttribute(2, "short", 7, "mode", "short", false, 306)] public short mode; - [DNAFieldAttribute(8, "short", "transition", "short", 2, false, 308)] + [DNAFieldAttribute(2, "short", 8, "transition", "short", false, 308)] public short transition; - [DNAFieldAttribute(9, "short", "time_alignment", "short", 2, false, 310)] + [DNAFieldAttribute(2, "short", 9, "time_alignment", "short", false, 310)] public short time_alignment; - [DNAFieldAttribute(10, "float", "speed_fac", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 10, "speed_fac", "float", false, 312)] public float speed_fac; - [DNAFieldAttribute(11, "float", "speed_maxgap", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 11, "speed_maxgap", "float", false, 316)] public float speed_maxgap; - [DNAFieldAttribute(12, "short", "time_mode", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 12, "time_mode", "short", false, 320)] public short time_mode; - [DNAFieldAttribute(13, "char", "_pad[6]", "System.Char[]", 6, false, 322)] + [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 322)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(14, "Object", "*object", "Object", 8, true, 328)] - public Object ptr_object; - [DNAFieldAttribute(15, "float", "percentage_fac", "float", 4, false, 336)] + [DNAFieldAttribute(8, "Object", 14, "*object", "Object", true, 328)] + public Object @object; + [DNAFieldAttribute(4, "float", 15, "percentage_fac", "float", false, 336)] public float percentage_fac; - [DNAFieldAttribute(16, "float", "fade_fac", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 16, "fade_fac", "float", false, 340)] public float fade_fac; - [DNAFieldAttribute(17, "char", "target_vgname[64]", "System.Char[]", 64, false, 344)] + [DNAFieldAttribute(64, "char", 17, "target_vgname[64]", "System.Char[]", false, 344)] public char[] target_vgname = new System.Char[64]; - [DNAFieldAttribute(18, "float", "fade_opacity_strength", "float", 4, false, 408)] + [DNAFieldAttribute(4, "float", 18, "fade_opacity_strength", "float", false, 408)] public float fade_opacity_strength; - [DNAFieldAttribute(19, "float", "fade_thickness_strength", "float", 4, false, 412)] + [DNAFieldAttribute(4, "float", 19, "fade_thickness_strength", "float", false, 412)] public float fade_thickness_strength; public GreasePencilBuildModifierData() { this.modifier = default; @@ -70,7 +70,7 @@ namespace BlendFile.DNA { this.speed_maxgap = default; this.time_mode = default; this._pad = default; - this.ptr_object = default; + this.@object = default; this.percentage_fac = default; this.fade_fac = default; this.target_vgname = default; @@ -92,7 +92,7 @@ namespace BlendFile.DNA { float speed_maxgap, short time_mode, char[] _pad, - Object ptr_object, + Object @object, float percentage_fac, float fade_fac, char[] target_vgname, @@ -112,7 +112,7 @@ namespace BlendFile.DNA { this.speed_maxgap = speed_maxgap; this.time_mode = time_mode; this._pad = _pad; - this.ptr_object = ptr_object; + this.@object = @object; this.percentage_fac = percentage_fac; this.fade_fac = fade_fac; this.target_vgname = target_vgname; diff --git a/BlendFile/DNA/GreasePencilColorModifierData.cs b/BlendFile/DNA/GreasePencilColorModifierData.cs index cd76033..8a36b48 100644 --- a/BlendFile/DNA/GreasePencilColorModifierData.cs +++ b/BlendFile/DNA/GreasePencilColorModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(528, "GreasePencilColorModifierData", 312)] public class GreasePencilColorModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "char", "color_mode", "char", 1, false, 288)] + [DNAFieldAttribute(1, "char", 2, "color_mode", "char", false, 288)] public char color_mode; - [DNAFieldAttribute(3, "char", "_pad1[3]", "System.Char[]", 3, false, 289)] + [DNAFieldAttribute(3, "char", 3, "_pad1[3]", "System.Char[]", false, 289)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(4, "float", "hsv[3]", "System.Single[]", 12, false, 292)] + [DNAFieldAttribute(12, "float", 4, "hsv[3]", "System.Single[]", false, 292)] public float[] hsv = new System.Single[3]; - [DNAFieldAttribute(5, "void", "*_pad2", "void", 8, true, 304)] - public object ptr__pad2; + [DNAFieldAttribute(8, "void", 5, "*_pad2", "void", true, 304)] + public object _pad2; public GreasePencilColorModifierData() { this.modifier = default; this.influence = default; this.color_mode = default; this._pad1 = default; this.hsv = default; - this.ptr__pad2 = default; + this._pad2 = default; } - public GreasePencilColorModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, char color_mode, char[] _pad1, float[] hsv, object ptr__pad2) { + public GreasePencilColorModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, char color_mode, char[] _pad1, float[] hsv, object _pad2) { this.modifier = modifier; this.influence = influence; this.color_mode = color_mode; this._pad1 = _pad1; this.hsv = hsv; - this.ptr__pad2 = ptr__pad2; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/GreasePencilDashModifierData.cs b/BlendFile/DNA/GreasePencilDashModifierData.cs index 7df6235..044e410 100644 --- a/BlendFile/DNA/GreasePencilDashModifierData.cs +++ b/BlendFile/DNA/GreasePencilDashModifierData.cs @@ -13,35 +13,31 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(537, "GreasePencilDashModifierData", 312)] + [DNAClassAttribute(537, "GreasePencilDashModifierData", 304)] public class GreasePencilDashModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "GreasePencilDashModifierSegment", "*segments_array", "GreasePencilDashModifierSegment", 8, true, 288)] - public GreasePencilDashModifierSegment ptr_segments_array; - [DNAFieldAttribute(3, "int", "segments_num", "int", 4, false, 296)] + [DNAFieldAttribute(4, "int", 3, "segments_num", "int", false, 288)] public int segments_num; - [DNAFieldAttribute(4, "int", "segment_active_index", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 4, "segment_active_index", "int", false, 292)] public int segment_active_index; - [DNAFieldAttribute(5, "int", "dash_offset", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "dash_offset", "int", false, 296)] public int dash_offset; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 308)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 300)] 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) { + public GreasePencilDashModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int segments_num, int segment_active_index, int dash_offset, char[] _pad) { this.modifier = modifier; this.influence = influence; - this.ptr_segments_array = ptr_segments_array; this.segments_num = segments_num; this.segment_active_index = segment_active_index; this.dash_offset = dash_offset; diff --git a/BlendFile/DNA/GreasePencilDashModifierSegment.cs b/BlendFile/DNA/GreasePencilDashModifierSegment.cs index c914f6d..4df99f6 100644 --- a/BlendFile/DNA/GreasePencilDashModifierSegment.cs +++ b/BlendFile/DNA/GreasePencilDashModifierSegment.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(536, "GreasePencilDashModifierSegment", 88)] - public struct GreasePencilDashModifierSegment { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class GreasePencilDashModifierSegment { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1, "int", "dash", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 1, "dash", "int", false, 64)] public int dash; - [DNAFieldAttribute(2, "int", "gap", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 2, "gap", "int", false, 68)] public int gap; - [DNAFieldAttribute(3, "float", "radius", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 3, "radius", "float", false, 72)] public float radius; - [DNAFieldAttribute(4, "float", "opacity", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 4, "opacity", "float", false, 76)] public float opacity; - [DNAFieldAttribute(5, "int", "mat_nr", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 5, "mat_nr", "int", false, 80)] public int mat_nr; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 84)] public int flag; public GreasePencilDashModifierSegment() { this.name = default; diff --git a/BlendFile/DNA/GreasePencilDrawing.cs b/BlendFile/DNA/GreasePencilDrawing.cs index 8c951cb..b420ba9 100644 --- a/BlendFile/DNA/GreasePencilDrawing.cs +++ b/BlendFile/DNA/GreasePencilDrawing.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(308, "GreasePencilDrawing", 560)] public class GreasePencilDrawing { - [DNAFieldAttribute(0, "GreasePencilDrawingBase", "base", "GreasePencilDrawingBase", 8, false, 0)] + [DNAFieldAttribute(8, "GreasePencilDrawingBase", 0, "base", "GreasePencilDrawingBase", false, 0)] public GreasePencilDrawingBase @base; - [DNAFieldAttribute(1, "CurvesGeometry", "geometry", "CurvesGeometry", 544, false, 8)] + [DNAFieldAttribute(544, "CurvesGeometry", 1, "geometry", "CurvesGeometry", false, 8)] public CurvesGeometry geometry; - [DNAFieldAttribute(2, "GreasePencilDrawingRuntimeHandle", "*runtime", "GreasePencilDrawingRuntimeHandle", 8, true, 552)] - public GreasePencilDrawingRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "GreasePencilDrawingRuntimeHandle", 2, "*runtime", "GreasePencilDrawingRuntimeHandle", true, 552)] + public GreasePencilDrawingRuntimeHandle runtime; public GreasePencilDrawing() { this.@base = default; this.geometry = default; - this.ptr_runtime = default; + this.runtime = default; } - public GreasePencilDrawing(GreasePencilDrawingBase @base, CurvesGeometry geometry, GreasePencilDrawingRuntimeHandle ptr_runtime) { + public GreasePencilDrawing(GreasePencilDrawingBase @base, CurvesGeometry geometry, GreasePencilDrawingRuntimeHandle runtime) { this.@base = @base; this.geometry = geometry; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/GreasePencilDrawingBase.cs b/BlendFile/DNA/GreasePencilDrawingBase.cs index af18c54..fadbc2d 100644 --- a/BlendFile/DNA/GreasePencilDrawingBase.cs +++ b/BlendFile/DNA/GreasePencilDrawingBase.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(307, "GreasePencilDrawingBase", 8)] - public struct GreasePencilDrawingBase { - [DNAFieldAttribute(0, "int8_t", "type", "int8_t", 1, false, 0)] + public class GreasePencilDrawingBase { + [DNAFieldAttribute(1, "int8_t", 0, "type", "int8_t", false, 0)] public sbyte type; - [DNAFieldAttribute(1, "char", "_pad[3]", "System.Char[]", 3, false, 1)] + [DNAFieldAttribute(3, "char", 1, "_pad[3]", "System.Char[]", false, 1)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 4)] public int flag; public GreasePencilDrawingBase() { this.type = default; diff --git a/BlendFile/DNA/GreasePencilDrawingReference.cs b/BlendFile/DNA/GreasePencilDrawingReference.cs index 7b2e552..125bee0 100644 --- a/BlendFile/DNA/GreasePencilDrawingReference.cs +++ b/BlendFile/DNA/GreasePencilDrawingReference.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(310, "GreasePencilDrawingReference", 16)] public class GreasePencilDrawingReference { - [DNAFieldAttribute(0, "GreasePencilDrawingBase", "base", "GreasePencilDrawingBase", 8, false, 0)] + [DNAFieldAttribute(8, "GreasePencilDrawingBase", 0, "base", "GreasePencilDrawingBase", false, 0)] public GreasePencilDrawingBase @base; - [DNAFieldAttribute(1, "GreasePencil", "*id_reference", "GreasePencil", 8, true, 8)] - public GreasePencil ptr_id_reference; + [DNAFieldAttribute(8, "GreasePencil", 1, "*id_reference", "GreasePencil", true, 8)] + public GreasePencil id_reference; public GreasePencilDrawingReference() { this.@base = default; - this.ptr_id_reference = default; + this.id_reference = default; } - public GreasePencilDrawingReference(GreasePencilDrawingBase @base, GreasePencil ptr_id_reference) { + public GreasePencilDrawingReference(GreasePencilDrawingBase @base, GreasePencil id_reference) { this.@base = @base; - this.ptr_id_reference = ptr_id_reference; + this.id_reference = id_reference; } } } diff --git a/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs b/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs index fd90a5f..7b43f5e 100644 --- a/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs +++ b/BlendFile/DNA/GreasePencilEnvelopeModifierData.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(548, "GreasePencilEnvelopeModifierData", 312)] - public struct GreasePencilEnvelopeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class GreasePencilEnvelopeModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "mode", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "mode", "int", false, 288)] public int mode; - [DNAFieldAttribute(3, "int", "mat_nr", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 3, "mat_nr", "int", false, 292)] public int mat_nr; - [DNAFieldAttribute(4, "float", "thickness", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "thickness", "float", false, 296)] public float thickness; - [DNAFieldAttribute(5, "float", "strength", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 5, "strength", "float", false, 300)] public float strength; - [DNAFieldAttribute(6, "int", "skip", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 6, "skip", "int", false, 304)] public int skip; - [DNAFieldAttribute(7, "int", "spread", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 7, "spread", "int", false, 308)] public int spread; public GreasePencilEnvelopeModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilFrame.cs b/BlendFile/DNA/GreasePencilFrame.cs index df6c2e7..da3f884 100644 --- a/BlendFile/DNA/GreasePencilFrame.cs +++ b/BlendFile/DNA/GreasePencilFrame.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(312, "GreasePencilFrame", 12)] - public struct GreasePencilFrame { - [DNAFieldAttribute(0, "int", "drawing_index", "int", 4, false, 0)] + public class GreasePencilFrame { + [DNAFieldAttribute(4, "int", 0, "drawing_index", "int", false, 0)] public int drawing_index; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 4)] public int flag; - [DNAFieldAttribute(2, "int8_t", "type", "int8_t", 1, false, 8)] + [DNAFieldAttribute(1, "int8_t", 2, "type", "int8_t", false, 8)] public sbyte type; - [DNAFieldAttribute(3, "char", "_pad[3]", "System.Char[]", 3, false, 9)] + [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 9)] public char[] _pad = new System.Char[3]; public GreasePencilFrame() { this.drawing_index = default; diff --git a/BlendFile/DNA/GreasePencilHookModifierData.cs b/BlendFile/DNA/GreasePencilHookModifierData.cs index f0eef3e..281bed4 100644 --- a/BlendFile/DNA/GreasePencilHookModifierData.cs +++ b/BlendFile/DNA/GreasePencilHookModifierData.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(543, "GreasePencilHookModifierData", 456)] public class GreasePencilHookModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 296)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 360)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 360)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 364)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 364)] public int flag; - [DNAFieldAttribute(6, "char", "falloff_type", "char", 1, false, 368)] + [DNAFieldAttribute(1, "char", 6, "falloff_type", "char", false, 368)] public char falloff_type; - [DNAFieldAttribute(7, "char", "_pad1[3]", "System.Char[]", 3, false, 369)] + [DNAFieldAttribute(3, "char", 7, "_pad1[3]", "System.Char[]", false, 369)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(8, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 372)] + [DNAFieldAttribute(64, "float", 8, "parentinv[4][4]", "System.Single[,]", false, 372)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(9, "float", "cent[3]", "System.Single[]", 12, false, 436)] + [DNAFieldAttribute(12, "float", 9, "cent[3]", "System.Single[]", false, 436)] public float[] cent = new System.Single[3]; - [DNAFieldAttribute(10, "float", "falloff", "float", 4, false, 448)] + [DNAFieldAttribute(4, "float", 10, "falloff", "float", false, 448)] public float falloff; - [DNAFieldAttribute(11, "float", "force", "float", 4, false, 452)] + [DNAFieldAttribute(4, "float", 11, "force", "float", false, 452)] public float force; public GreasePencilHookModifierData() { this.modifier = default; this.influence = default; - this.ptr_object = default; + this.@object = default; this.subtarget = default; this._pad = default; this.flag = default; @@ -53,10 +53,10 @@ namespace BlendFile.DNA { 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) { + public GreasePencilHookModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object @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; - this.ptr_object = ptr_object; + this.@object = @object; this.subtarget = subtarget; this._pad = _pad; this.flag = flag; diff --git a/BlendFile/DNA/GreasePencilLatticeModifierData.cs b/BlendFile/DNA/GreasePencilLatticeModifierData.cs index 0a84516..7b2102f 100644 --- a/BlendFile/DNA/GreasePencilLatticeModifierData.cs +++ b/BlendFile/DNA/GreasePencilLatticeModifierData.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(535, "GreasePencilLatticeModifierData", 304)] public class GreasePencilLatticeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(3, "float", "strength", "float", 4, false, 296)] + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(4, "float", 3, "strength", "float", false, 296)] public float strength; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 300)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 300)] public char[] _pad = new System.Char[4]; public GreasePencilLatticeModifierData() { this.modifier = default; this.influence = default; - this.ptr_object = default; + this.@object = default; this.strength = default; this._pad = default; } - public GreasePencilLatticeModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, float strength, char[] _pad) { + public GreasePencilLatticeModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object @object, float strength, char[] _pad) { this.modifier = modifier; this.influence = influence; - this.ptr_object = ptr_object; + this.@object = @object; this.strength = strength; this._pad = _pad; } diff --git a/BlendFile/DNA/GreasePencilLayer.cs b/BlendFile/DNA/GreasePencilLayer.cs index ea830ab..7e642a9 100644 --- a/BlendFile/DNA/GreasePencilLayer.cs +++ b/BlendFile/DNA/GreasePencilLayer.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(317, "GreasePencilLayer", 232)] public class GreasePencilLayer { - [DNAFieldAttribute(0, "GreasePencilLayerTreeNode", "base", "GreasePencilLayerTreeNode", 40, false, 0)] + [DNAFieldAttribute(40, "GreasePencilLayerTreeNode", 0, "base", "GreasePencilLayerTreeNode", false, 0)] public GreasePencilLayerTreeNode @base; - [DNAFieldAttribute(1, "GreasePencilLayerFramesMapStorage", "frames_storage", "GreasePencilLayerFramesMapStorage", 24, false, 40)] + [DNAFieldAttribute(24, "GreasePencilLayerFramesMapStorage", 1, "frames_storage", "GreasePencilLayerFramesMapStorage", false, 40)] public GreasePencilLayerFramesMapStorage frames_storage; - [DNAFieldAttribute(2, "int8_t", "blend_mode", "int8_t", 1, false, 64)] + [DNAFieldAttribute(1, "int8_t", 2, "blend_mode", "int8_t", false, 64)] public sbyte blend_mode; - [DNAFieldAttribute(3, "char", "_pad[3]", "System.Char[]", 3, false, 65)] + [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 65)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(4, "float", "opacity", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 4, "opacity", "float", false, 68)] public float opacity; - [DNAFieldAttribute(5, "ListBase", "masks", "ListBase", 16, false, 72)] + [DNAFieldAttribute(16, "ListBase", 5, "masks", "ListBase", false, 72)] public ListBase masks; - [DNAFieldAttribute(6, "int", "active_mask_index", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 6, "active_mask_index", "int", false, 88)] public int active_mask_index; - [DNAFieldAttribute(7, "char", "_pad2[4]", "System.Char[]", 4, false, 92)] + [DNAFieldAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", false, 92)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(8, "Object", "*parent", "Object", 8, true, 96)] - public Object ptr_parent; - [DNAFieldAttribute(9, "char", "*parsubstr", "char", 8, true, 104)] - public char ptr_parsubstr; - [DNAFieldAttribute(10, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 112)] + [DNAFieldAttribute(8, "Object", 8, "*parent", "Object", true, 96)] + public Object parent; + [DNAFieldAttribute(8, "char", 9, "*parsubstr", "char", true, 104)] + public char parsubstr; + [DNAFieldAttribute(64, "float", 10, "parentinv[4][4]", "System.Single[,]", false, 112)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(11, "float", "translation[3]", "System.Single[]", 12, false, 176)] + [DNAFieldAttribute(12, "float", 11, "translation[3]", "System.Single[]", false, 176)] public float[] translation = new System.Single[3]; - [DNAFieldAttribute(12, "float", "rotation[3]", "System.Single[]", 12, false, 188)] + [DNAFieldAttribute(12, "float", 12, "rotation[3]", "System.Single[]", false, 188)] public float[] rotation = new System.Single[3]; - [DNAFieldAttribute(13, "float", "scale[3]", "System.Single[]", 12, false, 200)] + [DNAFieldAttribute(12, "float", 13, "scale[3]", "System.Single[]", false, 200)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(14, "char", "_pad3[4]", "System.Char[]", 4, false, 212)] + [DNAFieldAttribute(4, "char", 14, "_pad3[4]", "System.Char[]", false, 212)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(15, "char", "*viewlayername", "char", 8, true, 216)] - public char ptr_viewlayername; - [DNAFieldAttribute(16, "GreasePencilLayerRuntimeHandle", "*runtime", "GreasePencilLayerRuntimeHandle", 8, true, 224)] - public GreasePencilLayerRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "char", 15, "*viewlayername", "char", true, 216)] + public char viewlayername; + [DNAFieldAttribute(8, "GreasePencilLayerRuntimeHandle", 16, "*runtime", "GreasePencilLayerRuntimeHandle", true, 224)] + public GreasePencilLayerRuntimeHandle runtime; public GreasePencilLayer() { this.@base = default; this.frames_storage = default; @@ -58,15 +58,15 @@ namespace BlendFile.DNA { this.masks = default; this.active_mask_index = default; this._pad2 = default; - this.ptr_parent = default; - this.ptr_parsubstr = default; + this.parent = default; + this.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; + this.viewlayername = default; + this.runtime = default; } public GreasePencilLayer( GreasePencilLayerTreeNode @base, @@ -77,15 +77,15 @@ namespace BlendFile.DNA { ListBase masks, int active_mask_index, char[] _pad2, - Object ptr_parent, - char ptr_parsubstr, + Object parent, + char parsubstr, float[,] parentinv, float[] translation, float[] rotation, float[] scale, char[] _pad3, - char ptr_viewlayername, - GreasePencilLayerRuntimeHandle ptr_runtime) { + char viewlayername, + GreasePencilLayerRuntimeHandle runtime) { this.@base = @base; this.frames_storage = frames_storage; this.blend_mode = blend_mode; @@ -94,15 +94,15 @@ namespace BlendFile.DNA { this.masks = masks; this.active_mask_index = active_mask_index; this._pad2 = _pad2; - this.ptr_parent = ptr_parent; - this.ptr_parsubstr = ptr_parsubstr; + this.parent = parent; + this.parsubstr = parsubstr; this.parentinv = parentinv; this.translation = translation; this.rotation = rotation; this.scale = scale; this._pad3 = _pad3; - this.ptr_viewlayername = ptr_viewlayername; - this.ptr_runtime = ptr_runtime; + this.viewlayername = viewlayername; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs b/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs index d341767..ea7e328 100644 --- a/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs +++ b/BlendFile/DNA/GreasePencilLayerFramesMapStorage.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(313, "GreasePencilLayerFramesMapStorage", 24)] public class GreasePencilLayerFramesMapStorage { - [DNAFieldAttribute(0, "int", "*keys", "int", 8, true, 0)] - public int ptr_keys; - [DNAFieldAttribute(1, "GreasePencilFrame", "*values", "GreasePencilFrame", 8, true, 8)] - public GreasePencilFrame ptr_values; - [DNAFieldAttribute(2, "int", "size", "int", 4, false, 16)] + [DNAFieldAttribute(8, "int", 0, "*keys", "int", true, 0)] + public int keys; + [DNAFieldAttribute(8, "GreasePencilFrame", 1, "*values", "GreasePencilFrame", true, 8)] + public GreasePencilFrame values; + [DNAFieldAttribute(4, "int", 2, "size", "int", false, 16)] public int size; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 20)] public int flag; public GreasePencilLayerFramesMapStorage() { - this.ptr_keys = default; - this.ptr_values = default; + this.keys = default; + this.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; + public GreasePencilLayerFramesMapStorage(int keys, GreasePencilFrame values, int size, int flag) { + this.keys = keys; + this.values = values; this.size = size; this.flag = flag; } diff --git a/BlendFile/DNA/GreasePencilLayerMask.cs b/BlendFile/DNA/GreasePencilLayerMask.cs index e681573..4d2b359 100644 --- a/BlendFile/DNA/GreasePencilLayerMask.cs +++ b/BlendFile/DNA/GreasePencilLayerMask.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(314, "GreasePencilLayerMask", 32)] public class GreasePencilLayerMask { - [DNAFieldAttribute(0, "GreasePencilLayerMask", "*next", "GreasePencilLayerMask", 8, true, 0)] - public GreasePencilLayerMask ptr_next; - [DNAFieldAttribute(1, "GreasePencilLayerMask", "*prev", "GreasePencilLayerMask", 8, true, 8)] - public GreasePencilLayerMask ptr_prev; - [DNAFieldAttribute(2, "char", "*layer_name", "char", 8, true, 16)] - public char ptr_layer_name; - [DNAFieldAttribute(3, "ushort", "flag", "ushort", 2, false, 24)] + [DNAFieldAttribute(8, "GreasePencilLayerMask", 0, "*next", "GreasePencilLayerMask", true, 0)] + public GreasePencilLayerMask next; + [DNAFieldAttribute(8, "GreasePencilLayerMask", 1, "*prev", "GreasePencilLayerMask", true, 8)] + public GreasePencilLayerMask prev; + [DNAFieldAttribute(8, "char", 2, "*layer_name", "char", true, 16)] + public char layer_name; + [DNAFieldAttribute(2, "ushort", 3, "flag", "ushort", false, 24)] public ushort flag; - [DNAFieldAttribute(4, "char", "_pad[6]", "System.Char[]", 6, false, 26)] + [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 26)] public char[] _pad = new System.Char[6]; public GreasePencilLayerMask() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_layer_name = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_layer_name = ptr_layer_name; + public GreasePencilLayerMask(GreasePencilLayerMask next, GreasePencilLayerMask prev, char layer_name, ushort flag, char[] _pad) { + this.next = next; + this.prev = prev; + this.layer_name = layer_name; this.flag = flag; this._pad = _pad; } diff --git a/BlendFile/DNA/GreasePencilLayerTreeGroup.cs b/BlendFile/DNA/GreasePencilLayerTreeGroup.cs index a329095..2713f40 100644 --- a/BlendFile/DNA/GreasePencilLayerTreeGroup.cs +++ b/BlendFile/DNA/GreasePencilLayerTreeGroup.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(316, "GreasePencilLayerTreeGroup", 72)] public class GreasePencilLayerTreeGroup { - [DNAFieldAttribute(0, "GreasePencilLayerTreeNode", "base", "GreasePencilLayerTreeNode", 40, false, 0)] + [DNAFieldAttribute(40, "GreasePencilLayerTreeNode", 0, "base", "GreasePencilLayerTreeNode", false, 0)] public GreasePencilLayerTreeNode @base; - [DNAFieldAttribute(1, "ListBase", "children", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 1, "children", "ListBase", false, 40)] public ListBase children; - [DNAFieldAttribute(2, "int8_t", "color_tag", "int8_t", 1, false, 56)] + [DNAFieldAttribute(1, "int8_t", 2, "color_tag", "int8_t", false, 56)] public sbyte color_tag; - [DNAFieldAttribute(3, "char", "_pad[7]", "System.Char[]", 7, false, 57)] + [DNAFieldAttribute(7, "char", 3, "_pad[7]", "System.Char[]", false, 57)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(4, "GreasePencilLayerGroupRuntimeHandle", "*runtime", "GreasePencilLayerGroupRuntimeHandle", 8, true, 64)] - public GreasePencilLayerGroupRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "GreasePencilLayerGroupRuntimeHandle", 4, "*runtime", "GreasePencilLayerGroupRuntimeHandle", true, 64)] + public GreasePencilLayerGroupRuntimeHandle runtime; public GreasePencilLayerTreeGroup() { this.@base = default; this.children = default; this.color_tag = default; this._pad = default; - this.ptr_runtime = default; + this.runtime = default; } - public GreasePencilLayerTreeGroup(GreasePencilLayerTreeNode @base, ListBase children, sbyte color_tag, char[] _pad, GreasePencilLayerGroupRuntimeHandle ptr_runtime) { + public GreasePencilLayerTreeGroup(GreasePencilLayerTreeNode @base, ListBase children, sbyte color_tag, char[] _pad, GreasePencilLayerGroupRuntimeHandle runtime) { this.@base = @base; this.children = children; this.color_tag = color_tag; this._pad = _pad; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/GreasePencilLayerTreeNode.cs b/BlendFile/DNA/GreasePencilLayerTreeNode.cs index ee2a9d9..5d41a52 100644 --- a/BlendFile/DNA/GreasePencilLayerTreeNode.cs +++ b/BlendFile/DNA/GreasePencilLayerTreeNode.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(315, "GreasePencilLayerTreeNode", 40)] public class GreasePencilLayerTreeNode { - [DNAFieldAttribute(0, "GreasePencilLayerTreeNode", "*next", "GreasePencilLayerTreeNode", 8, true, 0)] - public GreasePencilLayerTreeNode ptr_next; - [DNAFieldAttribute(1, "GreasePencilLayerTreeNode", "*prev", "GreasePencilLayerTreeNode", 8, true, 8)] - public GreasePencilLayerTreeNode ptr_prev; - [DNAFieldAttribute(2, "GreasePencilLayerTreeGroup", "*parent", "GreasePencilLayerTreeGroup", 8, true, 16)] - public GreasePencilLayerTreeGroup ptr_parent; - [DNAFieldAttribute(3, "char", "*name", "char", 8, true, 24)] - public char ptr_name; - [DNAFieldAttribute(4, "int8_t", "type", "int8_t", 1, false, 32)] + [DNAFieldAttribute(8, "GreasePencilLayerTreeNode", 0, "*next", "GreasePencilLayerTreeNode", true, 0)] + public GreasePencilLayerTreeNode next; + [DNAFieldAttribute(8, "GreasePencilLayerTreeNode", 1, "*prev", "GreasePencilLayerTreeNode", true, 8)] + public GreasePencilLayerTreeNode prev; + [DNAFieldAttribute(8, "GreasePencilLayerTreeGroup", 2, "*parent", "GreasePencilLayerTreeGroup", true, 16)] + public GreasePencilLayerTreeGroup parent; + [DNAFieldAttribute(8, "char", 3, "*name", "char", true, 24)] + public char name; + [DNAFieldAttribute(1, "int8_t", 4, "type", "int8_t", false, 32)] public sbyte type; - [DNAFieldAttribute(5, "uchar", "color[3]", "System.Byte[]", 3, false, 33)] + [DNAFieldAttribute(3, "uchar", 5, "color[3]", "System.Byte[]", false, 33)] public byte[] color = new System.Byte[3]; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 36)] public int flag; public GreasePencilLayerTreeNode() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_parent = default; - this.ptr_name = default; + this.next = default; + this.prev = default; + this.parent = default; + this.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; - this.ptr_parent = ptr_parent; - this.ptr_name = ptr_name; + public GreasePencilLayerTreeNode(GreasePencilLayerTreeNode next, GreasePencilLayerTreeNode prev, GreasePencilLayerTreeGroup parent, char name, sbyte type, byte[] color, int flag) { + this.next = next; + this.prev = prev; + this.parent = parent; + this.name = name; this.type = type; this.color = color; this.flag = flag; diff --git a/BlendFile/DNA/GreasePencilLengthModifierData.cs b/BlendFile/DNA/GreasePencilLengthModifierData.cs index 4b11a24..9b9be96 100644 --- a/BlendFile/DNA/GreasePencilLengthModifierData.cs +++ b/BlendFile/DNA/GreasePencilLengthModifierData.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(539, "GreasePencilLengthModifierData", 352)] public class GreasePencilLengthModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "float", "start_fac", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "start_fac", "float", false, 292)] public float start_fac; - [DNAFieldAttribute(4, "float", "end_fac", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "end_fac", "float", false, 296)] public float end_fac; - [DNAFieldAttribute(5, "float", "rand_start_fac", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 5, "rand_start_fac", "float", false, 300)] public float rand_start_fac; - [DNAFieldAttribute(6, "float", "rand_end_fac", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 6, "rand_end_fac", "float", false, 304)] public float rand_end_fac; - [DNAFieldAttribute(7, "float", "rand_offset", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 7, "rand_offset", "float", false, 308)] public float rand_offset; - [DNAFieldAttribute(8, "float", "overshoot_fac", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 8, "overshoot_fac", "float", false, 312)] public float overshoot_fac; - [DNAFieldAttribute(9, "int", "seed", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 9, "seed", "int", false, 316)] public int seed; - [DNAFieldAttribute(10, "int", "step", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 10, "step", "int", false, 320)] public int step; - [DNAFieldAttribute(11, "int", "mode", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 11, "mode", "int", false, 324)] public int mode; - [DNAFieldAttribute(12, "char", "_pad[4]", "System.Char[]", 4, false, 328)] + [DNAFieldAttribute(4, "char", 12, "_pad[4]", "System.Char[]", false, 328)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(13, "float", "point_density", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 13, "point_density", "float", false, 332)] public float point_density; - [DNAFieldAttribute(14, "float", "segment_influence", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 14, "segment_influence", "float", false, 336)] public float segment_influence; - [DNAFieldAttribute(15, "float", "max_angle", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 15, "max_angle", "float", false, 340)] public float max_angle; - [DNAFieldAttribute(16, "void", "*_pad1", "void", 8, true, 344)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 16, "*_pad1", "void", true, 344)] + public object _pad1; public GreasePencilLengthModifierData() { this.modifier = default; this.influence = default; @@ -66,7 +66,7 @@ namespace BlendFile.DNA { this.point_density = default; this.segment_influence = default; this.max_angle = default; - this.ptr__pad1 = default; + this._pad1 = default; } public GreasePencilLengthModifierData( ModifierData modifier, @@ -85,7 +85,7 @@ namespace BlendFile.DNA { float point_density, float segment_influence, float max_angle, - object ptr__pad1) { + object _pad1) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -102,7 +102,7 @@ namespace BlendFile.DNA { this.point_density = point_density; this.segment_influence = segment_influence; this.max_angle = max_angle; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/GreasePencilLineartModifierData.cs b/BlendFile/DNA/GreasePencilLineartModifierData.cs index e1eb268..fde8e68 100644 --- a/BlendFile/DNA/GreasePencilLineartModifierData.cs +++ b/BlendFile/DNA/GreasePencilLineartModifierData.cs @@ -15,94 +15,94 @@ namespace BlendFile.DNA { [DNAClassAttribute(544, "GreasePencilLineartModifierData", 464)] public class GreasePencilLineartModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "ushort", "edge_types", "ushort", 2, false, 120)] + [DNAFieldAttribute(2, "ushort", 1, "edge_types", "ushort", false, 120)] public ushort edge_types; - [DNAFieldAttribute(2, "char", "source_type", "char", 1, false, 122)] + [DNAFieldAttribute(1, "char", 2, "source_type", "char", false, 122)] public char source_type; - [DNAFieldAttribute(3, "char", "use_multiple_levels", "char", 1, false, 123)] + [DNAFieldAttribute(1, "char", 3, "use_multiple_levels", "char", false, 123)] public char use_multiple_levels; - [DNAFieldAttribute(4, "short", "level_start", "short", 2, false, 124)] + [DNAFieldAttribute(2, "short", 4, "level_start", "short", false, 124)] public short level_start; - [DNAFieldAttribute(5, "short", "level_end", "short", 2, false, 126)] + [DNAFieldAttribute(2, "short", 5, "level_end", "short", false, 126)] public short level_end; - [DNAFieldAttribute(6, "Object", "*source_camera", "Object", 8, true, 128)] - public Object ptr_source_camera; - [DNAFieldAttribute(7, "Object", "*light_contour_object", "Object", 8, true, 136)] - public Object ptr_light_contour_object; - [DNAFieldAttribute(8, "Object", "*source_object", "Object", 8, true, 144)] - public Object ptr_source_object; - [DNAFieldAttribute(9, "Collection", "*source_collection", "Collection", 8, true, 152)] - public Collection ptr_source_collection; - [DNAFieldAttribute(10, "Material", "*target_material", "Material", 8, true, 160)] - public Material ptr_target_material; - [DNAFieldAttribute(11, "char", "target_layer[64]", "System.Char[]", 64, false, 168)] + [DNAFieldAttribute(8, "Object", 6, "*source_camera", "Object", true, 128)] + public Object source_camera; + [DNAFieldAttribute(8, "Object", 7, "*light_contour_object", "Object", true, 136)] + public Object light_contour_object; + [DNAFieldAttribute(8, "Object", 8, "*source_object", "Object", true, 144)] + public Object source_object; + [DNAFieldAttribute(8, "Collection", 9, "*source_collection", "Collection", true, 152)] + public Collection source_collection; + [DNAFieldAttribute(8, "Material", 10, "*target_material", "Material", true, 160)] + public Material target_material; + [DNAFieldAttribute(64, "char", 11, "target_layer[64]", "System.Char[]", false, 168)] public char[] target_layer = new System.Char[64]; - [DNAFieldAttribute(12, "char", "source_vertex_group[64]", "System.Char[]", 64, false, 232)] + [DNAFieldAttribute(64, "char", 12, "source_vertex_group[64]", "System.Char[]", false, 232)] public char[] source_vertex_group = new System.Char[64]; - [DNAFieldAttribute(13, "char", "vgname[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(64, "char", 13, "vgname[64]", "System.Char[]", false, 296)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(14, "float", "overscan", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 14, "overscan", "float", false, 360)] public float overscan; - [DNAFieldAttribute(15, "float", "shadow_camera_fov", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 15, "shadow_camera_fov", "float", false, 364)] public float shadow_camera_fov; - [DNAFieldAttribute(16, "float", "shadow_camera_size", "float", 4, false, 368)] + [DNAFieldAttribute(4, "float", 16, "shadow_camera_size", "float", false, 368)] public float shadow_camera_size; - [DNAFieldAttribute(17, "float", "shadow_camera_near", "float", 4, false, 372)] + [DNAFieldAttribute(4, "float", 17, "shadow_camera_near", "float", false, 372)] public float shadow_camera_near; - [DNAFieldAttribute(18, "float", "shadow_camera_far", "float", 4, false, 376)] + [DNAFieldAttribute(4, "float", 18, "shadow_camera_far", "float", false, 376)] public float shadow_camera_far; - [DNAFieldAttribute(19, "float", "opacity", "float", 4, false, 380)] + [DNAFieldAttribute(4, "float", 19, "opacity", "float", false, 380)] public float opacity; - [DNAFieldAttribute(20, "short", "thickness", "short", 2, false, 384)] + [DNAFieldAttribute(2, "short", 20, "thickness", "short", false, 384)] public short thickness; - [DNAFieldAttribute(21, "char", "mask_switches", "char", 1, false, 386)] + [DNAFieldAttribute(1, "char", 21, "mask_switches", "char", false, 386)] public char mask_switches; - [DNAFieldAttribute(22, "char", "material_mask_bits", "char", 1, false, 387)] + [DNAFieldAttribute(1, "char", 22, "material_mask_bits", "char", false, 387)] public char material_mask_bits; - [DNAFieldAttribute(23, "char", "intersection_mask", "char", 1, false, 388)] + [DNAFieldAttribute(1, "char", 23, "intersection_mask", "char", false, 388)] public char intersection_mask; - [DNAFieldAttribute(24, "char", "shadow_selection", "char", 1, false, 389)] + [DNAFieldAttribute(1, "char", 24, "shadow_selection", "char", false, 389)] public char shadow_selection; - [DNAFieldAttribute(25, "char", "silhouette_selection", "char", 1, false, 390)] + [DNAFieldAttribute(1, "char", 25, "silhouette_selection", "char", false, 390)] public char silhouette_selection; - [DNAFieldAttribute(26, "char", "_pad[1]", "System.Char[]", 1, false, 391)] + [DNAFieldAttribute(1, "char", 26, "_pad[1]", "System.Char[]", false, 391)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(27, "float", "crease_threshold", "float", 4, false, 392)] + [DNAFieldAttribute(4, "float", 27, "crease_threshold", "float", false, 392)] public float crease_threshold; - [DNAFieldAttribute(28, "float", "angle_splitting_threshold", "float", 4, false, 396)] + [DNAFieldAttribute(4, "float", 28, "angle_splitting_threshold", "float", false, 396)] public float angle_splitting_threshold; - [DNAFieldAttribute(29, "float", "chain_smooth_tolerance", "float", 4, false, 400)] + [DNAFieldAttribute(4, "float", 29, "chain_smooth_tolerance", "float", false, 400)] public float chain_smooth_tolerance; - [DNAFieldAttribute(30, "float", "chaining_image_threshold", "float", 4, false, 404)] + [DNAFieldAttribute(4, "float", 30, "chaining_image_threshold", "float", false, 404)] public float chaining_image_threshold; - [DNAFieldAttribute(31, "int", "calculation_flags", "int", 4, false, 408)] + [DNAFieldAttribute(4, "int", 31, "calculation_flags", "int", false, 408)] public int calculation_flags; - [DNAFieldAttribute(32, "int", "flags", "int", 4, false, 412)] + [DNAFieldAttribute(4, "int", 32, "flags", "int", false, 412)] public int flags; - [DNAFieldAttribute(33, "float", "stroke_depth_offset", "float", 4, false, 416)] + [DNAFieldAttribute(4, "float", 33, "stroke_depth_offset", "float", false, 416)] public float stroke_depth_offset; - [DNAFieldAttribute(34, "char", "level_start_override", "char", 1, false, 420)] + [DNAFieldAttribute(1, "char", 34, "level_start_override", "char", false, 420)] public char level_start_override; - [DNAFieldAttribute(35, "char", "level_end_override", "char", 1, false, 421)] + [DNAFieldAttribute(1, "char", 35, "level_end_override", "char", false, 421)] public char level_end_override; - [DNAFieldAttribute(36, "short", "edge_types_override", "short", 2, false, 422)] + [DNAFieldAttribute(2, "short", 36, "edge_types_override", "short", false, 422)] public short edge_types_override; - [DNAFieldAttribute(37, "char", "shadow_selection_override", "char", 1, false, 424)] + [DNAFieldAttribute(1, "char", 37, "shadow_selection_override", "char", false, 424)] public char shadow_selection_override; - [DNAFieldAttribute(38, "char", "shadow_use_silhouette_override", "char", 1, false, 425)] + [DNAFieldAttribute(1, "char", 38, "shadow_use_silhouette_override", "char", false, 425)] public char shadow_use_silhouette_override; - [DNAFieldAttribute(39, "char", "_pad2[6]", "System.Char[]", 6, false, 426)] + [DNAFieldAttribute(6, "char", 39, "_pad2[6]", "System.Char[]", false, 426)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(40, "LineartCache", "*shared_cache", "LineartCache", 8, true, 432)] - public LineartCache ptr_shared_cache; - [DNAFieldAttribute(41, "LineartCache", "*cache", "LineartCache", 8, true, 440)] - public LineartCache ptr_cache; - [DNAFieldAttribute(42, "LineartData", "*la_data_ptr", "LineartData", 8, true, 448)] - public LineartData ptr_la_data_ptr; - [DNAFieldAttribute(43, "void", "*runtime", "void", 8, true, 456)] - public object ptr_runtime; + [DNAFieldAttribute(8, "LineartCache", 40, "*shared_cache", "LineartCache", true, 432)] + public LineartCache shared_cache; + [DNAFieldAttribute(8, "LineartCache", 41, "*cache", "LineartCache", true, 440)] + public LineartCache cache; + [DNAFieldAttribute(8, "LineartData", 42, "*la_data_ptr", "LineartData", true, 448)] + public LineartData la_data_ptr; + [DNAFieldAttribute(8, "void", 43, "*runtime", "void", true, 456)] + public object runtime; public GreasePencilLineartModifierData() { this.modifier = default; this.edge_types = default; @@ -110,11 +110,11 @@ namespace BlendFile.DNA { 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.source_camera = default; + this.light_contour_object = default; + this.source_object = default; + this.source_collection = default; + this.target_material = default; this.target_layer = default; this.source_vertex_group = default; this.vgname = default; @@ -144,10 +144,10 @@ namespace BlendFile.DNA { 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; + this.shared_cache = default; + this.cache = default; + this.la_data_ptr = default; + this.runtime = default; } public GreasePencilLineartModifierData( ModifierData modifier, @@ -156,11 +156,11 @@ namespace BlendFile.DNA { char use_multiple_levels, short level_start, short level_end, - Object ptr_source_camera, - Object ptr_light_contour_object, - Object ptr_source_object, - Collection ptr_source_collection, - Material ptr_target_material, + Object source_camera, + Object light_contour_object, + Object source_object, + Collection source_collection, + Material target_material, char[] target_layer, char[] source_vertex_group, char[] vgname, @@ -190,21 +190,21 @@ namespace BlendFile.DNA { char shadow_selection_override, char shadow_use_silhouette_override, char[] _pad2, - LineartCache ptr_shared_cache, - LineartCache ptr_cache, - LineartData ptr_la_data_ptr, - object ptr_runtime) { + LineartCache shared_cache, + LineartCache cache, + LineartData la_data_ptr, + object runtime) { this.modifier = modifier; this.edge_types = edge_types; this.source_type = source_type; this.use_multiple_levels = use_multiple_levels; this.level_start = level_start; this.level_end = level_end; - this.ptr_source_camera = ptr_source_camera; - this.ptr_light_contour_object = ptr_light_contour_object; - this.ptr_source_object = ptr_source_object; - this.ptr_source_collection = ptr_source_collection; - this.ptr_target_material = ptr_target_material; + this.source_camera = source_camera; + this.light_contour_object = light_contour_object; + this.source_object = source_object; + this.source_collection = source_collection; + this.target_material = target_material; this.target_layer = target_layer; this.source_vertex_group = source_vertex_group; this.vgname = vgname; @@ -234,10 +234,10 @@ namespace BlendFile.DNA { this.shadow_selection_override = shadow_selection_override; this.shadow_use_silhouette_override = shadow_use_silhouette_override; this._pad2 = _pad2; - this.ptr_shared_cache = ptr_shared_cache; - this.ptr_cache = ptr_cache; - this.ptr_la_data_ptr = ptr_la_data_ptr; - this.ptr_runtime = ptr_runtime; + this.shared_cache = shared_cache; + this.cache = cache; + this.la_data_ptr = la_data_ptr; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/GreasePencilMirrorModifierData.cs b/BlendFile/DNA/GreasePencilMirrorModifierData.cs index 3843b4d..c2a7b9d 100644 --- a/BlendFile/DNA/GreasePencilMirrorModifierData.cs +++ b/BlendFile/DNA/GreasePencilMirrorModifierData.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(533, "GreasePencilMirrorModifierData", 304)] public class GreasePencilMirrorModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 296)] + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 296)] public int flag; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 300)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 300)] public char[] _pad = new System.Char[4]; public GreasePencilMirrorModifierData() { this.modifier = default; this.influence = default; - this.ptr_object = default; + this.@object = default; this.flag = default; this._pad = default; } - public GreasePencilMirrorModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object ptr_object, int flag, char[] _pad) { + public GreasePencilMirrorModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object @object, int flag, char[] _pad) { this.modifier = modifier; this.influence = influence; - this.ptr_object = ptr_object; + this.@object = @object; this.flag = flag; this._pad = _pad; } diff --git a/BlendFile/DNA/GreasePencilModifierInfluenceData.cs b/BlendFile/DNA/GreasePencilModifierInfluenceData.cs index e40e90e..a38465d 100644 --- a/BlendFile/DNA/GreasePencilModifierInfluenceData.cs +++ b/BlendFile/DNA/GreasePencilModifierInfluenceData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(525, "GreasePencilModifierInfluenceData", 168)] public class GreasePencilModifierInfluenceData { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad1[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad1[4]", "System.Char[]", false, 4)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(2, "char", "layer_name[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(64, "char", 2, "layer_name[64]", "System.Char[]", false, 8)] public char[] layer_name = new System.Char[64]; - [DNAFieldAttribute(3, "Material", "*material", "Material", 8, true, 72)] - public Material ptr_material; - [DNAFieldAttribute(4, "int", "layer_pass", "int", 4, false, 80)] + [DNAFieldAttribute(8, "Material", 3, "*material", "Material", true, 72)] + public Material material; + [DNAFieldAttribute(4, "int", 4, "layer_pass", "int", false, 80)] public int layer_pass; - [DNAFieldAttribute(5, "int", "material_pass", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 5, "material_pass", "int", false, 84)] public int material_pass; - [DNAFieldAttribute(6, "char", "vertex_group_name[64]", "System.Char[]", 64, false, 88)] + [DNAFieldAttribute(64, "char", 6, "vertex_group_name[64]", "System.Char[]", false, 88)] public char[] vertex_group_name = new System.Char[64]; - [DNAFieldAttribute(7, "CurveMapping", "*custom_curve", "CurveMapping", 8, true, 152)] - public CurveMapping ptr_custom_curve; - [DNAFieldAttribute(8, "void", "*_pad2", "void", 8, true, 160)] - public object ptr__pad2; + [DNAFieldAttribute(8, "CurveMapping", 7, "*custom_curve", "CurveMapping", true, 152)] + public CurveMapping custom_curve; + [DNAFieldAttribute(8, "void", 8, "*_pad2", "void", true, 160)] + public object _pad2; public GreasePencilModifierInfluenceData() { this.flag = default; this._pad1 = default; this.layer_name = default; - this.ptr_material = default; + this.material = default; this.layer_pass = default; this.material_pass = default; this.vertex_group_name = default; - this.ptr_custom_curve = default; - this.ptr__pad2 = default; + this.custom_curve = default; + this._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) { + public GreasePencilModifierInfluenceData(int flag, char[] _pad1, char[] layer_name, Material material, int layer_pass, int material_pass, char[] vertex_group_name, CurveMapping custom_curve, object _pad2) { this.flag = flag; this._pad1 = _pad1; this.layer_name = layer_name; - this.ptr_material = ptr_material; + this.material = material; this.layer_pass = layer_pass; this.material_pass = material_pass; this.vertex_group_name = vertex_group_name; - this.ptr_custom_curve = ptr_custom_curve; - this.ptr__pad2 = ptr__pad2; + this.custom_curve = custom_curve; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/GreasePencilMultiModifierData.cs b/BlendFile/DNA/GreasePencilMultiModifierData.cs index e569d59..7eaa646 100644 --- a/BlendFile/DNA/GreasePencilMultiModifierData.cs +++ b/BlendFile/DNA/GreasePencilMultiModifierData.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(538, "GreasePencilMultiModifierData", 328)] public class GreasePencilMultiModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "int", "duplications", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 3, "duplications", "int", false, 292)] public int duplications; - [DNAFieldAttribute(4, "float", "distance", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "distance", "float", false, 296)] public float distance; - [DNAFieldAttribute(5, "float", "offset", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 5, "offset", "float", false, 300)] public float offset; - [DNAFieldAttribute(6, "float", "fading_center", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 6, "fading_center", "float", false, 304)] public float fading_center; - [DNAFieldAttribute(7, "float", "fading_thickness", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 7, "fading_thickness", "float", false, 308)] public float fading_thickness; - [DNAFieldAttribute(8, "float", "fading_opacity", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 8, "fading_opacity", "float", false, 312)] public float fading_opacity; - [DNAFieldAttribute(9, "int", "_pad0", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 9, "_pad0", "int", false, 316)] public int _pad0; - [DNAFieldAttribute(10, "void", "*_pad", "void", 8, true, 320)] - public object ptr__pad; + [DNAFieldAttribute(8, "void", 10, "*_pad", "void", true, 320)] + public object _pad; public GreasePencilMultiModifierData() { this.modifier = default; this.influence = default; @@ -48,9 +48,9 @@ namespace BlendFile.DNA { this.fading_thickness = default; this.fading_opacity = default; this._pad0 = default; - this.ptr__pad = default; + this._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) { + 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 _pad) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.fading_thickness = fading_thickness; this.fading_opacity = fading_opacity; this._pad0 = _pad0; - this.ptr__pad = ptr__pad; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/GreasePencilNoiseModifierData.cs b/BlendFile/DNA/GreasePencilNoiseModifierData.cs index 9c5cb07..8ed9fc9 100644 --- a/BlendFile/DNA/GreasePencilNoiseModifierData.cs +++ b/BlendFile/DNA/GreasePencilNoiseModifierData.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(532, "GreasePencilNoiseModifierData", 336)] public class GreasePencilNoiseModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "float", "factor", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "factor", "float", false, 292)] public float factor; - [DNAFieldAttribute(4, "float", "factor_strength", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "factor_strength", "float", false, 296)] public float factor_strength; - [DNAFieldAttribute(5, "float", "factor_thickness", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 5, "factor_thickness", "float", false, 300)] public float factor_thickness; - [DNAFieldAttribute(6, "float", "factor_uvs", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 6, "factor_uvs", "float", false, 304)] public float factor_uvs; - [DNAFieldAttribute(7, "float", "noise_scale", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 7, "noise_scale", "float", false, 308)] public float noise_scale; - [DNAFieldAttribute(8, "float", "noise_offset", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 8, "noise_offset", "float", false, 312)] public float noise_offset; - [DNAFieldAttribute(9, "short", "noise_mode", "short", 2, false, 316)] + [DNAFieldAttribute(2, "short", 9, "noise_mode", "short", false, 316)] public short noise_mode; - [DNAFieldAttribute(10, "char", "_pad[2]", "System.Char[]", 2, false, 318)] + [DNAFieldAttribute(2, "char", 10, "_pad[2]", "System.Char[]", false, 318)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(11, "int", "step", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 11, "step", "int", false, 320)] public int step; - [DNAFieldAttribute(12, "int", "seed", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 12, "seed", "int", false, 324)] public int seed; - [DNAFieldAttribute(13, "void", "*_pad1", "void", 8, true, 328)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 13, "*_pad1", "void", true, 328)] + public object _pad1; public GreasePencilNoiseModifierData() { this.modifier = default; this.influence = default; @@ -57,9 +57,9 @@ namespace BlendFile.DNA { this._pad = default; this.step = default; this.seed = default; - this.ptr__pad1 = default; + this._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) { + 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 _pad1) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -73,7 +73,7 @@ namespace BlendFile.DNA { this._pad = _pad; this.step = step; this.seed = seed; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/GreasePencilOffsetModifierData.cs b/BlendFile/DNA/GreasePencilOffsetModifierData.cs index d20299b..b1e63d1 100644 --- a/BlendFile/DNA/GreasePencilOffsetModifierData.cs +++ b/BlendFile/DNA/GreasePencilOffsetModifierData.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(531, "GreasePencilOffsetModifierData", 392)] public class GreasePencilOffsetModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "int", "offset_mode", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 3, "offset_mode", "int", false, 292)] public int offset_mode; - [DNAFieldAttribute(4, "float", "loc[3]", "System.Single[]", 12, false, 296)] + [DNAFieldAttribute(12, "float", 4, "loc[3]", "System.Single[]", false, 296)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(5, "float", "rot[3]", "System.Single[]", 12, false, 308)] + [DNAFieldAttribute(12, "float", 5, "rot[3]", "System.Single[]", false, 308)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(6, "float", "scale[3]", "System.Single[]", 12, false, 320)] + [DNAFieldAttribute(12, "float", 6, "scale[3]", "System.Single[]", false, 320)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(7, "float", "stroke_loc[3]", "System.Single[]", 12, false, 332)] + [DNAFieldAttribute(12, "float", 7, "stroke_loc[3]", "System.Single[]", false, 332)] public float[] stroke_loc = new System.Single[3]; - [DNAFieldAttribute(8, "float", "stroke_rot[3]", "System.Single[]", 12, false, 344)] + [DNAFieldAttribute(12, "float", 8, "stroke_rot[3]", "System.Single[]", false, 344)] public float[] stroke_rot = new System.Single[3]; - [DNAFieldAttribute(9, "float", "stroke_scale[3]", "System.Single[]", 12, false, 356)] + [DNAFieldAttribute(12, "float", 9, "stroke_scale[3]", "System.Single[]", false, 356)] public float[] stroke_scale = new System.Single[3]; - [DNAFieldAttribute(10, "int", "seed", "int", 4, false, 368)] + [DNAFieldAttribute(4, "int", 10, "seed", "int", false, 368)] public int seed; - [DNAFieldAttribute(11, "int", "stroke_step", "int", 4, false, 372)] + [DNAFieldAttribute(4, "int", 11, "stroke_step", "int", false, 372)] public int stroke_step; - [DNAFieldAttribute(12, "int", "stroke_start_offset", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 12, "stroke_start_offset", "int", false, 376)] public int stroke_start_offset; - [DNAFieldAttribute(13, "char", "_pad1[4]", "System.Char[]", 4, false, 380)] + [DNAFieldAttribute(4, "char", 13, "_pad1[4]", "System.Char[]", false, 380)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(14, "void", "*_pad2", "void", 8, true, 384)] - public object ptr__pad2; + [DNAFieldAttribute(8, "void", 14, "*_pad2", "void", true, 384)] + public object _pad2; public GreasePencilOffsetModifierData() { this.modifier = default; this.influence = default; @@ -60,9 +60,9 @@ namespace BlendFile.DNA { this.stroke_step = default; this.stroke_start_offset = default; this._pad1 = default; - this.ptr__pad2 = default; + this._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) { + 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 _pad2) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -77,7 +77,7 @@ namespace BlendFile.DNA { this.stroke_step = stroke_step; this.stroke_start_offset = stroke_start_offset; this._pad1 = _pad1; - this.ptr__pad2 = ptr__pad2; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs b/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs index 6a6d3d6..7ae2597 100644 --- a/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs +++ b/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs @@ -14,26 +14,26 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(320, "GreasePencilOnionSkinningSettings", 40)] - public struct GreasePencilOnionSkinningSettings { - [DNAFieldAttribute(0, "float", "opacity", "float", 4, false, 0)] + public class GreasePencilOnionSkinningSettings { + [DNAFieldAttribute(4, "float", 0, "opacity", "float", false, 0)] public float opacity; - [DNAFieldAttribute(1, "int8_t", "mode", "int8_t", 1, false, 4)] + [DNAFieldAttribute(1, "int8_t", 1, "mode", "int8_t", false, 4)] public sbyte mode; - [DNAFieldAttribute(2, "uchar", "flag", "uchar", 1, false, 5)] + [DNAFieldAttribute(1, "uchar", 2, "flag", "uchar", false, 5)] public byte flag; - [DNAFieldAttribute(3, "uchar", "filter", "uchar", 1, false, 6)] + [DNAFieldAttribute(1, "uchar", 3, "filter", "uchar", false, 6)] public byte filter; - [DNAFieldAttribute(4, "char", "_pad[1]", "System.Char[]", 1, false, 7)] + [DNAFieldAttribute(1, "char", 4, "_pad[1]", "System.Char[]", false, 7)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(5, "short", "num_frames_before", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 5, "num_frames_before", "short", false, 8)] public short num_frames_before; - [DNAFieldAttribute(6, "short", "num_frames_after", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 6, "num_frames_after", "short", false, 10)] public short num_frames_after; - [DNAFieldAttribute(7, "float", "color_before[3]", "System.Single[]", 12, false, 12)] + [DNAFieldAttribute(12, "float", 7, "color_before[3]", "System.Single[]", false, 12)] public float[] color_before = new System.Single[3]; - [DNAFieldAttribute(8, "float", "color_after[3]", "System.Single[]", 12, false, 24)] + [DNAFieldAttribute(12, "float", 8, "color_after[3]", "System.Single[]", false, 24)] public float[] color_after = new System.Single[3]; - [DNAFieldAttribute(9, "char", "_pad2[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", false, 36)] public char[] _pad2 = new System.Char[4]; public GreasePencilOnionSkinningSettings() { this.opacity = default; diff --git a/BlendFile/DNA/GreasePencilOpacityModifierData.cs b/BlendFile/DNA/GreasePencilOpacityModifierData.cs index 03f9bea..c012060 100644 --- a/BlendFile/DNA/GreasePencilOpacityModifierData.cs +++ b/BlendFile/DNA/GreasePencilOpacityModifierData.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(526, "GreasePencilOpacityModifierData", 312)] public class GreasePencilOpacityModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "char", "color_mode", "char", 1, false, 292)] + [DNAFieldAttribute(1, "char", 3, "color_mode", "char", false, 292)] public char color_mode; - [DNAFieldAttribute(4, "char", "_pad1[3]", "System.Char[]", 3, false, 293)] + [DNAFieldAttribute(3, "char", 4, "_pad1[3]", "System.Char[]", false, 293)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(5, "float", "color_factor", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 5, "color_factor", "float", false, 296)] public float color_factor; - [DNAFieldAttribute(6, "float", "hardness_factor", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 6, "hardness_factor", "float", false, 300)] public float hardness_factor; - [DNAFieldAttribute(7, "void", "*_pad2", "void", 8, true, 304)] - public object ptr__pad2; + [DNAFieldAttribute(8, "void", 7, "*_pad2", "void", true, 304)] + public object _pad2; public GreasePencilOpacityModifierData() { this.modifier = default; this.influence = default; @@ -39,9 +39,9 @@ namespace BlendFile.DNA { this._pad1 = default; this.color_factor = default; this.hardness_factor = default; - this.ptr__pad2 = default; + this._pad2 = default; } - public GreasePencilOpacityModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, char color_mode, char[] _pad1, float color_factor, float hardness_factor, object ptr__pad2) { + public GreasePencilOpacityModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, char color_mode, char[] _pad1, float color_factor, float hardness_factor, object _pad2) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { this._pad1 = _pad1; this.color_factor = color_factor; this.hardness_factor = hardness_factor; - this.ptr__pad2 = ptr__pad2; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/GreasePencilOutlineModifierData.cs b/BlendFile/DNA/GreasePencilOutlineModifierData.cs index fa1fae3..9d3e839 100644 --- a/BlendFile/DNA/GreasePencilOutlineModifierData.cs +++ b/BlendFile/DNA/GreasePencilOutlineModifierData.cs @@ -15,41 +15,41 @@ namespace BlendFile.DNA { [DNAClassAttribute(549, "GreasePencilOutlineModifierData", 320)] public class GreasePencilOutlineModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*object", "Object", 8, true, 288)] - public Object ptr_object; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 296)] + [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] + public Object @object; + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 296)] public int flag; - [DNAFieldAttribute(4, "int", "thickness", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 4, "thickness", "int", false, 300)] public int thickness; - [DNAFieldAttribute(5, "float", "sample_length", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 5, "sample_length", "float", false, 304)] public float sample_length; - [DNAFieldAttribute(6, "int", "subdiv", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "subdiv", "int", false, 308)] public int subdiv; - [DNAFieldAttribute(7, "Material", "*outline_material", "Material", 8, true, 312)] - public Material ptr_outline_material; + [DNAFieldAttribute(8, "Material", 7, "*outline_material", "Material", true, 312)] + public Material outline_material; public GreasePencilOutlineModifierData() { this.modifier = default; this.influence = default; - this.ptr_object = default; + this.@object = default; this.flag = default; this.thickness = default; this.sample_length = default; this.subdiv = default; - this.ptr_outline_material = default; + this.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) { + public GreasePencilOutlineModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object @object, int flag, int thickness, float sample_length, int subdiv, Material outline_material) { this.modifier = modifier; this.influence = influence; - this.ptr_object = ptr_object; + this.@object = @object; this.flag = flag; this.thickness = thickness; this.sample_length = sample_length; this.subdiv = subdiv; - this.ptr_outline_material = ptr_outline_material; + this.outline_material = outline_material; } } } diff --git a/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs b/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs index efa8d7d..f131c47 100644 --- a/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs +++ b/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs @@ -15,41 +15,41 @@ namespace BlendFile.DNA { [DNAClassAttribute(550, "GreasePencilShrinkwrapModifierData", 336)] public class GreasePencilShrinkwrapModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "Object", "*target", "Object", 8, true, 288)] - public Object ptr_target; - [DNAFieldAttribute(3, "Object", "*aux_target", "Object", 8, true, 296)] - public Object ptr_aux_target; - [DNAFieldAttribute(4, "float", "keep_dist", "float", 4, false, 304)] + [DNAFieldAttribute(8, "Object", 2, "*target", "Object", true, 288)] + public Object target; + [DNAFieldAttribute(8, "Object", 3, "*aux_target", "Object", true, 296)] + public Object aux_target; + [DNAFieldAttribute(4, "float", 4, "keep_dist", "float", false, 304)] public float keep_dist; - [DNAFieldAttribute(5, "short", "shrink_type", "short", 2, false, 308)] + [DNAFieldAttribute(2, "short", 5, "shrink_type", "short", false, 308)] public short shrink_type; - [DNAFieldAttribute(6, "char", "shrink_opts", "char", 1, false, 310)] + [DNAFieldAttribute(1, "char", 6, "shrink_opts", "char", false, 310)] public char shrink_opts; - [DNAFieldAttribute(7, "char", "shrink_mode", "char", 1, false, 311)] + [DNAFieldAttribute(1, "char", 7, "shrink_mode", "char", false, 311)] public char shrink_mode; - [DNAFieldAttribute(8, "float", "proj_limit", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 8, "proj_limit", "float", false, 312)] public float proj_limit; - [DNAFieldAttribute(9, "char", "proj_axis", "char", 1, false, 316)] + [DNAFieldAttribute(1, "char", 9, "proj_axis", "char", false, 316)] public char proj_axis; - [DNAFieldAttribute(10, "char", "subsurf_levels", "char", 1, false, 317)] + [DNAFieldAttribute(1, "char", 10, "subsurf_levels", "char", false, 317)] public char subsurf_levels; - [DNAFieldAttribute(11, "char", "_pad[2]", "System.Char[]", 2, false, 318)] + [DNAFieldAttribute(2, "char", 11, "_pad[2]", "System.Char[]", false, 318)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(12, "float", "smooth_factor", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 12, "smooth_factor", "float", false, 320)] public float smooth_factor; - [DNAFieldAttribute(13, "int", "smooth_step", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 13, "smooth_step", "int", false, 324)] public int smooth_step; - [DNAFieldAttribute(14, "ShrinkwrapTreeData", "*cache_data", "ShrinkwrapTreeData", 8, true, 328)] - public ShrinkwrapTreeData ptr_cache_data; + [DNAFieldAttribute(8, "ShrinkwrapTreeData", 14, "*cache_data", "ShrinkwrapTreeData", true, 328)] + public ShrinkwrapTreeData cache_data; public GreasePencilShrinkwrapModifierData() { this.modifier = default; this.influence = default; - this.ptr_target = default; - this.ptr_aux_target = default; + this.target = default; + this.aux_target = default; this.keep_dist = default; this.shrink_type = default; this.shrink_opts = default; @@ -60,13 +60,13 @@ namespace BlendFile.DNA { this._pad = default; this.smooth_factor = default; this.smooth_step = default; - this.ptr_cache_data = default; + this.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) { + public GreasePencilShrinkwrapModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, Object target, Object 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 cache_data) { this.modifier = modifier; this.influence = influence; - this.ptr_target = ptr_target; - this.ptr_aux_target = ptr_aux_target; + this.target = target; + this.aux_target = aux_target; this.keep_dist = keep_dist; this.shrink_type = shrink_type; this.shrink_opts = shrink_opts; @@ -77,7 +77,7 @@ namespace BlendFile.DNA { this._pad = _pad; this.smooth_factor = smooth_factor; this.smooth_step = smooth_step; - this.ptr_cache_data = ptr_cache_data; + this.cache_data = cache_data; } } } diff --git a/BlendFile/DNA/GreasePencilSimplifyModifierData.cs b/BlendFile/DNA/GreasePencilSimplifyModifierData.cs index fa81046..865ac0a 100644 --- a/BlendFile/DNA/GreasePencilSimplifyModifierData.cs +++ b/BlendFile/DNA/GreasePencilSimplifyModifierData.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(552, "GreasePencilSimplifyModifierData", 312)] - public struct GreasePencilSimplifyModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class GreasePencilSimplifyModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "short", "mode", "short", 2, false, 288)] + [DNAFieldAttribute(2, "short", 2, "mode", "short", false, 288)] public short mode; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 290)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 290)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(4, "short", "step", "short", 2, false, 294)] + [DNAFieldAttribute(2, "short", 4, "step", "short", false, 294)] public short step; - [DNAFieldAttribute(5, "float", "factor", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 5, "factor", "float", false, 296)] public float factor; - [DNAFieldAttribute(6, "float", "length", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 6, "length", "float", false, 300)] public float length; - [DNAFieldAttribute(7, "float", "sharp_threshold", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 7, "sharp_threshold", "float", false, 304)] public float sharp_threshold; - [DNAFieldAttribute(8, "float", "distance", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 8, "distance", "float", false, 308)] public float distance; public GreasePencilSimplifyModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilSmoothModifierData.cs b/BlendFile/DNA/GreasePencilSmoothModifierData.cs index c272caa..23e390c 100644 --- a/BlendFile/DNA/GreasePencilSmoothModifierData.cs +++ b/BlendFile/DNA/GreasePencilSmoothModifierData.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(530, "GreasePencilSmoothModifierData", 312)] public class GreasePencilSmoothModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "float", "factor", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "factor", "float", false, 292)] public float factor; - [DNAFieldAttribute(4, "int", "step", "int", 4, false, 296)] + [DNAFieldAttribute(4, "int", 4, "step", "int", false, 296)] public int step; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 300)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 300)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true, 304)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 304)] + public object _pad1; public GreasePencilSmoothModifierData() { this.modifier = default; this.influence = default; @@ -36,16 +36,16 @@ namespace BlendFile.DNA { this.factor = default; this.step = default; this._pad = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public GreasePencilSmoothModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float factor, int step, char[] _pad, object ptr__pad1) { + public GreasePencilSmoothModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float factor, int step, char[] _pad, object _pad1) { this.modifier = modifier; this.influence = influence; this.flag = flag; this.factor = factor; this.step = step; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/GreasePencilSubdivModifierData.cs b/BlendFile/DNA/GreasePencilSubdivModifierData.cs index 0a312a5..94fbfd7 100644 --- a/BlendFile/DNA/GreasePencilSubdivModifierData.cs +++ b/BlendFile/DNA/GreasePencilSubdivModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(527, "GreasePencilSubdivModifierData", 312)] public class GreasePencilSubdivModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 288)] public int type; - [DNAFieldAttribute(3, "int", "level", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 3, "level", "int", false, 292)] public int level; - [DNAFieldAttribute(4, "char", "_pad[8]", "System.Char[]", 8, false, 296)] + [DNAFieldAttribute(8, "char", 4, "_pad[8]", "System.Char[]", false, 296)] public char[] _pad = new System.Char[8]; - [DNAFieldAttribute(5, "void", "*_pad1", "void", 8, true, 304)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 5, "*_pad1", "void", true, 304)] + public object _pad1; public GreasePencilSubdivModifierData() { this.modifier = default; this.influence = default; this.type = default; this.level = default; this._pad = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public GreasePencilSubdivModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int type, int level, char[] _pad, object ptr__pad1) { + public GreasePencilSubdivModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int type, int level, char[] _pad, object _pad1) { this.modifier = modifier; this.influence = influence; this.type = type; this.level = level; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/GreasePencilTextureModifierData.cs b/BlendFile/DNA/GreasePencilTextureModifierData.cs index bc12f99..fe53252 100644 --- a/BlendFile/DNA/GreasePencilTextureModifierData.cs +++ b/BlendFile/DNA/GreasePencilTextureModifierData.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(553, "GreasePencilTextureModifierData", 328)] - public struct GreasePencilTextureModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class GreasePencilTextureModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "float", "uv_offset", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 2, "uv_offset", "float", false, 288)] public float uv_offset; - [DNAFieldAttribute(3, "float", "uv_scale", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "uv_scale", "float", false, 292)] public float uv_scale; - [DNAFieldAttribute(4, "float", "fill_rotation", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "fill_rotation", "float", false, 296)] public float fill_rotation; - [DNAFieldAttribute(5, "float", "fill_offset[2]", "System.Single[]", 8, false, 300)] + [DNAFieldAttribute(8, "float", 5, "fill_offset[2]", "System.Single[]", false, 300)] public float[] fill_offset = new System.Single[2]; - [DNAFieldAttribute(6, "float", "fill_scale", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 6, "fill_scale", "float", false, 308)] public float fill_scale; - [DNAFieldAttribute(7, "int", "layer_pass", "int", 4, false, 312)] + [DNAFieldAttribute(4, "int", 7, "layer_pass", "int", false, 312)] public int layer_pass; - [DNAFieldAttribute(8, "short", "fit_method", "short", 2, false, 316)] + [DNAFieldAttribute(2, "short", 8, "fit_method", "short", false, 316)] public short fit_method; - [DNAFieldAttribute(9, "short", "mode", "short", 2, false, 318)] + [DNAFieldAttribute(2, "short", 9, "mode", "short", false, 318)] public short mode; - [DNAFieldAttribute(10, "float", "alignment_rotation", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 10, "alignment_rotation", "float", false, 320)] public float alignment_rotation; - [DNAFieldAttribute(11, "char", "_pad[4]", "System.Char[]", 4, false, 324)] + [DNAFieldAttribute(4, "char", 11, "_pad[4]", "System.Char[]", false, 324)] public char[] _pad = new System.Char[4]; public GreasePencilTextureModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilThickModifierData.cs b/BlendFile/DNA/GreasePencilThickModifierData.cs index 1965da1..748731d 100644 --- a/BlendFile/DNA/GreasePencilThickModifierData.cs +++ b/BlendFile/DNA/GreasePencilThickModifierData.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(534, "GreasePencilThickModifierData", 312)] public class GreasePencilThickModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "float", "thickness_fac", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "thickness_fac", "float", false, 292)] public float thickness_fac; - [DNAFieldAttribute(4, "float", "thickness", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "thickness", "float", false, 296)] public float thickness; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 300)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 300)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true, 304)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 304)] + public object _pad1; public GreasePencilThickModifierData() { this.modifier = default; this.influence = default; @@ -36,16 +36,16 @@ namespace BlendFile.DNA { this.thickness_fac = default; this.thickness = default; this._pad = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public GreasePencilThickModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float thickness_fac, float thickness, char[] _pad, object ptr__pad1) { + public GreasePencilThickModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float thickness_fac, float thickness, char[] _pad, object _pad1) { this.modifier = modifier; this.influence = influence; this.flag = flag; this.thickness_fac = thickness_fac; this.thickness = thickness; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/GreasePencilTimeModifierData.cs b/BlendFile/DNA/GreasePencilTimeModifierData.cs index ca11017..2a918ee 100644 --- a/BlendFile/DNA/GreasePencilTimeModifierData.cs +++ b/BlendFile/DNA/GreasePencilTimeModifierData.cs @@ -13,29 +13,27 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(547, "GreasePencilTimeModifierData", 328)] + [DNAClassAttribute(547, "GreasePencilTimeModifierData", 320)] public class GreasePencilTimeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "int", "offset", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 3, "offset", "int", false, 292)] public int offset; - [DNAFieldAttribute(4, "float", "frame_scale", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 4, "frame_scale", "float", false, 296)] public float frame_scale; - [DNAFieldAttribute(5, "int", "mode", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 5, "mode", "int", false, 300)] public int mode; - [DNAFieldAttribute(6, "int", "sfra", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 6, "sfra", "int", false, 304)] public int sfra; - [DNAFieldAttribute(7, "int", "efra", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 7, "efra", "int", false, 308)] public int efra; - [DNAFieldAttribute(8, "GreasePencilTimeModifierSegment", "*segments_array", "GreasePencilTimeModifierSegment", 8, true, 312)] - public GreasePencilTimeModifierSegment ptr_segments_array; - [DNAFieldAttribute(9, "int", "segments_num", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 9, "segments_num", "int", false, 312)] public int segments_num; - [DNAFieldAttribute(10, "int", "segment_active_index", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 10, "segment_active_index", "int", false, 316)] public int segment_active_index; public GreasePencilTimeModifierData() { this.modifier = default; @@ -46,11 +44,10 @@ namespace BlendFile.DNA { 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) { + public GreasePencilTimeModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, int offset, float frame_scale, int mode, int sfra, int efra, int segments_num, int segment_active_index) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -59,7 +56,6 @@ namespace BlendFile.DNA { this.mode = mode; this.sfra = sfra; this.efra = efra; - this.ptr_segments_array = ptr_segments_array; this.segments_num = segments_num; this.segment_active_index = segment_active_index; } diff --git a/BlendFile/DNA/GreasePencilTimeModifierSegment.cs b/BlendFile/DNA/GreasePencilTimeModifierSegment.cs index 93ff1b4..63d9cdd 100644 --- a/BlendFile/DNA/GreasePencilTimeModifierSegment.cs +++ b/BlendFile/DNA/GreasePencilTimeModifierSegment.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(546, "GreasePencilTimeModifierSegment", 80)] - public struct GreasePencilTimeModifierSegment { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class GreasePencilTimeModifierSegment { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1, "int", "segment_start", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 1, "segment_start", "int", false, 64)] public int segment_start; - [DNAFieldAttribute(2, "int", "segment_end", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 2, "segment_end", "int", false, 68)] public int segment_end; - [DNAFieldAttribute(3, "int", "segment_mode", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 3, "segment_mode", "int", false, 72)] public int segment_mode; - [DNAFieldAttribute(4, "int", "segment_repeat", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 4, "segment_repeat", "int", false, 76)] public int segment_repeat; public GreasePencilTimeModifierSegment() { this.name = default; diff --git a/BlendFile/DNA/GreasePencilTintModifierData.cs b/BlendFile/DNA/GreasePencilTintModifierData.cs index 15418a1..906d6aa 100644 --- a/BlendFile/DNA/GreasePencilTintModifierData.cs +++ b/BlendFile/DNA/GreasePencilTintModifierData.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(529, "GreasePencilTintModifierData", 336)] public class GreasePencilTintModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 288)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 288)] public short flag; - [DNAFieldAttribute(3, "char", "color_mode", "char", 1, false, 290)] + [DNAFieldAttribute(1, "char", 3, "color_mode", "char", false, 290)] public char color_mode; - [DNAFieldAttribute(4, "char", "tint_mode", "char", 1, false, 291)] + [DNAFieldAttribute(1, "char", 4, "tint_mode", "char", false, 291)] public char tint_mode; - [DNAFieldAttribute(5, "float", "factor", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 5, "factor", "float", false, 292)] public float factor; - [DNAFieldAttribute(6, "float", "radius", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 6, "radius", "float", false, 296)] public float radius; - [DNAFieldAttribute(7, "float", "color[3]", "System.Single[]", 12, false, 300)] + [DNAFieldAttribute(12, "float", 7, "color[3]", "System.Single[]", false, 300)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(8, "Object", "*object", "Object", 8, true, 312)] - public Object ptr_object; - [DNAFieldAttribute(9, "ColorBand", "*color_ramp", "ColorBand", 8, true, 320)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(10, "void", "*_pad", "void", 8, true, 328)] - public object ptr__pad; + [DNAFieldAttribute(8, "Object", 8, "*object", "Object", true, 312)] + public Object @object; + [DNAFieldAttribute(8, "ColorBand", 9, "*color_ramp", "ColorBand", true, 320)] + public ColorBand color_ramp; + [DNAFieldAttribute(8, "void", 10, "*_pad", "void", true, 328)] + public object _pad; public GreasePencilTintModifierData() { this.modifier = default; this.influence = default; @@ -46,11 +46,11 @@ namespace BlendFile.DNA { this.factor = default; this.radius = default; this.color = default; - this.ptr_object = default; - this.ptr_color_ramp = default; - this.ptr__pad = default; + this.@object = default; + this.color_ramp = default; + this._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) { + public GreasePencilTintModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, short flag, char color_mode, char tint_mode, float factor, float radius, float[] color, Object @object, ColorBand color_ramp, object _pad) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -59,9 +59,9 @@ namespace BlendFile.DNA { this.factor = factor; this.radius = radius; this.color = color; - this.ptr_object = ptr_object; - this.ptr_color_ramp = ptr_color_ramp; - this.ptr__pad = ptr__pad; + this.@object = @object; + this.color_ramp = color_ramp; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs b/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs index 381b860..1f2bc78 100644 --- a/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs +++ b/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(540, "GreasePencilWeightAngleModifierData", 376)] public class GreasePencilWeightAngleModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "float", "min_weight", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 3, "min_weight", "float", false, 292)] public float min_weight; - [DNAFieldAttribute(4, "short", "axis", "short", 2, false, 296)] + [DNAFieldAttribute(2, "short", 4, "axis", "short", false, 296)] public short axis; - [DNAFieldAttribute(5, "short", "space", "short", 2, false, 298)] + [DNAFieldAttribute(2, "short", 5, "space", "short", false, 298)] public short space; - [DNAFieldAttribute(6, "float", "angle", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 6, "angle", "float", false, 300)] public float angle; - [DNAFieldAttribute(7, "char", "target_vgname[64]", "System.Char[]", 64, false, 304)] + [DNAFieldAttribute(64, "char", 7, "target_vgname[64]", "System.Char[]", false, 304)] public char[] target_vgname = new System.Char[64]; - [DNAFieldAttribute(8, "void", "*_pad", "void", 8, true, 368)] - public object ptr__pad; + [DNAFieldAttribute(8, "void", 8, "*_pad", "void", true, 368)] + public object _pad; public GreasePencilWeightAngleModifierData() { this.modifier = default; this.influence = default; @@ -42,9 +42,9 @@ namespace BlendFile.DNA { this.space = default; this.angle = default; this.target_vgname = default; - this.ptr__pad = default; + this._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) { + public GreasePencilWeightAngleModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, float min_weight, short axis, short space, float angle, char[] target_vgname, object _pad) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -53,7 +53,7 @@ namespace BlendFile.DNA { this.space = space; this.angle = angle; this.target_vgname = target_vgname; - this.ptr__pad = ptr__pad; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs b/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs index 81936cd..48d7217 100644 --- a/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs +++ b/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(542, "GreasePencilWeightProximityModifierData", 376)] public class GreasePencilWeightProximityModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "GreasePencilModifierInfluenceData", "influence", "GreasePencilModifierInfluenceData", 168, false, 120)] + [DNAFieldAttribute(168, "GreasePencilModifierInfluenceData", 1, "influence", "GreasePencilModifierInfluenceData", false, 120)] public GreasePencilModifierInfluenceData influence; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(3, "char", "target_vgname[64]", "System.Char[]", 64, false, 292)] + [DNAFieldAttribute(64, "char", 3, "target_vgname[64]", "System.Char[]", false, 292)] public char[] target_vgname = new System.Char[64]; - [DNAFieldAttribute(4, "float", "min_weight", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 4, "min_weight", "float", false, 356)] public float min_weight; - [DNAFieldAttribute(5, "float", "dist_start", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 5, "dist_start", "float", false, 360)] public float dist_start; - [DNAFieldAttribute(6, "float", "dist_end", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 6, "dist_end", "float", false, 364)] public float dist_end; - [DNAFieldAttribute(7, "Object", "*object", "Object", 8, true, 368)] - public Object ptr_object; + [DNAFieldAttribute(8, "Object", 7, "*object", "Object", true, 368)] + public Object @object; public GreasePencilWeightProximityModifierData() { this.modifier = default; this.influence = default; @@ -39,9 +39,9 @@ namespace BlendFile.DNA { this.min_weight = default; this.dist_start = default; this.dist_end = default; - this.ptr_object = default; + this.@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) { + public GreasePencilWeightProximityModifierData(ModifierData modifier, GreasePencilModifierInfluenceData influence, int flag, char[] target_vgname, float min_weight, float dist_start, float dist_end, Object @object) { this.modifier = modifier; this.influence = influence; this.flag = flag; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { this.min_weight = min_weight; this.dist_start = dist_start; this.dist_end = dist_end; - this.ptr_object = ptr_object; + this.@object = @object; } } } diff --git a/BlendFile/DNA/GridPaintMask.cs b/BlendFile/DNA/GridPaintMask.cs index 4a3df39..e654ce7 100644 --- a/BlendFile/DNA/GridPaintMask.cs +++ b/BlendFile/DNA/GridPaintMask.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(436, "GridPaintMask", 16)] public class GridPaintMask { - [DNAFieldAttribute(0, "float", "*data", "float", 8, true, 0)] - public float ptr_data; - [DNAFieldAttribute(1, "int", "level", "int", 4, false, 8)] + [DNAFieldAttribute(8, "float", 0, "*data", "float", true, 0)] + public float data; + [DNAFieldAttribute(4, "int", 1, "level", "int", false, 8)] public int level; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public GridPaintMask() { - this.ptr_data = default; + this.data = default; this.level = default; this._pad = default; } - public GridPaintMask(float ptr_data, int level, char[] _pad) { - this.ptr_data = ptr_data; + public GridPaintMask(float data, int level, char[] _pad) { + this.data = data; this.level = level; this._pad = _pad; } diff --git a/BlendFile/DNA/GroupNodeViewerPathElem.cs b/BlendFile/DNA/GroupNodeViewerPathElem.cs index 9af6594..7ad61a9 100644 --- a/BlendFile/DNA/GroupNodeViewerPathElem.cs +++ b/BlendFile/DNA/GroupNodeViewerPathElem.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1033, "GroupNodeViewerPathElem", 40)] - public struct GroupNodeViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + public class GroupNodeViewerPathElem { + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "int", "node_id", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 1, "node_id", "int", false, 32)] public int node_id; - [DNAFieldAttribute(2, "char", "_pad1[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 36)] public char[] _pad1 = new System.Char[4]; public GroupNodeViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/HairKey.cs b/BlendFile/DNA/HairKey.cs index 06a3ff9..7821078 100644 --- a/BlendFile/DNA/HairKey.cs +++ b/BlendFile/DNA/HairKey.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(776, "HairKey", 36)] - public struct HairKey { - [DNAFieldAttribute(0, "float", "co[3]", "System.Single[]", 12, false, 0)] + public class HairKey { + [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] public float[] co = new System.Single[3]; - [DNAFieldAttribute(1, "float", "time", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 1, "time", "float", false, 12)] public float time; - [DNAFieldAttribute(2, "float", "weight", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 2, "weight", "float", false, 16)] public float weight; - [DNAFieldAttribute(3, "short", "editflag", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 3, "editflag", "short", false, 20)] public short editflag; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 22)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 22)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(5, "float", "world_co[3]", "System.Single[]", 12, false, 24)] + [DNAFieldAttribute(12, "float", 5, "world_co[3]", "System.Single[]", false, 24)] public float[] world_co = new System.Single[3]; public HairKey() { this.co = default; diff --git a/BlendFile/DNA/Histogram.cs b/BlendFile/DNA/Histogram.cs index 84d91b7..4ad183e 100644 --- a/BlendFile/DNA/Histogram.cs +++ b/BlendFile/DNA/Histogram.cs @@ -14,32 +14,32 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(166, "Histogram", 5160)] - public struct Histogram { - [DNAFieldAttribute(0, "int", "channels", "int", 4, false, 0)] + public class Histogram { + [DNAFieldAttribute(4, "int", 0, "channels", "int", false, 0)] public int channels; - [DNAFieldAttribute(1, "int", "x_resolution", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "x_resolution", "int", false, 4)] public int x_resolution; - [DNAFieldAttribute(2, "float", "data_luma[256]", "System.Single[]", 1024, false, 8)] + [DNAFieldAttribute(1024, "float", 2, "data_luma[256]", "System.Single[]", false, 8)] public float[] data_luma = new System.Single[256]; - [DNAFieldAttribute(3, "float", "data_r[256]", "System.Single[]", 1024, false, 1032)] + [DNAFieldAttribute(1024, "float", 3, "data_r[256]", "System.Single[]", false, 1032)] public float[] data_r = new System.Single[256]; - [DNAFieldAttribute(4, "float", "data_g[256]", "System.Single[]", 1024, false, 2056)] + [DNAFieldAttribute(1024, "float", 4, "data_g[256]", "System.Single[]", false, 2056)] public float[] data_g = new System.Single[256]; - [DNAFieldAttribute(5, "float", "data_b[256]", "System.Single[]", 1024, false, 3080)] + [DNAFieldAttribute(1024, "float", 5, "data_b[256]", "System.Single[]", false, 3080)] public float[] data_b = new System.Single[256]; - [DNAFieldAttribute(6, "float", "data_a[256]", "System.Single[]", 1024, false, 4104)] + [DNAFieldAttribute(1024, "float", 6, "data_a[256]", "System.Single[]", false, 4104)] public float[] data_a = new System.Single[256]; - [DNAFieldAttribute(7, "float", "xmax", "float", 4, false, 5128)] + [DNAFieldAttribute(4, "float", 7, "xmax", "float", false, 5128)] public float xmax; - [DNAFieldAttribute(8, "float", "ymax", "float", 4, false, 5132)] + [DNAFieldAttribute(4, "float", 8, "ymax", "float", false, 5132)] public float ymax; - [DNAFieldAttribute(9, "short", "mode", "short", 2, false, 5136)] + [DNAFieldAttribute(2, "short", 9, "mode", "short", false, 5136)] public short mode; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 5138)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 5138)] public short flag; - [DNAFieldAttribute(11, "int", "height", "int", 4, false, 5140)] + [DNAFieldAttribute(4, "int", 11, "height", "int", false, 5140)] public int height; - [DNAFieldAttribute(12, "float", "co[2][2]", "System.Single[,]", 16, false, 5144)] + [DNAFieldAttribute(16, "float", 12, "co[2][2]", "System.Single[,]", false, 5144)] public float[,] co = new System.Single[2,2]; public Histogram() { this.channels = default; diff --git a/BlendFile/DNA/HookGpencilModifierData.cs b/BlendFile/DNA/HookGpencilModifierData.cs index 627bd29..fb018af 100644 --- a/BlendFile/DNA/HookGpencilModifierData.cs +++ b/BlendFile/DNA/HookGpencilModifierData.cs @@ -15,46 +15,46 @@ namespace BlendFile.DNA { [DNAClassAttribute(292, "HookGpencilModifierData", 488)] public class HookGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 112)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 120)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(4, "char", "layername[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 4, "layername[64]", "System.Char[]", false, 184)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(5, "char", "materialname[64]", "System.Char[]", 64, false, 248)] + [DNAFieldAttribute(64, "char", 5, "materialname[64]", "System.Char[]", false, 248)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(6, "char", "vgname[64]", "System.Char[]", 64, false, 312)] + [DNAFieldAttribute(64, "char", 6, "vgname[64]", "System.Char[]", false, 312)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(7, "int", "pass_index", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 7, "pass_index", "int", false, 376)] public int pass_index; - [DNAFieldAttribute(8, "int", "layer_pass", "int", 4, false, 380)] + [DNAFieldAttribute(4, "int", 8, "layer_pass", "int", false, 380)] public int layer_pass; - [DNAFieldAttribute(9, "char", "_pad[4]", "System.Char[]", 4, false, 384)] + [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 384)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(10, "int", "flag", "int", 4, false, 388)] + [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 388)] public int flag; - [DNAFieldAttribute(11, "char", "falloff_type", "char", 1, false, 392)] + [DNAFieldAttribute(1, "char", 11, "falloff_type", "char", false, 392)] public char falloff_type; - [DNAFieldAttribute(12, "char", "_pad1[3]", "System.Char[]", 3, false, 393)] + [DNAFieldAttribute(3, "char", 12, "_pad1[3]", "System.Char[]", false, 393)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(13, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 396)] + [DNAFieldAttribute(64, "float", 13, "parentinv[4][4]", "System.Single[,]", false, 396)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(14, "float", "cent[3]", "System.Single[]", 12, false, 460)] + [DNAFieldAttribute(12, "float", 14, "cent[3]", "System.Single[]", false, 460)] public float[] cent = new System.Single[3]; - [DNAFieldAttribute(15, "float", "falloff", "float", 4, false, 472)] + [DNAFieldAttribute(4, "float", 15, "falloff", "float", false, 472)] public float falloff; - [DNAFieldAttribute(16, "float", "force", "float", 4, false, 476)] + [DNAFieldAttribute(4, "float", 16, "force", "float", false, 476)] public float force; - [DNAFieldAttribute(17, "CurveMapping", "*curfalloff", "CurveMapping", 8, true, 480)] - public CurveMapping ptr_curfalloff; + [DNAFieldAttribute(8, "CurveMapping", 17, "*curfalloff", "CurveMapping", true, 480)] + public CurveMapping curfalloff; public HookGpencilModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_material = default; + this.@object = default; + this.material = default; this.subtarget = default; this.layername = default; this.materialname = default; @@ -69,12 +69,12 @@ namespace BlendFile.DNA { this.cent = default; this.falloff = default; this.force = default; - this.ptr_curfalloff = default; + this.curfalloff = default; } public HookGpencilModifierData( GpencilModifierData modifier, - Object ptr_object, - Material ptr_material, + Object @object, + Material material, char[] subtarget, char[] layername, char[] materialname, @@ -89,10 +89,10 @@ namespace BlendFile.DNA { float[] cent, float falloff, float force, - CurveMapping ptr_curfalloff) { + CurveMapping curfalloff) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_material = ptr_material; + this.@object = @object; + this.material = material; this.subtarget = subtarget; this.layername = layername; this.materialname = materialname; @@ -107,7 +107,7 @@ namespace BlendFile.DNA { this.cent = cent; this.falloff = falloff; this.force = force; - this.ptr_curfalloff = ptr_curfalloff; + this.curfalloff = curfalloff; } } } diff --git a/BlendFile/DNA/HookModifierData.cs b/BlendFile/DNA/HookModifierData.cs index e8bef4e..ede441b 100644 --- a/BlendFile/DNA/HookModifierData.cs +++ b/BlendFile/DNA/HookModifierData.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(462, "HookModifierData", 376)] public class HookModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "char", "subtarget[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(64, "char", 2, "subtarget[64]", "System.Char[]", false, 128)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 192)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 192)] public char flag; - [DNAFieldAttribute(4, "char", "falloff_type", "char", 1, false, 193)] + [DNAFieldAttribute(1, "char", 4, "falloff_type", "char", false, 193)] public char falloff_type; - [DNAFieldAttribute(5, "char", "_pad[6]", "System.Char[]", 6, false, 194)] + [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 194)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(6, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 200)] + [DNAFieldAttribute(64, "float", 6, "parentinv[4][4]", "System.Single[,]", false, 200)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(7, "float", "cent[3]", "System.Single[]", 12, false, 264)] + [DNAFieldAttribute(12, "float", 7, "cent[3]", "System.Single[]", false, 264)] public float[] cent = new System.Single[3]; - [DNAFieldAttribute(8, "float", "falloff", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 8, "falloff", "float", false, 276)] public float falloff; - [DNAFieldAttribute(9, "CurveMapping", "*curfalloff", "CurveMapping", 8, true, 280)] - public CurveMapping ptr_curfalloff; - [DNAFieldAttribute(10, "int", "*indexar", "int", 8, true, 288)] - public int ptr_indexar; - [DNAFieldAttribute(11, "int", "totindex", "int", 4, false, 296)] + [DNAFieldAttribute(8, "CurveMapping", 9, "*curfalloff", "CurveMapping", true, 280)] + public CurveMapping curfalloff; + [DNAFieldAttribute(8, "int", 10, "*indexar", "int", true, 288)] + public int indexar; + [DNAFieldAttribute(4, "int", 11, "totindex", "int", false, 296)] public int totindex; - [DNAFieldAttribute(12, "float", "force", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 12, "force", "float", false, 300)] public float force; - [DNAFieldAttribute(13, "char", "name[64]", "System.Char[]", 64, false, 304)] + [DNAFieldAttribute(64, "char", 13, "name[64]", "System.Char[]", false, 304)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(14, "void", "*_pad1", "void", 8, true, 368)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 14, "*_pad1", "void", true, 368)] + public object _pad1; public HookModifierData() { this.modifier = default; - this.ptr_object = default; + this.@object = default; this.subtarget = default; this.flag = default; this.falloff_type = default; @@ -55,16 +55,16 @@ namespace BlendFile.DNA { this.parentinv = default; this.cent = default; this.falloff = default; - this.ptr_curfalloff = default; - this.ptr_indexar = default; + this.curfalloff = default; + this.indexar = default; this.totindex = default; this.force = default; this.name = default; - this.ptr__pad1 = default; + this._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) { + public HookModifierData(ModifierData modifier, Object @object, char[] subtarget, char flag, char falloff_type, char[] _pad, float[,] parentinv, float[] cent, float falloff, CurveMapping curfalloff, int indexar, int totindex, float force, char[] name, object _pad1) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.subtarget = subtarget; this.flag = flag; this.falloff_type = falloff_type; @@ -72,12 +72,12 @@ namespace BlendFile.DNA { this.parentinv = parentinv; this.cent = cent; this.falloff = falloff; - this.ptr_curfalloff = ptr_curfalloff; - this.ptr_indexar = ptr_indexar; + this.curfalloff = curfalloff; + this.indexar = indexar; this.totindex = totindex; this.force = force; this.name = name; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/HueCorrectModifierData.cs b/BlendFile/DNA/HueCorrectModifierData.cs index b82bebb..af2de96 100644 --- a/BlendFile/DNA/HueCorrectModifierData.cs +++ b/BlendFile/DNA/HueCorrectModifierData.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(907, "HueCorrectModifierData", 536)] - public struct HueCorrectModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class HueCorrectModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "CurveMapping", "curve_mapping", "CurveMapping", 424, false, 112)] + [DNAFieldAttribute(424, "CurveMapping", 1, "curve_mapping", "CurveMapping", false, 112)] public CurveMapping curve_mapping; public HueCorrectModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ID.cs b/BlendFile/DNA/ID.cs index 3d1f5aa..df56dd6 100644 --- a/BlendFile/DNA/ID.cs +++ b/BlendFile/DNA/ID.cs @@ -15,52 +15,52 @@ namespace BlendFile.DNA { [DNAClassAttribute(27, "ID", 208)] public class ID { - [DNAFieldAttribute(0, "void", "*next", "void", 8, true, 0)] - public object ptr_next; - [DNAFieldAttribute(1, "void", "*prev", "void", 8, true, 8)] - public object ptr_prev; - [DNAFieldAttribute(2, "ID", "*newid", "ID", 8, true, 16)] - public ID ptr_newid; - [DNAFieldAttribute(3, "Library", "*lib", "Library", 8, true, 24)] - public Library ptr_lib; - [DNAFieldAttribute(4, "AssetMetaData", "*asset_data", "AssetMetaData", 8, true, 32)] - public AssetMetaData ptr_asset_data; - [DNAFieldAttribute(5, "char", "name[66]", "System.Char[]", 66, false, 40)] + [DNAFieldAttribute(8, "void", 0, "*next", "void", true, 0)] + public object next; + [DNAFieldAttribute(8, "void", 1, "*prev", "void", true, 8)] + public object prev; + [DNAFieldAttribute(8, "ID", 2, "*newid", "ID", true, 16)] + public ID newid; + [DNAFieldAttribute(8, "Library", 3, "*lib", "Library", true, 24)] + public Library lib; + [DNAFieldAttribute(8, "AssetMetaData", 4, "*asset_data", "AssetMetaData", true, 32)] + public AssetMetaData asset_data; + [DNAFieldAttribute(66, "char", 5, "name[66]", "System.Char[]", false, 40)] public char[] name = new System.Char[66]; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 106)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 106)] public short flag; - [DNAFieldAttribute(7, "int", "tag", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 7, "tag", "int", false, 108)] public int tag; - [DNAFieldAttribute(8, "int", "us", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 8, "us", "int", false, 112)] public int us; - [DNAFieldAttribute(9, "int", "icon_id", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 9, "icon_id", "int", false, 116)] public int icon_id; - [DNAFieldAttribute(10, "int", "recalc", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 10, "recalc", "int", false, 120)] public int recalc; - [DNAFieldAttribute(11, "int", "recalc_up_to_undo_push", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 11, "recalc_up_to_undo_push", "int", false, 124)] public int recalc_up_to_undo_push; - [DNAFieldAttribute(12, "int", "recalc_after_undo_push", "int", 4, false, 128)] + [DNAFieldAttribute(4, "int", 12, "recalc_after_undo_push", "int", false, 128)] public int recalc_after_undo_push; - [DNAFieldAttribute(13, "int", "session_uid", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 13, "session_uid", "int", false, 132)] public int session_uid; - [DNAFieldAttribute(14, "IDProperty", "*properties", "IDProperty", 8, true, 136)] - public IDProperty ptr_properties; - [DNAFieldAttribute(15, "IDOverrideLibrary", "*override_library", "IDOverrideLibrary", 8, true, 144)] - public IDOverrideLibrary ptr_override_library; - [DNAFieldAttribute(16, "ID", "*orig_id", "ID", 8, true, 152)] - public ID ptr_orig_id; - [DNAFieldAttribute(17, "void", "*py_instance", "void", 8, true, 160)] - public object ptr_py_instance; - [DNAFieldAttribute(18, "LibraryWeakReference", "*library_weak_reference", "LibraryWeakReference", 8, true, 168)] - public LibraryWeakReference ptr_library_weak_reference; - [DNAFieldAttribute(19, "ID_Runtime", "runtime", "ID_Runtime", 32, false, 176)] + [DNAFieldAttribute(8, "IDProperty", 14, "*properties", "IDProperty", true, 136)] + public IDProperty properties; + [DNAFieldAttribute(8, "IDOverrideLibrary", 15, "*override_library", "IDOverrideLibrary", true, 144)] + public IDOverrideLibrary override_library; + [DNAFieldAttribute(8, "ID", 16, "*orig_id", "ID", true, 152)] + public ID orig_id; + [DNAFieldAttribute(8, "void", 17, "*py_instance", "void", true, 160)] + public object py_instance; + [DNAFieldAttribute(8, "LibraryWeakReference", 18, "*library_weak_reference", "LibraryWeakReference", true, 168)] + public LibraryWeakReference library_weak_reference; + [DNAFieldAttribute(32, "ID_Runtime", 19, "runtime", "ID_Runtime", false, 176)] 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.next = default; + this.prev = default; + this.newid = default; + this.lib = default; + this.asset_data = default; this.name = default; this.flag = default; this.tag = default; @@ -70,19 +70,19 @@ namespace BlendFile.DNA { 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.properties = default; + this.override_library = default; + this.orig_id = default; + this.py_instance = default; + this.library_weak_reference = default; this.runtime = default; } public ID( - object ptr_next, - object ptr_prev, - ID ptr_newid, - Library ptr_lib, - AssetMetaData ptr_asset_data, + object next, + object prev, + ID newid, + Library lib, + AssetMetaData asset_data, char[] name, short flag, int tag, @@ -92,17 +92,17 @@ namespace BlendFile.DNA { int recalc_up_to_undo_push, int recalc_after_undo_push, int session_uid, - IDProperty ptr_properties, - IDOverrideLibrary ptr_override_library, - ID ptr_orig_id, - object ptr_py_instance, - LibraryWeakReference ptr_library_weak_reference, + IDProperty properties, + IDOverrideLibrary override_library, + ID orig_id, + object py_instance, + LibraryWeakReference library_weak_reference, ID_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_newid = ptr_newid; - this.ptr_lib = ptr_lib; - this.ptr_asset_data = ptr_asset_data; + this.next = next; + this.prev = prev; + this.newid = newid; + this.lib = lib; + this.asset_data = asset_data; this.name = name; this.flag = flag; this.tag = tag; @@ -112,11 +112,11 @@ namespace BlendFile.DNA { this.recalc_up_to_undo_push = recalc_up_to_undo_push; this.recalc_after_undo_push = recalc_after_undo_push; this.session_uid = session_uid; - this.ptr_properties = ptr_properties; - this.ptr_override_library = ptr_override_library; - this.ptr_orig_id = ptr_orig_id; - this.ptr_py_instance = ptr_py_instance; - this.ptr_library_weak_reference = ptr_library_weak_reference; + this.properties = properties; + this.override_library = override_library; + this.orig_id = orig_id; + this.py_instance = py_instance; + this.library_weak_reference = library_weak_reference; this.runtime = runtime; } } diff --git a/BlendFile/DNA/IDOverrideLibrary.cs b/BlendFile/DNA/IDOverrideLibrary.cs index c30978f..f34c754 100644 --- a/BlendFile/DNA/IDOverrideLibrary.cs +++ b/BlendFile/DNA/IDOverrideLibrary.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(29, "IDOverrideLibrary", 56)] public class IDOverrideLibrary { - [DNAFieldAttribute(0, "ID", "*reference", "ID", 8, true, 0)] - public ID ptr_reference; - [DNAFieldAttribute(1, "ListBase", "properties", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "ID", 0, "*reference", "ID", true, 0)] + public ID reference; + [DNAFieldAttribute(16, "ListBase", 1, "properties", "ListBase", false, 8)] public ListBase properties; - [DNAFieldAttribute(2, "ID", "*hierarchy_root", "ID", 8, true, 24)] - public ID ptr_hierarchy_root; - [DNAFieldAttribute(3, "ID", "*storage", "ID", 8, true, 32)] - public ID ptr_storage; - [DNAFieldAttribute(4, "IDOverrideLibraryRuntime", "*runtime", "IDOverrideLibraryRuntime", 8, true, 40)] - public IDOverrideLibraryRuntime ptr_runtime; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 48)] + [DNAFieldAttribute(8, "ID", 2, "*hierarchy_root", "ID", true, 24)] + public ID hierarchy_root; + [DNAFieldAttribute(8, "ID", 3, "*storage", "ID", true, 32)] + public ID storage; + [DNAFieldAttribute(8, "IDOverrideLibraryRuntime", 4, "*runtime", "IDOverrideLibraryRuntime", true, 40)] + public IDOverrideLibraryRuntime runtime; + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(6, "char", "_pad_1[4]", "System.Char[]", 4, false, 52)] + [DNAFieldAttribute(4, "char", 6, "_pad_1[4]", "System.Char[]", false, 52)] public char[] _pad_1 = new System.Char[4]; public IDOverrideLibrary() { - this.ptr_reference = default; + this.reference = default; this.properties = default; - this.ptr_hierarchy_root = default; - this.ptr_storage = default; - this.ptr_runtime = default; + this.hierarchy_root = default; + this.storage = default; + this.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; + public IDOverrideLibrary(ID reference, ListBase properties, ID hierarchy_root, ID storage, IDOverrideLibraryRuntime runtime, int flag, char[] _pad_1) { + this.reference = reference; this.properties = properties; - this.ptr_hierarchy_root = ptr_hierarchy_root; - this.ptr_storage = ptr_storage; - this.ptr_runtime = ptr_runtime; + this.hierarchy_root = hierarchy_root; + this.storage = storage; + this.runtime = runtime; this.flag = flag; this._pad_1 = _pad_1; } diff --git a/BlendFile/DNA/IDOverrideLibraryProperty.cs b/BlendFile/DNA/IDOverrideLibraryProperty.cs index e8c1df6..1c6e9ab 100644 --- a/BlendFile/DNA/IDOverrideLibraryProperty.cs +++ b/BlendFile/DNA/IDOverrideLibraryProperty.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(28, "IDOverrideLibraryProperty", 48)] public class IDOverrideLibraryProperty { - [DNAFieldAttribute(0, "IDOverrideLibraryProperty", "*next", "IDOverrideLibraryProperty", 8, true, 0)] - public IDOverrideLibraryProperty ptr_next; - [DNAFieldAttribute(1, "IDOverrideLibraryProperty", "*prev", "IDOverrideLibraryProperty", 8, true, 8)] - public IDOverrideLibraryProperty ptr_prev; - [DNAFieldAttribute(2, "char", "*rna_path", "char", 8, true, 16)] - public char ptr_rna_path; - [DNAFieldAttribute(3, "ListBase", "operations", "ListBase", 16, false, 24)] + [DNAFieldAttribute(8, "IDOverrideLibraryProperty", 0, "*next", "IDOverrideLibraryProperty", true, 0)] + public IDOverrideLibraryProperty next; + [DNAFieldAttribute(8, "IDOverrideLibraryProperty", 1, "*prev", "IDOverrideLibraryProperty", true, 8)] + public IDOverrideLibraryProperty prev; + [DNAFieldAttribute(8, "char", 2, "*rna_path", "char", true, 16)] + public char rna_path; + [DNAFieldAttribute(16, "ListBase", 3, "operations", "ListBase", false, 24)] public ListBase operations; - [DNAFieldAttribute(4, "short", "tag", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 40)] public short tag; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 42)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 42)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(6, "int", "rna_prop_type", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 6, "rna_prop_type", "int", false, 44)] public int rna_prop_type; public IDOverrideLibraryProperty() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_rna_path = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_rna_path = ptr_rna_path; + public IDOverrideLibraryProperty(IDOverrideLibraryProperty next, IDOverrideLibraryProperty prev, char rna_path, ListBase operations, short tag, char[] _pad, int rna_prop_type) { + this.next = next; + this.prev = prev; + this.rna_path = rna_path; this.operations = operations; this.tag = tag; this._pad = _pad; diff --git a/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs b/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs index 6fa780d..aa94056 100644 --- a/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs +++ b/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(26, "IDOverrideLibraryPropertyOperation", 64)] public class IDOverrideLibraryPropertyOperation { - [DNAFieldAttribute(0, "IDOverrideLibraryPropertyOperation", "*next", "IDOverrideLibraryPropertyOperation", 8, true, 0)] - public IDOverrideLibraryPropertyOperation ptr_next; - [DNAFieldAttribute(1, "IDOverrideLibraryPropertyOperation", "*prev", "IDOverrideLibraryPropertyOperation", 8, true, 8)] - public IDOverrideLibraryPropertyOperation ptr_prev; - [DNAFieldAttribute(2, "short", "operation", "short", 2, false, 16)] + [DNAFieldAttribute(8, "IDOverrideLibraryPropertyOperation", 0, "*next", "IDOverrideLibraryPropertyOperation", true, 0)] + public IDOverrideLibraryPropertyOperation next; + [DNAFieldAttribute(8, "IDOverrideLibraryPropertyOperation", 1, "*prev", "IDOverrideLibraryPropertyOperation", true, 8)] + public IDOverrideLibraryPropertyOperation prev; + [DNAFieldAttribute(2, "short", 2, "operation", "short", false, 16)] public short operation; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(4, "short", "tag", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 20)] public short tag; - [DNAFieldAttribute(5, "char", "_pad0[2]", "System.Char[]", 2, false, 22)] + [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 22)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(6, "char", "*subitem_reference_name", "char", 8, true, 24)] - public char ptr_subitem_reference_name; - [DNAFieldAttribute(7, "char", "*subitem_local_name", "char", 8, true, 32)] - public char ptr_subitem_local_name; - [DNAFieldAttribute(8, "int", "subitem_reference_index", "int", 4, false, 40)] + [DNAFieldAttribute(8, "char", 6, "*subitem_reference_name", "char", true, 24)] + public char subitem_reference_name; + [DNAFieldAttribute(8, "char", 7, "*subitem_local_name", "char", true, 32)] + public char subitem_local_name; + [DNAFieldAttribute(4, "int", 8, "subitem_reference_index", "int", false, 40)] public int subitem_reference_index; - [DNAFieldAttribute(9, "int", "subitem_local_index", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 9, "subitem_local_index", "int", false, 44)] public int subitem_local_index; - [DNAFieldAttribute(10, "ID", "*subitem_reference_id", "ID", 8, true, 48)] - public ID ptr_subitem_reference_id; - [DNAFieldAttribute(11, "ID", "*subitem_local_id", "ID", 8, true, 56)] - public ID ptr_subitem_local_id; + [DNAFieldAttribute(8, "ID", 10, "*subitem_reference_id", "ID", true, 48)] + public ID subitem_reference_id; + [DNAFieldAttribute(8, "ID", 11, "*subitem_local_id", "ID", true, 56)] + public ID subitem_local_id; public IDOverrideLibraryPropertyOperation() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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_name = default; + this.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; + this.subitem_reference_id = default; + this.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; + public IDOverrideLibraryPropertyOperation(IDOverrideLibraryPropertyOperation next, IDOverrideLibraryPropertyOperation prev, short operation, short flag, short tag, char[] _pad0, char subitem_reference_name, char subitem_local_name, int subitem_reference_index, int subitem_local_index, ID subitem_reference_id, ID subitem_local_id) { + this.next = next; + this.prev = prev; this.operation = operation; this.flag = flag; this.tag = tag; this._pad0 = _pad0; - this.ptr_subitem_reference_name = ptr_subitem_reference_name; - this.ptr_subitem_local_name = ptr_subitem_local_name; + this.subitem_reference_name = subitem_reference_name; + this.subitem_local_name = subitem_local_name; this.subitem_reference_index = subitem_reference_index; this.subitem_local_index = subitem_local_index; - this.ptr_subitem_reference_id = ptr_subitem_reference_id; - this.ptr_subitem_local_id = ptr_subitem_local_id; + this.subitem_reference_id = subitem_reference_id; + this.subitem_local_id = subitem_local_id; } } } diff --git a/BlendFile/DNA/IDProperty.cs b/BlendFile/DNA/IDProperty.cs index f412a18..7ba0881 100644 --- a/BlendFile/DNA/IDProperty.cs +++ b/BlendFile/DNA/IDProperty.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(25, "IDProperty", 136)] public class IDProperty { - [DNAFieldAttribute(0, "IDProperty", "*next", "IDProperty", 8, true, 0)] - public IDProperty ptr_next; - [DNAFieldAttribute(1, "IDProperty", "*prev", "IDProperty", 8, true, 8)] - public IDProperty ptr_prev; - [DNAFieldAttribute(2, "char", "type", "char", 1, false, 16)] + [DNAFieldAttribute(8, "IDProperty", 0, "*next", "IDProperty", true, 0)] + public IDProperty next; + [DNAFieldAttribute(8, "IDProperty", 1, "*prev", "IDProperty", true, 8)] + public IDProperty prev; + [DNAFieldAttribute(1, "char", 2, "type", "char", false, 16)] public char type; - [DNAFieldAttribute(3, "char", "subtype", "char", 1, false, 17)] + [DNAFieldAttribute(1, "char", 3, "subtype", "char", false, 17)] public char subtype; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(5, "char", "name[64]", "System.Char[]", 64, false, 20)] + [DNAFieldAttribute(64, "char", 5, "name[64]", "System.Char[]", false, 20)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(6, "char", "_pad0[4]", "System.Char[]", 4, false, 84)] + [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 84)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(7, "IDPropertyData", "data", "IDPropertyData", 32, false, 88)] + [DNAFieldAttribute(32, "IDPropertyData", 7, "data", "IDPropertyData", false, 88)] public IDPropertyData data; - [DNAFieldAttribute(8, "int", "len", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 8, "len", "int", false, 120)] public int len; - [DNAFieldAttribute(9, "int", "totallen", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 9, "totallen", "int", false, 124)] public int totallen; - [DNAFieldAttribute(10, "IDPropertyUIData", "*ui_data", "IDPropertyUIData", 8, true, 128)] - public IDPropertyUIData ptr_ui_data; + [DNAFieldAttribute(8, "IDPropertyUIData", 10, "*ui_data", "IDPropertyUIData", true, 128)] + public IDPropertyUIData ui_data; public IDProperty() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.subtype = default; this.flag = default; @@ -48,11 +48,11 @@ namespace BlendFile.DNA { this.data = default; this.len = default; this.totallen = default; - this.ptr_ui_data = default; + this.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; + public IDProperty(IDProperty next, IDProperty prev, char type, char subtype, short flag, char[] name, char[] _pad0, IDPropertyData data, int len, int totallen, IDPropertyUIData ui_data) { + this.next = next; + this.prev = prev; this.type = type; this.subtype = subtype; this.flag = flag; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.data = data; this.len = len; this.totallen = totallen; - this.ptr_ui_data = ptr_ui_data; + this.ui_data = ui_data; } } } diff --git a/BlendFile/DNA/IDPropertyData.cs b/BlendFile/DNA/IDPropertyData.cs index 2b561b3..7a11ccb 100644 --- a/BlendFile/DNA/IDPropertyData.cs +++ b/BlendFile/DNA/IDPropertyData.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(23, "IDPropertyData", 32)] public class IDPropertyData { - [DNAFieldAttribute(0, "void", "*pointer", "void", 8, true, 0)] - public object ptr_pointer; - [DNAFieldAttribute(1, "ListBase", "group", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "void", 0, "*pointer", "void", true, 0)] + public object pointer; + [DNAFieldAttribute(16, "ListBase", 1, "group", "ListBase", false, 8)] public ListBase group; - [DNAFieldAttribute(2, "int", "val", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 2, "val", "int", false, 24)] public int val; - [DNAFieldAttribute(3, "int", "val2", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 3, "val2", "int", false, 28)] public int val2; public IDPropertyData() { - this.ptr_pointer = default; + this.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; + public IDPropertyData(object pointer, ListBase group, int val, int val2) { + this.pointer = pointer; this.group = group; this.val = val; this.val2 = val2; diff --git a/BlendFile/DNA/IDPropertyUIData.cs b/BlendFile/DNA/IDPropertyUIData.cs index 945bca1..c33ebf0 100644 --- a/BlendFile/DNA/IDPropertyUIData.cs +++ b/BlendFile/DNA/IDPropertyUIData.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(16, "IDPropertyUIData", 16)] public class IDPropertyUIData { - [DNAFieldAttribute(0, "char", "*description", "char", 8, true, 0)] - public char ptr_description; - [DNAFieldAttribute(1, "int", "rna_subtype", "int", 4, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*description", "char", true, 0)] + public char description; + [DNAFieldAttribute(4, "int", 1, "rna_subtype", "int", false, 8)] public int rna_subtype; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public IDPropertyUIData() { - this.ptr_description = default; + this.description = default; this.rna_subtype = default; this._pad = default; } - public IDPropertyUIData(char ptr_description, int rna_subtype, char[] _pad) { - this.ptr_description = ptr_description; + public IDPropertyUIData(char description, int rna_subtype, char[] _pad) { + this.description = description; this.rna_subtype = rna_subtype; this._pad = _pad; } diff --git a/BlendFile/DNA/IDPropertyUIDataBool.cs b/BlendFile/DNA/IDPropertyUIDataBool.cs index 285b8bf..09f8b4b 100644 --- a/BlendFile/DNA/IDPropertyUIDataBool.cs +++ b/BlendFile/DNA/IDPropertyUIDataBool.cs @@ -13,31 +13,27 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(19, "IDPropertyUIDataBool", 32)] + [DNAClassAttribute(19, "IDPropertyUIDataBool", 20)] public class IDPropertyUIDataBool { - [DNAFieldAttribute(0, "IDPropertyUIData", "base", "IDPropertyUIData", 16, false, 0)] + [DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)] public IDPropertyUIData @base; - [DNAFieldAttribute(1, "int8_t", "*default_array", "int8_t", 8, true, 16)] - public sbyte ptr_default_array; - [DNAFieldAttribute(2, "int", "default_array_len", "int", 4, false, 24)] - public int default_array_len; - [DNAFieldAttribute(3, "char", "_pad[3]", "System.Char[]", 3, false, 28)] + [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 16)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(4, "int8_t", "default_value", "int8_t", 1, false, 31)] + [DNAFieldAttribute(1, "int8_t", 4, "default_value", "int8_t", false, 19)] public sbyte default_value; + [DNAListAttribute(8, "int8_t", "*default_array", 1, "int8_t", "default_array_len", 2, 20)] + public System.Collections.Generic.List default_array; public IDPropertyUIDataBool() { this.@base = default; - this.ptr_default_array = default; - this.default_array_len = default; this._pad = default; this.default_value = default; + this.default_array = default; } - public IDPropertyUIDataBool(IDPropertyUIData @base, sbyte ptr_default_array, int default_array_len, char[] _pad, sbyte default_value) { + public IDPropertyUIDataBool(IDPropertyUIData @base, char[] _pad, sbyte default_value, System.Collections.Generic.List default_array) { this.@base = @base; - this.ptr_default_array = ptr_default_array; - this.default_array_len = default_array_len; this._pad = _pad; this.default_value = default_value; + this.default_array = default_array; } } } diff --git a/BlendFile/DNA/IDPropertyUIDataEnumItem.cs b/BlendFile/DNA/IDPropertyUIDataEnumItem.cs index be29e29..0128489 100644 --- a/BlendFile/DNA/IDPropertyUIDataEnumItem.cs +++ b/BlendFile/DNA/IDPropertyUIDataEnumItem.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(17, "IDPropertyUIDataEnumItem", 32)] public class IDPropertyUIDataEnumItem { - [DNAFieldAttribute(0, "char", "*identifier", "char", 8, true, 0)] - public char ptr_identifier; - [DNAFieldAttribute(1, "char", "*name", "char", 8, true, 8)] - public char ptr_name; - [DNAFieldAttribute(2, "char", "*description", "char", 8, true, 16)] - public char ptr_description; - [DNAFieldAttribute(3, "int", "value", "int", 4, false, 24)] + [DNAFieldAttribute(8, "char", 0, "*identifier", "char", true, 0)] + public char identifier; + [DNAFieldAttribute(8, "char", 1, "*name", "char", true, 8)] + public char name; + [DNAFieldAttribute(8, "char", 2, "*description", "char", true, 16)] + public char description; + [DNAFieldAttribute(4, "int", 3, "value", "int", false, 24)] public int value; - [DNAFieldAttribute(4, "int", "icon", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 4, "icon", "int", false, 28)] public int icon; public IDPropertyUIDataEnumItem() { - this.ptr_identifier = default; - this.ptr_name = default; - this.ptr_description = default; + this.identifier = default; + this.name = default; + this.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; - this.ptr_description = ptr_description; + public IDPropertyUIDataEnumItem(char identifier, char name, char description, int value, int icon) { + this.identifier = identifier; + this.name = name; + this.description = description; this.value = value; this.icon = icon; } diff --git a/BlendFile/DNA/IDPropertyUIDataFloat.cs b/BlendFile/DNA/IDPropertyUIDataFloat.cs index 5ca94f4..ad2f711 100644 --- a/BlendFile/DNA/IDPropertyUIDataFloat.cs +++ b/BlendFile/DNA/IDPropertyUIDataFloat.cs @@ -13,34 +13,30 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(20, "IDPropertyUIDataFloat", 80)] + [DNAClassAttribute(20, "IDPropertyUIDataFloat", 68)] public class IDPropertyUIDataFloat { - [DNAFieldAttribute(0, "IDPropertyUIData", "base", "IDPropertyUIData", 16, false, 0)] + [DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)] public IDPropertyUIData @base; - [DNAFieldAttribute(1, "double", "*default_array", "double", 8, true, 16)] - public double ptr_default_array; - [DNAFieldAttribute(2, "int", "default_array_len", "int", 4, false, 24)] - public int default_array_len; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 16)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(4, "float", "step", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 4, "step", "float", false, 20)] public float step; - [DNAFieldAttribute(5, "int", "precision", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 5, "precision", "int", false, 24)] public int precision; - [DNAFieldAttribute(6, "double", "min", "double", 8, false, 40)] + [DNAFieldAttribute(8, "double", 6, "min", "double", false, 28)] public double min; - [DNAFieldAttribute(7, "double", "max", "double", 8, false, 48)] + [DNAFieldAttribute(8, "double", 7, "max", "double", false, 36)] public double max; - [DNAFieldAttribute(8, "double", "soft_min", "double", 8, false, 56)] + [DNAFieldAttribute(8, "double", 8, "soft_min", "double", false, 44)] public double soft_min; - [DNAFieldAttribute(9, "double", "soft_max", "double", 8, false, 64)] + [DNAFieldAttribute(8, "double", 9, "soft_max", "double", false, 52)] public double soft_max; - [DNAFieldAttribute(10, "double", "default_value", "double", 8, false, 72)] + [DNAFieldAttribute(8, "double", 10, "default_value", "double", false, 60)] public double default_value; + [DNAListAttribute(8, "double", "*default_array", 1, "double", "default_array_len", 2, 68)] + public System.Collections.Generic.List default_array; public IDPropertyUIDataFloat() { this.@base = default; - this.ptr_default_array = default; - this.default_array_len = default; this._pad = default; this.step = default; this.precision = default; @@ -49,11 +45,10 @@ namespace BlendFile.DNA { this.soft_min = default; this.soft_max = default; this.default_value = default; + this.default_array = 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) { + public IDPropertyUIDataFloat(IDPropertyUIData @base, char[] _pad, float step, int precision, double min, double max, double soft_min, double soft_max, double default_value, System.Collections.Generic.List default_array) { this.@base = @base; - this.ptr_default_array = ptr_default_array; - this.default_array_len = default_array_len; this._pad = _pad; this.step = step; this.precision = precision; @@ -62,6 +57,7 @@ namespace BlendFile.DNA { this.soft_min = soft_min; this.soft_max = soft_max; this.default_value = default_value; + this.default_array = default_array; } } } diff --git a/BlendFile/DNA/IDPropertyUIDataID.cs b/BlendFile/DNA/IDPropertyUIDataID.cs index c894111..5ba067f 100644 --- a/BlendFile/DNA/IDPropertyUIDataID.cs +++ b/BlendFile/DNA/IDPropertyUIDataID.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(22, "IDPropertyUIDataID", 24)] - public struct IDPropertyUIDataID { - [DNAFieldAttribute(0, "IDPropertyUIData", "base", "IDPropertyUIData", 16, false, 0)] + public class IDPropertyUIDataID { + [DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)] public IDPropertyUIData @base; - [DNAFieldAttribute(1, "short", "id_type", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 1, "id_type", "short", false, 16)] public short id_type; - [DNAFieldAttribute(2, "char", "_pad[6]", "System.Char[]", 6, false, 18)] + [DNAFieldAttribute(6, "char", 2, "_pad[6]", "System.Char[]", false, 18)] public char[] _pad = new System.Char[6]; public IDPropertyUIDataID() { this.@base = default; diff --git a/BlendFile/DNA/IDPropertyUIDataInt.cs b/BlendFile/DNA/IDPropertyUIDataInt.cs index eead5a7..3acd8bf 100644 --- a/BlendFile/DNA/IDPropertyUIDataInt.cs +++ b/BlendFile/DNA/IDPropertyUIDataInt.cs @@ -13,34 +13,30 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(18, "IDPropertyUIDataInt", 64)] + [DNAClassAttribute(18, "IDPropertyUIDataInt", 52)] public class IDPropertyUIDataInt { - [DNAFieldAttribute(0, "IDPropertyUIData", "base", "IDPropertyUIData", 16, false, 0)] + [DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)] public IDPropertyUIData @base; - [DNAFieldAttribute(1, "int", "*default_array", "int", 8, true, 16)] - public int ptr_default_array; - [DNAFieldAttribute(2, "int", "default_array_len", "int", 4, false, 24)] - public int default_array_len; - [DNAFieldAttribute(3, "int", "min", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 3, "min", "int", false, 16)] public int min; - [DNAFieldAttribute(4, "int", "max", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 4, "max", "int", false, 20)] public int max; - [DNAFieldAttribute(5, "int", "soft_min", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 5, "soft_min", "int", false, 24)] public int soft_min; - [DNAFieldAttribute(6, "int", "soft_max", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 6, "soft_max", "int", false, 28)] public int soft_max; - [DNAFieldAttribute(7, "int", "step", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 7, "step", "int", false, 32)] public int step; - [DNAFieldAttribute(8, "int", "default_value", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 8, "default_value", "int", false, 36)] public int default_value; - [DNAFieldAttribute(9, "int", "enum_items_num", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 9, "enum_items_num", "int", false, 40)] public int enum_items_num; - [DNAFieldAttribute(10, "IDPropertyUIDataEnumItem", "*enum_items", "IDPropertyUIDataEnumItem", 8, true, 56)] - public IDPropertyUIDataEnumItem ptr_enum_items; + [DNAFieldAttribute(8, "IDPropertyUIDataEnumItem", 10, "*enum_items", "IDPropertyUIDataEnumItem", true, 44)] + public IDPropertyUIDataEnumItem enum_items; + [DNAListAttribute(8, "int", "*default_array", 1, "int", "default_array_len", 2, 52)] + public System.Collections.Generic.List default_array; 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; @@ -48,12 +44,11 @@ namespace BlendFile.DNA { this.step = default; this.default_value = default; this.enum_items_num = default; - this.ptr_enum_items = default; + this.enum_items = default; + this.default_array = 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) { + public IDPropertyUIDataInt(IDPropertyUIData @base, int min, int max, int soft_min, int soft_max, int step, int default_value, int enum_items_num, IDPropertyUIDataEnumItem enum_items, System.Collections.Generic.List default_array) { this.@base = @base; - this.ptr_default_array = ptr_default_array; - this.default_array_len = default_array_len; this.min = min; this.max = max; this.soft_min = soft_min; @@ -61,7 +56,8 @@ namespace BlendFile.DNA { this.step = step; this.default_value = default_value; this.enum_items_num = enum_items_num; - this.ptr_enum_items = ptr_enum_items; + this.enum_items = enum_items; + this.default_array = default_array; } } } diff --git a/BlendFile/DNA/IDPropertyUIDataString.cs b/BlendFile/DNA/IDPropertyUIDataString.cs index 361f4f6..ba0c4a7 100644 --- a/BlendFile/DNA/IDPropertyUIDataString.cs +++ b/BlendFile/DNA/IDPropertyUIDataString.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(21, "IDPropertyUIDataString", 24)] public class IDPropertyUIDataString { - [DNAFieldAttribute(0, "IDPropertyUIData", "base", "IDPropertyUIData", 16, false, 0)] + [DNAFieldAttribute(16, "IDPropertyUIData", 0, "base", "IDPropertyUIData", false, 0)] public IDPropertyUIData @base; - [DNAFieldAttribute(1, "char", "*default_value", "char", 8, true, 16)] - public char ptr_default_value; + [DNAFieldAttribute(8, "char", 1, "*default_value", "char", true, 16)] + public char default_value; public IDPropertyUIDataString() { this.@base = default; - this.ptr_default_value = default; + this.default_value = default; } - public IDPropertyUIDataString(IDPropertyUIData @base, char ptr_default_value) { + public IDPropertyUIDataString(IDPropertyUIData @base, char default_value) { this.@base = @base; - this.ptr_default_value = ptr_default_value; + this.default_value = default_value; } } } diff --git a/BlendFile/DNA/IDViewerPathElem.cs b/BlendFile/DNA/IDViewerPathElem.cs index 85e995d..58364cb 100644 --- a/BlendFile/DNA/IDViewerPathElem.cs +++ b/BlendFile/DNA/IDViewerPathElem.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(1031, "IDViewerPathElem", 40)] public class IDViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "ID", "*id", "ID", 8, true, 32)] - public ID ptr_id; + [DNAFieldAttribute(8, "ID", 1, "*id", "ID", true, 32)] + public ID id; public IDViewerPathElem() { this.@base = default; - this.ptr_id = default; + this.id = default; } - public IDViewerPathElem(ViewerPathElem @base, ID ptr_id) { + public IDViewerPathElem(ViewerPathElem @base, ID id) { this.@base = @base; - this.ptr_id = ptr_id; + this.id = id; } } } diff --git a/BlendFile/DNA/ID_Runtime.cs b/BlendFile/DNA/ID_Runtime.cs index 723f625..9f74c08 100644 --- a/BlendFile/DNA/ID_Runtime.cs +++ b/BlendFile/DNA/ID_Runtime.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(32, "ID_Runtime", 32)] public class ID_Runtime { - [DNAFieldAttribute(0, "ID_Runtime_Remap", "remap", "ID_Runtime_Remap", 16, false, 0)] + [DNAFieldAttribute(16, "ID_Runtime_Remap", 0, "remap", "ID_Runtime_Remap", false, 0)] public ID_Runtime_Remap remap; - [DNAFieldAttribute(1, "Depsgraph", "*depsgraph", "Depsgraph", 8, true, 16)] - public Depsgraph ptr_depsgraph; - [DNAFieldAttribute(2, "void", "*_pad", "void", 8, true, 24)] - public object ptr__pad; + [DNAFieldAttribute(8, "Depsgraph", 1, "*depsgraph", "Depsgraph", true, 16)] + public Depsgraph depsgraph; + [DNAFieldAttribute(8, "void", 2, "*_pad", "void", true, 24)] + public object _pad; public ID_Runtime() { this.remap = default; - this.ptr_depsgraph = default; - this.ptr__pad = default; + this.depsgraph = default; + this._pad = default; } - public ID_Runtime(ID_Runtime_Remap remap, Depsgraph ptr_depsgraph, object ptr__pad) { + public ID_Runtime(ID_Runtime_Remap remap, Depsgraph depsgraph, object _pad) { this.remap = remap; - this.ptr_depsgraph = ptr_depsgraph; - this.ptr__pad = ptr__pad; + this.depsgraph = depsgraph; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/ID_Runtime_Remap.cs b/BlendFile/DNA/ID_Runtime_Remap.cs index bd86031..dcc93ad 100644 --- a/BlendFile/DNA/ID_Runtime_Remap.cs +++ b/BlendFile/DNA/ID_Runtime_Remap.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(31, "ID_Runtime_Remap", 16)] - public struct ID_Runtime_Remap { - [DNAFieldAttribute(0, "int", "status", "int", 4, false, 0)] + public class ID_Runtime_Remap { + [DNAFieldAttribute(4, "int", 0, "status", "int", false, 0)] public int status; - [DNAFieldAttribute(1, "int", "skipped_refcounted", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "skipped_refcounted", "int", false, 4)] public int skipped_refcounted; - [DNAFieldAttribute(2, "int", "skipped_direct", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "skipped_direct", "int", false, 8)] public int skipped_direct; - [DNAFieldAttribute(3, "int", "skipped_indirect", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "skipped_indirect", "int", false, 12)] public int skipped_indirect; public ID_Runtime_Remap() { this.status = default; diff --git a/BlendFile/DNA/IdAdtTemplate.cs b/BlendFile/DNA/IdAdtTemplate.cs index 4603ef3..015d9ad 100644 --- a/BlendFile/DNA/IdAdtTemplate.cs +++ b/BlendFile/DNA/IdAdtTemplate.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(102, "IdAdtTemplate", 216)] public class IdAdtTemplate { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; public IdAdtTemplate() { this.id = default; - this.ptr_adt = default; + this.adt = default; } - public IdAdtTemplate(ID id, AnimData ptr_adt) { + public IdAdtTemplate(ID id, AnimData adt) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; } } } diff --git a/BlendFile/DNA/Image.cs b/BlendFile/DNA/Image.cs index fe66dba..4ef57c2 100644 --- a/BlendFile/DNA/Image.cs +++ b/BlendFile/DNA/Image.cs @@ -15,103 +15,103 @@ namespace BlendFile.DNA { [DNAClassAttribute(126, "Image", 1600)] public class Image { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "char", "name[1024]", "System.Char[]", 1024, false, 232)] + [DNAFieldAttribute(1024, "char", 3, "name[1024]", "System.Char[]", false, 232)] public char[] name = new System.Char[1024]; - [DNAFieldAttribute(4, "MovieCache", "*cache", "MovieCache", 8, true, 1256)] - public MovieCache ptr_cache; - [DNAFieldAttribute(5, "GPUTexture", "*gputexture[3][2]", "GPUTexture[,]", 48, true, 1264)] - public GPUTexture[,] ptr_gputext = new GPUTexture[3,2]; - [DNAFieldAttribute(6, "ListBase", "anims", "ListBase", 16, false, 1312)] + [DNAFieldAttribute(8, "MovieCache", 4, "*cache", "MovieCache", true, 1256)] + public MovieCache cache; + [DNAFieldAttribute(48, "GPUTexture", 5, "*gputexture[3][2]", "GPUTexture[,]", true, 1264)] + public GPUTexture[,] gputexture = new GPUTexture[3,2]; + [DNAFieldAttribute(16, "ListBase", 6, "anims", "ListBase", false, 1312)] public ListBase anims; - [DNAFieldAttribute(7, "RenderResult", "*rr", "RenderResult", 8, true, 1328)] - public RenderResult ptr_rr; - [DNAFieldAttribute(8, "ListBase", "renderslots", "ListBase", 16, false, 1336)] + [DNAFieldAttribute(8, "RenderResult", 7, "*rr", "RenderResult", true, 1328)] + public RenderResult rr; + [DNAFieldAttribute(16, "ListBase", 8, "renderslots", "ListBase", false, 1336)] public ListBase renderslots; - [DNAFieldAttribute(9, "short", "render_slot", "short", 2, false, 1352)] + [DNAFieldAttribute(2, "short", 9, "render_slot", "short", false, 1352)] public short render_slot; - [DNAFieldAttribute(10, "short", "last_render_slot", "short", 2, false, 1354)] + [DNAFieldAttribute(2, "short", 10, "last_render_slot", "short", false, 1354)] public short last_render_slot; - [DNAFieldAttribute(11, "int", "flag", "int", 4, false, 1356)] + [DNAFieldAttribute(4, "int", 11, "flag", "int", false, 1356)] public int flag; - [DNAFieldAttribute(12, "short", "source", "short", 2, false, 1360)] + [DNAFieldAttribute(2, "short", 12, "source", "short", false, 1360)] public short source; - [DNAFieldAttribute(13, "short", "type", "short", 2, false, 1362)] + [DNAFieldAttribute(2, "short", 13, "type", "short", false, 1362)] public short type; - [DNAFieldAttribute(14, "int", "lastframe", "int", 4, false, 1364)] + [DNAFieldAttribute(4, "int", 14, "lastframe", "int", false, 1364)] public int lastframe; - [DNAFieldAttribute(15, "int", "gpuframenr", "int", 4, false, 1368)] + [DNAFieldAttribute(4, "int", 15, "gpuframenr", "int", false, 1368)] public int gpuframenr; - [DNAFieldAttribute(16, "short", "gpuflag", "short", 2, false, 1372)] + [DNAFieldAttribute(2, "short", 16, "gpuflag", "short", false, 1372)] public short gpuflag; - [DNAFieldAttribute(17, "short", "gpu_pass", "short", 2, false, 1374)] + [DNAFieldAttribute(2, "short", 17, "gpu_pass", "short", false, 1374)] public short gpu_pass; - [DNAFieldAttribute(18, "short", "gpu_layer", "short", 2, false, 1376)] + [DNAFieldAttribute(2, "short", 18, "gpu_layer", "short", false, 1376)] public short gpu_layer; - [DNAFieldAttribute(19, "short", "gpu_view", "short", 2, false, 1378)] + [DNAFieldAttribute(2, "short", 19, "gpu_view", "short", false, 1378)] public short gpu_view; - [DNAFieldAttribute(20, "short", "seam_margin", "short", 2, false, 1380)] + [DNAFieldAttribute(2, "short", 20, "seam_margin", "short", false, 1380)] public short seam_margin; - [DNAFieldAttribute(21, "char", "_pad2[2]", "System.Char[]", 2, false, 1382)] + [DNAFieldAttribute(2, "char", 21, "_pad2[2]", "System.Char[]", false, 1382)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(22, "PackedFile", "*packedfile", "PackedFile", 8, true, 1384)] - public PackedFile ptr_packedfile; - [DNAFieldAttribute(23, "ListBase", "packedfiles", "ListBase", 16, false, 1392)] + [DNAFieldAttribute(8, "PackedFile", 22, "*packedfile", "PackedFile", true, 1384)] + public PackedFile packedfile; + [DNAFieldAttribute(16, "ListBase", 23, "packedfiles", "ListBase", false, 1392)] public ListBase packedfiles; - [DNAFieldAttribute(24, "PreviewImage", "*preview", "PreviewImage", 8, true, 1408)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(25, "int", "lastused", "int", 4, false, 1416)] + [DNAFieldAttribute(8, "PreviewImage", 24, "*preview", "PreviewImage", true, 1408)] + public PreviewImage preview; + [DNAFieldAttribute(4, "int", 25, "lastused", "int", false, 1416)] public int lastused; - [DNAFieldAttribute(26, "int", "gen_x", "int", 4, false, 1420)] + [DNAFieldAttribute(4, "int", 26, "gen_x", "int", false, 1420)] public int gen_x; - [DNAFieldAttribute(27, "int", "gen_y", "int", 4, false, 1424)] + [DNAFieldAttribute(4, "int", 27, "gen_y", "int", false, 1424)] public int gen_y; - [DNAFieldAttribute(28, "char", "gen_type", "char", 1, false, 1428)] + [DNAFieldAttribute(1, "char", 28, "gen_type", "char", false, 1428)] public char gen_type; - [DNAFieldAttribute(29, "char", "gen_flag", "char", 1, false, 1429)] + [DNAFieldAttribute(1, "char", 29, "gen_flag", "char", false, 1429)] public char gen_flag; - [DNAFieldAttribute(30, "short", "gen_depth", "short", 2, false, 1430)] + [DNAFieldAttribute(2, "short", 30, "gen_depth", "short", false, 1430)] public short gen_depth; - [DNAFieldAttribute(31, "float", "gen_color[4]", "System.Single[]", 16, false, 1432)] + [DNAFieldAttribute(16, "float", 31, "gen_color[4]", "System.Single[]", false, 1432)] public float[] gen_color = new System.Single[4]; - [DNAFieldAttribute(32, "float", "aspx", "float", 4, false, 1448)] + [DNAFieldAttribute(4, "float", 32, "aspx", "float", false, 1448)] public float aspx; - [DNAFieldAttribute(33, "float", "aspy", "float", 4, false, 1452)] + [DNAFieldAttribute(4, "float", 33, "aspy", "float", false, 1452)] public float aspy; - [DNAFieldAttribute(34, "ColorManagedColorspaceSettings", "colorspace_settings", "ColorManagedColorspaceSettings", 64, false, 1456)] + [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 34, "colorspace_settings", "ColorManagedColorspaceSettings", false, 1456)] public ColorManagedColorspaceSettings colorspace_settings; - [DNAFieldAttribute(35, "char", "alpha_mode", "char", 1, false, 1520)] + [DNAFieldAttribute(1, "char", 35, "alpha_mode", "char", false, 1520)] public char alpha_mode; - [DNAFieldAttribute(36, "char", "_pad", "char", 1, false, 1521)] + [DNAFieldAttribute(1, "char", 36, "_pad", "char", false, 1521)] public char _pad; - [DNAFieldAttribute(37, "char", "eye", "char", 1, false, 1522)] + [DNAFieldAttribute(1, "char", 37, "eye", "char", false, 1522)] public char eye; - [DNAFieldAttribute(38, "char", "views_format", "char", 1, false, 1523)] + [DNAFieldAttribute(1, "char", 38, "views_format", "char", false, 1523)] public char views_format; - [DNAFieldAttribute(39, "int", "active_tile_index", "int", 4, false, 1524)] + [DNAFieldAttribute(4, "int", 39, "active_tile_index", "int", false, 1524)] public int active_tile_index; - [DNAFieldAttribute(40, "ListBase", "tiles", "ListBase", 16, false, 1528)] + [DNAFieldAttribute(16, "ListBase", 40, "tiles", "ListBase", false, 1528)] public ListBase tiles; - [DNAFieldAttribute(41, "ListBase", "views", "ListBase", 16, false, 1544)] + [DNAFieldAttribute(16, "ListBase", 41, "views", "ListBase", false, 1544)] public ListBase views; - [DNAFieldAttribute(42, "Stereo3dFormat", "*stereo3d_format", "Stereo3dFormat", 8, true, 1560)] - public Stereo3dFormat ptr_stereo3d_format; - [DNAFieldAttribute(43, "Image_Runtime", "runtime", "Image_Runtime", 32, false, 1568)] + [DNAFieldAttribute(8, "Stereo3dFormat", 42, "*stereo3d_format", "Stereo3dFormat", true, 1560)] + public Stereo3dFormat stereo3d_format; + [DNAFieldAttribute(32, "Image_Runtime", 43, "runtime", "Image_Runtime", false, 1568)] public Image_Runtime runtime; public Image() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; this.name = default; - this.ptr_cache = default; - this.ptr_gputext = default; + this.cache = default; + this.gputexture = default; this.anims = default; - this.ptr_rr = default; + this.rr = default; this.renderslots = default; this.render_slot = default; this.last_render_slot = default; @@ -126,9 +126,9 @@ namespace BlendFile.DNA { this.gpu_view = default; this.seam_margin = default; this._pad2 = default; - this.ptr_packedfile = default; + this.packedfile = default; this.packedfiles = default; - this.ptr_preview = default; + this.preview = default; this.lastused = default; this.gen_x = default; this.gen_y = default; @@ -146,18 +146,18 @@ namespace BlendFile.DNA { this.active_tile_index = default; this.tiles = default; this.views = default; - this.ptr_stereo3d_format = default; + this.stereo3d_format = default; this.runtime = default; } public Image( ID id, - AnimData ptr_adt, + AnimData adt, DrawDataList drawdata, char[] name, - MovieCache ptr_cache, - GPUTexture[,] ptr_gputext, + MovieCache cache, + GPUTexture[,] gputexture, ListBase anims, - RenderResult ptr_rr, + RenderResult rr, ListBase renderslots, short render_slot, short last_render_slot, @@ -172,9 +172,9 @@ namespace BlendFile.DNA { short gpu_view, short seam_margin, char[] _pad2, - PackedFile ptr_packedfile, + PackedFile packedfile, ListBase packedfiles, - PreviewImage ptr_preview, + PreviewImage preview, int lastused, int gen_x, int gen_y, @@ -192,16 +192,16 @@ namespace BlendFile.DNA { int active_tile_index, ListBase tiles, ListBase views, - Stereo3dFormat ptr_stereo3d_format, + Stereo3dFormat stereo3d_format, Image_Runtime runtime) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.drawdata = drawdata; this.name = name; - this.ptr_cache = ptr_cache; - this.ptr_gputext = ptr_gputext; + this.cache = cache; + this.gputexture = gputexture; this.anims = anims; - this.ptr_rr = ptr_rr; + this.rr = rr; this.renderslots = renderslots; this.render_slot = render_slot; this.last_render_slot = last_render_slot; @@ -216,9 +216,9 @@ namespace BlendFile.DNA { this.gpu_view = gpu_view; this.seam_margin = seam_margin; this._pad2 = _pad2; - this.ptr_packedfile = ptr_packedfile; + this.packedfile = packedfile; this.packedfiles = packedfiles; - this.ptr_preview = ptr_preview; + this.preview = preview; this.lastused = lastused; this.gen_x = gen_x; this.gen_y = gen_y; @@ -236,7 +236,7 @@ namespace BlendFile.DNA { this.active_tile_index = active_tile_index; this.tiles = tiles; this.views = views; - this.ptr_stereo3d_format = ptr_stereo3d_format; + this.stereo3d_format = stereo3d_format; this.runtime = runtime; } } diff --git a/BlendFile/DNA/ImageAnim.cs b/BlendFile/DNA/ImageAnim.cs index 38fa140..a2d45aa 100644 --- a/BlendFile/DNA/ImageAnim.cs +++ b/BlendFile/DNA/ImageAnim.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(322, "ImageAnim", 24)] public class ImageAnim { - [DNAFieldAttribute(0, "ImageAnim", "*next", "ImageAnim", 8, true, 0)] - public ImageAnim ptr_next; - [DNAFieldAttribute(1, "ImageAnim", "*prev", "ImageAnim", 8, true, 8)] - public ImageAnim ptr_prev; - [DNAFieldAttribute(2, "ImBufAnim", "*anim", "ImBufAnim", 8, true, 16)] - public ImBufAnim ptr_anim; + [DNAFieldAttribute(8, "ImageAnim", 0, "*next", "ImageAnim", true, 0)] + public ImageAnim next; + [DNAFieldAttribute(8, "ImageAnim", 1, "*prev", "ImageAnim", true, 8)] + public ImageAnim prev; + [DNAFieldAttribute(8, "ImBufAnim", 2, "*anim", "ImBufAnim", true, 16)] + public ImBufAnim anim; public ImageAnim() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_anim = default; + this.next = default; + this.prev = default; + this.anim = default; } - public ImageAnim(ImageAnim ptr_next, ImageAnim ptr_prev, ImBufAnim ptr_anim) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_anim = ptr_anim; + public ImageAnim(ImageAnim next, ImageAnim prev, ImBufAnim anim) { + this.next = next; + this.prev = prev; + this.anim = anim; } } } diff --git a/BlendFile/DNA/ImageFormatData.cs b/BlendFile/DNA/ImageFormatData.cs index 77e21d4..15cbd3c 100644 --- a/BlendFile/DNA/ImageFormatData.cs +++ b/BlendFile/DNA/ImageFormatData.cs @@ -14,50 +14,50 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(615, "ImageFormatData", 336)] - public struct ImageFormatData { - [DNAFieldAttribute(0, "char", "imtype", "char", 1, false, 0)] + public class ImageFormatData { + [DNAFieldAttribute(1, "char", 0, "imtype", "char", false, 0)] public char imtype; - [DNAFieldAttribute(1, "char", "depth", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "depth", "char", false, 1)] public char depth; - [DNAFieldAttribute(2, "char", "planes", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "planes", "char", false, 2)] public char planes; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 3)] public char flag; - [DNAFieldAttribute(4, "char", "quality", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 4, "quality", "char", false, 4)] public char quality; - [DNAFieldAttribute(5, "char", "compress", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 5, "compress", "char", false, 5)] public char compress; - [DNAFieldAttribute(6, "char", "exr_codec", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 6, "exr_codec", "char", false, 6)] public char exr_codec; - [DNAFieldAttribute(7, "char", "cineon_flag", "char", 1, false, 7)] + [DNAFieldAttribute(1, "char", 7, "cineon_flag", "char", false, 7)] public char cineon_flag; - [DNAFieldAttribute(8, "short", "cineon_white", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 8, "cineon_white", "short", false, 8)] public short cineon_white; - [DNAFieldAttribute(9, "short", "cineon_black", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 9, "cineon_black", "short", false, 10)] public short cineon_black; - [DNAFieldAttribute(10, "float", "cineon_gamma", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 10, "cineon_gamma", "float", false, 12)] public float cineon_gamma; - [DNAFieldAttribute(11, "char", "jp2_flag", "char", 1, false, 16)] + [DNAFieldAttribute(1, "char", 11, "jp2_flag", "char", false, 16)] public char jp2_flag; - [DNAFieldAttribute(12, "char", "jp2_codec", "char", 1, false, 17)] + [DNAFieldAttribute(1, "char", 12, "jp2_codec", "char", false, 17)] public char jp2_codec; - [DNAFieldAttribute(13, "char", "tiff_codec", "char", 1, false, 18)] + [DNAFieldAttribute(1, "char", 13, "tiff_codec", "char", false, 18)] public char tiff_codec; - [DNAFieldAttribute(14, "char", "_pad[4]", "System.Char[]", 4, false, 19)] + [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 19)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(15, "char", "views_format", "char", 1, false, 23)] + [DNAFieldAttribute(1, "char", 15, "views_format", "char", false, 23)] public char views_format; - [DNAFieldAttribute(16, "Stereo3dFormat", "stereo3d_format", "Stereo3dFormat", 8, false, 24)] + [DNAFieldAttribute(8, "Stereo3dFormat", 16, "stereo3d_format", "Stereo3dFormat", false, 24)] public Stereo3dFormat stereo3d_format; - [DNAFieldAttribute(17, "char", "color_management", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 17, "color_management", "char", false, 32)] public char color_management; - [DNAFieldAttribute(18, "char", "_pad1[7]", "System.Char[]", 7, false, 33)] + [DNAFieldAttribute(7, "char", 18, "_pad1[7]", "System.Char[]", false, 33)] public char[] _pad1 = new System.Char[7]; - [DNAFieldAttribute(19, "ColorManagedViewSettings", "view_settings", "ColorManagedViewSettings", 168, false, 40)] + [DNAFieldAttribute(168, "ColorManagedViewSettings", 19, "view_settings", "ColorManagedViewSettings", false, 40)] public ColorManagedViewSettings view_settings; - [DNAFieldAttribute(20, "ColorManagedDisplaySettings", "display_settings", "ColorManagedDisplaySettings", 64, false, 208)] + [DNAFieldAttribute(64, "ColorManagedDisplaySettings", 20, "display_settings", "ColorManagedDisplaySettings", false, 208)] public ColorManagedDisplaySettings display_settings; - [DNAFieldAttribute(21, "ColorManagedColorspaceSettings", "linear_colorspace_settings", "ColorManagedColorspaceSettings", 64, false, 272)] + [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 21, "linear_colorspace_settings", "ColorManagedColorspaceSettings", false, 272)] public ColorManagedColorspaceSettings linear_colorspace_settings; public ImageFormatData() { this.imtype = default; diff --git a/BlendFile/DNA/ImagePackedFile.cs b/BlendFile/DNA/ImagePackedFile.cs index 65a8ccc..09caaea 100644 --- a/BlendFile/DNA/ImagePackedFile.cs +++ b/BlendFile/DNA/ImagePackedFile.cs @@ -15,30 +15,30 @@ namespace BlendFile.DNA { [DNAClassAttribute(325, "ImagePackedFile", 1056)] public class ImagePackedFile { - [DNAFieldAttribute(0, "ImagePackedFile", "*next", "ImagePackedFile", 8, true, 0)] - public ImagePackedFile ptr_next; - [DNAFieldAttribute(1, "ImagePackedFile", "*prev", "ImagePackedFile", 8, true, 8)] - public ImagePackedFile ptr_prev; - [DNAFieldAttribute(2, "PackedFile", "*packedfile", "PackedFile", 8, true, 16)] - public PackedFile ptr_packedfile; - [DNAFieldAttribute(3, "int", "view", "int", 4, false, 24)] + [DNAFieldAttribute(8, "ImagePackedFile", 0, "*next", "ImagePackedFile", true, 0)] + public ImagePackedFile next; + [DNAFieldAttribute(8, "ImagePackedFile", 1, "*prev", "ImagePackedFile", true, 8)] + public ImagePackedFile prev; + [DNAFieldAttribute(8, "PackedFile", 2, "*packedfile", "PackedFile", true, 16)] + public PackedFile packedfile; + [DNAFieldAttribute(4, "int", 3, "view", "int", false, 24)] public int view; - [DNAFieldAttribute(4, "int", "tile_number", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 4, "tile_number", "int", false, 28)] public int tile_number; - [DNAFieldAttribute(5, "char", "filepath[1024]", "System.Char[]", 1024, false, 32)] + [DNAFieldAttribute(1024, "char", 5, "filepath[1024]", "System.Char[]", false, 32)] public char[] filepath = new System.Char[1024]; public ImagePackedFile() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_packedfile = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_packedfile = ptr_packedfile; + public ImagePackedFile(ImagePackedFile next, ImagePackedFile prev, PackedFile packedfile, int view, int tile_number, char[] filepath) { + this.next = next; + this.prev = prev; + this.packedfile = packedfile; this.view = view; this.tile_number = tile_number; this.filepath = filepath; diff --git a/BlendFile/DNA/ImagePaintSettings.cs b/BlendFile/DNA/ImagePaintSettings.cs index 960cf2f..aa5849d 100644 --- a/BlendFile/DNA/ImagePaintSettings.cs +++ b/BlendFile/DNA/ImagePaintSettings.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(808, "ImagePaintSettings", 184)] public class ImagePaintSettings { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "short", "flag", "short", 2, false, 120)] + [DNAFieldAttribute(2, "short", 1, "flag", "short", false, 120)] public short flag; - [DNAFieldAttribute(2, "short", "missing_data", "short", 2, false, 122)] + [DNAFieldAttribute(2, "short", 2, "missing_data", "short", false, 122)] public short missing_data; - [DNAFieldAttribute(3, "short", "seam_bleed", "short", 2, false, 124)] + [DNAFieldAttribute(2, "short", 3, "seam_bleed", "short", false, 124)] public short seam_bleed; - [DNAFieldAttribute(4, "short", "normal_angle", "short", 2, false, 126)] + [DNAFieldAttribute(2, "short", 4, "normal_angle", "short", false, 126)] public short normal_angle; - [DNAFieldAttribute(5, "short", "screen_grab_size[2]", "System.Int16[]", 4, false, 128)] + [DNAFieldAttribute(4, "short", 5, "screen_grab_size[2]", "System.Int16[]", false, 128)] public short[] screen_grab_size = new System.Int16[2]; - [DNAFieldAttribute(6, "int", "mode", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 6, "mode", "int", false, 132)] public int mode; - [DNAFieldAttribute(7, "Image", "*stencil", "Image", 8, true, 136)] - public Image ptr_stencil; - [DNAFieldAttribute(8, "Image", "*clone", "Image", 8, true, 144)] - public Image ptr_clone; - [DNAFieldAttribute(9, "Image", "*canvas", "Image", 8, true, 152)] - public Image ptr_canvas; - [DNAFieldAttribute(10, "float", "stencil_col[3]", "System.Single[]", 12, false, 160)] + [DNAFieldAttribute(8, "Image", 7, "*stencil", "Image", true, 136)] + public Image stencil; + [DNAFieldAttribute(8, "Image", 8, "*clone", "Image", true, 144)] + public Image clone; + [DNAFieldAttribute(8, "Image", 9, "*canvas", "Image", true, 152)] + public Image canvas; + [DNAFieldAttribute(12, "float", 10, "stencil_col[3]", "System.Single[]", false, 160)] public float[] stencil_col = new System.Single[3]; - [DNAFieldAttribute(11, "float", "dither", "float", 4, false, 172)] + [DNAFieldAttribute(4, "float", 11, "dither", "float", false, 172)] public float dither; - [DNAFieldAttribute(12, "int", "interp", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 12, "interp", "int", false, 176)] public int interp; - [DNAFieldAttribute(13, "char", "_pad[4]", "System.Char[]", 4, false, 180)] + [DNAFieldAttribute(4, "char", 13, "_pad[4]", "System.Char[]", false, 180)] public char[] _pad = new System.Char[4]; public ImagePaintSettings() { this.paint = default; @@ -51,15 +51,15 @@ namespace BlendFile.DNA { 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 = default; + this.clone = default; + this.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) { + public ImagePaintSettings(Paint paint, short flag, short missing_data, short seam_bleed, short normal_angle, short[] screen_grab_size, int mode, Image stencil, Image clone, Image canvas, float[] stencil_col, float dither, int interp, char[] _pad) { this.paint = paint; this.flag = flag; this.missing_data = missing_data; @@ -67,9 +67,9 @@ namespace BlendFile.DNA { this.normal_angle = normal_angle; this.screen_grab_size = screen_grab_size; this.mode = mode; - this.ptr_stencil = ptr_stencil; - this.ptr_clone = ptr_clone; - this.ptr_canvas = ptr_canvas; + this.stencil = stencil; + this.clone = clone; + this.canvas = canvas; this.stencil_col = stencil_col; this.dither = dither; this.interp = interp; diff --git a/BlendFile/DNA/ImageTile.cs b/BlendFile/DNA/ImageTile.cs index 4a852d6..69f50eb 100644 --- a/BlendFile/DNA/ImageTile.cs +++ b/BlendFile/DNA/ImageTile.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(329, "ImageTile", 136)] public class ImageTile { - [DNAFieldAttribute(0, "ImageTile", "*next", "ImageTile", 8, true, 0)] - public ImageTile ptr_next; - [DNAFieldAttribute(1, "ImageTile", "*prev", "ImageTile", 8, true, 8)] - public ImageTile ptr_prev; - [DNAFieldAttribute(2, "ImageTile_Runtime", "runtime", "ImageTile_Runtime", 24, false, 16)] + [DNAFieldAttribute(8, "ImageTile", 0, "*next", "ImageTile", true, 0)] + public ImageTile next; + [DNAFieldAttribute(8, "ImageTile", 1, "*prev", "ImageTile", true, 8)] + public ImageTile prev; + [DNAFieldAttribute(24, "ImageTile_Runtime", 2, "runtime", "ImageTile_Runtime", false, 16)] public ImageTile_Runtime runtime; - [DNAFieldAttribute(3, "int", "tile_number", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 3, "tile_number", "int", false, 40)] public int tile_number; - [DNAFieldAttribute(4, "int", "gen_x", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 4, "gen_x", "int", false, 44)] public int gen_x; - [DNAFieldAttribute(5, "int", "gen_y", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 5, "gen_y", "int", false, 48)] public int gen_y; - [DNAFieldAttribute(6, "char", "gen_type", "char", 1, false, 52)] + [DNAFieldAttribute(1, "char", 6, "gen_type", "char", false, 52)] public char gen_type; - [DNAFieldAttribute(7, "char", "gen_flag", "char", 1, false, 53)] + [DNAFieldAttribute(1, "char", 7, "gen_flag", "char", false, 53)] public char gen_flag; - [DNAFieldAttribute(8, "short", "gen_depth", "short", 2, false, 54)] + [DNAFieldAttribute(2, "short", 8, "gen_depth", "short", false, 54)] public short gen_depth; - [DNAFieldAttribute(9, "float", "gen_color[4]", "System.Single[]", 16, false, 56)] + [DNAFieldAttribute(16, "float", 9, "gen_color[4]", "System.Single[]", false, 56)] public float[] gen_color = new System.Single[4]; - [DNAFieldAttribute(10, "char", "label[64]", "System.Char[]", 64, false, 72)] + [DNAFieldAttribute(64, "char", 10, "label[64]", "System.Char[]", false, 72)] public char[] label = new System.Char[64]; public ImageTile() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.runtime = default; this.tile_number = default; this.gen_x = default; @@ -50,9 +50,9 @@ namespace BlendFile.DNA { 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; + public ImageTile(ImageTile next, ImageTile 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.next = next; + this.prev = prev; this.runtime = runtime; this.tile_number = tile_number; this.gen_x = gen_x; diff --git a/BlendFile/DNA/ImageTile_Runtime.cs b/BlendFile/DNA/ImageTile_Runtime.cs index 7006d6a..3e0f39b 100644 --- a/BlendFile/DNA/ImageTile_Runtime.cs +++ b/BlendFile/DNA/ImageTile_Runtime.cs @@ -13,26 +13,18 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(328, "ImageTile_Runtime", 24)] - public struct ImageTile_Runtime { - [DNAFieldAttribute(0, "int", "tilearray_layer", "int", 4, false, 0)] - public int tilearray_layer; - [DNAFieldAttribute(1, "int", "_pad", "int", 4, false, 4)] + [DNAClassAttribute(328, "ImageTile_Runtime", 12)] + public class ImageTile_Runtime { + [DNAFieldAttribute(4, "int", 1, "_pad", "int", false, 0)] public int _pad; - [DNAFieldAttribute(2, "int", "tilearray_offset[2]", "System.Int32[]", 8, false, 8)] - public int[] tilearray_offset = new System.Int32[2]; - [DNAFieldAttribute(3, "int", "tilearray_size[2]", "System.Int32[]", 8, false, 16)] + [DNAFieldAttribute(8, "int", 3, "tilearray_size[2]", "System.Int32[]", false, 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; + public ImageTile_Runtime(int _pad, int[] tilearray_size) { this._pad = _pad; - this.tilearray_offset = tilearray_offset; this.tilearray_size = tilearray_size; } } diff --git a/BlendFile/DNA/ImageUser.cs b/BlendFile/DNA/ImageUser.cs index c19aee5..6acf026 100644 --- a/BlendFile/DNA/ImageUser.cs +++ b/BlendFile/DNA/ImageUser.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(147, "ImageUser", 40)] public class ImageUser { - [DNAFieldAttribute(0, "Scene", "*scene", "Scene", 8, true, 0)] - public Scene ptr_scene; - [DNAFieldAttribute(1, "int", "framenr", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Scene", 0, "*scene", "Scene", true, 0)] + public Scene scene; + [DNAFieldAttribute(4, "int", 1, "framenr", "int", false, 8)] public int framenr; - [DNAFieldAttribute(2, "int", "frames", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "frames", "int", false, 12)] public int frames; - [DNAFieldAttribute(3, "int", "offset", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "offset", "int", false, 16)] public int offset; - [DNAFieldAttribute(4, "int", "sfra", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 4, "sfra", "int", false, 20)] public int sfra; - [DNAFieldAttribute(5, "char", "cycl", "char", 1, false, 24)] + [DNAFieldAttribute(1, "char", 5, "cycl", "char", false, 24)] public char cycl; - [DNAFieldAttribute(6, "char", "multiview_eye", "char", 1, false, 25)] + [DNAFieldAttribute(1, "char", 6, "multiview_eye", "char", false, 25)] public char multiview_eye; - [DNAFieldAttribute(7, "short", "pass", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 7, "pass", "short", false, 26)] public short pass; - [DNAFieldAttribute(8, "int", "tile", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 8, "tile", "int", false, 28)] public int tile; - [DNAFieldAttribute(9, "short", "multi_index", "short", 2, false, 32)] + [DNAFieldAttribute(2, "short", 9, "multi_index", "short", false, 32)] public short multi_index; - [DNAFieldAttribute(10, "short", "view", "short", 2, false, 34)] + [DNAFieldAttribute(2, "short", 10, "view", "short", false, 34)] public short view; - [DNAFieldAttribute(11, "short", "layer", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 11, "layer", "short", false, 36)] public short layer; - [DNAFieldAttribute(12, "short", "flag", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 38)] public short flag; public ImageUser() { - this.ptr_scene = default; + this.scene = default; this.framenr = default; this.frames = default; this.offset = default; @@ -56,8 +56,8 @@ namespace BlendFile.DNA { 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; + public ImageUser(Scene 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.scene = scene; this.framenr = framenr; this.frames = frames; this.offset = offset; diff --git a/BlendFile/DNA/ImageView.cs b/BlendFile/DNA/ImageView.cs index 83007c1..0a7001b 100644 --- a/BlendFile/DNA/ImageView.cs +++ b/BlendFile/DNA/ImageView.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(324, "ImageView", 1104)] public class ImageView { - [DNAFieldAttribute(0, "ImageView", "*next", "ImageView", 8, true, 0)] - public ImageView ptr_next; - [DNAFieldAttribute(1, "ImageView", "*prev", "ImageView", 8, true, 8)] - public ImageView ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "ImageView", 0, "*next", "ImageView", true, 0)] + public ImageView next; + [DNAFieldAttribute(8, "ImageView", 1, "*prev", "ImageView", true, 8)] + public ImageView prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "filepath[1024]", "System.Char[]", 1024, false, 80)] + [DNAFieldAttribute(1024, "char", 3, "filepath[1024]", "System.Char[]", false, 80)] public char[] filepath = new System.Char[1024]; public ImageView() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public ImageView(ImageView next, ImageView prev, char[] name, char[] filepath) { + this.next = next; + this.prev = prev; this.name = name; this.filepath = filepath; } diff --git a/BlendFile/DNA/Image_Runtime.cs b/BlendFile/DNA/Image_Runtime.cs index 4ad579e..39dc125 100644 --- a/BlendFile/DNA/Image_Runtime.cs +++ b/BlendFile/DNA/Image_Runtime.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(330, "Image_Runtime", 32)] public class Image_Runtime { - [DNAFieldAttribute(0, "void", "*cache_mutex", "void", 8, true, 0)] - public object ptr_cache_mutex; - [DNAFieldAttribute(1, "PartialUpdateRegister", "*partial_update_register", "PartialUpdateRegister", 8, true, 8)] - public PartialUpdateRegister ptr_partial_update_register; - [DNAFieldAttribute(2, "PartialUpdateUser", "*partial_update_user", "PartialUpdateUser", 8, true, 16)] - public PartialUpdateUser ptr_partial_update_user; - [DNAFieldAttribute(3, "float", "backdrop_offset[2]", "System.Single[]", 8, false, 24)] + [DNAFieldAttribute(8, "void", 0, "*cache_mutex", "void", true, 0)] + public object cache_mutex; + [DNAFieldAttribute(8, "PartialUpdateRegister", 1, "*partial_update_register", "PartialUpdateRegister", true, 8)] + public PartialUpdateRegister partial_update_register; + [DNAFieldAttribute(8, "PartialUpdateUser", 2, "*partial_update_user", "PartialUpdateUser", true, 16)] + public PartialUpdateUser partial_update_user; + [DNAFieldAttribute(8, "float", 3, "backdrop_offset[2]", "System.Single[]", false, 24)] 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.cache_mutex = default; + this.partial_update_register = default; + this.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; - this.ptr_partial_update_user = ptr_partial_update_user; + public Image_Runtime(object cache_mutex, PartialUpdateRegister partial_update_register, PartialUpdateUser partial_update_user, float[] backdrop_offset) { + this.cache_mutex = cache_mutex; + this.partial_update_register = partial_update_register; + this.partial_update_user = partial_update_user; this.backdrop_offset = backdrop_offset; } } diff --git a/BlendFile/DNA/IndexSwitchItem.cs b/BlendFile/DNA/IndexSwitchItem.cs index c7fc9f1..6e361e1 100644 --- a/BlendFile/DNA/IndexSwitchItem.cs +++ b/BlendFile/DNA/IndexSwitchItem.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(745, "IndexSwitchItem", 4)] - public struct IndexSwitchItem { - [DNAFieldAttribute(0, "int", "identifier", "int", 4, false, 0)] + public class IndexSwitchItem { + [DNAFieldAttribute(4, "int", 0, "identifier", "int", false, 0)] public int identifier; public IndexSwitchItem() { this.identifier = default; diff --git a/BlendFile/DNA/Ipo.cs b/BlendFile/DNA/Ipo.cs index ebc0335..91d44e6 100644 --- a/BlendFile/DNA/Ipo.cs +++ b/BlendFile/DNA/Ipo.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(76, "Ipo", 248)] - public struct Ipo { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + public class Ipo { + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "ListBase", "curve", "ListBase", 16, false, 208)] + [DNAFieldAttribute(16, "ListBase", 1, "curve", "ListBase", false, 208)] public ListBase curve; - [DNAFieldAttribute(2, "rctf", "cur", "rctf", 16, false, 224)] + [DNAFieldAttribute(16, "rctf", 2, "cur", "rctf", false, 224)] public rctf cur; - [DNAFieldAttribute(3, "short", "blocktype", "short", 2, false, 240)] + [DNAFieldAttribute(2, "short", 3, "blocktype", "short", false, 240)] public short blocktype; - [DNAFieldAttribute(4, "short", "showkey", "short", 2, false, 242)] + [DNAFieldAttribute(2, "short", 4, "showkey", "short", false, 242)] public short showkey; - [DNAFieldAttribute(5, "short", "muteipo", "short", 2, false, 244)] + [DNAFieldAttribute(2, "short", 5, "muteipo", "short", false, 244)] public short muteipo; - [DNAFieldAttribute(6, "char", "_pad[2]", "System.Char[]", 2, false, 246)] + [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 246)] public char[] _pad = new System.Char[2]; public Ipo() { this.id = default; diff --git a/BlendFile/DNA/IpoCurve.cs b/BlendFile/DNA/IpoCurve.cs index 5e50d57..4d73335 100644 --- a/BlendFile/DNA/IpoCurve.cs +++ b/BlendFile/DNA/IpoCurve.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(336, "IpoCurve", 112)] public class IpoCurve { - [DNAFieldAttribute(0, "IpoCurve", "*next", "IpoCurve", 8, true, 0)] - public IpoCurve ptr_next; - [DNAFieldAttribute(1, "IpoCurve", "*prev", "IpoCurve", 8, true, 8)] - public IpoCurve ptr_prev; - [DNAFieldAttribute(2, "BPoint", "*bp", "BPoint", 8, true, 16)] - public BPoint ptr_bp; - [DNAFieldAttribute(3, "BezTriple", "*bezt", "BezTriple", 8, true, 24)] - public BezTriple ptr_bezt; - [DNAFieldAttribute(4, "rctf", "maxrct", "rctf", 16, false, 32)] + [DNAFieldAttribute(8, "IpoCurve", 0, "*next", "IpoCurve", true, 0)] + public IpoCurve next; + [DNAFieldAttribute(8, "IpoCurve", 1, "*prev", "IpoCurve", true, 8)] + public IpoCurve prev; + [DNAFieldAttribute(8, "BPoint", 2, "*bp", "BPoint", true, 16)] + public BPoint bp; + [DNAFieldAttribute(8, "BezTriple", 3, "*bezt", "BezTriple", true, 24)] + public BezTriple bezt; + [DNAFieldAttribute(16, "rctf", 4, "maxrct", "rctf", false, 32)] public rctf maxrct; - [DNAFieldAttribute(5, "rctf", "totrct", "rctf", 16, false, 48)] + [DNAFieldAttribute(16, "rctf", 5, "totrct", "rctf", false, 48)] public rctf totrct; - [DNAFieldAttribute(6, "short", "blocktype", "short", 2, false, 64)] + [DNAFieldAttribute(2, "short", 6, "blocktype", "short", false, 64)] public short blocktype; - [DNAFieldAttribute(7, "short", "adrcode", "short", 2, false, 66)] + [DNAFieldAttribute(2, "short", 7, "adrcode", "short", false, 66)] public short adrcode; - [DNAFieldAttribute(8, "short", "vartype", "short", 2, false, 68)] + [DNAFieldAttribute(2, "short", 8, "vartype", "short", false, 68)] public short vartype; - [DNAFieldAttribute(9, "short", "totvert", "short", 2, false, 70)] + [DNAFieldAttribute(2, "short", 9, "totvert", "short", false, 70)] public short totvert; - [DNAFieldAttribute(10, "short", "ipo", "short", 2, false, 72)] + [DNAFieldAttribute(2, "short", 10, "ipo", "short", false, 72)] public short ipo; - [DNAFieldAttribute(11, "short", "extrap", "short", 2, false, 74)] + [DNAFieldAttribute(2, "short", 11, "extrap", "short", false, 74)] public short extrap; - [DNAFieldAttribute(12, "short", "flag", "short", 2, false, 76)] + [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 76)] public short flag; - [DNAFieldAttribute(13, "char", "_pad0[2]", "System.Char[]", 2, false, 78)] + [DNAFieldAttribute(2, "char", 13, "_pad0[2]", "System.Char[]", false, 78)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(14, "float", "ymin", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 14, "ymin", "float", false, 80)] public float ymin; - [DNAFieldAttribute(15, "float", "ymax", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 15, "ymax", "float", false, 84)] public float ymax; - [DNAFieldAttribute(16, "int", "bitmask", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 16, "bitmask", "int", false, 88)] public int bitmask; - [DNAFieldAttribute(17, "float", "slide_min", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 17, "slide_min", "float", false, 92)] public float slide_min; - [DNAFieldAttribute(18, "float", "slide_max", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 18, "slide_max", "float", false, 96)] public float slide_max; - [DNAFieldAttribute(19, "float", "curval", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 19, "curval", "float", false, 100)] public float curval; - [DNAFieldAttribute(20, "IpoDriver", "*driver", "IpoDriver", 8, true, 104)] - public IpoDriver ptr_driver; + [DNAFieldAttribute(8, "IpoDriver", 20, "*driver", "IpoDriver", true, 104)] + public IpoDriver driver; public IpoCurve() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_bp = default; - this.ptr_bezt = default; + this.next = default; + this.prev = default; + this.bp = default; + this.bezt = default; this.maxrct = default; this.totrct = default; this.blocktype = default; @@ -78,13 +78,13 @@ namespace BlendFile.DNA { this.slide_min = default; this.slide_max = default; this.curval = default; - this.ptr_driver = default; + this.driver = default; } public IpoCurve( - IpoCurve ptr_next, - IpoCurve ptr_prev, - BPoint ptr_bp, - BezTriple ptr_bezt, + IpoCurve next, + IpoCurve prev, + BPoint bp, + BezTriple bezt, rctf maxrct, rctf totrct, short blocktype, @@ -101,11 +101,11 @@ namespace BlendFile.DNA { float slide_min, float slide_max, float curval, - IpoDriver ptr_driver) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_bp = ptr_bp; - this.ptr_bezt = ptr_bezt; + IpoDriver driver) { + this.next = next; + this.prev = prev; + this.bp = bp; + this.bezt = bezt; this.maxrct = maxrct; this.totrct = totrct; this.blocktype = blocktype; @@ -122,7 +122,7 @@ namespace BlendFile.DNA { this.slide_min = slide_min; this.slide_max = slide_max; this.curval = curval; - this.ptr_driver = ptr_driver; + this.driver = driver; } } } diff --git a/BlendFile/DNA/IpoDriver.cs b/BlendFile/DNA/IpoDriver.cs index 70e2542..4da32ca 100644 --- a/BlendFile/DNA/IpoDriver.cs +++ b/BlendFile/DNA/IpoDriver.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(335, "IpoDriver", 144)] public class IpoDriver { - [DNAFieldAttribute(0, "Object", "*ob", "Object", 8, true, 0)] - public Object ptr_ob; - [DNAFieldAttribute(1, "short", "blocktype", "short", 2, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*ob", "Object", true, 0)] + public Object ob; + [DNAFieldAttribute(2, "short", 1, "blocktype", "short", false, 8)] public short blocktype; - [DNAFieldAttribute(2, "short", "adrcode", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 2, "adrcode", "short", false, 10)] public short adrcode; - [DNAFieldAttribute(3, "short", "type", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 3, "type", "short", false, 12)] public short type; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 14)] public short flag; - [DNAFieldAttribute(5, "char", "name[128]", "System.Char[]", 128, false, 16)] + [DNAFieldAttribute(128, "char", 5, "name[128]", "System.Char[]", false, 16)] public char[] name = new System.Char[128]; public IpoDriver() { - this.ptr_ob = default; + this.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; + public IpoDriver(Object ob, short blocktype, short adrcode, short type, short flag, char[] name) { + this.ob = ob; this.blocktype = blocktype; this.adrcode = adrcode; this.type = type; diff --git a/BlendFile/DNA/KS_Path.cs b/BlendFile/DNA/KS_Path.cs index a1a5848..1507b9b 100644 --- a/BlendFile/DNA/KS_Path.cs +++ b/BlendFile/DNA/KS_Path.cs @@ -13,53 +13,49 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(98, "KS_Path", 112)] + [DNAClassAttribute(98, "KS_Path", 108)] public class KS_Path { - [DNAFieldAttribute(0, "KS_Path", "*next", "KS_Path", 8, true, 0)] - public KS_Path ptr_next; - [DNAFieldAttribute(1, "KS_Path", "*prev", "KS_Path", 8, true, 8)] - public KS_Path ptr_prev; - [DNAFieldAttribute(2, "ID", "*id", "ID", 8, true, 16)] - public ID ptr_id; - [DNAFieldAttribute(3, "char", "group[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(8, "KS_Path", 0, "*next", "KS_Path", true, 0)] + public KS_Path next; + [DNAFieldAttribute(8, "KS_Path", 1, "*prev", "KS_Path", true, 8)] + public KS_Path prev; + [DNAFieldAttribute(8, "ID", 2, "*id", "ID", true, 16)] + public ID id; + [DNAFieldAttribute(64, "char", 3, "group[64]", "System.Char[]", false, 24)] public char[] group = new System.Char[64]; - [DNAFieldAttribute(4, "int", "idtype", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 4, "idtype", "int", false, 88)] public int idtype; - [DNAFieldAttribute(5, "short", "groupmode", "short", 2, false, 92)] + [DNAFieldAttribute(2, "short", 5, "groupmode", "short", false, 92)] public short groupmode; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 94)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 94)] public short flag; - [DNAFieldAttribute(7, "char", "*rna_path", "char", 8, true, 96)] - public char ptr_rna_path; - [DNAFieldAttribute(8, "int", "array_index", "int", 4, false, 104)] - public int array_index; - [DNAFieldAttribute(9, "short", "keyingflag", "short", 2, false, 108)] + [DNAFieldAttribute(8, "char", 7, "*rna_path", "char", true, 96)] + public char rna_path; + [DNAFieldAttribute(2, "short", 9, "keyingflag", "short", false, 104)] public short keyingflag; - [DNAFieldAttribute(10, "short", "keyingoverride", "short", 2, false, 110)] + [DNAFieldAttribute(2, "short", 10, "keyingoverride", "short", false, 106)] public short keyingoverride; public KS_Path() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_id = default; + this.next = default; + this.prev = default; + this.id = default; this.group = default; this.idtype = default; this.groupmode = default; this.flag = default; - this.ptr_rna_path = default; - this.array_index = default; + this.rna_path = 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; - this.ptr_id = ptr_id; + public KS_Path(KS_Path next, KS_Path prev, ID id, char[] group, int idtype, short groupmode, short flag, char rna_path, short keyingflag, short keyingoverride) { + this.next = next; + this.prev = prev; + this.id = id; this.group = group; this.idtype = idtype; this.groupmode = groupmode; this.flag = flag; - this.ptr_rna_path = ptr_rna_path; - this.array_index = array_index; + this.rna_path = rna_path; this.keyingflag = keyingflag; this.keyingoverride = keyingoverride; } diff --git a/BlendFile/DNA/Key.cs b/BlendFile/DNA/Key.cs index 7fa744f..90e121e 100644 --- a/BlendFile/DNA/Key.cs +++ b/BlendFile/DNA/Key.cs @@ -15,46 +15,46 @@ namespace BlendFile.DNA { [DNAClassAttribute(212, "Key", 312)] public class Key { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "KeyBlock", "*refkey", "KeyBlock", 8, true, 216)] - public KeyBlock ptr_refkey; - [DNAFieldAttribute(3, "char", "elemstr[32]", "System.Char[]", 32, false, 224)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(8, "KeyBlock", 2, "*refkey", "KeyBlock", true, 216)] + public KeyBlock refkey; + [DNAFieldAttribute(32, "char", 3, "elemstr[32]", "System.Char[]", false, 224)] public char[] elemstr = new System.Char[32]; - [DNAFieldAttribute(4, "int", "elemsize", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 4, "elemsize", "int", false, 256)] public int elemsize; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 260)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 260)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "ListBase", "block", "ListBase", 16, false, 264)] + [DNAFieldAttribute(16, "ListBase", 6, "block", "ListBase", false, 264)] public ListBase block; - [DNAFieldAttribute(7, "Ipo", "*ipo", "Ipo", 8, true, 280)] - public Ipo ptr_ipo; - [DNAFieldAttribute(8, "ID", "*from", "ID", 8, true, 288)] - public ID ptr_from; - [DNAFieldAttribute(9, "int", "totkey", "int", 4, false, 296)] + [DNAFieldAttribute(8, "Ipo", 7, "*ipo", "Ipo", true, 280)] + public Ipo ipo; + [DNAFieldAttribute(8, "ID", 8, "*from", "ID", true, 288)] + public ID from; + [DNAFieldAttribute(4, "int", 9, "totkey", "int", false, 296)] public int totkey; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 300)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 300)] public short flag; - [DNAFieldAttribute(11, "char", "type", "char", 1, false, 302)] + [DNAFieldAttribute(1, "char", 11, "type", "char", false, 302)] public char type; - [DNAFieldAttribute(12, "char", "_pad2", "char", 1, false, 303)] + [DNAFieldAttribute(1, "char", 12, "_pad2", "char", false, 303)] public char _pad2; - [DNAFieldAttribute(13, "float", "ctime", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 13, "ctime", "float", false, 304)] public float ctime; - [DNAFieldAttribute(14, "int", "uidgen", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 14, "uidgen", "int", false, 308)] public int uidgen; public Key() { this.id = default; - this.ptr_adt = default; - this.ptr_refkey = default; + this.adt = default; + this.refkey = default; this.elemstr = default; this.elemsize = default; this._pad = default; this.block = default; - this.ptr_ipo = default; - this.ptr_from = default; + this.ipo = default; + this.from = default; this.totkey = default; this.flag = default; this.type = default; @@ -62,16 +62,16 @@ namespace BlendFile.DNA { 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) { + public Key(ID id, AnimData adt, KeyBlock refkey, char[] elemstr, int elemsize, char[] _pad, ListBase block, Ipo ipo, ID from, int totkey, short flag, char type, char _pad2, float ctime, int uidgen) { this.id = id; - this.ptr_adt = ptr_adt; - this.ptr_refkey = ptr_refkey; + this.adt = adt; + this.refkey = refkey; this.elemstr = elemstr; this.elemsize = elemsize; this._pad = _pad; this.block = block; - this.ptr_ipo = ptr_ipo; - this.ptr_from = ptr_from; + this.ipo = ipo; + this.from = from; this.totkey = totkey; this.flag = flag; this.type = type; diff --git a/BlendFile/DNA/KeyBlock.cs b/BlendFile/DNA/KeyBlock.cs index 741d147..93ab796 100644 --- a/BlendFile/DNA/KeyBlock.cs +++ b/BlendFile/DNA/KeyBlock.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(337, "KeyBlock", 184)] public class KeyBlock { - [DNAFieldAttribute(0, "KeyBlock", "*next", "KeyBlock", 8, true, 0)] - public KeyBlock ptr_next; - [DNAFieldAttribute(1, "KeyBlock", "*prev", "KeyBlock", 8, true, 8)] - public KeyBlock ptr_prev; - [DNAFieldAttribute(2, "float", "pos", "float", 4, false, 16)] + [DNAFieldAttribute(8, "KeyBlock", 0, "*next", "KeyBlock", true, 0)] + public KeyBlock next; + [DNAFieldAttribute(8, "KeyBlock", 1, "*prev", "KeyBlock", true, 8)] + public KeyBlock prev; + [DNAFieldAttribute(4, "float", 2, "pos", "float", false, 16)] public float pos; - [DNAFieldAttribute(3, "float", "curval", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 3, "curval", "float", false, 20)] public float curval; - [DNAFieldAttribute(4, "short", "type", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 4, "type", "short", false, 24)] public short type; - [DNAFieldAttribute(5, "char", "_pad1[2]", "System.Char[]", 2, false, 26)] + [DNAFieldAttribute(2, "char", 5, "_pad1[2]", "System.Char[]", false, 26)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(6, "short", "relative", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 6, "relative", "short", false, 28)] public short relative; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 30)] public short flag; - [DNAFieldAttribute(8, "int", "totelem", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 8, "totelem", "int", false, 32)] public int totelem; - [DNAFieldAttribute(9, "int", "uid", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 9, "uid", "int", false, 36)] public int uid; - [DNAFieldAttribute(10, "void", "*data", "void", 8, true, 40)] - public object ptr_data; - [DNAFieldAttribute(11, "char", "name[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(8, "void", 10, "*data", "void", true, 40)] + public object data; + [DNAFieldAttribute(64, "char", 11, "name[64]", "System.Char[]", false, 48)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(12, "char", "vgroup[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(64, "char", 12, "vgroup[64]", "System.Char[]", false, 112)] public char[] vgroup = new System.Char[64]; - [DNAFieldAttribute(13, "float", "slidermin", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 13, "slidermin", "float", false, 176)] public float slidermin; - [DNAFieldAttribute(14, "float", "slidermax", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 14, "slidermax", "float", false, 180)] public float slidermax; public KeyBlock() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.pos = default; this.curval = default; this.type = default; @@ -56,15 +56,15 @@ namespace BlendFile.DNA { this.flag = default; this.totelem = default; this.uid = default; - this.ptr_data = default; + this.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; + public KeyBlock(KeyBlock next, KeyBlock prev, float pos, float curval, short type, char[] _pad1, short relative, short flag, int totelem, int uid, object data, char[] name, char[] vgroup, float slidermin, float slidermax) { + this.next = next; + this.prev = prev; this.pos = pos; this.curval = curval; this.type = type; @@ -73,7 +73,7 @@ namespace BlendFile.DNA { this.flag = flag; this.totelem = totelem; this.uid = uid; - this.ptr_data = ptr_data; + this.data = data; this.name = name; this.vgroup = vgroup; this.slidermin = slidermin; diff --git a/BlendFile/DNA/KeyingSet.cs b/BlendFile/DNA/KeyingSet.cs index 88dfcda..f42b1f4 100644 --- a/BlendFile/DNA/KeyingSet.cs +++ b/BlendFile/DNA/KeyingSet.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(99, "KeyingSet", 1264)] public class KeyingSet { - [DNAFieldAttribute(0, "KeyingSet", "*next", "KeyingSet", 8, true, 0)] - public KeyingSet ptr_next; - [DNAFieldAttribute(1, "KeyingSet", "*prev", "KeyingSet", 8, true, 8)] - public KeyingSet ptr_prev; - [DNAFieldAttribute(2, "ListBase", "paths", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "KeyingSet", 0, "*next", "KeyingSet", true, 0)] + public KeyingSet next; + [DNAFieldAttribute(8, "KeyingSet", 1, "*prev", "KeyingSet", true, 8)] + public KeyingSet prev; + [DNAFieldAttribute(16, "ListBase", 2, "paths", "ListBase", false, 16)] public ListBase paths; - [DNAFieldAttribute(3, "char", "idname[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 3, "idname[64]", "System.Char[]", false, 32)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 96)] + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 96)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "char", "description[1024]", "System.Char[]", 1024, false, 160)] + [DNAFieldAttribute(1024, "char", 5, "description[1024]", "System.Char[]", false, 160)] public char[] description = new System.Char[1024]; - [DNAFieldAttribute(6, "char", "typeinfo[64]", "System.Char[]", 64, false, 1184)] + [DNAFieldAttribute(64, "char", 6, "typeinfo[64]", "System.Char[]", false, 1184)] public char[] typeinfo = new System.Char[64]; - [DNAFieldAttribute(7, "int", "active_path", "int", 4, false, 1248)] + [DNAFieldAttribute(4, "int", 7, "active_path", "int", false, 1248)] public int active_path; - [DNAFieldAttribute(8, "short", "flag", "short", 2, false, 1252)] + [DNAFieldAttribute(2, "short", 8, "flag", "short", false, 1252)] public short flag; - [DNAFieldAttribute(9, "short", "keyingflag", "short", 2, false, 1254)] + [DNAFieldAttribute(2, "short", 9, "keyingflag", "short", false, 1254)] public short keyingflag; - [DNAFieldAttribute(10, "short", "keyingoverride", "short", 2, false, 1256)] + [DNAFieldAttribute(2, "short", 10, "keyingoverride", "short", false, 1256)] public short keyingoverride; - [DNAFieldAttribute(11, "char", "_pad[6]", "System.Char[]", 6, false, 1258)] + [DNAFieldAttribute(6, "char", 11, "_pad[6]", "System.Char[]", false, 1258)] public char[] _pad = new System.Char[6]; public KeyingSet() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.paths = default; this.idname = default; this.name = default; @@ -53,9 +53,9 @@ namespace BlendFile.DNA { 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; + public KeyingSet(KeyingSet next, KeyingSet prev, ListBase paths, char[] idname, char[] name, char[] description, char[] typeinfo, int active_path, short flag, short keyingflag, short keyingoverride, char[] _pad) { + this.next = next; + this.prev = prev; this.paths = paths; this.idname = idname; this.name = name; diff --git a/BlendFile/DNA/Lamp.cs b/BlendFile/DNA/Lamp.cs index 7137861..c008c13 100644 --- a/BlendFile/DNA/Lamp.cs +++ b/BlendFile/DNA/Lamp.cs @@ -15,89 +15,89 @@ namespace BlendFile.DNA { [DNAClassAttribute(350, "Lamp", 368)] public class Lamp { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 216)] public short type; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 218)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 218)] public short flag; - [DNAFieldAttribute(4, "int", "mode", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 4, "mode", "int", false, 220)] public int mode; - [DNAFieldAttribute(5, "float", "r", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 5, "r", "float", false, 224)] public float r; - [DNAFieldAttribute(6, "float", "g", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 6, "g", "float", false, 228)] public float g; - [DNAFieldAttribute(7, "float", "b", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 7, "b", "float", false, 232)] public float b; - [DNAFieldAttribute(8, "float", "energy_new", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 8, "energy_new", "float", false, 236)] public float energy_new; - [DNAFieldAttribute(9, "float", "radius", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 9, "radius", "float", false, 240)] public float radius; - [DNAFieldAttribute(10, "float", "spotsize", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 10, "spotsize", "float", false, 244)] public float spotsize; - [DNAFieldAttribute(11, "float", "spotblend", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 11, "spotblend", "float", false, 248)] public float spotblend; - [DNAFieldAttribute(12, "short", "area_shape", "short", 2, false, 252)] + [DNAFieldAttribute(2, "short", 12, "area_shape", "short", false, 252)] public short area_shape; - [DNAFieldAttribute(13, "short", "_pad1", "short", 2, false, 254)] + [DNAFieldAttribute(2, "short", 13, "_pad1", "short", false, 254)] public short _pad1; - [DNAFieldAttribute(14, "float", "area_size", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 14, "area_size", "float", false, 256)] public float area_size; - [DNAFieldAttribute(15, "float", "area_sizey", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 15, "area_sizey", "float", false, 260)] public float area_sizey; - [DNAFieldAttribute(16, "float", "area_sizez", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 16, "area_sizez", "float", false, 264)] public float area_sizez; - [DNAFieldAttribute(17, "float", "area_spread", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 17, "area_spread", "float", false, 268)] public float area_spread; - [DNAFieldAttribute(18, "float", "sun_angle", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 18, "sun_angle", "float", false, 272)] public float sun_angle; - [DNAFieldAttribute(19, "short", "pr_texture", "short", 2, false, 276)] + [DNAFieldAttribute(2, "short", 19, "pr_texture", "short", false, 276)] public short pr_texture; - [DNAFieldAttribute(20, "short", "use_nodes", "short", 2, false, 278)] + [DNAFieldAttribute(2, "short", 20, "use_nodes", "short", false, 278)] public short use_nodes; - [DNAFieldAttribute(21, "float", "clipsta", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 21, "clipsta", "float", false, 280)] public float clipsta; - [DNAFieldAttribute(22, "float", "clipend", "float", 4, false, 284)] + [DNAFieldAttribute(4, "float", 22, "clipend", "float", false, 284)] public float clipend; - [DNAFieldAttribute(23, "float", "cascade_max_dist", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 23, "cascade_max_dist", "float", false, 288)] public float cascade_max_dist; - [DNAFieldAttribute(24, "float", "cascade_exponent", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 24, "cascade_exponent", "float", false, 292)] public float cascade_exponent; - [DNAFieldAttribute(25, "float", "cascade_fade", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 25, "cascade_fade", "float", false, 296)] public float cascade_fade; - [DNAFieldAttribute(26, "int", "cascade_count", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 26, "cascade_count", "int", false, 300)] public int cascade_count; - [DNAFieldAttribute(27, "float", "diff_fac", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 27, "diff_fac", "float", false, 304)] public float diff_fac; - [DNAFieldAttribute(28, "float", "spec_fac", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 28, "spec_fac", "float", false, 308)] public float spec_fac; - [DNAFieldAttribute(29, "float", "transmission_fac", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 29, "transmission_fac", "float", false, 312)] public float transmission_fac; - [DNAFieldAttribute(30, "float", "volume_fac", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 30, "volume_fac", "float", false, 316)] public float volume_fac; - [DNAFieldAttribute(31, "float", "att_dist", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 31, "att_dist", "float", false, 320)] public float att_dist; - [DNAFieldAttribute(32, "float", "shadow_filter_radius", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 32, "shadow_filter_radius", "float", false, 324)] public float shadow_filter_radius; - [DNAFieldAttribute(33, "float", "shadow_maximum_resolution", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 33, "shadow_maximum_resolution", "float", false, 328)] public float shadow_maximum_resolution; - [DNAFieldAttribute(34, "float", "shadow_jitter_overblur", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 34, "shadow_jitter_overblur", "float", false, 332)] public float shadow_jitter_overblur; - [DNAFieldAttribute(35, "PreviewImage", "*preview", "PreviewImage", 8, true, 336)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(36, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 344)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(37, "Ipo", "*ipo", "Ipo", 8, true, 352)] - public Ipo ptr_ipo; - [DNAFieldAttribute(38, "float", "energy", "float", 4, false, 360)] + [DNAFieldAttribute(8, "PreviewImage", 35, "*preview", "PreviewImage", true, 336)] + public PreviewImage preview; + [DNAFieldAttribute(8, "bNodeTree", 36, "*nodetree", "bNodeTree", true, 344)] + public bNodeTree nodetree; + [DNAFieldAttribute(8, "Ipo", 37, "*ipo", "Ipo", true, 352)] + public Ipo ipo; + [DNAFieldAttribute(4, "float", 38, "energy", "float", false, 360)] public float energy; - [DNAFieldAttribute(39, "float", "_pad2", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 39, "_pad2", "float", false, 364)] public float _pad2; public Lamp() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.type = default; this.flag = default; this.mode = default; @@ -131,15 +131,15 @@ namespace BlendFile.DNA { 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.preview = default; + this.nodetree = default; + this.ipo = default; this.energy = default; this._pad2 = default; } public Lamp( ID id, - AnimData ptr_adt, + AnimData adt, short type, short flag, int mode, @@ -173,13 +173,13 @@ namespace BlendFile.DNA { float shadow_filter_radius, float shadow_maximum_resolution, float shadow_jitter_overblur, - PreviewImage ptr_preview, - bNodeTree ptr_nodetree, - Ipo ptr_ipo, + PreviewImage preview, + bNodeTree nodetree, + Ipo ipo, float energy, float _pad2) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.type = type; this.flag = flag; this.mode = mode; @@ -213,9 +213,9 @@ namespace BlendFile.DNA { this.shadow_filter_radius = shadow_filter_radius; this.shadow_maximum_resolution = shadow_maximum_resolution; this.shadow_jitter_overblur = shadow_jitter_overblur; - this.ptr_preview = ptr_preview; - this.ptr_nodetree = ptr_nodetree; - this.ptr_ipo = ptr_ipo; + this.preview = preview; + this.nodetree = nodetree; + this.ipo = ipo; this.energy = energy; this._pad2 = _pad2; } diff --git a/BlendFile/DNA/LaplacianDeformModifierData.cs b/BlendFile/DNA/LaplacianDeformModifierData.cs index 8b81bdc..a1b9c71 100644 --- a/BlendFile/DNA/LaplacianDeformModifierData.cs +++ b/BlendFile/DNA/LaplacianDeformModifierData.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(504, "LaplacianDeformModifierData", 216)] public class LaplacianDeformModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "anchor_grp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "anchor_grp_name[64]", "System.Char[]", false, 120)] public char[] anchor_grp_name = new System.Char[64]; - [DNAFieldAttribute(2, "int", "total_verts", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 2, "total_verts", "int", false, 184)] public int total_verts; - [DNAFieldAttribute(3, "int", "repeat", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 3, "repeat", "int", false, 188)] public int repeat; - [DNAFieldAttribute(4, "float", "*vertexco", "float", 8, true, 192)] - public float ptr_vertexco; - [DNAFieldAttribute(5, "void", "*cache_system", "void", 8, true, 200)] - public object ptr_cache_system; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 208)] + [DNAFieldAttribute(8, "float", 4, "*vertexco", "float", true, 192)] + public float vertexco; + [DNAFieldAttribute(8, "void", 5, "*cache_system", "void", true, 200)] + public object cache_system; + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 208)] public short flag; - [DNAFieldAttribute(7, "char", "_pad[6]", "System.Char[]", 6, false, 210)] + [DNAFieldAttribute(6, "char", 7, "_pad[6]", "System.Char[]", false, 210)] 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.vertexco = default; + this.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) { + public LaplacianDeformModifierData(ModifierData modifier, char[] anchor_grp_name, int total_verts, int repeat, float vertexco, object cache_system, short flag, char[] _pad) { this.modifier = modifier; this.anchor_grp_name = anchor_grp_name; this.total_verts = total_verts; this.repeat = repeat; - this.ptr_vertexco = ptr_vertexco; - this.ptr_cache_system = ptr_cache_system; + this.vertexco = vertexco; + this.cache_system = cache_system; this.flag = flag; this._pad = _pad; } diff --git a/BlendFile/DNA/LaplacianSmoothModifierData.cs b/BlendFile/DNA/LaplacianSmoothModifierData.cs index 5a5cbde..cd64d51 100644 --- a/BlendFile/DNA/LaplacianSmoothModifierData.cs +++ b/BlendFile/DNA/LaplacianSmoothModifierData.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(499, "LaplacianSmoothModifierData", 200)] - public struct LaplacianSmoothModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class LaplacianSmoothModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "lambda", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "lambda", "float", false, 120)] public float lambda; - [DNAFieldAttribute(2, "float", "lambda_border", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 2, "lambda_border", "float", false, 124)] public float lambda_border; - [DNAFieldAttribute(3, "char", "_pad1[4]", "System.Char[]", 4, false, 128)] + [DNAFieldAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", false, 128)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(4, "char", "defgrp_name[64]", "System.Char[]", 64, false, 132)] + [DNAFieldAttribute(64, "char", 4, "defgrp_name[64]", "System.Char[]", false, 132)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 196)] public short flag; - [DNAFieldAttribute(6, "short", "repeat", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 6, "repeat", "short", false, 198)] public short repeat; public LaplacianSmoothModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/Lattice.cs b/BlendFile/DNA/Lattice.cs index b6b5811..2aa2b45 100644 --- a/BlendFile/DNA/Lattice.cs +++ b/BlendFile/DNA/Lattice.cs @@ -15,69 +15,69 @@ namespace BlendFile.DNA { [DNAClassAttribute(338, "Lattice", 400)] public class Lattice { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "short", "pntsu", "short", 2, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(2, "short", 2, "pntsu", "short", false, 216)] public short pntsu; - [DNAFieldAttribute(3, "short", "pntsv", "short", 2, false, 218)] + [DNAFieldAttribute(2, "short", 3, "pntsv", "short", false, 218)] public short pntsv; - [DNAFieldAttribute(4, "short", "pntsw", "short", 2, false, 220)] + [DNAFieldAttribute(2, "short", 4, "pntsw", "short", false, 220)] public short pntsw; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 222)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 222)] public short flag; - [DNAFieldAttribute(6, "short", "opntsu", "short", 2, false, 224)] + [DNAFieldAttribute(2, "short", 6, "opntsu", "short", false, 224)] public short opntsu; - [DNAFieldAttribute(7, "short", "opntsv", "short", 2, false, 226)] + [DNAFieldAttribute(2, "short", 7, "opntsv", "short", false, 226)] public short opntsv; - [DNAFieldAttribute(8, "short", "opntsw", "short", 2, false, 228)] + [DNAFieldAttribute(2, "short", 8, "opntsw", "short", false, 228)] public short opntsw; - [DNAFieldAttribute(9, "char", "_pad2[3]", "System.Char[]", 3, false, 230)] + [DNAFieldAttribute(3, "char", 9, "_pad2[3]", "System.Char[]", false, 230)] public char[] _pad2 = new System.Char[3]; - [DNAFieldAttribute(10, "char", "typeu", "char", 1, false, 233)] + [DNAFieldAttribute(1, "char", 10, "typeu", "char", false, 233)] public char typeu; - [DNAFieldAttribute(11, "char", "typev", "char", 1, false, 234)] + [DNAFieldAttribute(1, "char", 11, "typev", "char", false, 234)] public char typev; - [DNAFieldAttribute(12, "char", "typew", "char", 1, false, 235)] + [DNAFieldAttribute(1, "char", 12, "typew", "char", false, 235)] public char typew; - [DNAFieldAttribute(13, "int", "actbp", "int", 4, false, 236)] + [DNAFieldAttribute(4, "int", 13, "actbp", "int", false, 236)] public int actbp; - [DNAFieldAttribute(14, "float", "fu", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 14, "fu", "float", false, 240)] public float fu; - [DNAFieldAttribute(15, "float", "fv", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 15, "fv", "float", false, 244)] public float fv; - [DNAFieldAttribute(16, "float", "fw", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 16, "fw", "float", false, 248)] public float fw; - [DNAFieldAttribute(17, "float", "du", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 17, "du", "float", false, 252)] public float du; - [DNAFieldAttribute(18, "float", "dv", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 18, "dv", "float", false, 256)] public float dv; - [DNAFieldAttribute(19, "float", "dw", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 19, "dw", "float", false, 260)] public float dw; - [DNAFieldAttribute(20, "BPoint", "*def", "BPoint", 8, true, 264)] - public BPoint ptr_def; - [DNAFieldAttribute(21, "Ipo", "*ipo", "Ipo", 8, true, 272)] - public Ipo ptr_ipo; - [DNAFieldAttribute(22, "Key", "*key", "Key", 8, true, 280)] - public Key ptr_key; - [DNAFieldAttribute(23, "MDeformVert", "*dvert", "MDeformVert", 8, true, 288)] - public MDeformVert ptr_dvert; - [DNAFieldAttribute(24, "char", "vgroup[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(8, "BPoint", 20, "*def", "BPoint", true, 264)] + public BPoint def; + [DNAFieldAttribute(8, "Ipo", 21, "*ipo", "Ipo", true, 272)] + public Ipo ipo; + [DNAFieldAttribute(8, "Key", 22, "*key", "Key", true, 280)] + public Key key; + [DNAFieldAttribute(8, "MDeformVert", 23, "*dvert", "MDeformVert", true, 288)] + public MDeformVert dvert; + [DNAFieldAttribute(64, "char", 24, "vgroup[64]", "System.Char[]", false, 296)] public char[] vgroup = new System.Char[64]; - [DNAFieldAttribute(25, "ListBase", "vertex_group_names", "ListBase", 16, false, 360)] + [DNAFieldAttribute(16, "ListBase", 25, "vertex_group_names", "ListBase", false, 360)] public ListBase vertex_group_names; - [DNAFieldAttribute(26, "int", "vertex_group_active_index", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 26, "vertex_group_active_index", "int", false, 376)] public int vertex_group_active_index; - [DNAFieldAttribute(27, "char", "_pad0[4]", "System.Char[]", 4, false, 380)] + [DNAFieldAttribute(4, "char", 27, "_pad0[4]", "System.Char[]", false, 380)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(28, "EditLatt", "*editlatt", "EditLatt", 8, true, 384)] - public EditLatt ptr_editlatt; - [DNAFieldAttribute(29, "void", "*batch_cache", "void", 8, true, 392)] - public object ptr_batch_cache; + [DNAFieldAttribute(8, "EditLatt", 28, "*editlatt", "EditLatt", true, 384)] + public EditLatt editlatt; + [DNAFieldAttribute(8, "void", 29, "*batch_cache", "void", true, 392)] + public object batch_cache; public Lattice() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.pntsu = default; this.pntsv = default; this.pntsw = default; @@ -96,20 +96,20 @@ namespace BlendFile.DNA { 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.def = default; + this.ipo = default; + this.key = default; + this.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; + this.editlatt = default; + this.batch_cache = default; } public Lattice( ID id, - AnimData ptr_adt, + AnimData adt, short pntsu, short pntsv, short pntsw, @@ -128,18 +128,18 @@ namespace BlendFile.DNA { float du, float dv, float dw, - BPoint ptr_def, - Ipo ptr_ipo, - Key ptr_key, - MDeformVert ptr_dvert, + BPoint def, + Ipo ipo, + Key key, + MDeformVert dvert, char[] vgroup, ListBase vertex_group_names, int vertex_group_active_index, char[] _pad0, - EditLatt ptr_editlatt, - object ptr_batch_cache) { + EditLatt editlatt, + object batch_cache) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.pntsu = pntsu; this.pntsv = pntsv; this.pntsw = pntsw; @@ -158,16 +158,16 @@ namespace BlendFile.DNA { this.du = du; this.dv = dv; this.dw = dw; - this.ptr_def = ptr_def; - this.ptr_ipo = ptr_ipo; - this.ptr_key = ptr_key; - this.ptr_dvert = ptr_dvert; + this.def = def; + this.ipo = ipo; + this.key = key; + this.dvert = dvert; this.vgroup = vgroup; this.vertex_group_names = vertex_group_names; this.vertex_group_active_index = vertex_group_active_index; this._pad0 = _pad0; - this.ptr_editlatt = ptr_editlatt; - this.ptr_batch_cache = ptr_batch_cache; + this.editlatt = editlatt; + this.batch_cache = batch_cache; } } } diff --git a/BlendFile/DNA/LatticeGpencilModifierData.cs b/BlendFile/DNA/LatticeGpencilModifierData.cs index a670ab4..6b80433 100644 --- a/BlendFile/DNA/LatticeGpencilModifierData.cs +++ b/BlendFile/DNA/LatticeGpencilModifierData.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(286, "LatticeGpencilModifierData", 336)] public class LatticeGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 112)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "layername[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(4, "char", "materialname[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 184)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(5, "char", "vgname[64]", "System.Char[]", 64, false, 248)] + [DNAFieldAttribute(64, "char", 5, "vgname[64]", "System.Char[]", false, 248)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(6, "int", "pass_index", "int", 4, false, 312)] + [DNAFieldAttribute(4, "int", 6, "pass_index", "int", false, 312)] public int pass_index; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 316)] public int flag; - [DNAFieldAttribute(8, "float", "strength", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 8, "strength", "float", false, 320)] public float strength; - [DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 324)] public int layer_pass; - [DNAFieldAttribute(10, "LatticeDeformData", "*cache_data", "LatticeDeformData", 8, true, 328)] - public LatticeDeformData ptr_cache_data; + [DNAFieldAttribute(8, "LatticeDeformData", 10, "*cache_data", "LatticeDeformData", true, 328)] + public LatticeDeformData cache_data; public LatticeGpencilModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_material = default; + this.@object = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -48,12 +48,12 @@ namespace BlendFile.DNA { this.flag = default; this.strength = default; this.layer_pass = default; - this.ptr_cache_data = default; + this.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) { + public LatticeGpencilModifierData(GpencilModifierData modifier, Object @object, Material material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float strength, int layer_pass, LatticeDeformData cache_data) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_material = ptr_material; + this.@object = @object; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.flag = flag; this.strength = strength; this.layer_pass = layer_pass; - this.ptr_cache_data = ptr_cache_data; + this.cache_data = cache_data; } } } diff --git a/BlendFile/DNA/LatticeModifierData.cs b/BlendFile/DNA/LatticeModifierData.cs index d2745f3..c926426 100644 --- a/BlendFile/DNA/LatticeModifierData.cs +++ b/BlendFile/DNA/LatticeModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(447, "LatticeModifierData", 208)] public class LatticeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 128)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "float", "strength", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 3, "strength", "float", false, 192)] public float strength; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 196)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 198)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 198)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true, 200)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)] + public object _pad1; public LatticeModifierData() { this.modifier = default; - this.ptr_object = default; + this.@object = default; this.name = default; this.strength = default; this.flag = default; this._pad = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public LatticeModifierData(ModifierData modifier, Object ptr_object, char[] name, float strength, short flag, char[] _pad, object ptr__pad1) { + public LatticeModifierData(ModifierData modifier, Object @object, char[] name, float strength, short flag, char[] _pad, object _pad1) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.name = name; this.strength = strength; this.flag = flag; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/LayerCollection.cs b/BlendFile/DNA/LayerCollection.cs index 4324afd..0ac5a86 100644 --- a/BlendFile/DNA/LayerCollection.cs +++ b/BlendFile/DNA/LayerCollection.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(343, "LayerCollection", 64)] public class LayerCollection { - [DNAFieldAttribute(0, "LayerCollection", "*next", "LayerCollection", 8, true, 0)] - public LayerCollection ptr_next; - [DNAFieldAttribute(1, "LayerCollection", "*prev", "LayerCollection", 8, true, 8)] - public LayerCollection ptr_prev; - [DNAFieldAttribute(2, "Collection", "*collection", "Collection", 8, true, 16)] - public Collection ptr_collection; - [DNAFieldAttribute(3, "void", "*_pad1", "void", 8, true, 24)] - public object ptr__pad1; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 32)] + [DNAFieldAttribute(8, "LayerCollection", 0, "*next", "LayerCollection", true, 0)] + public LayerCollection next; + [DNAFieldAttribute(8, "LayerCollection", 1, "*prev", "LayerCollection", true, 8)] + public LayerCollection prev; + [DNAFieldAttribute(8, "Collection", 2, "*collection", "Collection", true, 16)] + public Collection collection; + [DNAFieldAttribute(8, "void", 3, "*_pad1", "void", true, 24)] + public object _pad1; + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 32)] public short flag; - [DNAFieldAttribute(5, "short", "runtime_flag", "short", 2, false, 34)] + [DNAFieldAttribute(2, "short", 5, "runtime_flag", "short", false, 34)] public short runtime_flag; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 36)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(7, "ListBase", "layer_collections", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 7, "layer_collections", "ListBase", false, 40)] public ListBase layer_collections; - [DNAFieldAttribute(8, "short", "local_collections_bits", "short", 2, false, 56)] + [DNAFieldAttribute(2, "short", 8, "local_collections_bits", "short", false, 56)] public short local_collections_bits; - [DNAFieldAttribute(9, "short", "_pad2[3]", "System.Int16[]", 6, false, 58)] + [DNAFieldAttribute(6, "short", 9, "_pad2[3]", "System.Int16[]", false, 58)] 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.next = default; + this.prev = default; + this.collection = default; + this._pad1 = default; this.flag = default; this.runtime_flag = default; this._pad = default; @@ -47,11 +47,11 @@ namespace BlendFile.DNA { 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; - this.ptr_collection = ptr_collection; - this.ptr__pad1 = ptr__pad1; + public LayerCollection(LayerCollection next, LayerCollection prev, Collection collection, object _pad1, short flag, short runtime_flag, char[] _pad, ListBase layer_collections, short local_collections_bits, short[] _pad2) { + this.next = next; + this.prev = prev; + this.collection = collection; + this._pad1 = _pad1; this.flag = flag; this.runtime_flag = runtime_flag; this._pad = _pad; diff --git a/BlendFile/DNA/LayoutPanelState.cs b/BlendFile/DNA/LayoutPanelState.cs index 1230586..cc4fa43 100644 --- a/BlendFile/DNA/LayoutPanelState.cs +++ b/BlendFile/DNA/LayoutPanelState.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(849, "LayoutPanelState", 32)] public class LayoutPanelState { - [DNAFieldAttribute(0, "LayoutPanelState", "*next", "LayoutPanelState", 8, true, 0)] - public LayoutPanelState ptr_next; - [DNAFieldAttribute(1, "LayoutPanelState", "*prev", "LayoutPanelState", 8, true, 8)] - public LayoutPanelState ptr_prev; - [DNAFieldAttribute(2, "char", "*idname", "char", 8, true, 16)] - public char ptr_idname; - [DNAFieldAttribute(3, "uchar", "flag", "uchar", 1, false, 24)] + [DNAFieldAttribute(8, "LayoutPanelState", 0, "*next", "LayoutPanelState", true, 0)] + public LayoutPanelState next; + [DNAFieldAttribute(8, "LayoutPanelState", 1, "*prev", "LayoutPanelState", true, 8)] + public LayoutPanelState prev; + [DNAFieldAttribute(8, "char", 2, "*idname", "char", true, 16)] + public char idname; + [DNAFieldAttribute(1, "uchar", 3, "flag", "uchar", false, 24)] public byte flag; - [DNAFieldAttribute(4, "char", "_pad[7]", "System.Char[]", 7, false, 25)] + [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 25)] public char[] _pad = new System.Char[7]; public LayoutPanelState() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_idname = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_idname = ptr_idname; + public LayoutPanelState(LayoutPanelState next, LayoutPanelState prev, char idname, byte flag, char[] _pad) { + this.next = next; + this.prev = prev; + this.idname = idname; this.flag = flag; this._pad = _pad; } diff --git a/BlendFile/DNA/LengthGpencilModifierData.cs b/BlendFile/DNA/LengthGpencilModifierData.cs index 2b4db7e..562db90 100644 --- a/BlendFile/DNA/LengthGpencilModifierData.cs +++ b/BlendFile/DNA/LengthGpencilModifierData.cs @@ -15,47 +15,47 @@ namespace BlendFile.DNA { [DNAClassAttribute(288, "LengthGpencilModifierData", 240)] public class LengthGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "int", "pass_index", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)] public int pass_index; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 180)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 180)] public int flag; - [DNAFieldAttribute(5, "int", "layer_pass", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 5, "layer_pass", "int", false, 184)] public int layer_pass; - [DNAFieldAttribute(6, "float", "start_fac", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 6, "start_fac", "float", false, 188)] public float start_fac; - [DNAFieldAttribute(7, "float", "end_fac", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 7, "end_fac", "float", false, 192)] public float end_fac; - [DNAFieldAttribute(8, "float", "rand_start_fac", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 8, "rand_start_fac", "float", false, 196)] public float rand_start_fac; - [DNAFieldAttribute(9, "float", "rand_end_fac", "float", 4, false, 200)] + [DNAFieldAttribute(4, "float", 9, "rand_end_fac", "float", false, 200)] public float rand_end_fac; - [DNAFieldAttribute(10, "float", "rand_offset", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 10, "rand_offset", "float", false, 204)] public float rand_offset; - [DNAFieldAttribute(11, "float", "overshoot_fac", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 11, "overshoot_fac", "float", false, 208)] public float overshoot_fac; - [DNAFieldAttribute(12, "int", "seed", "int", 4, false, 212)] + [DNAFieldAttribute(4, "int", 12, "seed", "int", false, 212)] public int seed; - [DNAFieldAttribute(13, "int", "step", "int", 4, false, 216)] + [DNAFieldAttribute(4, "int", 13, "step", "int", false, 216)] public int step; - [DNAFieldAttribute(14, "int", "mode", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 14, "mode", "int", false, 220)] public int mode; - [DNAFieldAttribute(15, "char", "_pad[4]", "System.Char[]", 4, false, 224)] + [DNAFieldAttribute(4, "char", 15, "_pad[4]", "System.Char[]", false, 224)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(16, "float", "point_density", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 16, "point_density", "float", false, 228)] public float point_density; - [DNAFieldAttribute(17, "float", "segment_influence", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 17, "segment_influence", "float", false, 232)] public float segment_influence; - [DNAFieldAttribute(18, "float", "max_angle", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 18, "max_angle", "float", false, 236)] public float max_angle; public LengthGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.pass_index = default; this.flag = default; @@ -76,7 +76,7 @@ namespace BlendFile.DNA { } public LengthGpencilModifierData( GpencilModifierData modifier, - Material ptr_material, + Material material, char[] layername, int pass_index, int flag, @@ -95,7 +95,7 @@ namespace BlendFile.DNA { float segment_influence, float max_angle) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.pass_index = pass_index; this.flag = flag; diff --git a/BlendFile/DNA/Library.cs b/BlendFile/DNA/Library.cs index 6f8c1fa..4a488c2 100644 --- a/BlendFile/DNA/Library.cs +++ b/BlendFile/DNA/Library.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(34, "Library", 2304)] public class Library { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "char", "name[1024]", "System.Char[]", 1024, false, 208)] + [DNAFieldAttribute(1024, "char", 1, "name[1024]", "System.Char[]", false, 208)] public char[] name = new System.Char[1024]; - [DNAFieldAttribute(2, "PackedFile", "*packedfile", "PackedFile", 8, true, 1232)] - public PackedFile ptr_packedfile; - [DNAFieldAttribute(3, "Library_Runtime", "runtime", "Library_Runtime", 1064, false, 1240)] + [DNAFieldAttribute(8, "PackedFile", 2, "*packedfile", "PackedFile", true, 1232)] + public PackedFile packedfile; + [DNAFieldAttribute(1064, "Library_Runtime", 3, "runtime", "Library_Runtime", false, 1240)] public Library_Runtime runtime; public Library() { this.id = default; this.name = default; - this.ptr_packedfile = default; + this.packedfile = default; this.runtime = default; } - public Library(ID id, char[] name, PackedFile ptr_packedfile, Library_Runtime runtime) { + public Library(ID id, char[] name, PackedFile packedfile, Library_Runtime runtime) { this.id = id; this.name = name; - this.ptr_packedfile = ptr_packedfile; + this.packedfile = packedfile; this.runtime = runtime; } } diff --git a/BlendFile/DNA/LibraryWeakReference.cs b/BlendFile/DNA/LibraryWeakReference.cs index 99f4848..8fe4068 100644 --- a/BlendFile/DNA/LibraryWeakReference.cs +++ b/BlendFile/DNA/LibraryWeakReference.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(36, "LibraryWeakReference", 1092)] - public struct LibraryWeakReference { - [DNAFieldAttribute(0, "char", "library_filepath[1024]", "System.Char[]", 1024, false, 0)] + public class LibraryWeakReference { + [DNAFieldAttribute(1024, "char", 0, "library_filepath[1024]", "System.Char[]", false, 0)] public char[] library_filepath = new System.Char[1024]; - [DNAFieldAttribute(1, "char", "library_id_name[66]", "System.Char[]", 66, false, 1024)] + [DNAFieldAttribute(66, "char", 1, "library_id_name[66]", "System.Char[]", false, 1024)] public char[] library_id_name = new System.Char[66]; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 1090)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 1090)] public char[] _pad = new System.Char[2]; public LibraryWeakReference() { this.library_filepath = default; diff --git a/BlendFile/DNA/Library_Runtime.cs b/BlendFile/DNA/Library_Runtime.cs index a675f20..225f0f9 100644 --- a/BlendFile/DNA/Library_Runtime.cs +++ b/BlendFile/DNA/Library_Runtime.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(37, "Library_Runtime", 1064)] public class Library_Runtime { - [DNAFieldAttribute(0, "UniqueName_Map", "*name_map", "UniqueName_Map", 8, true, 0)] - public UniqueName_Map ptr_name_map; - [DNAFieldAttribute(1, "FileData", "*filedata", "FileData", 8, true, 8)] - public FileData ptr_filedata; - [DNAFieldAttribute(2, "char", "filepath_abs[1024]", "System.Char[]", 1024, false, 16)] + [DNAFieldAttribute(8, "UniqueName_Map", 0, "*name_map", "UniqueName_Map", true, 0)] + public UniqueName_Map name_map; + [DNAFieldAttribute(8, "FileData", 1, "*filedata", "FileData", true, 8)] + public FileData filedata; + [DNAFieldAttribute(1024, "char", 2, "filepath_abs[1024]", "System.Char[]", false, 16)] public char[] filepath_abs = new System.Char[1024]; - [DNAFieldAttribute(3, "Library", "*parent", "Library", 8, true, 1040)] - public Library ptr_parent; - [DNAFieldAttribute(4, "ushort", "tag", "ushort", 2, false, 1048)] + [DNAFieldAttribute(8, "Library", 3, "*parent", "Library", true, 1040)] + public Library parent; + [DNAFieldAttribute(2, "ushort", 4, "tag", "ushort", false, 1048)] public ushort tag; - [DNAFieldAttribute(5, "char", "_pad[6]", "System.Char[]", 6, false, 1050)] + [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 1050)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(6, "int", "temp_index", "int", 4, false, 1056)] + [DNAFieldAttribute(4, "int", 6, "temp_index", "int", false, 1056)] public int temp_index; - [DNAFieldAttribute(7, "short", "versionfile", "short", 2, false, 1060)] + [DNAFieldAttribute(2, "short", 7, "versionfile", "short", false, 1060)] public short versionfile; - [DNAFieldAttribute(8, "short", "subversionfile", "short", 2, false, 1062)] + [DNAFieldAttribute(2, "short", 8, "subversionfile", "short", false, 1062)] public short subversionfile; public Library_Runtime() { - this.ptr_name_map = default; - this.ptr_filedata = default; + this.name_map = default; + this.filedata = default; this.filepath_abs = default; - this.ptr_parent = default; + this.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; + public Library_Runtime(UniqueName_Map name_map, FileData filedata, char[] filepath_abs, Library parent, ushort tag, char[] _pad, int temp_index, short versionfile, short subversionfile) { + this.name_map = name_map; + this.filedata = filedata; this.filepath_abs = filepath_abs; - this.ptr_parent = ptr_parent; + this.parent = parent; this.tag = tag; this._pad = _pad; this.temp_index = temp_index; diff --git a/BlendFile/DNA/LightCache.cs b/BlendFile/DNA/LightCache.cs index 8ac09a3..232375a 100644 --- a/BlendFile/DNA/LightCache.cs +++ b/BlendFile/DNA/LightCache.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(356, "LightCache", 128)] public class LightCache { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "int", "version", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "version", "int", false, 4)] public int version; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 8)] public int type; - [DNAFieldAttribute(3, "int", "cube_len", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "cube_len", "int", false, 12)] public int cube_len; - [DNAFieldAttribute(4, "int", "grid_len", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "grid_len", "int", false, 16)] public int grid_len; - [DNAFieldAttribute(5, "int", "mips_len", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "mips_len", "int", false, 20)] public int mips_len; - [DNAFieldAttribute(6, "int", "vis_res", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "vis_res", "int", false, 24)] public int vis_res; - [DNAFieldAttribute(7, "int", "ref_res", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "ref_res", "int", false, 28)] public int ref_res; - [DNAFieldAttribute(8, "char", "_pad[4][2]", "System.Char[,]", 8, false, 32)] + [DNAFieldAttribute(8, "char", 8, "_pad[4][2]", "System.Char[,]", false, 32)] public char[,] _pad = new System.Char[4,2]; - [DNAFieldAttribute(9, "LightCacheTexture", "grid_tx", "LightCacheTexture", 32, false, 40)] + [DNAFieldAttribute(32, "LightCacheTexture", 9, "grid_tx", "LightCacheTexture", false, 40)] public LightCacheTexture grid_tx; - [DNAFieldAttribute(10, "LightCacheTexture", "cube_tx", "LightCacheTexture", 32, false, 72)] + [DNAFieldAttribute(32, "LightCacheTexture", 10, "cube_tx", "LightCacheTexture", false, 72)] public LightCacheTexture cube_tx; - [DNAFieldAttribute(11, "LightCacheTexture", "*cube_mips", "LightCacheTexture", 8, true, 104)] - public LightCacheTexture ptr_cube_mips; - [DNAFieldAttribute(12, "LightProbeCache", "*cube_data", "LightProbeCache", 8, true, 112)] - public LightProbeCache ptr_cube_data; - [DNAFieldAttribute(13, "LightGridCache", "*grid_data", "LightGridCache", 8, true, 120)] - public LightGridCache ptr_grid_data; + [DNAFieldAttribute(8, "LightCacheTexture", 11, "*cube_mips", "LightCacheTexture", true, 104)] + public LightCacheTexture cube_mips; + [DNAFieldAttribute(8, "LightProbeCache", 12, "*cube_data", "LightProbeCache", true, 112)] + public LightProbeCache cube_data; + [DNAFieldAttribute(8, "LightGridCache", 13, "*grid_data", "LightGridCache", true, 120)] + public LightGridCache grid_data; public LightCache() { this.flag = default; this.version = default; @@ -55,11 +55,11 @@ namespace BlendFile.DNA { 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; + this.cube_mips = default; + this.cube_data = default; + this.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) { + 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 cube_mips, LightProbeCache cube_data, LightGridCache grid_data) { this.flag = flag; this.version = version; this.type = type; @@ -71,9 +71,9 @@ namespace BlendFile.DNA { this._pad = _pad; this.grid_tx = grid_tx; this.cube_tx = cube_tx; - this.ptr_cube_mips = ptr_cube_mips; - this.ptr_cube_data = ptr_cube_data; - this.ptr_grid_data = ptr_grid_data; + this.cube_mips = cube_mips; + this.cube_data = cube_data; + this.grid_data = grid_data; } } } diff --git a/BlendFile/DNA/LightCacheTexture.cs b/BlendFile/DNA/LightCacheTexture.cs index 4c1fe24..2600d60 100644 --- a/BlendFile/DNA/LightCacheTexture.cs +++ b/BlendFile/DNA/LightCacheTexture.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(355, "LightCacheTexture", 32)] public class LightCacheTexture { - [DNAFieldAttribute(0, "GPUTexture", "*tex", "GPUTexture", 8, true, 0)] - public GPUTexture ptr_tex; - [DNAFieldAttribute(1, "char", "*data", "char", 8, true, 8)] - public char ptr_data; - [DNAFieldAttribute(2, "int", "tex_size[3]", "System.Int32[]", 12, false, 16)] + [DNAFieldAttribute(8, "GPUTexture", 0, "*tex", "GPUTexture", true, 0)] + public GPUTexture tex; + [DNAFieldAttribute(8, "char", 1, "*data", "char", true, 8)] + public char data; + [DNAFieldAttribute(12, "int", 2, "tex_size[3]", "System.Int32[]", false, 16)] public int[] tex_size = new System.Int32[3]; - [DNAFieldAttribute(3, "char", "data_type", "char", 1, false, 28)] + [DNAFieldAttribute(1, "char", 3, "data_type", "char", false, 28)] public char data_type; - [DNAFieldAttribute(4, "char", "components", "char", 1, false, 29)] + [DNAFieldAttribute(1, "char", 4, "components", "char", false, 29)] public char components; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 30)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 30)] public char[] _pad = new System.Char[2]; public LightCacheTexture() { - this.ptr_tex = default; - this.ptr_data = default; + this.tex = default; + this.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; + public LightCacheTexture(GPUTexture tex, char data, int[] tex_size, char data_type, char components, char[] _pad) { + this.tex = tex; + this.data = data; this.tex_size = tex_size; this.data_type = data_type; this.components = components; diff --git a/BlendFile/DNA/LightGridCache.cs b/BlendFile/DNA/LightGridCache.cs index 87acea8..f0d03ab 100644 --- a/BlendFile/DNA/LightGridCache.cs +++ b/BlendFile/DNA/LightGridCache.cs @@ -14,36 +14,36 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(354, "LightGridCache", 160)] - public struct LightGridCache { - [DNAFieldAttribute(0, "float", "mat[4][4]", "System.Single[,]", 64, false, 0)] + public class LightGridCache { + [DNAFieldAttribute(64, "float", 0, "mat[4][4]", "System.Single[,]", false, 0)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(1, "int", "resolution[3]", "System.Int32[]", 12, false, 64)] + [DNAFieldAttribute(12, "int", 1, "resolution[3]", "System.Int32[]", false, 64)] public int[] resolution = new System.Int32[3]; - [DNAFieldAttribute(2, "int", "offset", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 2, "offset", "int", false, 76)] public int offset; - [DNAFieldAttribute(3, "float", "corner[3]", "System.Single[]", 12, false, 80)] + [DNAFieldAttribute(12, "float", 3, "corner[3]", "System.Single[]", false, 80)] public float[] corner = new System.Single[3]; - [DNAFieldAttribute(4, "float", "attenuation_scale", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 4, "attenuation_scale", "float", false, 92)] public float attenuation_scale; - [DNAFieldAttribute(5, "float", "increment_x[3]", "System.Single[]", 12, false, 96)] + [DNAFieldAttribute(12, "float", 5, "increment_x[3]", "System.Single[]", false, 96)] public float[] increment_x = new System.Single[3]; - [DNAFieldAttribute(6, "float", "attenuation_bias", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 6, "attenuation_bias", "float", false, 108)] public float attenuation_bias; - [DNAFieldAttribute(7, "float", "increment_y[3]", "System.Single[]", 12, false, 112)] + [DNAFieldAttribute(12, "float", 7, "increment_y[3]", "System.Single[]", false, 112)] public float[] increment_y = new System.Single[3]; - [DNAFieldAttribute(8, "float", "level_bias", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 8, "level_bias", "float", false, 124)] public float level_bias; - [DNAFieldAttribute(9, "float", "increment_z[3]", "System.Single[]", 12, false, 128)] + [DNAFieldAttribute(12, "float", 9, "increment_z[3]", "System.Single[]", false, 128)] public float[] increment_z = new System.Single[3]; - [DNAFieldAttribute(10, "float", "_pad4", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 10, "_pad4", "float", false, 140)] public float _pad4; - [DNAFieldAttribute(11, "float", "visibility_bias", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 11, "visibility_bias", "float", false, 144)] public float visibility_bias; - [DNAFieldAttribute(12, "float", "visibility_bleed", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 12, "visibility_bleed", "float", false, 148)] public float visibility_bleed; - [DNAFieldAttribute(13, "float", "visibility_range", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 13, "visibility_range", "float", false, 152)] public float visibility_range; - [DNAFieldAttribute(14, "float", "_pad5", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 14, "_pad5", "float", false, 156)] public float _pad5; public LightGridCache() { this.mat = default; diff --git a/BlendFile/DNA/LightLinking.cs b/BlendFile/DNA/LightLinking.cs index 5c19606..0c1888c 100644 --- a/BlendFile/DNA/LightLinking.cs +++ b/BlendFile/DNA/LightLinking.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(768, "LightLinking", 40)] public class LightLinking { - [DNAFieldAttribute(0, "Collection", "*receiver_collection", "Collection", 8, true, 0)] - public Collection ptr_receiver_collection; - [DNAFieldAttribute(1, "Collection", "*blocker_collection", "Collection", 8, true, 8)] - public Collection ptr_blocker_collection; - [DNAFieldAttribute(2, "LightLinkingRuntime", "runtime", "LightLinkingRuntime", 24, false, 16)] + [DNAFieldAttribute(8, "Collection", 0, "*receiver_collection", "Collection", true, 0)] + public Collection receiver_collection; + [DNAFieldAttribute(8, "Collection", 1, "*blocker_collection", "Collection", true, 8)] + public Collection blocker_collection; + [DNAFieldAttribute(24, "LightLinkingRuntime", 2, "runtime", "LightLinkingRuntime", false, 16)] public LightLinkingRuntime runtime; public LightLinking() { - this.ptr_receiver_collection = default; - this.ptr_blocker_collection = default; + this.receiver_collection = default; + this.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; + public LightLinking(Collection receiver_collection, Collection blocker_collection, LightLinkingRuntime runtime) { + this.receiver_collection = receiver_collection; + this.blocker_collection = blocker_collection; this.runtime = runtime; } } diff --git a/BlendFile/DNA/LightLinkingRuntime.cs b/BlendFile/DNA/LightLinkingRuntime.cs index 3ccf6b1..83a3738 100644 --- a/BlendFile/DNA/LightLinkingRuntime.cs +++ b/BlendFile/DNA/LightLinkingRuntime.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(767, "LightLinkingRuntime", 24)] - public struct LightLinkingRuntime { - [DNAFieldAttribute(0, "uint64_t", "light_set_membership", "uint64_t", 8, false, 0)] + public class LightLinkingRuntime { + [DNAFieldAttribute(8, "uint64_t", 0, "light_set_membership", "uint64_t", false, 0)] public ulong light_set_membership; - [DNAFieldAttribute(1, "uint64_t", "shadow_set_membership", "uint64_t", 8, false, 8)] + [DNAFieldAttribute(8, "uint64_t", 1, "shadow_set_membership", "uint64_t", false, 8)] public ulong shadow_set_membership; - [DNAFieldAttribute(2, "uchar", "receiver_light_set", "uchar", 1, false, 16)] + [DNAFieldAttribute(1, "uchar", 2, "receiver_light_set", "uchar", false, 16)] public byte receiver_light_set; - [DNAFieldAttribute(3, "uchar", "blocker_shadow_set", "uchar", 1, false, 17)] + [DNAFieldAttribute(1, "uchar", 3, "blocker_shadow_set", "uchar", false, 17)] public byte blocker_shadow_set; - [DNAFieldAttribute(4, "uchar", "_pad[6]", "System.Byte[]", 6, false, 18)] + [DNAFieldAttribute(6, "uchar", 4, "_pad[6]", "System.Byte[]", false, 18)] public byte[] _pad = new System.Byte[6]; public LightLinkingRuntime() { this.light_set_membership = default; diff --git a/BlendFile/DNA/LightProbe.cs b/BlendFile/DNA/LightProbe.cs index 93fb064..efb4b00 100644 --- a/BlendFile/DNA/LightProbe.cs +++ b/BlendFile/DNA/LightProbe.cs @@ -15,79 +15,79 @@ namespace BlendFile.DNA { [DNAClassAttribute(352, "LightProbe", 336)] public class LightProbe { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "char", "type", "char", 1, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(1, "char", 2, "type", "char", false, 216)] public char type; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 217)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 217)] public char flag; - [DNAFieldAttribute(4, "char", "attenuation_type", "char", 1, false, 218)] + [DNAFieldAttribute(1, "char", 4, "attenuation_type", "char", false, 218)] public char attenuation_type; - [DNAFieldAttribute(5, "char", "parallax_type", "char", 1, false, 219)] + [DNAFieldAttribute(1, "char", 5, "parallax_type", "char", false, 219)] public char parallax_type; - [DNAFieldAttribute(6, "char", "grid_flag", "char", 1, false, 220)] + [DNAFieldAttribute(1, "char", 6, "grid_flag", "char", false, 220)] public char grid_flag; - [DNAFieldAttribute(7, "char", "_pad0[3]", "System.Char[]", 3, false, 221)] + [DNAFieldAttribute(3, "char", 7, "_pad0[3]", "System.Char[]", false, 221)] public char[] _pad0 = new System.Char[3]; - [DNAFieldAttribute(8, "float", "distinf", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 8, "distinf", "float", false, 224)] public float distinf; - [DNAFieldAttribute(9, "float", "distpar", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 9, "distpar", "float", false, 228)] public float distpar; - [DNAFieldAttribute(10, "float", "falloff", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 10, "falloff", "float", false, 232)] public float falloff; - [DNAFieldAttribute(11, "float", "clipsta", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 11, "clipsta", "float", false, 236)] public float clipsta; - [DNAFieldAttribute(12, "float", "clipend", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 12, "clipend", "float", false, 240)] public float clipend; - [DNAFieldAttribute(13, "float", "vis_bias", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 13, "vis_bias", "float", false, 244)] public float vis_bias; - [DNAFieldAttribute(14, "float", "vis_bleedbias", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 14, "vis_bleedbias", "float", false, 248)] public float vis_bleedbias; - [DNAFieldAttribute(15, "float", "vis_blur", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 15, "vis_blur", "float", false, 252)] public float vis_blur; - [DNAFieldAttribute(16, "float", "intensity", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 16, "intensity", "float", false, 256)] public float intensity; - [DNAFieldAttribute(17, "int", "grid_resolution_x", "int", 4, false, 260)] + [DNAFieldAttribute(4, "int", 17, "grid_resolution_x", "int", false, 260)] public int grid_resolution_x; - [DNAFieldAttribute(18, "int", "grid_resolution_y", "int", 4, false, 264)] + [DNAFieldAttribute(4, "int", 18, "grid_resolution_y", "int", false, 264)] public int grid_resolution_y; - [DNAFieldAttribute(19, "int", "grid_resolution_z", "int", 4, false, 268)] + [DNAFieldAttribute(4, "int", 19, "grid_resolution_z", "int", false, 268)] public int grid_resolution_z; - [DNAFieldAttribute(20, "int", "grid_bake_samples", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 20, "grid_bake_samples", "int", false, 272)] public int grid_bake_samples; - [DNAFieldAttribute(21, "float", "grid_surface_bias", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 21, "grid_surface_bias", "float", false, 276)] public float grid_surface_bias; - [DNAFieldAttribute(22, "float", "grid_escape_bias", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 22, "grid_escape_bias", "float", false, 280)] public float grid_escape_bias; - [DNAFieldAttribute(23, "float", "grid_normal_bias", "float", 4, false, 284)] + [DNAFieldAttribute(4, "float", 23, "grid_normal_bias", "float", false, 284)] public float grid_normal_bias; - [DNAFieldAttribute(24, "float", "grid_view_bias", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 24, "grid_view_bias", "float", false, 288)] public float grid_view_bias; - [DNAFieldAttribute(25, "float", "grid_facing_bias", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 25, "grid_facing_bias", "float", false, 292)] public float grid_facing_bias; - [DNAFieldAttribute(26, "float", "grid_validity_threshold", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 26, "grid_validity_threshold", "float", false, 296)] public float grid_validity_threshold; - [DNAFieldAttribute(27, "float", "grid_dilation_threshold", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 27, "grid_dilation_threshold", "float", false, 300)] public float grid_dilation_threshold; - [DNAFieldAttribute(28, "float", "grid_dilation_radius", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 28, "grid_dilation_radius", "float", false, 304)] public float grid_dilation_radius; - [DNAFieldAttribute(29, "float", "grid_clamp_direct", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 29, "grid_clamp_direct", "float", false, 308)] public float grid_clamp_direct; - [DNAFieldAttribute(30, "float", "grid_clamp_indirect", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 30, "grid_clamp_indirect", "float", false, 312)] public float grid_clamp_indirect; - [DNAFieldAttribute(31, "int", "grid_surfel_density", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 31, "grid_surfel_density", "int", false, 316)] public int grid_surfel_density; - [DNAFieldAttribute(32, "Collection", "*visibility_grp", "Collection", 8, true, 320)] - public Collection ptr_visibility_grp; - [DNAFieldAttribute(33, "float", "data_display_size", "float", 4, false, 328)] + [DNAFieldAttribute(8, "Collection", 32, "*visibility_grp", "Collection", true, 320)] + public Collection visibility_grp; + [DNAFieldAttribute(4, "float", 33, "data_display_size", "float", false, 328)] public float data_display_size; - [DNAFieldAttribute(34, "char", "_pad1[4]", "System.Char[]", 4, false, 332)] + [DNAFieldAttribute(4, "char", 34, "_pad1[4]", "System.Char[]", false, 332)] public char[] _pad1 = new System.Char[4]; public LightProbe() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.type = default; this.flag = default; this.attenuation_type = default; @@ -118,13 +118,13 @@ namespace BlendFile.DNA { this.grid_clamp_direct = default; this.grid_clamp_indirect = default; this.grid_surfel_density = default; - this.ptr_visibility_grp = default; + this.visibility_grp = default; this.data_display_size = default; this._pad1 = default; } public LightProbe( ID id, - AnimData ptr_adt, + AnimData adt, char type, char flag, char attenuation_type, @@ -155,11 +155,11 @@ namespace BlendFile.DNA { float grid_clamp_direct, float grid_clamp_indirect, int grid_surfel_density, - Collection ptr_visibility_grp, + Collection visibility_grp, float data_display_size, char[] _pad1) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.type = type; this.flag = flag; this.attenuation_type = attenuation_type; @@ -190,7 +190,7 @@ namespace BlendFile.DNA { this.grid_clamp_direct = grid_clamp_direct; this.grid_clamp_indirect = grid_clamp_indirect; this.grid_surfel_density = grid_surfel_density; - this.ptr_visibility_grp = ptr_visibility_grp; + this.visibility_grp = visibility_grp; this.data_display_size = data_display_size; this._pad1 = _pad1; } diff --git a/BlendFile/DNA/LightProbeBakingData.cs b/BlendFile/DNA/LightProbeBakingData.cs index c7368fb..7c84794 100644 --- a/BlendFile/DNA/LightProbeBakingData.cs +++ b/BlendFile/DNA/LightProbeBakingData.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(357, "LightProbeBakingData", 8)] public class LightProbeBakingData { - [DNAFieldAttribute(4, "float", "*validity", "float", 8, true, 0)] - public float ptr_validity; + [DNAFieldAttribute(8, "float", 4, "*validity", "float", true, 0)] + public float validity; public LightProbeBakingData() { - this.ptr_validity = default; + this.validity = default; } - public LightProbeBakingData(float ptr_validity) { - this.ptr_validity = ptr_validity; + public LightProbeBakingData(float validity) { + this.validity = validity; } } } diff --git a/BlendFile/DNA/LightProbeBlockData.cs b/BlendFile/DNA/LightProbeBlockData.cs index b2398a4..316f0ea 100644 --- a/BlendFile/DNA/LightProbeBlockData.cs +++ b/BlendFile/DNA/LightProbeBlockData.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(361, "LightProbeBlockData", 16)] - public struct LightProbeBlockData { - [DNAFieldAttribute(0, "int", "offset[3]", "System.Int32[]", 12, false, 0)] + public class LightProbeBlockData { + [DNAFieldAttribute(12, "int", 0, "offset[3]", "System.Int32[]", false, 0)] public int[] offset = new System.Int32[3]; - [DNAFieldAttribute(1, "int", "level", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 1, "level", "int", false, 12)] public int level; public LightProbeBlockData() { this.offset = default; diff --git a/BlendFile/DNA/LightProbeCache.cs b/BlendFile/DNA/LightProbeCache.cs index 1a4ea09..b9121ef 100644 --- a/BlendFile/DNA/LightProbeCache.cs +++ b/BlendFile/DNA/LightProbeCache.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(353, "LightProbeCache", 160)] - public struct LightProbeCache { - [DNAFieldAttribute(0, "float", "position[3]", "System.Single[]", 12, false, 0)] + public class LightProbeCache { + [DNAFieldAttribute(12, "float", 0, "position[3]", "System.Single[]", false, 0)] public float[] position = new System.Single[3]; - [DNAFieldAttribute(1, "float", "parallax_type", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 1, "parallax_type", "float", false, 12)] public float parallax_type; - [DNAFieldAttribute(2, "float", "attenuation_fac", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 2, "attenuation_fac", "float", false, 16)] public float attenuation_fac; - [DNAFieldAttribute(3, "float", "attenuation_type", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 3, "attenuation_type", "float", false, 20)] public float attenuation_type; - [DNAFieldAttribute(4, "float", "_pad3[2]", "System.Single[]", 8, false, 24)] + [DNAFieldAttribute(8, "float", 4, "_pad3[2]", "System.Single[]", false, 24)] public float[] _pad3 = new System.Single[2]; - [DNAFieldAttribute(5, "float", "attenuationmat[4][4]", "System.Single[,]", 64, false, 32)] + [DNAFieldAttribute(64, "float", 5, "attenuationmat[4][4]", "System.Single[,]", false, 32)] public float[,] attenuationmat = new System.Single[4,4]; - [DNAFieldAttribute(6, "float", "parallaxmat[4][4]", "System.Single[,]", 64, false, 96)] + [DNAFieldAttribute(64, "float", 6, "parallaxmat[4][4]", "System.Single[,]", false, 96)] public float[,] parallaxmat = new System.Single[4,4]; public LightProbeCache() { this.position = default; diff --git a/BlendFile/DNA/LightProbeConnectivityData.cs b/BlendFile/DNA/LightProbeConnectivityData.cs index 1e3550f..041a625 100644 --- a/BlendFile/DNA/LightProbeConnectivityData.cs +++ b/BlendFile/DNA/LightProbeConnectivityData.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(360, "LightProbeConnectivityData", 8)] public class LightProbeConnectivityData { - [DNAFieldAttribute(0, "uchar", "*validity", "uchar", 8, true, 0)] - public byte ptr_validity; + [DNAFieldAttribute(8, "uchar", 0, "*validity", "uchar", true, 0)] + public byte validity; public LightProbeConnectivityData() { - this.ptr_validity = default; + this.validity = default; } - public LightProbeConnectivityData(byte ptr_validity) { - this.ptr_validity = ptr_validity; + public LightProbeConnectivityData(byte validity) { + this.validity = validity; } } } diff --git a/BlendFile/DNA/LightProbeGridCacheFrame.cs b/BlendFile/DNA/LightProbeGridCacheFrame.cs index 05bdd23..d97510f 100644 --- a/BlendFile/DNA/LightProbeGridCacheFrame.cs +++ b/BlendFile/DNA/LightProbeGridCacheFrame.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(362, "LightProbeGridCacheFrame", 168)] public class LightProbeGridCacheFrame { - [DNAFieldAttribute(0, "int", "size[3]", "System.Int32[]", 12, false, 0)] + [DNAFieldAttribute(12, "int", 0, "size[3]", "System.Int32[]", false, 0)] public int[] size = new System.Int32[3]; - [DNAFieldAttribute(1, "int", "data_layout", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 1, "data_layout", "int", false, 12)] public int data_layout; - [DNAFieldAttribute(2, "int", "block_len", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 2, "block_len", "int", false, 16)] public int block_len; - [DNAFieldAttribute(3, "int", "block_size", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "block_size", "int", false, 20)] public int block_size; - [DNAFieldAttribute(4, "LightProbeBlockData", "*block_infos", "LightProbeBlockData", 8, true, 24)] - public LightProbeBlockData ptr_block_infos; - [DNAFieldAttribute(5, "LightProbeBakingData", "baking", "LightProbeBakingData", 48, false, 32)] + [DNAFieldAttribute(8, "LightProbeBlockData", 4, "*block_infos", "LightProbeBlockData", true, 24)] + public LightProbeBlockData block_infos; + [DNAFieldAttribute(48, "LightProbeBakingData", 5, "baking", "LightProbeBakingData", false, 32)] public LightProbeBakingData baking; - [DNAFieldAttribute(6, "LightProbeIrradianceData", "irradiance", "LightProbeIrradianceData", 32, false, 80)] + [DNAFieldAttribute(32, "LightProbeIrradianceData", 6, "irradiance", "LightProbeIrradianceData", false, 80)] public LightProbeIrradianceData irradiance; - [DNAFieldAttribute(7, "LightProbeVisibilityData", "visibility", "LightProbeVisibilityData", 32, false, 112)] + [DNAFieldAttribute(32, "LightProbeVisibilityData", 7, "visibility", "LightProbeVisibilityData", false, 112)] public LightProbeVisibilityData visibility; - [DNAFieldAttribute(8, "LightProbeConnectivityData", "connectivity", "LightProbeConnectivityData", 8, false, 144)] + [DNAFieldAttribute(8, "LightProbeConnectivityData", 8, "connectivity", "LightProbeConnectivityData", false, 144)] public LightProbeConnectivityData connectivity; - [DNAFieldAttribute(9, "char", "_pad[4]", "System.Char[]", 4, false, 152)] + [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 152)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(10, "int", "surfels_len", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 10, "surfels_len", "int", false, 156)] public int surfels_len; - [DNAFieldAttribute(11, "void", "*surfels", "void", 8, true, 160)] - public object ptr_surfels; + [DNAFieldAttribute(8, "void", 11, "*surfels", "void", true, 160)] + public object surfels; public LightProbeGridCacheFrame() { this.size = default; this.data_layout = default; this.block_len = default; this.block_size = default; - this.ptr_block_infos = default; + this.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; + this.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) { + public LightProbeGridCacheFrame(int[] size, int data_layout, int block_len, int block_size, LightProbeBlockData block_infos, LightProbeBakingData baking, LightProbeIrradianceData irradiance, LightProbeVisibilityData visibility, LightProbeConnectivityData connectivity, char[] _pad, int surfels_len, object surfels) { this.size = size; this.data_layout = data_layout; this.block_len = block_len; this.block_size = block_size; - this.ptr_block_infos = ptr_block_infos; + this.block_infos = block_infos; this.baking = baking; this.irradiance = irradiance; this.visibility = visibility; this.connectivity = connectivity; this._pad = _pad; this.surfels_len = surfels_len; - this.ptr_surfels = ptr_surfels; + this.surfels = surfels; } } } diff --git a/BlendFile/DNA/LightProbeObjectCache.cs b/BlendFile/DNA/LightProbeObjectCache.cs index c4cf8e3..5cd0c6c 100644 --- a/BlendFile/DNA/LightProbeObjectCache.cs +++ b/BlendFile/DNA/LightProbeObjectCache.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(363, "LightProbeObjectCache", 16)] public class LightProbeObjectCache { - [DNAFieldAttribute(0, "int", "cache_type", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "cache_type", "int", false, 0)] public int cache_type; - [DNAFieldAttribute(1, "char", "shared", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 1, "shared", "char", false, 4)] public char shared; - [DNAFieldAttribute(2, "char", "dirty", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 2, "dirty", "char", false, 5)] public char dirty; - [DNAFieldAttribute(3, "char", "_pad0[2]", "System.Char[]", 2, false, 6)] + [DNAFieldAttribute(2, "char", 3, "_pad0[2]", "System.Char[]", false, 6)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(4, "LightProbeGridCacheFrame", "*grid_static_cache", "LightProbeGridCacheFrame", 8, true, 8)] - public LightProbeGridCacheFrame ptr_grid_static_cache; + [DNAFieldAttribute(8, "LightProbeGridCacheFrame", 4, "*grid_static_cache", "LightProbeGridCacheFrame", true, 8)] + public LightProbeGridCacheFrame grid_static_cache; public LightProbeObjectCache() { this.cache_type = default; this.shared = default; this.dirty = default; this._pad0 = default; - this.ptr_grid_static_cache = default; + this.grid_static_cache = default; } - public LightProbeObjectCache(int cache_type, char shared, char dirty, char[] _pad0, LightProbeGridCacheFrame ptr_grid_static_cache) { + public LightProbeObjectCache(int cache_type, char shared, char dirty, char[] _pad0, LightProbeGridCacheFrame grid_static_cache) { this.cache_type = cache_type; this.shared = shared; this.dirty = dirty; this._pad0 = _pad0; - this.ptr_grid_static_cache = ptr_grid_static_cache; + this.grid_static_cache = grid_static_cache; } } } diff --git a/BlendFile/DNA/LightProbeVisibilityData.cs b/BlendFile/DNA/LightProbeVisibilityData.cs index e04de58..decb064 100644 --- a/BlendFile/DNA/LightProbeVisibilityData.cs +++ b/BlendFile/DNA/LightProbeVisibilityData.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(359, "LightProbeVisibilityData", 32)] public class LightProbeVisibilityData { - [DNAFieldAttribute(0, "float", "*L0", "float", 8, true, 0)] - public float ptr_L0; - [DNAFieldAttribute(1, "float", "*L1_a", "float", 8, true, 8)] - public float ptr_L1_a; - [DNAFieldAttribute(2, "float", "*L1_b", "float", 8, true, 16)] - public float ptr_L1_b; - [DNAFieldAttribute(3, "float", "*L1_c", "float", 8, true, 24)] - public float ptr_L1_c; + [DNAFieldAttribute(8, "float", 0, "*L0", "float", true, 0)] + public float L0; + [DNAFieldAttribute(8, "float", 1, "*L1_a", "float", true, 8)] + public float L1_a; + [DNAFieldAttribute(8, "float", 2, "*L1_b", "float", true, 16)] + public float L1_b; + [DNAFieldAttribute(8, "float", 3, "*L1_c", "float", true, 24)] + public float L1_c; public LightProbeVisibilityData() { - this.ptr_L0 = default; - this.ptr_L1_a = default; - this.ptr_L1_b = default; - this.ptr_L1_c = default; + this.L0 = default; + this.L1_a = default; + this.L1_b = default; + this.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; - this.ptr_L1_b = ptr_L1_b; - this.ptr_L1_c = ptr_L1_c; + public LightProbeVisibilityData(float L0, float L1_a, float L1_b, float L1_c) { + this.L0 = L0; + this.L1_a = L1_a; + this.L1_b = L1_b; + this.L1_c = L1_c; } } } diff --git a/BlendFile/DNA/LightgroupMembership.cs b/BlendFile/DNA/LightgroupMembership.cs index 052570b..027f1f6 100644 --- a/BlendFile/DNA/LightgroupMembership.cs +++ b/BlendFile/DNA/LightgroupMembership.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(347, "LightgroupMembership", 64)] - public struct LightgroupMembership { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class LightgroupMembership { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; public LightgroupMembership() { this.name = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs index 58167a8..a1937b8 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(366, "LineStyleAlphaModifier_AlongStroke", 112)] public class LineStyleAlphaModifier_AlongStroke { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_AlongStroke() { this.modifier = default; - this.ptr_curve = default; + this.curve = default; this.flags = default; this._pad = default; } - public LineStyleAlphaModifier_AlongStroke(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, char[] _pad) { + public LineStyleAlphaModifier_AlongStroke(LineStyleModifier modifier, CurveMapping curve, int flags, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this._pad = _pad; } diff --git a/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs index af5fcd3..444c692 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(381, "LineStyleAlphaModifier_CreaseAngle", 120)] public class LineStyleAlphaModifier_CreaseAngle { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "min_angle", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "min_angle", "float", false, 108)] public float min_angle; - [DNAFieldAttribute(4, "float", "max_angle", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "max_angle", "float", false, 112)] public float max_angle; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_CreaseAngle() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleAlphaModifier_CreaseAngle(LineStyleModifier modifier, CurveMapping curve, int flags, float min_angle, float max_angle, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.min_angle = min_angle; this.max_angle = max_angle; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs index fd0afb4..d131766 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(375, "LineStyleAlphaModifier_Curvature_3D", 120)] public class LineStyleAlphaModifier_Curvature_3D { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "min_curvature", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "min_curvature", "float", false, 108)] public float min_curvature; - [DNAFieldAttribute(4, "float", "max_curvature", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "max_curvature", "float", false, 112)] public float max_curvature; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_Curvature_3D() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleAlphaModifier_Curvature_3D(LineStyleModifier modifier, CurveMapping curve, int flags, float min_curvature, float max_curvature, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.min_curvature = min_curvature; this.max_curvature = max_curvature; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs index ece20c6..7f20389 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(369, "LineStyleAlphaModifier_DistanceFromCamera", 120)] public class LineStyleAlphaModifier_DistanceFromCamera { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "range_min", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "range_min", "float", false, 108)] public float range_min; - [DNAFieldAttribute(4, "float", "range_max", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "range_max", "float", false, 112)] public float range_max; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_DistanceFromCamera() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleAlphaModifier_DistanceFromCamera(LineStyleModifier modifier, CurveMapping curve, int flags, float range_min, float range_max, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.range_min = range_min; this.range_max = range_max; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs index 7b9747e..ad9d827 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(372, "LineStyleAlphaModifier_DistanceFromObject", 128)] public class LineStyleAlphaModifier_DistanceFromObject { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "Object", "*target", "Object", 8, true, 96)] - public Object ptr_target; - [DNAFieldAttribute(2, "CurveMapping", "*curve", "CurveMapping", 8, true, 104)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 112)] + [DNAFieldAttribute(8, "Object", 1, "*target", "Object", true, 96)] + public Object target; + [DNAFieldAttribute(8, "CurveMapping", 2, "*curve", "CurveMapping", true, 104)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 112)] public int flags; - [DNAFieldAttribute(4, "float", "range_min", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 4, "range_min", "float", false, 116)] public float range_min; - [DNAFieldAttribute(5, "float", "range_max", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 5, "range_max", "float", false, 120)] public float range_max; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_DistanceFromObject() { this.modifier = default; - this.ptr_target = default; - this.ptr_curve = default; + this.target = default; + this.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) { + public LineStyleAlphaModifier_DistanceFromObject(LineStyleModifier modifier, Object target, CurveMapping curve, int flags, float range_min, float range_max, char[] _pad) { this.modifier = modifier; - this.ptr_target = ptr_target; - this.ptr_curve = ptr_curve; + this.target = target; + this.curve = curve; this.flags = flags; this.range_min = range_min; this.range_max = range_max; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Material.cs b/BlendFile/DNA/LineStyleAlphaModifier_Material.cs index 530c6e4..00bc54a 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Material.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Material.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(387, "LineStyleAlphaModifier_Material", 112)] public class LineStyleAlphaModifier_Material { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "int", "mat_attr", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 3, "mat_attr", "int", false, 108)] public int mat_attr; public LineStyleAlphaModifier_Material() { this.modifier = default; - this.ptr_curve = default; + this.curve = default; this.flags = default; this.mat_attr = default; } - public LineStyleAlphaModifier_Material(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, int mat_attr) { + public LineStyleAlphaModifier_Material(LineStyleModifier modifier, CurveMapping curve, int flags, int mat_attr) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.mat_attr = mat_attr; } diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs b/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs index f92bbe5..05e522d 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Noise.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(378, "LineStyleAlphaModifier_Noise", 120)] public class LineStyleAlphaModifier_Noise { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "period", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "period", "float", false, 108)] public float period; - [DNAFieldAttribute(4, "float", "amplitude", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "amplitude", "float", false, 112)] public float amplitude; - [DNAFieldAttribute(5, "int", "seed", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 5, "seed", "int", false, 116)] public int seed; public LineStyleAlphaModifier_Noise() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleAlphaModifier_Noise(LineStyleModifier modifier, CurveMapping curve, int flags, float period, float amplitude, int seed) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.period = period; this.amplitude = amplitude; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs b/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs index fc94fab..13826e6 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(384, "LineStyleAlphaModifier_Tangent", 112)] public class LineStyleAlphaModifier_Tangent { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_Tangent() { this.modifier = default; - this.ptr_curve = default; + this.curve = default; this.flags = default; this._pad = default; } - public LineStyleAlphaModifier_Tangent(LineStyleModifier modifier, CurveMapping ptr_curve, int flags, char[] _pad) { + public LineStyleAlphaModifier_Tangent(LineStyleModifier modifier, CurveMapping curve, int flags, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this._pad = _pad; } diff --git a/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs index 6759638..2668d8c 100644 --- a/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleColorModifier_AlongStroke.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(365, "LineStyleColorModifier_AlongStroke", 104)] public class LineStyleColorModifier_AlongStroke { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "ColorBand", "*color_ramp", "ColorBand", 8, true, 96)] - public ColorBand ptr_color_ramp; + [DNAFieldAttribute(8, "ColorBand", 1, "*color_ramp", "ColorBand", true, 96)] + public ColorBand color_ramp; public LineStyleColorModifier_AlongStroke() { this.modifier = default; - this.ptr_color_ramp = default; + this.color_ramp = default; } - public LineStyleColorModifier_AlongStroke(LineStyleModifier modifier, ColorBand ptr_color_ramp) { + public LineStyleColorModifier_AlongStroke(LineStyleModifier modifier, ColorBand color_ramp) { this.modifier = modifier; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; } } } diff --git a/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs index 77eeb51..58d0812 100644 --- a/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleColorModifier_CreaseAngle.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(380, "LineStyleColorModifier_CreaseAngle", 112)] public class LineStyleColorModifier_CreaseAngle { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "ColorBand", "*color_ramp", "ColorBand", 8, true, 96)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(2, "float", "min_angle", "float", 4, false, 104)] + [DNAFieldAttribute(8, "ColorBand", 1, "*color_ramp", "ColorBand", true, 96)] + public ColorBand color_ramp; + [DNAFieldAttribute(4, "float", 2, "min_angle", "float", false, 104)] public float min_angle; - [DNAFieldAttribute(3, "float", "max_angle", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "max_angle", "float", false, 108)] public float max_angle; public LineStyleColorModifier_CreaseAngle() { this.modifier = default; - this.ptr_color_ramp = default; + this.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) { + public LineStyleColorModifier_CreaseAngle(LineStyleModifier modifier, ColorBand color_ramp, float min_angle, float max_angle) { this.modifier = modifier; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; this.min_angle = min_angle; this.max_angle = max_angle; } diff --git a/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs index 32063fe..af3c810 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Curvature_3D.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(374, "LineStyleColorModifier_Curvature_3D", 120)] public class LineStyleColorModifier_Curvature_3D { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "min_curvature", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "min_curvature", "float", false, 96)] public float min_curvature; - [DNAFieldAttribute(2, "float", "max_curvature", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "max_curvature", "float", false, 100)] public float max_curvature; - [DNAFieldAttribute(3, "ColorBand", "*color_ramp", "ColorBand", 8, true, 104)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(4, "float", "range_min", "float", 4, false, 112)] + [DNAFieldAttribute(8, "ColorBand", 3, "*color_ramp", "ColorBand", true, 104)] + public ColorBand color_ramp; + [DNAFieldAttribute(4, "float", 4, "range_min", "float", false, 112)] public float range_min; - [DNAFieldAttribute(5, "float", "range_max", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 5, "range_max", "float", false, 116)] 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.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) { + public LineStyleColorModifier_Curvature_3D(LineStyleModifier modifier, float min_curvature, float max_curvature, ColorBand color_ramp, float range_min, float range_max) { this.modifier = modifier; this.min_curvature = min_curvature; this.max_curvature = max_curvature; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; this.range_min = range_min; this.range_max = range_max; } diff --git a/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs index 411fa88..5855ee3 100644 --- a/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleColorModifier_DistanceFromCamera.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(368, "LineStyleColorModifier_DistanceFromCamera", 112)] public class LineStyleColorModifier_DistanceFromCamera { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "ColorBand", "*color_ramp", "ColorBand", 8, true, 96)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(2, "float", "range_min", "float", 4, false, 104)] + [DNAFieldAttribute(8, "ColorBand", 1, "*color_ramp", "ColorBand", true, 96)] + public ColorBand color_ramp; + [DNAFieldAttribute(4, "float", 2, "range_min", "float", false, 104)] public float range_min; - [DNAFieldAttribute(3, "float", "range_max", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "range_max", "float", false, 108)] public float range_max; public LineStyleColorModifier_DistanceFromCamera() { this.modifier = default; - this.ptr_color_ramp = default; + this.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) { + public LineStyleColorModifier_DistanceFromCamera(LineStyleModifier modifier, ColorBand color_ramp, float range_min, float range_max) { this.modifier = modifier; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; this.range_min = range_min; this.range_max = range_max; } diff --git a/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs index 7850d4a..c236b50 100644 --- a/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleColorModifier_DistanceFromObject.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(371, "LineStyleColorModifier_DistanceFromObject", 120)] public class LineStyleColorModifier_DistanceFromObject { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "Object", "*target", "Object", 8, true, 96)] - public Object ptr_target; - [DNAFieldAttribute(2, "ColorBand", "*color_ramp", "ColorBand", 8, true, 104)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(3, "float", "range_min", "float", 4, false, 112)] + [DNAFieldAttribute(8, "Object", 1, "*target", "Object", true, 96)] + public Object target; + [DNAFieldAttribute(8, "ColorBand", 2, "*color_ramp", "ColorBand", true, 104)] + public ColorBand color_ramp; + [DNAFieldAttribute(4, "float", 3, "range_min", "float", false, 112)] public float range_min; - [DNAFieldAttribute(4, "float", "range_max", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 4, "range_max", "float", false, 116)] public float range_max; public LineStyleColorModifier_DistanceFromObject() { this.modifier = default; - this.ptr_target = default; - this.ptr_color_ramp = default; + this.target = default; + this.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) { + public LineStyleColorModifier_DistanceFromObject(LineStyleModifier modifier, Object target, ColorBand color_ramp, float range_min, float range_max) { this.modifier = modifier; - this.ptr_target = ptr_target; - this.ptr_color_ramp = ptr_color_ramp; + this.target = target; + this.color_ramp = color_ramp; this.range_min = range_min; this.range_max = range_max; } diff --git a/BlendFile/DNA/LineStyleColorModifier_Material.cs b/BlendFile/DNA/LineStyleColorModifier_Material.cs index 70e94c7..03dbf3a 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Material.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Material.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(386, "LineStyleColorModifier_Material", 112)] public class LineStyleColorModifier_Material { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "ColorBand", "*color_ramp", "ColorBand", 8, true, 96)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "ColorBand", 1, "*color_ramp", "ColorBand", true, 96)] + public ColorBand color_ramp; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "int", "mat_attr", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 3, "mat_attr", "int", false, 108)] public int mat_attr; public LineStyleColorModifier_Material() { this.modifier = default; - this.ptr_color_ramp = default; + this.color_ramp = default; this.flags = default; this.mat_attr = default; } - public LineStyleColorModifier_Material(LineStyleModifier modifier, ColorBand ptr_color_ramp, int flags, int mat_attr) { + public LineStyleColorModifier_Material(LineStyleModifier modifier, ColorBand color_ramp, int flags, int mat_attr) { this.modifier = modifier; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; this.flags = flags; this.mat_attr = mat_attr; } diff --git a/BlendFile/DNA/LineStyleColorModifier_Noise.cs b/BlendFile/DNA/LineStyleColorModifier_Noise.cs index f51b755..4abd9ab 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Noise.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(377, "LineStyleColorModifier_Noise", 120)] public class LineStyleColorModifier_Noise { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "ColorBand", "*color_ramp", "ColorBand", 8, true, 96)] - public ColorBand ptr_color_ramp; - [DNAFieldAttribute(2, "float", "period", "float", 4, false, 104)] + [DNAFieldAttribute(8, "ColorBand", 1, "*color_ramp", "ColorBand", true, 96)] + public ColorBand color_ramp; + [DNAFieldAttribute(4, "float", 2, "period", "float", false, 104)] public float period; - [DNAFieldAttribute(3, "float", "amplitude", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "amplitude", "float", false, 108)] public float amplitude; - [DNAFieldAttribute(4, "int", "seed", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 4, "seed", "int", false, 112)] public int seed; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public LineStyleColorModifier_Noise() { this.modifier = default; - this.ptr_color_ramp = default; + this.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) { + public LineStyleColorModifier_Noise(LineStyleModifier modifier, ColorBand color_ramp, float period, float amplitude, int seed, char[] _pad) { this.modifier = modifier; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; this.period = period; this.amplitude = amplitude; this.seed = seed; diff --git a/BlendFile/DNA/LineStyleColorModifier_Tangent.cs b/BlendFile/DNA/LineStyleColorModifier_Tangent.cs index cfcec35..47dfe5a 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Tangent.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(383, "LineStyleColorModifier_Tangent", 104)] public class LineStyleColorModifier_Tangent { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "ColorBand", "*color_ramp", "ColorBand", 8, true, 96)] - public ColorBand ptr_color_ramp; + [DNAFieldAttribute(8, "ColorBand", 1, "*color_ramp", "ColorBand", true, 96)] + public ColorBand color_ramp; public LineStyleColorModifier_Tangent() { this.modifier = default; - this.ptr_color_ramp = default; + this.color_ramp = default; } - public LineStyleColorModifier_Tangent(LineStyleModifier modifier, ColorBand ptr_color_ramp) { + public LineStyleColorModifier_Tangent(LineStyleModifier modifier, ColorBand color_ramp) { this.modifier = modifier; - this.ptr_color_ramp = ptr_color_ramp; + this.color_ramp = color_ramp; } } } diff --git a/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs b/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs index 0b8a228..a130895 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_2DOffset.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(400, "LineStyleGeometryModifier_2DOffset", 112)] - public struct LineStyleGeometryModifier_2DOffset { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_2DOffset { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "start", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "start", "float", false, 96)] public float start; - [DNAFieldAttribute(2, "float", "end", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "end", "float", false, 100)] public float end; - [DNAFieldAttribute(3, "float", "x", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "x", "float", false, 104)] public float x; - [DNAFieldAttribute(4, "float", "y", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 4, "y", "float", false, 108)] public float y; public LineStyleGeometryModifier_2DOffset() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs b/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs index a01c4da..158e03e 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(401, "LineStyleGeometryModifier_2DTransform", 128)] - public struct LineStyleGeometryModifier_2DTransform { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_2DTransform { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "int", "pivot", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 1, "pivot", "int", false, 96)] public int pivot; - [DNAFieldAttribute(2, "float", "scale_x", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "scale_x", "float", false, 100)] public float scale_x; - [DNAFieldAttribute(3, "float", "scale_y", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "scale_y", "float", false, 104)] public float scale_y; - [DNAFieldAttribute(4, "float", "angle", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 4, "angle", "float", false, 108)] public float angle; - [DNAFieldAttribute(5, "float", "pivot_u", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 5, "pivot_u", "float", false, 112)] public float pivot_u; - [DNAFieldAttribute(6, "float", "pivot_x", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 6, "pivot_x", "float", false, 116)] public float pivot_x; - [DNAFieldAttribute(7, "float", "pivot_y", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 7, "pivot_y", "float", false, 120)] public float pivot_y; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_2DTransform() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs b/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs index 13765b3..713bfcd 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(395, "LineStyleGeometryModifier_BackboneStretcher", 104)] - public struct LineStyleGeometryModifier_BackboneStretcher { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_BackboneStretcher { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "backbone_length", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "backbone_length", "float", false, 96)] public float backbone_length; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_BackboneStretcher() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs b/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs index b0c53b4..b9555cf 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(390, "LineStyleGeometryModifier_BezierCurve", 104)] - public struct LineStyleGeometryModifier_BezierCurve { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_BezierCurve { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "error", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "error", "float", false, 96)] public float error; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_BezierCurve() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs b/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs index c9dfe09..0242680 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Blueprint.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(399, "LineStyleGeometryModifier_Blueprint", 120)] - public struct LineStyleGeometryModifier_Blueprint { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_Blueprint { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "int", "flags", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 1, "flags", "int", false, 96)] public int flags; - [DNAFieldAttribute(2, "int", "rounds", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 2, "rounds", "int", false, 100)] public int rounds; - [DNAFieldAttribute(3, "float", "backbone_length", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "backbone_length", "float", false, 104)] public float backbone_length; - [DNAFieldAttribute(4, "int", "random_radius", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 4, "random_radius", "int", false, 108)] public int random_radius; - [DNAFieldAttribute(5, "int", "random_center", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 5, "random_center", "int", false, 112)] public int random_center; - [DNAFieldAttribute(6, "int", "random_backbone", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 6, "random_backbone", "int", false, 116)] public int random_backbone; public LineStyleGeometryModifier_Blueprint() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs b/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs index 645c3cb..4abb208 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(398, "LineStyleGeometryModifier_GuidingLines", 104)] - public struct LineStyleGeometryModifier_GuidingLines { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_GuidingLines { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "offset", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "offset", "float", false, 96)] public float offset; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_GuidingLines() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs index 9bf27cc..4dbc09c 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(393, "LineStyleGeometryModifier_PerlinNoise1D", 120)] - public struct LineStyleGeometryModifier_PerlinNoise1D { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_PerlinNoise1D { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "frequency", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "frequency", "float", false, 96)] public float frequency; - [DNAFieldAttribute(2, "float", "amplitude", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "amplitude", "float", false, 100)] public float amplitude; - [DNAFieldAttribute(3, "float", "angle", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "angle", "float", false, 104)] public float angle; - [DNAFieldAttribute(4, "int", "octaves", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 4, "octaves", "int", false, 108)] public int octaves; - [DNAFieldAttribute(5, "int", "seed", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 5, "seed", "int", false, 112)] public int seed; - [DNAFieldAttribute(6, "char", "_pad1[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", false, 116)] public char[] _pad1 = new System.Char[4]; public LineStyleGeometryModifier_PerlinNoise1D() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs index 99f9bd7..8cc4f44 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(394, "LineStyleGeometryModifier_PerlinNoise2D", 120)] - public struct LineStyleGeometryModifier_PerlinNoise2D { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_PerlinNoise2D { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "frequency", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "frequency", "float", false, 96)] public float frequency; - [DNAFieldAttribute(2, "float", "amplitude", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "amplitude", "float", false, 100)] public float amplitude; - [DNAFieldAttribute(3, "float", "angle", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "angle", "float", false, 104)] public float angle; - [DNAFieldAttribute(4, "int", "octaves", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 4, "octaves", "int", false, 108)] public int octaves; - [DNAFieldAttribute(5, "int", "seed", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 5, "seed", "int", false, 112)] public int seed; - [DNAFieldAttribute(6, "char", "_pad1[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", false, 116)] public char[] _pad1 = new System.Char[4]; public LineStyleGeometryModifier_PerlinNoise2D() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs b/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs index ad9f707..0a5bb47 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(397, "LineStyleGeometryModifier_Polygonalization", 104)] - public struct LineStyleGeometryModifier_Polygonalization { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_Polygonalization { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "error", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "error", "float", false, 96)] public float error; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_Polygonalization() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs b/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs index 8269fd0..54c2a5d 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(389, "LineStyleGeometryModifier_Sampling", 104)] - public struct LineStyleGeometryModifier_Sampling { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_Sampling { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "sampling", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "sampling", "float", false, 96)] public float sampling; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_Sampling() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs b/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs index 160a4af..7f8a2b6 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(402, "LineStyleGeometryModifier_Simplification", 104)] - public struct LineStyleGeometryModifier_Simplification { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_Simplification { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "tolerance", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "tolerance", "float", false, 96)] public float tolerance; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_Simplification() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs b/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs index 259dd9f..41d8f89 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(391, "LineStyleGeometryModifier_SinusDisplacement", 112)] - public struct LineStyleGeometryModifier_SinusDisplacement { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_SinusDisplacement { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "wavelength", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "wavelength", "float", false, 96)] public float wavelength; - [DNAFieldAttribute(2, "float", "amplitude", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "amplitude", "float", false, 100)] public float amplitude; - [DNAFieldAttribute(3, "float", "phase", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "phase", "float", false, 104)] public float phase; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 108)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_SinusDisplacement() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs b/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs index d8365e3..a973d84 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_SpatialNoise.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(392, "LineStyleGeometryModifier_SpatialNoise", 112)] - public struct LineStyleGeometryModifier_SpatialNoise { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_SpatialNoise { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "amplitude", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "amplitude", "float", false, 96)] public float amplitude; - [DNAFieldAttribute(2, "float", "scale", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "scale", "float", false, 100)] public float scale; - [DNAFieldAttribute(3, "int", "octaves", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 3, "octaves", "int", false, 104)] public int octaves; - [DNAFieldAttribute(4, "int", "flags", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 4, "flags", "int", false, 108)] public int flags; public LineStyleGeometryModifier_SpatialNoise() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs b/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs index d32d35b..51a0d37 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(396, "LineStyleGeometryModifier_TipRemover", 104)] - public struct LineStyleGeometryModifier_TipRemover { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleGeometryModifier_TipRemover { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "tip_length", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "tip_length", "float", false, 96)] public float tip_length; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 100)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_TipRemover() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleModifier.cs b/BlendFile/DNA/LineStyleModifier.cs index 391b4ca..95abdf4 100644 --- a/BlendFile/DNA/LineStyleModifier.cs +++ b/BlendFile/DNA/LineStyleModifier.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(364, "LineStyleModifier", 96)] public class LineStyleModifier { - [DNAFieldAttribute(0, "LineStyleModifier", "*next", "LineStyleModifier", 8, true, 0)] - public LineStyleModifier ptr_next; - [DNAFieldAttribute(1, "LineStyleModifier", "*prev", "LineStyleModifier", 8, true, 8)] - public LineStyleModifier ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "LineStyleModifier", 0, "*next", "LineStyleModifier", true, 0)] + public LineStyleModifier next; + [DNAFieldAttribute(8, "LineStyleModifier", 1, "*prev", "LineStyleModifier", true, 8)] + public LineStyleModifier prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "int", "type", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 3, "type", "int", false, 80)] public int type; - [DNAFieldAttribute(4, "float", "influence", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 4, "influence", "float", false, 84)] public float influence; - [DNAFieldAttribute(5, "int", "flags", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 5, "flags", "int", false, 88)] public int flags; - [DNAFieldAttribute(6, "int", "blend", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 6, "blend", "int", false, 92)] public int blend; public LineStyleModifier() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public LineStyleModifier(LineStyleModifier next, LineStyleModifier prev, char[] name, int type, float influence, int flags, int blend) { + this.next = next; + this.prev = prev; this.name = name; this.type = type; this.influence = influence; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs index a5d2c35..4d80d07 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(367, "LineStyleThicknessModifier_AlongStroke", 120)] public class LineStyleThicknessModifier_AlongStroke { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "value_min", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "value_min", "float", false, 108)] public float value_min; - [DNAFieldAttribute(4, "float", "value_max", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "value_max", "float", false, 112)] public float value_max; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_AlongStroke() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleThicknessModifier_AlongStroke(LineStyleModifier modifier, CurveMapping curve, int flags, float value_min, float value_max, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.value_min = value_min; this.value_max = value_max; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs b/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs index 471daca..a6e11f9 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(403, "LineStyleThicknessModifier_Calligraphy", 112)] - public struct LineStyleThicknessModifier_Calligraphy { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleThicknessModifier_Calligraphy { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "min_thickness", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "min_thickness", "float", false, 96)] public float min_thickness; - [DNAFieldAttribute(2, "float", "max_thickness", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "max_thickness", "float", false, 100)] public float max_thickness; - [DNAFieldAttribute(3, "float", "orientation", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 3, "orientation", "float", false, 104)] public float orientation; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 108)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_Calligraphy() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs index 2df8c59..d30978b 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(382, "LineStyleThicknessModifier_CreaseAngle", 128)] public class LineStyleThicknessModifier_CreaseAngle { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(4, "float", "min_angle", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "min_angle", "float", false, 112)] public float min_angle; - [DNAFieldAttribute(5, "float", "max_angle", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 5, "max_angle", "float", false, 116)] public float max_angle; - [DNAFieldAttribute(6, "float", "min_thickness", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 6, "min_thickness", "float", false, 120)] public float min_thickness; - [DNAFieldAttribute(7, "float", "max_thickness", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 7, "max_thickness", "float", false, 124)] public float max_thickness; public LineStyleThicknessModifier_CreaseAngle() { this.modifier = default; - this.ptr_curve = default; + this.curve = default; this.flags = default; this._pad = default; this.min_angle = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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) { + public LineStyleThicknessModifier_CreaseAngle(LineStyleModifier modifier, CurveMapping 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; + this.curve = curve; this.flags = flags; this._pad = _pad; this.min_angle = min_angle; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs index 200a3ed..9aaefc5 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(376, "LineStyleThicknessModifier_Curvature_3D", 128)] public class LineStyleThicknessModifier_Curvature_3D { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(4, "float", "min_curvature", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "min_curvature", "float", false, 112)] public float min_curvature; - [DNAFieldAttribute(5, "float", "max_curvature", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 5, "max_curvature", "float", false, 116)] public float max_curvature; - [DNAFieldAttribute(6, "float", "min_thickness", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 6, "min_thickness", "float", false, 120)] public float min_thickness; - [DNAFieldAttribute(7, "float", "max_thickness", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 7, "max_thickness", "float", false, 124)] public float max_thickness; public LineStyleThicknessModifier_Curvature_3D() { this.modifier = default; - this.ptr_curve = default; + this.curve = default; this.flags = default; this._pad = default; this.min_curvature = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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) { + public LineStyleThicknessModifier_Curvature_3D(LineStyleModifier modifier, CurveMapping 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; + this.curve = curve; this.flags = flags; this._pad = _pad; this.min_curvature = min_curvature; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs index 67becf4..ff1e375 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(370, "LineStyleThicknessModifier_DistanceFromCamera", 128)] public class LineStyleThicknessModifier_DistanceFromCamera { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "range_min", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "range_min", "float", false, 108)] public float range_min; - [DNAFieldAttribute(4, "float", "range_max", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "range_max", "float", false, 112)] public float range_max; - [DNAFieldAttribute(5, "float", "value_min", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 5, "value_min", "float", false, 116)] public float value_min; - [DNAFieldAttribute(6, "float", "value_max", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 6, "value_max", "float", false, 120)] public float value_max; - [DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_DistanceFromCamera() { this.modifier = default; - this.ptr_curve = default; + this.curve = default; this.flags = default; this.range_min = default; this.range_max = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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) { + public LineStyleThicknessModifier_DistanceFromCamera(LineStyleModifier modifier, CurveMapping 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; + this.curve = curve; this.flags = flags; this.range_min = range_min; this.range_max = range_max; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs index 750ae66..df801dd 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(373, "LineStyleThicknessModifier_DistanceFromObject", 136)] public class LineStyleThicknessModifier_DistanceFromObject { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "Object", "*target", "Object", 8, true, 96)] - public Object ptr_target; - [DNAFieldAttribute(2, "CurveMapping", "*curve", "CurveMapping", 8, true, 104)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 112)] + [DNAFieldAttribute(8, "Object", 1, "*target", "Object", true, 96)] + public Object target; + [DNAFieldAttribute(8, "CurveMapping", 2, "*curve", "CurveMapping", true, 104)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 112)] public int flags; - [DNAFieldAttribute(4, "float", "range_min", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 4, "range_min", "float", false, 116)] public float range_min; - [DNAFieldAttribute(5, "float", "range_max", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 5, "range_max", "float", false, 120)] public float range_max; - [DNAFieldAttribute(6, "float", "value_min", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 6, "value_min", "float", false, 124)] public float value_min; - [DNAFieldAttribute(7, "float", "value_max", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 7, "value_max", "float", false, 128)] public float value_max; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 132)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 132)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_DistanceFromObject() { this.modifier = default; - this.ptr_target = default; - this.ptr_curve = default; + this.target = default; + this.curve = default; this.flags = default; this.range_min = default; this.range_max = default; @@ -44,10 +44,10 @@ namespace BlendFile.DNA { 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) { + public LineStyleThicknessModifier_DistanceFromObject(LineStyleModifier modifier, Object target, CurveMapping 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; - this.ptr_curve = ptr_curve; + this.target = target; + this.curve = curve; this.flags = flags; this.range_min = range_min; this.range_max = range_max; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Material.cs b/BlendFile/DNA/LineStyleThicknessModifier_Material.cs index ea08472..e239cd6 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Material.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Material.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(388, "LineStyleThicknessModifier_Material", 120)] public class LineStyleThicknessModifier_Material { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "value_min", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "value_min", "float", false, 108)] public float value_min; - [DNAFieldAttribute(4, "float", "value_max", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "value_max", "float", false, 112)] public float value_max; - [DNAFieldAttribute(5, "int", "mat_attr", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 5, "mat_attr", "int", false, 116)] public int mat_attr; public LineStyleThicknessModifier_Material() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleThicknessModifier_Material(LineStyleModifier modifier, CurveMapping curve, int flags, float value_min, float value_max, int mat_attr) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.value_min = value_min; this.value_max = value_max; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs b/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs index 38da53b..9757595 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Noise.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(379, "LineStyleThicknessModifier_Noise", 112)] - public struct LineStyleThicknessModifier_Noise { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + public class LineStyleThicknessModifier_Noise { + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "float", "period", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 1, "period", "float", false, 96)] public float period; - [DNAFieldAttribute(2, "float", "amplitude", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 2, "amplitude", "float", false, 100)] public float amplitude; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(4, "int", "seed", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 4, "seed", "int", false, 108)] public int seed; public LineStyleThicknessModifier_Noise() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs b/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs index 7243ec7..b65dbeb 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(385, "LineStyleThicknessModifier_Tangent", 120)] public class LineStyleThicknessModifier_Tangent { - [DNAFieldAttribute(0, "LineStyleModifier", "modifier", "LineStyleModifier", 96, false, 0)] + [DNAFieldAttribute(96, "LineStyleModifier", 0, "modifier", "LineStyleModifier", false, 0)] public LineStyleModifier modifier; - [DNAFieldAttribute(1, "CurveMapping", "*curve", "CurveMapping", 8, true, 96)] - public CurveMapping ptr_curve; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 104)] + [DNAFieldAttribute(8, "CurveMapping", 1, "*curve", "CurveMapping", true, 96)] + public CurveMapping curve; + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(3, "float", "min_thickness", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 3, "min_thickness", "float", false, 108)] public float min_thickness; - [DNAFieldAttribute(4, "float", "max_thickness", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 4, "max_thickness", "float", false, 112)] public float max_thickness; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_Tangent() { this.modifier = default; - this.ptr_curve = default; + this.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) { + public LineStyleThicknessModifier_Tangent(LineStyleModifier modifier, CurveMapping curve, int flags, float min_thickness, float max_thickness, char[] _pad) { this.modifier = modifier; - this.ptr_curve = ptr_curve; + this.curve = curve; this.flags = flags; this.min_thickness = min_thickness; this.max_thickness = max_thickness; diff --git a/BlendFile/DNA/LineartGpencilModifierData.cs b/BlendFile/DNA/LineartGpencilModifierData.cs index 84f54ad..cbc9282 100644 --- a/BlendFile/DNA/LineartGpencilModifierData.cs +++ b/BlendFile/DNA/LineartGpencilModifierData.cs @@ -15,90 +15,90 @@ namespace BlendFile.DNA { [DNAClassAttribute(302, "LineartGpencilModifierData", 432)] public class LineartGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "ushort", "line_types", "ushort", 2, false, 104)] + [DNAFieldAttribute(2, "ushort", 1, "line_types", "ushort", false, 104)] public ushort line_types; - [DNAFieldAttribute(2, "char", "source_type", "char", 1, false, 106)] + [DNAFieldAttribute(1, "char", 2, "source_type", "char", false, 106)] public char source_type; - [DNAFieldAttribute(3, "char", "use_multiple_levels", "char", 1, false, 107)] + [DNAFieldAttribute(1, "char", 3, "use_multiple_levels", "char", false, 107)] public char use_multiple_levels; - [DNAFieldAttribute(4, "short", "level_start", "short", 2, false, 108)] + [DNAFieldAttribute(2, "short", 4, "level_start", "short", false, 108)] public short level_start; - [DNAFieldAttribute(5, "short", "level_end", "short", 2, false, 110)] + [DNAFieldAttribute(2, "short", 5, "level_end", "short", false, 110)] public short level_end; - [DNAFieldAttribute(6, "Object", "*source_camera", "Object", 8, true, 112)] - public Object ptr_source_camera; - [DNAFieldAttribute(7, "Object", "*light_contour_object", "Object", 8, true, 120)] - public Object ptr_light_contour_object; - [DNAFieldAttribute(8, "Object", "*source_object", "Object", 8, true, 128)] - public Object ptr_source_object; - [DNAFieldAttribute(9, "Collection", "*source_collection", "Collection", 8, true, 136)] - public Collection ptr_source_collection; - [DNAFieldAttribute(10, "Material", "*target_material", "Material", 8, true, 144)] - public Material ptr_target_material; - [DNAFieldAttribute(11, "char", "target_layer[64]", "System.Char[]", 64, false, 152)] + [DNAFieldAttribute(8, "Object", 6, "*source_camera", "Object", true, 112)] + public Object source_camera; + [DNAFieldAttribute(8, "Object", 7, "*light_contour_object", "Object", true, 120)] + public Object light_contour_object; + [DNAFieldAttribute(8, "Object", 8, "*source_object", "Object", true, 128)] + public Object source_object; + [DNAFieldAttribute(8, "Collection", 9, "*source_collection", "Collection", true, 136)] + public Collection source_collection; + [DNAFieldAttribute(8, "Material", 10, "*target_material", "Material", true, 144)] + public Material target_material; + [DNAFieldAttribute(64, "char", 11, "target_layer[64]", "System.Char[]", false, 152)] public char[] target_layer = new System.Char[64]; - [DNAFieldAttribute(12, "char", "source_vertex_group[64]", "System.Char[]", 64, false, 216)] + [DNAFieldAttribute(64, "char", 12, "source_vertex_group[64]", "System.Char[]", false, 216)] public char[] source_vertex_group = new System.Char[64]; - [DNAFieldAttribute(13, "char", "vgname[64]", "System.Char[]", 64, false, 280)] + [DNAFieldAttribute(64, "char", 13, "vgname[64]", "System.Char[]", false, 280)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(14, "float", "overscan", "float", 4, false, 344)] + [DNAFieldAttribute(4, "float", 14, "overscan", "float", false, 344)] public float overscan; - [DNAFieldAttribute(15, "float", "shadow_camera_fov", "float", 4, false, 348)] + [DNAFieldAttribute(4, "float", 15, "shadow_camera_fov", "float", false, 348)] public float shadow_camera_fov; - [DNAFieldAttribute(16, "float", "shadow_camera_size", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 16, "shadow_camera_size", "float", false, 352)] public float shadow_camera_size; - [DNAFieldAttribute(17, "float", "shadow_camera_near", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 17, "shadow_camera_near", "float", false, 356)] public float shadow_camera_near; - [DNAFieldAttribute(18, "float", "shadow_camera_far", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 18, "shadow_camera_far", "float", false, 360)] public float shadow_camera_far; - [DNAFieldAttribute(19, "float", "opacity", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 19, "opacity", "float", false, 364)] public float opacity; - [DNAFieldAttribute(20, "short", "thickness", "short", 2, false, 368)] + [DNAFieldAttribute(2, "short", 20, "thickness", "short", false, 368)] public short thickness; - [DNAFieldAttribute(21, "char", "transparency_flags", "char", 1, false, 370)] + [DNAFieldAttribute(1, "char", 21, "transparency_flags", "char", false, 370)] public char transparency_flags; - [DNAFieldAttribute(22, "char", "transparency_mask", "char", 1, false, 371)] + [DNAFieldAttribute(1, "char", 22, "transparency_mask", "char", false, 371)] public char transparency_mask; - [DNAFieldAttribute(23, "char", "intersection_mask", "char", 1, false, 372)] + [DNAFieldAttribute(1, "char", 23, "intersection_mask", "char", false, 372)] public char intersection_mask; - [DNAFieldAttribute(24, "char", "shadow_selection", "char", 1, false, 373)] + [DNAFieldAttribute(1, "char", 24, "shadow_selection", "char", false, 373)] public char shadow_selection; - [DNAFieldAttribute(25, "char", "silhouette_selection", "char", 1, false, 374)] + [DNAFieldAttribute(1, "char", 25, "silhouette_selection", "char", false, 374)] public char silhouette_selection; - [DNAFieldAttribute(26, "char", "_pad[1]", "System.Char[]", 1, false, 375)] + [DNAFieldAttribute(1, "char", 26, "_pad[1]", "System.Char[]", false, 375)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(27, "float", "crease_threshold", "float", 4, false, 376)] + [DNAFieldAttribute(4, "float", 27, "crease_threshold", "float", false, 376)] public float crease_threshold; - [DNAFieldAttribute(28, "float", "angle_splitting_threshold", "float", 4, false, 380)] + [DNAFieldAttribute(4, "float", 28, "angle_splitting_threshold", "float", false, 380)] public float angle_splitting_threshold; - [DNAFieldAttribute(29, "float", "chain_smooth_tolerance", "float", 4, false, 384)] + [DNAFieldAttribute(4, "float", 29, "chain_smooth_tolerance", "float", false, 384)] public float chain_smooth_tolerance; - [DNAFieldAttribute(30, "float", "chaining_image_threshold", "float", 4, false, 388)] + [DNAFieldAttribute(4, "float", 30, "chaining_image_threshold", "float", false, 388)] public float chaining_image_threshold; - [DNAFieldAttribute(31, "int", "calculation_flags", "int", 4, false, 392)] + [DNAFieldAttribute(4, "int", 31, "calculation_flags", "int", false, 392)] public int calculation_flags; - [DNAFieldAttribute(32, "int", "flags", "int", 4, false, 396)] + [DNAFieldAttribute(4, "int", 32, "flags", "int", false, 396)] public int flags; - [DNAFieldAttribute(33, "float", "stroke_depth_offset", "float", 4, false, 400)] + [DNAFieldAttribute(4, "float", 33, "stroke_depth_offset", "float", false, 400)] public float stroke_depth_offset; - [DNAFieldAttribute(34, "char", "level_start_override", "char", 1, false, 404)] + [DNAFieldAttribute(1, "char", 34, "level_start_override", "char", false, 404)] public char level_start_override; - [DNAFieldAttribute(35, "char", "level_end_override", "char", 1, false, 405)] + [DNAFieldAttribute(1, "char", 35, "level_end_override", "char", false, 405)] public char level_end_override; - [DNAFieldAttribute(36, "short", "edge_types_override", "short", 2, false, 406)] + [DNAFieldAttribute(2, "short", 36, "edge_types_override", "short", false, 406)] public short edge_types_override; - [DNAFieldAttribute(37, "char", "shadow_selection_override", "char", 1, false, 408)] + [DNAFieldAttribute(1, "char", 37, "shadow_selection_override", "char", false, 408)] public char shadow_selection_override; - [DNAFieldAttribute(38, "char", "shadow_use_silhouette_override", "char", 1, false, 409)] + [DNAFieldAttribute(1, "char", 38, "shadow_use_silhouette_override", "char", false, 409)] public char shadow_use_silhouette_override; - [DNAFieldAttribute(39, "char", "_pad2[6]", "System.Char[]", 6, false, 410)] + [DNAFieldAttribute(6, "char", 39, "_pad2[6]", "System.Char[]", false, 410)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(40, "LineartCache", "*cache", "LineartCache", 8, true, 416)] - public LineartCache ptr_cache; - [DNAFieldAttribute(41, "LineartData", "*la_data_ptr", "LineartData", 8, true, 424)] - public LineartData ptr_la_data_ptr; + [DNAFieldAttribute(8, "LineartCache", 40, "*cache", "LineartCache", true, 416)] + public LineartCache cache; + [DNAFieldAttribute(8, "LineartData", 41, "*la_data_ptr", "LineartData", true, 424)] + public LineartData la_data_ptr; public LineartGpencilModifierData() { this.modifier = default; this.line_types = default; @@ -106,11 +106,11 @@ namespace BlendFile.DNA { 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.source_camera = default; + this.light_contour_object = default; + this.source_object = default; + this.source_collection = default; + this.target_material = default; this.target_layer = default; this.source_vertex_group = default; this.vgname = default; @@ -140,8 +140,8 @@ namespace BlendFile.DNA { this.shadow_selection_override = default; this.shadow_use_silhouette_override = default; this._pad2 = default; - this.ptr_cache = default; - this.ptr_la_data_ptr = default; + this.cache = default; + this.la_data_ptr = default; } public LineartGpencilModifierData( GpencilModifierData modifier, @@ -150,11 +150,11 @@ namespace BlendFile.DNA { char use_multiple_levels, short level_start, short level_end, - Object ptr_source_camera, - Object ptr_light_contour_object, - Object ptr_source_object, - Collection ptr_source_collection, - Material ptr_target_material, + Object source_camera, + Object light_contour_object, + Object source_object, + Collection source_collection, + Material target_material, char[] target_layer, char[] source_vertex_group, char[] vgname, @@ -184,19 +184,19 @@ namespace BlendFile.DNA { char shadow_selection_override, char shadow_use_silhouette_override, char[] _pad2, - LineartCache ptr_cache, - LineartData ptr_la_data_ptr) { + LineartCache cache, + LineartData la_data_ptr) { this.modifier = modifier; this.line_types = line_types; this.source_type = source_type; this.use_multiple_levels = use_multiple_levels; this.level_start = level_start; this.level_end = level_end; - this.ptr_source_camera = ptr_source_camera; - this.ptr_light_contour_object = ptr_light_contour_object; - this.ptr_source_object = ptr_source_object; - this.ptr_source_collection = ptr_source_collection; - this.ptr_target_material = ptr_target_material; + this.source_camera = source_camera; + this.light_contour_object = light_contour_object; + this.source_object = source_object; + this.source_collection = source_collection; + this.target_material = target_material; this.target_layer = target_layer; this.source_vertex_group = source_vertex_group; this.vgname = vgname; @@ -226,8 +226,8 @@ namespace BlendFile.DNA { this.shadow_selection_override = shadow_selection_override; this.shadow_use_silhouette_override = shadow_use_silhouette_override; this._pad2 = _pad2; - this.ptr_cache = ptr_cache; - this.ptr_la_data_ptr = ptr_la_data_ptr; + this.cache = cache; + this.la_data_ptr = la_data_ptr; } } } diff --git a/BlendFile/DNA/Link.cs b/BlendFile/DNA/Link.cs index 9bc71aa..46caa09 100644 --- a/BlendFile/DNA/Link.cs +++ b/BlendFile/DNA/Link.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(404, "Link", 16)] public class Link { - [DNAFieldAttribute(0, "Link", "*next", "Link", 8, true, 0)] - public Link ptr_next; - [DNAFieldAttribute(1, "Link", "*prev", "Link", 8, true, 8)] - public Link ptr_prev; + [DNAFieldAttribute(8, "Link", 0, "*next", "Link", true, 0)] + public Link next; + [DNAFieldAttribute(8, "Link", 1, "*prev", "Link", true, 8)] + public Link prev; public Link() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; } - public Link(Link ptr_next, Link ptr_prev) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + public Link(Link next, Link prev) { + this.next = next; + this.prev = prev; } } } diff --git a/BlendFile/DNA/LinkData.cs b/BlendFile/DNA/LinkData.cs index 80a96e0..af701d1 100644 --- a/BlendFile/DNA/LinkData.cs +++ b/BlendFile/DNA/LinkData.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(405, "LinkData", 24)] public class LinkData { - [DNAFieldAttribute(0, "LinkData", "*next", "LinkData", 8, true, 0)] - public LinkData ptr_next; - [DNAFieldAttribute(1, "LinkData", "*prev", "LinkData", 8, true, 8)] - public LinkData ptr_prev; - [DNAFieldAttribute(2, "void", "*data", "void", 8, true, 16)] - public object ptr_data; + [DNAFieldAttribute(8, "LinkData", 0, "*next", "LinkData", true, 0)] + public LinkData next; + [DNAFieldAttribute(8, "LinkData", 1, "*prev", "LinkData", true, 8)] + public LinkData prev; + [DNAFieldAttribute(8, "void", 2, "*data", "void", true, 16)] + public object data; public LinkData() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_data = default; + this.next = default; + this.prev = default; + this.data = default; } - public LinkData(LinkData ptr_next, LinkData ptr_prev, object ptr_data) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_data = ptr_data; + public LinkData(LinkData next, LinkData prev, object data) { + this.next = next; + this.prev = prev; + this.data = data; } } } diff --git a/BlendFile/DNA/ListBase.cs b/BlendFile/DNA/ListBase.cs index 790c85a..5400fc7 100644 --- a/BlendFile/DNA/ListBase.cs +++ b/BlendFile/DNA/ListBase.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(24, "ListBase", 16)] public class ListBase { - [DNAFieldAttribute(0, "void", "*first", "void", 8, true, 0)] - public object ptr_first; - [DNAFieldAttribute(1, "void", "*last", "void", 8, true, 8)] - public object ptr_last; + [DNAFieldAttribute(8, "void", 0, "*first", "void", true, 0)] + public object first; + [DNAFieldAttribute(8, "void", 1, "*last", "void", true, 8)] + public object last; public ListBase() { - this.ptr_first = default; - this.ptr_last = default; + this.first = default; + this.last = default; } - public ListBase(object ptr_first, object ptr_last) { - this.ptr_first = ptr_first; - this.ptr_last = ptr_last; + public ListBase(object first, object last) { + this.first = first; + this.last = last; } } } diff --git a/BlendFile/DNA/MBoolProperty.cs b/BlendFile/DNA/MBoolProperty.cs index 56e347c..79a0752 100644 --- a/BlendFile/DNA/MBoolProperty.cs +++ b/BlendFile/DNA/MBoolProperty.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(429, "MBoolProperty", 1)] - public struct MBoolProperty { - [DNAFieldAttribute(0, "uchar", "b", "uchar", 1, false, 0)] + public class MBoolProperty { + [DNAFieldAttribute(1, "uchar", 0, "b", "uchar", false, 0)] public byte b; public MBoolProperty() { this.b = default; diff --git a/BlendFile/DNA/MCol.cs b/BlendFile/DNA/MCol.cs index fe27327..465a6d3 100644 --- a/BlendFile/DNA/MCol.cs +++ b/BlendFile/DNA/MCol.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(423, "MCol", 4)] - public struct MCol { - [DNAFieldAttribute(0, "char", "a", "char", 1, false, 0)] + public class MCol { + [DNAFieldAttribute(1, "char", 0, "a", "char", false, 0)] public char a; - [DNAFieldAttribute(1, "char", "r", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "r", "char", false, 1)] public char r; - [DNAFieldAttribute(2, "char", "g", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "g", "char", false, 2)] public char g; - [DNAFieldAttribute(3, "char", "b", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "b", "char", false, 3)] public char b; public MCol() { this.a = default; diff --git a/BlendFile/DNA/MDefCell.cs b/BlendFile/DNA/MDefCell.cs index c836055..b01e7aa 100644 --- a/BlendFile/DNA/MDefCell.cs +++ b/BlendFile/DNA/MDefCell.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(475, "MDefCell", 8)] - public struct MDefCell { - [DNAFieldAttribute(0, "int", "offset", "int", 4, false, 0)] + public class MDefCell { + [DNAFieldAttribute(4, "int", 0, "offset", "int", false, 0)] public int offset; - [DNAFieldAttribute(1, "int", "totinfluence", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "totinfluence", "int", false, 4)] public int totinfluence; public MDefCell() { this.offset = default; diff --git a/BlendFile/DNA/MDefInfluence.cs b/BlendFile/DNA/MDefInfluence.cs index 5b8f0c9..c91b992 100644 --- a/BlendFile/DNA/MDefInfluence.cs +++ b/BlendFile/DNA/MDefInfluence.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(474, "MDefInfluence", 8)] - public struct MDefInfluence { - [DNAFieldAttribute(0, "int", "vertex", "int", 4, false, 0)] + public class MDefInfluence { + [DNAFieldAttribute(4, "int", 0, "vertex", "int", false, 0)] public int vertex; - [DNAFieldAttribute(1, "float", "weight", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "weight", "float", false, 4)] public float weight; public MDefInfluence() { this.vertex = default; diff --git a/BlendFile/DNA/MDeformVert.cs b/BlendFile/DNA/MDeformVert.cs index b7612db..b80a18f 100644 --- a/BlendFile/DNA/MDeformVert.cs +++ b/BlendFile/DNA/MDeformVert.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(263, "MDeformVert", 16)] public class MDeformVert { - [DNAFieldAttribute(0, "MDeformWeight", "*dw", "MDeformWeight", 8, true, 0)] - public MDeformWeight ptr_dw; - [DNAFieldAttribute(1, "int", "totweight", "int", 4, false, 8)] + [DNAFieldAttribute(8, "MDeformWeight", 0, "*dw", "MDeformWeight", true, 0)] + public MDeformWeight dw; + [DNAFieldAttribute(4, "int", 1, "totweight", "int", false, 8)] public int totweight; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 12)] public int flag; public MDeformVert() { - this.ptr_dw = default; + this.dw = default; this.totweight = default; this.flag = default; } - public MDeformVert(MDeformWeight ptr_dw, int totweight, int flag) { - this.ptr_dw = ptr_dw; + public MDeformVert(MDeformWeight dw, int totweight, int flag) { + this.dw = dw; this.totweight = totweight; this.flag = flag; } diff --git a/BlendFile/DNA/MDeformWeight.cs b/BlendFile/DNA/MDeformWeight.cs index efef96e..7637d40 100644 --- a/BlendFile/DNA/MDeformWeight.cs +++ b/BlendFile/DNA/MDeformWeight.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(431, "MDeformWeight", 8)] - public struct MDeformWeight { - [DNAFieldAttribute(0, "int", "def_nr", "int", 4, false, 0)] + public class MDeformWeight { + [DNAFieldAttribute(4, "int", 0, "def_nr", "int", false, 0)] public int def_nr; - [DNAFieldAttribute(1, "float", "weight", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "weight", "float", false, 4)] public float weight; public MDeformWeight() { this.def_nr = default; diff --git a/BlendFile/DNA/MDisps.cs b/BlendFile/DNA/MDisps.cs index 08f6cc6..1adddfc 100644 --- a/BlendFile/DNA/MDisps.cs +++ b/BlendFile/DNA/MDisps.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(435, "MDisps", 16)] public class MDisps { - [DNAFieldAttribute(0, "int", "totdisp", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "totdisp", "int", false, 0)] public int totdisp; - [DNAFieldAttribute(1, "int", "level", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "level", "int", false, 4)] public int level; - [DNAFieldAttribute(3, "int", "*hidden", "int", 8, true, 8)] - public int ptr_hidden; + [DNAFieldAttribute(8, "int", 3, "*hidden", "int", true, 8)] + public int hidden; public MDisps() { this.totdisp = default; this.level = default; - this.ptr_hidden = default; + this.hidden = default; } - public MDisps(int totdisp, int level, int ptr_hidden) { + public MDisps(int totdisp, int level, int hidden) { this.totdisp = totdisp; this.level = level; - this.ptr_hidden = ptr_hidden; + this.hidden = hidden; } } } diff --git a/BlendFile/DNA/MEdge.cs b/BlendFile/DNA/MEdge.cs index d26d034..1105d91 100644 --- a/BlendFile/DNA/MEdge.cs +++ b/BlendFile/DNA/MEdge.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(420, "MEdge", 12)] - public struct MEdge { - [DNAFieldAttribute(0, "int", "v1", "int", 4, false, 0)] + public class MEdge { + [DNAFieldAttribute(4, "int", 0, "v1", "int", false, 0)] public int v1; - [DNAFieldAttribute(1, "int", "v2", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "v2", "int", false, 4)] public int v2; - [DNAFieldAttribute(2, "char", "crease", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 2, "crease", "char", false, 8)] public char crease; - [DNAFieldAttribute(3, "char", "bweight", "char", 1, false, 9)] + [DNAFieldAttribute(1, "char", 3, "bweight", "char", false, 9)] public char bweight; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 10)] public short flag; public MEdge() { this.v1 = default; diff --git a/BlendFile/DNA/MFace.cs b/BlendFile/DNA/MFace.cs index 648d9fd..f868e32 100644 --- a/BlendFile/DNA/MFace.cs +++ b/BlendFile/DNA/MFace.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(424, "MFace", 20)] - public struct MFace { - [DNAFieldAttribute(0, "int", "v1", "int", 4, false, 0)] + public class MFace { + [DNAFieldAttribute(4, "int", 0, "v1", "int", false, 0)] public int v1; - [DNAFieldAttribute(1, "int", "v2", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "v2", "int", false, 4)] public int v2; - [DNAFieldAttribute(2, "int", "v3", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "v3", "int", false, 8)] public int v3; - [DNAFieldAttribute(3, "int", "v4", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "v4", "int", false, 12)] public int v4; - [DNAFieldAttribute(4, "short", "mat_nr", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 4, "mat_nr", "short", false, 16)] public short mat_nr; - [DNAFieldAttribute(5, "char", "edcode", "char", 1, false, 18)] + [DNAFieldAttribute(1, "char", 5, "edcode", "char", false, 18)] public char edcode; - [DNAFieldAttribute(6, "char", "flag", "char", 1, false, 19)] + [DNAFieldAttribute(1, "char", 6, "flag", "char", false, 19)] public char flag; public MFace() { this.v1 = default; diff --git a/BlendFile/DNA/MFloatProperty.cs b/BlendFile/DNA/MFloatProperty.cs index 914aa82..0f4aaed 100644 --- a/BlendFile/DNA/MFloatProperty.cs +++ b/BlendFile/DNA/MFloatProperty.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(426, "MFloatProperty", 4)] - public struct MFloatProperty { - [DNAFieldAttribute(0, "float", "f", "float", 4, false, 0)] + public class MFloatProperty { + [DNAFieldAttribute(4, "float", 0, "f", "float", false, 0)] public float f; public MFloatProperty() { this.f = default; diff --git a/BlendFile/DNA/MInt8Property.cs b/BlendFile/DNA/MInt8Property.cs index 56f0fa9..c124d5f 100644 --- a/BlendFile/DNA/MInt8Property.cs +++ b/BlendFile/DNA/MInt8Property.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(430, "MInt8Property", 1)] - public struct MInt8Property { - [DNAFieldAttribute(0, "int8_t", "i", "int8_t", 1, false, 0)] + public class MInt8Property { + [DNAFieldAttribute(1, "int8_t", 0, "i", "int8_t", false, 0)] public sbyte i; public MInt8Property() { this.i = default; diff --git a/BlendFile/DNA/MIntProperty.cs b/BlendFile/DNA/MIntProperty.cs index 901ee19..d927e5e 100644 --- a/BlendFile/DNA/MIntProperty.cs +++ b/BlendFile/DNA/MIntProperty.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(427, "MIntProperty", 4)] - public struct MIntProperty { - [DNAFieldAttribute(0, "int", "i", "int", 4, false, 0)] + public class MIntProperty { + [DNAFieldAttribute(4, "int", 0, "i", "int", false, 0)] public int i; public MIntProperty() { this.i = default; diff --git a/BlendFile/DNA/MLoop.cs b/BlendFile/DNA/MLoop.cs index 288574e..f240560 100644 --- a/BlendFile/DNA/MLoop.cs +++ b/BlendFile/DNA/MLoop.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(418, "MLoop", 8)] - public struct MLoop { - [DNAFieldAttribute(0, "int", "v", "int", 4, false, 0)] + public class MLoop { + [DNAFieldAttribute(4, "int", 0, "v", "int", false, 0)] public int v; - [DNAFieldAttribute(1, "int", "e", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "e", "int", false, 4)] public int e; public MLoop() { this.v = default; diff --git a/BlendFile/DNA/MLoopCol.cs b/BlendFile/DNA/MLoopCol.cs index 2afa8d2..b1fcb0b 100644 --- a/BlendFile/DNA/MLoopCol.cs +++ b/BlendFile/DNA/MLoopCol.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(433, "MLoopCol", 4)] - public struct MLoopCol { - [DNAFieldAttribute(0, "char", "r", "char", 1, false, 0)] + public class MLoopCol { + [DNAFieldAttribute(1, "char", 0, "r", "char", false, 0)] public char r; - [DNAFieldAttribute(1, "char", "g", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "g", "char", false, 1)] public char g; - [DNAFieldAttribute(2, "char", "b", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "b", "char", false, 2)] public char b; - [DNAFieldAttribute(3, "char", "a", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "a", "char", false, 3)] public char a; public MLoopCol() { this.r = default; diff --git a/BlendFile/DNA/MLoopUV.cs b/BlendFile/DNA/MLoopUV.cs index ebfb3c5..1b3b8e7 100644 --- a/BlendFile/DNA/MLoopUV.cs +++ b/BlendFile/DNA/MLoopUV.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(439, "MLoopUV", 12)] - public struct MLoopUV { - [DNAFieldAttribute(0, "float", "uv[2]", "System.Single[]", 8, false, 0)] + public class MLoopUV { + [DNAFieldAttribute(8, "float", 0, "uv[2]", "System.Single[]", false, 0)] public float[] uv = new System.Single[2]; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; public MLoopUV() { this.uv = default; diff --git a/BlendFile/DNA/MPoly.cs b/BlendFile/DNA/MPoly.cs index 1ea63b2..f98c229 100644 --- a/BlendFile/DNA/MPoly.cs +++ b/BlendFile/DNA/MPoly.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(417, "MPoly", 12)] - public struct MPoly { - [DNAFieldAttribute(0, "int", "loopstart", "int", 4, false, 0)] + public class MPoly { + [DNAFieldAttribute(4, "int", 0, "loopstart", "int", false, 0)] public int loopstart; - [DNAFieldAttribute(1, "int", "totloop", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "totloop", "int", false, 4)] public int totloop; - [DNAFieldAttribute(2, "short", "mat_nr", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "mat_nr", "short", false, 8)] public short mat_nr; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 10)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 10)] public char flag; - [DNAFieldAttribute(4, "char", "_pad", "char", 1, false, 11)] + [DNAFieldAttribute(1, "char", 4, "_pad", "char", false, 11)] public char _pad; public MPoly() { this.loopstart = default; diff --git a/BlendFile/DNA/MPropCol.cs b/BlendFile/DNA/MPropCol.cs index 28f3884..a71b1ed 100644 --- a/BlendFile/DNA/MPropCol.cs +++ b/BlendFile/DNA/MPropCol.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(434, "MPropCol", 16)] - public struct MPropCol { - [DNAFieldAttribute(0, "float", "color[4]", "System.Single[]", 16, false, 0)] + public class MPropCol { + [DNAFieldAttribute(16, "float", 0, "color[4]", "System.Single[]", false, 0)] public float[] color = new System.Single[4]; public MPropCol() { this.color = default; diff --git a/BlendFile/DNA/MRecast.cs b/BlendFile/DNA/MRecast.cs index 6ee7cef..b3db60f 100644 --- a/BlendFile/DNA/MRecast.cs +++ b/BlendFile/DNA/MRecast.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(440, "MRecast", 4)] - public struct MRecast { - [DNAFieldAttribute(0, "int", "i", "int", 4, false, 0)] + public class MRecast { + [DNAFieldAttribute(4, "int", 0, "i", "int", false, 0)] public int i; public MRecast() { this.i = default; diff --git a/BlendFile/DNA/MSelect.cs b/BlendFile/DNA/MSelect.cs index b66f5d8..17fa209 100644 --- a/BlendFile/DNA/MSelect.cs +++ b/BlendFile/DNA/MSelect.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(416, "MSelect", 8)] - public struct MSelect { - [DNAFieldAttribute(0, "int", "index", "int", 4, false, 0)] + public class MSelect { + [DNAFieldAttribute(4, "int", 0, "index", "int", false, 0)] public int index; - [DNAFieldAttribute(1, "int", "type", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "type", "int", false, 4)] public int type; public MSelect() { this.index = default; diff --git a/BlendFile/DNA/MStringProperty.cs b/BlendFile/DNA/MStringProperty.cs index d480529..165259a 100644 --- a/BlendFile/DNA/MStringProperty.cs +++ b/BlendFile/DNA/MStringProperty.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(428, "MStringProperty", 256)] - public struct MStringProperty { - [DNAFieldAttribute(0, "char", "s[255]", "System.Char[]", 255, false, 0)] + public class MStringProperty { + [DNAFieldAttribute(255, "char", 0, "s[255]", "System.Char[]", false, 0)] public char[] s = new System.Char[255]; - [DNAFieldAttribute(1, "char", "s_len", "char", 1, false, 255)] + [DNAFieldAttribute(1, "char", 1, "s_len", "char", false, 255)] public char s_len; public MStringProperty() { this.s = default; diff --git a/BlendFile/DNA/MTFace.cs b/BlendFile/DNA/MTFace.cs index 4ccd301..d7c7da2 100644 --- a/BlendFile/DNA/MTFace.cs +++ b/BlendFile/DNA/MTFace.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(421, "MTFace", 32)] - public struct MTFace { - [DNAFieldAttribute(0, "float", "uv[4][2]", "System.Single[,]", 32, false, 0)] + public class MTFace { + [DNAFieldAttribute(32, "float", 0, "uv[4][2]", "System.Single[,]", false, 0)] public float[,] uv = new System.Single[4,2]; public MTFace() { this.uv = default; diff --git a/BlendFile/DNA/MTex.cs b/BlendFile/DNA/MTex.cs index 0eff030..4b59ea2 100644 --- a/BlendFile/DNA/MTex.cs +++ b/BlendFile/DNA/MTex.cs @@ -15,91 +15,91 @@ namespace BlendFile.DNA { [DNAClassAttribute(132, "MTex", 216)] public class MTex { - [DNAFieldAttribute(0, "short", "texco", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "texco", "short", false, 0)] public short texco; - [DNAFieldAttribute(1, "short", "mapto", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "mapto", "short", false, 2)] public short mapto; - [DNAFieldAttribute(2, "short", "blendtype", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "blendtype", "short", false, 4)] public short blendtype; - [DNAFieldAttribute(3, "char", "_pad2[2]", "System.Char[]", 2, false, 6)] + [DNAFieldAttribute(2, "char", 3, "_pad2[2]", "System.Char[]", false, 6)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(4, "Object", "*object", "Object", 8, true, 8)] - public Object ptr_object; - [DNAFieldAttribute(5, "Tex", "*tex", "Tex", 8, true, 16)] - public Tex ptr_tex; - [DNAFieldAttribute(6, "char", "uvname[68]", "System.Char[]", 68, false, 24)] + [DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 8)] + public Object @object; + [DNAFieldAttribute(8, "Tex", 5, "*tex", "Tex", true, 16)] + public Tex tex; + [DNAFieldAttribute(68, "char", 6, "uvname[68]", "System.Char[]", false, 24)] public char[] uvname = new System.Char[68]; - [DNAFieldAttribute(7, "char", "projx", "char", 1, false, 92)] + [DNAFieldAttribute(1, "char", 7, "projx", "char", false, 92)] public char projx; - [DNAFieldAttribute(8, "char", "projy", "char", 1, false, 93)] + [DNAFieldAttribute(1, "char", 8, "projy", "char", false, 93)] public char projy; - [DNAFieldAttribute(9, "char", "projz", "char", 1, false, 94)] + [DNAFieldAttribute(1, "char", 9, "projz", "char", false, 94)] public char projz; - [DNAFieldAttribute(10, "char", "mapping", "char", 1, false, 95)] + [DNAFieldAttribute(1, "char", 10, "mapping", "char", false, 95)] public char mapping; - [DNAFieldAttribute(11, "char", "brush_map_mode", "char", 1, false, 96)] + [DNAFieldAttribute(1, "char", 11, "brush_map_mode", "char", false, 96)] public char brush_map_mode; - [DNAFieldAttribute(12, "char", "brush_angle_mode", "char", 1, false, 97)] + [DNAFieldAttribute(1, "char", 12, "brush_angle_mode", "char", false, 97)] public char brush_angle_mode; - [DNAFieldAttribute(13, "short", "which_output", "short", 2, false, 98)] + [DNAFieldAttribute(2, "short", 13, "which_output", "short", false, 98)] public short which_output; - [DNAFieldAttribute(14, "float", "ofs[3]", "System.Single[]", 12, false, 100)] + [DNAFieldAttribute(12, "float", 14, "ofs[3]", "System.Single[]", false, 100)] public float[] ofs = new System.Single[3]; - [DNAFieldAttribute(15, "float", "size[3]", "System.Single[]", 12, false, 112)] + [DNAFieldAttribute(12, "float", 15, "size[3]", "System.Single[]", false, 112)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(16, "float", "rot", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 16, "rot", "float", false, 124)] public float rot; - [DNAFieldAttribute(17, "float", "random_angle", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 17, "random_angle", "float", false, 128)] public float random_angle; - [DNAFieldAttribute(18, "float", "r", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 18, "r", "float", false, 132)] public float r; - [DNAFieldAttribute(19, "float", "g", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 19, "g", "float", false, 136)] public float g; - [DNAFieldAttribute(20, "float", "b", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 20, "b", "float", false, 140)] public float b; - [DNAFieldAttribute(21, "float", "k", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 21, "k", "float", false, 144)] public float k; - [DNAFieldAttribute(22, "float", "def_var", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 22, "def_var", "float", false, 148)] public float def_var; - [DNAFieldAttribute(23, "float", "colfac", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 23, "colfac", "float", false, 152)] public float colfac; - [DNAFieldAttribute(24, "float", "alphafac", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 24, "alphafac", "float", false, 156)] public float alphafac; - [DNAFieldAttribute(25, "float", "timefac", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 25, "timefac", "float", false, 160)] public float timefac; - [DNAFieldAttribute(26, "float", "lengthfac", "float", 4, false, 164)] + [DNAFieldAttribute(4, "float", 26, "lengthfac", "float", false, 164)] public float lengthfac; - [DNAFieldAttribute(27, "float", "clumpfac", "float", 4, false, 168)] + [DNAFieldAttribute(4, "float", 27, "clumpfac", "float", false, 168)] public float clumpfac; - [DNAFieldAttribute(28, "float", "dampfac", "float", 4, false, 172)] + [DNAFieldAttribute(4, "float", 28, "dampfac", "float", false, 172)] public float dampfac; - [DNAFieldAttribute(29, "float", "kinkfac", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 29, "kinkfac", "float", false, 176)] public float kinkfac; - [DNAFieldAttribute(30, "float", "kinkampfac", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 30, "kinkampfac", "float", false, 180)] public float kinkampfac; - [DNAFieldAttribute(31, "float", "roughfac", "float", 4, false, 184)] + [DNAFieldAttribute(4, "float", 31, "roughfac", "float", false, 184)] public float roughfac; - [DNAFieldAttribute(32, "float", "padensfac", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 32, "padensfac", "float", false, 188)] public float padensfac; - [DNAFieldAttribute(33, "float", "gravityfac", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 33, "gravityfac", "float", false, 192)] public float gravityfac; - [DNAFieldAttribute(34, "float", "lifefac", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 34, "lifefac", "float", false, 196)] public float lifefac; - [DNAFieldAttribute(35, "float", "sizefac", "float", 4, false, 200)] + [DNAFieldAttribute(4, "float", 35, "sizefac", "float", false, 200)] public float sizefac; - [DNAFieldAttribute(36, "float", "ivelfac", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 36, "ivelfac", "float", false, 204)] public float ivelfac; - [DNAFieldAttribute(37, "float", "fieldfac", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 37, "fieldfac", "float", false, 208)] public float fieldfac; - [DNAFieldAttribute(38, "float", "twistfac", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 38, "twistfac", "float", false, 212)] 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.@object = default; + this.tex = default; this.uvname = default; this.projx = default; this.projy = default; @@ -139,8 +139,8 @@ namespace BlendFile.DNA { short mapto, short blendtype, char[] _pad2, - Object ptr_object, - Tex ptr_tex, + Object @object, + Tex tex, char[] uvname, char projx, char projy, @@ -178,8 +178,8 @@ namespace BlendFile.DNA { this.mapto = mapto; this.blendtype = blendtype; this._pad2 = _pad2; - this.ptr_object = ptr_object; - this.ptr_tex = ptr_tex; + this.@object = @object; + this.tex = tex; this.uvname = uvname; this.projx = projx; this.projy = projy; diff --git a/BlendFile/DNA/MVert.cs b/BlendFile/DNA/MVert.cs index a63fadd..32e6c2f 100644 --- a/BlendFile/DNA/MVert.cs +++ b/BlendFile/DNA/MVert.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(419, "MVert", 16)] - public struct MVert { - [DNAFieldAttribute(0, "float", "co[3]", "System.Single[]", 12, false, 0)] + public class MVert { + [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] public float[] co = new System.Single[3]; - [DNAFieldAttribute(1, "char", "flag", "char", 1, false, 12)] + [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 12)] public char flag; - [DNAFieldAttribute(2, "char", "bweight", "char", 1, false, 13)] + [DNAFieldAttribute(1, "char", 2, "bweight", "char", false, 13)] public char bweight; - [DNAFieldAttribute(3, "char", "_pad[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 14)] public char[] _pad = new System.Char[2]; public MVert() { this.co = default; diff --git a/BlendFile/DNA/MVertSkin.cs b/BlendFile/DNA/MVertSkin.cs index c7a24d8..75e1e71 100644 --- a/BlendFile/DNA/MVertSkin.cs +++ b/BlendFile/DNA/MVertSkin.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(432, "MVertSkin", 16)] - public struct MVertSkin { - [DNAFieldAttribute(0, "float", "radius[3]", "System.Single[]", 12, false, 0)] + public class MVertSkin { + [DNAFieldAttribute(12, "float", 0, "radius[3]", "System.Single[]", false, 0)] public float[] radius = new System.Single[3]; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 12)] public int flag; public MVertSkin() { this.radius = default; diff --git a/BlendFile/DNA/MappingInfoModifierData.cs b/BlendFile/DNA/MappingInfoModifierData.cs index 101c32e..ffbe10e 100644 --- a/BlendFile/DNA/MappingInfoModifierData.cs +++ b/BlendFile/DNA/MappingInfoModifierData.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(445, "MappingInfoModifierData", 280)] public class MappingInfoModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Tex", "*texture", "Tex", 8, true, 120)] - public Tex ptr_texture; - [DNAFieldAttribute(2, "Object", "*map_object", "Object", 8, true, 128)] - public Object ptr_map_object; - [DNAFieldAttribute(3, "char", "map_bone[64]", "System.Char[]", 64, false, 136)] + [DNAFieldAttribute(8, "Tex", 1, "*texture", "Tex", true, 120)] + public Tex texture; + [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] + public Object map_object; + [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(4, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 200)] + [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(5, "char", "_pad1[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(6, "int", "uvlayer_tmp", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; - [DNAFieldAttribute(7, "int", "texmapping", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 7, "texmapping", "int", false, 276)] public int texmapping; public MappingInfoModifierData() { this.modifier = default; - this.ptr_texture = default; - this.ptr_map_object = default; + this.texture = default; + this.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) { + public MappingInfoModifierData(ModifierData modifier, Tex texture, Object map_object, char[] map_bone, char[] uvlayer_name, char[] _pad1, int uvlayer_tmp, int texmapping) { this.modifier = modifier; - this.ptr_texture = ptr_texture; - this.ptr_map_object = ptr_map_object; + this.texture = texture; + this.map_object = map_object; this.map_bone = map_bone; this.uvlayer_name = uvlayer_name; this._pad1 = _pad1; diff --git a/BlendFile/DNA/Mask.cs b/BlendFile/DNA/Mask.cs index e8e3cf8..bc0e244 100644 --- a/BlendFile/DNA/Mask.cs +++ b/BlendFile/DNA/Mask.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(406, "Mask", 272)] public class Mask { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "ListBase", "masklayers", "ListBase", 16, false, 232)] + [DNAFieldAttribute(16, "ListBase", 3, "masklayers", "ListBase", false, 232)] public ListBase masklayers; - [DNAFieldAttribute(4, "int", "masklay_act", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 4, "masklay_act", "int", false, 248)] public int masklay_act; - [DNAFieldAttribute(5, "int", "masklay_tot", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 5, "masklay_tot", "int", false, 252)] public int masklay_tot; - [DNAFieldAttribute(6, "int", "sfra", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 6, "sfra", "int", false, 256)] public int sfra; - [DNAFieldAttribute(7, "int", "efra", "int", 4, false, 260)] + [DNAFieldAttribute(4, "int", 7, "efra", "int", false, 260)] public int efra; - [DNAFieldAttribute(8, "int", "flag", "int", 4, false, 264)] + [DNAFieldAttribute(4, "int", 8, "flag", "int", false, 264)] public int flag; - [DNAFieldAttribute(9, "char", "_pad[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 268)] public char[] _pad = new System.Char[4]; public Mask() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; this.masklayers = default; this.masklay_act = default; @@ -47,9 +47,9 @@ namespace BlendFile.DNA { 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) { + public Mask(ID id, AnimData 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; + this.adt = adt; this.drawdata = drawdata; this.masklayers = masklayers; this.masklay_act = masklay_act; diff --git a/BlendFile/DNA/MaskLayer.cs b/BlendFile/DNA/MaskLayer.cs index f661ed0..fb8a3ee 100644 --- a/BlendFile/DNA/MaskLayer.cs +++ b/BlendFile/DNA/MaskLayer.cs @@ -15,42 +15,42 @@ namespace BlendFile.DNA { [DNAClassAttribute(412, "MaskLayer", 144)] public class MaskLayer { - [DNAFieldAttribute(0, "MaskLayer", "*next", "MaskLayer", 8, true, 0)] - public MaskLayer ptr_next; - [DNAFieldAttribute(1, "MaskLayer", "*prev", "MaskLayer", 8, true, 8)] - public MaskLayer ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "MaskLayer", 0, "*next", "MaskLayer", true, 0)] + public MaskLayer next; + [DNAFieldAttribute(8, "MaskLayer", 1, "*prev", "MaskLayer", true, 8)] + public MaskLayer prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "ListBase", "splines", "ListBase", 16, false, 80)] + [DNAFieldAttribute(16, "ListBase", 3, "splines", "ListBase", false, 80)] public ListBase splines; - [DNAFieldAttribute(4, "ListBase", "splines_shapes", "ListBase", 16, false, 96)] + [DNAFieldAttribute(16, "ListBase", 4, "splines_shapes", "ListBase", false, 96)] public ListBase splines_shapes; - [DNAFieldAttribute(5, "MaskSpline", "*act_spline", "MaskSpline", 8, true, 112)] - public MaskSpline ptr_act_spline; - [DNAFieldAttribute(6, "MaskSplinePoint", "*act_point", "MaskSplinePoint", 8, true, 120)] - public MaskSplinePoint ptr_act_point; - [DNAFieldAttribute(7, "float", "alpha", "float", 4, false, 128)] + [DNAFieldAttribute(8, "MaskSpline", 5, "*act_spline", "MaskSpline", true, 112)] + public MaskSpline act_spline; + [DNAFieldAttribute(8, "MaskSplinePoint", 6, "*act_point", "MaskSplinePoint", true, 120)] + public MaskSplinePoint act_point; + [DNAFieldAttribute(4, "float", 7, "alpha", "float", false, 128)] public float alpha; - [DNAFieldAttribute(8, "char", "blend", "char", 1, false, 132)] + [DNAFieldAttribute(1, "char", 8, "blend", "char", false, 132)] public char blend; - [DNAFieldAttribute(9, "char", "blend_flag", "char", 1, false, 133)] + [DNAFieldAttribute(1, "char", 9, "blend_flag", "char", false, 133)] public char blend_flag; - [DNAFieldAttribute(10, "char", "falloff", "char", 1, false, 134)] + [DNAFieldAttribute(1, "char", 10, "falloff", "char", false, 134)] public char falloff; - [DNAFieldAttribute(11, "char", "_pad[7]", "System.Char[]", 7, false, 135)] + [DNAFieldAttribute(7, "char", 11, "_pad[7]", "System.Char[]", false, 135)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(12, "char", "flag", "char", 1, false, 142)] + [DNAFieldAttribute(1, "char", 12, "flag", "char", false, 142)] public char flag; - [DNAFieldAttribute(13, "char", "restrictflag", "char", 1, false, 143)] + [DNAFieldAttribute(1, "char", 13, "restrictflag", "char", false, 143)] public char restrictflag; public MaskLayer() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.splines = default; this.splines_shapes = default; - this.ptr_act_spline = default; - this.ptr_act_point = default; + this.act_spline = default; + this.act_point = default; this.alpha = default; this.blend = default; this.blend_flag = default; @@ -59,14 +59,14 @@ namespace BlendFile.DNA { 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; + public MaskLayer(MaskLayer next, MaskLayer prev, char[] name, ListBase splines, ListBase splines_shapes, MaskSpline act_spline, MaskSplinePoint act_point, float alpha, char blend, char blend_flag, char falloff, char[] _pad, char flag, char restrictflag) { + this.next = next; + this.prev = prev; this.name = name; this.splines = splines; this.splines_shapes = splines_shapes; - this.ptr_act_spline = ptr_act_spline; - this.ptr_act_point = ptr_act_point; + this.act_spline = act_spline; + this.act_point = act_point; this.alpha = alpha; this.blend = blend; this.blend_flag = blend_flag; diff --git a/BlendFile/DNA/MaskLayerShape.cs b/BlendFile/DNA/MaskLayerShape.cs index af027ac..a27afeb 100644 --- a/BlendFile/DNA/MaskLayerShape.cs +++ b/BlendFile/DNA/MaskLayerShape.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(411, "MaskLayerShape", 40)] public class MaskLayerShape { - [DNAFieldAttribute(0, "MaskLayerShape", "*next", "MaskLayerShape", 8, true, 0)] - public MaskLayerShape ptr_next; - [DNAFieldAttribute(1, "MaskLayerShape", "*prev", "MaskLayerShape", 8, true, 8)] - public MaskLayerShape ptr_prev; - [DNAFieldAttribute(2, "float", "*data", "float", 8, true, 16)] - public float ptr_data; - [DNAFieldAttribute(3, "int", "tot_vert", "int", 4, false, 24)] + [DNAFieldAttribute(8, "MaskLayerShape", 0, "*next", "MaskLayerShape", true, 0)] + public MaskLayerShape next; + [DNAFieldAttribute(8, "MaskLayerShape", 1, "*prev", "MaskLayerShape", true, 8)] + public MaskLayerShape prev; + [DNAFieldAttribute(8, "float", 2, "*data", "float", true, 16)] + public float data; + [DNAFieldAttribute(4, "int", 3, "tot_vert", "int", false, 24)] public int tot_vert; - [DNAFieldAttribute(4, "int", "frame", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 4, "frame", "int", false, 28)] public int frame; - [DNAFieldAttribute(5, "char", "flag", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 5, "flag", "char", false, 32)] public char flag; - [DNAFieldAttribute(6, "char", "_pad[7]", "System.Char[]", 7, false, 33)] + [DNAFieldAttribute(7, "char", 6, "_pad[7]", "System.Char[]", false, 33)] public char[] _pad = new System.Char[7]; public MaskLayerShape() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_data = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_data = ptr_data; + public MaskLayerShape(MaskLayerShape next, MaskLayerShape prev, float data, int tot_vert, int frame, char flag, char[] _pad) { + this.next = next; + this.prev = prev; + this.data = data; this.tot_vert = tot_vert; this.frame = frame; this.flag = flag; diff --git a/BlendFile/DNA/MaskModifierData.cs b/BlendFile/DNA/MaskModifierData.cs index 285ccd4..312ace1 100644 --- a/BlendFile/DNA/MaskModifierData.cs +++ b/BlendFile/DNA/MaskModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(450, "MaskModifierData", 208)] public class MaskModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*ob_arm", "Object", 8, true, 120)] - public Object ptr_ob_arm; - [DNAFieldAttribute(2, "char", "vgroup[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*ob_arm", "Object", true, 120)] + public Object ob_arm; + [DNAFieldAttribute(64, "char", 2, "vgroup[64]", "System.Char[]", false, 128)] public char[] vgroup = new System.Char[64]; - [DNAFieldAttribute(3, "short", "mode", "short", 2, false, 192)] + [DNAFieldAttribute(2, "short", 3, "mode", "short", false, 192)] public short mode; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)] public short flag; - [DNAFieldAttribute(5, "float", "threshold", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 5, "threshold", "float", false, 196)] public float threshold; - [DNAFieldAttribute(6, "void", "*_pad1", "void", 8, true, 200)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)] + public object _pad1; public MaskModifierData() { this.modifier = default; - this.ptr_ob_arm = default; + this.ob_arm = default; this.vgroup = default; this.mode = default; this.flag = default; this.threshold = default; - this.ptr__pad1 = default; + this._pad1 = default; } - public MaskModifierData(ModifierData modifier, Object ptr_ob_arm, char[] vgroup, short mode, short flag, float threshold, object ptr__pad1) { + public MaskModifierData(ModifierData modifier, Object ob_arm, char[] vgroup, short mode, short flag, float threshold, object _pad1) { this.modifier = modifier; - this.ptr_ob_arm = ptr_ob_arm; + this.ob_arm = ob_arm; this.vgroup = vgroup; this.mode = mode; this.flag = flag; this.threshold = threshold; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/MaskParent.cs b/BlendFile/DNA/MaskParent.cs index 970b7f8..a5f1bd0 100644 --- a/BlendFile/DNA/MaskParent.cs +++ b/BlendFile/DNA/MaskParent.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(407, "MaskParent", 184)] public class MaskParent { - [DNAFieldAttribute(0, "int", "id_type", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "id_type", "int", false, 0)] public int id_type; - [DNAFieldAttribute(1, "int", "type", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "type", "int", false, 4)] public int type; - [DNAFieldAttribute(2, "ID", "*id", "ID", 8, true, 8)] - public ID ptr_id; - [DNAFieldAttribute(3, "char", "parent[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "ID", 2, "*id", "ID", true, 8)] + public ID id; + [DNAFieldAttribute(64, "char", 3, "parent[64]", "System.Char[]", false, 16)] public char[] parent = new System.Char[64]; - [DNAFieldAttribute(4, "char", "sub_parent[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 4, "sub_parent[64]", "System.Char[]", false, 80)] public char[] sub_parent = new System.Char[64]; - [DNAFieldAttribute(5, "float", "parent_orig[2]", "System.Single[]", 8, false, 144)] + [DNAFieldAttribute(8, "float", 5, "parent_orig[2]", "System.Single[]", false, 144)] public float[] parent_orig = new System.Single[2]; - [DNAFieldAttribute(6, "float", "parent_corners_orig[4][2]", "System.Single[,]", 32, false, 152)] + [DNAFieldAttribute(32, "float", 6, "parent_corners_orig[4][2]", "System.Single[,]", false, 152)] public float[,] parent_corners_orig = new System.Single[4,2]; public MaskParent() { this.id_type = default; this.type = default; - this.ptr_id = default; + this.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) { + public MaskParent(int id_type, int type, ID id, char[] parent, char[] sub_parent, float[] parent_orig, float[,] parent_corners_orig) { this.id_type = id_type; this.type = type; - this.ptr_id = ptr_id; + this.id = id; this.parent = parent; this.sub_parent = sub_parent; this.parent_orig = parent_orig; diff --git a/BlendFile/DNA/MaskSpaceInfo.cs b/BlendFile/DNA/MaskSpaceInfo.cs index e44fd3a..140983e 100644 --- a/BlendFile/DNA/MaskSpaceInfo.cs +++ b/BlendFile/DNA/MaskSpaceInfo.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(939, "MaskSpaceInfo", 16)] public class MaskSpaceInfo { - [DNAFieldAttribute(0, "Mask", "*mask", "Mask", 8, true, 0)] - public Mask ptr_mask; - [DNAFieldAttribute(1, "char", "draw_flag", "char", 1, false, 8)] + [DNAFieldAttribute(8, "Mask", 0, "*mask", "Mask", true, 0)] + public Mask mask; + [DNAFieldAttribute(1, "char", 1, "draw_flag", "char", false, 8)] public char draw_flag; - [DNAFieldAttribute(2, "char", "draw_type", "char", 1, false, 9)] + [DNAFieldAttribute(1, "char", 2, "draw_type", "char", false, 9)] public char draw_type; - [DNAFieldAttribute(3, "char", "overlay_mode", "char", 1, false, 10)] + [DNAFieldAttribute(1, "char", 3, "overlay_mode", "char", false, 10)] public char overlay_mode; - [DNAFieldAttribute(4, "char", "_pad3[1]", "System.Char[]", 1, false, 11)] + [DNAFieldAttribute(1, "char", 4, "_pad3[1]", "System.Char[]", false, 11)] public char[] _pad3 = new System.Char[1]; - [DNAFieldAttribute(5, "float", "blend_factor", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 5, "blend_factor", "float", false, 12)] public float blend_factor; public MaskSpaceInfo() { - this.ptr_mask = default; + this.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; + public MaskSpaceInfo(Mask mask, char draw_flag, char draw_type, char overlay_mode, char[] _pad3, float blend_factor) { + this.mask = mask; this.draw_flag = draw_flag; this.draw_type = draw_type; this.overlay_mode = overlay_mode; diff --git a/BlendFile/DNA/MaskSpline.cs b/BlendFile/DNA/MaskSpline.cs index 96b6cbe..0e7c1af 100644 --- a/BlendFile/DNA/MaskSpline.cs +++ b/BlendFile/DNA/MaskSpline.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(410, "MaskSpline", 224)] public class MaskSpline { - [DNAFieldAttribute(0, "MaskSpline", "*next", "MaskSpline", 8, true, 0)] - public MaskSpline ptr_next; - [DNAFieldAttribute(1, "MaskSpline", "*prev", "MaskSpline", 8, true, 8)] - public MaskSpline ptr_prev; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 16)] + [DNAFieldAttribute(8, "MaskSpline", 0, "*next", "MaskSpline", true, 0)] + public MaskSpline next; + [DNAFieldAttribute(8, "MaskSpline", 1, "*prev", "MaskSpline", true, 8)] + public MaskSpline prev; + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 16)] public short flag; - [DNAFieldAttribute(3, "char", "offset_mode", "char", 1, false, 18)] + [DNAFieldAttribute(1, "char", 3, "offset_mode", "char", false, 18)] public char offset_mode; - [DNAFieldAttribute(4, "char", "weight_interp", "char", 1, false, 19)] + [DNAFieldAttribute(1, "char", 4, "weight_interp", "char", false, 19)] public char weight_interp; - [DNAFieldAttribute(5, "int", "tot_point", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "tot_point", "int", false, 20)] public int tot_point; - [DNAFieldAttribute(6, "MaskSplinePoint", "*points", "MaskSplinePoint", 8, true, 24)] - public MaskSplinePoint ptr_points; - [DNAFieldAttribute(7, "MaskParent", "parent", "MaskParent", 184, false, 32)] + [DNAFieldAttribute(8, "MaskSplinePoint", 6, "*points", "MaskSplinePoint", true, 24)] + public MaskSplinePoint points; + [DNAFieldAttribute(184, "MaskParent", 7, "parent", "MaskParent", false, 32)] public MaskParent parent; - [DNAFieldAttribute(8, "MaskSplinePoint", "*points_deform", "MaskSplinePoint", 8, true, 216)] - public MaskSplinePoint ptr_points_deform; + [DNAFieldAttribute(8, "MaskSplinePoint", 8, "*points_deform", "MaskSplinePoint", true, 216)] + public MaskSplinePoint points_deform; public MaskSpline() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.flag = default; this.offset_mode = default; this.weight_interp = default; this.tot_point = default; - this.ptr_points = default; + this.points = default; this.parent = default; - this.ptr_points_deform = default; + this.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; + public MaskSpline(MaskSpline next, MaskSpline prev, short flag, char offset_mode, char weight_interp, int tot_point, MaskSplinePoint points, MaskParent parent, MaskSplinePoint points_deform) { + this.next = next; + this.prev = prev; this.flag = flag; this.offset_mode = offset_mode; this.weight_interp = weight_interp; this.tot_point = tot_point; - this.ptr_points = ptr_points; + this.points = points; this.parent = parent; - this.ptr_points_deform = ptr_points_deform; + this.points_deform = points_deform; } } } diff --git a/BlendFile/DNA/MaskSplinePoint.cs b/BlendFile/DNA/MaskSplinePoint.cs index d8ef1da..96c52c8 100644 --- a/BlendFile/DNA/MaskSplinePoint.cs +++ b/BlendFile/DNA/MaskSplinePoint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(409, "MaskSplinePoint", 272)] public class MaskSplinePoint { - [DNAFieldAttribute(0, "BezTriple", "bezt", "BezTriple", 72, false, 0)] + [DNAFieldAttribute(72, "BezTriple", 0, "bezt", "BezTriple", false, 0)] public BezTriple bezt; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 72)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 72)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "int", "tot_uw", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 2, "tot_uw", "int", false, 76)] public int tot_uw; - [DNAFieldAttribute(3, "MaskSplinePointUW", "*uw", "MaskSplinePointUW", 8, true, 80)] - public MaskSplinePointUW ptr_uw; - [DNAFieldAttribute(4, "MaskParent", "parent", "MaskParent", 184, false, 88)] + [DNAFieldAttribute(8, "MaskSplinePointUW", 3, "*uw", "MaskSplinePointUW", true, 80)] + public MaskSplinePointUW uw; + [DNAFieldAttribute(184, "MaskParent", 4, "parent", "MaskParent", false, 88)] public MaskParent parent; public MaskSplinePoint() { this.bezt = default; this._pad = default; this.tot_uw = default; - this.ptr_uw = default; + this.uw = default; this.parent = default; } - public MaskSplinePoint(BezTriple bezt, char[] _pad, int tot_uw, MaskSplinePointUW ptr_uw, MaskParent parent) { + public MaskSplinePoint(BezTriple bezt, char[] _pad, int tot_uw, MaskSplinePointUW uw, MaskParent parent) { this.bezt = bezt; this._pad = _pad; this.tot_uw = tot_uw; - this.ptr_uw = ptr_uw; + this.uw = uw; this.parent = parent; } } diff --git a/BlendFile/DNA/MaskSplinePointUW.cs b/BlendFile/DNA/MaskSplinePointUW.cs index a1662d7..0c22fdc 100644 --- a/BlendFile/DNA/MaskSplinePointUW.cs +++ b/BlendFile/DNA/MaskSplinePointUW.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(408, "MaskSplinePointUW", 12)] - public struct MaskSplinePointUW { - [DNAFieldAttribute(0, "float", "u", "float", 4, false, 0)] + public class MaskSplinePointUW { + [DNAFieldAttribute(4, "float", 0, "u", "float", false, 0)] public float u; - [DNAFieldAttribute(1, "float", "w", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "w", "float", false, 4)] public float w; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)] public int flag; public MaskSplinePointUW() { this.u = default; diff --git a/BlendFile/DNA/Material.cs b/BlendFile/DNA/Material.cs index 24ac8da..05e0f3d 100644 --- a/BlendFile/DNA/Material.cs +++ b/BlendFile/DNA/Material.cs @@ -15,101 +15,101 @@ namespace BlendFile.DNA { [DNAClassAttribute(129, "Material", 392)] public class Material { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 216)] public short flag; - [DNAFieldAttribute(3, "char", "surface_render_method", "char", 1, false, 218)] + [DNAFieldAttribute(1, "char", 3, "surface_render_method", "char", false, 218)] public char surface_render_method; - [DNAFieldAttribute(4, "char", "_pad1[1]", "System.Char[]", 1, false, 219)] + [DNAFieldAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", false, 219)] public char[] _pad1 = new System.Char[1]; - [DNAFieldAttribute(5, "float", "r", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 5, "r", "float", false, 220)] public float r; - [DNAFieldAttribute(6, "float", "g", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 6, "g", "float", false, 224)] public float g; - [DNAFieldAttribute(7, "float", "b", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 7, "b", "float", false, 228)] public float b; - [DNAFieldAttribute(8, "float", "a", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 8, "a", "float", false, 232)] public float a; - [DNAFieldAttribute(9, "float", "specr", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 9, "specr", "float", false, 236)] public float specr; - [DNAFieldAttribute(10, "float", "specg", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 10, "specg", "float", false, 240)] public float specg; - [DNAFieldAttribute(11, "float", "specb", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 11, "specb", "float", false, 244)] public float specb; - [DNAFieldAttribute(12, "float", "alpha", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 12, "alpha", "float", false, 248)] public float alpha; - [DNAFieldAttribute(13, "float", "ray_mirror", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 13, "ray_mirror", "float", false, 252)] public float ray_mirror; - [DNAFieldAttribute(14, "float", "spec", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 14, "spec", "float", false, 256)] public float spec; - [DNAFieldAttribute(15, "float", "gloss_mir", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 15, "gloss_mir", "float", false, 260)] public float gloss_mir; - [DNAFieldAttribute(16, "float", "roughness", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 16, "roughness", "float", false, 264)] public float roughness; - [DNAFieldAttribute(17, "float", "metallic", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 17, "metallic", "float", false, 268)] public float metallic; - [DNAFieldAttribute(18, "char", "use_nodes", "char", 1, false, 272)] + [DNAFieldAttribute(1, "char", 18, "use_nodes", "char", false, 272)] public char use_nodes; - [DNAFieldAttribute(19, "char", "pr_type", "char", 1, false, 273)] + [DNAFieldAttribute(1, "char", 19, "pr_type", "char", false, 273)] public char pr_type; - [DNAFieldAttribute(20, "short", "pr_texture", "short", 2, false, 274)] + [DNAFieldAttribute(2, "short", 20, "pr_texture", "short", false, 274)] public short pr_texture; - [DNAFieldAttribute(21, "short", "pr_flag", "short", 2, false, 276)] + [DNAFieldAttribute(2, "short", 21, "pr_flag", "short", false, 276)] public short pr_flag; - [DNAFieldAttribute(22, "short", "index", "short", 2, false, 278)] + [DNAFieldAttribute(2, "short", 22, "index", "short", false, 278)] public short index; - [DNAFieldAttribute(23, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 280)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(24, "Ipo", "*ipo", "Ipo", 8, true, 288)] - public Ipo ptr_ipo; - [DNAFieldAttribute(25, "PreviewImage", "*preview", "PreviewImage", 8, true, 296)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(26, "float", "line_col[4]", "System.Single[]", 16, false, 304)] + [DNAFieldAttribute(8, "bNodeTree", 23, "*nodetree", "bNodeTree", true, 280)] + public bNodeTree nodetree; + [DNAFieldAttribute(8, "Ipo", 24, "*ipo", "Ipo", true, 288)] + public Ipo ipo; + [DNAFieldAttribute(8, "PreviewImage", 25, "*preview", "PreviewImage", true, 296)] + public PreviewImage preview; + [DNAFieldAttribute(16, "float", 26, "line_col[4]", "System.Single[]", false, 304)] public float[] line_col = new System.Single[4]; - [DNAFieldAttribute(27, "short", "line_priority", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 27, "line_priority", "short", false, 320)] public short line_priority; - [DNAFieldAttribute(28, "short", "vcol_alpha", "short", 2, false, 322)] + [DNAFieldAttribute(2, "short", 28, "vcol_alpha", "short", false, 322)] public short vcol_alpha; - [DNAFieldAttribute(29, "short", "paint_active_slot", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 29, "paint_active_slot", "short", false, 324)] public short paint_active_slot; - [DNAFieldAttribute(30, "short", "paint_clone_slot", "short", 2, false, 326)] + [DNAFieldAttribute(2, "short", 30, "paint_clone_slot", "short", false, 326)] public short paint_clone_slot; - [DNAFieldAttribute(31, "short", "tot_slots", "short", 2, false, 328)] + [DNAFieldAttribute(2, "short", 31, "tot_slots", "short", false, 328)] public short tot_slots; - [DNAFieldAttribute(32, "char", "displacement_method", "char", 1, false, 330)] + [DNAFieldAttribute(1, "char", 32, "displacement_method", "char", false, 330)] public char displacement_method; - [DNAFieldAttribute(33, "char", "thickness_mode", "char", 1, false, 331)] + [DNAFieldAttribute(1, "char", 33, "thickness_mode", "char", false, 331)] public char thickness_mode; - [DNAFieldAttribute(34, "float", "alpha_threshold", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 34, "alpha_threshold", "float", false, 332)] public float alpha_threshold; - [DNAFieldAttribute(35, "float", "refract_depth", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 35, "refract_depth", "float", false, 336)] public float refract_depth; - [DNAFieldAttribute(36, "char", "blend_method", "char", 1, false, 340)] + [DNAFieldAttribute(1, "char", 36, "blend_method", "char", false, 340)] public char blend_method; - [DNAFieldAttribute(37, "char", "blend_shadow", "char", 1, false, 341)] + [DNAFieldAttribute(1, "char", 37, "blend_shadow", "char", false, 341)] public char blend_shadow; - [DNAFieldAttribute(38, "char", "blend_flag", "char", 1, false, 342)] + [DNAFieldAttribute(1, "char", 38, "blend_flag", "char", false, 342)] public char blend_flag; - [DNAFieldAttribute(39, "char", "volume_intersection_method", "char", 1, false, 343)] + [DNAFieldAttribute(1, "char", 39, "volume_intersection_method", "char", false, 343)] public char volume_intersection_method; - [DNAFieldAttribute(40, "float", "inflate_bounds", "float", 4, false, 344)] + [DNAFieldAttribute(4, "float", 40, "inflate_bounds", "float", false, 344)] public float inflate_bounds; - [DNAFieldAttribute(41, "char", "_pad3[4]", "System.Char[]", 4, false, 348)] + [DNAFieldAttribute(4, "char", 41, "_pad3[4]", "System.Char[]", false, 348)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(42, "TexPaintSlot", "*texpaintslot", "TexPaintSlot", 8, true, 352)] - public TexPaintSlot ptr_texpaintslot; - [DNAFieldAttribute(43, "ListBase", "gpumaterial", "ListBase", 16, false, 360)] + [DNAFieldAttribute(8, "TexPaintSlot", 42, "*texpaintslot", "TexPaintSlot", true, 352)] + public TexPaintSlot texpaintslot; + [DNAFieldAttribute(16, "ListBase", 43, "gpumaterial", "ListBase", false, 360)] public ListBase gpumaterial; - [DNAFieldAttribute(44, "MaterialGPencilStyle", "*gp_style", "MaterialGPencilStyle", 8, true, 376)] - public MaterialGPencilStyle ptr_gp_style; - [DNAFieldAttribute(45, "MaterialLineArt", "lineart", "MaterialLineArt", 8, false, 384)] + [DNAFieldAttribute(8, "MaterialGPencilStyle", 44, "*gp_style", "MaterialGPencilStyle", true, 376)] + public MaterialGPencilStyle gp_style; + [DNAFieldAttribute(8, "MaterialLineArt", 45, "lineart", "MaterialLineArt", false, 384)] public MaterialLineArt lineart; public Material() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.flag = default; this.surface_render_method = default; this._pad1 = default; @@ -131,9 +131,9 @@ namespace BlendFile.DNA { this.pr_texture = default; this.pr_flag = default; this.index = default; - this.ptr_nodetree = default; - this.ptr_ipo = default; - this.ptr_preview = default; + this.nodetree = default; + this.ipo = default; + this.preview = default; this.line_col = default; this.line_priority = default; this.vcol_alpha = default; @@ -150,14 +150,14 @@ namespace BlendFile.DNA { this.volume_intersection_method = default; this.inflate_bounds = default; this._pad3 = default; - this.ptr_texpaintslot = default; + this.texpaintslot = default; this.gpumaterial = default; - this.ptr_gp_style = default; + this.gp_style = default; this.lineart = default; } public Material( ID id, - AnimData ptr_adt, + AnimData adt, short flag, char surface_render_method, char[] _pad1, @@ -179,9 +179,9 @@ namespace BlendFile.DNA { short pr_texture, short pr_flag, short index, - bNodeTree ptr_nodetree, - Ipo ptr_ipo, - PreviewImage ptr_preview, + bNodeTree nodetree, + Ipo ipo, + PreviewImage preview, float[] line_col, short line_priority, short vcol_alpha, @@ -198,12 +198,12 @@ namespace BlendFile.DNA { char volume_intersection_method, float inflate_bounds, char[] _pad3, - TexPaintSlot ptr_texpaintslot, + TexPaintSlot texpaintslot, ListBase gpumaterial, - MaterialGPencilStyle ptr_gp_style, + MaterialGPencilStyle gp_style, MaterialLineArt lineart) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.flag = flag; this.surface_render_method = surface_render_method; this._pad1 = _pad1; @@ -225,9 +225,9 @@ namespace BlendFile.DNA { this.pr_texture = pr_texture; this.pr_flag = pr_flag; this.index = index; - this.ptr_nodetree = ptr_nodetree; - this.ptr_ipo = ptr_ipo; - this.ptr_preview = ptr_preview; + this.nodetree = nodetree; + this.ipo = ipo; + this.preview = preview; this.line_col = line_col; this.line_priority = line_priority; this.vcol_alpha = vcol_alpha; @@ -244,9 +244,9 @@ namespace BlendFile.DNA { this.volume_intersection_method = volume_intersection_method; this.inflate_bounds = inflate_bounds; this._pad3 = _pad3; - this.ptr_texpaintslot = ptr_texpaintslot; + this.texpaintslot = texpaintslot; this.gpumaterial = gpumaterial; - this.ptr_gp_style = ptr_gp_style; + this.gp_style = gp_style; this.lineart = lineart; } } diff --git a/BlendFile/DNA/MaterialGPencilStyle.cs b/BlendFile/DNA/MaterialGPencilStyle.cs index 409481f..1935608 100644 --- a/BlendFile/DNA/MaterialGPencilStyle.cs +++ b/BlendFile/DNA/MaterialGPencilStyle.cs @@ -15,59 +15,59 @@ namespace BlendFile.DNA { [DNAClassAttribute(414, "MaterialGPencilStyle", 152)] public class MaterialGPencilStyle { - [DNAFieldAttribute(0, "Image", "*sima", "Image", 8, true, 0)] - public Image ptr_sima; - [DNAFieldAttribute(1, "Image", "*ima", "Image", 8, true, 8)] - public Image ptr_ima; - [DNAFieldAttribute(2, "float", "stroke_rgba[4]", "System.Single[]", 16, false, 16)] + [DNAFieldAttribute(8, "Image", 0, "*sima", "Image", true, 0)] + public Image sima; + [DNAFieldAttribute(8, "Image", 1, "*ima", "Image", true, 8)] + public Image ima; + [DNAFieldAttribute(16, "float", 2, "stroke_rgba[4]", "System.Single[]", false, 16)] public float[] stroke_rgba = new System.Single[4]; - [DNAFieldAttribute(3, "float", "fill_rgba[4]", "System.Single[]", 16, false, 32)] + [DNAFieldAttribute(16, "float", 3, "fill_rgba[4]", "System.Single[]", false, 32)] public float[] fill_rgba = new System.Single[4]; - [DNAFieldAttribute(4, "float", "mix_rgba[4]", "System.Single[]", 16, false, 48)] + [DNAFieldAttribute(16, "float", 4, "mix_rgba[4]", "System.Single[]", false, 48)] public float[] mix_rgba = new System.Single[4]; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 64)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 64)] public short flag; - [DNAFieldAttribute(6, "short", "index", "short", 2, false, 66)] + [DNAFieldAttribute(2, "short", 6, "index", "short", false, 66)] public short index; - [DNAFieldAttribute(7, "short", "stroke_style", "short", 2, false, 68)] + [DNAFieldAttribute(2, "short", 7, "stroke_style", "short", false, 68)] public short stroke_style; - [DNAFieldAttribute(8, "short", "fill_style", "short", 2, false, 70)] + [DNAFieldAttribute(2, "short", 8, "fill_style", "short", false, 70)] public short fill_style; - [DNAFieldAttribute(9, "float", "mix_factor", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 9, "mix_factor", "float", false, 72)] public float mix_factor; - [DNAFieldAttribute(10, "float", "gradient_angle", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 10, "gradient_angle", "float", false, 76)] public float gradient_angle; - [DNAFieldAttribute(11, "float", "gradient_radius", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 11, "gradient_radius", "float", false, 80)] public float gradient_radius; - [DNAFieldAttribute(12, "char", "_pad2[4]", "System.Char[]", 4, false, 84)] + [DNAFieldAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", false, 84)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(13, "float", "gradient_scale[2]", "System.Single[]", 8, false, 88)] + [DNAFieldAttribute(8, "float", 13, "gradient_scale[2]", "System.Single[]", false, 88)] public float[] gradient_scale = new System.Single[2]; - [DNAFieldAttribute(14, "float", "gradient_shift[2]", "System.Single[]", 8, false, 96)] + [DNAFieldAttribute(8, "float", 14, "gradient_shift[2]", "System.Single[]", false, 96)] public float[] gradient_shift = new System.Single[2]; - [DNAFieldAttribute(15, "float", "texture_angle", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 15, "texture_angle", "float", false, 104)] public float texture_angle; - [DNAFieldAttribute(16, "float", "texture_scale[2]", "System.Single[]", 8, false, 108)] + [DNAFieldAttribute(8, "float", 16, "texture_scale[2]", "System.Single[]", false, 108)] public float[] texture_scale = new System.Single[2]; - [DNAFieldAttribute(17, "float", "texture_offset[2]", "System.Single[]", 8, false, 116)] + [DNAFieldAttribute(8, "float", 17, "texture_offset[2]", "System.Single[]", false, 116)] public float[] texture_offset = new System.Single[2]; - [DNAFieldAttribute(18, "float", "texture_opacity", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 18, "texture_opacity", "float", false, 124)] public float texture_opacity; - [DNAFieldAttribute(19, "float", "texture_pixsize", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 19, "texture_pixsize", "float", false, 128)] public float texture_pixsize; - [DNAFieldAttribute(20, "int", "mode", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 20, "mode", "int", false, 132)] public int mode; - [DNAFieldAttribute(21, "int", "gradient_type", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 21, "gradient_type", "int", false, 136)] public int gradient_type; - [DNAFieldAttribute(22, "float", "mix_stroke_factor", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 22, "mix_stroke_factor", "float", false, 140)] public float mix_stroke_factor; - [DNAFieldAttribute(23, "int", "alignment_mode", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 23, "alignment_mode", "int", false, 144)] public int alignment_mode; - [DNAFieldAttribute(24, "float", "alignment_rotation", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 24, "alignment_rotation", "float", false, 148)] public float alignment_rotation; public MaterialGPencilStyle() { - this.ptr_sima = default; - this.ptr_ima = default; + this.sima = default; + this.ima = default; this.stroke_rgba = default; this.fill_rgba = default; this.mix_rgba = default; @@ -93,8 +93,8 @@ namespace BlendFile.DNA { this.alignment_rotation = default; } public MaterialGPencilStyle( - Image ptr_sima, - Image ptr_ima, + Image sima, + Image ima, float[] stroke_rgba, float[] fill_rgba, float[] mix_rgba, @@ -118,8 +118,8 @@ namespace BlendFile.DNA { float mix_stroke_factor, int alignment_mode, float alignment_rotation) { - this.ptr_sima = ptr_sima; - this.ptr_ima = ptr_ima; + this.sima = sima; + this.ima = ima; this.stroke_rgba = stroke_rgba; this.fill_rgba = fill_rgba; this.mix_rgba = mix_rgba; diff --git a/BlendFile/DNA/MaterialLineArt.cs b/BlendFile/DNA/MaterialLineArt.cs index ef4f41c..9e326f5 100644 --- a/BlendFile/DNA/MaterialLineArt.cs +++ b/BlendFile/DNA/MaterialLineArt.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(415, "MaterialLineArt", 8)] - public struct MaterialLineArt { - [DNAFieldAttribute(0, "int", "flags", "int", 4, false, 0)] + public class MaterialLineArt { + [DNAFieldAttribute(4, "int", 0, "flags", "int", false, 0)] public int flags; - [DNAFieldAttribute(1, "char", "transparency_mask", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 1, "transparency_mask", "char", false, 4)] public char transparency_mask; - [DNAFieldAttribute(2, "char", "mat_occlusion", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 2, "mat_occlusion", "char", false, 5)] public char mat_occlusion; - [DNAFieldAttribute(3, "char", "intersection_priority", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 3, "intersection_priority", "char", false, 6)] public char intersection_priority; - [DNAFieldAttribute(4, "char", "_pad", "char", 1, false, 7)] + [DNAFieldAttribute(1, "char", 4, "_pad", "char", false, 7)] public char _pad; public MaterialLineArt() { this.flags = default; diff --git a/BlendFile/DNA/Mesh.cs b/BlendFile/DNA/Mesh.cs index bd023a7..0e3ced2 100644 --- a/BlendFile/DNA/Mesh.cs +++ b/BlendFile/DNA/Mesh.cs @@ -15,123 +15,123 @@ namespace BlendFile.DNA { [DNAClassAttribute(247, "Mesh", 1712)] public class Mesh { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "Ipo", "*ipo", "Ipo", 8, true, 216)] - public Ipo ptr_ipo; - [DNAFieldAttribute(3, "Key", "*key", "Key", 8, true, 224)] - public Key ptr_key; - [DNAFieldAttribute(4, "Material", "**mat", "Material", 8, true, 232)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(5, "int", "totvert", "int", 4, false, 240)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(8, "Ipo", 2, "*ipo", "Ipo", true, 216)] + public Ipo ipo; + [DNAFieldAttribute(8, "Key", 3, "*key", "Key", true, 224)] + public Key key; + [DNAFieldAttribute(8, "Material", 4, "**mat", "Material", true, 232)] + public Material mat; + [DNAFieldAttribute(4, "int", 5, "totvert", "int", false, 240)] public int totvert; - [DNAFieldAttribute(6, "int", "totedge", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 6, "totedge", "int", false, 244)] public int totedge; - [DNAFieldAttribute(7, "int", "totpoly", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 7, "totpoly", "int", false, 248)] public int totpoly; - [DNAFieldAttribute(8, "int", "totloop", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 8, "totloop", "int", false, 252)] public int totloop; - [DNAFieldAttribute(9, "int", "*poly_offset_indices", "int", 8, true, 256)] - public int ptr_poly_offset_indices; - [DNAFieldAttribute(10, "CustomData", "vdata", "CustomData", 248, false, 264)] + [DNAFieldAttribute(8, "int", 9, "*poly_offset_indices", "int", true, 256)] + public int poly_offset_indices; + [DNAFieldAttribute(248, "CustomData", 10, "vdata", "CustomData", false, 264)] public CustomData vdata; - [DNAFieldAttribute(11, "CustomData", "edata", "CustomData", 248, false, 512)] + [DNAFieldAttribute(248, "CustomData", 11, "edata", "CustomData", false, 512)] public CustomData edata; - [DNAFieldAttribute(12, "CustomData", "pdata", "CustomData", 248, false, 760)] + [DNAFieldAttribute(248, "CustomData", 12, "pdata", "CustomData", false, 760)] public CustomData pdata; - [DNAFieldAttribute(13, "CustomData", "ldata", "CustomData", 248, false, 1008)] + [DNAFieldAttribute(248, "CustomData", 13, "ldata", "CustomData", false, 1008)] public CustomData ldata; - [DNAFieldAttribute(14, "ListBase", "vertex_group_names", "ListBase", 16, false, 1256)] + [DNAFieldAttribute(16, "ListBase", 14, "vertex_group_names", "ListBase", false, 1256)] public ListBase vertex_group_names; - [DNAFieldAttribute(15, "int", "vertex_group_active_index", "int", 4, false, 1272)] + [DNAFieldAttribute(4, "int", 15, "vertex_group_active_index", "int", false, 1272)] public int vertex_group_active_index; - [DNAFieldAttribute(16, "int", "attributes_active_index", "int", 4, false, 1276)] + [DNAFieldAttribute(4, "int", 16, "attributes_active_index", "int", false, 1276)] public int attributes_active_index; - [DNAFieldAttribute(17, "MSelect", "*mselect", "MSelect", 8, true, 1280)] - public MSelect ptr_mselect; - [DNAFieldAttribute(18, "int", "totselect", "int", 4, false, 1288)] + [DNAFieldAttribute(8, "MSelect", 17, "*mselect", "MSelect", true, 1280)] + public MSelect mselect; + [DNAFieldAttribute(4, "int", 18, "totselect", "int", false, 1288)] public int totselect; - [DNAFieldAttribute(19, "int", "act_face", "int", 4, false, 1292)] + [DNAFieldAttribute(4, "int", 19, "act_face", "int", false, 1292)] public int act_face; - [DNAFieldAttribute(20, "Mesh", "*texcomesh", "Mesh", 8, true, 1296)] - public Mesh ptr_texcomesh; - [DNAFieldAttribute(21, "float", "loc[3]", "System.Single[]", 12, false, 1304)] + [DNAFieldAttribute(8, "Mesh", 20, "*texcomesh", "Mesh", true, 1296)] + public Mesh texcomesh; + [DNAFieldAttribute(12, "float", 21, "loc[3]", "System.Single[]", false, 1304)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(22, "float", "size[3]", "System.Single[]", 12, false, 1316)] + [DNAFieldAttribute(12, "float", 22, "size[3]", "System.Single[]", false, 1316)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(23, "char", "texflag", "char", 1, false, 1328)] + [DNAFieldAttribute(1, "char", 23, "texflag", "char", false, 1328)] public char texflag; - [DNAFieldAttribute(24, "char", "editflag", "char", 1, false, 1329)] + [DNAFieldAttribute(1, "char", 24, "editflag", "char", false, 1329)] public char editflag; - [DNAFieldAttribute(25, "ushort", "flag", "ushort", 2, false, 1330)] + [DNAFieldAttribute(2, "ushort", 25, "flag", "ushort", false, 1330)] public ushort flag; - [DNAFieldAttribute(26, "float", "smoothresh", "float", 4, false, 1332)] + [DNAFieldAttribute(4, "float", 26, "smoothresh", "float", false, 1332)] public float smoothresh; - [DNAFieldAttribute(27, "float", "remesh_voxel_size", "float", 4, false, 1336)] + [DNAFieldAttribute(4, "float", 27, "remesh_voxel_size", "float", false, 1336)] public float remesh_voxel_size; - [DNAFieldAttribute(28, "float", "remesh_voxel_adaptivity", "float", 4, false, 1340)] + [DNAFieldAttribute(4, "float", 28, "remesh_voxel_adaptivity", "float", false, 1340)] public float remesh_voxel_adaptivity; - [DNAFieldAttribute(29, "int", "face_sets_color_seed", "int", 4, false, 1344)] + [DNAFieldAttribute(4, "int", 29, "face_sets_color_seed", "int", false, 1344)] public int face_sets_color_seed; - [DNAFieldAttribute(30, "int", "face_sets_color_default", "int", 4, false, 1348)] + [DNAFieldAttribute(4, "int", 30, "face_sets_color_default", "int", false, 1348)] public int face_sets_color_default; - [DNAFieldAttribute(31, "char", "*active_color_attribute", "char", 8, true, 1352)] - public char ptr_active_color_attribute; - [DNAFieldAttribute(32, "char", "*default_color_attribute", "char", 8, true, 1360)] - public char ptr_default_color_attribute; - [DNAFieldAttribute(33, "char", "symmetry", "char", 1, false, 1368)] + [DNAFieldAttribute(8, "char", 31, "*active_color_attribute", "char", true, 1352)] + public char active_color_attribute; + [DNAFieldAttribute(8, "char", 32, "*default_color_attribute", "char", true, 1360)] + public char default_color_attribute; + [DNAFieldAttribute(1, "char", 33, "symmetry", "char", false, 1368)] public char symmetry; - [DNAFieldAttribute(34, "char", "remesh_mode", "char", 1, false, 1369)] + [DNAFieldAttribute(1, "char", 34, "remesh_mode", "char", false, 1369)] public char remesh_mode; - [DNAFieldAttribute(35, "short", "totcol", "short", 2, false, 1370)] + [DNAFieldAttribute(2, "short", 35, "totcol", "short", false, 1370)] public short totcol; - [DNAFieldAttribute(36, "char", "cd_flag", "char", 1, false, 1372)] + [DNAFieldAttribute(1, "char", 36, "cd_flag", "char", false, 1372)] public char cd_flag; - [DNAFieldAttribute(37, "char", "subdiv", "char", 1, false, 1373)] + [DNAFieldAttribute(1, "char", 37, "subdiv", "char", false, 1373)] public char subdiv; - [DNAFieldAttribute(38, "char", "subdivr", "char", 1, false, 1374)] + [DNAFieldAttribute(1, "char", 38, "subdivr", "char", false, 1374)] public char subdivr; - [DNAFieldAttribute(39, "char", "subsurftype", "char", 1, false, 1375)] + [DNAFieldAttribute(1, "char", 39, "subsurftype", "char", false, 1375)] public char subsurftype; - [DNAFieldAttribute(40, "MPoly", "*mpoly", "MPoly", 8, true, 1376)] - public MPoly ptr_mpoly; - [DNAFieldAttribute(41, "MLoop", "*mloop", "MLoop", 8, true, 1384)] - public MLoop ptr_mloop; - [DNAFieldAttribute(42, "MVert", "*mvert", "MVert", 8, true, 1392)] - public MVert ptr_mvert; - [DNAFieldAttribute(43, "MEdge", "*medge", "MEdge", 8, true, 1400)] - public MEdge ptr_medge; - [DNAFieldAttribute(44, "MDeformVert", "*dvert", "MDeformVert", 8, true, 1408)] - public MDeformVert ptr_dvert; - [DNAFieldAttribute(45, "MTFace", "*mtface", "MTFace", 8, true, 1416)] - public MTFace ptr_mtface; - [DNAFieldAttribute(46, "TFace", "*tface", "TFace", 8, true, 1424)] - public TFace ptr_tface; - [DNAFieldAttribute(47, "MCol", "*mcol", "MCol", 8, true, 1432)] - public MCol ptr_mcol; - [DNAFieldAttribute(48, "MFace", "*mface", "MFace", 8, true, 1440)] - public MFace ptr_mface; - [DNAFieldAttribute(49, "CustomData", "fdata", "CustomData", 248, false, 1448)] + [DNAFieldAttribute(8, "MPoly", 40, "*mpoly", "MPoly", true, 1376)] + public MPoly mpoly; + [DNAFieldAttribute(8, "MLoop", 41, "*mloop", "MLoop", true, 1384)] + public MLoop mloop; + [DNAFieldAttribute(8, "MVert", 42, "*mvert", "MVert", true, 1392)] + public MVert mvert; + [DNAFieldAttribute(8, "MEdge", 43, "*medge", "MEdge", true, 1400)] + public MEdge medge; + [DNAFieldAttribute(8, "MDeformVert", 44, "*dvert", "MDeformVert", true, 1408)] + public MDeformVert dvert; + [DNAFieldAttribute(8, "MTFace", 45, "*mtface", "MTFace", true, 1416)] + public MTFace mtface; + [DNAFieldAttribute(8, "TFace", 46, "*tface", "TFace", true, 1424)] + public TFace tface; + [DNAFieldAttribute(8, "MCol", 47, "*mcol", "MCol", true, 1432)] + public MCol mcol; + [DNAFieldAttribute(8, "MFace", 48, "*mface", "MFace", true, 1440)] + public MFace mface; + [DNAFieldAttribute(248, "CustomData", 49, "fdata", "CustomData", false, 1448)] public CustomData fdata; - [DNAFieldAttribute(50, "int", "totface", "int", 4, false, 1696)] + [DNAFieldAttribute(4, "int", 50, "totface", "int", false, 1696)] public int totface; - [DNAFieldAttribute(51, "char", "_pad1[4]", "System.Char[]", 4, false, 1700)] + [DNAFieldAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", false, 1700)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(52, "MeshRuntimeHandle", "*runtime", "MeshRuntimeHandle", 8, true, 1704)] - public MeshRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "MeshRuntimeHandle", 52, "*runtime", "MeshRuntimeHandle", true, 1704)] + public MeshRuntimeHandle runtime; public Mesh() { this.id = default; - this.ptr_adt = default; - this.ptr_ipo = default; - this.ptr_key = default; - this.ptr_ptr_mat = default; + this.adt = default; + this.ipo = default; + this.key = default; + this.mat = default; this.totvert = default; this.totedge = default; this.totpoly = default; this.totloop = default; - this.ptr_poly_offset_indices = default; + this.poly_offset_indices = default; this.vdata = default; this.edata = default; this.pdata = default; @@ -139,10 +139,10 @@ namespace BlendFile.DNA { this.vertex_group_names = default; this.vertex_group_active_index = default; this.attributes_active_index = default; - this.ptr_mselect = default; + this.mselect = default; this.totselect = default; this.act_face = default; - this.ptr_texcomesh = default; + this.texcomesh = default; this.loc = default; this.size = default; this.texflag = default; @@ -153,8 +153,8 @@ namespace BlendFile.DNA { 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.active_color_attribute = default; + this.default_color_attribute = default; this.symmetry = default; this.remesh_mode = default; this.totcol = default; @@ -162,31 +162,31 @@ namespace BlendFile.DNA { 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.mpoly = default; + this.mloop = default; + this.mvert = default; + this.medge = default; + this.dvert = default; + this.mtface = default; + this.tface = default; + this.mcol = default; + this.mface = default; this.fdata = default; this.totface = default; this._pad1 = default; - this.ptr_runtime = default; + this.runtime = default; } public Mesh( ID id, - AnimData ptr_adt, - Ipo ptr_ipo, - Key ptr_key, - Material ptr_ptr_mat, + AnimData adt, + Ipo ipo, + Key key, + Material mat, int totvert, int totedge, int totpoly, int totloop, - int ptr_poly_offset_indices, + int poly_offset_indices, CustomData vdata, CustomData edata, CustomData pdata, @@ -194,10 +194,10 @@ namespace BlendFile.DNA { ListBase vertex_group_names, int vertex_group_active_index, int attributes_active_index, - MSelect ptr_mselect, + MSelect mselect, int totselect, int act_face, - Mesh ptr_texcomesh, + Mesh texcomesh, float[] loc, float[] size, char texflag, @@ -208,8 +208,8 @@ namespace BlendFile.DNA { float remesh_voxel_adaptivity, int face_sets_color_seed, int face_sets_color_default, - char ptr_active_color_attribute, - char ptr_default_color_attribute, + char active_color_attribute, + char default_color_attribute, char symmetry, char remesh_mode, short totcol, @@ -217,29 +217,29 @@ namespace BlendFile.DNA { char subdiv, char subdivr, char subsurftype, - MPoly ptr_mpoly, - MLoop ptr_mloop, - MVert ptr_mvert, - MEdge ptr_medge, - MDeformVert ptr_dvert, - MTFace ptr_mtface, - TFace ptr_tface, - MCol ptr_mcol, - MFace ptr_mface, + MPoly mpoly, + MLoop mloop, + MVert mvert, + MEdge medge, + MDeformVert dvert, + MTFace mtface, + TFace tface, + MCol mcol, + MFace mface, CustomData fdata, int totface, char[] _pad1, - MeshRuntimeHandle ptr_runtime) { + MeshRuntimeHandle runtime) { this.id = id; - this.ptr_adt = ptr_adt; - this.ptr_ipo = ptr_ipo; - this.ptr_key = ptr_key; - this.ptr_ptr_mat = ptr_ptr_mat; + this.adt = adt; + this.ipo = ipo; + this.key = key; + this.mat = mat; this.totvert = totvert; this.totedge = totedge; this.totpoly = totpoly; this.totloop = totloop; - this.ptr_poly_offset_indices = ptr_poly_offset_indices; + this.poly_offset_indices = poly_offset_indices; this.vdata = vdata; this.edata = edata; this.pdata = pdata; @@ -247,10 +247,10 @@ namespace BlendFile.DNA { this.vertex_group_names = vertex_group_names; this.vertex_group_active_index = vertex_group_active_index; this.attributes_active_index = attributes_active_index; - this.ptr_mselect = ptr_mselect; + this.mselect = mselect; this.totselect = totselect; this.act_face = act_face; - this.ptr_texcomesh = ptr_texcomesh; + this.texcomesh = texcomesh; this.loc = loc; this.size = size; this.texflag = texflag; @@ -261,8 +261,8 @@ namespace BlendFile.DNA { this.remesh_voxel_adaptivity = remesh_voxel_adaptivity; this.face_sets_color_seed = face_sets_color_seed; this.face_sets_color_default = face_sets_color_default; - this.ptr_active_color_attribute = ptr_active_color_attribute; - this.ptr_default_color_attribute = ptr_default_color_attribute; + this.active_color_attribute = active_color_attribute; + this.default_color_attribute = default_color_attribute; this.symmetry = symmetry; this.remesh_mode = remesh_mode; this.totcol = totcol; @@ -270,19 +270,19 @@ namespace BlendFile.DNA { this.subdiv = subdiv; this.subdivr = subdivr; this.subsurftype = subsurftype; - this.ptr_mpoly = ptr_mpoly; - this.ptr_mloop = ptr_mloop; - this.ptr_mvert = ptr_mvert; - this.ptr_medge = ptr_medge; - this.ptr_dvert = ptr_dvert; - this.ptr_mtface = ptr_mtface; - this.ptr_tface = ptr_tface; - this.ptr_mcol = ptr_mcol; - this.ptr_mface = ptr_mface; + this.mpoly = mpoly; + this.mloop = mloop; + this.mvert = mvert; + this.medge = medge; + this.dvert = dvert; + this.mtface = mtface; + this.tface = tface; + this.mcol = mcol; + this.mface = mface; this.fdata = fdata; this.totface = totface; this._pad1 = _pad1; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/MeshCacheModifierData.cs b/BlendFile/DNA/MeshCacheModifierData.cs index 9a66832..02d6949 100644 --- a/BlendFile/DNA/MeshCacheModifierData.cs +++ b/BlendFile/DNA/MeshCacheModifierData.cs @@ -14,44 +14,44 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(503, "MeshCacheModifierData", 1248)] - public struct MeshCacheModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class MeshCacheModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "flag", "char", 1, false, 120)] + [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 120)] public char flag; - [DNAFieldAttribute(2, "char", "type", "char", 1, false, 121)] + [DNAFieldAttribute(1, "char", 2, "type", "char", false, 121)] public char type; - [DNAFieldAttribute(3, "char", "time_mode", "char", 1, false, 122)] + [DNAFieldAttribute(1, "char", 3, "time_mode", "char", false, 122)] public char time_mode; - [DNAFieldAttribute(4, "char", "play_mode", "char", 1, false, 123)] + [DNAFieldAttribute(1, "char", 4, "play_mode", "char", false, 123)] public char play_mode; - [DNAFieldAttribute(5, "char", "forward_axis", "char", 1, false, 124)] + [DNAFieldAttribute(1, "char", 5, "forward_axis", "char", false, 124)] public char forward_axis; - [DNAFieldAttribute(6, "char", "up_axis", "char", 1, false, 125)] + [DNAFieldAttribute(1, "char", 6, "up_axis", "char", false, 125)] public char up_axis; - [DNAFieldAttribute(7, "char", "flip_axis", "char", 1, false, 126)] + [DNAFieldAttribute(1, "char", 7, "flip_axis", "char", false, 126)] public char flip_axis; - [DNAFieldAttribute(8, "char", "interp", "char", 1, false, 127)] + [DNAFieldAttribute(1, "char", 8, "interp", "char", false, 127)] public char interp; - [DNAFieldAttribute(9, "float", "factor", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 9, "factor", "float", false, 128)] public float factor; - [DNAFieldAttribute(10, "char", "deform_mode", "char", 1, false, 132)] + [DNAFieldAttribute(1, "char", 10, "deform_mode", "char", false, 132)] public char deform_mode; - [DNAFieldAttribute(11, "char", "defgrp_name[64]", "System.Char[]", 64, false, 133)] + [DNAFieldAttribute(64, "char", 11, "defgrp_name[64]", "System.Char[]", false, 133)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(12, "char", "_pad[7]", "System.Char[]", 7, false, 197)] + [DNAFieldAttribute(7, "char", 12, "_pad[7]", "System.Char[]", false, 197)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(13, "float", "frame_start", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 13, "frame_start", "float", false, 204)] public float frame_start; - [DNAFieldAttribute(14, "float", "frame_scale", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 14, "frame_scale", "float", false, 208)] public float frame_scale; - [DNAFieldAttribute(15, "float", "eval_frame", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 15, "eval_frame", "float", false, 212)] public float eval_frame; - [DNAFieldAttribute(16, "float", "eval_time", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 16, "eval_time", "float", false, 216)] public float eval_time; - [DNAFieldAttribute(17, "float", "eval_factor", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 17, "eval_factor", "float", false, 220)] public float eval_factor; - [DNAFieldAttribute(18, "char", "filepath[1024]", "System.Char[]", 1024, false, 224)] + [DNAFieldAttribute(1024, "char", 18, "filepath[1024]", "System.Char[]", false, 224)] public char[] filepath = new System.Char[1024]; public MeshCacheModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/MeshDeformModifierData.cs b/BlendFile/DNA/MeshDeformModifierData.cs index b98d592..9ffd36b 100644 --- a/BlendFile/DNA/MeshDeformModifierData.cs +++ b/BlendFile/DNA/MeshDeformModifierData.cs @@ -15,114 +15,114 @@ namespace BlendFile.DNA { [DNAClassAttribute(476, "MeshDeformModifierData", 360)] public class MeshDeformModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "char", "defgrp_name[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", false, 128)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(3, "short", "gridsize", "short", 2, false, 192)] + [DNAFieldAttribute(2, "short", 3, "gridsize", "short", false, 192)] public short gridsize; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 196)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 196)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "MDefInfluence", "*bindinfluences", "MDefInfluence", 8, true, 200)] - public MDefInfluence ptr_bindinfluences; - [DNAFieldAttribute(7, "int", "*bindoffsets", "int", 8, true, 208)] - public int ptr_bindoffsets; - [DNAFieldAttribute(8, "float", "*bindcagecos", "float", 8, true, 216)] - public float ptr_bindcagecos; - [DNAFieldAttribute(9, "int", "totvert", "int", 4, false, 224)] + [DNAFieldAttribute(8, "MDefInfluence", 6, "*bindinfluences", "MDefInfluence", true, 200)] + public MDefInfluence bindinfluences; + [DNAFieldAttribute(8, "int", 7, "*bindoffsets", "int", true, 208)] + public int bindoffsets; + [DNAFieldAttribute(8, "float", 8, "*bindcagecos", "float", true, 216)] + public float bindcagecos; + [DNAFieldAttribute(4, "int", 9, "totvert", "int", false, 224)] public int totvert; - [DNAFieldAttribute(10, "int", "totcagevert", "int", 4, false, 228)] + [DNAFieldAttribute(4, "int", 10, "totcagevert", "int", false, 228)] public int totcagevert; - [DNAFieldAttribute(11, "MDefCell", "*dyngrid", "MDefCell", 8, true, 232)] - public MDefCell ptr_dyngrid; - [DNAFieldAttribute(12, "MDefInfluence", "*dyninfluences", "MDefInfluence", 8, true, 240)] - public MDefInfluence ptr_dyninfluences; - [DNAFieldAttribute(13, "int", "*dynverts", "int", 8, true, 248)] - public int ptr_dynverts; - [DNAFieldAttribute(14, "int", "dyngridsize", "int", 4, false, 256)] + [DNAFieldAttribute(8, "MDefCell", 11, "*dyngrid", "MDefCell", true, 232)] + public MDefCell dyngrid; + [DNAFieldAttribute(8, "MDefInfluence", 12, "*dyninfluences", "MDefInfluence", true, 240)] + public MDefInfluence dyninfluences; + [DNAFieldAttribute(8, "int", 13, "*dynverts", "int", true, 248)] + public int dynverts; + [DNAFieldAttribute(4, "int", 14, "dyngridsize", "int", false, 256)] public int dyngridsize; - [DNAFieldAttribute(15, "int", "totinfluence", "int", 4, false, 260)] + [DNAFieldAttribute(4, "int", 15, "totinfluence", "int", false, 260)] public int totinfluence; - [DNAFieldAttribute(16, "float", "dyncellmin[3]", "System.Single[]", 12, false, 264)] + [DNAFieldAttribute(12, "float", 16, "dyncellmin[3]", "System.Single[]", false, 264)] public float[] dyncellmin = new System.Single[3]; - [DNAFieldAttribute(17, "float", "dyncellwidth", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 17, "dyncellwidth", "float", false, 276)] public float dyncellwidth; - [DNAFieldAttribute(18, "float", "bindmat[4][4]", "System.Single[,]", 64, false, 280)] + [DNAFieldAttribute(64, "float", 18, "bindmat[4][4]", "System.Single[,]", false, 280)] public float[,] bindmat = new System.Single[4,4]; - [DNAFieldAttribute(19, "float", "*bindweights", "float", 8, true, 344)] - public float ptr_bindweights; - [DNAFieldAttribute(20, "float", "*bindcos", "float", 8, true, 352)] - public float ptr_bindcos; + [DNAFieldAttribute(8, "float", 19, "*bindweights", "float", true, 344)] + public float bindweights; + [DNAFieldAttribute(8, "float", 20, "*bindcos", "float", true, 352)] + public float bindcos; public MeshDeformModifierData() { this.modifier = default; - this.ptr_object = default; + this.@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.bindinfluences = default; + this.bindoffsets = default; + this.bindcagecos = default; this.totvert = default; this.totcagevert = default; - this.ptr_dyngrid = default; - this.ptr_dyninfluences = default; - this.ptr_dynverts = default; + this.dyngrid = default; + this.dyninfluences = default; + this.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; + this.bindweights = default; + this.bindcos = default; } public MeshDeformModifierData( ModifierData modifier, - Object ptr_object, + Object @object, char[] defgrp_name, short gridsize, short flag, char[] _pad, - MDefInfluence ptr_bindinfluences, - int ptr_bindoffsets, - float ptr_bindcagecos, + MDefInfluence bindinfluences, + int bindoffsets, + float bindcagecos, int totvert, int totcagevert, - MDefCell ptr_dyngrid, - MDefInfluence ptr_dyninfluences, - int ptr_dynverts, + MDefCell dyngrid, + MDefInfluence dyninfluences, + int dynverts, int dyngridsize, int totinfluence, float[] dyncellmin, float dyncellwidth, float[,] bindmat, - float ptr_bindweights, - float ptr_bindcos) { + float bindweights, + float bindcos) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.defgrp_name = defgrp_name; this.gridsize = gridsize; this.flag = flag; this._pad = _pad; - this.ptr_bindinfluences = ptr_bindinfluences; - this.ptr_bindoffsets = ptr_bindoffsets; - this.ptr_bindcagecos = ptr_bindcagecos; + this.bindinfluences = bindinfluences; + this.bindoffsets = bindoffsets; + this.bindcagecos = bindcagecos; this.totvert = totvert; this.totcagevert = totcagevert; - this.ptr_dyngrid = ptr_dyngrid; - this.ptr_dyninfluences = ptr_dyninfluences; - this.ptr_dynverts = ptr_dynverts; + this.dyngrid = dyngrid; + this.dyninfluences = dyninfluences; + this.dynverts = dynverts; this.dyngridsize = dyngridsize; this.totinfluence = totinfluence; this.dyncellmin = dyncellmin; this.dyncellwidth = dyncellwidth; this.bindmat = bindmat; - this.ptr_bindweights = ptr_bindweights; - this.ptr_bindcos = ptr_bindcos; + this.bindweights = bindweights; + this.bindcos = bindcos; } } } diff --git a/BlendFile/DNA/MeshSeqCacheModifierData.cs b/BlendFile/DNA/MeshSeqCacheModifierData.cs index a1d0d3a..f38d1ce 100644 --- a/BlendFile/DNA/MeshSeqCacheModifierData.cs +++ b/BlendFile/DNA/MeshSeqCacheModifierData.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(509, "MeshSeqCacheModifierData", 2192)] public class MeshSeqCacheModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "CacheFile", "*cache_file", "CacheFile", 8, true, 120)] - public CacheFile ptr_cache_file; - [DNAFieldAttribute(2, "char", "object_path[1024]", "System.Char[]", 1024, false, 128)] + [DNAFieldAttribute(8, "CacheFile", 1, "*cache_file", "CacheFile", true, 120)] + public CacheFile cache_file; + [DNAFieldAttribute(1024, "char", 2, "object_path[1024]", "System.Char[]", false, 128)] public char[] object_path = new System.Char[1024]; - [DNAFieldAttribute(3, "char", "read_flag", "char", 1, false, 1152)] + [DNAFieldAttribute(1, "char", 3, "read_flag", "char", false, 1152)] public char read_flag; - [DNAFieldAttribute(4, "char", "_pad[3]", "System.Char[]", 3, false, 1153)] + [DNAFieldAttribute(3, "char", 4, "_pad[3]", "System.Char[]", false, 1153)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(5, "float", "velocity_scale", "float", 4, false, 1156)] + [DNAFieldAttribute(4, "float", 5, "velocity_scale", "float", false, 1156)] public float velocity_scale; - [DNAFieldAttribute(6, "CacheReader", "*reader", "CacheReader", 8, true, 1160)] - public CacheReader ptr_reader; - [DNAFieldAttribute(7, "char", "reader_object_path[1024]", "System.Char[]", 1024, false, 1168)] + [DNAFieldAttribute(8, "CacheReader", 6, "*reader", "CacheReader", true, 1160)] + public CacheReader reader; + [DNAFieldAttribute(1024, "char", 7, "reader_object_path[1024]", "System.Char[]", false, 1168)] public char[] reader_object_path = new System.Char[1024]; public MeshSeqCacheModifierData() { this.modifier = default; - this.ptr_cache_file = default; + this.cache_file = default; this.object_path = default; this.read_flag = default; this._pad = default; this.velocity_scale = default; - this.ptr_reader = default; + this.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) { + public MeshSeqCacheModifierData(ModifierData modifier, CacheFile cache_file, char[] object_path, char read_flag, char[] _pad, float velocity_scale, CacheReader reader, char[] reader_object_path) { this.modifier = modifier; - this.ptr_cache_file = ptr_cache_file; + this.cache_file = cache_file; this.object_path = object_path; this.read_flag = read_flag; this._pad = _pad; this.velocity_scale = velocity_scale; - this.ptr_reader = ptr_reader; + this.reader = reader; this.reader_object_path = reader_object_path; } } diff --git a/BlendFile/DNA/MeshStatVis.cs b/BlendFile/DNA/MeshStatVis.cs index 738d657..9304db0 100644 --- a/BlendFile/DNA/MeshStatVis.cs +++ b/BlendFile/DNA/MeshStatVis.cs @@ -14,32 +14,32 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(826, "MeshStatVis", 40)] - public struct MeshStatVis { - [DNAFieldAttribute(0, "char", "type", "char", 1, false, 0)] + public class MeshStatVis { + [DNAFieldAttribute(1, "char", 0, "type", "char", false, 0)] public char type; - [DNAFieldAttribute(1, "char", "_pad1[2]", "System.Char[]", 2, false, 1)] + [DNAFieldAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", false, 1)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(2, "char", "overhang_axis", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 2, "overhang_axis", "char", false, 3)] public char overhang_axis; - [DNAFieldAttribute(3, "float", "overhang_min", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 3, "overhang_min", "float", false, 4)] public float overhang_min; - [DNAFieldAttribute(4, "float", "overhang_max", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 4, "overhang_max", "float", false, 8)] public float overhang_max; - [DNAFieldAttribute(5, "float", "thickness_min", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 5, "thickness_min", "float", false, 12)] public float thickness_min; - [DNAFieldAttribute(6, "float", "thickness_max", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 6, "thickness_max", "float", false, 16)] public float thickness_max; - [DNAFieldAttribute(7, "char", "thickness_samples", "char", 1, false, 20)] + [DNAFieldAttribute(1, "char", 7, "thickness_samples", "char", false, 20)] public char thickness_samples; - [DNAFieldAttribute(8, "char", "_pad2[3]", "System.Char[]", 3, false, 21)] + [DNAFieldAttribute(3, "char", 8, "_pad2[3]", "System.Char[]", false, 21)] public char[] _pad2 = new System.Char[3]; - [DNAFieldAttribute(9, "float", "distort_min", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 9, "distort_min", "float", false, 24)] public float distort_min; - [DNAFieldAttribute(10, "float", "distort_max", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 10, "distort_max", "float", false, 28)] public float distort_max; - [DNAFieldAttribute(11, "float", "sharp_min", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 11, "sharp_min", "float", false, 32)] public float sharp_min; - [DNAFieldAttribute(12, "float", "sharp_max", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 12, "sharp_max", "float", false, 36)] public float sharp_max; public MeshStatVis() { this.type = default; diff --git a/BlendFile/DNA/MeshToVolumeModifierData.cs b/BlendFile/DNA/MeshToVolumeModifierData.cs index 019c41a..0c3e1fb 100644 --- a/BlendFile/DNA/MeshToVolumeModifierData.cs +++ b/BlendFile/DNA/MeshToVolumeModifierData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(522, "MeshToVolumeModifierData", 160)] public class MeshToVolumeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "int", "resolution_mode", "int", 4, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(4, "int", 2, "resolution_mode", "int", false, 128)] public int resolution_mode; - [DNAFieldAttribute(3, "float", "voxel_size", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 3, "voxel_size", "float", false, 132)] public float voxel_size; - [DNAFieldAttribute(4, "int", "voxel_amount", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 4, "voxel_amount", "int", false, 136)] public int voxel_amount; - [DNAFieldAttribute(5, "float", "interior_band_width", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 5, "interior_band_width", "float", false, 140)] public float interior_band_width; - [DNAFieldAttribute(6, "float", "density", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 6, "density", "float", false, 144)] public float density; - [DNAFieldAttribute(7, "char", "_pad2[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", false, 148)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(8, "void", "*_pad3", "void", 8, true, 152)] - public object ptr__pad3; + [DNAFieldAttribute(8, "void", 8, "*_pad3", "void", true, 152)] + public object _pad3; public MeshToVolumeModifierData() { this.modifier = default; - this.ptr_object = default; + this.@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; + this._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) { + public MeshToVolumeModifierData(ModifierData modifier, Object @object, int resolution_mode, float voxel_size, int voxel_amount, float interior_band_width, float density, char[] _pad2, object _pad3) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.resolution_mode = resolution_mode; this.voxel_size = voxel_size; this.voxel_amount = voxel_amount; this.interior_band_width = interior_band_width; this.density = density; this._pad2 = _pad2; - this.ptr__pad3 = ptr__pad3; + this._pad3 = _pad3; } } } diff --git a/BlendFile/DNA/MetaBall.cs b/BlendFile/DNA/MetaBall.cs index b19d759..9c7ad63 100644 --- a/BlendFile/DNA/MetaBall.cs +++ b/BlendFile/DNA/MetaBall.cs @@ -15,51 +15,51 @@ namespace BlendFile.DNA { [DNAClassAttribute(443, "MetaBall", 312)] public class MetaBall { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "ListBase", "elems", "ListBase", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "ListBase", 2, "elems", "ListBase", false, 216)] public ListBase elems; - [DNAFieldAttribute(3, "ListBase", "*editelems", "ListBase", 8, true, 232)] - public ListBase ptr_editelems; - [DNAFieldAttribute(4, "Ipo", "*ipo", "Ipo", 8, true, 240)] - public Ipo ptr_ipo; - [DNAFieldAttribute(5, "Material", "**mat", "Material", 8, true, 248)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(6, "char", "flag", "char", 1, false, 256)] + [DNAFieldAttribute(8, "ListBase", 3, "*editelems", "ListBase", true, 232)] + public ListBase editelems; + [DNAFieldAttribute(8, "Ipo", 4, "*ipo", "Ipo", true, 240)] + public Ipo ipo; + [DNAFieldAttribute(8, "Material", 5, "**mat", "Material", true, 248)] + public Material mat; + [DNAFieldAttribute(1, "char", 6, "flag", "char", false, 256)] public char flag; - [DNAFieldAttribute(7, "char", "flag2", "char", 1, false, 257)] + [DNAFieldAttribute(1, "char", 7, "flag2", "char", false, 257)] public char flag2; - [DNAFieldAttribute(8, "short", "totcol", "short", 2, false, 258)] + [DNAFieldAttribute(2, "short", 8, "totcol", "short", false, 258)] public short totcol; - [DNAFieldAttribute(9, "char", "texflag", "char", 1, false, 260)] + [DNAFieldAttribute(1, "char", 9, "texflag", "char", false, 260)] public char texflag; - [DNAFieldAttribute(10, "char", "_pad[2]", "System.Char[]", 2, false, 261)] + [DNAFieldAttribute(2, "char", 10, "_pad[2]", "System.Char[]", false, 261)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(11, "char", "needs_flush_to_id", "char", 1, false, 263)] + [DNAFieldAttribute(1, "char", 11, "needs_flush_to_id", "char", false, 263)] public char needs_flush_to_id; - [DNAFieldAttribute(12, "float", "loc[3]", "System.Single[]", 12, false, 264)] + [DNAFieldAttribute(12, "float", 12, "loc[3]", "System.Single[]", false, 264)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(13, "float", "size[3]", "System.Single[]", 12, false, 276)] + [DNAFieldAttribute(12, "float", 13, "size[3]", "System.Single[]", false, 276)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(14, "float", "wiresize", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 14, "wiresize", "float", false, 288)] public float wiresize; - [DNAFieldAttribute(15, "float", "rendersize", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 15, "rendersize", "float", false, 292)] public float rendersize; - [DNAFieldAttribute(16, "float", "thresh", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 16, "thresh", "float", false, 296)] public float thresh; - [DNAFieldAttribute(17, "char", "_pad0[4]", "System.Char[]", 4, false, 300)] + [DNAFieldAttribute(4, "char", 17, "_pad0[4]", "System.Char[]", false, 300)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(18, "MetaElem", "*lastelem", "MetaElem", 8, true, 304)] - public MetaElem ptr_lastelem; + [DNAFieldAttribute(8, "MetaElem", 18, "*lastelem", "MetaElem", true, 304)] + public MetaElem lastelem; public MetaBall() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.elems = default; - this.ptr_editelems = default; - this.ptr_ipo = default; - this.ptr_ptr_mat = default; + this.editelems = default; + this.ipo = default; + this.mat = default; this.flag = default; this.flag2 = default; this.totcol = default; @@ -72,15 +72,15 @@ namespace BlendFile.DNA { this.rendersize = default; this.thresh = default; this._pad0 = default; - this.ptr_lastelem = default; + this.lastelem = default; } public MetaBall( ID id, - AnimData ptr_adt, + AnimData adt, ListBase elems, - ListBase ptr_editelems, - Ipo ptr_ipo, - Material ptr_ptr_mat, + ListBase editelems, + Ipo ipo, + Material mat, char flag, char flag2, short totcol, @@ -93,13 +93,13 @@ namespace BlendFile.DNA { float rendersize, float thresh, char[] _pad0, - MetaElem ptr_lastelem) { + MetaElem lastelem) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.elems = elems; - this.ptr_editelems = ptr_editelems; - this.ptr_ipo = ptr_ipo; - this.ptr_ptr_mat = ptr_ptr_mat; + this.editelems = editelems; + this.ipo = ipo; + this.mat = mat; this.flag = flag; this.flag2 = flag2; this.totcol = totcol; @@ -112,7 +112,7 @@ namespace BlendFile.DNA { this.rendersize = rendersize; this.thresh = thresh; this._pad0 = _pad0; - this.ptr_lastelem = ptr_lastelem; + this.lastelem = lastelem; } } } diff --git a/BlendFile/DNA/MetaElem.cs b/BlendFile/DNA/MetaElem.cs index b1ec9cf..51243f8 100644 --- a/BlendFile/DNA/MetaElem.cs +++ b/BlendFile/DNA/MetaElem.cs @@ -15,48 +15,48 @@ namespace BlendFile.DNA { [DNAClassAttribute(441, "MetaElem", 104)] public class MetaElem { - [DNAFieldAttribute(0, "MetaElem", "*next", "MetaElem", 8, true, 0)] - public MetaElem ptr_next; - [DNAFieldAttribute(1, "MetaElem", "*prev", "MetaElem", 8, true, 8)] - public MetaElem ptr_prev; - [DNAFieldAttribute(2, "BoundBox", "*bb", "BoundBox", 8, true, 16)] - public BoundBox ptr_bb; - [DNAFieldAttribute(3, "short", "type", "short", 2, false, 24)] + [DNAFieldAttribute(8, "MetaElem", 0, "*next", "MetaElem", true, 0)] + public MetaElem next; + [DNAFieldAttribute(8, "MetaElem", 1, "*prev", "MetaElem", true, 8)] + public MetaElem prev; + [DNAFieldAttribute(8, "BoundBox", 2, "*bb", "BoundBox", true, 16)] + public BoundBox bb; + [DNAFieldAttribute(2, "short", 3, "type", "short", false, 24)] public short type; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 26)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "float", "x", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 6, "x", "float", false, 32)] public float x; - [DNAFieldAttribute(7, "float", "y", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 7, "y", "float", false, 36)] public float y; - [DNAFieldAttribute(8, "float", "z", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 8, "z", "float", false, 40)] public float z; - [DNAFieldAttribute(9, "float", "quat[4]", "System.Single[]", 16, false, 44)] + [DNAFieldAttribute(16, "float", 9, "quat[4]", "System.Single[]", false, 44)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(10, "float", "expx", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 10, "expx", "float", false, 60)] public float expx; - [DNAFieldAttribute(11, "float", "expy", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 11, "expy", "float", false, 64)] public float expy; - [DNAFieldAttribute(12, "float", "expz", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 12, "expz", "float", false, 68)] public float expz; - [DNAFieldAttribute(13, "float", "rad", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 13, "rad", "float", false, 72)] public float rad; - [DNAFieldAttribute(14, "float", "rad2", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 14, "rad2", "float", false, 76)] public float rad2; - [DNAFieldAttribute(15, "float", "s", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 15, "s", "float", false, 80)] public float s; - [DNAFieldAttribute(16, "float", "len", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 16, "len", "float", false, 84)] public float len; - [DNAFieldAttribute(17, "float", "*mat", "float", 8, true, 88)] - public float ptr_mat; - [DNAFieldAttribute(18, "float", "*imat", "float", 8, true, 96)] - public float ptr_imat; + [DNAFieldAttribute(8, "float", 17, "*mat", "float", true, 88)] + public float mat; + [DNAFieldAttribute(8, "float", 18, "*imat", "float", true, 96)] + public float imat; public MetaElem() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_bb = default; + this.next = default; + this.prev = default; + this.bb = default; this.type = default; this.flag = default; this._pad = default; @@ -71,13 +71,13 @@ namespace BlendFile.DNA { this.rad2 = default; this.s = default; this.len = default; - this.ptr_mat = default; - this.ptr_imat = default; + this.mat = default; + this.imat = default; } public MetaElem( - MetaElem ptr_next, - MetaElem ptr_prev, - BoundBox ptr_bb, + MetaElem next, + MetaElem prev, + BoundBox bb, short type, short flag, char[] _pad, @@ -92,11 +92,11 @@ namespace BlendFile.DNA { float rad2, float s, float len, - float ptr_mat, - float ptr_imat) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_bb = ptr_bb; + float mat, + float imat) { + this.next = next; + this.prev = prev; + this.bb = bb; this.type = type; this.flag = flag; this._pad = _pad; @@ -111,8 +111,8 @@ namespace BlendFile.DNA { this.rad2 = rad2; this.s = s; this.len = len; - this.ptr_mat = ptr_mat; - this.ptr_imat = ptr_imat; + this.mat = mat; + this.imat = imat; } } } diff --git a/BlendFile/DNA/MetaStack.cs b/BlendFile/DNA/MetaStack.cs index d209a06..c23bd99 100644 --- a/BlendFile/DNA/MetaStack.cs +++ b/BlendFile/DNA/MetaStack.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(887, "MetaStack", 48)] public class MetaStack { - [DNAFieldAttribute(0, "MetaStack", "*next", "MetaStack", 8, true, 0)] - public MetaStack ptr_next; - [DNAFieldAttribute(1, "MetaStack", "*prev", "MetaStack", 8, true, 8)] - public MetaStack ptr_prev; - [DNAFieldAttribute(2, "ListBase", "*oldbasep", "ListBase", 8, true, 16)] - public ListBase ptr_oldbasep; - [DNAFieldAttribute(3, "ListBase", "*old_channels", "ListBase", 8, true, 24)] - public ListBase ptr_old_channels; - [DNAFieldAttribute(4, "Sequence", "*parseq", "Sequence", 8, true, 32)] - public Sequence ptr_parseq; - [DNAFieldAttribute(5, "int", "disp_range[2]", "System.Int32[]", 8, false, 40)] + [DNAFieldAttribute(8, "MetaStack", 0, "*next", "MetaStack", true, 0)] + public MetaStack next; + [DNAFieldAttribute(8, "MetaStack", 1, "*prev", "MetaStack", true, 8)] + public MetaStack prev; + [DNAFieldAttribute(8, "ListBase", 2, "*oldbasep", "ListBase", true, 16)] + public ListBase oldbasep; + [DNAFieldAttribute(8, "ListBase", 3, "*old_channels", "ListBase", true, 24)] + public ListBase old_channels; + [DNAFieldAttribute(8, "Sequence", 4, "*parseq", "Sequence", true, 32)] + public Sequence parseq; + [DNAFieldAttribute(8, "int", 5, "disp_range[2]", "System.Int32[]", false, 40)] 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.next = default; + this.prev = default; + this.oldbasep = default; + this.old_channels = default; + this.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; - this.ptr_oldbasep = ptr_oldbasep; - this.ptr_old_channels = ptr_old_channels; - this.ptr_parseq = ptr_parseq; + public MetaStack(MetaStack next, MetaStack prev, ListBase oldbasep, ListBase old_channels, Sequence parseq, int[] disp_range) { + this.next = next; + this.prev = prev; + this.oldbasep = oldbasep; + this.old_channels = old_channels; + this.parseq = parseq; this.disp_range = disp_range; } } diff --git a/BlendFile/DNA/MirrorGpencilModifierData.cs b/BlendFile/DNA/MirrorGpencilModifierData.cs index 47bdfed..c4f22a1 100644 --- a/BlendFile/DNA/MirrorGpencilModifierData.cs +++ b/BlendFile/DNA/MirrorGpencilModifierData.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(291, "MirrorGpencilModifierData", 264)] public class MirrorGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 112)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "layername[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(4, "char", "materialname[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 184)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 248)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 252)] public int flag; - [DNAFieldAttribute(7, "int", "layer_pass", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 7, "layer_pass", "int", false, 256)] public int layer_pass; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 260)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 260)] public char[] _pad = new System.Char[4]; public MirrorGpencilModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_material = default; + this.@object = default; + this.material = default; this.layername = default; this.materialname = default; this.pass_index = default; @@ -44,10 +44,10 @@ namespace BlendFile.DNA { 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) { + public MirrorGpencilModifierData(GpencilModifierData modifier, Object @object, Material material, char[] layername, char[] materialname, int pass_index, int flag, int layer_pass, char[] _pad) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_material = ptr_material; + this.@object = @object; + this.material = material; this.layername = layername; this.materialname = materialname; this.pass_index = pass_index; diff --git a/BlendFile/DNA/MirrorModifierData.cs b/BlendFile/DNA/MirrorModifierData.cs index 58d73ba..d925697 100644 --- a/BlendFile/DNA/MirrorModifierData.cs +++ b/BlendFile/DNA/MirrorModifierData.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(452, "MirrorModifierData", 168)] public class MirrorModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "short", "axis", "short", 2, false, 120)] + [DNAFieldAttribute(2, "short", 1, "axis", "short", false, 120)] public short axis; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 122)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 122)] public short flag; - [DNAFieldAttribute(3, "float", "tolerance", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 3, "tolerance", "float", false, 124)] public float tolerance; - [DNAFieldAttribute(4, "float", "bisect_threshold", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 4, "bisect_threshold", "float", false, 128)] public float bisect_threshold; - [DNAFieldAttribute(5, "uchar", "use_correct_order_on_merge", "uchar", 1, false, 132)] + [DNAFieldAttribute(1, "uchar", 5, "use_correct_order_on_merge", "uchar", false, 132)] public byte use_correct_order_on_merge; - [DNAFieldAttribute(6, "char", "_pad[3]", "System.Char[]", 3, false, 133)] + [DNAFieldAttribute(3, "char", 6, "_pad[3]", "System.Char[]", false, 133)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(7, "float", "uv_offset[2]", "System.Single[]", 8, false, 136)] + [DNAFieldAttribute(8, "float", 7, "uv_offset[2]", "System.Single[]", false, 136)] public float[] uv_offset = new System.Single[2]; - [DNAFieldAttribute(8, "float", "uv_offset_copy[2]", "System.Single[]", 8, false, 144)] + [DNAFieldAttribute(8, "float", 8, "uv_offset_copy[2]", "System.Single[]", false, 144)] public float[] uv_offset_copy = new System.Single[2]; - [DNAFieldAttribute(9, "Object", "*mirror_ob", "Object", 8, true, 152)] - public Object ptr_mirror_ob; - [DNAFieldAttribute(10, "void", "*_pad1", "void", 8, true, 160)] - public object ptr__pad1; + [DNAFieldAttribute(8, "Object", 9, "*mirror_ob", "Object", true, 152)] + public Object mirror_ob; + [DNAFieldAttribute(8, "void", 10, "*_pad1", "void", true, 160)] + public object _pad1; public MirrorModifierData() { this.modifier = default; this.axis = default; @@ -47,10 +47,10 @@ namespace BlendFile.DNA { this._pad = default; this.uv_offset = default; this.uv_offset_copy = default; - this.ptr_mirror_ob = default; - this.ptr__pad1 = default; + this.mirror_ob = default; + this._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) { + 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 mirror_ob, object _pad1) { this.modifier = modifier; this.axis = axis; this.flag = flag; @@ -60,8 +60,8 @@ namespace BlendFile.DNA { this._pad = _pad; this.uv_offset = uv_offset; this.uv_offset_copy = uv_offset_copy; - this.ptr_mirror_ob = ptr_mirror_ob; - this.ptr__pad1 = ptr__pad1; + this.mirror_ob = mirror_ob; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/ModifierData.cs b/BlendFile/DNA/ModifierData.cs index dabc0d3..19c5018 100644 --- a/BlendFile/DNA/ModifierData.cs +++ b/BlendFile/DNA/ModifierData.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(444, "ModifierData", 120)] public class ModifierData { - [DNAFieldAttribute(0, "ModifierData", "*next", "ModifierData", 8, true, 0)] - public ModifierData ptr_next; - [DNAFieldAttribute(1, "ModifierData", "*prev", "ModifierData", 8, true, 8)] - public ModifierData ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "ModifierData", 0, "*next", "ModifierData", true, 0)] + public ModifierData next; + [DNAFieldAttribute(8, "ModifierData", 1, "*prev", "ModifierData", true, 8)] + public ModifierData prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "int", "mode", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "mode", "int", false, 20)] public int mode; - [DNAFieldAttribute(4, "float", "execution_time", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 4, "execution_time", "float", false, 24)] public float execution_time; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 28)] public short flag; - [DNAFieldAttribute(6, "short", "ui_expand_flag", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 6, "ui_expand_flag", "short", false, 30)] public short ui_expand_flag; - [DNAFieldAttribute(7, "ushort", "layout_panel_open_flag", "ushort", 2, false, 32)] + [DNAFieldAttribute(2, "ushort", 7, "layout_panel_open_flag", "ushort", false, 32)] public ushort layout_panel_open_flag; - [DNAFieldAttribute(8, "char", "_pad[2]", "System.Char[]", 2, false, 34)] + [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 34)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(9, "int", "persistent_uid", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 9, "persistent_uid", "int", false, 36)] public int persistent_uid; - [DNAFieldAttribute(10, "char", "name[64]", "System.Char[]", 64, false, 40)] + [DNAFieldAttribute(64, "char", 10, "name[64]", "System.Char[]", false, 40)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(11, "char", "*error", "char", 8, true, 104)] - public char ptr_error; - [DNAFieldAttribute(12, "void", "*runtime", "void", 8, true, 112)] - public object ptr_runtime; + [DNAFieldAttribute(8, "char", 11, "*error", "char", true, 104)] + public char error; + [DNAFieldAttribute(8, "void", 12, "*runtime", "void", true, 112)] + public object runtime; public ModifierData() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.mode = default; this.execution_time = default; @@ -53,12 +53,12 @@ namespace BlendFile.DNA { this._pad = default; this.persistent_uid = default; this.name = default; - this.ptr_error = default; - this.ptr_runtime = default; + this.error = default; + this.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; + public ModifierData(ModifierData next, ModifierData 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 error, object runtime) { + this.next = next; + this.prev = prev; this.type = type; this.mode = mode; this.execution_time = execution_time; @@ -68,8 +68,8 @@ namespace BlendFile.DNA { this._pad = _pad; this.persistent_uid = persistent_uid; this.name = name; - this.ptr_error = ptr_error; - this.ptr_runtime = ptr_runtime; + this.error = error; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/ModifierViewerPathElem.cs b/BlendFile/DNA/ModifierViewerPathElem.cs index 39ad9f8..5d4e0c0 100644 --- a/BlendFile/DNA/ModifierViewerPathElem.cs +++ b/BlendFile/DNA/ModifierViewerPathElem.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(1032, "ModifierViewerPathElem", 40)] public class ModifierViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "char", "*modifier_name", "char", 8, true, 32)] - public char ptr_modifier_name; + [DNAFieldAttribute(8, "char", 1, "*modifier_name", "char", true, 32)] + public char modifier_name; public ModifierViewerPathElem() { this.@base = default; - this.ptr_modifier_name = default; + this.modifier_name = default; } - public ModifierViewerPathElem(ViewerPathElem @base, char ptr_modifier_name) { + public ModifierViewerPathElem(ViewerPathElem @base, char modifier_name) { this.@base = @base; - this.ptr_modifier_name = ptr_modifier_name; + this.modifier_name = modifier_name; } } } diff --git a/BlendFile/DNA/MovieClip.cs b/BlendFile/DNA/MovieClip.cs index 34e0803..82fd3a1 100644 --- a/BlendFile/DNA/MovieClip.cs +++ b/BlendFile/DNA/MovieClip.cs @@ -15,51 +15,51 @@ namespace BlendFile.DNA { [DNAClassAttribute(148, "MovieClip", 2568)] public class MovieClip { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "char", "name[1024]", "System.Char[]", 1024, false, 232)] + [DNAFieldAttribute(1024, "char", 3, "name[1024]", "System.Char[]", false, 232)] public char[] name = new System.Char[1024]; - [DNAFieldAttribute(4, "int", "source", "int", 4, false, 1256)] + [DNAFieldAttribute(4, "int", 4, "source", "int", false, 1256)] public int source; - [DNAFieldAttribute(5, "int", "_pad", "int", 4, false, 1260)] + [DNAFieldAttribute(4, "int", 5, "_pad", "int", false, 1260)] public int _pad; - [DNAFieldAttribute(6, "int", "lastsize[2]", "System.Int32[]", 8, false, 1264)] + [DNAFieldAttribute(8, "int", 6, "lastsize[2]", "System.Int32[]", false, 1264)] public int[] lastsize = new System.Int32[2]; - [DNAFieldAttribute(7, "float", "aspx", "float", 4, false, 1272)] + [DNAFieldAttribute(4, "float", 7, "aspx", "float", false, 1272)] public float aspx; - [DNAFieldAttribute(8, "float", "aspy", "float", 4, false, 1276)] + [DNAFieldAttribute(4, "float", 8, "aspy", "float", false, 1276)] public float aspy; - [DNAFieldAttribute(9, "ImBufAnim", "*anim", "ImBufAnim", 8, true, 1280)] - public ImBufAnim ptr_anim; - [DNAFieldAttribute(10, "MovieClipCache", "*cache", "MovieClipCache", 8, true, 1288)] - public MovieClipCache ptr_cache; - [DNAFieldAttribute(11, "bGPdata", "*gpd", "bGPdata", 8, true, 1296)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(12, "MovieTracking", "tracking", "MovieTracking", 384, false, 1304)] + [DNAFieldAttribute(8, "ImBufAnim", 9, "*anim", "ImBufAnim", true, 1280)] + public ImBufAnim anim; + [DNAFieldAttribute(8, "MovieClipCache", 10, "*cache", "MovieClipCache", true, 1288)] + public MovieClipCache cache; + [DNAFieldAttribute(8, "bGPdata", 11, "*gpd", "bGPdata", true, 1296)] + public bGPdata gpd; + [DNAFieldAttribute(384, "MovieTracking", 12, "tracking", "MovieTracking", false, 1304)] public MovieTracking tracking; - [DNAFieldAttribute(13, "void", "*tracking_context", "void", 8, true, 1688)] - public object ptr_tracking_context; - [DNAFieldAttribute(14, "MovieClipProxy", "proxy", "MovieClipProxy", 776, false, 1696)] + [DNAFieldAttribute(8, "void", 13, "*tracking_context", "void", true, 1688)] + public object tracking_context; + [DNAFieldAttribute(776, "MovieClipProxy", 14, "proxy", "MovieClipProxy", false, 1696)] public MovieClipProxy proxy; - [DNAFieldAttribute(15, "int", "flag", "int", 4, false, 2472)] + [DNAFieldAttribute(4, "int", 15, "flag", "int", false, 2472)] public int flag; - [DNAFieldAttribute(16, "int", "len", "int", 4, false, 2476)] + [DNAFieldAttribute(4, "int", 16, "len", "int", false, 2476)] public int len; - [DNAFieldAttribute(17, "int", "start_frame", "int", 4, false, 2480)] + [DNAFieldAttribute(4, "int", 17, "start_frame", "int", false, 2480)] public int start_frame; - [DNAFieldAttribute(18, "int", "frame_offset", "int", 4, false, 2484)] + [DNAFieldAttribute(4, "int", 18, "frame_offset", "int", false, 2484)] public int frame_offset; - [DNAFieldAttribute(19, "ColorManagedColorspaceSettings", "colorspace_settings", "ColorManagedColorspaceSettings", 64, false, 2488)] + [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 19, "colorspace_settings", "ColorManagedColorspaceSettings", false, 2488)] public ColorManagedColorspaceSettings colorspace_settings; - [DNAFieldAttribute(20, "MovieClip_Runtime", "runtime", "MovieClip_Runtime", 16, false, 2552)] + [DNAFieldAttribute(16, "MovieClip_Runtime", 20, "runtime", "MovieClip_Runtime", false, 2552)] public MovieClip_Runtime runtime; public MovieClip() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; this.name = default; this.source = default; @@ -67,11 +67,11 @@ namespace BlendFile.DNA { this.lastsize = default; this.aspx = default; this.aspy = default; - this.ptr_anim = default; - this.ptr_cache = default; - this.ptr_gpd = default; + this.anim = default; + this.cache = default; + this.gpd = default; this.tracking = default; - this.ptr_tracking_context = default; + this.tracking_context = default; this.proxy = default; this.flag = default; this.len = default; @@ -82,7 +82,7 @@ namespace BlendFile.DNA { } public MovieClip( ID id, - AnimData ptr_adt, + AnimData adt, DrawDataList drawdata, char[] name, int source, @@ -90,11 +90,11 @@ namespace BlendFile.DNA { int[] lastsize, float aspx, float aspy, - ImBufAnim ptr_anim, - MovieClipCache ptr_cache, - bGPdata ptr_gpd, + ImBufAnim anim, + MovieClipCache cache, + bGPdata gpd, MovieTracking tracking, - object ptr_tracking_context, + object tracking_context, MovieClipProxy proxy, int flag, int len, @@ -103,7 +103,7 @@ namespace BlendFile.DNA { ColorManagedColorspaceSettings colorspace_settings, MovieClip_Runtime runtime) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.drawdata = drawdata; this.name = name; this.source = source; @@ -111,11 +111,11 @@ namespace BlendFile.DNA { this.lastsize = lastsize; this.aspx = aspx; this.aspy = aspy; - this.ptr_anim = ptr_anim; - this.ptr_cache = ptr_cache; - this.ptr_gpd = ptr_gpd; + this.anim = anim; + this.cache = cache; + this.gpd = gpd; this.tracking = tracking; - this.ptr_tracking_context = ptr_tracking_context; + this.tracking_context = tracking_context; this.proxy = proxy; this.flag = flag; this.len = len; diff --git a/BlendFile/DNA/MovieClipProxy.cs b/BlendFile/DNA/MovieClipProxy.cs index 584f3f8..93b67a6 100644 --- a/BlendFile/DNA/MovieClipProxy.cs +++ b/BlendFile/DNA/MovieClipProxy.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(554, "MovieClipProxy", 776)] - public struct MovieClipProxy { - [DNAFieldAttribute(0, "char", "dir[768]", "System.Char[]", 768, false, 0)] + public class MovieClipProxy { + [DNAFieldAttribute(768, "char", 0, "dir[768]", "System.Char[]", false, 0)] public char[] dir = new System.Char[768]; - [DNAFieldAttribute(1, "short", "tc", "short", 2, false, 768)] + [DNAFieldAttribute(2, "short", 1, "tc", "short", false, 768)] public short tc; - [DNAFieldAttribute(2, "short", "quality", "short", 2, false, 770)] + [DNAFieldAttribute(2, "short", 2, "quality", "short", false, 770)] public short quality; - [DNAFieldAttribute(3, "short", "build_size_flag", "short", 2, false, 772)] + [DNAFieldAttribute(2, "short", 3, "build_size_flag", "short", false, 772)] public short build_size_flag; - [DNAFieldAttribute(4, "short", "build_tc_flag", "short", 2, false, 774)] + [DNAFieldAttribute(2, "short", 4, "build_tc_flag", "short", false, 774)] public short build_tc_flag; public MovieClipProxy() { this.dir = default; diff --git a/BlendFile/DNA/MovieClipScopes.cs b/BlendFile/DNA/MovieClipScopes.cs index 827a43d..29591c5 100644 --- a/BlendFile/DNA/MovieClipScopes.cs +++ b/BlendFile/DNA/MovieClipScopes.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(559, "MovieClipScopes", 136)] public class MovieClipScopes { - [DNAFieldAttribute(0, "short", "ok", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "ok", "short", false, 0)] public short ok; - [DNAFieldAttribute(1, "short", "use_track_mask", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "use_track_mask", "short", false, 2)] public short use_track_mask; - [DNAFieldAttribute(2, "int", "track_preview_height", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "track_preview_height", "int", false, 4)] public int track_preview_height; - [DNAFieldAttribute(3, "int", "frame_width", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 3, "frame_width", "int", false, 8)] public int frame_width; - [DNAFieldAttribute(4, "int", "frame_height", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 4, "frame_height", "int", false, 12)] public int frame_height; - [DNAFieldAttribute(5, "MovieTrackingMarker", "undist_marker", "MovieTrackingMarker", 64, false, 16)] + [DNAFieldAttribute(64, "MovieTrackingMarker", 5, "undist_marker", "MovieTrackingMarker", false, 16)] public MovieTrackingMarker undist_marker; - [DNAFieldAttribute(6, "ImBuf", "*track_search", "ImBuf", 8, true, 80)] - public ImBuf ptr_track_search; - [DNAFieldAttribute(7, "ImBuf", "*track_preview", "ImBuf", 8, true, 88)] - public ImBuf ptr_track_preview; - [DNAFieldAttribute(8, "float", "track_pos[2]", "System.Single[]", 8, false, 96)] + [DNAFieldAttribute(8, "ImBuf", 6, "*track_search", "ImBuf", true, 80)] + public ImBuf track_search; + [DNAFieldAttribute(8, "ImBuf", 7, "*track_preview", "ImBuf", true, 88)] + public ImBuf track_preview; + [DNAFieldAttribute(8, "float", 8, "track_pos[2]", "System.Single[]", false, 96)] public float[] track_pos = new System.Single[2]; - [DNAFieldAttribute(9, "short", "track_disabled", "short", 2, false, 104)] + [DNAFieldAttribute(2, "short", 9, "track_disabled", "short", false, 104)] public short track_disabled; - [DNAFieldAttribute(10, "short", "track_locked", "short", 2, false, 106)] + [DNAFieldAttribute(2, "short", 10, "track_locked", "short", false, 106)] public short track_locked; - [DNAFieldAttribute(11, "int", "scene_framenr", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 11, "scene_framenr", "int", false, 108)] public int scene_framenr; - [DNAFieldAttribute(12, "MovieTrackingTrack", "*track", "MovieTrackingTrack", 8, true, 112)] - public MovieTrackingTrack ptr_track; - [DNAFieldAttribute(13, "MovieTrackingMarker", "*marker", "MovieTrackingMarker", 8, true, 120)] - public MovieTrackingMarker ptr_marker; - [DNAFieldAttribute(14, "float", "slide_scale[2]", "System.Single[]", 8, false, 128)] + [DNAFieldAttribute(8, "MovieTrackingTrack", 12, "*track", "MovieTrackingTrack", true, 112)] + public MovieTrackingTrack track; + [DNAFieldAttribute(8, "MovieTrackingMarker", 13, "*marker", "MovieTrackingMarker", true, 120)] + public MovieTrackingMarker marker; + [DNAFieldAttribute(8, "float", 14, "slide_scale[2]", "System.Single[]", false, 128)] public float[] slide_scale = new System.Single[2]; public MovieClipScopes() { this.ok = default; @@ -52,31 +52,31 @@ namespace BlendFile.DNA { this.frame_width = default; this.frame_height = default; this.undist_marker = default; - this.ptr_track_search = default; - this.ptr_track_preview = default; + this.track_search = default; + this.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.track = default; + this.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) { + public MovieClipScopes(short ok, short use_track_mask, int track_preview_height, int frame_width, int frame_height, MovieTrackingMarker undist_marker, ImBuf track_search, ImBuf track_preview, float[] track_pos, short track_disabled, short track_locked, int scene_framenr, MovieTrackingTrack track, MovieTrackingMarker marker, float[] slide_scale) { this.ok = ok; this.use_track_mask = use_track_mask; this.track_preview_height = track_preview_height; this.frame_width = frame_width; this.frame_height = frame_height; this.undist_marker = undist_marker; - this.ptr_track_search = ptr_track_search; - this.ptr_track_preview = ptr_track_preview; + this.track_search = track_search; + this.track_preview = track_preview; this.track_pos = track_pos; this.track_disabled = track_disabled; this.track_locked = track_locked; this.scene_framenr = scene_framenr; - this.ptr_track = ptr_track; - this.ptr_marker = ptr_marker; + this.track = track; + this.marker = marker; this.slide_scale = slide_scale; } } diff --git a/BlendFile/DNA/MovieClipUser.cs b/BlendFile/DNA/MovieClipUser.cs index 4123785..c64b240 100644 --- a/BlendFile/DNA/MovieClipUser.cs +++ b/BlendFile/DNA/MovieClipUser.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(149, "MovieClipUser", 8)] - public struct MovieClipUser { - [DNAFieldAttribute(0, "int", "framenr", "int", 4, false, 0)] + public class MovieClipUser { + [DNAFieldAttribute(4, "int", 0, "framenr", "int", false, 0)] public int framenr; - [DNAFieldAttribute(1, "short", "render_size", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "render_size", "short", false, 4)] public short render_size; - [DNAFieldAttribute(2, "short", "render_flag", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 2, "render_flag", "short", false, 6)] public short render_flag; public MovieClipUser() { this.framenr = default; diff --git a/BlendFile/DNA/MovieClip_Runtime.cs b/BlendFile/DNA/MovieClip_Runtime.cs index da9333a..e086d9e 100644 --- a/BlendFile/DNA/MovieClip_Runtime.cs +++ b/BlendFile/DNA/MovieClip_Runtime.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(556, "MovieClip_Runtime", 16)] - public struct MovieClip_Runtime { - [DNAFieldAttribute(0, "ListBase", "gputextures", "ListBase", 16, false, 0)] + public class MovieClip_Runtime { + [DNAFieldAttribute(16, "ListBase", 0, "gputextures", "ListBase", false, 0)] public ListBase gputextures; public MovieClip_Runtime() { this.gputextures = default; diff --git a/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs b/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs index aea39fc..e0c3827 100644 --- a/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs +++ b/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(555, "MovieClip_RuntimeGPUTexture", 48)] public class MovieClip_RuntimeGPUTexture { - [DNAFieldAttribute(0, "void", "*next", "void", 8, true, 0)] - public object ptr_next; - [DNAFieldAttribute(1, "void", "*prev", "void", 8, true, 8)] - public object ptr_prev; - [DNAFieldAttribute(2, "MovieClipUser", "user", "MovieClipUser", 8, false, 16)] + [DNAFieldAttribute(8, "void", 0, "*next", "void", true, 0)] + public object next; + [DNAFieldAttribute(8, "void", 1, "*prev", "void", true, 8)] + public object prev; + [DNAFieldAttribute(8, "MovieClipUser", 2, "user", "MovieClipUser", false, 16)] public MovieClipUser user; - [DNAFieldAttribute(3, "GPUTexture", "*gputexture[3]", "GPUTexture[]", 24, true, 24)] - public GPUTexture[] ptr_gputext = new GPUTexture[3]; + [DNAFieldAttribute(24, "GPUTexture", 3, "*gputexture[3]", "GPUTexture[]", true, 24)] + public GPUTexture[] gputexture = new GPUTexture[3]; public MovieClip_RuntimeGPUTexture() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.user = default; - this.ptr_gputext = default; + this.gputexture = 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; + public MovieClip_RuntimeGPUTexture(object next, object prev, MovieClipUser user, GPUTexture[] gputexture) { + this.next = next; + this.prev = prev; this.user = user; - this.ptr_gputext = ptr_gputext; + this.gputexture = gputexture; } } } diff --git a/BlendFile/DNA/MovieReconstructedCamera.cs b/BlendFile/DNA/MovieReconstructedCamera.cs index b9d855f..bb2d700 100644 --- a/BlendFile/DNA/MovieReconstructedCamera.cs +++ b/BlendFile/DNA/MovieReconstructedCamera.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(975, "MovieReconstructedCamera", 72)] - public struct MovieReconstructedCamera { - [DNAFieldAttribute(0, "int", "framenr", "int", 4, false, 0)] + public class MovieReconstructedCamera { + [DNAFieldAttribute(4, "int", 0, "framenr", "int", false, 0)] public int framenr; - [DNAFieldAttribute(1, "float", "error", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "error", "float", false, 4)] public float error; - [DNAFieldAttribute(2, "float", "mat[4][4]", "System.Single[,]", 64, false, 8)] + [DNAFieldAttribute(64, "float", 2, "mat[4][4]", "System.Single[,]", false, 8)] public float[,] mat = new System.Single[4,4]; public MovieReconstructedCamera() { this.framenr = default; diff --git a/BlendFile/DNA/MovieTracking.cs b/BlendFile/DNA/MovieTracking.cs index 58dde20..e72db31 100644 --- a/BlendFile/DNA/MovieTracking.cs +++ b/BlendFile/DNA/MovieTracking.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(558, "MovieTracking", 384)] public class MovieTracking { - [DNAFieldAttribute(0, "MovieTrackingSettings", "settings", "MovieTrackingSettings", 64, false, 0)] + [DNAFieldAttribute(64, "MovieTrackingSettings", 0, "settings", "MovieTrackingSettings", false, 0)] public MovieTrackingSettings settings; - [DNAFieldAttribute(1, "MovieTrackingCamera", "camera", "MovieTrackingCamera", 96, false, 64)] + [DNAFieldAttribute(96, "MovieTrackingCamera", 1, "camera", "MovieTrackingCamera", false, 64)] public MovieTrackingCamera camera; - [DNAFieldAttribute(2, "ListBase", "tracks", "ListBase", 16, false, 160)] + [DNAFieldAttribute(16, "ListBase", 2, "tracks", "ListBase", false, 160)] public ListBase tracks; - [DNAFieldAttribute(3, "ListBase", "plane_tracks", "ListBase", 16, false, 176)] + [DNAFieldAttribute(16, "ListBase", 3, "plane_tracks", "ListBase", false, 176)] public ListBase plane_tracks; - [DNAFieldAttribute(4, "MovieTrackingReconstruction", "reconstruction", "MovieTrackingReconstruction", 24, false, 192)] + [DNAFieldAttribute(24, "MovieTrackingReconstruction", 4, "reconstruction", "MovieTrackingReconstruction", false, 192)] public MovieTrackingReconstruction reconstruction; - [DNAFieldAttribute(5, "MovieTrackingStabilization", "stabilization", "MovieTrackingStabilization", 72, false, 216)] + [DNAFieldAttribute(72, "MovieTrackingStabilization", 5, "stabilization", "MovieTrackingStabilization", false, 216)] public MovieTrackingStabilization stabilization; - [DNAFieldAttribute(6, "MovieTrackingTrack", "*act_track", "MovieTrackingTrack", 8, true, 288)] - public MovieTrackingTrack ptr_act_track; - [DNAFieldAttribute(7, "MovieTrackingPlaneTrack", "*act_plane_track", "MovieTrackingPlaneTrack", 8, true, 296)] - public MovieTrackingPlaneTrack ptr_act_plane_track; - [DNAFieldAttribute(8, "ListBase", "objects", "ListBase", 16, false, 304)] + [DNAFieldAttribute(8, "MovieTrackingTrack", 6, "*act_track", "MovieTrackingTrack", true, 288)] + public MovieTrackingTrack act_track; + [DNAFieldAttribute(8, "MovieTrackingPlaneTrack", 7, "*act_plane_track", "MovieTrackingPlaneTrack", true, 296)] + public MovieTrackingPlaneTrack act_plane_track; + [DNAFieldAttribute(16, "ListBase", 8, "objects", "ListBase", false, 304)] public ListBase objects; - [DNAFieldAttribute(9, "int", "objectnr", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 9, "objectnr", "int", false, 320)] public int objectnr; - [DNAFieldAttribute(10, "int", "tot_object", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 10, "tot_object", "int", false, 324)] public int tot_object; - [DNAFieldAttribute(11, "MovieTrackingStats", "*stats", "MovieTrackingStats", 8, true, 328)] - public MovieTrackingStats ptr_stats; - [DNAFieldAttribute(12, "MovieTrackingDopesheet", "dopesheet", "MovieTrackingDopesheet", 48, false, 336)] + [DNAFieldAttribute(8, "MovieTrackingStats", 11, "*stats", "MovieTrackingStats", true, 328)] + public MovieTrackingStats stats; + [DNAFieldAttribute(48, "MovieTrackingDopesheet", 12, "dopesheet", "MovieTrackingDopesheet", false, 336)] public MovieTrackingDopesheet dopesheet; public MovieTracking() { this.settings = default; @@ -48,27 +48,27 @@ namespace BlendFile.DNA { this.plane_tracks = default; this.reconstruction = default; this.stabilization = default; - this.ptr_act_track = default; - this.ptr_act_plane_track = default; + this.act_track = default; + this.act_plane_track = default; this.objects = default; this.objectnr = default; this.tot_object = default; - this.ptr_stats = default; + this.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) { + public MovieTracking(MovieTrackingSettings settings, MovieTrackingCamera camera, ListBase tracks, ListBase plane_tracks, MovieTrackingReconstruction reconstruction, MovieTrackingStabilization stabilization, MovieTrackingTrack act_track, MovieTrackingPlaneTrack act_plane_track, ListBase objects, int objectnr, int tot_object, MovieTrackingStats stats, MovieTrackingDopesheet dopesheet) { this.settings = settings; this.camera = camera; this.tracks = tracks; this.plane_tracks = plane_tracks; this.reconstruction = reconstruction; this.stabilization = stabilization; - this.ptr_act_track = ptr_act_track; - this.ptr_act_plane_track = ptr_act_plane_track; + this.act_track = act_track; + this.act_plane_track = act_plane_track; this.objects = objects; this.objectnr = objectnr; this.tot_object = tot_object; - this.ptr_stats = ptr_stats; + this.stats = stats; this.dopesheet = dopesheet; } } diff --git a/BlendFile/DNA/MovieTrackingCamera.cs b/BlendFile/DNA/MovieTrackingCamera.cs index c4ba178..1df1280 100644 --- a/BlendFile/DNA/MovieTrackingCamera.cs +++ b/BlendFile/DNA/MovieTrackingCamera.cs @@ -15,54 +15,54 @@ namespace BlendFile.DNA { [DNAClassAttribute(976, "MovieTrackingCamera", 96)] public class MovieTrackingCamera { - [DNAFieldAttribute(0, "void", "*intrinsics", "void", 8, true, 0)] - public object ptr_intrinsics; - [DNAFieldAttribute(1, "short", "distortion_model", "short", 2, false, 8)] + [DNAFieldAttribute(8, "void", 0, "*intrinsics", "void", true, 0)] + public object intrinsics; + [DNAFieldAttribute(2, "short", 1, "distortion_model", "short", false, 8)] public short distortion_model; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 10)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "float", "sensor_width", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "sensor_width", "float", false, 12)] public float sensor_width; - [DNAFieldAttribute(4, "float", "pixel_aspect", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "pixel_aspect", "float", false, 16)] public float pixel_aspect; - [DNAFieldAttribute(5, "float", "focal", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "focal", "float", false, 20)] public float focal; - [DNAFieldAttribute(6, "short", "units", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "units", "short", false, 24)] public short units; - [DNAFieldAttribute(7, "char", "_pad1[2]", "System.Char[]", 2, false, 26)] + [DNAFieldAttribute(2, "char", 7, "_pad1[2]", "System.Char[]", false, 26)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(8, "float", "principal_point[2]", "System.Single[]", 8, false, 28)] + [DNAFieldAttribute(8, "float", 8, "principal_point[2]", "System.Single[]", false, 28)] public float[] principal_point = new System.Single[2]; - [DNAFieldAttribute(9, "float", "principal[2]", "System.Single[]", 8, false, 36)] + [DNAFieldAttribute(8, "float", 9, "principal[2]", "System.Single[]", false, 36)] public float[] principal = new System.Single[2]; - [DNAFieldAttribute(10, "float", "k1", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 10, "k1", "float", false, 44)] public float k1; - [DNAFieldAttribute(11, "float", "k2", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 11, "k2", "float", false, 48)] public float k2; - [DNAFieldAttribute(12, "float", "k3", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 12, "k3", "float", false, 52)] public float k3; - [DNAFieldAttribute(13, "float", "division_k1", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 13, "division_k1", "float", false, 56)] public float division_k1; - [DNAFieldAttribute(14, "float", "division_k2", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 14, "division_k2", "float", false, 60)] public float division_k2; - [DNAFieldAttribute(15, "float", "nuke_k1", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 15, "nuke_k1", "float", false, 64)] public float nuke_k1; - [DNAFieldAttribute(16, "float", "nuke_k2", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 16, "nuke_k2", "float", false, 68)] public float nuke_k2; - [DNAFieldAttribute(17, "float", "brown_k1", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 17, "brown_k1", "float", false, 72)] public float brown_k1; - [DNAFieldAttribute(18, "float", "brown_k2", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 18, "brown_k2", "float", false, 76)] public float brown_k2; - [DNAFieldAttribute(19, "float", "brown_k3", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 19, "brown_k3", "float", false, 80)] public float brown_k3; - [DNAFieldAttribute(20, "float", "brown_k4", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 20, "brown_k4", "float", false, 84)] public float brown_k4; - [DNAFieldAttribute(21, "float", "brown_p1", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 21, "brown_p1", "float", false, 88)] public float brown_p1; - [DNAFieldAttribute(22, "float", "brown_p2", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 22, "brown_p2", "float", false, 92)] public float brown_p2; public MovieTrackingCamera() { - this.ptr_intrinsics = default; + this.intrinsics = default; this.distortion_model = default; this._pad = default; this.sensor_width = default; @@ -87,7 +87,7 @@ namespace BlendFile.DNA { this.brown_p2 = default; } public MovieTrackingCamera( - object ptr_intrinsics, + object intrinsics, short distortion_model, char[] _pad, float sensor_width, @@ -110,7 +110,7 @@ namespace BlendFile.DNA { float brown_k4, float brown_p1, float brown_p2) { - this.ptr_intrinsics = ptr_intrinsics; + this.intrinsics = intrinsics; this.distortion_model = distortion_model; this._pad = _pad; this.sensor_width = sensor_width; diff --git a/BlendFile/DNA/MovieTrackingDopesheet.cs b/BlendFile/DNA/MovieTrackingDopesheet.cs index b97bb06..d09e36f 100644 --- a/BlendFile/DNA/MovieTrackingDopesheet.cs +++ b/BlendFile/DNA/MovieTrackingDopesheet.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(986, "MovieTrackingDopesheet", 48)] - public struct MovieTrackingDopesheet { - [DNAFieldAttribute(0, "int", "ok", "int", 4, false, 0)] + public class MovieTrackingDopesheet { + [DNAFieldAttribute(4, "int", 0, "ok", "int", false, 0)] public int ok; - [DNAFieldAttribute(1, "short", "sort_method", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "sort_method", "short", false, 4)] public short sort_method; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 6)] public short flag; - [DNAFieldAttribute(3, "ListBase", "coverage_segments", "ListBase", 16, false, 8)] + [DNAFieldAttribute(16, "ListBase", 3, "coverage_segments", "ListBase", false, 8)] public ListBase coverage_segments; - [DNAFieldAttribute(4, "ListBase", "channels", "ListBase", 16, false, 24)] + [DNAFieldAttribute(16, "ListBase", 4, "channels", "ListBase", false, 24)] public ListBase channels; - [DNAFieldAttribute(5, "int", "tot_channel", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 5, "tot_channel", "int", false, 40)] public int tot_channel; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 44)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 44)] public char[] _pad = new System.Char[4]; public MovieTrackingDopesheet() { this.ok = default; diff --git a/BlendFile/DNA/MovieTrackingDopesheetChannel.cs b/BlendFile/DNA/MovieTrackingDopesheetChannel.cs index dc41552..cb9788c 100644 --- a/BlendFile/DNA/MovieTrackingDopesheetChannel.cs +++ b/BlendFile/DNA/MovieTrackingDopesheetChannel.cs @@ -15,49 +15,49 @@ namespace BlendFile.DNA { [DNAClassAttribute(984, "MovieTrackingDopesheetChannel", 120)] public class MovieTrackingDopesheetChannel { - [DNAFieldAttribute(0, "MovieTrackingDopesheetChannel", "*next", "MovieTrackingDopesheetChannel", 8, true, 0)] - public MovieTrackingDopesheetChannel ptr_next; - [DNAFieldAttribute(1, "MovieTrackingDopesheetChannel", "*prev", "MovieTrackingDopesheetChannel", 8, true, 8)] - public MovieTrackingDopesheetChannel ptr_prev; - [DNAFieldAttribute(2, "MovieTrackingTrack", "*track", "MovieTrackingTrack", 8, true, 16)] - public MovieTrackingTrack ptr_track; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 24)] + [DNAFieldAttribute(8, "MovieTrackingDopesheetChannel", 0, "*next", "MovieTrackingDopesheetChannel", true, 0)] + public MovieTrackingDopesheetChannel next; + [DNAFieldAttribute(8, "MovieTrackingDopesheetChannel", 1, "*prev", "MovieTrackingDopesheetChannel", true, 8)] + public MovieTrackingDopesheetChannel prev; + [DNAFieldAttribute(8, "MovieTrackingTrack", 2, "*track", "MovieTrackingTrack", true, 16)] + public MovieTrackingTrack track; + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 24)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 28)] + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 28)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "int", "tot_segment", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 5, "tot_segment", "int", false, 92)] public int tot_segment; - [DNAFieldAttribute(6, "int", "*segments", "int", 8, true, 96)] - public int ptr_segments; - [DNAFieldAttribute(7, "int", "max_segment", "int", 4, false, 104)] + [DNAFieldAttribute(8, "int", 6, "*segments", "int", true, 96)] + public int segments; + [DNAFieldAttribute(4, "int", 7, "max_segment", "int", false, 104)] public int max_segment; - [DNAFieldAttribute(8, "int", "total_frames", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 8, "total_frames", "int", false, 108)] public int total_frames; - [DNAFieldAttribute(9, "int", "first_not_disabled_marker_framenr", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 9, "first_not_disabled_marker_framenr", "int", false, 112)] public int first_not_disabled_marker_framenr; - [DNAFieldAttribute(10, "int", "last_not_disabled_marker_framenr", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 10, "last_not_disabled_marker_framenr", "int", false, 116)] public int last_not_disabled_marker_framenr; public MovieTrackingDopesheetChannel() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_track = default; + this.next = default; + this.prev = default; + this.track = default; this._pad = default; this.name = default; this.tot_segment = default; - this.ptr_segments = default; + this.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; - this.ptr_track = ptr_track; + public MovieTrackingDopesheetChannel(MovieTrackingDopesheetChannel next, MovieTrackingDopesheetChannel prev, MovieTrackingTrack track, char[] _pad, char[] name, int tot_segment, int segments, int max_segment, int total_frames, int first_not_disabled_marker_framenr, int last_not_disabled_marker_framenr) { + this.next = next; + this.prev = prev; + this.track = track; this._pad = _pad; this.name = name; this.tot_segment = tot_segment; - this.ptr_segments = ptr_segments; + this.segments = segments; this.max_segment = max_segment; this.total_frames = total_frames; this.first_not_disabled_marker_framenr = first_not_disabled_marker_framenr; diff --git a/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs b/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs index 9e532a5..bd94685 100644 --- a/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs +++ b/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(985, "MovieTrackingDopesheetCoverageSegment", 32)] public class MovieTrackingDopesheetCoverageSegment { - [DNAFieldAttribute(0, "MovieTrackingDopesheetCoverageSegment", "*next", "MovieTrackingDopesheetCoverageSegment", 8, true, 0)] - public MovieTrackingDopesheetCoverageSegment ptr_next; - [DNAFieldAttribute(1, "MovieTrackingDopesheetCoverageSegment", "*prev", "MovieTrackingDopesheetCoverageSegment", 8, true, 8)] - public MovieTrackingDopesheetCoverageSegment ptr_prev; - [DNAFieldAttribute(2, "int", "coverage", "int", 4, false, 16)] + [DNAFieldAttribute(8, "MovieTrackingDopesheetCoverageSegment", 0, "*next", "MovieTrackingDopesheetCoverageSegment", true, 0)] + public MovieTrackingDopesheetCoverageSegment next; + [DNAFieldAttribute(8, "MovieTrackingDopesheetCoverageSegment", 1, "*prev", "MovieTrackingDopesheetCoverageSegment", true, 8)] + public MovieTrackingDopesheetCoverageSegment prev; + [DNAFieldAttribute(4, "int", 2, "coverage", "int", false, 16)] public int coverage; - [DNAFieldAttribute(3, "int", "start_frame", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "start_frame", "int", false, 20)] public int start_frame; - [DNAFieldAttribute(4, "int", "end_frame", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 4, "end_frame", "int", false, 24)] public int end_frame; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 28)] public char[] _pad = new System.Char[4]; public MovieTrackingDopesheetCoverageSegment() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public MovieTrackingDopesheetCoverageSegment(MovieTrackingDopesheetCoverageSegment next, MovieTrackingDopesheetCoverageSegment prev, int coverage, int start_frame, int end_frame, char[] _pad) { + this.next = next; + this.prev = prev; this.coverage = coverage; this.start_frame = start_frame; this.end_frame = end_frame; diff --git a/BlendFile/DNA/MovieTrackingMarker.cs b/BlendFile/DNA/MovieTrackingMarker.cs index fc9ca9d..9b9b0aa 100644 --- a/BlendFile/DNA/MovieTrackingMarker.cs +++ b/BlendFile/DNA/MovieTrackingMarker.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(560, "MovieTrackingMarker", 64)] - public struct MovieTrackingMarker { - [DNAFieldAttribute(0, "float", "pos[2]", "System.Single[]", 8, false, 0)] + public class MovieTrackingMarker { + [DNAFieldAttribute(8, "float", 0, "pos[2]", "System.Single[]", false, 0)] public float[] pos = new System.Single[2]; - [DNAFieldAttribute(1, "float", "pattern_corners[4][2]", "System.Single[,]", 32, false, 8)] + [DNAFieldAttribute(32, "float", 1, "pattern_corners[4][2]", "System.Single[,]", false, 8)] public float[,] pattern_corners = new System.Single[4,2]; - [DNAFieldAttribute(2, "float", "search_min[2]", "System.Single[]", 8, false, 40)] + [DNAFieldAttribute(8, "float", 2, "search_min[2]", "System.Single[]", false, 40)] public float[] search_min = new System.Single[2]; - [DNAFieldAttribute(3, "float", "search_max[2]", "System.Single[]", 8, false, 48)] + [DNAFieldAttribute(8, "float", 3, "search_max[2]", "System.Single[]", false, 48)] public float[] search_max = new System.Single[2]; - [DNAFieldAttribute(4, "int", "framenr", "int", 4, false, 56)] + [DNAFieldAttribute(4, "int", 4, "framenr", "int", false, 56)] public int framenr; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 60)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 60)] public int flag; public MovieTrackingMarker() { this.pos = default; diff --git a/BlendFile/DNA/MovieTrackingObject.cs b/BlendFile/DNA/MovieTrackingObject.cs index b2fbdf3..939e293 100644 --- a/BlendFile/DNA/MovieTrackingObject.cs +++ b/BlendFile/DNA/MovieTrackingObject.cs @@ -15,54 +15,54 @@ namespace BlendFile.DNA { [DNAClassAttribute(982, "MovieTrackingObject", 168)] public class MovieTrackingObject { - [DNAFieldAttribute(0, "MovieTrackingObject", "*next", "MovieTrackingObject", 8, true, 0)] - public MovieTrackingObject ptr_next; - [DNAFieldAttribute(1, "MovieTrackingObject", "*prev", "MovieTrackingObject", 8, true, 8)] - public MovieTrackingObject ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "MovieTrackingObject", 0, "*next", "MovieTrackingObject", true, 0)] + public MovieTrackingObject next; + [DNAFieldAttribute(8, "MovieTrackingObject", 1, "*prev", "MovieTrackingObject", true, 8)] + public MovieTrackingObject prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 80)] public int flag; - [DNAFieldAttribute(4, "float", "scale", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 4, "scale", "float", false, 84)] public float scale; - [DNAFieldAttribute(5, "ListBase", "tracks", "ListBase", 16, false, 88)] + [DNAFieldAttribute(16, "ListBase", 5, "tracks", "ListBase", false, 88)] public ListBase tracks; - [DNAFieldAttribute(6, "ListBase", "plane_tracks", "ListBase", 16, false, 104)] + [DNAFieldAttribute(16, "ListBase", 6, "plane_tracks", "ListBase", false, 104)] public ListBase plane_tracks; - [DNAFieldAttribute(7, "MovieTrackingTrack", "*active_track", "MovieTrackingTrack", 8, true, 120)] - public MovieTrackingTrack ptr_active_track; - [DNAFieldAttribute(8, "MovieTrackingPlaneTrack", "*active_plane_track", "MovieTrackingPlaneTrack", 8, true, 128)] - public MovieTrackingPlaneTrack ptr_active_plane_track; - [DNAFieldAttribute(9, "MovieTrackingReconstruction", "reconstruction", "MovieTrackingReconstruction", 24, false, 136)] + [DNAFieldAttribute(8, "MovieTrackingTrack", 7, "*active_track", "MovieTrackingTrack", true, 120)] + public MovieTrackingTrack active_track; + [DNAFieldAttribute(8, "MovieTrackingPlaneTrack", 8, "*active_plane_track", "MovieTrackingPlaneTrack", true, 128)] + public MovieTrackingPlaneTrack active_plane_track; + [DNAFieldAttribute(24, "MovieTrackingReconstruction", 9, "reconstruction", "MovieTrackingReconstruction", false, 136)] public MovieTrackingReconstruction reconstruction; - [DNAFieldAttribute(10, "int", "keyframe1", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 10, "keyframe1", "int", false, 160)] public int keyframe1; - [DNAFieldAttribute(11, "int", "keyframe2", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 11, "keyframe2", "int", false, 164)] public int keyframe2; public MovieTrackingObject() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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.active_track = default; + this.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; + public MovieTrackingObject(MovieTrackingObject next, MovieTrackingObject prev, char[] name, int flag, float scale, ListBase tracks, ListBase plane_tracks, MovieTrackingTrack active_track, MovieTrackingPlaneTrack active_plane_track, MovieTrackingReconstruction reconstruction, int keyframe1, int keyframe2) { + this.next = next; + this.prev = prev; this.name = name; this.flag = flag; this.scale = scale; this.tracks = tracks; this.plane_tracks = plane_tracks; - this.ptr_active_track = ptr_active_track; - this.ptr_active_plane_track = ptr_active_plane_track; + this.active_track = active_track; + this.active_plane_track = active_plane_track; this.reconstruction = reconstruction; this.keyframe1 = keyframe1; this.keyframe2 = keyframe2; diff --git a/BlendFile/DNA/MovieTrackingPlaneMarker.cs b/BlendFile/DNA/MovieTrackingPlaneMarker.cs index 8821e5a..676460c 100644 --- a/BlendFile/DNA/MovieTrackingPlaneMarker.cs +++ b/BlendFile/DNA/MovieTrackingPlaneMarker.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(977, "MovieTrackingPlaneMarker", 40)] - public struct MovieTrackingPlaneMarker { - [DNAFieldAttribute(0, "float", "corners[4][2]", "System.Single[,]", 32, false, 0)] + public class MovieTrackingPlaneMarker { + [DNAFieldAttribute(32, "float", 0, "corners[4][2]", "System.Single[,]", false, 0)] public float[,] corners = new System.Single[4,2]; - [DNAFieldAttribute(1, "int", "framenr", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 1, "framenr", "int", false, 32)] public int framenr; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 36)] public int flag; public MovieTrackingPlaneMarker() { this.corners = default; diff --git a/BlendFile/DNA/MovieTrackingPlaneTrack.cs b/BlendFile/DNA/MovieTrackingPlaneTrack.cs index 1a023f4..8cb51ad 100644 --- a/BlendFile/DNA/MovieTrackingPlaneTrack.cs +++ b/BlendFile/DNA/MovieTrackingPlaneTrack.cs @@ -15,55 +15,55 @@ namespace BlendFile.DNA { [DNAClassAttribute(978, "MovieTrackingPlaneTrack", 128)] public class MovieTrackingPlaneTrack { - [DNAFieldAttribute(0, "MovieTrackingPlaneTrack", "*next", "MovieTrackingPlaneTrack", 8, true, 0)] - public MovieTrackingPlaneTrack ptr_next; - [DNAFieldAttribute(1, "MovieTrackingPlaneTrack", "*prev", "MovieTrackingPlaneTrack", 8, true, 8)] - public MovieTrackingPlaneTrack ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "MovieTrackingPlaneTrack", 0, "*next", "MovieTrackingPlaneTrack", true, 0)] + public MovieTrackingPlaneTrack next; + [DNAFieldAttribute(8, "MovieTrackingPlaneTrack", 1, "*prev", "MovieTrackingPlaneTrack", true, 8)] + public MovieTrackingPlaneTrack prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "MovieTrackingTrack", "**point_tracks", "MovieTrackingTrack", 8, true, 80)] - public MovieTrackingTrack ptr_ptr_point_tracks; - [DNAFieldAttribute(4, "int", "point_tracksnr", "int", 4, false, 88)] + [DNAFieldAttribute(8, "MovieTrackingTrack", 3, "**point_tracks", "MovieTrackingTrack", true, 80)] + public MovieTrackingTrack point_tracks; + [DNAFieldAttribute(4, "int", 4, "point_tracksnr", "int", false, 88)] public int point_tracksnr; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 92)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 92)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "MovieTrackingPlaneMarker", "*markers", "MovieTrackingPlaneMarker", 8, true, 96)] - public MovieTrackingPlaneMarker ptr_markers; - [DNAFieldAttribute(7, "int", "markersnr", "int", 4, false, 104)] + [DNAFieldAttribute(8, "MovieTrackingPlaneMarker", 6, "*markers", "MovieTrackingPlaneMarker", true, 96)] + public MovieTrackingPlaneMarker markers; + [DNAFieldAttribute(4, "int", 7, "markersnr", "int", false, 104)] public int markersnr; - [DNAFieldAttribute(8, "int", "flag", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 8, "flag", "int", false, 108)] public int flag; - [DNAFieldAttribute(9, "Image", "*image", "Image", 8, true, 112)] - public Image ptr_image; - [DNAFieldAttribute(10, "float", "image_opacity", "float", 4, false, 120)] + [DNAFieldAttribute(8, "Image", 9, "*image", "Image", true, 112)] + public Image image; + [DNAFieldAttribute(4, "float", 10, "image_opacity", "float", false, 120)] public float image_opacity; - [DNAFieldAttribute(11, "int", "last_marker", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 11, "last_marker", "int", false, 124)] public int last_marker; public MovieTrackingPlaneTrack() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; - this.ptr_ptr_point_tracks = default; + this.point_tracks = default; this.point_tracksnr = default; this._pad = default; - this.ptr_markers = default; + this.markers = default; this.markersnr = default; this.flag = default; - this.ptr_image = default; + this.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; + public MovieTrackingPlaneTrack(MovieTrackingPlaneTrack next, MovieTrackingPlaneTrack prev, char[] name, MovieTrackingTrack point_tracks, int point_tracksnr, char[] _pad, MovieTrackingPlaneMarker markers, int markersnr, int flag, Image image, float image_opacity, int last_marker) { + this.next = next; + this.prev = prev; this.name = name; - this.ptr_ptr_point_tracks = ptr_ptr_point_tracks; + this.point_tracks = point_tracks; this.point_tracksnr = point_tracksnr; this._pad = _pad; - this.ptr_markers = ptr_markers; + this.markers = markers; this.markersnr = markersnr; this.flag = flag; - this.ptr_image = ptr_image; + this.image = image; this.image_opacity = image_opacity; this.last_marker = last_marker; } diff --git a/BlendFile/DNA/MovieTrackingReconstruction.cs b/BlendFile/DNA/MovieTrackingReconstruction.cs index 9c20cc3..b2c20c6 100644 --- a/BlendFile/DNA/MovieTrackingReconstruction.cs +++ b/BlendFile/DNA/MovieTrackingReconstruction.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(981, "MovieTrackingReconstruction", 24)] public class MovieTrackingReconstruction { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "float", "error", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "error", "float", false, 4)] public float error; - [DNAFieldAttribute(2, "int", "last_camera", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "last_camera", "int", false, 8)] public int last_camera; - [DNAFieldAttribute(3, "int", "camnr", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "camnr", "int", false, 12)] public int camnr; - [DNAFieldAttribute(4, "MovieReconstructedCamera", "*cameras", "MovieReconstructedCamera", 8, true, 16)] - public MovieReconstructedCamera ptr_cameras; + [DNAFieldAttribute(8, "MovieReconstructedCamera", 4, "*cameras", "MovieReconstructedCamera", true, 16)] + public MovieReconstructedCamera cameras; public MovieTrackingReconstruction() { this.flag = default; this.error = default; this.last_camera = default; this.camnr = default; - this.ptr_cameras = default; + this.cameras = default; } - public MovieTrackingReconstruction(int flag, float error, int last_camera, int camnr, MovieReconstructedCamera ptr_cameras) { + public MovieTrackingReconstruction(int flag, float error, int last_camera, int camnr, MovieReconstructedCamera cameras) { this.flag = flag; this.error = error; this.last_camera = last_camera; this.camnr = camnr; - this.ptr_cameras = ptr_cameras; + this.cameras = cameras; } } } diff --git a/BlendFile/DNA/MovieTrackingSettings.cs b/BlendFile/DNA/MovieTrackingSettings.cs index bbb0427..75f135d 100644 --- a/BlendFile/DNA/MovieTrackingSettings.cs +++ b/BlendFile/DNA/MovieTrackingSettings.cs @@ -14,48 +14,48 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(979, "MovieTrackingSettings", 64)] - public struct MovieTrackingSettings { - [DNAFieldAttribute(0, "short", "default_motion_model", "short", 2, false, 0)] + public class MovieTrackingSettings { + [DNAFieldAttribute(2, "short", 0, "default_motion_model", "short", false, 0)] public short default_motion_model; - [DNAFieldAttribute(1, "short", "default_algorithm_flag", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "default_algorithm_flag", "short", false, 2)] public short default_algorithm_flag; - [DNAFieldAttribute(2, "float", "default_minimum_correlation", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "default_minimum_correlation", "float", false, 4)] public float default_minimum_correlation; - [DNAFieldAttribute(3, "short", "default_pattern_size", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 3, "default_pattern_size", "short", false, 8)] public short default_pattern_size; - [DNAFieldAttribute(4, "short", "default_search_size", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 4, "default_search_size", "short", false, 10)] public short default_search_size; - [DNAFieldAttribute(5, "short", "default_frames_limit", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 5, "default_frames_limit", "short", false, 12)] public short default_frames_limit; - [DNAFieldAttribute(6, "short", "default_margin", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 6, "default_margin", "short", false, 14)] public short default_margin; - [DNAFieldAttribute(7, "short", "default_pattern_match", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 7, "default_pattern_match", "short", false, 16)] public short default_pattern_match; - [DNAFieldAttribute(8, "short", "default_flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 8, "default_flag", "short", false, 18)] public short default_flag; - [DNAFieldAttribute(9, "float", "default_weight", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 9, "default_weight", "float", false, 20)] public float default_weight; - [DNAFieldAttribute(10, "short", "motion_flag", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 10, "motion_flag", "short", false, 24)] public short motion_flag; - [DNAFieldAttribute(11, "short", "speed", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 11, "speed", "short", false, 26)] public short speed; - [DNAFieldAttribute(12, "int", "keyframe1", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 12, "keyframe1", "int", false, 28)] public int keyframe1; - [DNAFieldAttribute(13, "int", "keyframe2", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 13, "keyframe2", "int", false, 32)] public int keyframe2; - [DNAFieldAttribute(14, "int", "reconstruction_flag", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 14, "reconstruction_flag", "int", false, 36)] public int reconstruction_flag; - [DNAFieldAttribute(15, "int", "refine_camera_intrinsics", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 15, "refine_camera_intrinsics", "int", false, 40)] public int refine_camera_intrinsics; - [DNAFieldAttribute(16, "float", "dist", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 16, "dist", "float", false, 44)] public float dist; - [DNAFieldAttribute(17, "int", "clean_frames", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 17, "clean_frames", "int", false, 48)] public int clean_frames; - [DNAFieldAttribute(18, "int", "clean_action", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 18, "clean_action", "int", false, 52)] public int clean_action; - [DNAFieldAttribute(19, "float", "clean_error", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 19, "clean_error", "float", false, 56)] public float clean_error; - [DNAFieldAttribute(20, "float", "object_distance", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 20, "object_distance", "float", false, 60)] public float object_distance; public MovieTrackingSettings() { this.default_motion_model = default; diff --git a/BlendFile/DNA/MovieTrackingStabilization.cs b/BlendFile/DNA/MovieTrackingStabilization.cs index 41326b0..22ffaef 100644 --- a/BlendFile/DNA/MovieTrackingStabilization.cs +++ b/BlendFile/DNA/MovieTrackingStabilization.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(980, "MovieTrackingStabilization", 72)] public class MovieTrackingStabilization { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "int", "tot_track", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "tot_track", "int", false, 4)] public int tot_track; - [DNAFieldAttribute(2, "int", "act_track", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "act_track", "int", false, 8)] public int act_track; - [DNAFieldAttribute(3, "int", "tot_rot_track", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "tot_rot_track", "int", false, 12)] public int tot_rot_track; - [DNAFieldAttribute(4, "int", "act_rot_track", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "act_rot_track", "int", false, 16)] public int act_rot_track; - [DNAFieldAttribute(5, "float", "maxscale", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "maxscale", "float", false, 20)] public float maxscale; - [DNAFieldAttribute(6, "MovieTrackingTrack", "*rot_track", "MovieTrackingTrack", 8, true, 24)] - public MovieTrackingTrack ptr_rot_track; - [DNAFieldAttribute(7, "int", "anchor_frame", "int", 4, false, 32)] + [DNAFieldAttribute(8, "MovieTrackingTrack", 6, "*rot_track", "MovieTrackingTrack", true, 24)] + public MovieTrackingTrack rot_track; + [DNAFieldAttribute(4, "int", 7, "anchor_frame", "int", false, 32)] public int anchor_frame; - [DNAFieldAttribute(8, "float", "target_pos[2]", "System.Single[]", 8, false, 36)] + [DNAFieldAttribute(8, "float", 8, "target_pos[2]", "System.Single[]", false, 36)] public float[] target_pos = new System.Single[2]; - [DNAFieldAttribute(9, "float", "target_rot", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 9, "target_rot", "float", false, 44)] public float target_rot; - [DNAFieldAttribute(10, "float", "scale", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 10, "scale", "float", false, 48)] public float scale; - [DNAFieldAttribute(11, "float", "locinf", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 11, "locinf", "float", false, 52)] public float locinf; - [DNAFieldAttribute(12, "float", "scaleinf", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 12, "scaleinf", "float", false, 56)] public float scaleinf; - [DNAFieldAttribute(13, "float", "rotinf", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 13, "rotinf", "float", false, 60)] public float rotinf; - [DNAFieldAttribute(14, "int", "filter", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 14, "filter", "int", false, 64)] public int filter; - [DNAFieldAttribute(15, "int", "_pad", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 15, "_pad", "int", false, 68)] public int _pad; public MovieTrackingStabilization() { this.flag = default; @@ -54,7 +54,7 @@ namespace BlendFile.DNA { this.tot_rot_track = default; this.act_rot_track = default; this.maxscale = default; - this.ptr_rot_track = default; + this.rot_track = default; this.anchor_frame = default; this.target_pos = default; this.target_rot = default; @@ -72,7 +72,7 @@ namespace BlendFile.DNA { int tot_rot_track, int act_rot_track, float maxscale, - MovieTrackingTrack ptr_rot_track, + MovieTrackingTrack rot_track, int anchor_frame, float[] target_pos, float target_rot, @@ -88,7 +88,7 @@ namespace BlendFile.DNA { this.tot_rot_track = tot_rot_track; this.act_rot_track = act_rot_track; this.maxscale = maxscale; - this.ptr_rot_track = ptr_rot_track; + this.rot_track = rot_track; this.anchor_frame = anchor_frame; this.target_pos = target_pos; this.target_rot = target_rot; diff --git a/BlendFile/DNA/MovieTrackingStats.cs b/BlendFile/DNA/MovieTrackingStats.cs index 93c3d65..1b34734 100644 --- a/BlendFile/DNA/MovieTrackingStats.cs +++ b/BlendFile/DNA/MovieTrackingStats.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(983, "MovieTrackingStats", 256)] - public struct MovieTrackingStats { - [DNAFieldAttribute(0, "char", "message[256]", "System.Char[]", 256, false, 0)] + public class MovieTrackingStats { + [DNAFieldAttribute(256, "char", 0, "message[256]", "System.Char[]", false, 0)] public char[] message = new System.Char[256]; public MovieTrackingStats() { this.message = default; diff --git a/BlendFile/DNA/MovieTrackingTrack.cs b/BlendFile/DNA/MovieTrackingTrack.cs index 58e84cf..7e68f05 100644 --- a/BlendFile/DNA/MovieTrackingTrack.cs +++ b/BlendFile/DNA/MovieTrackingTrack.cs @@ -15,61 +15,61 @@ namespace BlendFile.DNA { [DNAClassAttribute(561, "MovieTrackingTrack", 208)] public class MovieTrackingTrack { - [DNAFieldAttribute(0, "MovieTrackingTrack", "*next", "MovieTrackingTrack", 8, true, 0)] - public MovieTrackingTrack ptr_next; - [DNAFieldAttribute(1, "MovieTrackingTrack", "*prev", "MovieTrackingTrack", 8, true, 8)] - public MovieTrackingTrack ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "MovieTrackingTrack", 0, "*next", "MovieTrackingTrack", true, 0)] + public MovieTrackingTrack next; + [DNAFieldAttribute(8, "MovieTrackingTrack", 1, "*prev", "MovieTrackingTrack", true, 8)] + public MovieTrackingTrack prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "float", "pat_min[2]", "System.Single[]", 8, false, 80)] + [DNAFieldAttribute(8, "float", 3, "pat_min[2]", "System.Single[]", false, 80)] public float[] pat_min = new System.Single[2]; - [DNAFieldAttribute(4, "float", "pat_max[2]", "System.Single[]", 8, false, 88)] + [DNAFieldAttribute(8, "float", 4, "pat_max[2]", "System.Single[]", false, 88)] public float[] pat_max = new System.Single[2]; - [DNAFieldAttribute(5, "float", "search_min[2]", "System.Single[]", 8, false, 96)] + [DNAFieldAttribute(8, "float", 5, "search_min[2]", "System.Single[]", false, 96)] public float[] search_min = new System.Single[2]; - [DNAFieldAttribute(6, "float", "search_max[2]", "System.Single[]", 8, false, 104)] + [DNAFieldAttribute(8, "float", 6, "search_max[2]", "System.Single[]", false, 104)] public float[] search_max = new System.Single[2]; - [DNAFieldAttribute(7, "float", "offset[2]", "System.Single[]", 8, false, 112)] + [DNAFieldAttribute(8, "float", 7, "offset[2]", "System.Single[]", false, 112)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(8, "int", "markersnr", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 8, "markersnr", "int", false, 120)] public int markersnr; - [DNAFieldAttribute(9, "int", "_pad", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 9, "_pad", "int", false, 124)] public int _pad; - [DNAFieldAttribute(10, "MovieTrackingMarker", "*markers", "MovieTrackingMarker", 8, true, 128)] - public MovieTrackingMarker ptr_markers; - [DNAFieldAttribute(11, "float", "bundle_pos[3]", "System.Single[]", 12, false, 136)] + [DNAFieldAttribute(8, "MovieTrackingMarker", 10, "*markers", "MovieTrackingMarker", true, 128)] + public MovieTrackingMarker markers; + [DNAFieldAttribute(12, "float", 11, "bundle_pos[3]", "System.Single[]", false, 136)] public float[] bundle_pos = new System.Single[3]; - [DNAFieldAttribute(12, "float", "error", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 12, "error", "float", false, 148)] public float error; - [DNAFieldAttribute(13, "int", "flag", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 13, "flag", "int", false, 152)] public int flag; - [DNAFieldAttribute(14, "int", "pat_flag", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 14, "pat_flag", "int", false, 156)] public int pat_flag; - [DNAFieldAttribute(15, "int", "search_flag", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 15, "search_flag", "int", false, 160)] public int search_flag; - [DNAFieldAttribute(16, "float", "color[3]", "System.Single[]", 12, false, 164)] + [DNAFieldAttribute(12, "float", 16, "color[3]", "System.Single[]", false, 164)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(17, "short", "frames_limit", "short", 2, false, 176)] + [DNAFieldAttribute(2, "short", 17, "frames_limit", "short", false, 176)] public short frames_limit; - [DNAFieldAttribute(18, "short", "margin", "short", 2, false, 178)] + [DNAFieldAttribute(2, "short", 18, "margin", "short", false, 178)] public short margin; - [DNAFieldAttribute(19, "short", "pattern_match", "short", 2, false, 180)] + [DNAFieldAttribute(2, "short", 19, "pattern_match", "short", false, 180)] public short pattern_match; - [DNAFieldAttribute(20, "short", "motion_model", "short", 2, false, 182)] + [DNAFieldAttribute(2, "short", 20, "motion_model", "short", false, 182)] public short motion_model; - [DNAFieldAttribute(21, "int", "algorithm_flag", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 21, "algorithm_flag", "int", false, 184)] public int algorithm_flag; - [DNAFieldAttribute(22, "float", "minimum_correlation", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 22, "minimum_correlation", "float", false, 188)] public float minimum_correlation; - [DNAFieldAttribute(23, "bGPdata", "*gpd", "bGPdata", 8, true, 192)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(24, "float", "weight", "float", 4, false, 200)] + [DNAFieldAttribute(8, "bGPdata", 23, "*gpd", "bGPdata", true, 192)] + public bGPdata gpd; + [DNAFieldAttribute(4, "float", 24, "weight", "float", false, 200)] public float weight; - [DNAFieldAttribute(25, "float", "weight_stab", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 25, "weight_stab", "float", false, 204)] public float weight_stab; public MovieTrackingTrack() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.pat_min = default; this.pat_max = default; @@ -78,7 +78,7 @@ namespace BlendFile.DNA { this.offset = default; this.markersnr = default; this._pad = default; - this.ptr_markers = default; + this.markers = default; this.bundle_pos = default; this.error = default; this.flag = default; @@ -91,13 +91,13 @@ namespace BlendFile.DNA { this.motion_model = default; this.algorithm_flag = default; this.minimum_correlation = default; - this.ptr_gpd = default; + this.gpd = default; this.weight = default; this.weight_stab = default; } public MovieTrackingTrack( - MovieTrackingTrack ptr_next, - MovieTrackingTrack ptr_prev, + MovieTrackingTrack next, + MovieTrackingTrack prev, char[] name, float[] pat_min, float[] pat_max, @@ -106,7 +106,7 @@ namespace BlendFile.DNA { float[] offset, int markersnr, int _pad, - MovieTrackingMarker ptr_markers, + MovieTrackingMarker markers, float[] bundle_pos, float error, int flag, @@ -119,11 +119,11 @@ namespace BlendFile.DNA { short motion_model, int algorithm_flag, float minimum_correlation, - bGPdata ptr_gpd, + bGPdata gpd, float weight, float weight_stab) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.name = name; this.pat_min = pat_min; this.pat_max = pat_max; @@ -132,7 +132,7 @@ namespace BlendFile.DNA { this.offset = offset; this.markersnr = markersnr; this._pad = _pad; - this.ptr_markers = ptr_markers; + this.markers = markers; this.bundle_pos = bundle_pos; this.error = error; this.flag = flag; @@ -145,7 +145,7 @@ namespace BlendFile.DNA { this.motion_model = motion_model; this.algorithm_flag = algorithm_flag; this.minimum_correlation = minimum_correlation; - this.ptr_gpd = ptr_gpd; + this.gpd = gpd; this.weight = weight; this.weight_stab = weight_stab; } diff --git a/BlendFile/DNA/MultiplyGpencilModifierData.cs b/BlendFile/DNA/MultiplyGpencilModifierData.cs index 55592aa..94da88a 100644 --- a/BlendFile/DNA/MultiplyGpencilModifierData.cs +++ b/BlendFile/DNA/MultiplyGpencilModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(297, "MultiplyGpencilModifierData", 280)] public class MultiplyGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "int", "pass_index", "int", 4, false, 240)] + [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(6, "int", "layer_pass", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 6, "layer_pass", "int", false, 248)] public int layer_pass; - [DNAFieldAttribute(7, "int", "flags", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 7, "flags", "int", false, 252)] public int flags; - [DNAFieldAttribute(8, "int", "duplications", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 8, "duplications", "int", false, 256)] public int duplications; - [DNAFieldAttribute(9, "float", "distance", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 9, "distance", "float", false, 260)] public float distance; - [DNAFieldAttribute(10, "float", "offset", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 10, "offset", "float", false, 264)] public float offset; - [DNAFieldAttribute(11, "float", "fading_center", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 11, "fading_center", "float", false, 268)] public float fading_center; - [DNAFieldAttribute(12, "float", "fading_thickness", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 12, "fading_thickness", "float", false, 272)] public float fading_thickness; - [DNAFieldAttribute(13, "float", "fading_opacity", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 13, "fading_opacity", "float", false, 276)] public float fading_opacity; public MultiplyGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.pass_index = default; @@ -59,9 +59,9 @@ namespace BlendFile.DNA { 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) { + public MultiplyGpencilModifierData(GpencilModifierData modifier, Material 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; + this.material = material; this.layername = layername; this.materialname = materialname; this.pass_index = pass_index; diff --git a/BlendFile/DNA/MultiresModifierData.cs b/BlendFile/DNA/MultiresModifierData.cs index 92281f3..0ff8fc4 100644 --- a/BlendFile/DNA/MultiresModifierData.cs +++ b/BlendFile/DNA/MultiresModifierData.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(480, "MultiresModifierData", 136)] - public struct MultiresModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class MultiresModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "lvl", "char", 1, false, 120)] + [DNAFieldAttribute(1, "char", 1, "lvl", "char", false, 120)] public char lvl; - [DNAFieldAttribute(2, "char", "sculptlvl", "char", 1, false, 121)] + [DNAFieldAttribute(1, "char", 2, "sculptlvl", "char", false, 121)] public char sculptlvl; - [DNAFieldAttribute(3, "char", "renderlvl", "char", 1, false, 122)] + [DNAFieldAttribute(1, "char", 3, "renderlvl", "char", false, 122)] public char renderlvl; - [DNAFieldAttribute(4, "char", "totlvl", "char", 1, false, 123)] + [DNAFieldAttribute(1, "char", 4, "totlvl", "char", false, 123)] public char totlvl; - [DNAFieldAttribute(5, "char", "simple", "char", 1, false, 124)] + [DNAFieldAttribute(1, "char", 5, "simple", "char", false, 124)] public char simple; - [DNAFieldAttribute(6, "char", "flags", "char", 1, false, 125)] + [DNAFieldAttribute(1, "char", 6, "flags", "char", false, 125)] public char flags; - [DNAFieldAttribute(7, "char", "_pad[2]", "System.Char[]", 2, false, 126)] + [DNAFieldAttribute(2, "char", 7, "_pad[2]", "System.Char[]", false, 126)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(8, "short", "quality", "short", 2, false, 128)] + [DNAFieldAttribute(2, "short", 8, "quality", "short", false, 128)] public short quality; - [DNAFieldAttribute(9, "short", "uv_smooth", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 9, "uv_smooth", "short", false, 130)] public short uv_smooth; - [DNAFieldAttribute(10, "short", "boundary_smooth", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 10, "boundary_smooth", "short", false, 132)] public short boundary_smooth; - [DNAFieldAttribute(11, "char", "_pad2[2]", "System.Char[]", 2, false, 134)] + [DNAFieldAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", false, 134)] public char[] _pad2 = new System.Char[2]; public MultiresModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/NamedBrushAssetReference.cs b/BlendFile/DNA/NamedBrushAssetReference.cs index d38eb0d..1f69416 100644 --- a/BlendFile/DNA/NamedBrushAssetReference.cs +++ b/BlendFile/DNA/NamedBrushAssetReference.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(805, "NamedBrushAssetReference", 32)] public class NamedBrushAssetReference { - [DNAFieldAttribute(0, "NamedBrushAssetReference", "*next", "NamedBrushAssetReference", 8, true, 0)] - public NamedBrushAssetReference ptr_next; - [DNAFieldAttribute(1, "NamedBrushAssetReference", "*prev", "NamedBrushAssetReference", 8, true, 8)] - public NamedBrushAssetReference ptr_prev; - [DNAFieldAttribute(2, "char", "*name", "char", 8, true, 16)] - public char ptr_name; - [DNAFieldAttribute(3, "AssetWeakReference", "*brush_asset_reference", "AssetWeakReference", 8, true, 24)] - public AssetWeakReference ptr_brush_asset_reference; + [DNAFieldAttribute(8, "NamedBrushAssetReference", 0, "*next", "NamedBrushAssetReference", true, 0)] + public NamedBrushAssetReference next; + [DNAFieldAttribute(8, "NamedBrushAssetReference", 1, "*prev", "NamedBrushAssetReference", true, 8)] + public NamedBrushAssetReference prev; + [DNAFieldAttribute(8, "char", 2, "*name", "char", true, 16)] + public char name; + [DNAFieldAttribute(8, "AssetWeakReference", 3, "*brush_asset_reference", "AssetWeakReference", true, 24)] + public AssetWeakReference brush_asset_reference; public NamedBrushAssetReference() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_name = default; - this.ptr_brush_asset_reference = default; + this.next = default; + this.prev = default; + this.name = default; + this.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; - this.ptr_name = ptr_name; - this.ptr_brush_asset_reference = ptr_brush_asset_reference; + public NamedBrushAssetReference(NamedBrushAssetReference next, NamedBrushAssetReference prev, char name, AssetWeakReference brush_asset_reference) { + this.next = next; + this.prev = prev; + this.name = name; + this.brush_asset_reference = brush_asset_reference; } } } diff --git a/BlendFile/DNA/NlaStrip.cs b/BlendFile/DNA/NlaStrip.cs index 88abd21..c501df3 100644 --- a/BlendFile/DNA/NlaStrip.cs +++ b/BlendFile/DNA/NlaStrip.cs @@ -15,69 +15,69 @@ namespace BlendFile.DNA { [DNAClassAttribute(96, "NlaStrip", 288)] public class NlaStrip { - [DNAFieldAttribute(0, "NlaStrip", "*next", "NlaStrip", 8, true, 0)] - public NlaStrip ptr_next; - [DNAFieldAttribute(1, "NlaStrip", "*prev", "NlaStrip", 8, true, 8)] - public NlaStrip ptr_prev; - [DNAFieldAttribute(2, "ListBase", "strips", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "NlaStrip", 0, "*next", "NlaStrip", true, 0)] + public NlaStrip next; + [DNAFieldAttribute(8, "NlaStrip", 1, "*prev", "NlaStrip", true, 8)] + public NlaStrip prev; + [DNAFieldAttribute(16, "ListBase", 2, "strips", "ListBase", false, 16)] public ListBase strips; - [DNAFieldAttribute(3, "bAction", "*act", "bAction", 8, true, 32)] - public bAction ptr_act; - [DNAFieldAttribute(4, "int", "action_slot_handle", "int", 4, false, 40)] + [DNAFieldAttribute(8, "bAction", 3, "*act", "bAction", true, 32)] + public bAction act; + [DNAFieldAttribute(4, "int", 4, "action_slot_handle", "int", false, 40)] public int action_slot_handle; - [DNAFieldAttribute(5, "char", "action_slot_name[66]", "System.Char[]", 66, false, 44)] + [DNAFieldAttribute(66, "char", 5, "action_slot_name[66]", "System.Char[]", false, 44)] public char[] action_slot_name = new System.Char[66]; - [DNAFieldAttribute(6, "char", "_pad0[2]", "System.Char[]", 2, false, 110)] + [DNAFieldAttribute(2, "char", 6, "_pad0[2]", "System.Char[]", false, 110)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(7, "ListBase", "fcurves", "ListBase", 16, false, 112)] + [DNAFieldAttribute(16, "ListBase", 7, "fcurves", "ListBase", false, 112)] public ListBase fcurves; - [DNAFieldAttribute(8, "ListBase", "modifiers", "ListBase", 16, false, 128)] + [DNAFieldAttribute(16, "ListBase", 8, "modifiers", "ListBase", false, 128)] public ListBase modifiers; - [DNAFieldAttribute(9, "char", "name[64]", "System.Char[]", 64, false, 144)] + [DNAFieldAttribute(64, "char", 9, "name[64]", "System.Char[]", false, 144)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(10, "float", "influence", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 10, "influence", "float", false, 208)] public float influence; - [DNAFieldAttribute(11, "float", "strip_time", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 11, "strip_time", "float", false, 212)] public float strip_time; - [DNAFieldAttribute(12, "float", "start", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 12, "start", "float", false, 216)] public float start; - [DNAFieldAttribute(13, "float", "end", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 13, "end", "float", false, 220)] public float end; - [DNAFieldAttribute(14, "float", "actstart", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 14, "actstart", "float", false, 224)] public float actstart; - [DNAFieldAttribute(15, "float", "actend", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 15, "actend", "float", false, 228)] public float actend; - [DNAFieldAttribute(16, "float", "repeat", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 16, "repeat", "float", false, 232)] public float repeat; - [DNAFieldAttribute(17, "float", "scale", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 17, "scale", "float", false, 236)] public float scale; - [DNAFieldAttribute(18, "float", "blendin", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 18, "blendin", "float", false, 240)] public float blendin; - [DNAFieldAttribute(19, "float", "blendout", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 19, "blendout", "float", false, 244)] public float blendout; - [DNAFieldAttribute(20, "short", "blendmode", "short", 2, false, 248)] + [DNAFieldAttribute(2, "short", 20, "blendmode", "short", false, 248)] public short blendmode; - [DNAFieldAttribute(21, "short", "extendmode", "short", 2, false, 250)] + [DNAFieldAttribute(2, "short", 21, "extendmode", "short", false, 250)] public short extendmode; - [DNAFieldAttribute(22, "char", "_pad1[2]", "System.Char[]", 2, false, 252)] + [DNAFieldAttribute(2, "char", 22, "_pad1[2]", "System.Char[]", false, 252)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(23, "short", "type", "short", 2, false, 254)] + [DNAFieldAttribute(2, "short", 23, "type", "short", false, 254)] public short type; - [DNAFieldAttribute(24, "void", "*speaker_handle", "void", 8, true, 256)] - public object ptr_speaker_handle; - [DNAFieldAttribute(25, "int", "flag", "int", 4, false, 264)] + [DNAFieldAttribute(8, "void", 24, "*speaker_handle", "void", true, 256)] + public object speaker_handle; + [DNAFieldAttribute(4, "int", 25, "flag", "int", false, 264)] public int flag; - [DNAFieldAttribute(26, "char", "_pad2[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 26, "_pad2[4]", "System.Char[]", false, 268)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(27, "NlaStrip", "*orig_strip", "NlaStrip", 8, true, 272)] - public NlaStrip ptr_orig_strip; - [DNAFieldAttribute(28, "void", "*_pad3", "void", 8, true, 280)] - public object ptr__pad3; + [DNAFieldAttribute(8, "NlaStrip", 27, "*orig_strip", "NlaStrip", true, 272)] + public NlaStrip orig_strip; + [DNAFieldAttribute(8, "void", 28, "*_pad3", "void", true, 280)] + public object _pad3; public NlaStrip() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.strips = default; - this.ptr_act = default; + this.act = default; this.action_slot_handle = default; this.action_slot_name = default; this._pad0 = default; @@ -98,17 +98,17 @@ namespace BlendFile.DNA { this.extendmode = default; this._pad1 = default; this.type = default; - this.ptr_speaker_handle = default; + this.speaker_handle = default; this.flag = default; this._pad2 = default; - this.ptr_orig_strip = default; - this.ptr__pad3 = default; + this.orig_strip = default; + this._pad3 = default; } public NlaStrip( - NlaStrip ptr_next, - NlaStrip ptr_prev, + NlaStrip next, + NlaStrip prev, ListBase strips, - bAction ptr_act, + bAction act, int action_slot_handle, char[] action_slot_name, char[] _pad0, @@ -129,15 +129,15 @@ namespace BlendFile.DNA { short extendmode, char[] _pad1, short type, - object ptr_speaker_handle, + object speaker_handle, int flag, char[] _pad2, - NlaStrip ptr_orig_strip, - object ptr__pad3) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + NlaStrip orig_strip, + object _pad3) { + this.next = next; + this.prev = prev; this.strips = strips; - this.ptr_act = ptr_act; + this.act = act; this.action_slot_handle = action_slot_handle; this.action_slot_name = action_slot_name; this._pad0 = _pad0; @@ -158,11 +158,11 @@ namespace BlendFile.DNA { this.extendmode = extendmode; this._pad1 = _pad1; this.type = type; - this.ptr_speaker_handle = ptr_speaker_handle; + this.speaker_handle = speaker_handle; this.flag = flag; this._pad2 = _pad2; - this.ptr_orig_strip = ptr_orig_strip; - this.ptr__pad3 = ptr__pad3; + this.orig_strip = orig_strip; + this._pad3 = _pad3; } } } diff --git a/BlendFile/DNA/NlaTrack.cs b/BlendFile/DNA/NlaTrack.cs index 79322d6..3cfb59e 100644 --- a/BlendFile/DNA/NlaTrack.cs +++ b/BlendFile/DNA/NlaTrack.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(97, "NlaTrack", 104)] public class NlaTrack { - [DNAFieldAttribute(0, "NlaTrack", "*next", "NlaTrack", 8, true, 0)] - public NlaTrack ptr_next; - [DNAFieldAttribute(1, "NlaTrack", "*prev", "NlaTrack", 8, true, 8)] - public NlaTrack ptr_prev; - [DNAFieldAttribute(2, "ListBase", "strips", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "NlaTrack", 0, "*next", "NlaTrack", true, 0)] + public NlaTrack next; + [DNAFieldAttribute(8, "NlaTrack", 1, "*prev", "NlaTrack", true, 8)] + public NlaTrack prev; + [DNAFieldAttribute(16, "ListBase", 2, "strips", "ListBase", false, 16)] public ListBase strips; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 32)] public int flag; - [DNAFieldAttribute(4, "int", "index", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 4, "index", "int", false, 36)] public int index; - [DNAFieldAttribute(5, "char", "name[64]", "System.Char[]", 64, false, 40)] + [DNAFieldAttribute(64, "char", 5, "name[64]", "System.Char[]", false, 40)] public char[] name = new System.Char[64]; public NlaTrack() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public NlaTrack(NlaTrack next, NlaTrack prev, ListBase strips, int flag, int index, char[] name) { + this.next = next; + this.prev = prev; this.strips = strips; this.flag = flag; this.index = index; diff --git a/BlendFile/DNA/NodeAccumulateField.cs b/BlendFile/DNA/NodeAccumulateField.cs index 0cf4cfd..5b79e89 100644 --- a/BlendFile/DNA/NodeAccumulateField.cs +++ b/BlendFile/DNA/NodeAccumulateField.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(676, "NodeAccumulateField", 2)] - public struct NodeAccumulateField { - [DNAFieldAttribute(0, "uchar", "data_type", "uchar", 1, false, 0)] + public class NodeAccumulateField { + [DNAFieldAttribute(1, "uchar", 0, "data_type", "uchar", false, 0)] public byte data_type; - [DNAFieldAttribute(1, "uchar", "domain", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "domain", "uchar", false, 1)] public byte domain; public NodeAccumulateField() { this.data_type = default; diff --git a/BlendFile/DNA/NodeAntiAliasingData.cs b/BlendFile/DNA/NodeAntiAliasingData.cs index a8f8df5..c1506e6 100644 --- a/BlendFile/DNA/NodeAntiAliasingData.cs +++ b/BlendFile/DNA/NodeAntiAliasingData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(612, "NodeAntiAliasingData", 12)] - public struct NodeAntiAliasingData { - [DNAFieldAttribute(0, "float", "threshold", "float", 4, false, 0)] + public class NodeAntiAliasingData { + [DNAFieldAttribute(4, "float", 0, "threshold", "float", false, 0)] public float threshold; - [DNAFieldAttribute(1, "float", "contrast_limit", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "contrast_limit", "float", false, 4)] public float contrast_limit; - [DNAFieldAttribute(2, "float", "corner_rounding", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "corner_rounding", "float", false, 8)] public float corner_rounding; public NodeAntiAliasingData() { this.threshold = default; diff --git a/BlendFile/DNA/NodeBilateralBlurData.cs b/BlendFile/DNA/NodeBilateralBlurData.cs index 64bd255..6c4d016 100644 --- a/BlendFile/DNA/NodeBilateralBlurData.cs +++ b/BlendFile/DNA/NodeBilateralBlurData.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(610, "NodeBilateralBlurData", 12)] - public struct NodeBilateralBlurData { - [DNAFieldAttribute(0, "float", "sigma_color", "float", 4, false, 0)] + public class NodeBilateralBlurData { + [DNAFieldAttribute(4, "float", 0, "sigma_color", "float", false, 0)] public float sigma_color; - [DNAFieldAttribute(1, "float", "sigma_space", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "sigma_space", "float", false, 4)] public float sigma_space; - [DNAFieldAttribute(2, "short", "iter", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "iter", "short", false, 8)] public short iter; - [DNAFieldAttribute(3, "char", "_pad[2]", "System.Char[]", 2, false, 10)] + [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[2]; public NodeBilateralBlurData() { this.sigma_color = default; diff --git a/BlendFile/DNA/NodeBlurData.cs b/BlendFile/DNA/NodeBlurData.cs index a4ec8da..e6b3313 100644 --- a/BlendFile/DNA/NodeBlurData.cs +++ b/BlendFile/DNA/NodeBlurData.cs @@ -14,38 +14,38 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(608, "NodeBlurData", 40)] - public struct NodeBlurData { - [DNAFieldAttribute(0, "short", "sizex", "short", 2, false, 0)] + public class NodeBlurData { + [DNAFieldAttribute(2, "short", 0, "sizex", "short", false, 0)] public short sizex; - [DNAFieldAttribute(1, "short", "sizey", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "sizey", "short", false, 2)] public short sizey; - [DNAFieldAttribute(2, "short", "samples", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "samples", "short", false, 4)] public short samples; - [DNAFieldAttribute(3, "short", "maxspeed", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "maxspeed", "short", false, 6)] public short maxspeed; - [DNAFieldAttribute(4, "short", "minspeed", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 4, "minspeed", "short", false, 8)] public short minspeed; - [DNAFieldAttribute(5, "short", "relative", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 5, "relative", "short", false, 10)] public short relative; - [DNAFieldAttribute(6, "short", "aspect", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 6, "aspect", "short", false, 12)] public short aspect; - [DNAFieldAttribute(7, "short", "curved", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 7, "curved", "short", false, 14)] public short curved; - [DNAFieldAttribute(8, "float", "fac", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 8, "fac", "float", false, 16)] public float fac; - [DNAFieldAttribute(9, "float", "percentx", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 9, "percentx", "float", false, 20)] public float percentx; - [DNAFieldAttribute(10, "float", "percenty", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 10, "percenty", "float", false, 24)] public float percenty; - [DNAFieldAttribute(11, "short", "filtertype", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 11, "filtertype", "short", false, 28)] public short filtertype; - [DNAFieldAttribute(12, "char", "bokeh", "char", 1, false, 30)] + [DNAFieldAttribute(1, "char", 12, "bokeh", "char", false, 30)] public char bokeh; - [DNAFieldAttribute(13, "char", "gamma", "char", 1, false, 31)] + [DNAFieldAttribute(1, "char", 13, "gamma", "char", false, 31)] public char gamma; - [DNAFieldAttribute(14, "int", "image_in_width", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 14, "image_in_width", "int", false, 32)] public int image_in_width; - [DNAFieldAttribute(15, "int", "image_in_height", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 15, "image_in_height", "int", false, 36)] public int image_in_height; public NodeBlurData() { this.sizex = default; diff --git a/BlendFile/DNA/NodeBokehImage.cs b/BlendFile/DNA/NodeBokehImage.cs index fb2f503..c1f0466 100644 --- a/BlendFile/DNA/NodeBokehImage.cs +++ b/BlendFile/DNA/NodeBokehImage.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(604, "NodeBokehImage", 20)] - public struct NodeBokehImage { - [DNAFieldAttribute(0, "float", "angle", "float", 4, false, 0)] + public class NodeBokehImage { + [DNAFieldAttribute(4, "float", 0, "angle", "float", false, 0)] public float angle; - [DNAFieldAttribute(1, "int", "flaps", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "flaps", "int", false, 4)] public int flaps; - [DNAFieldAttribute(2, "float", "rounding", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "rounding", "float", false, 8)] public float rounding; - [DNAFieldAttribute(3, "float", "catadioptric", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "catadioptric", "float", false, 12)] public float catadioptric; - [DNAFieldAttribute(4, "float", "lensshift", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "lensshift", "float", false, 16)] public float lensshift; public NodeBokehImage() { this.angle = default; diff --git a/BlendFile/DNA/NodeBoxMask.cs b/BlendFile/DNA/NodeBoxMask.cs index daf0f87..23ea8a1 100644 --- a/BlendFile/DNA/NodeBoxMask.cs +++ b/BlendFile/DNA/NodeBoxMask.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(605, "NodeBoxMask", 24)] - public struct NodeBoxMask { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class NodeBoxMask { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "rotation", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "rotation", "float", false, 8)] public float rotation; - [DNAFieldAttribute(3, "float", "height", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "height", "float", false, 12)] public float height; - [DNAFieldAttribute(4, "float", "width", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "width", "float", false, 16)] public float width; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeBoxMask() { this.x = default; diff --git a/BlendFile/DNA/NodeCMPCombSepColor.cs b/BlendFile/DNA/NodeCMPCombSepColor.cs index 4edbe6e..ba6f7d3 100644 --- a/BlendFile/DNA/NodeCMPCombSepColor.cs +++ b/BlendFile/DNA/NodeCMPCombSepColor.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(622, "NodeCMPCombSepColor", 2)] - public struct NodeCMPCombSepColor { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeCMPCombSepColor { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; - [DNAFieldAttribute(1, "uchar", "ycc_mode", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "ycc_mode", "uchar", false, 1)] public byte ycc_mode; public NodeCMPCombSepColor() { this.mode = default; diff --git a/BlendFile/DNA/NodeChroma.cs b/BlendFile/DNA/NodeChroma.cs index 951aef2..f991487 100644 --- a/BlendFile/DNA/NodeChroma.cs +++ b/BlendFile/DNA/NodeChroma.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(618, "NodeChroma", 44)] - public struct NodeChroma { - [DNAFieldAttribute(0, "float", "t1", "float", 4, false, 0)] + public class NodeChroma { + [DNAFieldAttribute(4, "float", 0, "t1", "float", false, 0)] public float t1; - [DNAFieldAttribute(1, "float", "t2", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "t2", "float", false, 4)] public float t2; - [DNAFieldAttribute(2, "float", "t3", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "t3", "float", false, 8)] public float t3; - [DNAFieldAttribute(3, "float", "fsize", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "fsize", "float", false, 12)] public float fsize; - [DNAFieldAttribute(4, "float", "fstrength", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "fstrength", "float", false, 16)] public float fstrength; - [DNAFieldAttribute(5, "float", "falpha", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "falpha", "float", false, 20)] public float falpha; - [DNAFieldAttribute(6, "float", "key[4]", "System.Single[]", 16, false, 24)] + [DNAFieldAttribute(16, "float", 6, "key[4]", "System.Single[]", false, 24)] public float[] key = new System.Single[4]; - [DNAFieldAttribute(7, "short", "algorithm", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 7, "algorithm", "short", false, 40)] public short algorithm; - [DNAFieldAttribute(8, "short", "channel", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 8, "channel", "short", false, 42)] public short channel; public NodeChroma() { this.t1 = default; diff --git a/BlendFile/DNA/NodeColorBalance.cs b/BlendFile/DNA/NodeColorBalance.cs index af7c929..1154a6e 100644 --- a/BlendFile/DNA/NodeColorBalance.cs +++ b/BlendFile/DNA/NodeColorBalance.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(628, "NodeColorBalance", 96)] - public struct NodeColorBalance { - [DNAFieldAttribute(0, "float", "slope[3]", "System.Single[]", 12, false, 0)] + public class NodeColorBalance { + [DNAFieldAttribute(12, "float", 0, "slope[3]", "System.Single[]", false, 0)] public float[] slope = new System.Single[3]; - [DNAFieldAttribute(1, "float", "offset[3]", "System.Single[]", 12, false, 12)] + [DNAFieldAttribute(12, "float", 1, "offset[3]", "System.Single[]", false, 12)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(2, "float", "power[3]", "System.Single[]", 12, false, 24)] + [DNAFieldAttribute(12, "float", 2, "power[3]", "System.Single[]", false, 24)] public float[] power = new System.Single[3]; - [DNAFieldAttribute(3, "float", "offset_basis", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 3, "offset_basis", "float", false, 36)] public float offset_basis; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 40)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 40)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "float", "lift[3]", "System.Single[]", 12, false, 44)] + [DNAFieldAttribute(12, "float", 5, "lift[3]", "System.Single[]", false, 44)] public float[] lift = new System.Single[3]; - [DNAFieldAttribute(6, "float", "gamma[3]", "System.Single[]", 12, false, 56)] + [DNAFieldAttribute(12, "float", 6, "gamma[3]", "System.Single[]", false, 56)] public float[] gamma = new System.Single[3]; - [DNAFieldAttribute(7, "float", "gain[3]", "System.Single[]", 12, false, 68)] + [DNAFieldAttribute(12, "float", 7, "gain[3]", "System.Single[]", false, 68)] public float[] gain = new System.Single[3]; - [DNAFieldAttribute(8, "float", "input_temperature", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 8, "input_temperature", "float", false, 80)] public float input_temperature; - [DNAFieldAttribute(9, "float", "input_tint", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 9, "input_tint", "float", false, 84)] public float input_tint; - [DNAFieldAttribute(10, "float", "output_temperature", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 10, "output_temperature", "float", false, 88)] public float output_temperature; - [DNAFieldAttribute(11, "float", "output_tint", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 11, "output_tint", "float", false, 92)] public float output_tint; public NodeColorBalance() { this.slope = default; diff --git a/BlendFile/DNA/NodeColorCorrection.cs b/BlendFile/DNA/NodeColorCorrection.cs index a0eb953..088d047 100644 --- a/BlendFile/DNA/NodeColorCorrection.cs +++ b/BlendFile/DNA/NodeColorCorrection.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(603, "NodeColorCorrection", 104)] - public struct NodeColorCorrection { - [DNAFieldAttribute(0, "ColorCorrectionData", "master", "ColorCorrectionData", 24, false, 0)] + public class NodeColorCorrection { + [DNAFieldAttribute(24, "ColorCorrectionData", 0, "master", "ColorCorrectionData", false, 0)] public ColorCorrectionData master; - [DNAFieldAttribute(1, "ColorCorrectionData", "shadows", "ColorCorrectionData", 24, false, 24)] + [DNAFieldAttribute(24, "ColorCorrectionData", 1, "shadows", "ColorCorrectionData", false, 24)] public ColorCorrectionData shadows; - [DNAFieldAttribute(2, "ColorCorrectionData", "midtones", "ColorCorrectionData", 24, false, 48)] + [DNAFieldAttribute(24, "ColorCorrectionData", 2, "midtones", "ColorCorrectionData", false, 48)] public ColorCorrectionData midtones; - [DNAFieldAttribute(3, "ColorCorrectionData", "highlights", "ColorCorrectionData", 24, false, 72)] + [DNAFieldAttribute(24, "ColorCorrectionData", 3, "highlights", "ColorCorrectionData", false, 72)] public ColorCorrectionData highlights; - [DNAFieldAttribute(4, "float", "startmidtones", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 4, "startmidtones", "float", false, 96)] public float startmidtones; - [DNAFieldAttribute(5, "float", "endmidtones", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 5, "endmidtones", "float", false, 100)] public float endmidtones; public NodeColorCorrection() { this.master = default; diff --git a/BlendFile/DNA/NodeColorspill.cs b/BlendFile/DNA/NodeColorspill.cs index c04e3ba..21fe441 100644 --- a/BlendFile/DNA/NodeColorspill.cs +++ b/BlendFile/DNA/NodeColorspill.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(629, "NodeColorspill", 20)] - public struct NodeColorspill { - [DNAFieldAttribute(0, "short", "limchan", "short", 2, false, 0)] + public class NodeColorspill { + [DNAFieldAttribute(2, "short", 0, "limchan", "short", false, 0)] public short limchan; - [DNAFieldAttribute(1, "short", "unspill", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "unspill", "short", false, 2)] public short unspill; - [DNAFieldAttribute(2, "float", "limscale", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "limscale", "float", false, 4)] public float limscale; - [DNAFieldAttribute(3, "float", "uspillr", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 3, "uspillr", "float", false, 8)] public float uspillr; - [DNAFieldAttribute(4, "float", "uspillg", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 4, "uspillg", "float", false, 12)] public float uspillg; - [DNAFieldAttribute(5, "float", "uspillb", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 5, "uspillb", "float", false, 16)] public float uspillb; public NodeColorspill() { this.limchan = default; diff --git a/BlendFile/DNA/NodeCombSepColor.cs b/BlendFile/DNA/NodeCombSepColor.cs index 38c9a65..90eef58 100644 --- a/BlendFile/DNA/NodeCombSepColor.cs +++ b/BlendFile/DNA/NodeCombSepColor.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(749, "NodeCombSepColor", 1)] - public struct NodeCombSepColor { - [DNAFieldAttribute(0, "int8_t", "mode", "int8_t", 1, false, 0)] + public class NodeCombSepColor { + [DNAFieldAttribute(1, "int8_t", 0, "mode", "int8_t", false, 0)] public sbyte mode; public NodeCombSepColor() { this.mode = default; diff --git a/BlendFile/DNA/NodeConvertColorSpace.cs b/BlendFile/DNA/NodeConvertColorSpace.cs index 1abcef4..d8f744b 100644 --- a/BlendFile/DNA/NodeConvertColorSpace.cs +++ b/BlendFile/DNA/NodeConvertColorSpace.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(630, "NodeConvertColorSpace", 128)] - public struct NodeConvertColorSpace { - [DNAFieldAttribute(0, "char", "from_color_space[64]", "System.Char[]", 64, false, 0)] + public class NodeConvertColorSpace { + [DNAFieldAttribute(64, "char", 0, "from_color_space[64]", "System.Char[]", false, 0)] public char[] from_color_space = new System.Char[64]; - [DNAFieldAttribute(1, "char", "to_color_space[64]", "System.Char[]", 64, false, 64)] + [DNAFieldAttribute(64, "char", 1, "to_color_space[64]", "System.Char[]", false, 64)] public char[] to_color_space = new System.Char[64]; public NodeConvertColorSpace() { this.from_color_space = default; diff --git a/BlendFile/DNA/NodeCryptomatte.cs b/BlendFile/DNA/NodeCryptomatte.cs index 4d32e44..316d4a4 100644 --- a/BlendFile/DNA/NodeCryptomatte.cs +++ b/BlendFile/DNA/NodeCryptomatte.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(672, "NodeCryptomatte", 176)] public class NodeCryptomatte { - [DNAFieldAttribute(0, "ImageUser", "iuser", "ImageUser", 40, false, 0)] + [DNAFieldAttribute(40, "ImageUser", 0, "iuser", "ImageUser", false, 0)] public ImageUser iuser; - [DNAFieldAttribute(1, "ListBase", "entries", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 1, "entries", "ListBase", false, 40)] public ListBase entries; - [DNAFieldAttribute(2, "char", "layer_name[64]", "System.Char[]", 64, false, 56)] + [DNAFieldAttribute(64, "char", 2, "layer_name[64]", "System.Char[]", false, 56)] public char[] layer_name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "*matte_id", "char", 8, true, 120)] - public char ptr_matte_id; - [DNAFieldAttribute(4, "int", "num_inputs", "int", 4, false, 128)] + [DNAFieldAttribute(8, "char", 3, "*matte_id", "char", true, 120)] + public char matte_id; + [DNAFieldAttribute(4, "int", 4, "num_inputs", "int", false, 128)] public int num_inputs; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 132)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 132)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(6, "NodeCryptomatte_Runtime", "runtime", "NodeCryptomatte_Runtime", 40, false, 136)] + [DNAFieldAttribute(40, "NodeCryptomatte_Runtime", 6, "runtime", "NodeCryptomatte_Runtime", false, 136)] public NodeCryptomatte_Runtime runtime; public NodeCryptomatte() { this.iuser = default; this.entries = default; this.layer_name = default; - this.ptr_matte_id = default; + this.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) { + public NodeCryptomatte(ImageUser iuser, ListBase entries, char[] layer_name, char matte_id, int num_inputs, char[] _pad, NodeCryptomatte_Runtime runtime) { this.iuser = iuser; this.entries = entries; this.layer_name = layer_name; - this.ptr_matte_id = ptr_matte_id; + this.matte_id = matte_id; this.num_inputs = num_inputs; this._pad = _pad; this.runtime = runtime; diff --git a/BlendFile/DNA/NodeCryptomatte_Runtime.cs b/BlendFile/DNA/NodeCryptomatte_Runtime.cs index 18fbb82..076b938 100644 --- a/BlendFile/DNA/NodeCryptomatte_Runtime.cs +++ b/BlendFile/DNA/NodeCryptomatte_Runtime.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(671, "NodeCryptomatte_Runtime", 40)] - public struct NodeCryptomatte_Runtime { - [DNAFieldAttribute(0, "ListBase", "layers", "ListBase", 16, false, 0)] + public class NodeCryptomatte_Runtime { + [DNAFieldAttribute(16, "ListBase", 0, "layers", "ListBase", false, 0)] public ListBase layers; - [DNAFieldAttribute(1, "float", "add[3]", "System.Single[]", 12, false, 16)] + [DNAFieldAttribute(12, "float", 1, "add[3]", "System.Single[]", false, 16)] public float[] add = new System.Single[3]; - [DNAFieldAttribute(2, "float", "remove[3]", "System.Single[]", 12, false, 28)] + [DNAFieldAttribute(12, "float", 2, "remove[3]", "System.Single[]", false, 28)] public float[] remove = new System.Single[3]; public NodeCryptomatte_Runtime() { this.layers = default; diff --git a/BlendFile/DNA/NodeDBlurData.cs b/BlendFile/DNA/NodeDBlurData.cs index 9b65e28..d1fbb8e 100644 --- a/BlendFile/DNA/NodeDBlurData.cs +++ b/BlendFile/DNA/NodeDBlurData.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(609, "NodeDBlurData", 28)] - public struct NodeDBlurData { - [DNAFieldAttribute(0, "float", "center_x", "float", 4, false, 0)] + public class NodeDBlurData { + [DNAFieldAttribute(4, "float", 0, "center_x", "float", false, 0)] public float center_x; - [DNAFieldAttribute(1, "float", "center_y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "center_y", "float", false, 4)] public float center_y; - [DNAFieldAttribute(2, "float", "distance", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "distance", "float", false, 8)] public float distance; - [DNAFieldAttribute(3, "float", "angle", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "angle", "float", false, 12)] public float angle; - [DNAFieldAttribute(4, "float", "spin", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "spin", "float", false, 16)] public float spin; - [DNAFieldAttribute(5, "float", "zoom", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "zoom", "float", false, 20)] public float zoom; - [DNAFieldAttribute(6, "short", "iter", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "iter", "short", false, 24)] public short iter; - [DNAFieldAttribute(7, "char", "_pad[2]", "System.Char[]", 2, false, 26)] + [DNAFieldAttribute(2, "char", 7, "_pad[2]", "System.Char[]", false, 26)] public char[] _pad = new System.Char[2]; public NodeDBlurData() { this.center_x = default; diff --git a/BlendFile/DNA/NodeDefocus.cs b/BlendFile/DNA/NodeDefocus.cs index 8129506..2ea6862 100644 --- a/BlendFile/DNA/NodeDefocus.cs +++ b/BlendFile/DNA/NodeDefocus.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(623, "NodeDefocus", 32)] - public struct NodeDefocus { - [DNAFieldAttribute(0, "char", "bktype", "char", 1, false, 0)] + public class NodeDefocus { + [DNAFieldAttribute(1, "char", 0, "bktype", "char", false, 0)] public char bktype; - [DNAFieldAttribute(1, "char", "_pad0", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "_pad0", "char", false, 1)] public char _pad0; - [DNAFieldAttribute(2, "char", "preview", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "preview", "char", false, 2)] public char preview; - [DNAFieldAttribute(3, "char", "gamco", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "gamco", "char", false, 3)] public char gamco; - [DNAFieldAttribute(4, "short", "samples", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 4, "samples", "short", false, 4)] public short samples; - [DNAFieldAttribute(5, "short", "no_zbuf", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 5, "no_zbuf", "short", false, 6)] public short no_zbuf; - [DNAFieldAttribute(6, "float", "fstop", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 6, "fstop", "float", false, 8)] public float fstop; - [DNAFieldAttribute(7, "float", "maxblur", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 7, "maxblur", "float", false, 12)] public float maxblur; - [DNAFieldAttribute(8, "float", "bthresh", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 8, "bthresh", "float", false, 16)] public float bthresh; - [DNAFieldAttribute(9, "float", "scale", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 9, "scale", "float", false, 20)] public float scale; - [DNAFieldAttribute(10, "float", "rotation", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 10, "rotation", "float", false, 24)] public float rotation; - [DNAFieldAttribute(11, "char", "_pad1[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", false, 28)] public char[] _pad1 = new System.Char[4]; public NodeDefocus() { this.bktype = default; diff --git a/BlendFile/DNA/NodeDenoise.cs b/BlendFile/DNA/NodeDenoise.cs index cf0e3d0..1a4e483 100644 --- a/BlendFile/DNA/NodeDenoise.cs +++ b/BlendFile/DNA/NodeDenoise.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(673, "NodeDenoise", 2)] - public struct NodeDenoise { - [DNAFieldAttribute(0, "char", "hdr", "char", 1, false, 0)] + public class NodeDenoise { + [DNAFieldAttribute(1, "char", 0, "hdr", "char", false, 0)] public char hdr; - [DNAFieldAttribute(1, "char", "prefilter", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "prefilter", "char", false, 1)] public char prefilter; public NodeDenoise() { this.hdr = default; diff --git a/BlendFile/DNA/NodeDilateErode.cs b/BlendFile/DNA/NodeDilateErode.cs index 7f78256..85bdf01 100644 --- a/BlendFile/DNA/NodeDilateErode.cs +++ b/BlendFile/DNA/NodeDilateErode.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(631, "NodeDilateErode", 1)] - public struct NodeDilateErode { - [DNAFieldAttribute(0, "char", "falloff", "char", 1, false, 0)] + public class NodeDilateErode { + [DNAFieldAttribute(1, "char", 0, "falloff", "char", false, 0)] public char falloff; public NodeDilateErode() { this.falloff = default; diff --git a/BlendFile/DNA/NodeEllipseMask.cs b/BlendFile/DNA/NodeEllipseMask.cs index 4852bfa..b4a8d21 100644 --- a/BlendFile/DNA/NodeEllipseMask.cs +++ b/BlendFile/DNA/NodeEllipseMask.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(606, "NodeEllipseMask", 24)] - public struct NodeEllipseMask { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class NodeEllipseMask { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "rotation", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "rotation", "float", false, 8)] public float rotation; - [DNAFieldAttribute(3, "float", "height", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "height", "float", false, 12)] public float height; - [DNAFieldAttribute(4, "float", "width", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "width", "float", false, 16)] public float width; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeEllipseMask() { this.x = default; diff --git a/BlendFile/DNA/NodeEnumDefinition.cs b/BlendFile/DNA/NodeEnumDefinition.cs index 374b0d6..a8b34f5 100644 --- a/BlendFile/DNA/NodeEnumDefinition.cs +++ b/BlendFile/DNA/NodeEnumDefinition.cs @@ -13,27 +13,23 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(698, "NodeEnumDefinition", 24)] + [DNAClassAttribute(698, "NodeEnumDefinition", 16)] public class NodeEnumDefinition { - [DNAFieldAttribute(0, "NodeEnumItem", "*items_array", "NodeEnumItem", 8, true, 0)] - public NodeEnumItem ptr_items_array; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 0)] public int items_num; - [DNAFieldAttribute(2, "int", "active_index", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "active_index", "int", false, 4)] public int active_index; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 8)] public int next_identifier; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 12)] 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; + public NodeEnumDefinition(int items_num, int active_index, int next_identifier, char[] _pad) { this.items_num = items_num; this.active_index = active_index; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeEnumItem.cs b/BlendFile/DNA/NodeEnumItem.cs index 052a24a..6419680 100644 --- a/BlendFile/DNA/NodeEnumItem.cs +++ b/BlendFile/DNA/NodeEnumItem.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(697, "NodeEnumItem", 24)] public class NodeEnumItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "char", "*description", "char", 8, true, 8)] - public char ptr_description; - [DNAFieldAttribute(2, "int", "identifier", "int", 4, false, 16)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(8, "char", 1, "*description", "char", true, 8)] + public char description; + [DNAFieldAttribute(4, "int", 2, "identifier", "int", false, 16)] public int identifier; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeEnumItem() { - this.ptr_name = default; - this.ptr_description = default; + this.name = default; + this.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; + public NodeEnumItem(char name, char description, int identifier, char[] _pad) { + this.name = name; + this.description = description; this.identifier = identifier; this._pad = _pad; } diff --git a/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs b/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs index ae32714..5b961cb 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(740, "NodeForeachGeometryElementGenerationItem", 16)] public class NodeForeachGeometryElementGenerationItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "short", "socket_type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "uchar", "domain", "uchar", 1, false, 10)] + [DNAFieldAttribute(1, "uchar", 2, "domain", "uchar", false, 10)] public byte domain; - [DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false, 11)] + [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 11)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(4, "int", "identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 4, "identifier", "int", false, 12)] public int identifier; public NodeForeachGeometryElementGenerationItem() { - this.ptr_name = default; + this.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; + public NodeForeachGeometryElementGenerationItem(char name, short socket_type, byte domain, char[] _pad, int identifier) { + this.name = name; this.socket_type = socket_type; this.domain = domain; this._pad = _pad; diff --git a/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs b/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs index 70d1154..d826c6d 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(743, "NodeForeachGeometryElementGenerationItems", 24)] public class NodeForeachGeometryElementGenerationItems { - [DNAFieldAttribute(0, "NodeForeachGeometryElementGenerationItem", "*items", "NodeForeachGeometryElementGenerationItem", 8, true, 0)] - public NodeForeachGeometryElementGenerationItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "NodeForeachGeometryElementGenerationItem", 0, "*items", "NodeForeachGeometryElementGenerationItem", true, 0)] + public NodeForeachGeometryElementGenerationItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "active_index", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "active_index", "int", false, 12)] public int active_index; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeForeachGeometryElementGenerationItems() { - this.ptr_items = default; + this.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; + public NodeForeachGeometryElementGenerationItems(NodeForeachGeometryElementGenerationItem items, int items_num, int active_index, int next_identifier, char[] _pad) { + this.items = items; this.items_num = items_num; this.active_index = active_index; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs b/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs index fa69381..8e7d66f 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(738, "NodeForeachGeometryElementInputItem", 16)] public class NodeForeachGeometryElementInputItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "short", "socket_type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 10)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "int", "identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; public NodeForeachGeometryElementInputItem() { - this.ptr_name = default; + this.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; + public NodeForeachGeometryElementInputItem(char name, short socket_type, char[] _pad, int identifier) { + this.name = name; this.socket_type = socket_type; this._pad = _pad; this.identifier = identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs b/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs index fce7d84..cd00659 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(741, "NodeForeachGeometryElementInputItems", 24)] public class NodeForeachGeometryElementInputItems { - [DNAFieldAttribute(0, "NodeForeachGeometryElementInputItem", "*items", "NodeForeachGeometryElementInputItem", 8, true, 0)] - public NodeForeachGeometryElementInputItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "NodeForeachGeometryElementInputItem", 0, "*items", "NodeForeachGeometryElementInputItem", true, 0)] + public NodeForeachGeometryElementInputItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "active_index", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "active_index", "int", false, 12)] public int active_index; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeForeachGeometryElementInputItems() { - this.ptr_items = default; + this.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; + public NodeForeachGeometryElementInputItems(NodeForeachGeometryElementInputItem items, int items_num, int active_index, int next_identifier, char[] _pad) { + this.items = items; this.items_num = items_num; this.active_index = active_index; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs b/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs index 52e7082..26886ed 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(739, "NodeForeachGeometryElementMainItem", 16)] public class NodeForeachGeometryElementMainItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "short", "socket_type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 10)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "int", "identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; public NodeForeachGeometryElementMainItem() { - this.ptr_name = default; + this.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; + public NodeForeachGeometryElementMainItem(char name, short socket_type, char[] _pad, int identifier) { + this.name = name; this.socket_type = socket_type; this._pad = _pad; this.identifier = identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs b/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs index ec26884..9799cb8 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(742, "NodeForeachGeometryElementMainItems", 24)] public class NodeForeachGeometryElementMainItems { - [DNAFieldAttribute(0, "NodeForeachGeometryElementMainItem", "*items", "NodeForeachGeometryElementMainItem", 8, true, 0)] - public NodeForeachGeometryElementMainItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "NodeForeachGeometryElementMainItem", 0, "*items", "NodeForeachGeometryElementMainItem", true, 0)] + public NodeForeachGeometryElementMainItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "active_index", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "active_index", "int", false, 12)] public int active_index; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeForeachGeometryElementMainItems() { - this.ptr_items = default; + this.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; + public NodeForeachGeometryElementMainItems(NodeForeachGeometryElementMainItem items, int items_num, int active_index, int next_identifier, char[] _pad) { + this.items = items; this.items_num = items_num; this.active_index = active_index; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeFrame.cs b/BlendFile/DNA/NodeFrame.cs index 57e4f03..2ec9a9b 100644 --- a/BlendFile/DNA/NodeFrame.cs +++ b/BlendFile/DNA/NodeFrame.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(599, "NodeFrame", 4)] - public struct NodeFrame { - [DNAFieldAttribute(0, "short", "flag", "short", 2, false, 0)] + public class NodeFrame { + [DNAFieldAttribute(2, "short", 0, "flag", "short", false, 0)] public short flag; - [DNAFieldAttribute(1, "short", "label_size", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "label_size", "short", false, 2)] public short label_size; public NodeFrame() { this.flag = default; diff --git a/BlendFile/DNA/NodeFunctionCompare.cs b/BlendFile/DNA/NodeFunctionCompare.cs index c7df4b8..2be7576 100644 --- a/BlendFile/DNA/NodeFunctionCompare.cs +++ b/BlendFile/DNA/NodeFunctionCompare.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(748, "NodeFunctionCompare", 4)] - public struct NodeFunctionCompare { - [DNAFieldAttribute(0, "int8_t", "operation", "int8_t", 1, false, 0)] + public class NodeFunctionCompare { + [DNAFieldAttribute(1, "int8_t", 0, "operation", "int8_t", false, 0)] public sbyte operation; - [DNAFieldAttribute(1, "int8_t", "data_type", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "data_type", "int8_t", false, 1)] public sbyte data_type; - [DNAFieldAttribute(2, "int8_t", "mode", "int8_t", 1, false, 2)] + [DNAFieldAttribute(1, "int8_t", 2, "mode", "int8_t", false, 2)] public sbyte mode; - [DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] public char[] _pad = new System.Char[1]; public NodeFunctionCompare() { this.operation = default; diff --git a/BlendFile/DNA/NodeGeometryAttributeCapture.cs b/BlendFile/DNA/NodeGeometryAttributeCapture.cs index cde6be9..b580812 100644 --- a/BlendFile/DNA/NodeGeometryAttributeCapture.cs +++ b/BlendFile/DNA/NodeGeometryAttributeCapture.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(720, "NodeGeometryAttributeCapture", 24)] public class NodeGeometryAttributeCapture { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "int8_t", "domain", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "domain", "int8_t", false, 1)] public sbyte domain; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 2)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 2)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 4)] public int next_identifier; - [DNAFieldAttribute(4, "NodeGeometryAttributeCaptureItem", "*capture_items", "NodeGeometryAttributeCaptureItem", 8, true, 8)] - public NodeGeometryAttributeCaptureItem ptr_capture_items; - [DNAFieldAttribute(5, "int", "capture_items_num", "int", 4, false, 16)] + [DNAFieldAttribute(8, "NodeGeometryAttributeCaptureItem", 4, "*capture_items", "NodeGeometryAttributeCaptureItem", true, 8)] + public NodeGeometryAttributeCaptureItem capture_items; + [DNAFieldAttribute(4, "int", 5, "capture_items_num", "int", false, 16)] public int capture_items_num; - [DNAFieldAttribute(6, "int", "active_index", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 6, "active_index", "int", false, 20)] 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 = 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) { + public NodeGeometryAttributeCapture(sbyte data_type, sbyte domain, char[] _pad, int next_identifier, NodeGeometryAttributeCaptureItem capture_items, int capture_items_num, int active_index) { this.data_type = data_type; this.domain = domain; this._pad = _pad; this.next_identifier = next_identifier; - this.ptr_capture_items = ptr_capture_items; + this.capture_items = capture_items; this.capture_items_num = capture_items_num; this.active_index = active_index; } diff --git a/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs b/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs index d75a678..c23ddb1 100644 --- a/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs +++ b/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(719, "NodeGeometryAttributeCaptureItem", 16)] public class NodeGeometryAttributeCaptureItem { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "char", "_pad[3]", "System.Char[]", 3, false, 1)] + [DNAFieldAttribute(3, "char", 1, "_pad[3]", "System.Char[]", false, 1)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(2, "int", "identifier", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "identifier", "int", false, 4)] public int identifier; - [DNAFieldAttribute(3, "char", "*name", "char", 8, true, 8)] - public char ptr_name; + [DNAFieldAttribute(8, "char", 3, "*name", "char", true, 8)] + public char name; public NodeGeometryAttributeCaptureItem() { this.data_type = default; this._pad = default; this.identifier = default; - this.ptr_name = default; + this.name = default; } - public NodeGeometryAttributeCaptureItem(sbyte data_type, char[] _pad, int identifier, char ptr_name) { + public NodeGeometryAttributeCaptureItem(sbyte data_type, char[] _pad, int identifier, char name) { this.data_type = data_type; this._pad = _pad; this.identifier = identifier; - this.ptr_name = ptr_name; + this.name = name; } } } diff --git a/BlendFile/DNA/NodeGeometryBake.cs b/BlendFile/DNA/NodeGeometryBake.cs index cd17b39..544f094 100644 --- a/BlendFile/DNA/NodeGeometryBake.cs +++ b/BlendFile/DNA/NodeGeometryBake.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(755, "NodeGeometryBake", 24)] public class NodeGeometryBake { - [DNAFieldAttribute(0, "NodeGeometryBakeItem", "*items", "NodeGeometryBakeItem", 8, true, 0)] - public NodeGeometryBakeItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "NodeGeometryBakeItem", 0, "*items", "NodeGeometryBakeItem", true, 0)] + public NodeGeometryBakeItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "next_identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "next_identifier", "int", false, 12)] public int next_identifier; - [DNAFieldAttribute(3, "int", "active_index", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "active_index", "int", false, 16)] public int active_index; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeGeometryBake() { - this.ptr_items = default; + this.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; + public NodeGeometryBake(NodeGeometryBakeItem items, int items_num, int next_identifier, int active_index, char[] _pad) { + this.items = items; this.items_num = items_num; this.next_identifier = next_identifier; this.active_index = active_index; diff --git a/BlendFile/DNA/NodeGeometryBakeItem.cs b/BlendFile/DNA/NodeGeometryBakeItem.cs index f5485ba..9141f58 100644 --- a/BlendFile/DNA/NodeGeometryBakeItem.cs +++ b/BlendFile/DNA/NodeGeometryBakeItem.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(754, "NodeGeometryBakeItem", 24)] public class NodeGeometryBakeItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "short", "socket_type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "short", "attribute_domain", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 2, "attribute_domain", "short", false, 10)] public short attribute_domain; - [DNAFieldAttribute(3, "int", "identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeGeometryBakeItem() { - this.ptr_name = default; + this.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; + public NodeGeometryBakeItem(char name, short socket_type, short attribute_domain, int identifier, int flag, char[] _pad) { + this.name = name; this.socket_type = socket_type; this.attribute_domain = attribute_domain; this.identifier = identifier; diff --git a/BlendFile/DNA/NodeGeometryCollectionInfo.cs b/BlendFile/DNA/NodeGeometryCollectionInfo.cs index a36ad0d..2c46e84 100644 --- a/BlendFile/DNA/NodeGeometryCollectionInfo.cs +++ b/BlendFile/DNA/NodeGeometryCollectionInfo.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(686, "NodeGeometryCollectionInfo", 1)] - public struct NodeGeometryCollectionInfo { - [DNAFieldAttribute(0, "uchar", "transform_space", "uchar", 1, false, 0)] + public class NodeGeometryCollectionInfo { + [DNAFieldAttribute(1, "uchar", 0, "transform_space", "uchar", false, 0)] public byte transform_space; public NodeGeometryCollectionInfo() { this.transform_space = default; diff --git a/BlendFile/DNA/NodeGeometryCurveFill.cs b/BlendFile/DNA/NodeGeometryCurveFill.cs index b74bc04..f6b58a6 100644 --- a/BlendFile/DNA/NodeGeometryCurveFill.cs +++ b/BlendFile/DNA/NodeGeometryCurveFill.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(717, "NodeGeometryCurveFill", 1)] - public struct NodeGeometryCurveFill { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurveFill { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurveFill() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurveFillet.cs b/BlendFile/DNA/NodeGeometryCurveFillet.cs index b802d29..22c421d 100644 --- a/BlendFile/DNA/NodeGeometryCurveFillet.cs +++ b/BlendFile/DNA/NodeGeometryCurveFillet.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(710, "NodeGeometryCurveFillet", 1)] - public struct NodeGeometryCurveFillet { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurveFillet { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurveFillet() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs index 1450092..5729608 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveArc.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(704, "NodeGeometryCurvePrimitiveArc", 1)] - public struct NodeGeometryCurvePrimitiveArc { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurvePrimitiveArc { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurvePrimitiveArc() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs index 5b05d3b..5ab09c7 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveBezierSegment.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(706, "NodeGeometryCurvePrimitiveBezierSegment", 1)] - public struct NodeGeometryCurvePrimitiveBezierSegment { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurvePrimitiveBezierSegment { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurvePrimitiveBezierSegment() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs index 5099dca..10327d3 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveCircle.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(707, "NodeGeometryCurvePrimitiveCircle", 1)] - public struct NodeGeometryCurvePrimitiveCircle { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurvePrimitiveCircle { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurvePrimitiveCircle() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs index e09acd1..c1389b6 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveLine.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(705, "NodeGeometryCurvePrimitiveLine", 1)] - public struct NodeGeometryCurvePrimitiveLine { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurvePrimitiveLine { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurvePrimitiveLine() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs b/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs index b9a3a47..7983b08 100644 --- a/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs +++ b/BlendFile/DNA/NodeGeometryCurvePrimitiveQuad.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(708, "NodeGeometryCurvePrimitiveQuad", 1)] - public struct NodeGeometryCurvePrimitiveQuad { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurvePrimitiveQuad { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurvePrimitiveQuad() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurveResample.cs b/BlendFile/DNA/NodeGeometryCurveResample.cs index f32aff0..b4a0523 100644 --- a/BlendFile/DNA/NodeGeometryCurveResample.cs +++ b/BlendFile/DNA/NodeGeometryCurveResample.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(709, "NodeGeometryCurveResample", 1)] - public struct NodeGeometryCurveResample { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurveResample { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurveResample() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurveSample.cs b/BlendFile/DNA/NodeGeometryCurveSample.cs index f4e16e5..10f409a 100644 --- a/BlendFile/DNA/NodeGeometryCurveSample.cs +++ b/BlendFile/DNA/NodeGeometryCurveSample.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(713, "NodeGeometryCurveSample", 4)] - public struct NodeGeometryCurveSample { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurveSample { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; - [DNAFieldAttribute(1, "int8_t", "use_all_curves", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "use_all_curves", "int8_t", false, 1)] public sbyte use_all_curves; - [DNAFieldAttribute(2, "int8_t", "data_type", "int8_t", 1, false, 2)] + [DNAFieldAttribute(1, "int8_t", 2, "data_type", "int8_t", false, 2)] public sbyte data_type; - [DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] public char[] _pad = new System.Char[1]; public NodeGeometryCurveSample() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs b/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs index ce0c09d..88676ac 100644 --- a/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs +++ b/BlendFile/DNA/NodeGeometryCurveSelectHandles.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(703, "NodeGeometryCurveSelectHandles", 2)] - public struct NodeGeometryCurveSelectHandles { - [DNAFieldAttribute(0, "uchar", "handle_type", "uchar", 1, false, 0)] + public class NodeGeometryCurveSelectHandles { + [DNAFieldAttribute(1, "uchar", 0, "handle_type", "uchar", false, 0)] public byte handle_type; - [DNAFieldAttribute(1, "uchar", "mode", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "mode", "uchar", false, 1)] public byte mode; public NodeGeometryCurveSelectHandles() { this.handle_type = default; diff --git a/BlendFile/DNA/NodeGeometryCurveSetHandles.cs b/BlendFile/DNA/NodeGeometryCurveSetHandles.cs index 9fa2186..1abdcd4 100644 --- a/BlendFile/DNA/NodeGeometryCurveSetHandles.cs +++ b/BlendFile/DNA/NodeGeometryCurveSetHandles.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(702, "NodeGeometryCurveSetHandles", 2)] - public struct NodeGeometryCurveSetHandles { - [DNAFieldAttribute(0, "uchar", "handle_type", "uchar", 1, false, 0)] + public class NodeGeometryCurveSetHandles { + [DNAFieldAttribute(1, "uchar", 0, "handle_type", "uchar", false, 0)] public byte handle_type; - [DNAFieldAttribute(1, "uchar", "mode", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "mode", "uchar", false, 1)] public byte mode; public NodeGeometryCurveSetHandles() { this.handle_type = default; diff --git a/BlendFile/DNA/NodeGeometryCurveSplineType.cs b/BlendFile/DNA/NodeGeometryCurveSplineType.cs index 83d6430..a54ae9f 100644 --- a/BlendFile/DNA/NodeGeometryCurveSplineType.cs +++ b/BlendFile/DNA/NodeGeometryCurveSplineType.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(700, "NodeGeometryCurveSplineType", 1)] - public struct NodeGeometryCurveSplineType { - [DNAFieldAttribute(0, "uchar", "spline_type", "uchar", 1, false, 0)] + public class NodeGeometryCurveSplineType { + [DNAFieldAttribute(1, "uchar", 0, "spline_type", "uchar", false, 0)] public byte spline_type; public NodeGeometryCurveSplineType() { this.spline_type = default; diff --git a/BlendFile/DNA/NodeGeometryCurveToPoints.cs b/BlendFile/DNA/NodeGeometryCurveToPoints.cs index 649a087..b1d8d84 100644 --- a/BlendFile/DNA/NodeGeometryCurveToPoints.cs +++ b/BlendFile/DNA/NodeGeometryCurveToPoints.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(712, "NodeGeometryCurveToPoints", 1)] - public struct NodeGeometryCurveToPoints { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurveToPoints { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurveToPoints() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryCurveTrim.cs b/BlendFile/DNA/NodeGeometryCurveTrim.cs index 69d8102..87c8cf5 100644 --- a/BlendFile/DNA/NodeGeometryCurveTrim.cs +++ b/BlendFile/DNA/NodeGeometryCurveTrim.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(711, "NodeGeometryCurveTrim", 1)] - public struct NodeGeometryCurveTrim { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryCurveTrim { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryCurveTrim() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryDeleteGeometry.cs b/BlendFile/DNA/NodeGeometryDeleteGeometry.cs index 663fa6b..748e079 100644 --- a/BlendFile/DNA/NodeGeometryDeleteGeometry.cs +++ b/BlendFile/DNA/NodeGeometryDeleteGeometry.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(724, "NodeGeometryDeleteGeometry", 2)] - public struct NodeGeometryDeleteGeometry { - [DNAFieldAttribute(0, "int8_t", "domain", "int8_t", 1, false, 0)] + public class NodeGeometryDeleteGeometry { + [DNAFieldAttribute(1, "int8_t", 0, "domain", "int8_t", false, 0)] public sbyte domain; - [DNAFieldAttribute(1, "int8_t", "mode", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "mode", "int8_t", false, 1)] public sbyte mode; public NodeGeometryDeleteGeometry() { this.domain = default; diff --git a/BlendFile/DNA/NodeGeometryDialGizmo.cs b/BlendFile/DNA/NodeGeometryDialGizmo.cs index ff5b7e9..da5fe6b 100644 --- a/BlendFile/DNA/NodeGeometryDialGizmo.cs +++ b/BlendFile/DNA/NodeGeometryDialGizmo.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(752, "NodeGeometryDialGizmo", 4)] - public struct NodeGeometryDialGizmo { - [DNAFieldAttribute(0, "int", "color_id", "int", 4, false, 0)] + public class NodeGeometryDialGizmo { + [DNAFieldAttribute(4, "int", 0, "color_id", "int", false, 0)] public int color_id; public NodeGeometryDialGizmo() { this.color_id = default; diff --git a/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs b/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs index 16fa05c..535a05a 100644 --- a/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs +++ b/BlendFile/DNA/NodeGeometryDistributePointsInVolume.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(747, "NodeGeometryDistributePointsInVolume", 1)] - public struct NodeGeometryDistributePointsInVolume { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryDistributePointsInVolume { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryDistributePointsInVolume() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryDuplicateElements.cs b/BlendFile/DNA/NodeGeometryDuplicateElements.cs index 5ee7766..efde441 100644 --- a/BlendFile/DNA/NodeGeometryDuplicateElements.cs +++ b/BlendFile/DNA/NodeGeometryDuplicateElements.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(725, "NodeGeometryDuplicateElements", 1)] - public struct NodeGeometryDuplicateElements { - [DNAFieldAttribute(0, "int8_t", "domain", "int8_t", 1, false, 0)] + public class NodeGeometryDuplicateElements { + [DNAFieldAttribute(1, "int8_t", 0, "domain", "int8_t", false, 0)] public sbyte domain; public NodeGeometryDuplicateElements() { this.domain = default; diff --git a/BlendFile/DNA/NodeGeometryExtrudeMesh.cs b/BlendFile/DNA/NodeGeometryExtrudeMesh.cs index ec7de48..461e8cb 100644 --- a/BlendFile/DNA/NodeGeometryExtrudeMesh.cs +++ b/BlendFile/DNA/NodeGeometryExtrudeMesh.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(683, "NodeGeometryExtrudeMesh", 1)] - public struct NodeGeometryExtrudeMesh { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryExtrudeMesh { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryExtrudeMesh() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs b/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs index 5bf84a2..b801144 100644 --- a/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs +++ b/BlendFile/DNA/NodeGeometryForeachGeometryElementInput.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(737, "NodeGeometryForeachGeometryElementInput", 4)] - public struct NodeGeometryForeachGeometryElementInput { - [DNAFieldAttribute(0, "int", "output_node_id", "int", 4, false, 0)] + public class NodeGeometryForeachGeometryElementInput { + [DNAFieldAttribute(4, "int", 0, "output_node_id", "int", false, 0)] public int output_node_id; public NodeGeometryForeachGeometryElementInput() { this.output_node_id = default; diff --git a/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs b/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs index bedc13b..270d1a5 100644 --- a/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs +++ b/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(744, "NodeGeometryForeachGeometryElementOutput", 80)] - public struct NodeGeometryForeachGeometryElementOutput { - [DNAFieldAttribute(0, "NodeForeachGeometryElementInputItems", "input_items", "NodeForeachGeometryElementInputItems", 24, false, 0)] + public class NodeGeometryForeachGeometryElementOutput { + [DNAFieldAttribute(24, "NodeForeachGeometryElementInputItems", 0, "input_items", "NodeForeachGeometryElementInputItems", false, 0)] public NodeForeachGeometryElementInputItems input_items; - [DNAFieldAttribute(1, "NodeForeachGeometryElementMainItems", "main_items", "NodeForeachGeometryElementMainItems", 24, false, 24)] + [DNAFieldAttribute(24, "NodeForeachGeometryElementMainItems", 1, "main_items", "NodeForeachGeometryElementMainItems", false, 24)] public NodeForeachGeometryElementMainItems main_items; - [DNAFieldAttribute(2, "NodeForeachGeometryElementGenerationItems", "generation_items", "NodeForeachGeometryElementGenerationItems", 24, false, 48)] + [DNAFieldAttribute(24, "NodeForeachGeometryElementGenerationItems", 2, "generation_items", "NodeForeachGeometryElementGenerationItems", false, 48)] public NodeForeachGeometryElementGenerationItems generation_items; - [DNAFieldAttribute(3, "int", "inspection_index", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 3, "inspection_index", "int", false, 72)] public int inspection_index; - [DNAFieldAttribute(4, "uchar", "domain", "uchar", 1, false, 76)] + [DNAFieldAttribute(1, "uchar", 4, "domain", "uchar", false, 76)] public byte domain; - [DNAFieldAttribute(5, "char", "_pad[3]", "System.Char[]", 3, false, 77)] + [DNAFieldAttribute(3, "char", 5, "_pad[3]", "System.Char[]", false, 77)] public char[] _pad = new System.Char[3]; public NodeGeometryForeachGeometryElementOutput() { this.input_items = default; diff --git a/BlendFile/DNA/NodeGeometryImageTexture.cs b/BlendFile/DNA/NodeGeometryImageTexture.cs index d9c6e62..489eaee 100644 --- a/BlendFile/DNA/NodeGeometryImageTexture.cs +++ b/BlendFile/DNA/NodeGeometryImageTexture.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(728, "NodeGeometryImageTexture", 2)] - public struct NodeGeometryImageTexture { - [DNAFieldAttribute(0, "int8_t", "interpolation", "int8_t", 1, false, 0)] + public class NodeGeometryImageTexture { + [DNAFieldAttribute(1, "int8_t", 0, "interpolation", "int8_t", false, 0)] public sbyte interpolation; - [DNAFieldAttribute(1, "int8_t", "extension", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "extension", "int8_t", false, 1)] public sbyte extension; public NodeGeometryImageTexture() { this.interpolation = default; diff --git a/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs b/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs index d0e5deb..f59f487 100644 --- a/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs +++ b/BlendFile/DNA/NodeGeometryInputNamedAttribute.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(722, "NodeGeometryInputNamedAttribute", 1)] - public struct NodeGeometryInputNamedAttribute { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + public class NodeGeometryInputNamedAttribute { + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; public NodeGeometryInputNamedAttribute() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGeometryLinearGizmo.cs b/BlendFile/DNA/NodeGeometryLinearGizmo.cs index cfd51cb..e5091d9 100644 --- a/BlendFile/DNA/NodeGeometryLinearGizmo.cs +++ b/BlendFile/DNA/NodeGeometryLinearGizmo.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(751, "NodeGeometryLinearGizmo", 8)] - public struct NodeGeometryLinearGizmo { - [DNAFieldAttribute(0, "int", "color_id", "int", 4, false, 0)] + public class NodeGeometryLinearGizmo { + [DNAFieldAttribute(4, "int", 0, "color_id", "int", false, 0)] public int color_id; - [DNAFieldAttribute(1, "int", "draw_style", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "draw_style", "int", false, 4)] public int draw_style; public NodeGeometryLinearGizmo() { this.color_id = default; diff --git a/BlendFile/DNA/NodeGeometryMergeByDistance.cs b/BlendFile/DNA/NodeGeometryMergeByDistance.cs index c351e4d..5a4260d 100644 --- a/BlendFile/DNA/NodeGeometryMergeByDistance.cs +++ b/BlendFile/DNA/NodeGeometryMergeByDistance.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(694, "NodeGeometryMergeByDistance", 1)] - public struct NodeGeometryMergeByDistance { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryMergeByDistance { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryMergeByDistance() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryMergeLayers.cs b/BlendFile/DNA/NodeGeometryMergeLayers.cs index b0da0d1..d8e2c28 100644 --- a/BlendFile/DNA/NodeGeometryMergeLayers.cs +++ b/BlendFile/DNA/NodeGeometryMergeLayers.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(726, "NodeGeometryMergeLayers", 1)] - public struct NodeGeometryMergeLayers { - [DNAFieldAttribute(0, "int8_t", "mode", "int8_t", 1, false, 0)] + public class NodeGeometryMergeLayers { + [DNAFieldAttribute(1, "int8_t", 0, "mode", "int8_t", false, 0)] public sbyte mode; public NodeGeometryMergeLayers() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryMeshCircle.cs b/BlendFile/DNA/NodeGeometryMeshCircle.cs index a178212..920ca51 100644 --- a/BlendFile/DNA/NodeGeometryMeshCircle.cs +++ b/BlendFile/DNA/NodeGeometryMeshCircle.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(691, "NodeGeometryMeshCircle", 1)] - public struct NodeGeometryMeshCircle { - [DNAFieldAttribute(0, "uchar", "fill_type", "uchar", 1, false, 0)] + public class NodeGeometryMeshCircle { + [DNAFieldAttribute(1, "uchar", 0, "fill_type", "uchar", false, 0)] public byte fill_type; public NodeGeometryMeshCircle() { this.fill_type = default; diff --git a/BlendFile/DNA/NodeGeometryMeshCone.cs b/BlendFile/DNA/NodeGeometryMeshCone.cs index 9a6b98e..1dc0455 100644 --- a/BlendFile/DNA/NodeGeometryMeshCone.cs +++ b/BlendFile/DNA/NodeGeometryMeshCone.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(693, "NodeGeometryMeshCone", 1)] - public struct NodeGeometryMeshCone { - [DNAFieldAttribute(0, "uchar", "fill_type", "uchar", 1, false, 0)] + public class NodeGeometryMeshCone { + [DNAFieldAttribute(1, "uchar", 0, "fill_type", "uchar", false, 0)] public byte fill_type; public NodeGeometryMeshCone() { this.fill_type = default; diff --git a/BlendFile/DNA/NodeGeometryMeshCylinder.cs b/BlendFile/DNA/NodeGeometryMeshCylinder.cs index 8483802..8488271 100644 --- a/BlendFile/DNA/NodeGeometryMeshCylinder.cs +++ b/BlendFile/DNA/NodeGeometryMeshCylinder.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(692, "NodeGeometryMeshCylinder", 1)] - public struct NodeGeometryMeshCylinder { - [DNAFieldAttribute(0, "uchar", "fill_type", "uchar", 1, false, 0)] + public class NodeGeometryMeshCylinder { + [DNAFieldAttribute(1, "uchar", 0, "fill_type", "uchar", false, 0)] public byte fill_type; public NodeGeometryMeshCylinder() { this.fill_type = default; diff --git a/BlendFile/DNA/NodeGeometryMeshLine.cs b/BlendFile/DNA/NodeGeometryMeshLine.cs index 68ab589..da5a7c1 100644 --- a/BlendFile/DNA/NodeGeometryMeshLine.cs +++ b/BlendFile/DNA/NodeGeometryMeshLine.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(695, "NodeGeometryMeshLine", 2)] - public struct NodeGeometryMeshLine { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryMeshLine { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; - [DNAFieldAttribute(1, "uchar", "count_mode", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "count_mode", "uchar", false, 1)] public byte count_mode; public NodeGeometryMeshLine() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryMeshToPoints.cs b/BlendFile/DNA/NodeGeometryMeshToPoints.cs index 2798e94..c87dd74 100644 --- a/BlendFile/DNA/NodeGeometryMeshToPoints.cs +++ b/BlendFile/DNA/NodeGeometryMeshToPoints.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(718, "NodeGeometryMeshToPoints", 1)] - public struct NodeGeometryMeshToPoints { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometryMeshToPoints { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometryMeshToPoints() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryMeshToVolume.cs b/BlendFile/DNA/NodeGeometryMeshToVolume.cs index 4db2db0..0e73fed 100644 --- a/BlendFile/DNA/NodeGeometryMeshToVolume.cs +++ b/BlendFile/DNA/NodeGeometryMeshToVolume.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(689, "NodeGeometryMeshToVolume", 1)] - public struct NodeGeometryMeshToVolume { - [DNAFieldAttribute(0, "uchar", "resolution_mode", "uchar", 1, false, 0)] + public class NodeGeometryMeshToVolume { + [DNAFieldAttribute(1, "uchar", 0, "resolution_mode", "uchar", false, 0)] public byte resolution_mode; public NodeGeometryMeshToVolume() { this.resolution_mode = default; diff --git a/BlendFile/DNA/NodeGeometryObjectInfo.cs b/BlendFile/DNA/NodeGeometryObjectInfo.cs index c555e5f..f16ac14 100644 --- a/BlendFile/DNA/NodeGeometryObjectInfo.cs +++ b/BlendFile/DNA/NodeGeometryObjectInfo.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(684, "NodeGeometryObjectInfo", 1)] - public struct NodeGeometryObjectInfo { - [DNAFieldAttribute(0, "uchar", "transform_space", "uchar", 1, false, 0)] + public class NodeGeometryObjectInfo { + [DNAFieldAttribute(1, "uchar", 0, "transform_space", "uchar", false, 0)] public byte transform_space; public NodeGeometryObjectInfo() { this.transform_space = default; diff --git a/BlendFile/DNA/NodeGeometryPointsToVolume.cs b/BlendFile/DNA/NodeGeometryPointsToVolume.cs index ad7da91..b70262c 100644 --- a/BlendFile/DNA/NodeGeometryPointsToVolume.cs +++ b/BlendFile/DNA/NodeGeometryPointsToVolume.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(685, "NodeGeometryPointsToVolume", 2)] - public struct NodeGeometryPointsToVolume { - [DNAFieldAttribute(0, "uchar", "resolution_mode", "uchar", 1, false, 0)] + public class NodeGeometryPointsToVolume { + [DNAFieldAttribute(1, "uchar", 0, "resolution_mode", "uchar", false, 0)] public byte resolution_mode; - [DNAFieldAttribute(1, "uchar", "input_type_radius", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "input_type_radius", "uchar", false, 1)] public byte input_type_radius; public NodeGeometryPointsToVolume() { this.resolution_mode = default; diff --git a/BlendFile/DNA/NodeGeometryProximity.cs b/BlendFile/DNA/NodeGeometryProximity.cs index 3c7d036..a819a8b 100644 --- a/BlendFile/DNA/NodeGeometryProximity.cs +++ b/BlendFile/DNA/NodeGeometryProximity.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(687, "NodeGeometryProximity", 1)] - public struct NodeGeometryProximity { - [DNAFieldAttribute(0, "uchar", "target_element", "uchar", 1, false, 0)] + public class NodeGeometryProximity { + [DNAFieldAttribute(1, "uchar", 0, "target_element", "uchar", false, 0)] public byte target_element; public NodeGeometryProximity() { this.target_element = default; diff --git a/BlendFile/DNA/NodeGeometryRaycast.cs b/BlendFile/DNA/NodeGeometryRaycast.cs index 313143c..379b4a7 100644 --- a/BlendFile/DNA/NodeGeometryRaycast.cs +++ b/BlendFile/DNA/NodeGeometryRaycast.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(716, "NodeGeometryRaycast", 2)] - public struct NodeGeometryRaycast { - [DNAFieldAttribute(0, "uchar", "mapping", "uchar", 1, false, 0)] + public class NodeGeometryRaycast { + [DNAFieldAttribute(1, "uchar", 0, "mapping", "uchar", false, 0)] public byte mapping; - [DNAFieldAttribute(1, "int8_t", "data_type", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "data_type", "int8_t", false, 1)] public sbyte data_type; public NodeGeometryRaycast() { this.mapping = default; diff --git a/BlendFile/DNA/NodeGeometryRepeatInput.cs b/BlendFile/DNA/NodeGeometryRepeatInput.cs index 29e3e3c..66e0d69 100644 --- a/BlendFile/DNA/NodeGeometryRepeatInput.cs +++ b/BlendFile/DNA/NodeGeometryRepeatInput.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(735, "NodeGeometryRepeatInput", 4)] - public struct NodeGeometryRepeatInput { - [DNAFieldAttribute(0, "int", "output_node_id", "int", 4, false, 0)] + public class NodeGeometryRepeatInput { + [DNAFieldAttribute(4, "int", 0, "output_node_id", "int", false, 0)] public int output_node_id; public NodeGeometryRepeatInput() { this.output_node_id = default; diff --git a/BlendFile/DNA/NodeGeometryRepeatOutput.cs b/BlendFile/DNA/NodeGeometryRepeatOutput.cs index c6dd279..8803cb9 100644 --- a/BlendFile/DNA/NodeGeometryRepeatOutput.cs +++ b/BlendFile/DNA/NodeGeometryRepeatOutput.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(736, "NodeGeometryRepeatOutput", 24)] public class NodeGeometryRepeatOutput { - [DNAFieldAttribute(0, "NodeRepeatItem", "*items", "NodeRepeatItem", 8, true, 0)] - public NodeRepeatItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "NodeRepeatItem", 0, "*items", "NodeRepeatItem", true, 0)] + public NodeRepeatItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "active_index", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "active_index", "int", false, 12)] public int active_index; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "int", "inspection_index", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 4, "inspection_index", "int", false, 20)] public int inspection_index; public NodeGeometryRepeatOutput() { - this.ptr_items = default; + this.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; + public NodeGeometryRepeatOutput(NodeRepeatItem items, int items_num, int active_index, int next_identifier, int inspection_index) { + this.items = items; this.items_num = items_num; this.active_index = active_index; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeGeometrySampleIndex.cs b/BlendFile/DNA/NodeGeometrySampleIndex.cs index 6de9118..c68133a 100644 --- a/BlendFile/DNA/NodeGeometrySampleIndex.cs +++ b/BlendFile/DNA/NodeGeometrySampleIndex.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(715, "NodeGeometrySampleIndex", 4)] - public struct NodeGeometrySampleIndex { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + public class NodeGeometrySampleIndex { + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "int8_t", "domain", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "domain", "int8_t", false, 1)] public sbyte domain; - [DNAFieldAttribute(2, "int8_t", "clamp", "int8_t", 1, false, 2)] + [DNAFieldAttribute(1, "int8_t", 2, "clamp", "int8_t", false, 2)] public sbyte clamp; - [DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] public char[] _pad = new System.Char[1]; public NodeGeometrySampleIndex() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGeometrySeparateGeometry.cs b/BlendFile/DNA/NodeGeometrySeparateGeometry.cs index c171756..52a6749 100644 --- a/BlendFile/DNA/NodeGeometrySeparateGeometry.cs +++ b/BlendFile/DNA/NodeGeometrySeparateGeometry.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(727, "NodeGeometrySeparateGeometry", 1)] - public struct NodeGeometrySeparateGeometry { - [DNAFieldAttribute(0, "int8_t", "domain", "int8_t", 1, false, 0)] + public class NodeGeometrySeparateGeometry { + [DNAFieldAttribute(1, "int8_t", 0, "domain", "int8_t", false, 0)] public sbyte domain; public NodeGeometrySeparateGeometry() { this.domain = default; diff --git a/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs b/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs index 4ae1a57..998aaef 100644 --- a/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs +++ b/BlendFile/DNA/NodeGeometrySetCurveHandlePositions.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(701, "NodeGeometrySetCurveHandlePositions", 1)] - public struct NodeGeometrySetCurveHandlePositions { - [DNAFieldAttribute(0, "uchar", "mode", "uchar", 1, false, 0)] + public class NodeGeometrySetCurveHandlePositions { + [DNAFieldAttribute(1, "uchar", 0, "mode", "uchar", false, 0)] public byte mode; public NodeGeometrySetCurveHandlePositions() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometrySimulationInput.cs b/BlendFile/DNA/NodeGeometrySimulationInput.cs index 8410ee9..1d2e3bf 100644 --- a/BlendFile/DNA/NodeGeometrySimulationInput.cs +++ b/BlendFile/DNA/NodeGeometrySimulationInput.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(732, "NodeGeometrySimulationInput", 4)] - public struct NodeGeometrySimulationInput { - [DNAFieldAttribute(0, "int", "output_node_id", "int", 4, false, 0)] + public class NodeGeometrySimulationInput { + [DNAFieldAttribute(4, "int", 0, "output_node_id", "int", false, 0)] public int output_node_id; public NodeGeometrySimulationInput() { this.output_node_id = default; diff --git a/BlendFile/DNA/NodeGeometrySimulationOutput.cs b/BlendFile/DNA/NodeGeometrySimulationOutput.cs index 6e1d631..3ac0293 100644 --- a/BlendFile/DNA/NodeGeometrySimulationOutput.cs +++ b/BlendFile/DNA/NodeGeometrySimulationOutput.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(733, "NodeGeometrySimulationOutput", 24)] public class NodeGeometrySimulationOutput { - [DNAFieldAttribute(0, "NodeSimulationItem", "*items", "NodeSimulationItem", 8, true, 0)] - public NodeSimulationItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "NodeSimulationItem", 0, "*items", "NodeSimulationItem", true, 0)] + public NodeSimulationItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "active_index", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "active_index", "int", false, 12)] public int active_index; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "int", "_pad", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 4, "_pad", "int", false, 20)] public int _pad; public NodeGeometrySimulationOutput() { - this.ptr_items = default; + this.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; + public NodeGeometrySimulationOutput(NodeSimulationItem items, int items_num, int active_index, int next_identifier, int _pad) { + this.items = items; this.items_num = items_num; this.active_index = active_index; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs b/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs index 210dd83..0bf282b 100644 --- a/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs +++ b/BlendFile/DNA/NodeGeometryStoreNamedAttribute.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(721, "NodeGeometryStoreNamedAttribute", 2)] - public struct NodeGeometryStoreNamedAttribute { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + public class NodeGeometryStoreNamedAttribute { + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "int8_t", "domain", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "domain", "int8_t", false, 1)] public sbyte domain; public NodeGeometryStoreNamedAttribute() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGeometryStringToCurves.cs b/BlendFile/DNA/NodeGeometryStringToCurves.cs index 1986654..d82d596 100644 --- a/BlendFile/DNA/NodeGeometryStringToCurves.cs +++ b/BlendFile/DNA/NodeGeometryStringToCurves.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(723, "NodeGeometryStringToCurves", 4)] - public struct NodeGeometryStringToCurves { - [DNAFieldAttribute(0, "uchar", "overflow", "uchar", 1, false, 0)] + public class NodeGeometryStringToCurves { + [DNAFieldAttribute(1, "uchar", 0, "overflow", "uchar", false, 0)] public byte overflow; - [DNAFieldAttribute(1, "uchar", "align_x", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "align_x", "uchar", false, 1)] public byte align_x; - [DNAFieldAttribute(2, "uchar", "align_y", "uchar", 1, false, 2)] + [DNAFieldAttribute(1, "uchar", 2, "align_y", "uchar", false, 2)] public byte align_y; - [DNAFieldAttribute(3, "uchar", "pivot_mode", "uchar", 1, false, 3)] + [DNAFieldAttribute(1, "uchar", 3, "pivot_mode", "uchar", false, 3)] public byte pivot_mode; public NodeGeometryStringToCurves() { this.overflow = default; diff --git a/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs b/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs index 1acd43c..d48d274 100644 --- a/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs +++ b/BlendFile/DNA/NodeGeometrySubdivisionSurface.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(690, "NodeGeometrySubdivisionSurface", 2)] - public struct NodeGeometrySubdivisionSurface { - [DNAFieldAttribute(0, "uchar", "uv_smooth", "uchar", 1, false, 0)] + public class NodeGeometrySubdivisionSurface { + [DNAFieldAttribute(1, "uchar", 0, "uv_smooth", "uchar", false, 0)] public byte uv_smooth; - [DNAFieldAttribute(1, "uchar", "boundary_smooth", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "boundary_smooth", "uchar", false, 1)] public byte boundary_smooth; public NodeGeometrySubdivisionSurface() { this.uv_smooth = default; diff --git a/BlendFile/DNA/NodeGeometryTransferAttribute.cs b/BlendFile/DNA/NodeGeometryTransferAttribute.cs index b4bb461..134a1a3 100644 --- a/BlendFile/DNA/NodeGeometryTransferAttribute.cs +++ b/BlendFile/DNA/NodeGeometryTransferAttribute.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(714, "NodeGeometryTransferAttribute", 4)] - public struct NodeGeometryTransferAttribute { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + public class NodeGeometryTransferAttribute { + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "int8_t", "domain", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "domain", "int8_t", false, 1)] public sbyte domain; - [DNAFieldAttribute(2, "uchar", "mode", "uchar", 1, false, 2)] + [DNAFieldAttribute(1, "uchar", 2, "mode", "uchar", false, 2)] public byte mode; - [DNAFieldAttribute(3, "char", "_pad[1]", "System.Char[]", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] public char[] _pad = new System.Char[1]; public NodeGeometryTransferAttribute() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGeometryTransformGizmo.cs b/BlendFile/DNA/NodeGeometryTransformGizmo.cs index 97876b7..fb032f7 100644 --- a/BlendFile/DNA/NodeGeometryTransformGizmo.cs +++ b/BlendFile/DNA/NodeGeometryTransformGizmo.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(753, "NodeGeometryTransformGizmo", 4)] - public struct NodeGeometryTransformGizmo { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class NodeGeometryTransformGizmo { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; public NodeGeometryTransformGizmo() { this.flag = default; diff --git a/BlendFile/DNA/NodeGeometryUVUnwrap.cs b/BlendFile/DNA/NodeGeometryUVUnwrap.cs index a807865..a942285 100644 --- a/BlendFile/DNA/NodeGeometryUVUnwrap.cs +++ b/BlendFile/DNA/NodeGeometryUVUnwrap.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(730, "NodeGeometryUVUnwrap", 1)] - public struct NodeGeometryUVUnwrap { - [DNAFieldAttribute(0, "uchar", "method", "uchar", 1, false, 0)] + public class NodeGeometryUVUnwrap { + [DNAFieldAttribute(1, "uchar", 0, "method", "uchar", false, 0)] public byte method; public NodeGeometryUVUnwrap() { this.method = default; diff --git a/BlendFile/DNA/NodeGeometryViewer.cs b/BlendFile/DNA/NodeGeometryViewer.cs index 50cc6fb..093ae54 100644 --- a/BlendFile/DNA/NodeGeometryViewer.cs +++ b/BlendFile/DNA/NodeGeometryViewer.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(729, "NodeGeometryViewer", 2)] - public struct NodeGeometryViewer { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + public class NodeGeometryViewer { + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "int8_t", "domain", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "domain", "int8_t", false, 1)] public sbyte domain; public NodeGeometryViewer() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGeometryVolumeToMesh.cs b/BlendFile/DNA/NodeGeometryVolumeToMesh.cs index fb9655d..f9c8213 100644 --- a/BlendFile/DNA/NodeGeometryVolumeToMesh.cs +++ b/BlendFile/DNA/NodeGeometryVolumeToMesh.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(688, "NodeGeometryVolumeToMesh", 1)] - public struct NodeGeometryVolumeToMesh { - [DNAFieldAttribute(0, "uchar", "resolution_mode", "uchar", 1, false, 0)] + public class NodeGeometryVolumeToMesh { + [DNAFieldAttribute(1, "uchar", 0, "resolution_mode", "uchar", false, 0)] public byte resolution_mode; public NodeGeometryVolumeToMesh() { this.resolution_mode = default; diff --git a/BlendFile/DNA/NodeGlare.cs b/BlendFile/DNA/NodeGlare.cs index c323c29..d81b097 100644 --- a/BlendFile/DNA/NodeGlare.cs +++ b/BlendFile/DNA/NodeGlare.cs @@ -14,34 +14,34 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(625, "NodeGlare", 32)] - public struct NodeGlare { - [DNAFieldAttribute(0, "char", "quality", "char", 1, false, 0)] + public class NodeGlare { + [DNAFieldAttribute(1, "char", 0, "quality", "char", false, 0)] public char quality; - [DNAFieldAttribute(1, "char", "type", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "type", "char", false, 1)] public char type; - [DNAFieldAttribute(2, "char", "iter", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "iter", "char", false, 2)] public char iter; - [DNAFieldAttribute(3, "char", "angle", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "angle", "char", false, 3)] public char angle; - [DNAFieldAttribute(4, "char", "_pad0", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 4, "_pad0", "char", false, 4)] public char _pad0; - [DNAFieldAttribute(5, "char", "size", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 5, "size", "char", false, 5)] public char size; - [DNAFieldAttribute(6, "char", "star_45", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 6, "star_45", "char", false, 6)] public char star_45; - [DNAFieldAttribute(7, "char", "streaks", "char", 1, false, 7)] + [DNAFieldAttribute(1, "char", 7, "streaks", "char", false, 7)] public char streaks; - [DNAFieldAttribute(8, "float", "colmod", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 8, "colmod", "float", false, 8)] public float colmod; - [DNAFieldAttribute(9, "float", "mix", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 9, "mix", "float", false, 12)] public float mix; - [DNAFieldAttribute(10, "float", "threshold", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 10, "threshold", "float", false, 16)] public float threshold; - [DNAFieldAttribute(11, "float", "fade", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 11, "fade", "float", false, 20)] public float fade; - [DNAFieldAttribute(12, "float", "angle_ofs", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 12, "angle_ofs", "float", false, 24)] public float angle_ofs; - [DNAFieldAttribute(13, "char", "_pad1[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 13, "_pad1[4]", "System.Char[]", false, 28)] public char[] _pad1 = new System.Char[4]; public NodeGlare() { this.quality = default; diff --git a/BlendFile/DNA/NodeHueSat.cs b/BlendFile/DNA/NodeHueSat.cs index 28cf3fd..ceecfc0 100644 --- a/BlendFile/DNA/NodeHueSat.cs +++ b/BlendFile/DNA/NodeHueSat.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(613, "NodeHueSat", 12)] - public struct NodeHueSat { - [DNAFieldAttribute(0, "float", "hue", "float", 4, false, 0)] + public class NodeHueSat { + [DNAFieldAttribute(4, "float", 0, "hue", "float", false, 0)] public float hue; - [DNAFieldAttribute(1, "float", "sat", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "sat", "float", false, 4)] public float sat; - [DNAFieldAttribute(2, "float", "val", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "val", "float", false, 8)] public float val; public NodeHueSat() { this.hue = default; diff --git a/BlendFile/DNA/NodeImageAnim.cs b/BlendFile/DNA/NodeImageAnim.cs index 93740d4..306dd40 100644 --- a/BlendFile/DNA/NodeImageAnim.cs +++ b/BlendFile/DNA/NodeImageAnim.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(601, "NodeImageAnim", 16)] - public struct NodeImageAnim { - [DNAFieldAttribute(0, "int", "frames", "int", 4, false, 0)] + public class NodeImageAnim { + [DNAFieldAttribute(4, "int", 0, "frames", "int", false, 0)] public int frames; - [DNAFieldAttribute(1, "int", "sfra", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "sfra", "int", false, 4)] public int sfra; - [DNAFieldAttribute(2, "int", "nr", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "nr", "int", false, 8)] public int nr; - [DNAFieldAttribute(3, "char", "cyclic", "char", 1, false, 12)] + [DNAFieldAttribute(1, "char", 3, "cyclic", "char", false, 12)] public char cyclic; - [DNAFieldAttribute(4, "char", "movie", "char", 1, false, 13)] + [DNAFieldAttribute(1, "char", 4, "movie", "char", false, 13)] public char movie; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 14)] public char[] _pad = new System.Char[2]; public NodeImageAnim() { this.frames = default; diff --git a/BlendFile/DNA/NodeImageFile.cs b/BlendFile/DNA/NodeImageFile.cs index 84f43cd..2b44c99 100644 --- a/BlendFile/DNA/NodeImageFile.cs +++ b/BlendFile/DNA/NodeImageFile.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(614, "NodeImageFile", 1368)] - public struct NodeImageFile { - [DNAFieldAttribute(0, "char", "name[1024]", "System.Char[]", 1024, false, 0)] + public class NodeImageFile { + [DNAFieldAttribute(1024, "char", 0, "name[1024]", "System.Char[]", false, 0)] public char[] name = new System.Char[1024]; - [DNAFieldAttribute(1, "ImageFormatData", "im_format", "ImageFormatData", 336, false, 1024)] + [DNAFieldAttribute(336, "ImageFormatData", 1, "im_format", "ImageFormatData", false, 1024)] public ImageFormatData im_format; - [DNAFieldAttribute(2, "int", "sfra", "int", 4, false, 1360)] + [DNAFieldAttribute(4, "int", 2, "sfra", "int", false, 1360)] public int sfra; - [DNAFieldAttribute(3, "int", "efra", "int", 4, false, 1364)] + [DNAFieldAttribute(4, "int", 3, "efra", "int", false, 1364)] public int efra; public NodeImageFile() { this.name = default; diff --git a/BlendFile/DNA/NodeImageLayer.cs b/BlendFile/DNA/NodeImageLayer.cs index 1b5bc29..6b53ecf 100644 --- a/BlendFile/DNA/NodeImageLayer.cs +++ b/BlendFile/DNA/NodeImageLayer.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(607, "NodeImageLayer", 68)] - public struct NodeImageLayer { - [DNAFieldAttribute(0, "int", "pass_index", "int", 4, false, 0)] + public class NodeImageLayer { + [DNAFieldAttribute(4, "int", 0, "pass_index", "int", false, 0)] public int pass_index; - [DNAFieldAttribute(1, "char", "pass_name[64]", "System.Char[]", 64, false, 4)] + [DNAFieldAttribute(64, "char", 1, "pass_name[64]", "System.Char[]", false, 4)] public char[] pass_name = new System.Char[64]; public NodeImageLayer() { this.pass_index = default; diff --git a/BlendFile/DNA/NodeImageMultiFile.cs b/BlendFile/DNA/NodeImageMultiFile.cs index 0e192f2..4bd2d5a 100644 --- a/BlendFile/DNA/NodeImageMultiFile.cs +++ b/BlendFile/DNA/NodeImageMultiFile.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(616, "NodeImageMultiFile", 1376)] - public struct NodeImageMultiFile { - [DNAFieldAttribute(0, "char", "base_path[1024]", "System.Char[]", 1024, false, 0)] + public class NodeImageMultiFile { + [DNAFieldAttribute(1024, "char", 0, "base_path[1024]", "System.Char[]", false, 0)] public char[] base_path = new System.Char[1024]; - [DNAFieldAttribute(1, "ImageFormatData", "format", "ImageFormatData", 336, false, 1024)] + [DNAFieldAttribute(336, "ImageFormatData", 1, "format", "ImageFormatData", false, 1024)] public ImageFormatData format; - [DNAFieldAttribute(2, "int", "sfra", "int", 4, false, 1360)] + [DNAFieldAttribute(4, "int", 2, "sfra", "int", false, 1360)] public int sfra; - [DNAFieldAttribute(3, "int", "efra", "int", 4, false, 1364)] + [DNAFieldAttribute(4, "int", 3, "efra", "int", false, 1364)] public int efra; - [DNAFieldAttribute(4, "int", "active_input", "int", 4, false, 1368)] + [DNAFieldAttribute(4, "int", 4, "active_input", "int", false, 1368)] public int active_input; - [DNAFieldAttribute(5, "char", "save_as_render", "char", 1, false, 1372)] + [DNAFieldAttribute(1, "char", 5, "save_as_render", "char", false, 1372)] public char save_as_render; - [DNAFieldAttribute(6, "char", "_pad[3]", "System.Char[]", 3, false, 1373)] + [DNAFieldAttribute(3, "char", 6, "_pad[3]", "System.Char[]", false, 1373)] public char[] _pad = new System.Char[3]; public NodeImageMultiFile() { this.base_path = default; diff --git a/BlendFile/DNA/NodeImageMultiFileSocket.cs b/BlendFile/DNA/NodeImageMultiFileSocket.cs index 31467f0..83968be 100644 --- a/BlendFile/DNA/NodeImageMultiFileSocket.cs +++ b/BlendFile/DNA/NodeImageMultiFileSocket.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(617, "NodeImageMultiFileSocket", 1400)] - public struct NodeImageMultiFileSocket { - [DNAFieldAttribute(0, "short", "use_render_format", "short", 2, false, 0)] + public class NodeImageMultiFileSocket { + [DNAFieldAttribute(2, "short", 0, "use_render_format", "short", false, 0)] public short use_render_format; - [DNAFieldAttribute(1, "short", "use_node_format", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "use_node_format", "short", false, 2)] public short use_node_format; - [DNAFieldAttribute(2, "char", "save_as_render", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 2, "save_as_render", "char", false, 4)] public char save_as_render; - [DNAFieldAttribute(3, "char", "_pad1[3]", "System.Char[]", 3, false, 5)] + [DNAFieldAttribute(3, "char", 3, "_pad1[3]", "System.Char[]", false, 5)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(4, "char", "path[1024]", "System.Char[]", 1024, false, 8)] + [DNAFieldAttribute(1024, "char", 4, "path[1024]", "System.Char[]", false, 8)] public char[] path = new System.Char[1024]; - [DNAFieldAttribute(5, "ImageFormatData", "format", "ImageFormatData", 336, false, 1032)] + [DNAFieldAttribute(336, "ImageFormatData", 5, "format", "ImageFormatData", false, 1032)] public ImageFormatData format; - [DNAFieldAttribute(6, "char", "layer[30]", "System.Char[]", 30, false, 1368)] + [DNAFieldAttribute(30, "char", 6, "layer[30]", "System.Char[]", false, 1368)] public char[] layer = new System.Char[30]; - [DNAFieldAttribute(7, "char", "_pad2[2]", "System.Char[]", 2, false, 1398)] + [DNAFieldAttribute(2, "char", 7, "_pad2[2]", "System.Char[]", false, 1398)] public char[] _pad2 = new System.Char[2]; public NodeImageMultiFileSocket() { this.use_render_format = default; diff --git a/BlendFile/DNA/NodeIndexSwitch.cs b/BlendFile/DNA/NodeIndexSwitch.cs index 347d996..a359b46 100644 --- a/BlendFile/DNA/NodeIndexSwitch.cs +++ b/BlendFile/DNA/NodeIndexSwitch.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(746, "NodeIndexSwitch", 24)] public class NodeIndexSwitch { - [DNAFieldAttribute(0, "IndexSwitchItem", "*items", "IndexSwitchItem", 8, true, 0)] - public IndexSwitchItem ptr_items; - [DNAFieldAttribute(1, "int", "items_num", "int", 4, false, 8)] + [DNAFieldAttribute(8, "IndexSwitchItem", 0, "*items", "IndexSwitchItem", true, 0)] + public IndexSwitchItem items; + [DNAFieldAttribute(4, "int", 1, "items_num", "int", false, 8)] public int items_num; - [DNAFieldAttribute(2, "int", "data_type", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "data_type", "int", false, 12)] public int data_type; - [DNAFieldAttribute(3, "int", "next_identifier", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; public NodeIndexSwitch() { - this.ptr_items = default; + this.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; + public NodeIndexSwitch(IndexSwitchItem items, int items_num, int data_type, int next_identifier, char[] _pad) { + this.items = items; this.items_num = items_num; this.data_type = data_type; this.next_identifier = next_identifier; diff --git a/BlendFile/DNA/NodeInputBool.cs b/BlendFile/DNA/NodeInputBool.cs index c321864..666e85c 100644 --- a/BlendFile/DNA/NodeInputBool.cs +++ b/BlendFile/DNA/NodeInputBool.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(677, "NodeInputBool", 1)] - public struct NodeInputBool { - [DNAFieldAttribute(0, "uchar", "boolean", "uchar", 1, false, 0)] + public class NodeInputBool { + [DNAFieldAttribute(1, "uchar", 0, "boolean", "uchar", false, 0)] public byte boolean; public NodeInputBool() { this.boolean = default; diff --git a/BlendFile/DNA/NodeInputColor.cs b/BlendFile/DNA/NodeInputColor.cs index a21e5d2..c5045ad 100644 --- a/BlendFile/DNA/NodeInputColor.cs +++ b/BlendFile/DNA/NodeInputColor.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(681, "NodeInputColor", 16)] - public struct NodeInputColor { - [DNAFieldAttribute(0, "float", "color[4]", "System.Single[]", 16, false, 0)] + public class NodeInputColor { + [DNAFieldAttribute(16, "float", 0, "color[4]", "System.Single[]", false, 0)] public float[] color = new System.Single[4]; public NodeInputColor() { this.color = default; diff --git a/BlendFile/DNA/NodeInputInt.cs b/BlendFile/DNA/NodeInputInt.cs index 8d0c34a..d24307d 100644 --- a/BlendFile/DNA/NodeInputInt.cs +++ b/BlendFile/DNA/NodeInputInt.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(678, "NodeInputInt", 4)] - public struct NodeInputInt { - [DNAFieldAttribute(0, "int", "integer", "int", 4, false, 0)] + public class NodeInputInt { + [DNAFieldAttribute(4, "int", 0, "integer", "int", false, 0)] public int integer; public NodeInputInt() { this.integer = default; diff --git a/BlendFile/DNA/NodeInputRotation.cs b/BlendFile/DNA/NodeInputRotation.cs index d2b762e..8431a59 100644 --- a/BlendFile/DNA/NodeInputRotation.cs +++ b/BlendFile/DNA/NodeInputRotation.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(679, "NodeInputRotation", 12)] - public struct NodeInputRotation { - [DNAFieldAttribute(0, "float", "rotation_euler[3]", "System.Single[]", 12, false, 0)] + public class NodeInputRotation { + [DNAFieldAttribute(12, "float", 0, "rotation_euler[3]", "System.Single[]", false, 0)] public float[] rotation_euler = new System.Single[3]; public NodeInputRotation() { this.rotation_euler = default; diff --git a/BlendFile/DNA/NodeInputString.cs b/BlendFile/DNA/NodeInputString.cs index d95e1e6..60128fa 100644 --- a/BlendFile/DNA/NodeInputString.cs +++ b/BlendFile/DNA/NodeInputString.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(682, "NodeInputString", 8)] public class NodeInputString { - [DNAFieldAttribute(0, "char", "*string", "char", 8, true, 0)] - public char ptr_string; + [DNAFieldAttribute(8, "char", 0, "*string", "char", true, 0)] + public char @string; public NodeInputString() { - this.ptr_string = default; + this.@string = default; } - public NodeInputString(char ptr_string) { - this.ptr_string = ptr_string; + public NodeInputString(char @string) { + this.@string = @string; } } } diff --git a/BlendFile/DNA/NodeInputVector.cs b/BlendFile/DNA/NodeInputVector.cs index 79e0f1a..7f0125e 100644 --- a/BlendFile/DNA/NodeInputVector.cs +++ b/BlendFile/DNA/NodeInputVector.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(680, "NodeInputVector", 12)] - public struct NodeInputVector { - [DNAFieldAttribute(0, "float", "vector[3]", "System.Single[]", 12, false, 0)] + public class NodeInputVector { + [DNAFieldAttribute(12, "float", 0, "vector[3]", "System.Single[]", false, 0)] public float[] vector = new System.Single[3]; public NodeInputVector() { this.vector = default; diff --git a/BlendFile/DNA/NodeKeyingData.cs b/BlendFile/DNA/NodeKeyingData.cs index cc875d6..9db45c7 100644 --- a/BlendFile/DNA/NodeKeyingData.cs +++ b/BlendFile/DNA/NodeKeyingData.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(657, "NodeKeyingData", 48)] - public struct NodeKeyingData { - [DNAFieldAttribute(0, "float", "screen_balance", "float", 4, false, 0)] + public class NodeKeyingData { + [DNAFieldAttribute(4, "float", 0, "screen_balance", "float", false, 0)] public float screen_balance; - [DNAFieldAttribute(1, "float", "despill_factor", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "despill_factor", "float", false, 4)] public float despill_factor; - [DNAFieldAttribute(2, "float", "despill_balance", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "despill_balance", "float", false, 8)] public float despill_balance; - [DNAFieldAttribute(3, "int", "edge_kernel_radius", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "edge_kernel_radius", "int", false, 12)] public int edge_kernel_radius; - [DNAFieldAttribute(4, "float", "edge_kernel_tolerance", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "edge_kernel_tolerance", "float", false, 16)] public float edge_kernel_tolerance; - [DNAFieldAttribute(5, "float", "clip_black", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "clip_black", "float", false, 20)] public float clip_black; - [DNAFieldAttribute(6, "float", "clip_white", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "clip_white", "float", false, 24)] public float clip_white; - [DNAFieldAttribute(7, "int", "dilate_distance", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "dilate_distance", "int", false, 28)] public int dilate_distance; - [DNAFieldAttribute(8, "int", "feather_distance", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 8, "feather_distance", "int", false, 32)] public int feather_distance; - [DNAFieldAttribute(9, "int", "feather_falloff", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 9, "feather_falloff", "int", false, 36)] public int feather_falloff; - [DNAFieldAttribute(10, "int", "blur_pre", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 10, "blur_pre", "int", false, 40)] public int blur_pre; - [DNAFieldAttribute(11, "int", "blur_post", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 11, "blur_post", "int", false, 44)] public int blur_post; public NodeKeyingData() { this.screen_balance = default; diff --git a/BlendFile/DNA/NodeKeyingScreenData.cs b/BlendFile/DNA/NodeKeyingScreenData.cs index 37f8669..ba297c5 100644 --- a/BlendFile/DNA/NodeKeyingScreenData.cs +++ b/BlendFile/DNA/NodeKeyingScreenData.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(656, "NodeKeyingScreenData", 68)] - public struct NodeKeyingScreenData { - [DNAFieldAttribute(0, "char", "tracking_object[64]", "System.Char[]", 64, false, 0)] + public class NodeKeyingScreenData { + [DNAFieldAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", false, 0)] public char[] tracking_object = new System.Char[64]; - [DNAFieldAttribute(1, "float", "smoothness", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 1, "smoothness", "float", false, 64)] public float smoothness; public NodeKeyingScreenData() { this.tracking_object = default; diff --git a/BlendFile/DNA/NodeKuwaharaData.cs b/BlendFile/DNA/NodeKuwaharaData.cs index 8d6ee1a..6f6b22b 100644 --- a/BlendFile/DNA/NodeKuwaharaData.cs +++ b/BlendFile/DNA/NodeKuwaharaData.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(611, "NodeKuwaharaData", 20)] - public struct NodeKuwaharaData { - [DNAFieldAttribute(0, "short", "size", "short", 2, false, 0)] + public class NodeKuwaharaData { + [DNAFieldAttribute(2, "short", 0, "size", "short", false, 0)] public short size; - [DNAFieldAttribute(1, "short", "variation", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "variation", "short", false, 2)] public short variation; - [DNAFieldAttribute(2, "int", "uniformity", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "uniformity", "int", false, 4)] public int uniformity; - [DNAFieldAttribute(3, "float", "sharpness", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 3, "sharpness", "float", false, 8)] public float sharpness; - [DNAFieldAttribute(4, "float", "eccentricity", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 4, "eccentricity", "float", false, 12)] public float eccentricity; - [DNAFieldAttribute(5, "char", "high_precision", "char", 1, false, 16)] + [DNAFieldAttribute(1, "char", 5, "high_precision", "char", false, 16)] public char high_precision; - [DNAFieldAttribute(6, "char", "_pad[3]", "System.Char[]", 3, false, 17)] + [DNAFieldAttribute(3, "char", 6, "_pad[3]", "System.Char[]", false, 17)] public char[] _pad = new System.Char[3]; public NodeKuwaharaData() { this.size = default; diff --git a/BlendFile/DNA/NodeLensDist.cs b/BlendFile/DNA/NodeLensDist.cs index aed7a89..c445e4a 100644 --- a/BlendFile/DNA/NodeLensDist.cs +++ b/BlendFile/DNA/NodeLensDist.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(627, "NodeLensDist", 8)] - public struct NodeLensDist { - [DNAFieldAttribute(0, "short", "jit", "short", 2, false, 0)] + public class NodeLensDist { + [DNAFieldAttribute(2, "short", 0, "jit", "short", false, 0)] public short jit; - [DNAFieldAttribute(1, "short", "proj", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "proj", "short", false, 2)] public short proj; - [DNAFieldAttribute(2, "short", "fit", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "fit", "short", false, 4)] public short fit; - [DNAFieldAttribute(3, "char", "_pad[2]", "System.Char[]", 2, false, 6)] + [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 6)] public char[] _pad = new System.Char[2]; public NodeLensDist() { this.jit = default; diff --git a/BlendFile/DNA/NodeMapRange.cs b/BlendFile/DNA/NodeMapRange.cs index b6138c7..5bf3311 100644 --- a/BlendFile/DNA/NodeMapRange.cs +++ b/BlendFile/DNA/NodeMapRange.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(674, "NodeMapRange", 8)] - public struct NodeMapRange { - [DNAFieldAttribute(0, "uchar", "data_type", "uchar", 1, false, 0)] + public class NodeMapRange { + [DNAFieldAttribute(1, "uchar", 0, "data_type", "uchar", false, 0)] public byte data_type; - [DNAFieldAttribute(1, "uchar", "interpolation_type", "uchar", 1, false, 1)] + [DNAFieldAttribute(1, "uchar", 1, "interpolation_type", "uchar", false, 1)] public byte interpolation_type; - [DNAFieldAttribute(2, "uchar", "clamp", "uchar", 1, false, 2)] + [DNAFieldAttribute(1, "uchar", 2, "clamp", "uchar", false, 2)] public byte clamp; - [DNAFieldAttribute(3, "char", "_pad[5]", "System.Char[]", 5, false, 3)] + [DNAFieldAttribute(5, "char", 3, "_pad[5]", "System.Char[]", false, 3)] public char[] _pad = new System.Char[5]; public NodeMapRange() { this.data_type = default; diff --git a/BlendFile/DNA/NodeMask.cs b/BlendFile/DNA/NodeMask.cs index cc14574..cb55a84 100644 --- a/BlendFile/DNA/NodeMask.cs +++ b/BlendFile/DNA/NodeMask.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(632, "NodeMask", 8)] - public struct NodeMask { - [DNAFieldAttribute(0, "int", "size_x", "int", 4, false, 0)] + public class NodeMask { + [DNAFieldAttribute(4, "int", 0, "size_x", "int", false, 0)] public int size_x; - [DNAFieldAttribute(1, "int", "size_y", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "size_y", "int", false, 4)] public int size_y; public NodeMask() { this.size_x = default; diff --git a/BlendFile/DNA/NodeMenuSwitch.cs b/BlendFile/DNA/NodeMenuSwitch.cs index 3116993..32fbb44 100644 --- a/BlendFile/DNA/NodeMenuSwitch.cs +++ b/BlendFile/DNA/NodeMenuSwitch.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(699, "NodeMenuSwitch", 32)] - public struct NodeMenuSwitch { - [DNAFieldAttribute(0, "NodeEnumDefinition", "enum_definition", "NodeEnumDefinition", 24, false, 0)] + public class NodeMenuSwitch { + [DNAFieldAttribute(24, "NodeEnumDefinition", 0, "enum_definition", "NodeEnumDefinition", false, 0)] public NodeEnumDefinition enum_definition; - [DNAFieldAttribute(1, "uchar", "data_type", "uchar", 1, false, 24)] + [DNAFieldAttribute(1, "uchar", 1, "data_type", "uchar", false, 24)] public byte data_type; - [DNAFieldAttribute(2, "char", "_pad[7]", "System.Char[]", 7, false, 25)] + [DNAFieldAttribute(7, "char", 2, "_pad[7]", "System.Char[]", false, 25)] public char[] _pad = new System.Char[7]; public NodeMenuSwitch() { this.enum_definition = default; diff --git a/BlendFile/DNA/NodePlaneTrackDeformData.cs b/BlendFile/DNA/NodePlaneTrackDeformData.cs index 0998324..8296ec0 100644 --- a/BlendFile/DNA/NodePlaneTrackDeformData.cs +++ b/BlendFile/DNA/NodePlaneTrackDeformData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(660, "NodePlaneTrackDeformData", 136)] - public struct NodePlaneTrackDeformData { - [DNAFieldAttribute(0, "char", "tracking_object[64]", "System.Char[]", 64, false, 0)] + public class NodePlaneTrackDeformData { + [DNAFieldAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", false, 0)] public char[] tracking_object = new System.Char[64]; - [DNAFieldAttribute(1, "char", "plane_track_name[64]", "System.Char[]", 64, false, 64)] + [DNAFieldAttribute(64, "char", 1, "plane_track_name[64]", "System.Char[]", false, 64)] public char[] plane_track_name = new System.Char[64]; - [DNAFieldAttribute(2, "char", "flag", "char", 1, false, 128)] + [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 128)] public char flag; - [DNAFieldAttribute(3, "char", "motion_blur_samples", "char", 1, false, 129)] + [DNAFieldAttribute(1, "char", 3, "motion_blur_samples", "char", false, 129)] public char motion_blur_samples; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 130)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 130)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(5, "float", "motion_blur_shutter", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 5, "motion_blur_shutter", "float", false, 132)] public float motion_blur_shutter; public NodePlaneTrackDeformData() { this.tracking_object = default; diff --git a/BlendFile/DNA/NodeRandomValue.cs b/BlendFile/DNA/NodeRandomValue.cs index 45eb572..920011d 100644 --- a/BlendFile/DNA/NodeRandomValue.cs +++ b/BlendFile/DNA/NodeRandomValue.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(675, "NodeRandomValue", 1)] - public struct NodeRandomValue { - [DNAFieldAttribute(0, "uchar", "data_type", "uchar", 1, false, 0)] + public class NodeRandomValue { + [DNAFieldAttribute(1, "uchar", 0, "data_type", "uchar", false, 0)] public byte data_type; public NodeRandomValue() { this.data_type = default; diff --git a/BlendFile/DNA/NodeRepeatItem.cs b/BlendFile/DNA/NodeRepeatItem.cs index f0404b8..afd0421 100644 --- a/BlendFile/DNA/NodeRepeatItem.cs +++ b/BlendFile/DNA/NodeRepeatItem.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(734, "NodeRepeatItem", 16)] public class NodeRepeatItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "short", "socket_type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 10)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "int", "identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; public NodeRepeatItem() { - this.ptr_name = default; + this.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; + public NodeRepeatItem(char name, short socket_type, char[] _pad, int identifier) { + this.name = name; this.socket_type = socket_type; this._pad = _pad; this.identifier = identifier; diff --git a/BlendFile/DNA/NodeReroute.cs b/BlendFile/DNA/NodeReroute.cs index 4b8ee48..64486de 100644 --- a/BlendFile/DNA/NodeReroute.cs +++ b/BlendFile/DNA/NodeReroute.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(600, "NodeReroute", 64)] - public struct NodeReroute { - [DNAFieldAttribute(0, "char", "type_idname[64]", "System.Char[]", 64, false, 0)] + public class NodeReroute { + [DNAFieldAttribute(64, "char", 0, "type_idname[64]", "System.Char[]", false, 0)] public char[] type_idname = new System.Char[64]; public NodeReroute() { this.type_idname = default; diff --git a/BlendFile/DNA/NodeScriptDict.cs b/BlendFile/DNA/NodeScriptDict.cs index 8df2aad..ee167d7 100644 --- a/BlendFile/DNA/NodeScriptDict.cs +++ b/BlendFile/DNA/NodeScriptDict.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(624, "NodeScriptDict", 16)] public class NodeScriptDict { - [DNAFieldAttribute(0, "void", "*dict", "void", 8, true, 0)] - public object ptr_dict; - [DNAFieldAttribute(1, "void", "*node", "void", 8, true, 8)] - public object ptr_node; + [DNAFieldAttribute(8, "void", 0, "*dict", "void", true, 0)] + public object dict; + [DNAFieldAttribute(8, "void", 1, "*node", "void", true, 8)] + public object node; public NodeScriptDict() { - this.ptr_dict = default; - this.ptr_node = default; + this.dict = default; + this.node = default; } - public NodeScriptDict(object ptr_dict, object ptr_node) { - this.ptr_dict = ptr_dict; - this.ptr_node = ptr_node; + public NodeScriptDict(object dict, object node) { + this.dict = dict; + this.node = node; } } } diff --git a/BlendFile/DNA/NodeSetAlpha.cs b/BlendFile/DNA/NodeSetAlpha.cs index 1467e93..bbf8636 100644 --- a/BlendFile/DNA/NodeSetAlpha.cs +++ b/BlendFile/DNA/NodeSetAlpha.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(633, "NodeSetAlpha", 1)] - public struct NodeSetAlpha { - [DNAFieldAttribute(0, "char", "mode", "char", 1, false, 0)] + public class NodeSetAlpha { + [DNAFieldAttribute(1, "char", 0, "mode", "char", false, 0)] public char mode; public NodeSetAlpha() { this.mode = default; diff --git a/BlendFile/DNA/NodeShaderAttribute.cs b/BlendFile/DNA/NodeShaderAttribute.cs index bf1a400..e871093 100644 --- a/BlendFile/DNA/NodeShaderAttribute.cs +++ b/BlendFile/DNA/NodeShaderAttribute.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(649, "NodeShaderAttribute", 264)] - public struct NodeShaderAttribute { - [DNAFieldAttribute(0, "char", "name[256]", "System.Char[]", 256, false, 0)] + public class NodeShaderAttribute { + [DNAFieldAttribute(256, "char", 0, "name[256]", "System.Char[]", false, 0)] public char[] name = new System.Char[256]; - [DNAFieldAttribute(1, "int", "type", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 1, "type", "int", false, 256)] public int type; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 260)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 260)] public char[] _pad = new System.Char[4]; public NodeShaderAttribute() { this.name = default; diff --git a/BlendFile/DNA/NodeShaderHairPrincipled.cs b/BlendFile/DNA/NodeShaderHairPrincipled.cs index ccafcc1..b49070c 100644 --- a/BlendFile/DNA/NodeShaderHairPrincipled.cs +++ b/BlendFile/DNA/NodeShaderHairPrincipled.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(654, "NodeShaderHairPrincipled", 8)] - public struct NodeShaderHairPrincipled { - [DNAFieldAttribute(0, "short", "model", "short", 2, false, 0)] + public class NodeShaderHairPrincipled { + [DNAFieldAttribute(2, "short", 0, "model", "short", false, 0)] public short model; - [DNAFieldAttribute(1, "short", "parametrization", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "parametrization", "short", false, 2)] public short parametrization; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; public NodeShaderHairPrincipled() { this.model = default; diff --git a/BlendFile/DNA/NodeShaderMix.cs b/BlendFile/DNA/NodeShaderMix.cs index 08acbc8..4e52dad 100644 --- a/BlendFile/DNA/NodeShaderMix.cs +++ b/BlendFile/DNA/NodeShaderMix.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(750, "NodeShaderMix", 8)] - public struct NodeShaderMix { - [DNAFieldAttribute(0, "int8_t", "data_type", "int8_t", 1, false, 0)] + public class NodeShaderMix { + [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(1, "int8_t", "factor_mode", "int8_t", 1, false, 1)] + [DNAFieldAttribute(1, "int8_t", 1, "factor_mode", "int8_t", false, 1)] public sbyte factor_mode; - [DNAFieldAttribute(2, "int8_t", "clamp_factor", "int8_t", 1, false, 2)] + [DNAFieldAttribute(1, "int8_t", 2, "clamp_factor", "int8_t", false, 2)] public sbyte clamp_factor; - [DNAFieldAttribute(3, "int8_t", "clamp_result", "int8_t", 1, false, 3)] + [DNAFieldAttribute(1, "int8_t", 3, "clamp_result", "int8_t", false, 3)] public sbyte clamp_result; - [DNAFieldAttribute(4, "int8_t", "blend_type", "int8_t", 1, false, 4)] + [DNAFieldAttribute(1, "int8_t", 4, "blend_type", "int8_t", false, 4)] public sbyte blend_type; - [DNAFieldAttribute(5, "char", "_pad[3]", "System.Char[]", 3, false, 5)] + [DNAFieldAttribute(3, "char", 5, "_pad[3]", "System.Char[]", false, 5)] public char[] _pad = new System.Char[3]; public NodeShaderMix() { this.data_type = default; diff --git a/BlendFile/DNA/NodeShaderNormalMap.cs b/BlendFile/DNA/NodeShaderNormalMap.cs index c8b4ae7..ca30954 100644 --- a/BlendFile/DNA/NodeShaderNormalMap.cs +++ b/BlendFile/DNA/NodeShaderNormalMap.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(663, "NodeShaderNormalMap", 68)] - public struct NodeShaderNormalMap { - [DNAFieldAttribute(0, "int", "space", "int", 4, false, 0)] + public class NodeShaderNormalMap { + [DNAFieldAttribute(4, "int", 0, "space", "int", false, 0)] public int space; - [DNAFieldAttribute(1, "char", "uv_map[64]", "System.Char[]", 64, false, 4)] + [DNAFieldAttribute(64, "char", 1, "uv_map[64]", "System.Char[]", false, 4)] public char[] uv_map = new System.Char[64]; public NodeShaderNormalMap() { this.space = default; diff --git a/BlendFile/DNA/NodeShaderOutputAOV.cs b/BlendFile/DNA/NodeShaderOutputAOV.cs index 93fcee4..d3eacc8 100644 --- a/BlendFile/DNA/NodeShaderOutputAOV.cs +++ b/BlendFile/DNA/NodeShaderOutputAOV.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(667, "NodeShaderOutputAOV", 64)] - public struct NodeShaderOutputAOV { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class NodeShaderOutputAOV { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; public NodeShaderOutputAOV() { this.name = default; diff --git a/BlendFile/DNA/NodeShaderPrincipled.cs b/BlendFile/DNA/NodeShaderPrincipled.cs index 8907045..cfd193f 100644 --- a/BlendFile/DNA/NodeShaderPrincipled.cs +++ b/BlendFile/DNA/NodeShaderPrincipled.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(653, "NodeShaderPrincipled", 4)] - public struct NodeShaderPrincipled { - [DNAFieldAttribute(0, "char", "use_subsurface_auto_radius", "char", 1, false, 0)] + public class NodeShaderPrincipled { + [DNAFieldAttribute(1, "char", 0, "use_subsurface_auto_radius", "char", false, 0)] public char use_subsurface_auto_radius; - [DNAFieldAttribute(1, "char", "_pad[3]", "System.Char[]", 3, false, 1)] + [DNAFieldAttribute(3, "char", 1, "_pad[3]", "System.Char[]", false, 1)] public char[] _pad = new System.Char[3]; public NodeShaderPrincipled() { this.use_subsurface_auto_radius = default; diff --git a/BlendFile/DNA/NodeShaderScript.cs b/BlendFile/DNA/NodeShaderScript.cs index cee9cdd..bb669fd 100644 --- a/BlendFile/DNA/NodeShaderScript.cs +++ b/BlendFile/DNA/NodeShaderScript.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(661, "NodeShaderScript", 1104)] public class NodeShaderScript { - [DNAFieldAttribute(0, "int", "mode", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "mode", "int", false, 0)] public int mode; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 4)] public int flag; - [DNAFieldAttribute(2, "char", "filepath[1024]", "System.Char[]", 1024, false, 8)] + [DNAFieldAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", false, 8)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(3, "char", "bytecode_hash[64]", "System.Char[]", 64, false, 1032)] + [DNAFieldAttribute(64, "char", 3, "bytecode_hash[64]", "System.Char[]", false, 1032)] public char[] bytecode_hash = new System.Char[64]; - [DNAFieldAttribute(4, "char", "*bytecode", "char", 8, true, 1096)] - public char ptr_bytecode; + [DNAFieldAttribute(8, "char", 4, "*bytecode", "char", true, 1096)] + public char bytecode; public NodeShaderScript() { this.mode = default; this.flag = default; this.filepath = default; this.bytecode_hash = default; - this.ptr_bytecode = default; + this.bytecode = default; } - public NodeShaderScript(int mode, int flag, char[] filepath, char[] bytecode_hash, char ptr_bytecode) { + public NodeShaderScript(int mode, int flag, char[] filepath, char[] bytecode_hash, char bytecode) { this.mode = mode; this.flag = flag; this.filepath = filepath; this.bytecode_hash = bytecode_hash; - this.ptr_bytecode = ptr_bytecode; + this.bytecode = bytecode; } } } diff --git a/BlendFile/DNA/NodeShaderTangent.cs b/BlendFile/DNA/NodeShaderTangent.cs index ea851ee..d4c15a7 100644 --- a/BlendFile/DNA/NodeShaderTangent.cs +++ b/BlendFile/DNA/NodeShaderTangent.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(662, "NodeShaderTangent", 72)] - public struct NodeShaderTangent { - [DNAFieldAttribute(0, "int", "direction_type", "int", 4, false, 0)] + public class NodeShaderTangent { + [DNAFieldAttribute(4, "int", 0, "direction_type", "int", false, 0)] public int direction_type; - [DNAFieldAttribute(1, "int", "axis", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "axis", "int", false, 4)] public int axis; - [DNAFieldAttribute(2, "char", "uv_map[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(64, "char", 2, "uv_map[64]", "System.Char[]", false, 8)] public char[] uv_map = new System.Char[64]; public NodeShaderTangent() { this.direction_type = default; diff --git a/BlendFile/DNA/NodeShaderTexIES.cs b/BlendFile/DNA/NodeShaderTexIES.cs index 1207968..d850744 100644 --- a/BlendFile/DNA/NodeShaderTexIES.cs +++ b/BlendFile/DNA/NodeShaderTexIES.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(666, "NodeShaderTexIES", 1028)] - public struct NodeShaderTexIES { - [DNAFieldAttribute(0, "int", "mode", "int", 4, false, 0)] + public class NodeShaderTexIES { + [DNAFieldAttribute(4, "int", 0, "mode", "int", false, 0)] public int mode; - [DNAFieldAttribute(1, "char", "filepath[1024]", "System.Char[]", 1024, false, 4)] + [DNAFieldAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", false, 4)] public char[] filepath = new System.Char[1024]; public NodeShaderTexIES() { this.mode = default; diff --git a/BlendFile/DNA/NodeShaderTexPointDensity.cs b/BlendFile/DNA/NodeShaderTexPointDensity.cs index 41d3a24..c0f76b0 100644 --- a/BlendFile/DNA/NodeShaderTexPointDensity.cs +++ b/BlendFile/DNA/NodeShaderTexPointDensity.cs @@ -14,32 +14,32 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(651, "NodeShaderTexPointDensity", 1232)] - public struct NodeShaderTexPointDensity { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeShaderTexPointDensity { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "short", "point_source", "short", 2, false, 960)] + [DNAFieldAttribute(2, "short", 1, "point_source", "short", false, 960)] public short point_source; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 962)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 962)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "int", "particle_system", "int", 4, false, 964)] + [DNAFieldAttribute(4, "int", 3, "particle_system", "int", false, 964)] public int particle_system; - [DNAFieldAttribute(4, "float", "radius", "float", 4, false, 968)] + [DNAFieldAttribute(4, "float", 4, "radius", "float", false, 968)] public float radius; - [DNAFieldAttribute(5, "int", "resolution", "int", 4, false, 972)] + [DNAFieldAttribute(4, "int", 5, "resolution", "int", false, 972)] public int resolution; - [DNAFieldAttribute(6, "short", "space", "short", 2, false, 976)] + [DNAFieldAttribute(2, "short", 6, "space", "short", false, 976)] public short space; - [DNAFieldAttribute(7, "short", "interpolation", "short", 2, false, 978)] + [DNAFieldAttribute(2, "short", 7, "interpolation", "short", false, 978)] public short interpolation; - [DNAFieldAttribute(8, "short", "color_source", "short", 2, false, 980)] + [DNAFieldAttribute(2, "short", 8, "color_source", "short", false, 980)] public short color_source; - [DNAFieldAttribute(9, "short", "ob_color_source", "short", 2, false, 982)] + [DNAFieldAttribute(2, "short", 9, "ob_color_source", "short", false, 982)] public short ob_color_source; - [DNAFieldAttribute(10, "PointDensity", "pd", "PointDensity", 176, false, 984)] + [DNAFieldAttribute(176, "PointDensity", 10, "pd", "PointDensity", false, 984)] public PointDensity pd; - [DNAFieldAttribute(11, "int", "cached_resolution", "int", 4, false, 1160)] + [DNAFieldAttribute(4, "int", 11, "cached_resolution", "int", false, 1160)] public int cached_resolution; - [DNAFieldAttribute(12, "char", "vertex_attribute_name[68]", "System.Char[]", 68, false, 1164)] + [DNAFieldAttribute(68, "char", 12, "vertex_attribute_name[68]", "System.Char[]", false, 1164)] public char[] vertex_attribute_name = new System.Char[68]; public NodeShaderTexPointDensity() { this.@base = default; diff --git a/BlendFile/DNA/NodeShaderUVMap.cs b/BlendFile/DNA/NodeShaderUVMap.cs index 3dc56f2..665b4c8 100644 --- a/BlendFile/DNA/NodeShaderUVMap.cs +++ b/BlendFile/DNA/NodeShaderUVMap.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(664, "NodeShaderUVMap", 64)] - public struct NodeShaderUVMap { - [DNAFieldAttribute(0, "char", "uv_map[64]", "System.Char[]", 64, false, 0)] + public class NodeShaderUVMap { + [DNAFieldAttribute(64, "char", 0, "uv_map[64]", "System.Char[]", false, 0)] public char[] uv_map = new System.Char[64]; public NodeShaderUVMap() { this.uv_map = default; diff --git a/BlendFile/DNA/NodeShaderVectTransform.cs b/BlendFile/DNA/NodeShaderVectTransform.cs index 9f258bc..c5a73e1 100644 --- a/BlendFile/DNA/NodeShaderVectTransform.cs +++ b/BlendFile/DNA/NodeShaderVectTransform.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(650, "NodeShaderVectTransform", 16)] - public struct NodeShaderVectTransform { - [DNAFieldAttribute(0, "int", "type", "int", 4, false, 0)] + public class NodeShaderVectTransform { + [DNAFieldAttribute(4, "int", 0, "type", "int", false, 0)] public int type; - [DNAFieldAttribute(1, "int", "convert_from", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "convert_from", "int", false, 4)] public int convert_from; - [DNAFieldAttribute(2, "int", "convert_to", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "convert_to", "int", false, 8)] public int convert_to; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public NodeShaderVectTransform() { this.type = default; diff --git a/BlendFile/DNA/NodeShaderVertexColor.cs b/BlendFile/DNA/NodeShaderVertexColor.cs index b0468c9..7711433 100644 --- a/BlendFile/DNA/NodeShaderVertexColor.cs +++ b/BlendFile/DNA/NodeShaderVertexColor.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(665, "NodeShaderVertexColor", 64)] - public struct NodeShaderVertexColor { - [DNAFieldAttribute(0, "char", "layer_name[64]", "System.Char[]", 64, false, 0)] + public class NodeShaderVertexColor { + [DNAFieldAttribute(64, "char", 0, "layer_name[64]", "System.Char[]", false, 0)] public char[] layer_name = new System.Char[64]; public NodeShaderVertexColor() { this.layer_name = default; diff --git a/BlendFile/DNA/NodeSimulationItem.cs b/BlendFile/DNA/NodeSimulationItem.cs index 838aa41..35cadd2 100644 --- a/BlendFile/DNA/NodeSimulationItem.cs +++ b/BlendFile/DNA/NodeSimulationItem.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(731, "NodeSimulationItem", 16)] public class NodeSimulationItem { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "short", "socket_type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "short", "attribute_domain", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 2, "attribute_domain", "short", false, 10)] public short attribute_domain; - [DNAFieldAttribute(3, "int", "identifier", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; public NodeSimulationItem() { - this.ptr_name = default; + this.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; + public NodeSimulationItem(char name, short socket_type, short attribute_domain, int identifier) { + this.name = name; this.socket_type = socket_type; this.attribute_domain = attribute_domain; this.identifier = identifier; diff --git a/BlendFile/DNA/NodeSunBeams.cs b/BlendFile/DNA/NodeSunBeams.cs index 3746f89..5a4a6f5 100644 --- a/BlendFile/DNA/NodeSunBeams.cs +++ b/BlendFile/DNA/NodeSunBeams.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(668, "NodeSunBeams", 12)] - public struct NodeSunBeams { - [DNAFieldAttribute(0, "float", "source[2]", "System.Single[]", 8, false, 0)] + public class NodeSunBeams { + [DNAFieldAttribute(8, "float", 0, "source[2]", "System.Single[]", false, 0)] public float[] source = new System.Single[2]; - [DNAFieldAttribute(1, "float", "ray_length", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 1, "ray_length", "float", false, 8)] public float ray_length; public NodeSunBeams() { this.source = default; diff --git a/BlendFile/DNA/NodeSwitch.cs b/BlendFile/DNA/NodeSwitch.cs index 349a257..ba9ebc6 100644 --- a/BlendFile/DNA/NodeSwitch.cs +++ b/BlendFile/DNA/NodeSwitch.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(696, "NodeSwitch", 1)] - public struct NodeSwitch { - [DNAFieldAttribute(0, "uchar", "input_type", "uchar", 1, false, 0)] + public class NodeSwitch { + [DNAFieldAttribute(1, "uchar", 0, "input_type", "uchar", false, 0)] public byte input_type; public NodeSwitch() { this.input_type = default; diff --git a/BlendFile/DNA/NodeTexBase.cs b/BlendFile/DNA/NodeTexBase.cs index d3de9d6..4a30e1d 100644 --- a/BlendFile/DNA/NodeTexBase.cs +++ b/BlendFile/DNA/NodeTexBase.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(634, "NodeTexBase", 960)] - public struct NodeTexBase { - [DNAFieldAttribute(0, "TexMapping", "tex_mapping", "TexMapping", 144, false, 0)] + public class NodeTexBase { + [DNAFieldAttribute(144, "TexMapping", 0, "tex_mapping", "TexMapping", false, 0)] public TexMapping tex_mapping; - [DNAFieldAttribute(1, "ColorMapping", "color_mapping", "ColorMapping", 816, false, 144)] + [DNAFieldAttribute(816, "ColorMapping", 1, "color_mapping", "ColorMapping", false, 144)] public ColorMapping color_mapping; public NodeTexBase() { this.tex_mapping = default; diff --git a/BlendFile/DNA/NodeTexBrick.cs b/BlendFile/DNA/NodeTexBrick.cs index f1fee1d..f21dde5 100644 --- a/BlendFile/DNA/NodeTexBrick.cs +++ b/BlendFile/DNA/NodeTexBrick.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(640, "NodeTexBrick", 976)] - public struct NodeTexBrick { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexBrick { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "offset_freq", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "offset_freq", "int", false, 960)] public int offset_freq; - [DNAFieldAttribute(2, "int", "squash_freq", "int", 4, false, 964)] + [DNAFieldAttribute(4, "int", 2, "squash_freq", "int", false, 964)] public int squash_freq; - [DNAFieldAttribute(3, "float", "offset", "float", 4, false, 968)] + [DNAFieldAttribute(4, "float", 3, "offset", "float", false, 968)] public float offset; - [DNAFieldAttribute(4, "float", "squash", "float", 4, false, 972)] + [DNAFieldAttribute(4, "float", 4, "squash", "float", false, 972)] public float squash; public NodeTexBrick() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexChecker.cs b/BlendFile/DNA/NodeTexChecker.cs index 2ebaba3..0873c85 100644 --- a/BlendFile/DNA/NodeTexChecker.cs +++ b/BlendFile/DNA/NodeTexChecker.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(639, "NodeTexChecker", 960)] - public struct NodeTexChecker { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexChecker { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; public NodeTexChecker() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexEnvironment.cs b/BlendFile/DNA/NodeTexEnvironment.cs index 0869a01..e6ecfbd 100644 --- a/BlendFile/DNA/NodeTexEnvironment.cs +++ b/BlendFile/DNA/NodeTexEnvironment.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(641, "NodeTexEnvironment", 1016)] - public struct NodeTexEnvironment { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexEnvironment { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "ImageUser", "iuser", "ImageUser", 40, false, 960)] + [DNAFieldAttribute(40, "ImageUser", 1, "iuser", "ImageUser", false, 960)] public ImageUser iuser; - [DNAFieldAttribute(2, "int", "color_space", "int", 4, false, 1000)] + [DNAFieldAttribute(4, "int", 2, "color_space", "int", false, 1000)] public int color_space; - [DNAFieldAttribute(3, "int", "projection", "int", 4, false, 1004)] + [DNAFieldAttribute(4, "int", 3, "projection", "int", false, 1004)] public int projection; - [DNAFieldAttribute(4, "int", "interpolation", "int", 4, false, 1008)] + [DNAFieldAttribute(4, "int", 4, "interpolation", "int", false, 1008)] public int interpolation; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 1012)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 1012)] public char[] _pad = new System.Char[4]; public NodeTexEnvironment() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexGabor.cs b/BlendFile/DNA/NodeTexGabor.cs index c3a740a..f4a24c3 100644 --- a/BlendFile/DNA/NodeTexGabor.cs +++ b/BlendFile/DNA/NodeTexGabor.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(642, "NodeTexGabor", 968)] - public struct NodeTexGabor { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexGabor { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "char", "type", "char", 1, false, 960)] + [DNAFieldAttribute(1, "char", 1, "type", "char", false, 960)] public char type; - [DNAFieldAttribute(2, "char", "_pad[7]", "System.Char[]", 7, false, 961)] + [DNAFieldAttribute(7, "char", 2, "_pad[7]", "System.Char[]", false, 961)] public char[] _pad = new System.Char[7]; public NodeTexGabor() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexGradient.cs b/BlendFile/DNA/NodeTexGradient.cs index 4948ef1..b779a43 100644 --- a/BlendFile/DNA/NodeTexGradient.cs +++ b/BlendFile/DNA/NodeTexGradient.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(643, "NodeTexGradient", 968)] - public struct NodeTexGradient { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexGradient { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "gradient_type", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "gradient_type", "int", false, 960)] public int gradient_type; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 964)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 964)] public char[] _pad = new System.Char[4]; public NodeTexGradient() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexImage.cs b/BlendFile/DNA/NodeTexImage.cs index be0a66d..2b987d8 100644 --- a/BlendFile/DNA/NodeTexImage.cs +++ b/BlendFile/DNA/NodeTexImage.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(638, "NodeTexImage", 1024)] - public struct NodeTexImage { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexImage { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "ImageUser", "iuser", "ImageUser", 40, false, 960)] + [DNAFieldAttribute(40, "ImageUser", 1, "iuser", "ImageUser", false, 960)] public ImageUser iuser; - [DNAFieldAttribute(2, "int", "color_space", "int", 4, false, 1000)] + [DNAFieldAttribute(4, "int", 2, "color_space", "int", false, 1000)] public int color_space; - [DNAFieldAttribute(3, "int", "projection", "int", 4, false, 1004)] + [DNAFieldAttribute(4, "int", 3, "projection", "int", false, 1004)] public int projection; - [DNAFieldAttribute(4, "float", "projection_blend", "float", 4, false, 1008)] + [DNAFieldAttribute(4, "float", 4, "projection_blend", "float", false, 1008)] public float projection_blend; - [DNAFieldAttribute(5, "int", "interpolation", "int", 4, false, 1012)] + [DNAFieldAttribute(4, "int", 5, "interpolation", "int", false, 1012)] public int interpolation; - [DNAFieldAttribute(6, "int", "extension", "int", 4, false, 1016)] + [DNAFieldAttribute(4, "int", 6, "extension", "int", false, 1016)] public int extension; - [DNAFieldAttribute(7, "char", "_pad[4]", "System.Char[]", 4, false, 1020)] + [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 1020)] public char[] _pad = new System.Char[4]; public NodeTexImage() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexMagic.cs b/BlendFile/DNA/NodeTexMagic.cs index ebd50b8..8a578b5 100644 --- a/BlendFile/DNA/NodeTexMagic.cs +++ b/BlendFile/DNA/NodeTexMagic.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(648, "NodeTexMagic", 968)] - public struct NodeTexMagic { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexMagic { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "depth", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "depth", "int", false, 960)] public int depth; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 964)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 964)] public char[] _pad = new System.Char[4]; public NodeTexMagic() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexMusgrave.cs b/BlendFile/DNA/NodeTexMusgrave.cs index afffac5..7760748 100644 --- a/BlendFile/DNA/NodeTexMusgrave.cs +++ b/BlendFile/DNA/NodeTexMusgrave.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(646, "NodeTexMusgrave", 968)] - public struct NodeTexMusgrave { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexMusgrave { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "musgrave_type", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "musgrave_type", "int", false, 960)] public int musgrave_type; - [DNAFieldAttribute(2, "int", "dimensions", "int", 4, false, 964)] + [DNAFieldAttribute(4, "int", 2, "dimensions", "int", false, 964)] public int dimensions; public NodeTexMusgrave() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexNoise.cs b/BlendFile/DNA/NodeTexNoise.cs index 2eb4684..146ca55 100644 --- a/BlendFile/DNA/NodeTexNoise.cs +++ b/BlendFile/DNA/NodeTexNoise.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(644, "NodeTexNoise", 968)] - public struct NodeTexNoise { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexNoise { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "dimensions", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "dimensions", "int", false, 960)] public int dimensions; - [DNAFieldAttribute(2, "uchar", "type", "uchar", 1, false, 964)] + [DNAFieldAttribute(1, "uchar", 2, "type", "uchar", false, 964)] public byte type; - [DNAFieldAttribute(3, "uchar", "normalize", "uchar", 1, false, 965)] + [DNAFieldAttribute(1, "uchar", 3, "normalize", "uchar", false, 965)] public byte normalize; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 966)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 966)] public char[] _pad = new System.Char[2]; public NodeTexNoise() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexSky.cs b/BlendFile/DNA/NodeTexSky.cs index 5d5cb27..ed7b7d6 100644 --- a/BlendFile/DNA/NodeTexSky.cs +++ b/BlendFile/DNA/NodeTexSky.cs @@ -14,36 +14,36 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(637, "NodeTexSky", 1024)] - public struct NodeTexSky { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexSky { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "sky_model", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "sky_model", "int", false, 960)] public int sky_model; - [DNAFieldAttribute(2, "float", "sun_direction[3]", "System.Single[]", 12, false, 964)] + [DNAFieldAttribute(12, "float", 2, "sun_direction[3]", "System.Single[]", false, 964)] public float[] sun_direction = new System.Single[3]; - [DNAFieldAttribute(3, "float", "turbidity", "float", 4, false, 976)] + [DNAFieldAttribute(4, "float", 3, "turbidity", "float", false, 976)] public float turbidity; - [DNAFieldAttribute(4, "float", "ground_albedo", "float", 4, false, 980)] + [DNAFieldAttribute(4, "float", 4, "ground_albedo", "float", false, 980)] public float ground_albedo; - [DNAFieldAttribute(5, "float", "sun_size", "float", 4, false, 984)] + [DNAFieldAttribute(4, "float", 5, "sun_size", "float", false, 984)] public float sun_size; - [DNAFieldAttribute(6, "float", "sun_intensity", "float", 4, false, 988)] + [DNAFieldAttribute(4, "float", 6, "sun_intensity", "float", false, 988)] public float sun_intensity; - [DNAFieldAttribute(7, "float", "sun_elevation", "float", 4, false, 992)] + [DNAFieldAttribute(4, "float", 7, "sun_elevation", "float", false, 992)] public float sun_elevation; - [DNAFieldAttribute(8, "float", "sun_rotation", "float", 4, false, 996)] + [DNAFieldAttribute(4, "float", 8, "sun_rotation", "float", false, 996)] public float sun_rotation; - [DNAFieldAttribute(9, "float", "altitude", "float", 4, false, 1000)] + [DNAFieldAttribute(4, "float", 9, "altitude", "float", false, 1000)] public float altitude; - [DNAFieldAttribute(10, "float", "air_density", "float", 4, false, 1004)] + [DNAFieldAttribute(4, "float", 10, "air_density", "float", false, 1004)] public float air_density; - [DNAFieldAttribute(11, "float", "dust_density", "float", 4, false, 1008)] + [DNAFieldAttribute(4, "float", 11, "dust_density", "float", false, 1008)] public float dust_density; - [DNAFieldAttribute(12, "float", "ozone_density", "float", 4, false, 1012)] + [DNAFieldAttribute(4, "float", 12, "ozone_density", "float", false, 1012)] public float ozone_density; - [DNAFieldAttribute(13, "char", "sun_disc", "char", 1, false, 1016)] + [DNAFieldAttribute(1, "char", 13, "sun_disc", "char", false, 1016)] public char sun_disc; - [DNAFieldAttribute(14, "char", "_pad[7]", "System.Char[]", 7, false, 1017)] + [DNAFieldAttribute(7, "char", 14, "_pad[7]", "System.Char[]", false, 1017)] public char[] _pad = new System.Char[7]; public NodeTexSky() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexVoronoi.cs b/BlendFile/DNA/NodeTexVoronoi.cs index c140f7d..44231e2 100644 --- a/BlendFile/DNA/NodeTexVoronoi.cs +++ b/BlendFile/DNA/NodeTexVoronoi.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(645, "NodeTexVoronoi", 984)] - public struct NodeTexVoronoi { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexVoronoi { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "dimensions", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "dimensions", "int", false, 960)] public int dimensions; - [DNAFieldAttribute(2, "int", "feature", "int", 4, false, 964)] + [DNAFieldAttribute(4, "int", 2, "feature", "int", false, 964)] public int feature; - [DNAFieldAttribute(3, "int", "distance", "int", 4, false, 968)] + [DNAFieldAttribute(4, "int", 3, "distance", "int", false, 968)] public int distance; - [DNAFieldAttribute(4, "int", "normalize", "int", 4, false, 972)] + [DNAFieldAttribute(4, "int", 4, "normalize", "int", false, 972)] public int normalize; - [DNAFieldAttribute(5, "int", "coloring", "int", 4, false, 976)] + [DNAFieldAttribute(4, "int", 5, "coloring", "int", false, 976)] public int coloring; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 980)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 980)] public char[] _pad = new System.Char[4]; public NodeTexVoronoi() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexWave.cs b/BlendFile/DNA/NodeTexWave.cs index 31bc210..af0655d 100644 --- a/BlendFile/DNA/NodeTexWave.cs +++ b/BlendFile/DNA/NodeTexWave.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(647, "NodeTexWave", 976)] - public struct NodeTexWave { - [DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false, 0)] + public class NodeTexWave { + [DNAFieldAttribute(960, "NodeTexBase", 0, "base", "NodeTexBase", false, 0)] public NodeTexBase @base; - [DNAFieldAttribute(1, "int", "wave_type", "int", 4, false, 960)] + [DNAFieldAttribute(4, "int", 1, "wave_type", "int", false, 960)] public int wave_type; - [DNAFieldAttribute(2, "int", "bands_direction", "int", 4, false, 964)] + [DNAFieldAttribute(4, "int", 2, "bands_direction", "int", false, 964)] public int bands_direction; - [DNAFieldAttribute(3, "int", "rings_direction", "int", 4, false, 968)] + [DNAFieldAttribute(4, "int", 3, "rings_direction", "int", false, 968)] public int rings_direction; - [DNAFieldAttribute(4, "int", "wave_profile", "int", 4, false, 972)] + [DNAFieldAttribute(4, "int", 4, "wave_profile", "int", false, 972)] public int wave_profile; public NodeTexWave() { this.@base = default; diff --git a/BlendFile/DNA/NodeTonemap.cs b/BlendFile/DNA/NodeTonemap.cs index 830fc5b..3d18cac 100644 --- a/BlendFile/DNA/NodeTonemap.cs +++ b/BlendFile/DNA/NodeTonemap.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(626, "NodeTonemap", 32)] - public struct NodeTonemap { - [DNAFieldAttribute(0, "float", "key", "float", 4, false, 0)] + public class NodeTonemap { + [DNAFieldAttribute(4, "float", 0, "key", "float", false, 0)] public float key; - [DNAFieldAttribute(1, "float", "offset", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "offset", "float", false, 4)] public float offset; - [DNAFieldAttribute(2, "float", "gamma", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "gamma", "float", false, 8)] public float gamma; - [DNAFieldAttribute(3, "float", "f", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "f", "float", false, 12)] public float f; - [DNAFieldAttribute(4, "float", "m", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "m", "float", false, 16)] public float m; - [DNAFieldAttribute(5, "float", "a", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "a", "float", false, 20)] public float a; - [DNAFieldAttribute(6, "float", "c", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "c", "float", false, 24)] public float c; - [DNAFieldAttribute(7, "int", "type", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "type", "int", false, 28)] public int type; public NodeTonemap() { this.key = default; diff --git a/BlendFile/DNA/NodeTrackPosData.cs b/BlendFile/DNA/NodeTrackPosData.cs index 5313fdb..aca7da3 100644 --- a/BlendFile/DNA/NodeTrackPosData.cs +++ b/BlendFile/DNA/NodeTrackPosData.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(658, "NodeTrackPosData", 128)] - public struct NodeTrackPosData { - [DNAFieldAttribute(0, "char", "tracking_object[64]", "System.Char[]", 64, false, 0)] + public class NodeTrackPosData { + [DNAFieldAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", false, 0)] public char[] tracking_object = new System.Char[64]; - [DNAFieldAttribute(1, "char", "track_name[64]", "System.Char[]", 64, false, 64)] + [DNAFieldAttribute(64, "char", 1, "track_name[64]", "System.Char[]", false, 64)] public char[] track_name = new System.Char[64]; public NodeTrackPosData() { this.tracking_object = default; diff --git a/BlendFile/DNA/NodeTranslateData.cs b/BlendFile/DNA/NodeTranslateData.cs index 5016ad8..b604bf4 100644 --- a/BlendFile/DNA/NodeTranslateData.cs +++ b/BlendFile/DNA/NodeTranslateData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(659, "NodeTranslateData", 4)] - public struct NodeTranslateData { - [DNAFieldAttribute(0, "char", "wrap_axis", "char", 1, false, 0)] + public class NodeTranslateData { + [DNAFieldAttribute(1, "char", 0, "wrap_axis", "char", false, 0)] public char wrap_axis; - [DNAFieldAttribute(1, "char", "relative", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "relative", "char", false, 1)] public char relative; - [DNAFieldAttribute(2, "short", "interpolation", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 2, "interpolation", "short", false, 2)] public short interpolation; public NodeTranslateData() { this.wrap_axis = default; diff --git a/BlendFile/DNA/NodeTwoFloats.cs b/BlendFile/DNA/NodeTwoFloats.cs index 06b35f3..1323974 100644 --- a/BlendFile/DNA/NodeTwoFloats.cs +++ b/BlendFile/DNA/NodeTwoFloats.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(620, "NodeTwoFloats", 8)] - public struct NodeTwoFloats { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class NodeTwoFloats { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; public NodeTwoFloats() { this.x = default; diff --git a/BlendFile/DNA/NodeTwoXYs.cs b/BlendFile/DNA/NodeTwoXYs.cs index 4d5b50b..46e38b0 100644 --- a/BlendFile/DNA/NodeTwoXYs.cs +++ b/BlendFile/DNA/NodeTwoXYs.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(619, "NodeTwoXYs", 24)] - public struct NodeTwoXYs { - [DNAFieldAttribute(0, "short", "x1", "short", 2, false, 0)] + public class NodeTwoXYs { + [DNAFieldAttribute(2, "short", 0, "x1", "short", false, 0)] public short x1; - [DNAFieldAttribute(1, "short", "x2", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "x2", "short", false, 2)] public short x2; - [DNAFieldAttribute(2, "short", "y1", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "y1", "short", false, 4)] public short y1; - [DNAFieldAttribute(3, "short", "y2", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "y2", "short", false, 6)] public short y2; - [DNAFieldAttribute(4, "float", "fac_x1", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 4, "fac_x1", "float", false, 8)] public float fac_x1; - [DNAFieldAttribute(5, "float", "fac_x2", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 5, "fac_x2", "float", false, 12)] public float fac_x2; - [DNAFieldAttribute(6, "float", "fac_y1", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 6, "fac_y1", "float", false, 16)] public float fac_y1; - [DNAFieldAttribute(7, "float", "fac_y2", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 7, "fac_y2", "float", false, 20)] public float fac_y2; public NodeTwoXYs() { this.x1 = default; diff --git a/BlendFile/DNA/NodeVertexCol.cs b/BlendFile/DNA/NodeVertexCol.cs index 9d6e543..0391623 100644 --- a/BlendFile/DNA/NodeVertexCol.cs +++ b/BlendFile/DNA/NodeVertexCol.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(621, "NodeVertexCol", 64)] - public struct NodeVertexCol { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class NodeVertexCol { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; public NodeVertexCol() { this.name = default; diff --git a/BlendFile/DNA/NodesModifierBake.cs b/BlendFile/DNA/NodesModifierBake.cs index 229aee4..7b92187 100644 --- a/BlendFile/DNA/NodesModifierBake.cs +++ b/BlendFile/DNA/NodesModifierBake.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(518, "NodesModifierBake", 72)] public class NodesModifierBake { - [DNAFieldAttribute(0, "int", "id", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "id", "int", false, 0)] public int id; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 4)] public int flag; - [DNAFieldAttribute(2, "uchar", "bake_mode", "uchar", 1, false, 8)] + [DNAFieldAttribute(1, "uchar", 2, "bake_mode", "uchar", false, 8)] public byte bake_mode; - [DNAFieldAttribute(3, "int8_t", "bake_target", "int8_t", 1, false, 9)] + [DNAFieldAttribute(1, "int8_t", 3, "bake_target", "int8_t", false, 9)] public sbyte bake_target; - [DNAFieldAttribute(4, "char", "_pad[6]", "System.Char[]", 6, false, 10)] + [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(5, "char", "*directory", "char", 8, true, 16)] - public char ptr_directory; - [DNAFieldAttribute(6, "int", "frame_start", "int", 4, false, 24)] + [DNAFieldAttribute(8, "char", 5, "*directory", "char", true, 16)] + public char directory; + [DNAFieldAttribute(4, "int", 6, "frame_start", "int", false, 24)] public int frame_start; - [DNAFieldAttribute(7, "int", "frame_end", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "frame_end", "int", false, 28)] public int frame_end; - [DNAFieldAttribute(8, "int", "data_blocks_num", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 8, "data_blocks_num", "int", false, 32)] public int data_blocks_num; - [DNAFieldAttribute(9, "int", "active_data_block", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 9, "active_data_block", "int", false, 36)] public int active_data_block; - [DNAFieldAttribute(10, "NodesModifierDataBlock", "*data_blocks", "NodesModifierDataBlock", 8, true, 40)] - public NodesModifierDataBlock ptr_data_blocks; - [DNAFieldAttribute(11, "NodesModifierPackedBake", "*packed", "NodesModifierPackedBake", 8, true, 48)] - public NodesModifierPackedBake ptr_packed; - [DNAFieldAttribute(12, "void", "*_pad2", "void", 8, true, 56)] - public object ptr__pad2; - [DNAFieldAttribute(13, "int64_t", "bake_size", "int64_t", 8, false, 64)] + [DNAFieldAttribute(8, "NodesModifierDataBlock", 10, "*data_blocks", "NodesModifierDataBlock", true, 40)] + public NodesModifierDataBlock data_blocks; + [DNAFieldAttribute(8, "NodesModifierPackedBake", 11, "*packed", "NodesModifierPackedBake", true, 48)] + public NodesModifierPackedBake packed; + [DNAFieldAttribute(8, "void", 12, "*_pad2", "void", true, 56)] + public object _pad2; + [DNAFieldAttribute(8, "int64_t", 13, "bake_size", "int64_t", false, 64)] public long bake_size; public NodesModifierBake() { this.id = default; @@ -49,30 +49,30 @@ namespace BlendFile.DNA { this.bake_mode = default; this.bake_target = default; this._pad = default; - this.ptr_directory = default; + this.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.data_blocks = default; + this.packed = default; + this._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) { + public NodesModifierBake(int id, int flag, byte bake_mode, sbyte bake_target, char[] _pad, char directory, int frame_start, int frame_end, int data_blocks_num, int active_data_block, NodesModifierDataBlock data_blocks, NodesModifierPackedBake packed, object _pad2, long bake_size) { this.id = id; this.flag = flag; this.bake_mode = bake_mode; this.bake_target = bake_target; this._pad = _pad; - this.ptr_directory = ptr_directory; + this.directory = directory; this.frame_start = frame_start; this.frame_end = frame_end; this.data_blocks_num = data_blocks_num; this.active_data_block = active_data_block; - this.ptr_data_blocks = ptr_data_blocks; - this.ptr_packed = ptr_packed; - this.ptr__pad2 = ptr__pad2; + this.data_blocks = data_blocks; + this.packed = packed; + this._pad2 = _pad2; this.bake_size = bake_size; } } diff --git a/BlendFile/DNA/NodesModifierBakeFile.cs b/BlendFile/DNA/NodesModifierBakeFile.cs index 3a0fd27..215e3a2 100644 --- a/BlendFile/DNA/NodesModifierBakeFile.cs +++ b/BlendFile/DNA/NodesModifierBakeFile.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(516, "NodesModifierBakeFile", 16)] public class NodesModifierBakeFile { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; - [DNAFieldAttribute(1, "PackedFile", "*packed_file", "PackedFile", 8, true, 8)] - public PackedFile ptr_packed_file; + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; + [DNAFieldAttribute(8, "PackedFile", 1, "*packed_file", "PackedFile", true, 8)] + public PackedFile packed_file; public NodesModifierBakeFile() { - this.ptr_name = default; - this.ptr_packed_file = default; + this.name = default; + this.packed_file = default; } - public NodesModifierBakeFile(char ptr_name, PackedFile ptr_packed_file) { - this.ptr_name = ptr_name; - this.ptr_packed_file = ptr_packed_file; + public NodesModifierBakeFile(char name, PackedFile packed_file) { + this.name = name; + this.packed_file = packed_file; } } } diff --git a/BlendFile/DNA/NodesModifierData.cs b/BlendFile/DNA/NodesModifierData.cs index 351ae54..1e674cf 100644 --- a/BlendFile/DNA/NodesModifierData.cs +++ b/BlendFile/DNA/NodesModifierData.cs @@ -15,61 +15,61 @@ namespace BlendFile.DNA { [DNAClassAttribute(520, "NodesModifierData", 184)] public class NodesModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "bNodeTree", "*node_group", "bNodeTree", 8, true, 120)] - public bNodeTree ptr_node_group; - [DNAFieldAttribute(2, "NodesModifierSettings", "settings", "NodesModifierSettings", 8, false, 128)] + [DNAFieldAttribute(8, "bNodeTree", 1, "*node_group", "bNodeTree", true, 120)] + public bNodeTree node_group; + [DNAFieldAttribute(8, "NodesModifierSettings", 2, "settings", "NodesModifierSettings", false, 128)] public NodesModifierSettings settings; - [DNAFieldAttribute(3, "char", "*simulation_bake_directory", "char", 8, true, 136)] - public char ptr_simulation_bake_directory; - [DNAFieldAttribute(4, "int8_t", "flag", "int8_t", 1, false, 144)] + [DNAFieldAttribute(8, "char", 3, "*simulation_bake_directory", "char", true, 136)] + public char simulation_bake_directory; + [DNAFieldAttribute(1, "int8_t", 4, "flag", "int8_t", false, 144)] public sbyte flag; - [DNAFieldAttribute(5, "int8_t", "bake_target", "int8_t", 1, false, 145)] + [DNAFieldAttribute(1, "int8_t", 5, "bake_target", "int8_t", false, 145)] public sbyte bake_target; - [DNAFieldAttribute(6, "char", "_pad[2]", "System.Char[]", 2, false, 146)] + [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 146)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(7, "int", "bakes_num", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 7, "bakes_num", "int", false, 148)] public int bakes_num; - [DNAFieldAttribute(8, "NodesModifierBake", "*bakes", "NodesModifierBake", 8, true, 152)] - public NodesModifierBake ptr_bakes; - [DNAFieldAttribute(9, "char", "_pad2[4]", "System.Char[]", 4, false, 160)] + [DNAFieldAttribute(8, "NodesModifierBake", 8, "*bakes", "NodesModifierBake", true, 152)] + public NodesModifierBake bakes; + [DNAFieldAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", false, 160)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(10, "int", "panels_num", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 10, "panels_num", "int", false, 164)] public int panels_num; - [DNAFieldAttribute(11, "NodesModifierPanel", "*panels", "NodesModifierPanel", 8, true, 168)] - public NodesModifierPanel ptr_panels; - [DNAFieldAttribute(12, "NodesModifierRuntimeHandle", "*runtime", "NodesModifierRuntimeHandle", 8, true, 176)] - public NodesModifierRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "NodesModifierPanel", 11, "*panels", "NodesModifierPanel", true, 168)] + public NodesModifierPanel panels; + [DNAFieldAttribute(8, "NodesModifierRuntimeHandle", 12, "*runtime", "NodesModifierRuntimeHandle", true, 176)] + public NodesModifierRuntimeHandle runtime; public NodesModifierData() { this.modifier = default; - this.ptr_node_group = default; + this.node_group = default; this.settings = default; - this.ptr_simulation_bake_directory = default; + this.simulation_bake_directory = default; this.flag = default; this.bake_target = default; this._pad = default; this.bakes_num = default; - this.ptr_bakes = default; + this.bakes = default; this._pad2 = default; this.panels_num = default; - this.ptr_panels = default; - this.ptr_runtime = default; + this.panels = default; + this.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) { + public NodesModifierData(ModifierData modifier, bNodeTree node_group, NodesModifierSettings settings, char simulation_bake_directory, sbyte flag, sbyte bake_target, char[] _pad, int bakes_num, NodesModifierBake bakes, char[] _pad2, int panels_num, NodesModifierPanel panels, NodesModifierRuntimeHandle runtime) { this.modifier = modifier; - this.ptr_node_group = ptr_node_group; + this.node_group = node_group; this.settings = settings; - this.ptr_simulation_bake_directory = ptr_simulation_bake_directory; + this.simulation_bake_directory = simulation_bake_directory; this.flag = flag; this.bake_target = bake_target; this._pad = _pad; this.bakes_num = bakes_num; - this.ptr_bakes = ptr_bakes; + this.bakes = bakes; this._pad2 = _pad2; this.panels_num = panels_num; - this.ptr_panels = ptr_panels; - this.ptr_runtime = ptr_runtime; + this.panels = panels; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/NodesModifierDataBlock.cs b/BlendFile/DNA/NodesModifierDataBlock.cs index 84dfe68..f8f708a 100644 --- a/BlendFile/DNA/NodesModifierDataBlock.cs +++ b/BlendFile/DNA/NodesModifierDataBlock.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(515, "NodesModifierDataBlock", 32)] public class NodesModifierDataBlock { - [DNAFieldAttribute(0, "char", "*id_name", "char", 8, true, 0)] - public char ptr_id_name; - [DNAFieldAttribute(1, "char", "*lib_name", "char", 8, true, 8)] - public char ptr_lib_name; - [DNAFieldAttribute(2, "ID", "*id", "ID", 8, true, 16)] - public ID ptr_id; - [DNAFieldAttribute(3, "int", "id_type", "int", 4, false, 24)] + [DNAFieldAttribute(8, "char", 0, "*id_name", "char", true, 0)] + public char id_name; + [DNAFieldAttribute(8, "char", 1, "*lib_name", "char", true, 8)] + public char lib_name; + [DNAFieldAttribute(8, "ID", 2, "*id", "ID", true, 16)] + public ID id; + [DNAFieldAttribute(4, "int", 3, "id_type", "int", false, 24)] public int id_type; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] 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_name = default; + this.lib_name = default; + this.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; - this.ptr_id = ptr_id; + public NodesModifierDataBlock(char id_name, char lib_name, ID id, int id_type, char[] _pad) { + this.id_name = id_name; + this.lib_name = lib_name; + this.id = id; this.id_type = id_type; this._pad = _pad; } diff --git a/BlendFile/DNA/NodesModifierPackedBake.cs b/BlendFile/DNA/NodesModifierPackedBake.cs index b9cfeba..83365b9 100644 --- a/BlendFile/DNA/NodesModifierPackedBake.cs +++ b/BlendFile/DNA/NodesModifierPackedBake.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(517, "NodesModifierPackedBake", 24)] public class NodesModifierPackedBake { - [DNAFieldAttribute(0, "int", "meta_files_num", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "meta_files_num", "int", false, 0)] public int meta_files_num; - [DNAFieldAttribute(1, "int", "blob_files_num", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "blob_files_num", "int", false, 4)] public int blob_files_num; - [DNAFieldAttribute(2, "NodesModifierBakeFile", "*meta_files", "NodesModifierBakeFile", 8, true, 8)] - public NodesModifierBakeFile ptr_meta_files; - [DNAFieldAttribute(3, "NodesModifierBakeFile", "*blob_files", "NodesModifierBakeFile", 8, true, 16)] - public NodesModifierBakeFile ptr_blob_files; + [DNAFieldAttribute(8, "NodesModifierBakeFile", 2, "*meta_files", "NodesModifierBakeFile", true, 8)] + public NodesModifierBakeFile meta_files; + [DNAFieldAttribute(8, "NodesModifierBakeFile", 3, "*blob_files", "NodesModifierBakeFile", true, 16)] + public NodesModifierBakeFile blob_files; public NodesModifierPackedBake() { this.meta_files_num = default; this.blob_files_num = default; - this.ptr_meta_files = default; - this.ptr_blob_files = default; + this.meta_files = default; + this.blob_files = default; } - public NodesModifierPackedBake(int meta_files_num, int blob_files_num, NodesModifierBakeFile ptr_meta_files, NodesModifierBakeFile ptr_blob_files) { + public NodesModifierPackedBake(int meta_files_num, int blob_files_num, NodesModifierBakeFile meta_files, NodesModifierBakeFile blob_files) { this.meta_files_num = meta_files_num; this.blob_files_num = blob_files_num; - this.ptr_meta_files = ptr_meta_files; - this.ptr_blob_files = ptr_blob_files; + this.meta_files = meta_files; + this.blob_files = blob_files; } } } diff --git a/BlendFile/DNA/NodesModifierPanel.cs b/BlendFile/DNA/NodesModifierPanel.cs index 805630a..44d77f4 100644 --- a/BlendFile/DNA/NodesModifierPanel.cs +++ b/BlendFile/DNA/NodesModifierPanel.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(519, "NodesModifierPanel", 8)] - public struct NodesModifierPanel { - [DNAFieldAttribute(0, "int", "id", "int", 4, false, 0)] + public class NodesModifierPanel { + [DNAFieldAttribute(4, "int", 0, "id", "int", false, 0)] public int id; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 4)] public int flag; public NodesModifierPanel() { this.id = default; diff --git a/BlendFile/DNA/NodesModifierSettings.cs b/BlendFile/DNA/NodesModifierSettings.cs index 6ee6dbc..dd0b614 100644 --- a/BlendFile/DNA/NodesModifierSettings.cs +++ b/BlendFile/DNA/NodesModifierSettings.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(514, "NodesModifierSettings", 8)] public class NodesModifierSettings { - [DNAFieldAttribute(0, "IDProperty", "*properties", "IDProperty", 8, true, 0)] - public IDProperty ptr_properties; + [DNAFieldAttribute(8, "IDProperty", 0, "*properties", "IDProperty", true, 0)] + public IDProperty properties; public NodesModifierSettings() { - this.ptr_properties = default; + this.properties = default; } - public NodesModifierSettings(IDProperty ptr_properties) { - this.ptr_properties = ptr_properties; + public NodesModifierSettings(IDProperty properties) { + this.properties = properties; } } } diff --git a/BlendFile/DNA/NoiseGpencilModifierData.cs b/BlendFile/DNA/NoiseGpencilModifierData.cs index 3c438a0..a0eabc1 100644 --- a/BlendFile/DNA/NoiseGpencilModifierData.cs +++ b/BlendFile/DNA/NoiseGpencilModifierData.cs @@ -15,47 +15,47 @@ namespace BlendFile.DNA { [DNAClassAttribute(276, "NoiseGpencilModifierData", 360)] public class NoiseGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "factor", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "factor", "float", false, 312)] public float factor; - [DNAFieldAttribute(8, "float", "factor_strength", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 8, "factor_strength", "float", false, 316)] public float factor_strength; - [DNAFieldAttribute(9, "float", "factor_thickness", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 9, "factor_thickness", "float", false, 320)] public float factor_thickness; - [DNAFieldAttribute(10, "float", "factor_uvs", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 10, "factor_uvs", "float", false, 324)] public float factor_uvs; - [DNAFieldAttribute(11, "float", "noise_scale", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 11, "noise_scale", "float", false, 328)] public float noise_scale; - [DNAFieldAttribute(12, "float", "noise_offset", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 12, "noise_offset", "float", false, 332)] public float noise_offset; - [DNAFieldAttribute(13, "short", "noise_mode", "short", 2, false, 336)] + [DNAFieldAttribute(2, "short", 13, "noise_mode", "short", false, 336)] public short noise_mode; - [DNAFieldAttribute(14, "char", "_pad[2]", "System.Char[]", 2, false, 338)] + [DNAFieldAttribute(2, "char", 14, "_pad[2]", "System.Char[]", false, 338)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(15, "int", "step", "int", 4, false, 340)] + [DNAFieldAttribute(4, "int", 15, "step", "int", false, 340)] public int step; - [DNAFieldAttribute(16, "int", "layer_pass", "int", 4, false, 344)] + [DNAFieldAttribute(4, "int", 16, "layer_pass", "int", false, 344)] public int layer_pass; - [DNAFieldAttribute(17, "int", "seed", "int", 4, false, 348)] + [DNAFieldAttribute(4, "int", 17, "seed", "int", false, 348)] public int seed; - [DNAFieldAttribute(18, "CurveMapping", "*curve_intensity", "CurveMapping", 8, true, 352)] - public CurveMapping ptr_curve_intensity; + [DNAFieldAttribute(8, "CurveMapping", 18, "*curve_intensity", "CurveMapping", true, 352)] + public CurveMapping curve_intensity; public NoiseGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -72,11 +72,11 @@ namespace BlendFile.DNA { this.step = default; this.layer_pass = default; this.seed = default; - this.ptr_curve_intensity = default; + this.curve_intensity = default; } public NoiseGpencilModifierData( GpencilModifierData modifier, - Material ptr_material, + Material material, char[] layername, char[] materialname, char[] vgname, @@ -93,9 +93,9 @@ namespace BlendFile.DNA { int step, int layer_pass, int seed, - CurveMapping ptr_curve_intensity) { + CurveMapping curve_intensity) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; @@ -112,7 +112,7 @@ namespace BlendFile.DNA { this.step = step; this.layer_pass = layer_pass; this.seed = seed; - this.ptr_curve_intensity = ptr_curve_intensity; + this.curve_intensity = curve_intensity; } } } diff --git a/BlendFile/DNA/NormalEditModifierData.cs b/BlendFile/DNA/NormalEditModifierData.cs index d2eb0b3..142795f 100644 --- a/BlendFile/DNA/NormalEditModifierData.cs +++ b/BlendFile/DNA/NormalEditModifierData.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(508, "NormalEditModifierData", 232)] public class NormalEditModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(2, "Object", "*target", "Object", 8, true, 184)] - public Object ptr_target; - [DNAFieldAttribute(3, "short", "mode", "short", 2, false, 192)] + [DNAFieldAttribute(8, "Object", 2, "*target", "Object", true, 184)] + public Object target; + [DNAFieldAttribute(2, "short", 3, "mode", "short", false, 192)] public short mode; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)] public short flag; - [DNAFieldAttribute(5, "short", "mix_mode", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 5, "mix_mode", "short", false, 196)] public short mix_mode; - [DNAFieldAttribute(6, "char", "_pad[2]", "System.Char[]", 2, false, 198)] + [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 198)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(7, "float", "mix_factor", "float", 4, false, 200)] + [DNAFieldAttribute(4, "float", 7, "mix_factor", "float", false, 200)] public float mix_factor; - [DNAFieldAttribute(8, "float", "mix_limit", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 8, "mix_limit", "float", false, 204)] public float mix_limit; - [DNAFieldAttribute(9, "float", "offset[3]", "System.Single[]", 12, false, 208)] + [DNAFieldAttribute(12, "float", 9, "offset[3]", "System.Single[]", false, 208)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(10, "char", "_pad0[4]", "System.Char[]", 4, false, 220)] + [DNAFieldAttribute(4, "char", 10, "_pad0[4]", "System.Char[]", false, 220)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(11, "void", "*_pad1", "void", 8, true, 224)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 11, "*_pad1", "void", true, 224)] + public object _pad1; public NormalEditModifierData() { this.modifier = default; this.defgrp_name = default; - this.ptr_target = default; + this.target = default; this.mode = default; this.flag = default; this.mix_mode = default; @@ -51,12 +51,12 @@ namespace BlendFile.DNA { this.mix_limit = default; this.offset = default; this._pad0 = default; - this.ptr__pad1 = default; + this._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) { + public NormalEditModifierData(ModifierData modifier, char[] defgrp_name, Object target, short mode, short flag, short mix_mode, char[] _pad, float mix_factor, float mix_limit, float[] offset, char[] _pad0, object _pad1) { this.modifier = modifier; this.defgrp_name = defgrp_name; - this.ptr_target = ptr_target; + this.target = target; this.mode = mode; this.flag = flag; this.mix_mode = mix_mode; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { this.mix_limit = mix_limit; this.offset = offset; this._pad0 = _pad0; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/Nurb.cs b/BlendFile/DNA/Nurb.cs index 57839b3..85bf415 100644 --- a/BlendFile/DNA/Nurb.cs +++ b/BlendFile/DNA/Nurb.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(207, "Nurb", 88)] public class Nurb { - [DNAFieldAttribute(0, "Nurb", "*next", "Nurb", 8, true, 0)] - public Nurb ptr_next; - [DNAFieldAttribute(1, "Nurb", "*prev", "Nurb", 8, true, 8)] - public Nurb ptr_prev; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "Nurb", 0, "*next", "Nurb", true, 0)] + public Nurb next; + [DNAFieldAttribute(8, "Nurb", 1, "*prev", "Nurb", true, 8)] + public Nurb prev; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "mat_nr", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "mat_nr", "short", false, 18)] public short mat_nr; - [DNAFieldAttribute(4, "short", "hide", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "hide", "short", false, 20)] public short hide; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 22)] public short flag; - [DNAFieldAttribute(6, "int", "pntsu", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "pntsu", "int", false, 24)] public int pntsu; - [DNAFieldAttribute(7, "int", "pntsv", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "pntsv", "int", false, 28)] public int pntsv; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 32)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 32)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(9, "short", "resolu", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 9, "resolu", "short", false, 36)] public short resolu; - [DNAFieldAttribute(10, "short", "resolv", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 10, "resolv", "short", false, 38)] public short resolv; - [DNAFieldAttribute(11, "short", "orderu", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 11, "orderu", "short", false, 40)] public short orderu; - [DNAFieldAttribute(12, "short", "orderv", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 12, "orderv", "short", false, 42)] public short orderv; - [DNAFieldAttribute(13, "short", "flagu", "short", 2, false, 44)] + [DNAFieldAttribute(2, "short", 13, "flagu", "short", false, 44)] public short flagu; - [DNAFieldAttribute(14, "short", "flagv", "short", 2, false, 46)] + [DNAFieldAttribute(2, "short", 14, "flagv", "short", false, 46)] public short flagv; - [DNAFieldAttribute(15, "float", "*knotsu", "float", 8, true, 48)] - public float ptr_knotsu; - [DNAFieldAttribute(16, "float", "*knotsv", "float", 8, true, 56)] - public float ptr_knotsv; - [DNAFieldAttribute(17, "BPoint", "*bp", "BPoint", 8, true, 64)] - public BPoint ptr_bp; - [DNAFieldAttribute(18, "BezTriple", "*bezt", "BezTriple", 8, true, 72)] - public BezTriple ptr_bezt; - [DNAFieldAttribute(19, "short", "tilt_interp", "short", 2, false, 80)] + [DNAFieldAttribute(8, "float", 15, "*knotsu", "float", true, 48)] + public float knotsu; + [DNAFieldAttribute(8, "float", 16, "*knotsv", "float", true, 56)] + public float knotsv; + [DNAFieldAttribute(8, "BPoint", 17, "*bp", "BPoint", true, 64)] + public BPoint bp; + [DNAFieldAttribute(8, "BezTriple", 18, "*bezt", "BezTriple", true, 72)] + public BezTriple bezt; + [DNAFieldAttribute(2, "short", 19, "tilt_interp", "short", false, 80)] public short tilt_interp; - [DNAFieldAttribute(20, "short", "radius_interp", "short", 2, false, 82)] + [DNAFieldAttribute(2, "short", 20, "radius_interp", "short", false, 82)] public short radius_interp; - [DNAFieldAttribute(21, "int", "charidx", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 21, "charidx", "int", false, 84)] public int charidx; public Nurb() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.mat_nr = default; this.hide = default; @@ -75,17 +75,17 @@ namespace BlendFile.DNA { 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.knotsu = default; + this.knotsv = default; + this.bp = default; + this.bezt = default; this.tilt_interp = default; this.radius_interp = default; this.charidx = default; } public Nurb( - Nurb ptr_next, - Nurb ptr_prev, + Nurb next, + Nurb prev, short type, short mat_nr, short hide, @@ -99,15 +99,15 @@ namespace BlendFile.DNA { short orderv, short flagu, short flagv, - float ptr_knotsu, - float ptr_knotsv, - BPoint ptr_bp, - BezTriple ptr_bezt, + float knotsu, + float knotsv, + BPoint bp, + BezTriple bezt, short tilt_interp, short radius_interp, int charidx) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.type = type; this.mat_nr = mat_nr; this.hide = hide; @@ -121,10 +121,10 @@ namespace BlendFile.DNA { this.orderv = orderv; this.flagu = flagu; this.flagv = flagv; - this.ptr_knotsu = ptr_knotsu; - this.ptr_knotsv = ptr_knotsv; - this.ptr_bp = ptr_bp; - this.ptr_bezt = ptr_bezt; + this.knotsu = knotsu; + this.knotsv = knotsv; + this.bp = bp; + this.bezt = bezt; this.tilt_interp = tilt_interp; this.radius_interp = radius_interp; this.charidx = charidx; diff --git a/BlendFile/DNA/ObHook.cs b/BlendFile/DNA/ObHook.cs index d68df6d..da080ab 100644 --- a/BlendFile/DNA/ObHook.cs +++ b/BlendFile/DNA/ObHook.cs @@ -15,60 +15,60 @@ namespace BlendFile.DNA { [DNAClassAttribute(773, "ObHook", 256)] public class ObHook { - [DNAFieldAttribute(0, "ObHook", "*next", "ObHook", 8, true, 0)] - public ObHook ptr_next; - [DNAFieldAttribute(1, "ObHook", "*prev", "ObHook", 8, true, 8)] - public ObHook ptr_prev; - [DNAFieldAttribute(2, "Object", "*parent", "Object", 8, true, 16)] - public Object ptr_parent; - [DNAFieldAttribute(3, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 24)] + [DNAFieldAttribute(8, "ObHook", 0, "*next", "ObHook", true, 0)] + public ObHook next; + [DNAFieldAttribute(8, "ObHook", 1, "*prev", "ObHook", true, 8)] + public ObHook prev; + [DNAFieldAttribute(8, "Object", 2, "*parent", "Object", true, 16)] + public Object parent; + [DNAFieldAttribute(64, "float", 3, "parentinv[4][4]", "System.Single[,]", false, 24)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(4, "float", "mat[4][4]", "System.Single[,]", 64, false, 88)] + [DNAFieldAttribute(64, "float", 4, "mat[4][4]", "System.Single[,]", false, 88)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(5, "float", "cent[3]", "System.Single[]", 12, false, 152)] + [DNAFieldAttribute(12, "float", 5, "cent[3]", "System.Single[]", false, 152)] public float[] cent = new System.Single[3]; - [DNAFieldAttribute(6, "float", "falloff", "float", 4, false, 164)] + [DNAFieldAttribute(4, "float", 6, "falloff", "float", false, 164)] public float falloff; - [DNAFieldAttribute(7, "char", "name[64]", "System.Char[]", 64, false, 168)] + [DNAFieldAttribute(64, "char", 7, "name[64]", "System.Char[]", false, 168)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(8, "int", "*indexar", "int", 8, true, 232)] - public int ptr_indexar; - [DNAFieldAttribute(9, "int", "totindex", "int", 4, false, 240)] + [DNAFieldAttribute(8, "int", 8, "*indexar", "int", true, 232)] + public int indexar; + [DNAFieldAttribute(4, "int", 9, "totindex", "int", false, 240)] public int totindex; - [DNAFieldAttribute(10, "int", "curindex", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 10, "curindex", "int", false, 244)] public int curindex; - [DNAFieldAttribute(11, "short", "type", "short", 2, false, 248)] + [DNAFieldAttribute(2, "short", 11, "type", "short", false, 248)] public short type; - [DNAFieldAttribute(12, "short", "active", "short", 2, false, 250)] + [DNAFieldAttribute(2, "short", 12, "active", "short", false, 250)] public short active; - [DNAFieldAttribute(13, "float", "force", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 13, "force", "float", false, 252)] public float force; public ObHook() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_parent = default; + this.next = default; + this.prev = default; + this.parent = default; this.parentinv = default; this.mat = default; this.cent = default; this.falloff = default; this.name = default; - this.ptr_indexar = default; + this.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; - this.ptr_parent = ptr_parent; + public ObHook(ObHook next, ObHook prev, Object parent, float[,] parentinv, float[,] mat, float[] cent, float falloff, char[] name, int indexar, int totindex, int curindex, short type, short active, float force) { + this.next = next; + this.prev = prev; + this.parent = parent; this.parentinv = parentinv; this.mat = mat; this.cent = cent; this.falloff = falloff; this.name = name; - this.ptr_indexar = ptr_indexar; + this.indexar = indexar; this.totindex = totindex; this.curindex = curindex; this.type = type; diff --git a/BlendFile/DNA/Object.cs b/BlendFile/DNA/Object.cs index 4c78ec7..15d692a 100644 --- a/BlendFile/DNA/Object.cs +++ b/BlendFile/DNA/Object.cs @@ -15,245 +15,245 @@ namespace BlendFile.DNA { [DNAClassAttribute(55, "Object", 1160)] public class Object { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "SculptSession", "*sculpt", "SculptSession", 8, true, 232)] - public SculptSession ptr_sculpt; - [DNAFieldAttribute(4, "short", "type", "short", 2, false, 240)] + [DNAFieldAttribute(8, "SculptSession", 3, "*sculpt", "SculptSession", true, 232)] + public SculptSession sculpt; + [DNAFieldAttribute(2, "short", 4, "type", "short", false, 240)] public short type; - [DNAFieldAttribute(5, "short", "partype", "short", 2, false, 242)] + [DNAFieldAttribute(2, "short", 5, "partype", "short", false, 242)] public short partype; - [DNAFieldAttribute(6, "int", "par1", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 6, "par1", "int", false, 244)] public int par1; - [DNAFieldAttribute(7, "int", "par2", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 7, "par2", "int", false, 248)] public int par2; - [DNAFieldAttribute(8, "int", "par3", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 8, "par3", "int", false, 252)] public int par3; - [DNAFieldAttribute(9, "char", "parsubstr[64]", "System.Char[]", 64, false, 256)] + [DNAFieldAttribute(64, "char", 9, "parsubstr[64]", "System.Char[]", false, 256)] public char[] parsubstr = new System.Char[64]; - [DNAFieldAttribute(10, "Object", "*parent", "Object", 8, true, 320)] - public Object ptr_parent; - [DNAFieldAttribute(11, "Object", "*track", "Object", 8, true, 328)] - public Object ptr_track; - [DNAFieldAttribute(12, "Object", "*proxy", "Object", 8, true, 336)] - public Object ptr_proxy; - [DNAFieldAttribute(13, "Object", "*proxy_group", "Object", 8, true, 344)] - public Object ptr_proxy_group; - [DNAFieldAttribute(14, "Object", "*proxy_from", "Object", 8, true, 352)] - public Object ptr_proxy_from; - [DNAFieldAttribute(15, "Ipo", "*ipo", "Ipo", 8, true, 360)] - public Ipo ptr_ipo; - [DNAFieldAttribute(16, "bAction", "*action", "bAction", 8, true, 368)] - public bAction ptr_action; - [DNAFieldAttribute(17, "bAction", "*poselib", "bAction", 8, true, 376)] - public bAction ptr_poselib; - [DNAFieldAttribute(18, "bPose", "*pose", "bPose", 8, true, 384)] - public bPose ptr_pose; - [DNAFieldAttribute(19, "void", "*data", "void", 8, true, 392)] - public object ptr_data; - [DNAFieldAttribute(20, "bGPdata", "*gpd", "bGPdata", 8, true, 400)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(21, "bAnimVizSettings", "avs", "bAnimVizSettings", 32, false, 408)] + [DNAFieldAttribute(8, "Object", 10, "*parent", "Object", true, 320)] + public Object parent; + [DNAFieldAttribute(8, "Object", 11, "*track", "Object", true, 328)] + public Object track; + [DNAFieldAttribute(8, "Object", 12, "*proxy", "Object", true, 336)] + public Object proxy; + [DNAFieldAttribute(8, "Object", 13, "*proxy_group", "Object", true, 344)] + public Object proxy_group; + [DNAFieldAttribute(8, "Object", 14, "*proxy_from", "Object", true, 352)] + public Object proxy_from; + [DNAFieldAttribute(8, "Ipo", 15, "*ipo", "Ipo", true, 360)] + public Ipo ipo; + [DNAFieldAttribute(8, "bAction", 16, "*action", "bAction", true, 368)] + public bAction action; + [DNAFieldAttribute(8, "bAction", 17, "*poselib", "bAction", true, 376)] + public bAction poselib; + [DNAFieldAttribute(8, "bPose", 18, "*pose", "bPose", true, 384)] + public bPose pose; + [DNAFieldAttribute(8, "void", 19, "*data", "void", true, 392)] + public object data; + [DNAFieldAttribute(8, "bGPdata", 20, "*gpd", "bGPdata", true, 400)] + public bGPdata gpd; + [DNAFieldAttribute(32, "bAnimVizSettings", 21, "avs", "bAnimVizSettings", false, 408)] public bAnimVizSettings avs; - [DNAFieldAttribute(22, "bMotionPath", "*mpath", "bMotionPath", 8, true, 440)] - public bMotionPath ptr_mpath; - [DNAFieldAttribute(23, "void", "*_pad0", "void", 8, true, 448)] - public object ptr__pad0; - [DNAFieldAttribute(24, "ListBase", "constraintChannels", "ListBase", 16, false, 456)] + [DNAFieldAttribute(8, "bMotionPath", 22, "*mpath", "bMotionPath", true, 440)] + public bMotionPath mpath; + [DNAFieldAttribute(8, "void", 23, "*_pad0", "void", true, 448)] + public object _pad0; + [DNAFieldAttribute(16, "ListBase", 24, "constraintChannels", "ListBase", false, 456)] public ListBase constraintChannels; - [DNAFieldAttribute(25, "ListBase", "effect", "ListBase", 16, false, 472)] + [DNAFieldAttribute(16, "ListBase", 25, "effect", "ListBase", false, 472)] public ListBase effect; - [DNAFieldAttribute(26, "ListBase", "defbase", "ListBase", 16, false, 488)] + [DNAFieldAttribute(16, "ListBase", 26, "defbase", "ListBase", false, 488)] public ListBase defbase; - [DNAFieldAttribute(27, "ListBase", "fmaps", "ListBase", 16, false, 504)] + [DNAFieldAttribute(16, "ListBase", 27, "fmaps", "ListBase", false, 504)] public ListBase fmaps; - [DNAFieldAttribute(28, "ListBase", "modifiers", "ListBase", 16, false, 520)] + [DNAFieldAttribute(16, "ListBase", 28, "modifiers", "ListBase", false, 520)] public ListBase modifiers; - [DNAFieldAttribute(29, "ListBase", "greasepencil_modifiers", "ListBase", 16, false, 536)] + [DNAFieldAttribute(16, "ListBase", 29, "greasepencil_modifiers", "ListBase", false, 536)] public ListBase greasepencil_modifiers; - [DNAFieldAttribute(30, "ListBase", "shader_fx", "ListBase", 16, false, 552)] + [DNAFieldAttribute(16, "ListBase", 30, "shader_fx", "ListBase", false, 552)] public ListBase shader_fx; - [DNAFieldAttribute(31, "int", "mode", "int", 4, false, 568)] + [DNAFieldAttribute(4, "int", 31, "mode", "int", false, 568)] public int mode; - [DNAFieldAttribute(32, "int", "restore_mode", "int", 4, false, 572)] + [DNAFieldAttribute(4, "int", 32, "restore_mode", "int", false, 572)] public int restore_mode; - [DNAFieldAttribute(33, "Material", "**mat", "Material", 8, true, 576)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(34, "char", "*matbits", "char", 8, true, 584)] - public char ptr_matbits; - [DNAFieldAttribute(35, "int", "totcol", "int", 4, false, 592)] + [DNAFieldAttribute(8, "Material", 33, "**mat", "Material", true, 576)] + public Material mat; + [DNAFieldAttribute(8, "char", 34, "*matbits", "char", true, 584)] + public char matbits; + [DNAFieldAttribute(4, "int", 35, "totcol", "int", false, 592)] public int totcol; - [DNAFieldAttribute(36, "int", "actcol", "int", 4, false, 596)] + [DNAFieldAttribute(4, "int", 36, "actcol", "int", false, 596)] public int actcol; - [DNAFieldAttribute(37, "float", "loc[3]", "System.Single[]", 12, false, 600)] + [DNAFieldAttribute(12, "float", 37, "loc[3]", "System.Single[]", false, 600)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(38, "float", "dloc[3]", "System.Single[]", 12, false, 612)] + [DNAFieldAttribute(12, "float", 38, "dloc[3]", "System.Single[]", false, 612)] public float[] dloc = new System.Single[3]; - [DNAFieldAttribute(39, "float", "size[3]", "System.Single[]", 12, false, 624)] + [DNAFieldAttribute(12, "float", 39, "size[3]", "System.Single[]", false, 624)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(40, "float", "dsize[3]", "System.Single[]", 12, false, 636)] + [DNAFieldAttribute(12, "float", 40, "dsize[3]", "System.Single[]", false, 636)] public float[] dsize = new System.Single[3]; - [DNAFieldAttribute(41, "float", "dscale[3]", "System.Single[]", 12, false, 648)] + [DNAFieldAttribute(12, "float", 41, "dscale[3]", "System.Single[]", false, 648)] public float[] dscale = new System.Single[3]; - [DNAFieldAttribute(42, "float", "rot[3]", "System.Single[]", 12, false, 660)] + [DNAFieldAttribute(12, "float", 42, "rot[3]", "System.Single[]", false, 660)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(43, "float", "drot[3]", "System.Single[]", 12, false, 672)] + [DNAFieldAttribute(12, "float", 43, "drot[3]", "System.Single[]", false, 672)] public float[] drot = new System.Single[3]; - [DNAFieldAttribute(44, "float", "quat[4]", "System.Single[]", 16, false, 684)] + [DNAFieldAttribute(16, "float", 44, "quat[4]", "System.Single[]", false, 684)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(45, "float", "dquat[4]", "System.Single[]", 16, false, 700)] + [DNAFieldAttribute(16, "float", 45, "dquat[4]", "System.Single[]", false, 700)] public float[] dquat = new System.Single[4]; - [DNAFieldAttribute(46, "float", "rotAxis[3]", "System.Single[]", 12, false, 716)] + [DNAFieldAttribute(12, "float", 46, "rotAxis[3]", "System.Single[]", false, 716)] public float[] rotAxis = new System.Single[3]; - [DNAFieldAttribute(47, "float", "drotAxis[3]", "System.Single[]", 12, false, 728)] + [DNAFieldAttribute(12, "float", 47, "drotAxis[3]", "System.Single[]", false, 728)] public float[] drotAxis = new System.Single[3]; - [DNAFieldAttribute(48, "float", "rotAngle", "float", 4, false, 740)] + [DNAFieldAttribute(4, "float", 48, "rotAngle", "float", false, 740)] public float rotAngle; - [DNAFieldAttribute(49, "float", "drotAngle", "float", 4, false, 744)] + [DNAFieldAttribute(4, "float", 49, "drotAngle", "float", false, 744)] public float drotAngle; - [DNAFieldAttribute(50, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 748)] + [DNAFieldAttribute(64, "float", 50, "parentinv[4][4]", "System.Single[,]", false, 748)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(51, "float", "constinv[4][4]", "System.Single[,]", 64, false, 812)] + [DNAFieldAttribute(64, "float", 51, "constinv[4][4]", "System.Single[,]", false, 812)] public float[,] constinv = new System.Single[4,4]; - [DNAFieldAttribute(52, "int", "lay", "int", 4, false, 876)] + [DNAFieldAttribute(4, "int", 52, "lay", "int", false, 876)] public int lay; - [DNAFieldAttribute(53, "short", "flag", "short", 2, false, 880)] + [DNAFieldAttribute(2, "short", 53, "flag", "short", false, 880)] public short flag; - [DNAFieldAttribute(54, "short", "colbits", "short", 2, false, 882)] + [DNAFieldAttribute(2, "short", 54, "colbits", "short", false, 882)] public short colbits; - [DNAFieldAttribute(55, "short", "transflag", "short", 2, false, 884)] + [DNAFieldAttribute(2, "short", 55, "transflag", "short", false, 884)] public short transflag; - [DNAFieldAttribute(56, "short", "protectflag", "short", 2, false, 886)] + [DNAFieldAttribute(2, "short", 56, "protectflag", "short", false, 886)] public short protectflag; - [DNAFieldAttribute(57, "short", "trackflag", "short", 2, false, 888)] + [DNAFieldAttribute(2, "short", 57, "trackflag", "short", false, 888)] public short trackflag; - [DNAFieldAttribute(58, "short", "upflag", "short", 2, false, 890)] + [DNAFieldAttribute(2, "short", 58, "upflag", "short", false, 890)] public short upflag; - [DNAFieldAttribute(59, "short", "nlaflag", "short", 2, false, 892)] + [DNAFieldAttribute(2, "short", 59, "nlaflag", "short", false, 892)] public short nlaflag; - [DNAFieldAttribute(60, "char", "_pad1", "char", 1, false, 894)] + [DNAFieldAttribute(1, "char", 60, "_pad1", "char", false, 894)] public char _pad1; - [DNAFieldAttribute(61, "char", "duplicator_visibility_flag", "char", 1, false, 895)] + [DNAFieldAttribute(1, "char", 61, "duplicator_visibility_flag", "char", false, 895)] public char duplicator_visibility_flag; - [DNAFieldAttribute(62, "short", "base_flag", "short", 2, false, 896)] + [DNAFieldAttribute(2, "short", 62, "base_flag", "short", false, 896)] public short base_flag; - [DNAFieldAttribute(63, "short", "base_local_view_bits", "short", 2, false, 898)] + [DNAFieldAttribute(2, "short", 63, "base_local_view_bits", "short", false, 898)] public short base_local_view_bits; - [DNAFieldAttribute(64, "short", "col_group", "short", 2, false, 900)] + [DNAFieldAttribute(2, "short", 64, "col_group", "short", false, 900)] public short col_group; - [DNAFieldAttribute(65, "short", "col_mask", "short", 2, false, 902)] + [DNAFieldAttribute(2, "short", 65, "col_mask", "short", false, 902)] public short col_mask; - [DNAFieldAttribute(66, "short", "rotmode", "short", 2, false, 904)] + [DNAFieldAttribute(2, "short", 66, "rotmode", "short", false, 904)] public short rotmode; - [DNAFieldAttribute(67, "char", "boundtype", "char", 1, false, 906)] + [DNAFieldAttribute(1, "char", 67, "boundtype", "char", false, 906)] public char boundtype; - [DNAFieldAttribute(68, "char", "collision_boundtype", "char", 1, false, 907)] + [DNAFieldAttribute(1, "char", 68, "collision_boundtype", "char", false, 907)] public char collision_boundtype; - [DNAFieldAttribute(69, "short", "dtx", "short", 2, false, 908)] + [DNAFieldAttribute(2, "short", 69, "dtx", "short", false, 908)] public short dtx; - [DNAFieldAttribute(70, "char", "dt", "char", 1, false, 910)] + [DNAFieldAttribute(1, "char", 70, "dt", "char", false, 910)] public char dt; - [DNAFieldAttribute(71, "char", "empty_drawtype", "char", 1, false, 911)] + [DNAFieldAttribute(1, "char", 71, "empty_drawtype", "char", false, 911)] public char empty_drawtype; - [DNAFieldAttribute(72, "float", "empty_drawsize", "float", 4, false, 912)] + [DNAFieldAttribute(4, "float", 72, "empty_drawsize", "float", false, 912)] public float empty_drawsize; - [DNAFieldAttribute(73, "float", "dupfacesca", "float", 4, false, 916)] + [DNAFieldAttribute(4, "float", 73, "dupfacesca", "float", false, 916)] public float dupfacesca; - [DNAFieldAttribute(74, "short", "index", "short", 2, false, 920)] + [DNAFieldAttribute(2, "short", 74, "index", "short", false, 920)] public short index; - [DNAFieldAttribute(75, "short", "actdef", "short", 2, false, 922)] + [DNAFieldAttribute(2, "short", 75, "actdef", "short", false, 922)] public short actdef; - [DNAFieldAttribute(76, "char", "_pad2[4]", "System.Char[]", 4, false, 924)] + [DNAFieldAttribute(4, "char", 76, "_pad2[4]", "System.Char[]", false, 924)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(77, "float", "col[4]", "System.Single[]", 16, false, 928)] + [DNAFieldAttribute(16, "float", 77, "col[4]", "System.Single[]", false, 928)] public float[] col = new System.Single[4]; - [DNAFieldAttribute(78, "short", "softflag", "short", 2, false, 944)] + [DNAFieldAttribute(2, "short", 78, "softflag", "short", false, 944)] public short softflag; - [DNAFieldAttribute(79, "short", "restrictflag", "short", 2, false, 946)] + [DNAFieldAttribute(2, "short", 79, "restrictflag", "short", false, 946)] public short restrictflag; - [DNAFieldAttribute(80, "short", "shapenr", "short", 2, false, 948)] + [DNAFieldAttribute(2, "short", 80, "shapenr", "short", false, 948)] public short shapenr; - [DNAFieldAttribute(81, "char", "shapeflag", "char", 1, false, 950)] + [DNAFieldAttribute(1, "char", 81, "shapeflag", "char", false, 950)] public char shapeflag; - [DNAFieldAttribute(82, "char", "_pad3[1]", "System.Char[]", 1, false, 951)] + [DNAFieldAttribute(1, "char", 82, "_pad3[1]", "System.Char[]", false, 951)] public char[] _pad3 = new System.Char[1]; - [DNAFieldAttribute(83, "ListBase", "constraints", "ListBase", 16, false, 952)] + [DNAFieldAttribute(16, "ListBase", 83, "constraints", "ListBase", false, 952)] public ListBase constraints; - [DNAFieldAttribute(84, "ListBase", "nlastrips", "ListBase", 16, false, 968)] + [DNAFieldAttribute(16, "ListBase", 84, "nlastrips", "ListBase", false, 968)] public ListBase nlastrips; - [DNAFieldAttribute(85, "ListBase", "hooks", "ListBase", 16, false, 984)] + [DNAFieldAttribute(16, "ListBase", 85, "hooks", "ListBase", false, 984)] public ListBase hooks; - [DNAFieldAttribute(86, "ListBase", "particlesystem", "ListBase", 16, false, 1000)] + [DNAFieldAttribute(16, "ListBase", 86, "particlesystem", "ListBase", false, 1000)] public ListBase particlesystem; - [DNAFieldAttribute(87, "PartDeflect", "*pd", "PartDeflect", 8, true, 1016)] - public PartDeflect ptr_pd; - [DNAFieldAttribute(88, "SoftBody", "*soft", "SoftBody", 8, true, 1024)] - public SoftBody ptr_soft; - [DNAFieldAttribute(89, "Collection", "*dup_group", "Collection", 8, true, 1032)] - public Collection ptr_dup_group; - [DNAFieldAttribute(90, "FluidsimSettings", "*fluidsimSettings", "FluidsimSettings", 8, true, 1040)] - public FluidsimSettings ptr_fluidsimSettings; - [DNAFieldAttribute(91, "ListBase", "pc_ids", "ListBase", 16, false, 1048)] + [DNAFieldAttribute(8, "PartDeflect", 87, "*pd", "PartDeflect", true, 1016)] + public PartDeflect pd; + [DNAFieldAttribute(8, "SoftBody", 88, "*soft", "SoftBody", true, 1024)] + public SoftBody soft; + [DNAFieldAttribute(8, "Collection", 89, "*dup_group", "Collection", true, 1032)] + public Collection dup_group; + [DNAFieldAttribute(8, "FluidsimSettings", 90, "*fluidsimSettings", "FluidsimSettings", true, 1040)] + public FluidsimSettings fluidsimSettings; + [DNAFieldAttribute(16, "ListBase", 91, "pc_ids", "ListBase", false, 1048)] public ListBase pc_ids; - [DNAFieldAttribute(92, "RigidBodyOb", "*rigidbody_object", "RigidBodyOb", 8, true, 1064)] - public RigidBodyOb ptr_rigidbody_object; - [DNAFieldAttribute(93, "RigidBodyCon", "*rigidbody_constraint", "RigidBodyCon", 8, true, 1072)] - public RigidBodyCon ptr_rigidbody_constraint; - [DNAFieldAttribute(94, "float", "ima_ofs[2]", "System.Single[]", 8, false, 1080)] + [DNAFieldAttribute(8, "RigidBodyOb", 92, "*rigidbody_object", "RigidBodyOb", true, 1064)] + public RigidBodyOb rigidbody_object; + [DNAFieldAttribute(8, "RigidBodyCon", 93, "*rigidbody_constraint", "RigidBodyCon", true, 1072)] + public RigidBodyCon rigidbody_constraint; + [DNAFieldAttribute(8, "float", 94, "ima_ofs[2]", "System.Single[]", false, 1080)] public float[] ima_ofs = new System.Single[2]; - [DNAFieldAttribute(95, "ImageUser", "*iuser", "ImageUser", 8, true, 1088)] - public ImageUser ptr_iuser; - [DNAFieldAttribute(96, "char", "empty_image_visibility_flag", "char", 1, false, 1096)] + [DNAFieldAttribute(8, "ImageUser", 95, "*iuser", "ImageUser", true, 1088)] + public ImageUser iuser; + [DNAFieldAttribute(1, "char", 96, "empty_image_visibility_flag", "char", false, 1096)] public char empty_image_visibility_flag; - [DNAFieldAttribute(97, "char", "empty_image_depth", "char", 1, false, 1097)] + [DNAFieldAttribute(1, "char", 97, "empty_image_depth", "char", false, 1097)] public char empty_image_depth; - [DNAFieldAttribute(98, "char", "empty_image_flag", "char", 1, false, 1098)] + [DNAFieldAttribute(1, "char", 98, "empty_image_flag", "char", false, 1098)] public char empty_image_flag; - [DNAFieldAttribute(99, "uchar", "modifier_flag", "uchar", 1, false, 1099)] + [DNAFieldAttribute(1, "uchar", 99, "modifier_flag", "uchar", false, 1099)] public byte modifier_flag; - [DNAFieldAttribute(100, "char", "_pad8[4]", "System.Char[]", 4, false, 1100)] + [DNAFieldAttribute(4, "char", 100, "_pad8[4]", "System.Char[]", false, 1100)] public char[] _pad8 = new System.Char[4]; - [DNAFieldAttribute(101, "PreviewImage", "*preview", "PreviewImage", 8, true, 1104)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(102, "ObjectLineArt", "lineart", "ObjectLineArt", 16, false, 1112)] + [DNAFieldAttribute(8, "PreviewImage", 101, "*preview", "PreviewImage", true, 1104)] + public PreviewImage preview; + [DNAFieldAttribute(16, "ObjectLineArt", 102, "lineart", "ObjectLineArt", false, 1112)] public ObjectLineArt lineart; - [DNAFieldAttribute(103, "LightgroupMembership", "*lightgroup", "LightgroupMembership", 8, true, 1128)] - public LightgroupMembership ptr_lightgroup; - [DNAFieldAttribute(104, "LightLinking", "*light_linking", "LightLinking", 8, true, 1136)] - public LightLinking ptr_light_linking; - [DNAFieldAttribute(105, "LightProbeObjectCache", "*lightprobe_cache", "LightProbeObjectCache", 8, true, 1144)] - public LightProbeObjectCache ptr_lightprobe_cache; - [DNAFieldAttribute(106, "ObjectRuntimeHandle", "*runtime", "ObjectRuntimeHandle", 8, true, 1152)] - public ObjectRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "LightgroupMembership", 103, "*lightgroup", "LightgroupMembership", true, 1128)] + public LightgroupMembership lightgroup; + [DNAFieldAttribute(8, "LightLinking", 104, "*light_linking", "LightLinking", true, 1136)] + public LightLinking light_linking; + [DNAFieldAttribute(8, "LightProbeObjectCache", 105, "*lightprobe_cache", "LightProbeObjectCache", true, 1144)] + public LightProbeObjectCache lightprobe_cache; + [DNAFieldAttribute(8, "ObjectRuntimeHandle", 106, "*runtime", "ObjectRuntimeHandle", true, 1152)] + public ObjectRuntimeHandle runtime; public Object() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; - this.ptr_sculpt = default; + this.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.parent = default; + this.track = default; + this.proxy = default; + this.proxy_group = default; + this.proxy_from = default; + this.ipo = default; + this.action = default; + this.poselib = default; + this.pose = default; + this.data = default; + this.gpd = default; this.avs = default; - this.ptr_mpath = default; - this.ptr__pad0 = default; + this.mpath = default; + this._pad0 = default; this.constraintChannels = default; this.effect = default; this.defbase = default; @@ -263,8 +263,8 @@ namespace BlendFile.DNA { this.shader_fx = default; this.mode = default; this.restore_mode = default; - this.ptr_ptr_mat = default; - this.ptr_matbits = default; + this.mat = default; + this.matbits = default; this.totcol = default; this.actcol = default; this.loc = default; @@ -317,52 +317,52 @@ namespace BlendFile.DNA { 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.pd = default; + this.soft = default; + this.dup_group = default; + this.fluidsimSettings = default; this.pc_ids = default; - this.ptr_rigidbody_object = default; - this.ptr_rigidbody_constraint = default; + this.rigidbody_object = default; + this.rigidbody_constraint = default; this.ima_ofs = default; - this.ptr_iuser = default; + this.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.preview = default; this.lineart = default; - this.ptr_lightgroup = default; - this.ptr_light_linking = default; - this.ptr_lightprobe_cache = default; - this.ptr_runtime = default; + this.lightgroup = default; + this.light_linking = default; + this.lightprobe_cache = default; + this.runtime = default; } public Object( ID id, - AnimData ptr_adt, + AnimData adt, DrawDataList drawdata, - SculptSession ptr_sculpt, + SculptSession sculpt, short type, short partype, int par1, int par2, int par3, char[] parsubstr, - Object ptr_parent, - Object ptr_track, - Object ptr_proxy, - Object ptr_proxy_group, - Object ptr_proxy_from, - Ipo ptr_ipo, - bAction ptr_action, - bAction ptr_poselib, - bPose ptr_pose, - object ptr_data, - bGPdata ptr_gpd, + Object parent, + Object track, + Object proxy, + Object proxy_group, + Object proxy_from, + Ipo ipo, + bAction action, + bAction poselib, + bPose pose, + object data, + bGPdata gpd, bAnimVizSettings avs, - bMotionPath ptr_mpath, - object ptr__pad0, + bMotionPath mpath, + object _pad0, ListBase constraintChannels, ListBase effect, ListBase defbase, @@ -372,8 +372,8 @@ namespace BlendFile.DNA { ListBase shader_fx, int mode, int restore_mode, - Material ptr_ptr_mat, - char ptr_matbits, + Material mat, + char matbits, int totcol, int actcol, float[] loc, @@ -426,50 +426,50 @@ namespace BlendFile.DNA { ListBase nlastrips, ListBase hooks, ListBase particlesystem, - PartDeflect ptr_pd, - SoftBody ptr_soft, - Collection ptr_dup_group, - FluidsimSettings ptr_fluidsimSettings, + PartDeflect pd, + SoftBody soft, + Collection dup_group, + FluidsimSettings fluidsimSettings, ListBase pc_ids, - RigidBodyOb ptr_rigidbody_object, - RigidBodyCon ptr_rigidbody_constraint, + RigidBodyOb rigidbody_object, + RigidBodyCon rigidbody_constraint, float[] ima_ofs, - ImageUser ptr_iuser, + ImageUser iuser, char empty_image_visibility_flag, char empty_image_depth, char empty_image_flag, byte modifier_flag, char[] _pad8, - PreviewImage ptr_preview, + PreviewImage preview, ObjectLineArt lineart, - LightgroupMembership ptr_lightgroup, - LightLinking ptr_light_linking, - LightProbeObjectCache ptr_lightprobe_cache, - ObjectRuntimeHandle ptr_runtime) { + LightgroupMembership lightgroup, + LightLinking light_linking, + LightProbeObjectCache lightprobe_cache, + ObjectRuntimeHandle runtime) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.drawdata = drawdata; - this.ptr_sculpt = ptr_sculpt; + this.sculpt = sculpt; this.type = type; this.partype = partype; this.par1 = par1; this.par2 = par2; this.par3 = par3; this.parsubstr = parsubstr; - this.ptr_parent = ptr_parent; - this.ptr_track = ptr_track; - this.ptr_proxy = ptr_proxy; - this.ptr_proxy_group = ptr_proxy_group; - this.ptr_proxy_from = ptr_proxy_from; - this.ptr_ipo = ptr_ipo; - this.ptr_action = ptr_action; - this.ptr_poselib = ptr_poselib; - this.ptr_pose = ptr_pose; - this.ptr_data = ptr_data; - this.ptr_gpd = ptr_gpd; + this.parent = parent; + this.track = track; + this.proxy = proxy; + this.proxy_group = proxy_group; + this.proxy_from = proxy_from; + this.ipo = ipo; + this.action = action; + this.poselib = poselib; + this.pose = pose; + this.data = data; + this.gpd = gpd; this.avs = avs; - this.ptr_mpath = ptr_mpath; - this.ptr__pad0 = ptr__pad0; + this.mpath = mpath; + this._pad0 = _pad0; this.constraintChannels = constraintChannels; this.effect = effect; this.defbase = defbase; @@ -479,8 +479,8 @@ namespace BlendFile.DNA { this.shader_fx = shader_fx; this.mode = mode; this.restore_mode = restore_mode; - this.ptr_ptr_mat = ptr_ptr_mat; - this.ptr_matbits = ptr_matbits; + this.mat = mat; + this.matbits = matbits; this.totcol = totcol; this.actcol = actcol; this.loc = loc; @@ -533,26 +533,26 @@ namespace BlendFile.DNA { this.nlastrips = nlastrips; this.hooks = hooks; this.particlesystem = particlesystem; - this.ptr_pd = ptr_pd; - this.ptr_soft = ptr_soft; - this.ptr_dup_group = ptr_dup_group; - this.ptr_fluidsimSettings = ptr_fluidsimSettings; + this.pd = pd; + this.soft = soft; + this.dup_group = dup_group; + this.fluidsimSettings = fluidsimSettings; this.pc_ids = pc_ids; - this.ptr_rigidbody_object = ptr_rigidbody_object; - this.ptr_rigidbody_constraint = ptr_rigidbody_constraint; + this.rigidbody_object = rigidbody_object; + this.rigidbody_constraint = rigidbody_constraint; this.ima_ofs = ima_ofs; - this.ptr_iuser = ptr_iuser; + this.iuser = iuser; this.empty_image_visibility_flag = empty_image_visibility_flag; this.empty_image_depth = empty_image_depth; this.empty_image_flag = empty_image_flag; this.modifier_flag = modifier_flag; this._pad8 = _pad8; - this.ptr_preview = ptr_preview; + this.preview = preview; this.lineart = lineart; - this.ptr_lightgroup = ptr_lightgroup; - this.ptr_light_linking = ptr_light_linking; - this.ptr_lightprobe_cache = ptr_lightprobe_cache; - this.ptr_runtime = ptr_runtime; + this.lightgroup = lightgroup; + this.light_linking = light_linking; + this.lightprobe_cache = lightprobe_cache; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/ObjectLineArt.cs b/BlendFile/DNA/ObjectLineArt.cs index b173dca..33a8a90 100644 --- a/BlendFile/DNA/ObjectLineArt.cs +++ b/BlendFile/DNA/ObjectLineArt.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(766, "ObjectLineArt", 16)] - public struct ObjectLineArt { - [DNAFieldAttribute(0, "short", "usage", "short", 2, false, 0)] + public class ObjectLineArt { + [DNAFieldAttribute(2, "short", 0, "usage", "short", false, 0)] public short usage; - [DNAFieldAttribute(1, "short", "flags", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "flags", "short", false, 2)] public short flags; - [DNAFieldAttribute(2, "float", "crease_threshold", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "crease_threshold", "float", false, 4)] public float crease_threshold; - [DNAFieldAttribute(3, "char", "intersection_priority", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 3, "intersection_priority", "char", false, 8)] public char intersection_priority; - [DNAFieldAttribute(4, "char", "_pad[7]", "System.Char[]", 7, false, 9)] + [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 9)] public char[] _pad = new System.Char[7]; public ObjectLineArt() { this.usage = default; diff --git a/BlendFile/DNA/OceanModifierData.cs b/BlendFile/DNA/OceanModifierData.cs index f2c4729..66e4238 100644 --- a/BlendFile/DNA/OceanModifierData.cs +++ b/BlendFile/DNA/OceanModifierData.cs @@ -15,78 +15,78 @@ namespace BlendFile.DNA { [DNAClassAttribute(489, "OceanModifierData", 1392)] public class OceanModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Ocean", "*ocean", "Ocean", 8, true, 120)] - public Ocean ptr_ocean; - [DNAFieldAttribute(2, "OceanCache", "*oceancache", "OceanCache", 8, true, 128)] - public OceanCache ptr_oceancache; - [DNAFieldAttribute(3, "int", "resolution", "int", 4, false, 136)] + [DNAFieldAttribute(8, "Ocean", 1, "*ocean", "Ocean", true, 120)] + public Ocean ocean; + [DNAFieldAttribute(8, "OceanCache", 2, "*oceancache", "OceanCache", true, 128)] + public OceanCache oceancache; + [DNAFieldAttribute(4, "int", 3, "resolution", "int", false, 136)] public int resolution; - [DNAFieldAttribute(4, "int", "viewport_resolution", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 4, "viewport_resolution", "int", false, 140)] public int viewport_resolution; - [DNAFieldAttribute(5, "int", "spatial_size", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 5, "spatial_size", "int", false, 144)] public int spatial_size; - [DNAFieldAttribute(6, "float", "wind_velocity", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 6, "wind_velocity", "float", false, 148)] public float wind_velocity; - [DNAFieldAttribute(7, "float", "damp", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 7, "damp", "float", false, 152)] public float damp; - [DNAFieldAttribute(8, "float", "smallest_wave", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 8, "smallest_wave", "float", false, 156)] public float smallest_wave; - [DNAFieldAttribute(9, "float", "depth", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 9, "depth", "float", false, 160)] public float depth; - [DNAFieldAttribute(10, "float", "wave_alignment", "float", 4, false, 164)] + [DNAFieldAttribute(4, "float", 10, "wave_alignment", "float", false, 164)] public float wave_alignment; - [DNAFieldAttribute(11, "float", "wave_direction", "float", 4, false, 168)] + [DNAFieldAttribute(4, "float", 11, "wave_direction", "float", false, 168)] public float wave_direction; - [DNAFieldAttribute(12, "float", "wave_scale", "float", 4, false, 172)] + [DNAFieldAttribute(4, "float", 12, "wave_scale", "float", false, 172)] public float wave_scale; - [DNAFieldAttribute(13, "float", "chop_amount", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 13, "chop_amount", "float", false, 176)] public float chop_amount; - [DNAFieldAttribute(14, "float", "foam_coverage", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 14, "foam_coverage", "float", false, 180)] public float foam_coverage; - [DNAFieldAttribute(15, "float", "time", "float", 4, false, 184)] + [DNAFieldAttribute(4, "float", 15, "time", "float", false, 184)] public float time; - [DNAFieldAttribute(16, "int", "spectrum", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 16, "spectrum", "int", false, 188)] public int spectrum; - [DNAFieldAttribute(17, "float", "fetch_jonswap", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 17, "fetch_jonswap", "float", false, 192)] public float fetch_jonswap; - [DNAFieldAttribute(18, "float", "sharpen_peak_jonswap", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 18, "sharpen_peak_jonswap", "float", false, 196)] public float sharpen_peak_jonswap; - [DNAFieldAttribute(19, "int", "bakestart", "int", 4, false, 200)] + [DNAFieldAttribute(4, "int", 19, "bakestart", "int", false, 200)] public int bakestart; - [DNAFieldAttribute(20, "int", "bakeend", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 20, "bakeend", "int", false, 204)] public int bakeend; - [DNAFieldAttribute(21, "char", "cachepath[1024]", "System.Char[]", 1024, false, 208)] + [DNAFieldAttribute(1024, "char", 21, "cachepath[1024]", "System.Char[]", false, 208)] public char[] cachepath = new System.Char[1024]; - [DNAFieldAttribute(22, "char", "foamlayername[68]", "System.Char[]", 68, false, 1232)] + [DNAFieldAttribute(68, "char", 22, "foamlayername[68]", "System.Char[]", false, 1232)] public char[] foamlayername = new System.Char[68]; - [DNAFieldAttribute(23, "char", "spraylayername[68]", "System.Char[]", 68, false, 1300)] + [DNAFieldAttribute(68, "char", 23, "spraylayername[68]", "System.Char[]", false, 1300)] public char[] spraylayername = new System.Char[68]; - [DNAFieldAttribute(24, "char", "cached", "char", 1, false, 1368)] + [DNAFieldAttribute(1, "char", 24, "cached", "char", false, 1368)] public char cached; - [DNAFieldAttribute(25, "char", "geometry_mode", "char", 1, false, 1369)] + [DNAFieldAttribute(1, "char", 25, "geometry_mode", "char", false, 1369)] public char geometry_mode; - [DNAFieldAttribute(26, "char", "flag", "char", 1, false, 1370)] + [DNAFieldAttribute(1, "char", 26, "flag", "char", false, 1370)] public char flag; - [DNAFieldAttribute(27, "char", "_pad2", "char", 1, false, 1371)] + [DNAFieldAttribute(1, "char", 27, "_pad2", "char", false, 1371)] public char _pad2; - [DNAFieldAttribute(28, "short", "repeat_x", "short", 2, false, 1372)] + [DNAFieldAttribute(2, "short", 28, "repeat_x", "short", false, 1372)] public short repeat_x; - [DNAFieldAttribute(29, "short", "repeat_y", "short", 2, false, 1374)] + [DNAFieldAttribute(2, "short", 29, "repeat_y", "short", false, 1374)] public short repeat_y; - [DNAFieldAttribute(30, "int", "seed", "int", 4, false, 1376)] + [DNAFieldAttribute(4, "int", 30, "seed", "int", false, 1376)] public int seed; - [DNAFieldAttribute(31, "float", "size", "float", 4, false, 1380)] + [DNAFieldAttribute(4, "float", 31, "size", "float", false, 1380)] public float size; - [DNAFieldAttribute(32, "float", "foam_fade", "float", 4, false, 1384)] + [DNAFieldAttribute(4, "float", 32, "foam_fade", "float", false, 1384)] public float foam_fade; - [DNAFieldAttribute(33, "char", "_pad[4]", "System.Char[]", 4, false, 1388)] + [DNAFieldAttribute(4, "char", 33, "_pad[4]", "System.Char[]", false, 1388)] public char[] _pad = new System.Char[4]; public OceanModifierData() { this.modifier = default; - this.ptr_ocean = default; - this.ptr_oceancache = default; + this.ocean = default; + this.oceancache = default; this.resolution = default; this.viewport_resolution = default; this.spatial_size = default; @@ -121,8 +121,8 @@ namespace BlendFile.DNA { } public OceanModifierData( ModifierData modifier, - Ocean ptr_ocean, - OceanCache ptr_oceancache, + Ocean ocean, + OceanCache oceancache, int resolution, int viewport_resolution, int spatial_size, @@ -155,8 +155,8 @@ namespace BlendFile.DNA { float foam_fade, char[] _pad) { this.modifier = modifier; - this.ptr_ocean = ptr_ocean; - this.ptr_oceancache = ptr_oceancache; + this.ocean = ocean; + this.oceancache = oceancache; this.resolution = resolution; this.viewport_resolution = viewport_resolution; this.spatial_size = spatial_size; diff --git a/BlendFile/DNA/OffsetGpencilModifierData.cs b/BlendFile/DNA/OffsetGpencilModifierData.cs index 0ed6a6e..8d2c303 100644 --- a/BlendFile/DNA/OffsetGpencilModifierData.cs +++ b/BlendFile/DNA/OffsetGpencilModifierData.cs @@ -15,47 +15,47 @@ namespace BlendFile.DNA { [DNAClassAttribute(294, "OffsetGpencilModifierData", 408)] public class OffsetGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "loc[3]", "System.Single[]", 12, false, 312)] + [DNAFieldAttribute(12, "float", 7, "loc[3]", "System.Single[]", false, 312)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(8, "float", "rot[3]", "System.Single[]", 12, false, 324)] + [DNAFieldAttribute(12, "float", 8, "rot[3]", "System.Single[]", false, 324)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(9, "float", "scale[3]", "System.Single[]", 12, false, 336)] + [DNAFieldAttribute(12, "float", 9, "scale[3]", "System.Single[]", false, 336)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(10, "float", "rnd_offset[3]", "System.Single[]", 12, false, 348)] + [DNAFieldAttribute(12, "float", 10, "rnd_offset[3]", "System.Single[]", false, 348)] public float[] rnd_offset = new System.Single[3]; - [DNAFieldAttribute(11, "float", "rnd_rot[3]", "System.Single[]", 12, false, 360)] + [DNAFieldAttribute(12, "float", 11, "rnd_rot[3]", "System.Single[]", false, 360)] public float[] rnd_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", "rnd_scale[3]", "System.Single[]", 12, false, 372)] + [DNAFieldAttribute(12, "float", 12, "rnd_scale[3]", "System.Single[]", false, 372)] public float[] rnd_scale = new System.Single[3]; - [DNAFieldAttribute(13, "int", "seed", "int", 4, false, 384)] + [DNAFieldAttribute(4, "int", 13, "seed", "int", false, 384)] public int seed; - [DNAFieldAttribute(14, "int", "mode", "int", 4, false, 388)] + [DNAFieldAttribute(4, "int", 14, "mode", "int", false, 388)] public int mode; - [DNAFieldAttribute(15, "int", "stroke_step", "int", 4, false, 392)] + [DNAFieldAttribute(4, "int", 15, "stroke_step", "int", false, 392)] public int stroke_step; - [DNAFieldAttribute(16, "int", "stroke_start_offset", "int", 4, false, 396)] + [DNAFieldAttribute(4, "int", 16, "stroke_start_offset", "int", false, 396)] public int stroke_start_offset; - [DNAFieldAttribute(17, "int", "layer_pass", "int", 4, false, 400)] + [DNAFieldAttribute(4, "int", 17, "layer_pass", "int", false, 400)] public int layer_pass; - [DNAFieldAttribute(18, "char", "_pad[4]", "System.Char[]", 4, false, 404)] + [DNAFieldAttribute(4, "char", 18, "_pad[4]", "System.Char[]", false, 404)] public char[] _pad = new System.Char[4]; public OffsetGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -76,7 +76,7 @@ namespace BlendFile.DNA { } public OffsetGpencilModifierData( GpencilModifierData modifier, - Material ptr_material, + Material material, char[] layername, char[] materialname, char[] vgname, @@ -95,7 +95,7 @@ namespace BlendFile.DNA { int layer_pass, char[] _pad) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; diff --git a/BlendFile/DNA/OpacityGpencilModifierData.cs b/BlendFile/DNA/OpacityGpencilModifierData.cs index e031c06..b72e83f 100644 --- a/BlendFile/DNA/OpacityGpencilModifierData.cs +++ b/BlendFile/DNA/OpacityGpencilModifierData.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(282, "OpacityGpencilModifierData", 336)] public class OpacityGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "factor", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "factor", "float", false, 312)] public float factor; - [DNAFieldAttribute(8, "char", "modify_color", "char", 1, false, 316)] + [DNAFieldAttribute(1, "char", 8, "modify_color", "char", false, 316)] public char modify_color; - [DNAFieldAttribute(9, "char", "_pad[3]", "System.Char[]", 3, false, 317)] + [DNAFieldAttribute(3, "char", 9, "_pad[3]", "System.Char[]", false, 317)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(10, "int", "layer_pass", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 10, "layer_pass", "int", false, 320)] public int layer_pass; - [DNAFieldAttribute(11, "float", "hardeness", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 11, "hardeness", "float", false, 324)] public float hardeness; - [DNAFieldAttribute(12, "CurveMapping", "*curve_intensity", "CurveMapping", 8, true, 328)] - public CurveMapping ptr_curve_intensity; + [DNAFieldAttribute(8, "CurveMapping", 12, "*curve_intensity", "CurveMapping", true, 328)] + public CurveMapping curve_intensity; public OpacityGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -54,11 +54,11 @@ namespace BlendFile.DNA { this._pad = default; this.layer_pass = default; this.hardeness = default; - this.ptr_curve_intensity = default; + this.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) { + public OpacityGpencilModifierData(GpencilModifierData modifier, Material 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 curve_intensity) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; @@ -69,7 +69,7 @@ namespace BlendFile.DNA { this._pad = _pad; this.layer_pass = layer_pass; this.hardeness = hardeness; - this.ptr_curve_intensity = ptr_curve_intensity; + this.curve_intensity = curve_intensity; } } } diff --git a/BlendFile/DNA/OutlineGpencilModifierData.cs b/BlendFile/DNA/OutlineGpencilModifierData.cs index e4198c6..820a407 100644 --- a/BlendFile/DNA/OutlineGpencilModifierData.cs +++ b/BlendFile/DNA/OutlineGpencilModifierData.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(283, "OutlineGpencilModifierData", 216)] public class OutlineGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 112)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "layername[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(4, "int", "pass_index", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 184)] public int pass_index; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 188)] public int flag; - [DNAFieldAttribute(6, "int", "thickness", "int", 4, false, 192)] + [DNAFieldAttribute(4, "int", 6, "thickness", "int", false, 192)] public int thickness; - [DNAFieldAttribute(7, "float", "sample_length", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 7, "sample_length", "float", false, 196)] public float sample_length; - [DNAFieldAttribute(8, "int", "subdiv", "int", 4, false, 200)] + [DNAFieldAttribute(4, "int", 8, "subdiv", "int", false, 200)] public int subdiv; - [DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 204)] public int layer_pass; - [DNAFieldAttribute(10, "Material", "*outline_material", "Material", 8, true, 208)] - public Material ptr_outline_material; + [DNAFieldAttribute(8, "Material", 10, "*outline_material", "Material", true, 208)] + public Material outline_material; public OutlineGpencilModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_material = default; + this.@object = default; + this.material = default; this.layername = default; this.pass_index = default; this.flag = default; @@ -48,12 +48,12 @@ namespace BlendFile.DNA { this.sample_length = default; this.subdiv = default; this.layer_pass = default; - this.ptr_outline_material = default; + this.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) { + public OutlineGpencilModifierData(GpencilModifierData modifier, Object @object, Material material, char[] layername, int pass_index, int flag, int thickness, float sample_length, int subdiv, int layer_pass, Material outline_material) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_material = ptr_material; + this.@object = @object; + this.material = material; this.layername = layername; this.pass_index = pass_index; this.flag = flag; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.sample_length = sample_length; this.subdiv = subdiv; this.layer_pass = layer_pass; - this.ptr_outline_material = ptr_outline_material; + this.outline_material = outline_material; } } } diff --git a/BlendFile/DNA/PTCacheExtra.cs b/BlendFile/DNA/PTCacheExtra.cs index a808760..4d39162 100644 --- a/BlendFile/DNA/PTCacheExtra.cs +++ b/BlendFile/DNA/PTCacheExtra.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(790, "PTCacheExtra", 32)] public class PTCacheExtra { - [DNAFieldAttribute(0, "PTCacheExtra", "*next", "PTCacheExtra", 8, true, 0)] - public PTCacheExtra ptr_next; - [DNAFieldAttribute(1, "PTCacheExtra", "*prev", "PTCacheExtra", 8, true, 8)] - public PTCacheExtra ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "PTCacheExtra", 0, "*next", "PTCacheExtra", true, 0)] + public PTCacheExtra next; + [DNAFieldAttribute(8, "PTCacheExtra", 1, "*prev", "PTCacheExtra", true, 8)] + public PTCacheExtra prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "int", "totdata", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "totdata", "int", false, 20)] public int totdata; - [DNAFieldAttribute(4, "void", "*data", "void", 8, true, 24)] - public object ptr_data; + [DNAFieldAttribute(8, "void", 4, "*data", "void", true, 24)] + public object data; public PTCacheExtra() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.totdata = default; - this.ptr_data = default; + this.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; + public PTCacheExtra(PTCacheExtra next, PTCacheExtra prev, int type, int totdata, object data) { + this.next = next; + this.prev = prev; this.type = type; this.totdata = totdata; - this.ptr_data = ptr_data; + this.data = data; } } } diff --git a/BlendFile/DNA/PTCacheMem.cs b/BlendFile/DNA/PTCacheMem.cs index 8e8717c..290c11e 100644 --- a/BlendFile/DNA/PTCacheMem.cs +++ b/BlendFile/DNA/PTCacheMem.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(791, "PTCacheMem", 112)] public class PTCacheMem { - [DNAFieldAttribute(0, "PTCacheMem", "*next", "PTCacheMem", 8, true, 0)] - public PTCacheMem ptr_next; - [DNAFieldAttribute(1, "PTCacheMem", "*prev", "PTCacheMem", 8, true, 8)] - public PTCacheMem ptr_prev; - [DNAFieldAttribute(2, "int", "frame", "int", 4, false, 16)] + [DNAFieldAttribute(8, "PTCacheMem", 0, "*next", "PTCacheMem", true, 0)] + public PTCacheMem next; + [DNAFieldAttribute(8, "PTCacheMem", 1, "*prev", "PTCacheMem", true, 8)] + public PTCacheMem prev; + [DNAFieldAttribute(4, "int", 2, "frame", "int", false, 16)] public int frame; - [DNAFieldAttribute(3, "int", "totpoint", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "totpoint", "int", false, 20)] public int totpoint; - [DNAFieldAttribute(4, "int", "data_types", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 4, "data_types", "int", false, 24)] public int data_types; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 28)] public int flag; - [DNAFieldAttribute(6, "void", "*data[8]", "System.Object[]", 64, true, 32)] - public object[] ptr_d = new System.Object[8]; - [DNAFieldAttribute(7, "ListBase", "extradata", "ListBase", 16, false, 96)] + [DNAFieldAttribute(64, "void", 6, "*data[8]", "System.Object[]", true, 32)] + public object[] data = new System.Object[8]; + [DNAFieldAttribute(16, "ListBase", 7, "extradata", "ListBase", false, 96)] public ListBase extradata; public PTCacheMem() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.frame = default; this.totpoint = default; this.data_types = default; this.flag = default; - this.ptr_d = default; + this.data = 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; + public PTCacheMem(PTCacheMem next, PTCacheMem prev, int frame, int totpoint, int data_types, int flag, object[] data, ListBase extradata) { + this.next = next; + this.prev = prev; this.frame = frame; this.totpoint = totpoint; this.data_types = data_types; this.flag = flag; - this.ptr_d = ptr_d; + this.data = data; this.extradata = extradata; } } diff --git a/BlendFile/DNA/PackedFile.cs b/BlendFile/DNA/PackedFile.cs index 78fff17..39fe4ad 100644 --- a/BlendFile/DNA/PackedFile.cs +++ b/BlendFile/DNA/PackedFile.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(40, "PackedFile", 24)] public class PackedFile { - [DNAFieldAttribute(0, "int", "size", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "size", "int", false, 0)] public int size; - [DNAFieldAttribute(1, "int", "seek", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "seek", "int", false, 4)] public int seek; - [DNAFieldAttribute(2, "void", "*data", "void", 8, true, 8)] - public object ptr_data; - [DNAFieldAttribute(3, "ImplicitSharingInfoHandle", "*sharing_info", "ImplicitSharingInfoHandle", 8, true, 16)] - public ImplicitSharingInfoHandle ptr_sharing_info; + [DNAFieldAttribute(8, "void", 2, "*data", "void", true, 8)] + public object data; + [DNAFieldAttribute(8, "ImplicitSharingInfoHandle", 3, "*sharing_info", "ImplicitSharingInfoHandle", true, 16)] + public ImplicitSharingInfoHandle sharing_info; public PackedFile() { this.size = default; this.seek = default; - this.ptr_data = default; - this.ptr_sharing_info = default; + this.data = default; + this.sharing_info = default; } - public PackedFile(int size, int seek, object ptr_data, ImplicitSharingInfoHandle ptr_sharing_info) { + public PackedFile(int size, int seek, object data, ImplicitSharingInfoHandle sharing_info) { this.size = size; this.seek = seek; - this.ptr_data = ptr_data; - this.ptr_sharing_info = ptr_sharing_info; + this.data = data; + this.sharing_info = sharing_info; } } } diff --git a/BlendFile/DNA/Paint.cs b/BlendFile/DNA/Paint.cs index fde561d..6a39433 100644 --- a/BlendFile/DNA/Paint.cs +++ b/BlendFile/DNA/Paint.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(807, "Paint", 120)] public class Paint { - [DNAFieldAttribute(0, "Brush", "*brush", "Brush", 8, true, 0)] - public Brush ptr_brush; - [DNAFieldAttribute(1, "AssetWeakReference", "*brush_asset_reference", "AssetWeakReference", 8, true, 8)] - public AssetWeakReference ptr_brush_asset_reference; - [DNAFieldAttribute(2, "Brush", "*eraser_brush", "Brush", 8, true, 16)] - public Brush ptr_eraser_brush; - [DNAFieldAttribute(3, "AssetWeakReference", "*eraser_brush_asset_reference", "AssetWeakReference", 8, true, 24)] - public AssetWeakReference ptr_eraser_brush_asset_reference; - [DNAFieldAttribute(4, "ToolSystemBrushBindings", "tool_brush_bindings", "ToolSystemBrushBindings", 24, false, 32)] + [DNAFieldAttribute(8, "Brush", 0, "*brush", "Brush", true, 0)] + public Brush brush; + [DNAFieldAttribute(8, "AssetWeakReference", 1, "*brush_asset_reference", "AssetWeakReference", true, 8)] + public AssetWeakReference brush_asset_reference; + [DNAFieldAttribute(8, "Brush", 2, "*eraser_brush", "Brush", true, 16)] + public Brush eraser_brush; + [DNAFieldAttribute(8, "AssetWeakReference", 3, "*eraser_brush_asset_reference", "AssetWeakReference", true, 24)] + public AssetWeakReference eraser_brush_asset_reference; + [DNAFieldAttribute(24, "ToolSystemBrushBindings", 4, "tool_brush_bindings", "ToolSystemBrushBindings", false, 32)] public ToolSystemBrushBindings tool_brush_bindings; - [DNAFieldAttribute(5, "Palette", "*palette", "Palette", 8, true, 56)] - public Palette ptr_palette; - [DNAFieldAttribute(6, "CurveMapping", "*cavity_curve", "CurveMapping", 8, true, 64)] - public CurveMapping ptr_cavity_curve; - [DNAFieldAttribute(7, "void", "*paint_cursor", "void", 8, true, 72)] - public object ptr_paint_cursor; - [DNAFieldAttribute(8, "char", "paint_cursor_col[4]", "System.Char[]", 4, false, 80)] + [DNAFieldAttribute(8, "Palette", 5, "*palette", "Palette", true, 56)] + public Palette palette; + [DNAFieldAttribute(8, "CurveMapping", 6, "*cavity_curve", "CurveMapping", true, 64)] + public CurveMapping cavity_curve; + [DNAFieldAttribute(8, "void", 7, "*paint_cursor", "void", true, 72)] + public object paint_cursor; + [DNAFieldAttribute(4, "char", 8, "paint_cursor_col[4]", "System.Char[]", false, 80)] public char[] paint_cursor_col = new System.Char[4]; - [DNAFieldAttribute(9, "int", "flags", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 9, "flags", "int", false, 84)] public int flags; - [DNAFieldAttribute(10, "int", "num_input_samples", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 10, "num_input_samples", "int", false, 88)] public int num_input_samples; - [DNAFieldAttribute(11, "int", "symmetry_flags", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 11, "symmetry_flags", "int", false, 92)] public int symmetry_flags; - [DNAFieldAttribute(12, "float", "tile_offset[3]", "System.Single[]", 12, false, 96)] + [DNAFieldAttribute(12, "float", 12, "tile_offset[3]", "System.Single[]", false, 96)] public float[] tile_offset = new System.Single[3]; - [DNAFieldAttribute(13, "char", "_pad2[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 13, "_pad2[4]", "System.Char[]", false, 108)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(14, "Paint_Runtime", "runtime", "Paint_Runtime", 8, false, 112)] + [DNAFieldAttribute(8, "Paint_Runtime", 14, "runtime", "Paint_Runtime", false, 112)] 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.brush = default; + this.brush_asset_reference = default; + this.eraser_brush = default; + this.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.palette = default; + this.cavity_curve = default; + this.paint_cursor = default; this.paint_cursor_col = default; this.flags = default; this.num_input_samples = default; @@ -62,15 +62,15 @@ namespace BlendFile.DNA { 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; - this.ptr_eraser_brush = ptr_eraser_brush; - this.ptr_eraser_brush_asset_reference = ptr_eraser_brush_asset_reference; + public Paint(Brush brush, AssetWeakReference brush_asset_reference, Brush eraser_brush, AssetWeakReference eraser_brush_asset_reference, ToolSystemBrushBindings tool_brush_bindings, Palette palette, CurveMapping cavity_curve, object paint_cursor, char[] paint_cursor_col, int flags, int num_input_samples, int symmetry_flags, float[] tile_offset, char[] _pad2, Paint_Runtime runtime) { + this.brush = brush; + this.brush_asset_reference = brush_asset_reference; + this.eraser_brush = eraser_brush; + this.eraser_brush_asset_reference = eraser_brush_asset_reference; this.tool_brush_bindings = tool_brush_bindings; - this.ptr_palette = ptr_palette; - this.ptr_cavity_curve = ptr_cavity_curve; - this.ptr_paint_cursor = ptr_paint_cursor; + this.palette = palette; + this.cavity_curve = cavity_curve; + this.paint_cursor = paint_cursor; this.paint_cursor_col = paint_cursor_col; this.flags = flags; this.num_input_samples = num_input_samples; diff --git a/BlendFile/DNA/PaintCurve.cs b/BlendFile/DNA/PaintCurve.cs index 7d55e1f..bd62ba1 100644 --- a/BlendFile/DNA/PaintCurve.cs +++ b/BlendFile/DNA/PaintCurve.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(135, "PaintCurve", 224)] public class PaintCurve { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "PaintCurvePoint", "*points", "PaintCurvePoint", 8, true, 208)] - public PaintCurvePoint ptr_points; - [DNAFieldAttribute(2, "int", "tot_points", "int", 4, false, 216)] + [DNAFieldAttribute(8, "PaintCurvePoint", 1, "*points", "PaintCurvePoint", true, 208)] + public PaintCurvePoint points; + [DNAFieldAttribute(4, "int", 2, "tot_points", "int", false, 216)] public int tot_points; - [DNAFieldAttribute(3, "int", "add_index", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 3, "add_index", "int", false, 220)] public int add_index; public PaintCurve() { this.id = default; - this.ptr_points = default; + this.points = default; this.tot_points = default; this.add_index = default; } - public PaintCurve(ID id, PaintCurvePoint ptr_points, int tot_points, int add_index) { + public PaintCurve(ID id, PaintCurvePoint points, int tot_points, int add_index) { this.id = id; - this.ptr_points = ptr_points; + this.points = points; this.tot_points = tot_points; this.add_index = add_index; } diff --git a/BlendFile/DNA/PaintCurvePoint.cs b/BlendFile/DNA/PaintCurvePoint.cs index 07c9d19..1f9a8ba 100644 --- a/BlendFile/DNA/PaintCurvePoint.cs +++ b/BlendFile/DNA/PaintCurvePoint.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(139, "PaintCurvePoint", 76)] - public struct PaintCurvePoint { - [DNAFieldAttribute(0, "BezTriple", "bez", "BezTriple", 72, false, 0)] + public class PaintCurvePoint { + [DNAFieldAttribute(72, "BezTriple", 0, "bez", "BezTriple", false, 0)] public BezTriple bez; - [DNAFieldAttribute(1, "float", "pressure", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 1, "pressure", "float", false, 72)] public float pressure; public PaintCurvePoint() { this.bez = default; diff --git a/BlendFile/DNA/PaintModeSettings.cs b/BlendFile/DNA/PaintModeSettings.cs index acc0a6c..5815e87 100644 --- a/BlendFile/DNA/PaintModeSettings.cs +++ b/BlendFile/DNA/PaintModeSettings.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(809, "PaintModeSettings", 56)] public class PaintModeSettings { - [DNAFieldAttribute(0, "char", "canvas_source", "char", 1, false, 0)] + [DNAFieldAttribute(1, "char", 0, "canvas_source", "char", false, 0)] public char canvas_source; - [DNAFieldAttribute(1, "char", "_pad[7]", "System.Char[]", 7, false, 1)] + [DNAFieldAttribute(7, "char", 1, "_pad[7]", "System.Char[]", false, 1)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(2, "Image", "*canvas_image", "Image", 8, true, 8)] - public Image ptr_canvas_image; - [DNAFieldAttribute(3, "ImageUser", "image_user", "ImageUser", 40, false, 16)] + [DNAFieldAttribute(8, "Image", 2, "*canvas_image", "Image", true, 8)] + public Image canvas_image; + [DNAFieldAttribute(40, "ImageUser", 3, "image_user", "ImageUser", false, 16)] public ImageUser image_user; public PaintModeSettings() { this.canvas_source = default; this._pad = default; - this.ptr_canvas_image = default; + this.canvas_image = default; this.image_user = default; } - public PaintModeSettings(char canvas_source, char[] _pad, Image ptr_canvas_image, ImageUser image_user) { + public PaintModeSettings(char canvas_source, char[] _pad, Image canvas_image, ImageUser image_user) { this.canvas_source = canvas_source; this._pad = _pad; - this.ptr_canvas_image = ptr_canvas_image; + this.canvas_image = canvas_image; this.image_user = image_user; } } diff --git a/BlendFile/DNA/Paint_Runtime.cs b/BlendFile/DNA/Paint_Runtime.cs index 652f891..84509df 100644 --- a/BlendFile/DNA/Paint_Runtime.cs +++ b/BlendFile/DNA/Paint_Runtime.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(804, "Paint_Runtime", 8)] - public struct Paint_Runtime { - [DNAFieldAttribute(0, "int", "initialized", "int", 4, false, 0)] + public class Paint_Runtime { + [DNAFieldAttribute(4, "int", 0, "initialized", "int", false, 0)] public int initialized; - [DNAFieldAttribute(1, "short", "ob_mode", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "ob_mode", "short", false, 4)] public short ob_mode; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 6)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 6)] public char[] _pad = new System.Char[2]; public Paint_Runtime() { this.initialized = default; diff --git a/BlendFile/DNA/Palette.cs b/BlendFile/DNA/Palette.cs index bfe9e37..6644548 100644 --- a/BlendFile/DNA/Palette.cs +++ b/BlendFile/DNA/Palette.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(138, "Palette", 232)] - public struct Palette { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + public class Palette { + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "ListBase", "colors", "ListBase", 16, false, 208)] + [DNAFieldAttribute(16, "ListBase", 1, "colors", "ListBase", false, 208)] public ListBase colors; - [DNAFieldAttribute(2, "int", "active_color", "int", 4, false, 224)] + [DNAFieldAttribute(4, "int", 2, "active_color", "int", false, 224)] public int active_color; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 228)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 228)] public char[] _pad = new System.Char[4]; public Palette() { this.id = default; diff --git a/BlendFile/DNA/PaletteColor.cs b/BlendFile/DNA/PaletteColor.cs index cbb837b..fe3d6f9 100644 --- a/BlendFile/DNA/PaletteColor.cs +++ b/BlendFile/DNA/PaletteColor.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(137, "PaletteColor", 32)] public class PaletteColor { - [DNAFieldAttribute(0, "PaletteColor", "*next", "PaletteColor", 8, true, 0)] - public PaletteColor ptr_next; - [DNAFieldAttribute(1, "PaletteColor", "*prev", "PaletteColor", 8, true, 8)] - public PaletteColor ptr_prev; - [DNAFieldAttribute(2, "float", "rgb[3]", "System.Single[]", 12, false, 16)] + [DNAFieldAttribute(8, "PaletteColor", 0, "*next", "PaletteColor", true, 0)] + public PaletteColor next; + [DNAFieldAttribute(8, "PaletteColor", 1, "*prev", "PaletteColor", true, 8)] + public PaletteColor prev; + [DNAFieldAttribute(12, "float", 2, "rgb[3]", "System.Single[]", false, 16)] public float[] rgb = new System.Single[3]; - [DNAFieldAttribute(3, "float", "value", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 3, "value", "float", false, 28)] public float value; public PaletteColor() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public PaletteColor(PaletteColor next, PaletteColor prev, float[] rgb, float value) { + this.next = next; + this.prev = prev; this.rgb = rgb; this.value = value; } diff --git a/BlendFile/DNA/Panel.cs b/BlendFile/DNA/Panel.cs index 2b90ddd..483fa98 100644 --- a/BlendFile/DNA/Panel.cs +++ b/BlendFile/DNA/Panel.cs @@ -15,55 +15,55 @@ namespace BlendFile.DNA { [DNAClassAttribute(850, "Panel", 192)] public class Panel { - [DNAFieldAttribute(0, "Panel", "*next", "Panel", 8, true, 0)] - public Panel ptr_next; - [DNAFieldAttribute(1, "Panel", "*prev", "Panel", 8, true, 8)] - public Panel ptr_prev; - [DNAFieldAttribute(2, "PanelType", "*type", "PanelType", 8, true, 16)] - public PanelType ptr_type; - [DNAFieldAttribute(3, "uiLayout", "*layout", "uiLayout", 8, true, 24)] - public uiLayout ptr_layout; - [DNAFieldAttribute(4, "char", "panelname[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(8, "Panel", 0, "*next", "Panel", true, 0)] + public Panel next; + [DNAFieldAttribute(8, "Panel", 1, "*prev", "Panel", true, 8)] + public Panel prev; + [DNAFieldAttribute(8, "PanelType", 2, "*type", "PanelType", true, 16)] + public PanelType type; + [DNAFieldAttribute(8, "uiLayout", 3, "*layout", "uiLayout", true, 24)] + public uiLayout layout; + [DNAFieldAttribute(64, "char", 4, "panelname[64]", "System.Char[]", false, 32)] public char[] panelname = new System.Char[64]; - [DNAFieldAttribute(5, "char", "*drawname", "char", 8, true, 96)] - public char ptr_drawname; - [DNAFieldAttribute(6, "int", "ofsx", "int", 4, false, 104)] + [DNAFieldAttribute(8, "char", 5, "*drawname", "char", true, 96)] + public char drawname; + [DNAFieldAttribute(4, "int", 6, "ofsx", "int", false, 104)] public int ofsx; - [DNAFieldAttribute(7, "int", "ofsy", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 7, "ofsy", "int", false, 108)] public int ofsy; - [DNAFieldAttribute(8, "int", "sizex", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 8, "sizex", "int", false, 112)] public int sizex; - [DNAFieldAttribute(9, "int", "sizey", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 9, "sizey", "int", false, 116)] public int sizey; - [DNAFieldAttribute(10, "int", "blocksizex", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 10, "blocksizex", "int", false, 120)] public int blocksizex; - [DNAFieldAttribute(11, "int", "blocksizey", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 11, "blocksizey", "int", false, 124)] public int blocksizey; - [DNAFieldAttribute(12, "short", "labelofs", "short", 2, false, 128)] + [DNAFieldAttribute(2, "short", 12, "labelofs", "short", false, 128)] public short labelofs; - [DNAFieldAttribute(13, "short", "flag", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 130)] public short flag; - [DNAFieldAttribute(14, "short", "runtime_flag", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 14, "runtime_flag", "short", false, 132)] public short runtime_flag; - [DNAFieldAttribute(15, "char", "_pad[6]", "System.Char[]", 6, false, 134)] + [DNAFieldAttribute(6, "char", 15, "_pad[6]", "System.Char[]", false, 134)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(16, "int", "sortorder", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 16, "sortorder", "int", false, 140)] public int sortorder; - [DNAFieldAttribute(17, "void", "*activedata", "void", 8, true, 144)] - public object ptr_activedata; - [DNAFieldAttribute(18, "ListBase", "children", "ListBase", 16, false, 152)] + [DNAFieldAttribute(8, "void", 17, "*activedata", "void", true, 144)] + public object activedata; + [DNAFieldAttribute(16, "ListBase", 18, "children", "ListBase", false, 152)] public ListBase children; - [DNAFieldAttribute(19, "ListBase", "layout_panel_states", "ListBase", 16, false, 168)] + [DNAFieldAttribute(16, "ListBase", 19, "layout_panel_states", "ListBase", false, 168)] public ListBase layout_panel_states; - [DNAFieldAttribute(20, "Panel_Runtime", "*runtime", "Panel_Runtime", 8, true, 184)] - public Panel_Runtime ptr_runtime; + [DNAFieldAttribute(8, "Panel_Runtime", 20, "*runtime", "Panel_Runtime", true, 184)] + public Panel_Runtime runtime; public Panel() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_type = default; - this.ptr_layout = default; + this.next = default; + this.prev = default; + this.type = default; + this.layout = default; this.panelname = default; - this.ptr_drawname = default; + this.drawname = default; this.ofsx = default; this.ofsy = default; this.sizex = default; @@ -75,18 +75,18 @@ namespace BlendFile.DNA { this.runtime_flag = default; this._pad = default; this.sortorder = default; - this.ptr_activedata = default; + this.activedata = default; this.children = default; this.layout_panel_states = default; - this.ptr_runtime = default; + this.runtime = default; } public Panel( - Panel ptr_next, - Panel ptr_prev, - PanelType ptr_type, - uiLayout ptr_layout, + Panel next, + Panel prev, + PanelType type, + uiLayout layout, char[] panelname, - char ptr_drawname, + char drawname, int ofsx, int ofsy, int sizex, @@ -98,16 +98,16 @@ namespace BlendFile.DNA { short runtime_flag, char[] _pad, int sortorder, - object ptr_activedata, + object activedata, ListBase children, ListBase layout_panel_states, - Panel_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_type = ptr_type; - this.ptr_layout = ptr_layout; + Panel_Runtime runtime) { + this.next = next; + this.prev = prev; + this.type = type; + this.layout = layout; this.panelname = panelname; - this.ptr_drawname = ptr_drawname; + this.drawname = drawname; this.ofsx = ofsx; this.ofsy = ofsy; this.sizex = sizex; @@ -119,10 +119,10 @@ namespace BlendFile.DNA { this.runtime_flag = runtime_flag; this._pad = _pad; this.sortorder = sortorder; - this.ptr_activedata = ptr_activedata; + this.activedata = activedata; this.children = children; this.layout_panel_states = layout_panel_states; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/PanelCategoryStack.cs b/BlendFile/DNA/PanelCategoryStack.cs index be77800..f8a5322 100644 --- a/BlendFile/DNA/PanelCategoryStack.cs +++ b/BlendFile/DNA/PanelCategoryStack.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(854, "PanelCategoryStack", 80)] public class PanelCategoryStack { - [DNAFieldAttribute(0, "PanelCategoryStack", "*next", "PanelCategoryStack", 8, true, 0)] - public PanelCategoryStack ptr_next; - [DNAFieldAttribute(1, "PanelCategoryStack", "*prev", "PanelCategoryStack", 8, true, 8)] - public PanelCategoryStack ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "PanelCategoryStack", 0, "*next", "PanelCategoryStack", true, 0)] + public PanelCategoryStack next; + [DNAFieldAttribute(8, "PanelCategoryStack", 1, "*prev", "PanelCategoryStack", true, 8)] + public PanelCategoryStack prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; public PanelCategoryStack() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public PanelCategoryStack(PanelCategoryStack next, PanelCategoryStack prev, char[] idname) { + this.next = next; + this.prev = prev; this.idname = idname; } } diff --git a/BlendFile/DNA/PartDeflect.cs b/BlendFile/DNA/PartDeflect.cs index ef9dde8..6e02e38 100644 --- a/BlendFile/DNA/PartDeflect.cs +++ b/BlendFile/DNA/PartDeflect.cs @@ -15,105 +15,105 @@ namespace BlendFile.DNA { [DNAClassAttribute(757, "PartDeflect", 232)] public class PartDeflect { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "short", "deflect", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "deflect", "short", false, 4)] public short deflect; - [DNAFieldAttribute(2, "short", "forcefield", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 2, "forcefield", "short", false, 6)] public short forcefield; - [DNAFieldAttribute(3, "short", "falloff", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 3, "falloff", "short", false, 8)] public short falloff; - [DNAFieldAttribute(4, "short", "shape", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 4, "shape", "short", false, 10)] public short shape; - [DNAFieldAttribute(5, "short", "tex_mode", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 5, "tex_mode", "short", false, 12)] public short tex_mode; - [DNAFieldAttribute(6, "short", "kink", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 6, "kink", "short", false, 14)] public short kink; - [DNAFieldAttribute(7, "short", "kink_axis", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 7, "kink_axis", "short", false, 16)] public short kink_axis; - [DNAFieldAttribute(8, "short", "zdir", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 8, "zdir", "short", false, 18)] public short zdir; - [DNAFieldAttribute(9, "float", "f_strength", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 9, "f_strength", "float", false, 20)] public float f_strength; - [DNAFieldAttribute(10, "float", "f_damp", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 10, "f_damp", "float", false, 24)] public float f_damp; - [DNAFieldAttribute(11, "float", "f_flow", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 11, "f_flow", "float", false, 28)] public float f_flow; - [DNAFieldAttribute(12, "float", "f_wind_factor", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 12, "f_wind_factor", "float", false, 32)] public float f_wind_factor; - [DNAFieldAttribute(13, "char", "_pad0[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 13, "_pad0[4]", "System.Char[]", false, 36)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(14, "float", "f_size", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 14, "f_size", "float", false, 40)] public float f_size; - [DNAFieldAttribute(15, "float", "f_power", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 15, "f_power", "float", false, 44)] public float f_power; - [DNAFieldAttribute(16, "float", "maxdist", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 16, "maxdist", "float", false, 48)] public float maxdist; - [DNAFieldAttribute(17, "float", "mindist", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 17, "mindist", "float", false, 52)] public float mindist; - [DNAFieldAttribute(18, "float", "f_power_r", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 18, "f_power_r", "float", false, 56)] public float f_power_r; - [DNAFieldAttribute(19, "float", "maxrad", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 19, "maxrad", "float", false, 60)] public float maxrad; - [DNAFieldAttribute(20, "float", "minrad", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 20, "minrad", "float", false, 64)] public float minrad; - [DNAFieldAttribute(21, "float", "pdef_damp", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 21, "pdef_damp", "float", false, 68)] public float pdef_damp; - [DNAFieldAttribute(22, "float", "pdef_rdamp", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 22, "pdef_rdamp", "float", false, 72)] public float pdef_rdamp; - [DNAFieldAttribute(23, "float", "pdef_perm", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 23, "pdef_perm", "float", false, 76)] public float pdef_perm; - [DNAFieldAttribute(24, "float", "pdef_frict", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 24, "pdef_frict", "float", false, 80)] public float pdef_frict; - [DNAFieldAttribute(25, "float", "pdef_rfrict", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 25, "pdef_rfrict", "float", false, 84)] public float pdef_rfrict; - [DNAFieldAttribute(26, "float", "pdef_stickness", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 26, "pdef_stickness", "float", false, 88)] public float pdef_stickness; - [DNAFieldAttribute(27, "float", "absorption", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 27, "absorption", "float", false, 92)] public float absorption; - [DNAFieldAttribute(28, "float", "pdef_sbdamp", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 28, "pdef_sbdamp", "float", false, 96)] public float pdef_sbdamp; - [DNAFieldAttribute(29, "float", "pdef_sbift", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 29, "pdef_sbift", "float", false, 100)] public float pdef_sbift; - [DNAFieldAttribute(30, "float", "pdef_sboft", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 30, "pdef_sboft", "float", false, 104)] public float pdef_sboft; - [DNAFieldAttribute(31, "float", "clump_fac", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 31, "clump_fac", "float", false, 108)] public float clump_fac; - [DNAFieldAttribute(32, "float", "clump_pow", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 32, "clump_pow", "float", false, 112)] public float clump_pow; - [DNAFieldAttribute(33, "float", "kink_freq", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 33, "kink_freq", "float", false, 116)] public float kink_freq; - [DNAFieldAttribute(34, "float", "kink_shape", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 34, "kink_shape", "float", false, 120)] public float kink_shape; - [DNAFieldAttribute(35, "float", "kink_amp", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 35, "kink_amp", "float", false, 124)] public float kink_amp; - [DNAFieldAttribute(36, "float", "free_end", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 36, "free_end", "float", false, 128)] public float free_end; - [DNAFieldAttribute(37, "float", "tex_nabla", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 37, "tex_nabla", "float", false, 132)] public float tex_nabla; - [DNAFieldAttribute(38, "Tex", "*tex", "Tex", 8, true, 136)] - public Tex ptr_tex; - [DNAFieldAttribute(39, "float", "f_noise", "float", 4, false, 144)] + [DNAFieldAttribute(8, "Tex", 38, "*tex", "Tex", true, 136)] + public Tex tex; + [DNAFieldAttribute(4, "float", 39, "f_noise", "float", false, 144)] public float f_noise; - [DNAFieldAttribute(40, "int", "seed", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 40, "seed", "int", false, 148)] public int seed; - [DNAFieldAttribute(41, "float", "drawvec1[4]", "System.Single[]", 16, false, 152)] + [DNAFieldAttribute(16, "float", 41, "drawvec1[4]", "System.Single[]", false, 152)] public float[] drawvec1 = new System.Single[4]; - [DNAFieldAttribute(42, "float", "drawvec2[4]", "System.Single[]", 16, false, 168)] + [DNAFieldAttribute(16, "float", 42, "drawvec2[4]", "System.Single[]", false, 168)] public float[] drawvec2 = new System.Single[4]; - [DNAFieldAttribute(43, "float", "drawvec_falloff_min[3]", "System.Single[]", 12, false, 184)] + [DNAFieldAttribute(12, "float", 43, "drawvec_falloff_min[3]", "System.Single[]", false, 184)] public float[] drawvec_falloff_min = new System.Single[3]; - [DNAFieldAttribute(44, "char", "_pad1[4]", "System.Char[]", 4, false, 196)] + [DNAFieldAttribute(4, "char", 44, "_pad1[4]", "System.Char[]", false, 196)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(45, "float", "drawvec_falloff_max[3]", "System.Single[]", 12, false, 200)] + [DNAFieldAttribute(12, "float", 45, "drawvec_falloff_max[3]", "System.Single[]", false, 200)] public float[] drawvec_falloff_max = new System.Single[3]; - [DNAFieldAttribute(46, "char", "_pad2[4]", "System.Char[]", 4, false, 212)] + [DNAFieldAttribute(4, "char", 46, "_pad2[4]", "System.Char[]", false, 212)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(47, "Object", "*f_source", "Object", 8, true, 216)] - public Object ptr_f_source; - [DNAFieldAttribute(48, "float", "pdef_cfrict", "float", 4, false, 224)] + [DNAFieldAttribute(8, "Object", 47, "*f_source", "Object", true, 216)] + public Object f_source; + [DNAFieldAttribute(4, "float", 48, "pdef_cfrict", "float", false, 224)] public float pdef_cfrict; - [DNAFieldAttribute(49, "char", "_pad[4]", "System.Char[]", 4, false, 228)] + [DNAFieldAttribute(4, "char", 49, "_pad[4]", "System.Char[]", false, 228)] public char[] _pad = new System.Char[4]; public PartDeflect() { this.flag = default; @@ -154,7 +154,7 @@ namespace BlendFile.DNA { this.kink_amp = default; this.free_end = default; this.tex_nabla = default; - this.ptr_tex = default; + this.tex = default; this.f_noise = default; this.seed = default; this.drawvec1 = default; @@ -163,7 +163,7 @@ namespace BlendFile.DNA { this._pad1 = default; this.drawvec_falloff_max = default; this._pad2 = default; - this.ptr_f_source = default; + this.f_source = default; this.pdef_cfrict = default; this._pad = default; } @@ -206,7 +206,7 @@ namespace BlendFile.DNA { float kink_amp, float free_end, float tex_nabla, - Tex ptr_tex, + Tex tex, float f_noise, int seed, float[] drawvec1, @@ -215,7 +215,7 @@ namespace BlendFile.DNA { char[] _pad1, float[] drawvec_falloff_max, char[] _pad2, - Object ptr_f_source, + Object f_source, float pdef_cfrict, char[] _pad) { this.flag = flag; @@ -256,7 +256,7 @@ namespace BlendFile.DNA { this.kink_amp = kink_amp; this.free_end = free_end; this.tex_nabla = tex_nabla; - this.ptr_tex = ptr_tex; + this.tex = tex; this.f_noise = f_noise; this.seed = seed; this.drawvec1 = drawvec1; @@ -265,7 +265,7 @@ namespace BlendFile.DNA { this._pad1 = _pad1; this.drawvec_falloff_max = drawvec_falloff_max; this._pad2 = _pad2; - this.ptr_f_source = ptr_f_source; + this.f_source = f_source; this.pdef_cfrict = pdef_cfrict; this._pad = _pad; } diff --git a/BlendFile/DNA/PartEff.cs b/BlendFile/DNA/PartEff.cs index 9f682c4..dcca4a7 100644 --- a/BlendFile/DNA/PartEff.cs +++ b/BlendFile/DNA/PartEff.cs @@ -15,99 +15,99 @@ namespace BlendFile.DNA { [DNAClassAttribute(236, "PartEff", 392)] public class PartEff { - [DNAFieldAttribute(0, "PartEff", "*next", "PartEff", 8, true, 0)] - public PartEff ptr_next; - [DNAFieldAttribute(1, "PartEff", "*prev", "PartEff", 8, true, 8)] - public PartEff ptr_prev; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "PartEff", 0, "*next", "PartEff", true, 0)] + public PartEff next; + [DNAFieldAttribute(8, "PartEff", 1, "*prev", "PartEff", true, 8)] + public PartEff prev; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(4, "short", "buttype", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)] public short buttype; - [DNAFieldAttribute(5, "short", "stype", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 5, "stype", "short", false, 22)] public short stype; - [DNAFieldAttribute(6, "short", "vertgroup", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "vertgroup", "short", false, 24)] public short vertgroup; - [DNAFieldAttribute(7, "short", "userjit", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 7, "userjit", "short", false, 26)] public short userjit; - [DNAFieldAttribute(8, "float", "sta", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 8, "sta", "float", false, 28)] public float sta; - [DNAFieldAttribute(9, "float", "end", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 9, "end", "float", false, 32)] public float end; - [DNAFieldAttribute(10, "float", "lifetime", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 10, "lifetime", "float", false, 36)] public float lifetime; - [DNAFieldAttribute(11, "int", "totpart", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 11, "totpart", "int", false, 40)] public int totpart; - [DNAFieldAttribute(12, "int", "totkey", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 12, "totkey", "int", false, 44)] public int totkey; - [DNAFieldAttribute(13, "int", "seed", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 13, "seed", "int", false, 48)] public int seed; - [DNAFieldAttribute(14, "float", "normfac", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 14, "normfac", "float", false, 52)] public float normfac; - [DNAFieldAttribute(15, "float", "obfac", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 15, "obfac", "float", false, 56)] public float obfac; - [DNAFieldAttribute(16, "float", "randfac", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 16, "randfac", "float", false, 60)] public float randfac; - [DNAFieldAttribute(17, "float", "texfac", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 17, "texfac", "float", false, 64)] public float texfac; - [DNAFieldAttribute(18, "float", "randlife", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 18, "randlife", "float", false, 68)] public float randlife; - [DNAFieldAttribute(19, "float", "force[3]", "System.Single[]", 12, false, 72)] + [DNAFieldAttribute(12, "float", 19, "force[3]", "System.Single[]", false, 72)] public float[] force = new System.Single[3]; - [DNAFieldAttribute(20, "float", "damp", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 20, "damp", "float", false, 84)] public float damp; - [DNAFieldAttribute(21, "float", "nabla", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 21, "nabla", "float", false, 88)] public float nabla; - [DNAFieldAttribute(22, "float", "vectsize", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 22, "vectsize", "float", false, 92)] public float vectsize; - [DNAFieldAttribute(23, "float", "maxlen", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 23, "maxlen", "float", false, 96)] public float maxlen; - [DNAFieldAttribute(24, "float", "defvec[3]", "System.Single[]", 12, false, 100)] + [DNAFieldAttribute(12, "float", 24, "defvec[3]", "System.Single[]", false, 100)] public float[] defvec = new System.Single[3]; - [DNAFieldAttribute(25, "char", "_pad[4]", "System.Char[]", 4, false, 112)] + [DNAFieldAttribute(4, "char", 25, "_pad[4]", "System.Char[]", false, 112)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(26, "float", "mult[4]", "System.Single[]", 16, false, 116)] + [DNAFieldAttribute(16, "float", 26, "mult[4]", "System.Single[]", false, 116)] public float[] mult = new System.Single[4]; - [DNAFieldAttribute(27, "float", "life[4]", "System.Single[]", 16, false, 132)] + [DNAFieldAttribute(16, "float", 27, "life[4]", "System.Single[]", false, 132)] public float[] life = new System.Single[4]; - [DNAFieldAttribute(28, "short", "child[4]", "System.Int16[]", 8, false, 148)] + [DNAFieldAttribute(8, "short", 28, "child[4]", "System.Int16[]", false, 148)] public short[] child = new System.Int16[4]; - [DNAFieldAttribute(29, "short", "mat[4]", "System.Int16[]", 8, false, 156)] + [DNAFieldAttribute(8, "short", 29, "mat[4]", "System.Int16[]", false, 156)] public short[] mat = new System.Int16[4]; - [DNAFieldAttribute(30, "short", "texmap", "short", 2, false, 164)] + [DNAFieldAttribute(2, "short", 30, "texmap", "short", false, 164)] public short texmap; - [DNAFieldAttribute(31, "short", "curmult", "short", 2, false, 166)] + [DNAFieldAttribute(2, "short", 31, "curmult", "short", false, 166)] public short curmult; - [DNAFieldAttribute(32, "short", "staticstep", "short", 2, false, 168)] + [DNAFieldAttribute(2, "short", 32, "staticstep", "short", false, 168)] public short staticstep; - [DNAFieldAttribute(33, "short", "omat", "short", 2, false, 170)] + [DNAFieldAttribute(2, "short", 33, "omat", "short", false, 170)] public short omat; - [DNAFieldAttribute(34, "short", "timetex", "short", 2, false, 172)] + [DNAFieldAttribute(2, "short", 34, "timetex", "short", false, 172)] public short timetex; - [DNAFieldAttribute(35, "short", "speedtex", "short", 2, false, 174)] + [DNAFieldAttribute(2, "short", 35, "speedtex", "short", false, 174)] public short speedtex; - [DNAFieldAttribute(36, "short", "flag2", "short", 2, false, 176)] + [DNAFieldAttribute(2, "short", 36, "flag2", "short", false, 176)] public short flag2; - [DNAFieldAttribute(37, "short", "flag2neg", "short", 2, false, 178)] + [DNAFieldAttribute(2, "short", 37, "flag2neg", "short", false, 178)] public short flag2neg; - [DNAFieldAttribute(38, "short", "disp", "short", 2, false, 180)] + [DNAFieldAttribute(2, "short", 38, "disp", "short", false, 180)] public short disp; - [DNAFieldAttribute(39, "short", "vertgroup_v", "short", 2, false, 182)] + [DNAFieldAttribute(2, "short", 39, "vertgroup_v", "short", false, 182)] public short vertgroup_v; - [DNAFieldAttribute(40, "char", "vgroupname[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 40, "vgroupname[64]", "System.Char[]", false, 184)] public char[] vgroupname = new System.Char[64]; - [DNAFieldAttribute(41, "char", "vgroupname_v[64]", "System.Char[]", 64, false, 248)] + [DNAFieldAttribute(64, "char", 41, "vgroupname_v[64]", "System.Char[]", false, 248)] public char[] vgroupname_v = new System.Char[64]; - [DNAFieldAttribute(42, "float", "imat[4][4]", "System.Single[,]", 64, false, 312)] + [DNAFieldAttribute(64, "float", 42, "imat[4][4]", "System.Single[,]", false, 312)] public float[,] imat = new System.Single[4,4]; - [DNAFieldAttribute(43, "Particle", "*keys", "Particle", 8, true, 376)] - public Particle ptr_keys; - [DNAFieldAttribute(44, "Collection", "*group", "Collection", 8, true, 384)] - public Collection ptr_group; + [DNAFieldAttribute(8, "Particle", 43, "*keys", "Particle", true, 376)] + public Particle keys; + [DNAFieldAttribute(8, "Collection", 44, "*group", "Collection", true, 384)] + public Collection group; public PartEff() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.flag = default; this.buttype = default; @@ -149,12 +149,12 @@ namespace BlendFile.DNA { this.vgroupname = default; this.vgroupname_v = default; this.imat = default; - this.ptr_keys = default; - this.ptr_group = default; + this.keys = default; + this.group = default; } public PartEff( - PartEff ptr_next, - PartEff ptr_prev, + PartEff next, + PartEff prev, short type, short flag, short buttype, @@ -196,10 +196,10 @@ namespace BlendFile.DNA { char[] vgroupname, char[] vgroupname_v, float[,] imat, - Particle ptr_keys, - Collection ptr_group) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + Particle keys, + Collection group) { + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.buttype = buttype; @@ -241,8 +241,8 @@ namespace BlendFile.DNA { this.vgroupname = vgroupname; this.vgroupname_v = vgroupname_v; this.imat = imat; - this.ptr_keys = ptr_keys; - this.ptr_group = ptr_group; + this.keys = keys; + this.group = group; } } } diff --git a/BlendFile/DNA/ParticleBrushData.cs b/BlendFile/DNA/ParticleBrushData.cs index 60af157..b6713af 100644 --- a/BlendFile/DNA/ParticleBrushData.cs +++ b/BlendFile/DNA/ParticleBrushData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(810, "ParticleBrushData", 16)] - public struct ParticleBrushData { - [DNAFieldAttribute(0, "short", "size", "short", 2, false, 0)] + public class ParticleBrushData { + [DNAFieldAttribute(2, "short", 0, "size", "short", false, 0)] public short size; - [DNAFieldAttribute(1, "short", "step", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "step", "short", false, 2)] public short step; - [DNAFieldAttribute(2, "short", "invert", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "invert", "short", false, 4)] public short invert; - [DNAFieldAttribute(3, "short", "count", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "count", "short", false, 6)] public short count; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(5, "float", "strength", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 5, "strength", "float", false, 12)] public float strength; public ParticleBrushData() { this.size = default; diff --git a/BlendFile/DNA/ParticleData.cs b/BlendFile/DNA/ParticleData.cs index 4cead9a..d4f3423 100644 --- a/BlendFile/DNA/ParticleData.cs +++ b/BlendFile/DNA/ParticleData.cs @@ -15,50 +15,50 @@ namespace BlendFile.DNA { [DNAClassAttribute(783, "ParticleData", 200)] public class ParticleData { - [DNAFieldAttribute(0, "ParticleKey", "state", "ParticleKey", 56, false, 0)] + [DNAFieldAttribute(56, "ParticleKey", 0, "state", "ParticleKey", false, 0)] public ParticleKey state; - [DNAFieldAttribute(1, "ParticleKey", "prev_state", "ParticleKey", 56, false, 56)] + [DNAFieldAttribute(56, "ParticleKey", 1, "prev_state", "ParticleKey", false, 56)] public ParticleKey prev_state; - [DNAFieldAttribute(2, "HairKey", "*hair", "HairKey", 8, true, 112)] - public HairKey ptr_hair; - [DNAFieldAttribute(3, "ParticleKey", "*keys", "ParticleKey", 8, true, 120)] - public ParticleKey ptr_keys; - [DNAFieldAttribute(4, "BoidParticle", "*boid", "BoidParticle", 8, true, 128)] - public BoidParticle ptr_boid; - [DNAFieldAttribute(5, "int", "totkey", "int", 4, false, 136)] + [DNAFieldAttribute(8, "HairKey", 2, "*hair", "HairKey", true, 112)] + public HairKey hair; + [DNAFieldAttribute(8, "ParticleKey", 3, "*keys", "ParticleKey", true, 120)] + public ParticleKey keys; + [DNAFieldAttribute(8, "BoidParticle", 4, "*boid", "BoidParticle", true, 128)] + public BoidParticle boid; + [DNAFieldAttribute(4, "int", 5, "totkey", "int", false, 136)] public int totkey; - [DNAFieldAttribute(6, "float", "time", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 6, "time", "float", false, 140)] public float time; - [DNAFieldAttribute(7, "float", "lifetime", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 7, "lifetime", "float", false, 144)] public float lifetime; - [DNAFieldAttribute(8, "float", "dietime", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 8, "dietime", "float", false, 148)] public float dietime; - [DNAFieldAttribute(9, "int", "num", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 9, "num", "int", false, 152)] public int num; - [DNAFieldAttribute(10, "int", "num_dmcache", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 10, "num_dmcache", "int", false, 156)] public int num_dmcache; - [DNAFieldAttribute(11, "float", "fuv[4]", "System.Single[]", 16, false, 160)] + [DNAFieldAttribute(16, "float", 11, "fuv[4]", "System.Single[]", false, 160)] public float[] fuv = new System.Single[4]; - [DNAFieldAttribute(12, "float", "foffset", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 12, "foffset", "float", false, 176)] public float foffset; - [DNAFieldAttribute(13, "float", "size", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 13, "size", "float", false, 180)] public float size; - [DNAFieldAttribute(14, "float", "sphdensity", "float", 4, false, 184)] + [DNAFieldAttribute(4, "float", 14, "sphdensity", "float", false, 184)] public float sphdensity; - [DNAFieldAttribute(15, "char", "_pad[4]", "System.Char[]", 4, false, 188)] + [DNAFieldAttribute(4, "char", 15, "_pad[4]", "System.Char[]", false, 188)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(16, "int", "hair_index", "int", 4, false, 192)] + [DNAFieldAttribute(4, "int", 16, "hair_index", "int", false, 192)] public int hair_index; - [DNAFieldAttribute(17, "short", "flag", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 17, "flag", "short", false, 196)] public short flag; - [DNAFieldAttribute(18, "short", "alive", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 18, "alive", "short", false, 198)] 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.hair = default; + this.keys = default; + this.boid = default; this.totkey = default; this.time = default; this.lifetime = default; @@ -77,9 +77,9 @@ namespace BlendFile.DNA { public ParticleData( ParticleKey state, ParticleKey prev_state, - HairKey ptr_hair, - ParticleKey ptr_keys, - BoidParticle ptr_boid, + HairKey hair, + ParticleKey keys, + BoidParticle boid, int totkey, float time, float lifetime, @@ -96,9 +96,9 @@ namespace BlendFile.DNA { short alive) { this.state = state; this.prev_state = prev_state; - this.ptr_hair = ptr_hair; - this.ptr_keys = ptr_keys; - this.ptr_boid = ptr_boid; + this.hair = hair; + this.keys = keys; + this.boid = boid; this.totkey = totkey; this.time = time; this.lifetime = lifetime; diff --git a/BlendFile/DNA/ParticleDupliWeight.cs b/BlendFile/DNA/ParticleDupliWeight.cs index 6027969..6f2b3a6 100644 --- a/BlendFile/DNA/ParticleDupliWeight.cs +++ b/BlendFile/DNA/ParticleDupliWeight.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(782, "ParticleDupliWeight", 32)] public class ParticleDupliWeight { - [DNAFieldAttribute(0, "ParticleDupliWeight", "*next", "ParticleDupliWeight", 8, true, 0)] - public ParticleDupliWeight ptr_next; - [DNAFieldAttribute(1, "ParticleDupliWeight", "*prev", "ParticleDupliWeight", 8, true, 8)] - public ParticleDupliWeight ptr_prev; - [DNAFieldAttribute(2, "Object", "*ob", "Object", 8, true, 16)] - public Object ptr_ob; - [DNAFieldAttribute(3, "short", "count", "short", 2, false, 24)] + [DNAFieldAttribute(8, "ParticleDupliWeight", 0, "*next", "ParticleDupliWeight", true, 0)] + public ParticleDupliWeight next; + [DNAFieldAttribute(8, "ParticleDupliWeight", 1, "*prev", "ParticleDupliWeight", true, 8)] + public ParticleDupliWeight prev; + [DNAFieldAttribute(8, "Object", 2, "*ob", "Object", true, 16)] + public Object ob; + [DNAFieldAttribute(2, "short", 3, "count", "short", false, 24)] public short count; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 26)] public short flag; - [DNAFieldAttribute(5, "short", "index", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 5, "index", "short", false, 28)] public short index; - [DNAFieldAttribute(6, "char", "_pad0[2]", "System.Char[]", 2, false, 30)] + [DNAFieldAttribute(2, "char", 6, "_pad0[2]", "System.Char[]", false, 30)] public char[] _pad0 = new System.Char[2]; public ParticleDupliWeight() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_ob = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_ob = ptr_ob; + public ParticleDupliWeight(ParticleDupliWeight next, ParticleDupliWeight prev, Object ob, short count, short flag, short index, char[] _pad0) { + this.next = next; + this.prev = prev; + this.ob = ob; this.count = count; this.flag = flag; this.index = index; diff --git a/BlendFile/DNA/ParticleEditSettings.cs b/BlendFile/DNA/ParticleEditSettings.cs index 781d2ba..6c9216e 100644 --- a/BlendFile/DNA/ParticleEditSettings.cs +++ b/BlendFile/DNA/ParticleEditSettings.cs @@ -15,69 +15,69 @@ namespace BlendFile.DNA { [DNAClassAttribute(811, "ParticleEditSettings", 176)] public class ParticleEditSettings { - [DNAFieldAttribute(0, "short", "flag", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "flag", "short", false, 0)] public short flag; - [DNAFieldAttribute(1, "short", "totrekey", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "totrekey", "short", false, 2)] public short totrekey; - [DNAFieldAttribute(2, "short", "totaddkey", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "totaddkey", "short", false, 4)] public short totaddkey; - [DNAFieldAttribute(3, "short", "brushtype", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "brushtype", "short", false, 6)] public short brushtype; - [DNAFieldAttribute(4, "ParticleBrushData", "brush[7]", "ParticleBrushData[]", 112, false, 8)] + [DNAFieldAttribute(112, "ParticleBrushData", 4, "brush[7]", "ParticleBrushData[]", false, 8)] public ParticleBrushData[] brush = new ParticleBrushData[7]; - [DNAFieldAttribute(5, "void", "*paintcursor", "void", 8, true, 120)] - public object ptr_paintcursor; - [DNAFieldAttribute(6, "float", "emitterdist", "float", 4, false, 128)] + [DNAFieldAttribute(8, "void", 5, "*paintcursor", "void", true, 120)] + public object paintcursor; + [DNAFieldAttribute(4, "float", 6, "emitterdist", "float", false, 128)] public float emitterdist; - [DNAFieldAttribute(7, "char", "_pad0[4]", "System.Char[]", 4, false, 132)] + [DNAFieldAttribute(4, "char", 7, "_pad0[4]", "System.Char[]", false, 132)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(8, "int", "selectmode", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 8, "selectmode", "int", false, 136)] public int selectmode; - [DNAFieldAttribute(9, "int", "edittype", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 9, "edittype", "int", false, 140)] public int edittype; - [DNAFieldAttribute(10, "int", "draw_step", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 10, "draw_step", "int", false, 144)] public int draw_step; - [DNAFieldAttribute(11, "int", "fade_frames", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 11, "fade_frames", "int", false, 148)] public int fade_frames; - [DNAFieldAttribute(12, "Scene", "*scene", "Scene", 8, true, 152)] - public Scene ptr_scene; - [DNAFieldAttribute(13, "Object", "*object", "Object", 8, true, 160)] - public Object ptr_object; - [DNAFieldAttribute(14, "Object", "*shape_object", "Object", 8, true, 168)] - public Object ptr_shape_object; + [DNAFieldAttribute(8, "Scene", 12, "*scene", "Scene", true, 152)] + public Scene scene; + [DNAFieldAttribute(8, "Object", 13, "*object", "Object", true, 160)] + public Object @object; + [DNAFieldAttribute(8, "Object", 14, "*shape_object", "Object", true, 168)] + public Object shape_object; public ParticleEditSettings() { this.flag = default; this.totrekey = default; this.totaddkey = default; this.brushtype = default; this.brush = default; - this.ptr_paintcursor = default; + this.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; + this.scene = default; + this.@object = default; + this.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) { + public ParticleEditSettings(short flag, short totrekey, short totaddkey, short brushtype, ParticleBrushData[] brush, object paintcursor, float emitterdist, char[] _pad0, int selectmode, int edittype, int draw_step, int fade_frames, Scene scene, Object @object, Object shape_object) { this.flag = flag; this.totrekey = totrekey; this.totaddkey = totaddkey; this.brushtype = brushtype; this.brush = brush; - this.ptr_paintcursor = ptr_paintcursor; + this.paintcursor = paintcursor; this.emitterdist = emitterdist; this._pad0 = _pad0; this.selectmode = selectmode; this.edittype = edittype; this.draw_step = draw_step; this.fade_frames = fade_frames; - this.ptr_scene = ptr_scene; - this.ptr_object = ptr_object; - this.ptr_shape_object = ptr_shape_object; + this.scene = scene; + this.@object = @object; + this.shape_object = shape_object; } } } diff --git a/BlendFile/DNA/ParticleInstanceModifierData.cs b/BlendFile/DNA/ParticleInstanceModifierData.cs index 2f9c5d4..5afdd72 100644 --- a/BlendFile/DNA/ParticleInstanceModifierData.cs +++ b/BlendFile/DNA/ParticleInstanceModifierData.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(478, "ParticleInstanceModifierData", 304)] public class ParticleInstanceModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*ob", "Object", 8, true, 120)] - public Object ptr_ob; - [DNAFieldAttribute(2, "short", "psys", "short", 2, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 120)] + public Object ob; + [DNAFieldAttribute(2, "short", 2, "psys", "short", false, 128)] public short psys; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 130)] public short flag; - [DNAFieldAttribute(4, "short", "axis", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 4, "axis", "short", false, 132)] public short axis; - [DNAFieldAttribute(5, "short", "space", "short", 2, false, 134)] + [DNAFieldAttribute(2, "short", 5, "space", "short", false, 134)] public short space; - [DNAFieldAttribute(6, "float", "position", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 6, "position", "float", false, 136)] public float position; - [DNAFieldAttribute(7, "float", "random_position", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 7, "random_position", "float", false, 140)] public float random_position; - [DNAFieldAttribute(8, "float", "rotation", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 8, "rotation", "float", false, 144)] public float rotation; - [DNAFieldAttribute(9, "float", "random_rotation", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 9, "random_rotation", "float", false, 148)] public float random_rotation; - [DNAFieldAttribute(10, "float", "particle_amount", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 10, "particle_amount", "float", false, 152)] public float particle_amount; - [DNAFieldAttribute(11, "float", "particle_offset", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 11, "particle_offset", "float", false, 156)] public float particle_offset; - [DNAFieldAttribute(12, "char", "index_layer_name[68]", "System.Char[]", 68, false, 160)] + [DNAFieldAttribute(68, "char", 12, "index_layer_name[68]", "System.Char[]", false, 160)] public char[] index_layer_name = new System.Char[68]; - [DNAFieldAttribute(13, "char", "value_layer_name[68]", "System.Char[]", 68, false, 228)] + [DNAFieldAttribute(68, "char", 13, "value_layer_name[68]", "System.Char[]", false, 228)] public char[] value_layer_name = new System.Char[68]; - [DNAFieldAttribute(14, "void", "*_pad1", "void", 8, true, 296)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 14, "*_pad1", "void", true, 296)] + public object _pad1; public ParticleInstanceModifierData() { this.modifier = default; - this.ptr_ob = default; + this.ob = default; this.psys = default; this.flag = default; this.axis = default; @@ -60,11 +60,11 @@ namespace BlendFile.DNA { this.particle_offset = default; this.index_layer_name = default; this.value_layer_name = default; - this.ptr__pad1 = default; + this._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) { + public ParticleInstanceModifierData(ModifierData modifier, Object 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 _pad1) { this.modifier = modifier; - this.ptr_ob = ptr_ob; + this.ob = ob; this.psys = psys; this.flag = flag; this.axis = axis; @@ -77,7 +77,7 @@ namespace BlendFile.DNA { this.particle_offset = particle_offset; this.index_layer_name = index_layer_name; this.value_layer_name = value_layer_name; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/ParticleKey.cs b/BlendFile/DNA/ParticleKey.cs index cac83c7..4978c5c 100644 --- a/BlendFile/DNA/ParticleKey.cs +++ b/BlendFile/DNA/ParticleKey.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(777, "ParticleKey", 56)] - public struct ParticleKey { - [DNAFieldAttribute(0, "float", "co[3]", "System.Single[]", 12, false, 0)] + public class ParticleKey { + [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] public float[] co = new System.Single[3]; - [DNAFieldAttribute(1, "float", "vel[3]", "System.Single[]", 12, false, 12)] + [DNAFieldAttribute(12, "float", 1, "vel[3]", "System.Single[]", false, 12)] public float[] vel = new System.Single[3]; - [DNAFieldAttribute(2, "float", "rot[4]", "System.Single[]", 16, false, 24)] + [DNAFieldAttribute(16, "float", 2, "rot[4]", "System.Single[]", false, 24)] public float[] rot = new System.Single[4]; - [DNAFieldAttribute(3, "float", "ave[3]", "System.Single[]", 12, false, 40)] + [DNAFieldAttribute(12, "float", 3, "ave[3]", "System.Single[]", false, 40)] public float[] ave = new System.Single[3]; - [DNAFieldAttribute(4, "float", "time", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 4, "time", "float", false, 52)] public float time; public ParticleKey() { this.co = default; diff --git a/BlendFile/DNA/ParticleSettings.cs b/BlendFile/DNA/ParticleSettings.cs index 06cb245..963567f 100644 --- a/BlendFile/DNA/ParticleSettings.cs +++ b/BlendFile/DNA/ParticleSettings.cs @@ -15,307 +15,307 @@ namespace BlendFile.DNA { [DNAClassAttribute(785, "ParticleSettings", 968)] public class ParticleSettings { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "BoidSettings", "*boids", "BoidSettings", 8, true, 216)] - public BoidSettings ptr_boids; - [DNAFieldAttribute(3, "SPHFluidSettings", "*fluid", "SPHFluidSettings", 8, true, 224)] - public SPHFluidSettings ptr_fluid; - [DNAFieldAttribute(4, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 232)] - public EffectorWeights ptr_effector_weights; - [DNAFieldAttribute(5, "Collection", "*collision_group", "Collection", 8, true, 240)] - public Collection ptr_collision_group; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 248)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(8, "BoidSettings", 2, "*boids", "BoidSettings", true, 216)] + public BoidSettings boids; + [DNAFieldAttribute(8, "SPHFluidSettings", 3, "*fluid", "SPHFluidSettings", true, 224)] + public SPHFluidSettings fluid; + [DNAFieldAttribute(8, "EffectorWeights", 4, "*effector_weights", "EffectorWeights", true, 232)] + public EffectorWeights effector_weights; + [DNAFieldAttribute(8, "Collection", 5, "*collision_group", "Collection", true, 240)] + public Collection collision_group; + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 248)] public int flag; - [DNAFieldAttribute(7, "char", "_pad1[4]", "System.Char[]", 4, false, 252)] + [DNAFieldAttribute(4, "char", 7, "_pad1[4]", "System.Char[]", false, 252)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(8, "short", "type", "short", 2, false, 256)] + [DNAFieldAttribute(2, "short", 8, "type", "short", false, 256)] public short type; - [DNAFieldAttribute(9, "short", "from", "short", 2, false, 258)] + [DNAFieldAttribute(2, "short", 9, "from", "short", false, 258)] public short from; - [DNAFieldAttribute(10, "short", "distr", "short", 2, false, 260)] + [DNAFieldAttribute(2, "short", 10, "distr", "short", false, 260)] public short distr; - [DNAFieldAttribute(11, "short", "texact", "short", 2, false, 262)] + [DNAFieldAttribute(2, "short", 11, "texact", "short", false, 262)] public short texact; - [DNAFieldAttribute(12, "short", "phystype", "short", 2, false, 264)] + [DNAFieldAttribute(2, "short", 12, "phystype", "short", false, 264)] public short phystype; - [DNAFieldAttribute(13, "short", "rotmode", "short", 2, false, 266)] + [DNAFieldAttribute(2, "short", 13, "rotmode", "short", false, 266)] public short rotmode; - [DNAFieldAttribute(14, "short", "avemode", "short", 2, false, 268)] + [DNAFieldAttribute(2, "short", 14, "avemode", "short", false, 268)] public short avemode; - [DNAFieldAttribute(15, "short", "reactevent", "short", 2, false, 270)] + [DNAFieldAttribute(2, "short", 15, "reactevent", "short", false, 270)] public short reactevent; - [DNAFieldAttribute(16, "int", "draw", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 16, "draw", "int", false, 272)] public int draw; - [DNAFieldAttribute(17, "float", "draw_size", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 17, "draw_size", "float", false, 276)] public float draw_size; - [DNAFieldAttribute(18, "short", "draw_as", "short", 2, false, 280)] + [DNAFieldAttribute(2, "short", 18, "draw_as", "short", false, 280)] public short draw_as; - [DNAFieldAttribute(19, "short", "childtype", "short", 2, false, 282)] + [DNAFieldAttribute(2, "short", 19, "childtype", "short", false, 282)] public short childtype; - [DNAFieldAttribute(20, "char", "_pad2[4]", "System.Char[]", 4, false, 284)] + [DNAFieldAttribute(4, "char", 20, "_pad2[4]", "System.Char[]", false, 284)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(21, "short", "ren_as", "short", 2, false, 288)] + [DNAFieldAttribute(2, "short", 21, "ren_as", "short", false, 288)] public short ren_as; - [DNAFieldAttribute(22, "short", "subframes", "short", 2, false, 290)] + [DNAFieldAttribute(2, "short", 22, "subframes", "short", false, 290)] public short subframes; - [DNAFieldAttribute(23, "short", "draw_col", "short", 2, false, 292)] + [DNAFieldAttribute(2, "short", 23, "draw_col", "short", false, 292)] public short draw_col; - [DNAFieldAttribute(24, "short", "draw_step", "short", 2, false, 294)] + [DNAFieldAttribute(2, "short", 24, "draw_step", "short", false, 294)] public short draw_step; - [DNAFieldAttribute(25, "short", "ren_step", "short", 2, false, 296)] + [DNAFieldAttribute(2, "short", 25, "ren_step", "short", false, 296)] public short ren_step; - [DNAFieldAttribute(26, "short", "hair_step", "short", 2, false, 298)] + [DNAFieldAttribute(2, "short", 26, "hair_step", "short", false, 298)] public short hair_step; - [DNAFieldAttribute(27, "short", "keys_step", "short", 2, false, 300)] + [DNAFieldAttribute(2, "short", 27, "keys_step", "short", false, 300)] public short keys_step; - [DNAFieldAttribute(28, "short", "adapt_angle", "short", 2, false, 302)] + [DNAFieldAttribute(2, "short", 28, "adapt_angle", "short", false, 302)] public short adapt_angle; - [DNAFieldAttribute(29, "short", "adapt_pix", "short", 2, false, 304)] + [DNAFieldAttribute(2, "short", 29, "adapt_pix", "short", false, 304)] public short adapt_pix; - [DNAFieldAttribute(30, "short", "disp", "short", 2, false, 306)] + [DNAFieldAttribute(2, "short", 30, "disp", "short", false, 306)] public short disp; - [DNAFieldAttribute(31, "short", "omat", "short", 2, false, 308)] + [DNAFieldAttribute(2, "short", 31, "omat", "short", false, 308)] public short omat; - [DNAFieldAttribute(32, "short", "interpolation", "short", 2, false, 310)] + [DNAFieldAttribute(2, "short", 32, "interpolation", "short", false, 310)] public short interpolation; - [DNAFieldAttribute(33, "short", "integrator", "short", 2, false, 312)] + [DNAFieldAttribute(2, "short", 33, "integrator", "short", false, 312)] public short integrator; - [DNAFieldAttribute(34, "short", "rotfrom", "short", 2, false, 314)] + [DNAFieldAttribute(2, "short", 34, "rotfrom", "short", false, 314)] public short rotfrom; - [DNAFieldAttribute(35, "short", "kink", "short", 2, false, 316)] + [DNAFieldAttribute(2, "short", 35, "kink", "short", false, 316)] public short kink; - [DNAFieldAttribute(36, "short", "kink_axis", "short", 2, false, 318)] + [DNAFieldAttribute(2, "short", 36, "kink_axis", "short", false, 318)] public short kink_axis; - [DNAFieldAttribute(37, "short", "bb_align", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 37, "bb_align", "short", false, 320)] public short bb_align; - [DNAFieldAttribute(38, "short", "bb_uv_split", "short", 2, false, 322)] + [DNAFieldAttribute(2, "short", 38, "bb_uv_split", "short", false, 322)] public short bb_uv_split; - [DNAFieldAttribute(39, "short", "bb_anim", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 39, "bb_anim", "short", false, 324)] public short bb_anim; - [DNAFieldAttribute(40, "short", "bb_split_offset", "short", 2, false, 326)] + [DNAFieldAttribute(2, "short", 40, "bb_split_offset", "short", false, 326)] public short bb_split_offset; - [DNAFieldAttribute(41, "float", "bb_tilt", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 41, "bb_tilt", "float", false, 328)] public float bb_tilt; - [DNAFieldAttribute(42, "float", "bb_rand_tilt", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 42, "bb_rand_tilt", "float", false, 332)] public float bb_rand_tilt; - [DNAFieldAttribute(43, "float", "bb_offset[2]", "System.Single[]", 8, false, 336)] + [DNAFieldAttribute(8, "float", 43, "bb_offset[2]", "System.Single[]", false, 336)] public float[] bb_offset = new System.Single[2]; - [DNAFieldAttribute(44, "float", "bb_size[2]", "System.Single[]", 8, false, 344)] + [DNAFieldAttribute(8, "float", 44, "bb_size[2]", "System.Single[]", false, 344)] public float[] bb_size = new System.Single[2]; - [DNAFieldAttribute(45, "float", "bb_vel_head", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 45, "bb_vel_head", "float", false, 352)] public float bb_vel_head; - [DNAFieldAttribute(46, "float", "bb_vel_tail", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 46, "bb_vel_tail", "float", false, 356)] public float bb_vel_tail; - [DNAFieldAttribute(47, "float", "color_vec_max", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 47, "color_vec_max", "float", false, 360)] public float color_vec_max; - [DNAFieldAttribute(48, "float", "sta", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 48, "sta", "float", false, 364)] public float sta; - [DNAFieldAttribute(49, "float", "end", "float", 4, false, 368)] + [DNAFieldAttribute(4, "float", 49, "end", "float", false, 368)] public float end; - [DNAFieldAttribute(50, "float", "lifetime", "float", 4, false, 372)] + [DNAFieldAttribute(4, "float", 50, "lifetime", "float", false, 372)] public float lifetime; - [DNAFieldAttribute(51, "float", "randlife", "float", 4, false, 376)] + [DNAFieldAttribute(4, "float", 51, "randlife", "float", false, 376)] public float randlife; - [DNAFieldAttribute(52, "float", "timetweak", "float", 4, false, 380)] + [DNAFieldAttribute(4, "float", 52, "timetweak", "float", false, 380)] public float timetweak; - [DNAFieldAttribute(53, "float", "courant_target", "float", 4, false, 384)] + [DNAFieldAttribute(4, "float", 53, "courant_target", "float", false, 384)] public float courant_target; - [DNAFieldAttribute(54, "float", "jitfac", "float", 4, false, 388)] + [DNAFieldAttribute(4, "float", 54, "jitfac", "float", false, 388)] public float jitfac; - [DNAFieldAttribute(55, "float", "eff_hair", "float", 4, false, 392)] + [DNAFieldAttribute(4, "float", 55, "eff_hair", "float", false, 392)] public float eff_hair; - [DNAFieldAttribute(56, "float", "grid_rand", "float", 4, false, 396)] + [DNAFieldAttribute(4, "float", 56, "grid_rand", "float", false, 396)] public float grid_rand; - [DNAFieldAttribute(57, "float", "ps_offset[1]", "System.Single[]", 4, false, 400)] + [DNAFieldAttribute(4, "float", 57, "ps_offset[1]", "System.Single[]", false, 400)] public float[] ps_offset = new System.Single[1]; - [DNAFieldAttribute(58, "int", "totpart", "int", 4, false, 404)] + [DNAFieldAttribute(4, "int", 58, "totpart", "int", false, 404)] public int totpart; - [DNAFieldAttribute(59, "int", "userjit", "int", 4, false, 408)] + [DNAFieldAttribute(4, "int", 59, "userjit", "int", false, 408)] public int userjit; - [DNAFieldAttribute(60, "int", "grid_res", "int", 4, false, 412)] + [DNAFieldAttribute(4, "int", 60, "grid_res", "int", false, 412)] public int grid_res; - [DNAFieldAttribute(61, "int", "effector_amount", "int", 4, false, 416)] + [DNAFieldAttribute(4, "int", 61, "effector_amount", "int", false, 416)] public int effector_amount; - [DNAFieldAttribute(62, "short", "time_flag", "short", 2, false, 420)] + [DNAFieldAttribute(2, "short", 62, "time_flag", "short", false, 420)] public short time_flag; - [DNAFieldAttribute(63, "char", "_pad0[6]", "System.Char[]", 6, false, 422)] + [DNAFieldAttribute(6, "char", 63, "_pad0[6]", "System.Char[]", false, 422)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(64, "float", "normfac", "float", 4, false, 428)] + [DNAFieldAttribute(4, "float", 64, "normfac", "float", false, 428)] public float normfac; - [DNAFieldAttribute(65, "float", "obfac", "float", 4, false, 432)] + [DNAFieldAttribute(4, "float", 65, "obfac", "float", false, 432)] public float obfac; - [DNAFieldAttribute(66, "float", "randfac", "float", 4, false, 436)] + [DNAFieldAttribute(4, "float", 66, "randfac", "float", false, 436)] public float randfac; - [DNAFieldAttribute(67, "float", "partfac", "float", 4, false, 440)] + [DNAFieldAttribute(4, "float", 67, "partfac", "float", false, 440)] public float partfac; - [DNAFieldAttribute(68, "float", "tanfac", "float", 4, false, 444)] + [DNAFieldAttribute(4, "float", 68, "tanfac", "float", false, 444)] public float tanfac; - [DNAFieldAttribute(69, "float", "tanphase", "float", 4, false, 448)] + [DNAFieldAttribute(4, "float", 69, "tanphase", "float", false, 448)] public float tanphase; - [DNAFieldAttribute(70, "float", "reactfac", "float", 4, false, 452)] + [DNAFieldAttribute(4, "float", 70, "reactfac", "float", false, 452)] public float reactfac; - [DNAFieldAttribute(71, "float", "ob_vel[3]", "System.Single[]", 12, false, 456)] + [DNAFieldAttribute(12, "float", 71, "ob_vel[3]", "System.Single[]", false, 456)] public float[] ob_vel = new System.Single[3]; - [DNAFieldAttribute(72, "float", "avefac", "float", 4, false, 468)] + [DNAFieldAttribute(4, "float", 72, "avefac", "float", false, 468)] public float avefac; - [DNAFieldAttribute(73, "float", "phasefac", "float", 4, false, 472)] + [DNAFieldAttribute(4, "float", 73, "phasefac", "float", false, 472)] public float phasefac; - [DNAFieldAttribute(74, "float", "randrotfac", "float", 4, false, 476)] + [DNAFieldAttribute(4, "float", 74, "randrotfac", "float", false, 476)] public float randrotfac; - [DNAFieldAttribute(75, "float", "randphasefac", "float", 4, false, 480)] + [DNAFieldAttribute(4, "float", 75, "randphasefac", "float", false, 480)] public float randphasefac; - [DNAFieldAttribute(76, "float", "mass", "float", 4, false, 484)] + [DNAFieldAttribute(4, "float", 76, "mass", "float", false, 484)] public float mass; - [DNAFieldAttribute(77, "float", "size", "float", 4, false, 488)] + [DNAFieldAttribute(4, "float", 77, "size", "float", false, 488)] public float size; - [DNAFieldAttribute(78, "float", "randsize", "float", 4, false, 492)] + [DNAFieldAttribute(4, "float", 78, "randsize", "float", false, 492)] public float randsize; - [DNAFieldAttribute(79, "float", "acc[3]", "System.Single[]", 12, false, 496)] + [DNAFieldAttribute(12, "float", 79, "acc[3]", "System.Single[]", false, 496)] public float[] acc = new System.Single[3]; - [DNAFieldAttribute(80, "float", "dragfac", "float", 4, false, 508)] + [DNAFieldAttribute(4, "float", 80, "dragfac", "float", false, 508)] public float dragfac; - [DNAFieldAttribute(81, "float", "brownfac", "float", 4, false, 512)] + [DNAFieldAttribute(4, "float", 81, "brownfac", "float", false, 512)] public float brownfac; - [DNAFieldAttribute(82, "float", "dampfac", "float", 4, false, 516)] + [DNAFieldAttribute(4, "float", 82, "dampfac", "float", false, 516)] public float dampfac; - [DNAFieldAttribute(83, "float", "randlength", "float", 4, false, 520)] + [DNAFieldAttribute(4, "float", 83, "randlength", "float", false, 520)] public float randlength; - [DNAFieldAttribute(84, "int", "child_flag", "int", 4, false, 524)] + [DNAFieldAttribute(4, "int", 84, "child_flag", "int", false, 524)] public int child_flag; - [DNAFieldAttribute(85, "char", "_pad3[4]", "System.Char[]", 4, false, 528)] + [DNAFieldAttribute(4, "char", 85, "_pad3[4]", "System.Char[]", false, 528)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(86, "int", "child_nbr", "int", 4, false, 532)] + [DNAFieldAttribute(4, "int", 86, "child_nbr", "int", false, 532)] public int child_nbr; - [DNAFieldAttribute(87, "int", "ren_child_nbr", "int", 4, false, 536)] + [DNAFieldAttribute(4, "int", 87, "ren_child_nbr", "int", false, 536)] public int ren_child_nbr; - [DNAFieldAttribute(88, "float", "parents", "float", 4, false, 540)] + [DNAFieldAttribute(4, "float", 88, "parents", "float", false, 540)] public float parents; - [DNAFieldAttribute(89, "float", "childsize", "float", 4, false, 544)] + [DNAFieldAttribute(4, "float", 89, "childsize", "float", false, 544)] public float childsize; - [DNAFieldAttribute(90, "float", "childrandsize", "float", 4, false, 548)] + [DNAFieldAttribute(4, "float", 90, "childrandsize", "float", false, 548)] public float childrandsize; - [DNAFieldAttribute(91, "float", "childrad", "float", 4, false, 552)] + [DNAFieldAttribute(4, "float", 91, "childrad", "float", false, 552)] public float childrad; - [DNAFieldAttribute(92, "float", "childflat", "float", 4, false, 556)] + [DNAFieldAttribute(4, "float", 92, "childflat", "float", false, 556)] public float childflat; - [DNAFieldAttribute(93, "float", "clumpfac", "float", 4, false, 560)] + [DNAFieldAttribute(4, "float", 93, "clumpfac", "float", false, 560)] public float clumpfac; - [DNAFieldAttribute(94, "float", "clumppow", "float", 4, false, 564)] + [DNAFieldAttribute(4, "float", 94, "clumppow", "float", false, 564)] public float clumppow; - [DNAFieldAttribute(95, "float", "kink_amp", "float", 4, false, 568)] + [DNAFieldAttribute(4, "float", 95, "kink_amp", "float", false, 568)] public float kink_amp; - [DNAFieldAttribute(96, "float", "kink_freq", "float", 4, false, 572)] + [DNAFieldAttribute(4, "float", 96, "kink_freq", "float", false, 572)] public float kink_freq; - [DNAFieldAttribute(97, "float", "kink_shape", "float", 4, false, 576)] + [DNAFieldAttribute(4, "float", 97, "kink_shape", "float", false, 576)] public float kink_shape; - [DNAFieldAttribute(98, "float", "kink_flat", "float", 4, false, 580)] + [DNAFieldAttribute(4, "float", 98, "kink_flat", "float", false, 580)] public float kink_flat; - [DNAFieldAttribute(99, "float", "kink_amp_clump", "float", 4, false, 584)] + [DNAFieldAttribute(4, "float", 99, "kink_amp_clump", "float", false, 584)] public float kink_amp_clump; - [DNAFieldAttribute(100, "int", "kink_extra_steps", "int", 4, false, 588)] + [DNAFieldAttribute(4, "int", 100, "kink_extra_steps", "int", false, 588)] public int kink_extra_steps; - [DNAFieldAttribute(101, "char", "_pad4[4]", "System.Char[]", 4, false, 592)] + [DNAFieldAttribute(4, "char", 101, "_pad4[4]", "System.Char[]", false, 592)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(102, "float", "kink_axis_random", "float", 4, false, 596)] + [DNAFieldAttribute(4, "float", 102, "kink_axis_random", "float", false, 596)] public float kink_axis_random; - [DNAFieldAttribute(103, "float", "kink_amp_random", "float", 4, false, 600)] + [DNAFieldAttribute(4, "float", 103, "kink_amp_random", "float", false, 600)] public float kink_amp_random; - [DNAFieldAttribute(104, "float", "rough1", "float", 4, false, 604)] + [DNAFieldAttribute(4, "float", 104, "rough1", "float", false, 604)] public float rough1; - [DNAFieldAttribute(105, "float", "rough1_size", "float", 4, false, 608)] + [DNAFieldAttribute(4, "float", 105, "rough1_size", "float", false, 608)] public float rough1_size; - [DNAFieldAttribute(106, "float", "rough2", "float", 4, false, 612)] + [DNAFieldAttribute(4, "float", 106, "rough2", "float", false, 612)] public float rough2; - [DNAFieldAttribute(107, "float", "rough2_size", "float", 4, false, 616)] + [DNAFieldAttribute(4, "float", 107, "rough2_size", "float", false, 616)] public float rough2_size; - [DNAFieldAttribute(108, "float", "rough2_thres", "float", 4, false, 620)] + [DNAFieldAttribute(4, "float", 108, "rough2_thres", "float", false, 620)] public float rough2_thres; - [DNAFieldAttribute(109, "float", "rough_end", "float", 4, false, 624)] + [DNAFieldAttribute(4, "float", 109, "rough_end", "float", false, 624)] public float rough_end; - [DNAFieldAttribute(110, "float", "rough_end_shape", "float", 4, false, 628)] + [DNAFieldAttribute(4, "float", 110, "rough_end_shape", "float", false, 628)] public float rough_end_shape; - [DNAFieldAttribute(111, "float", "clength", "float", 4, false, 632)] + [DNAFieldAttribute(4, "float", 111, "clength", "float", false, 632)] public float clength; - [DNAFieldAttribute(112, "float", "clength_thres", "float", 4, false, 636)] + [DNAFieldAttribute(4, "float", 112, "clength_thres", "float", false, 636)] public float clength_thres; - [DNAFieldAttribute(113, "float", "parting_fac", "float", 4, false, 640)] + [DNAFieldAttribute(4, "float", 113, "parting_fac", "float", false, 640)] public float parting_fac; - [DNAFieldAttribute(114, "float", "parting_min", "float", 4, false, 644)] + [DNAFieldAttribute(4, "float", 114, "parting_min", "float", false, 644)] public float parting_min; - [DNAFieldAttribute(115, "float", "parting_max", "float", 4, false, 648)] + [DNAFieldAttribute(4, "float", 115, "parting_max", "float", false, 648)] public float parting_max; - [DNAFieldAttribute(116, "float", "branch_thres", "float", 4, false, 652)] + [DNAFieldAttribute(4, "float", 116, "branch_thres", "float", false, 652)] public float branch_thres; - [DNAFieldAttribute(117, "float", "draw_line[2]", "System.Single[]", 8, false, 656)] + [DNAFieldAttribute(8, "float", 117, "draw_line[2]", "System.Single[]", false, 656)] public float[] draw_line = new System.Single[2]; - [DNAFieldAttribute(118, "float", "path_start", "float", 4, false, 664)] + [DNAFieldAttribute(4, "float", 118, "path_start", "float", false, 664)] public float path_start; - [DNAFieldAttribute(119, "float", "path_end", "float", 4, false, 668)] + [DNAFieldAttribute(4, "float", 119, "path_end", "float", false, 668)] public float path_end; - [DNAFieldAttribute(120, "int", "trail_count", "int", 4, false, 672)] + [DNAFieldAttribute(4, "int", 120, "trail_count", "int", false, 672)] public int trail_count; - [DNAFieldAttribute(121, "int", "keyed_loops", "int", 4, false, 676)] + [DNAFieldAttribute(4, "int", 121, "keyed_loops", "int", false, 676)] public int keyed_loops; - [DNAFieldAttribute(122, "CurveMapping", "*clumpcurve", "CurveMapping", 8, true, 680)] - public CurveMapping ptr_clumpcurve; - [DNAFieldAttribute(123, "CurveMapping", "*roughcurve", "CurveMapping", 8, true, 688)] - public CurveMapping ptr_roughcurve; - [DNAFieldAttribute(124, "float", "clump_noise_size", "float", 4, false, 696)] + [DNAFieldAttribute(8, "CurveMapping", 122, "*clumpcurve", "CurveMapping", true, 680)] + public CurveMapping clumpcurve; + [DNAFieldAttribute(8, "CurveMapping", 123, "*roughcurve", "CurveMapping", true, 688)] + public CurveMapping roughcurve; + [DNAFieldAttribute(4, "float", 124, "clump_noise_size", "float", false, 696)] public float clump_noise_size; - [DNAFieldAttribute(125, "float", "bending_random", "float", 4, false, 700)] + [DNAFieldAttribute(4, "float", 125, "bending_random", "float", false, 700)] public float bending_random; - [DNAFieldAttribute(126, "MTex", "*mtex[18]", "MTex[]", 144, true, 704)] - public MTex[] ptr_m = new MTex[18]; - [DNAFieldAttribute(127, "Collection", "*dup_group", "Collection", 8, true, 848)] - public Collection ptr_dup_group; - [DNAFieldAttribute(128, "ListBase", "dupliweights", "ListBase", 16, false, 856)] + [DNAFieldAttribute(144, "MTex", 126, "*mtex[18]", "MTex[]", true, 704)] + public MTex[] mtex = new MTex[18]; + [DNAFieldAttribute(8, "Collection", 127, "*dup_group", "Collection", true, 848)] + public Collection dup_group; + [DNAFieldAttribute(16, "ListBase", 128, "dupliweights", "ListBase", false, 856)] public ListBase dupliweights; - [DNAFieldAttribute(129, "Collection", "*force_group", "Collection", 8, true, 872)] - public Collection ptr_force_group; - [DNAFieldAttribute(130, "Object", "*dup_ob", "Object", 8, true, 880)] - public Object ptr_dup_ob; - [DNAFieldAttribute(131, "Object", "*bb_ob", "Object", 8, true, 888)] - public Object ptr_bb_ob; - [DNAFieldAttribute(132, "Ipo", "*ipo", "Ipo", 8, true, 896)] - public Ipo ptr_ipo; - [DNAFieldAttribute(133, "PartDeflect", "*pd", "PartDeflect", 8, true, 904)] - public PartDeflect ptr_pd; - [DNAFieldAttribute(134, "PartDeflect", "*pd2", "PartDeflect", 8, true, 912)] - public PartDeflect ptr_pd2; - [DNAFieldAttribute(135, "short", "use_modifier_stack", "short", 2, false, 920)] + [DNAFieldAttribute(8, "Collection", 129, "*force_group", "Collection", true, 872)] + public Collection force_group; + [DNAFieldAttribute(8, "Object", 130, "*dup_ob", "Object", true, 880)] + public Object dup_ob; + [DNAFieldAttribute(8, "Object", 131, "*bb_ob", "Object", true, 888)] + public Object bb_ob; + [DNAFieldAttribute(8, "Ipo", 132, "*ipo", "Ipo", true, 896)] + public Ipo ipo; + [DNAFieldAttribute(8, "PartDeflect", 133, "*pd", "PartDeflect", true, 904)] + public PartDeflect pd; + [DNAFieldAttribute(8, "PartDeflect", 134, "*pd2", "PartDeflect", true, 912)] + public PartDeflect pd2; + [DNAFieldAttribute(2, "short", 135, "use_modifier_stack", "short", false, 920)] public short use_modifier_stack; - [DNAFieldAttribute(136, "char", "_pad5[2]", "System.Char[]", 2, false, 922)] + [DNAFieldAttribute(2, "char", 136, "_pad5[2]", "System.Char[]", false, 922)] public char[] _pad5 = new System.Char[2]; - [DNAFieldAttribute(137, "short", "shape_flag", "short", 2, false, 924)] + [DNAFieldAttribute(2, "short", 137, "shape_flag", "short", false, 924)] public short shape_flag; - [DNAFieldAttribute(138, "char", "_pad6[2]", "System.Char[]", 2, false, 926)] + [DNAFieldAttribute(2, "char", 138, "_pad6[2]", "System.Char[]", false, 926)] public char[] _pad6 = new System.Char[2]; - [DNAFieldAttribute(139, "float", "twist", "float", 4, false, 928)] + [DNAFieldAttribute(4, "float", 139, "twist", "float", false, 928)] public float twist; - [DNAFieldAttribute(140, "char", "_pad8[4]", "System.Char[]", 4, false, 932)] + [DNAFieldAttribute(4, "char", 140, "_pad8[4]", "System.Char[]", false, 932)] public char[] _pad8 = new System.Char[4]; - [DNAFieldAttribute(141, "float", "shape", "float", 4, false, 936)] + [DNAFieldAttribute(4, "float", 141, "shape", "float", false, 936)] public float shape; - [DNAFieldAttribute(142, "float", "rad_root", "float", 4, false, 940)] + [DNAFieldAttribute(4, "float", 142, "rad_root", "float", false, 940)] public float rad_root; - [DNAFieldAttribute(143, "float", "rad_tip", "float", 4, false, 944)] + [DNAFieldAttribute(4, "float", 143, "rad_tip", "float", false, 944)] public float rad_tip; - [DNAFieldAttribute(144, "float", "rad_scale", "float", 4, false, 948)] + [DNAFieldAttribute(4, "float", 144, "rad_scale", "float", false, 948)] public float rad_scale; - [DNAFieldAttribute(145, "CurveMapping", "*twistcurve", "CurveMapping", 8, true, 952)] - public CurveMapping ptr_twistcurve; - [DNAFieldAttribute(146, "void", "*_pad7", "void", 8, true, 960)] - public object ptr__pad7; + [DNAFieldAttribute(8, "CurveMapping", 145, "*twistcurve", "CurveMapping", true, 952)] + public CurveMapping twistcurve; + [DNAFieldAttribute(8, "void", 146, "*_pad7", "void", true, 960)] + public object _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.adt = default; + this.boids = default; + this.fluid = default; + this.effector_weights = default; + this.collision_group = default; this.flag = default; this._pad1 = default; this.type = default; @@ -432,19 +432,19 @@ namespace BlendFile.DNA { this.path_end = default; this.trail_count = default; this.keyed_loops = default; - this.ptr_clumpcurve = default; - this.ptr_roughcurve = default; + this.clumpcurve = default; + this.roughcurve = default; this.clump_noise_size = default; this.bending_random = default; - this.ptr_m = default; - this.ptr_dup_group = default; + this.mtex = default; + this.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.force_group = default; + this.dup_ob = default; + this.bb_ob = default; + this.ipo = default; + this.pd = default; + this.pd2 = default; this.use_modifier_stack = default; this._pad5 = default; this.shape_flag = default; @@ -455,16 +455,16 @@ namespace BlendFile.DNA { this.rad_root = default; this.rad_tip = default; this.rad_scale = default; - this.ptr_twistcurve = default; - this.ptr__pad7 = default; + this.twistcurve = default; + this._pad7 = default; } public ParticleSettings( ID id, - AnimData ptr_adt, - BoidSettings ptr_boids, - SPHFluidSettings ptr_fluid, - EffectorWeights ptr_effector_weights, - Collection ptr_collision_group, + AnimData adt, + BoidSettings boids, + SPHFluidSettings fluid, + EffectorWeights effector_weights, + Collection collision_group, int flag, char[] _pad1, short type, @@ -581,19 +581,19 @@ namespace BlendFile.DNA { float path_end, int trail_count, int keyed_loops, - CurveMapping ptr_clumpcurve, - CurveMapping ptr_roughcurve, + CurveMapping clumpcurve, + CurveMapping roughcurve, float clump_noise_size, float bending_random, - MTex[] ptr_m, - Collection ptr_dup_group, + MTex[] mtex, + Collection dup_group, ListBase dupliweights, - Collection ptr_force_group, - Object ptr_dup_ob, - Object ptr_bb_ob, - Ipo ptr_ipo, - PartDeflect ptr_pd, - PartDeflect ptr_pd2, + Collection force_group, + Object dup_ob, + Object bb_ob, + Ipo ipo, + PartDeflect pd, + PartDeflect pd2, short use_modifier_stack, char[] _pad5, short shape_flag, @@ -604,14 +604,14 @@ namespace BlendFile.DNA { float rad_root, float rad_tip, float rad_scale, - CurveMapping ptr_twistcurve, - object ptr__pad7) { + CurveMapping twistcurve, + object _pad7) { this.id = id; - this.ptr_adt = ptr_adt; - this.ptr_boids = ptr_boids; - this.ptr_fluid = ptr_fluid; - this.ptr_effector_weights = ptr_effector_weights; - this.ptr_collision_group = ptr_collision_group; + this.adt = adt; + this.boids = boids; + this.fluid = fluid; + this.effector_weights = effector_weights; + this.collision_group = collision_group; this.flag = flag; this._pad1 = _pad1; this.type = type; @@ -728,19 +728,19 @@ namespace BlendFile.DNA { this.path_end = path_end; this.trail_count = trail_count; this.keyed_loops = keyed_loops; - this.ptr_clumpcurve = ptr_clumpcurve; - this.ptr_roughcurve = ptr_roughcurve; + this.clumpcurve = clumpcurve; + this.roughcurve = roughcurve; this.clump_noise_size = clump_noise_size; this.bending_random = bending_random; - this.ptr_m = ptr_m; - this.ptr_dup_group = ptr_dup_group; + this.mtex = mtex; + this.dup_group = dup_group; this.dupliweights = dupliweights; - this.ptr_force_group = ptr_force_group; - this.ptr_dup_ob = ptr_dup_ob; - this.ptr_bb_ob = ptr_bb_ob; - this.ptr_ipo = ptr_ipo; - this.ptr_pd = ptr_pd; - this.ptr_pd2 = ptr_pd2; + this.force_group = force_group; + this.dup_ob = dup_ob; + this.bb_ob = bb_ob; + this.ipo = ipo; + this.pd = pd; + this.pd2 = pd2; this.use_modifier_stack = use_modifier_stack; this._pad5 = _pad5; this.shape_flag = shape_flag; @@ -751,8 +751,8 @@ namespace BlendFile.DNA { this.rad_root = rad_root; this.rad_tip = rad_tip; this.rad_scale = rad_scale; - this.ptr_twistcurve = ptr_twistcurve; - this.ptr__pad7 = ptr__pad7; + this.twistcurve = twistcurve; + this._pad7 = _pad7; } } } diff --git a/BlendFile/DNA/ParticleSpring.cs b/BlendFile/DNA/ParticleSpring.cs index f7097cd..b5b5a29 100644 --- a/BlendFile/DNA/ParticleSpring.cs +++ b/BlendFile/DNA/ParticleSpring.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(779, "ParticleSpring", 16)] - public struct ParticleSpring { - [DNAFieldAttribute(0, "float", "rest_length", "float", 4, false, 0)] + public class ParticleSpring { + [DNAFieldAttribute(4, "float", 0, "rest_length", "float", false, 0)] public float rest_length; - [DNAFieldAttribute(1, "int", "particle_index[2]", "System.Int32[]", 8, false, 4)] + [DNAFieldAttribute(8, "int", 1, "particle_index[2]", "System.Int32[]", false, 4)] public int[] particle_index = new System.Int32[2]; - [DNAFieldAttribute(2, "int", "delete_flag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "delete_flag", "int", false, 12)] public int delete_flag; public ParticleSpring() { this.rest_length = default; diff --git a/BlendFile/DNA/ParticleSystem.cs b/BlendFile/DNA/ParticleSystem.cs index d803076..4af0199 100644 --- a/BlendFile/DNA/ParticleSystem.cs +++ b/BlendFile/DNA/ParticleSystem.cs @@ -15,131 +15,131 @@ namespace BlendFile.DNA { [DNAClassAttribute(233, "ParticleSystem", 688)] public class ParticleSystem { - [DNAFieldAttribute(0, "ParticleSystem", "*next", "ParticleSystem", 8, true, 0)] - public ParticleSystem ptr_next; - [DNAFieldAttribute(1, "ParticleSystem", "*prev", "ParticleSystem", 8, true, 8)] - public ParticleSystem ptr_prev; - [DNAFieldAttribute(2, "ParticleSettings", "*part", "ParticleSettings", 8, true, 16)] - public ParticleSettings ptr_part; - [DNAFieldAttribute(3, "ParticleData", "*particles", "ParticleData", 8, true, 24)] - public ParticleData ptr_particles; - [DNAFieldAttribute(4, "ChildParticle", "*child", "ChildParticle", 8, true, 32)] - public ChildParticle ptr_child; - [DNAFieldAttribute(5, "PTCacheEdit", "*edit", "PTCacheEdit", 8, true, 40)] - public PTCacheEdit ptr_edit; - [DNAFieldAttribute(7, "ParticleCacheKey", "**pathcache", "ParticleCacheKey", 8, true, 48)] - public ParticleCacheKey ptr_ptr_pathcache; - [DNAFieldAttribute(8, "ParticleCacheKey", "**childcache", "ParticleCacheKey", 8, true, 56)] - public ParticleCacheKey ptr_ptr_childcache; - [DNAFieldAttribute(9, "ListBase", "pathcachebufs", "ListBase", 16, false, 64)] + [DNAFieldAttribute(8, "ParticleSystem", 0, "*next", "ParticleSystem", true, 0)] + public ParticleSystem next; + [DNAFieldAttribute(8, "ParticleSystem", 1, "*prev", "ParticleSystem", true, 8)] + public ParticleSystem prev; + [DNAFieldAttribute(8, "ParticleSettings", 2, "*part", "ParticleSettings", true, 16)] + public ParticleSettings part; + [DNAFieldAttribute(8, "ParticleData", 3, "*particles", "ParticleData", true, 24)] + public ParticleData particles; + [DNAFieldAttribute(8, "ChildParticle", 4, "*child", "ChildParticle", true, 32)] + public ChildParticle child; + [DNAFieldAttribute(8, "PTCacheEdit", 5, "*edit", "PTCacheEdit", true, 40)] + public PTCacheEdit edit; + [DNAFieldAttribute(8, "ParticleCacheKey", 7, "**pathcache", "ParticleCacheKey", true, 48)] + public ParticleCacheKey pathcache; + [DNAFieldAttribute(8, "ParticleCacheKey", 8, "**childcache", "ParticleCacheKey", true, 56)] + public ParticleCacheKey childcache; + [DNAFieldAttribute(16, "ListBase", 9, "pathcachebufs", "ListBase", false, 64)] public ListBase pathcachebufs; - [DNAFieldAttribute(10, "ListBase", "childcachebufs", "ListBase", 16, false, 80)] + [DNAFieldAttribute(16, "ListBase", 10, "childcachebufs", "ListBase", false, 80)] public ListBase childcachebufs; - [DNAFieldAttribute(11, "ClothModifierData", "*clmd", "ClothModifierData", 8, true, 96)] - public ClothModifierData ptr_clmd; - [DNAFieldAttribute(12, "Mesh", "*hair_in_mesh", "Mesh", 8, true, 104)] - public Mesh ptr_hair_in_mesh; - [DNAFieldAttribute(13, "Mesh", "*hair_out_mesh", "Mesh", 8, true, 112)] - public Mesh ptr_hair_out_mesh; - [DNAFieldAttribute(14, "Object", "*target_ob", "Object", 8, true, 120)] - public Object ptr_target_ob; - [DNAFieldAttribute(15, "LatticeDeformData", "*lattice_deform_data", "LatticeDeformData", 8, true, 128)] - public LatticeDeformData ptr_lattice_deform_data; - [DNAFieldAttribute(16, "Object", "*parent", "Object", 8, true, 136)] - public Object ptr_parent; - [DNAFieldAttribute(17, "ListBase", "targets", "ListBase", 16, false, 144)] + [DNAFieldAttribute(8, "ClothModifierData", 11, "*clmd", "ClothModifierData", true, 96)] + public ClothModifierData clmd; + [DNAFieldAttribute(8, "Mesh", 12, "*hair_in_mesh", "Mesh", true, 104)] + public Mesh hair_in_mesh; + [DNAFieldAttribute(8, "Mesh", 13, "*hair_out_mesh", "Mesh", true, 112)] + public Mesh hair_out_mesh; + [DNAFieldAttribute(8, "Object", 14, "*target_ob", "Object", true, 120)] + public Object target_ob; + [DNAFieldAttribute(8, "LatticeDeformData", 15, "*lattice_deform_data", "LatticeDeformData", true, 128)] + public LatticeDeformData lattice_deform_data; + [DNAFieldAttribute(8, "Object", 16, "*parent", "Object", true, 136)] + public Object parent; + [DNAFieldAttribute(16, "ListBase", 17, "targets", "ListBase", false, 144)] public ListBase targets; - [DNAFieldAttribute(18, "char", "name[64]", "System.Char[]", 64, false, 160)] + [DNAFieldAttribute(64, "char", 18, "name[64]", "System.Char[]", false, 160)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(19, "float", "imat[4][4]", "System.Single[,]", 64, false, 224)] + [DNAFieldAttribute(64, "float", 19, "imat[4][4]", "System.Single[,]", false, 224)] public float[,] imat = new System.Single[4,4]; - [DNAFieldAttribute(20, "float", "cfra", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 20, "cfra", "float", false, 288)] public float cfra; - [DNAFieldAttribute(21, "float", "tree_frame", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 21, "tree_frame", "float", false, 292)] public float tree_frame; - [DNAFieldAttribute(22, "float", "bvhtree_frame", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 22, "bvhtree_frame", "float", false, 296)] public float bvhtree_frame; - [DNAFieldAttribute(23, "int", "seed", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 23, "seed", "int", false, 300)] public int seed; - [DNAFieldAttribute(24, "int", "child_seed", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 24, "child_seed", "int", false, 304)] public int child_seed; - [DNAFieldAttribute(25, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 25, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(26, "int", "totpart", "int", 4, false, 312)] + [DNAFieldAttribute(4, "int", 26, "totpart", "int", false, 312)] public int totpart; - [DNAFieldAttribute(27, "int", "totunexist", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 27, "totunexist", "int", false, 316)] public int totunexist; - [DNAFieldAttribute(28, "int", "totchild", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 28, "totchild", "int", false, 320)] public int totchild; - [DNAFieldAttribute(29, "int", "totcached", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 29, "totcached", "int", false, 324)] public int totcached; - [DNAFieldAttribute(30, "int", "totchildcache", "int", 4, false, 328)] + [DNAFieldAttribute(4, "int", 30, "totchildcache", "int", false, 328)] public int totchildcache; - [DNAFieldAttribute(31, "int", "recalc", "int", 4, false, 332)] + [DNAFieldAttribute(4, "int", 31, "recalc", "int", false, 332)] public int recalc; - [DNAFieldAttribute(32, "short", "target_psys", "short", 2, false, 336)] + [DNAFieldAttribute(2, "short", 32, "target_psys", "short", false, 336)] public short target_psys; - [DNAFieldAttribute(33, "short", "totkeyed", "short", 2, false, 338)] + [DNAFieldAttribute(2, "short", 33, "totkeyed", "short", false, 338)] public short totkeyed; - [DNAFieldAttribute(34, "short", "bakespace", "short", 2, false, 340)] + [DNAFieldAttribute(2, "short", 34, "bakespace", "short", false, 340)] public short bakespace; - [DNAFieldAttribute(35, "char", "_pad1[6]", "System.Char[]", 6, false, 342)] + [DNAFieldAttribute(6, "char", 35, "_pad1[6]", "System.Char[]", false, 342)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(36, "char", "bb_uvname[3][68]", "System.Char[,]", 204, false, 348)] + [DNAFieldAttribute(204, "char", 36, "bb_uvname[3][68]", "System.Char[,]", false, 348)] public char[,] bb_uvname = new System.Char[3,68]; - [DNAFieldAttribute(37, "char", "_pad2[4]", "System.Char[]", 4, false, 552)] + [DNAFieldAttribute(4, "char", 37, "_pad2[4]", "System.Char[]", false, 552)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(38, "short", "vgroup[13]", "System.Int16[]", 26, false, 556)] + [DNAFieldAttribute(26, "short", 38, "vgroup[13]", "System.Int16[]", false, 556)] public short[] vgroup = new System.Int16[13]; - [DNAFieldAttribute(39, "short", "vg_neg", "short", 2, false, 582)] + [DNAFieldAttribute(2, "short", 39, "vg_neg", "short", false, 582)] public short vg_neg; - [DNAFieldAttribute(40, "short", "rt3", "short", 2, false, 584)] + [DNAFieldAttribute(2, "short", 40, "rt3", "short", false, 584)] public short rt3; - [DNAFieldAttribute(41, "char", "_pad3[6]", "System.Char[]", 6, false, 586)] + [DNAFieldAttribute(6, "char", 41, "_pad3[6]", "System.Char[]", false, 586)] public char[] _pad3 = new System.Char[6]; - [DNAFieldAttribute(42, "PointCache", "*pointcache", "PointCache", 8, true, 592)] - public PointCache ptr_pointcache; - [DNAFieldAttribute(43, "ListBase", "ptcaches", "ListBase", 16, false, 600)] + [DNAFieldAttribute(8, "PointCache", 42, "*pointcache", "PointCache", true, 592)] + public PointCache pointcache; + [DNAFieldAttribute(16, "ListBase", 43, "ptcaches", "ListBase", false, 600)] public ListBase ptcaches; - [DNAFieldAttribute(44, "ListBase", "*effectors", "ListBase", 8, true, 616)] - public ListBase ptr_effectors; - [DNAFieldAttribute(45, "ParticleSpring", "*fluid_springs", "ParticleSpring", 8, true, 624)] - public ParticleSpring ptr_fluid_springs; - [DNAFieldAttribute(46, "int", "tot_fluidsprings", "int", 4, false, 632)] + [DNAFieldAttribute(8, "ListBase", 44, "*effectors", "ListBase", true, 616)] + public ListBase effectors; + [DNAFieldAttribute(8, "ParticleSpring", 45, "*fluid_springs", "ParticleSpring", true, 624)] + public ParticleSpring fluid_springs; + [DNAFieldAttribute(4, "int", 46, "tot_fluidsprings", "int", false, 632)] public int tot_fluidsprings; - [DNAFieldAttribute(47, "int", "alloc_fluidsprings", "int", 4, false, 636)] + [DNAFieldAttribute(4, "int", 47, "alloc_fluidsprings", "int", false, 636)] public int alloc_fluidsprings; - [DNAFieldAttribute(48, "KDTree_3d", "*tree", "KDTree_3d", 8, true, 640)] - public KDTree_3d ptr_tree; - [DNAFieldAttribute(49, "BVHTree", "*bvhtree", "BVHTree", 8, true, 648)] - public BVHTree ptr_bvhtree; - [DNAFieldAttribute(50, "ParticleDrawData", "*pdd", "ParticleDrawData", 8, true, 656)] - public ParticleDrawData ptr_pdd; - [DNAFieldAttribute(51, "float", "dt_frac", "float", 4, false, 664)] + [DNAFieldAttribute(8, "KDTree_3d", 48, "*tree", "KDTree_3d", true, 640)] + public KDTree_3d tree; + [DNAFieldAttribute(8, "BVHTree", 49, "*bvhtree", "BVHTree", true, 648)] + public BVHTree bvhtree; + [DNAFieldAttribute(8, "ParticleDrawData", 50, "*pdd", "ParticleDrawData", true, 656)] + public ParticleDrawData pdd; + [DNAFieldAttribute(4, "float", 51, "dt_frac", "float", false, 664)] public float dt_frac; - [DNAFieldAttribute(52, "float", "lattice_strength", "float", 4, false, 668)] + [DNAFieldAttribute(4, "float", 52, "lattice_strength", "float", false, 668)] public float lattice_strength; - [DNAFieldAttribute(53, "void", "*batch_cache", "void", 8, true, 672)] - public object ptr_batch_cache; - [DNAFieldAttribute(54, "ParticleSystem", "*orig_psys", "ParticleSystem", 8, true, 680)] - public ParticleSystem ptr_orig_psys; + [DNAFieldAttribute(8, "void", 53, "*batch_cache", "void", true, 672)] + public object batch_cache; + [DNAFieldAttribute(8, "ParticleSystem", 54, "*orig_psys", "ParticleSystem", true, 680)] + public ParticleSystem 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.next = default; + this.prev = default; + this.part = default; + this.particles = default; + this.child = default; + this.edit = default; + this.pathcache = default; + this.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.clmd = default; + this.hair_in_mesh = default; + this.hair_out_mesh = default; + this.target_ob = default; + this.lattice_deform_data = default; + this.parent = default; this.targets = default; this.name = default; this.imat = default; @@ -165,37 +165,37 @@ namespace BlendFile.DNA { this.vg_neg = default; this.rt3 = default; this._pad3 = default; - this.ptr_pointcache = default; + this.pointcache = default; this.ptcaches = default; - this.ptr_effectors = default; - this.ptr_fluid_springs = default; + this.effectors = default; + this.fluid_springs = default; this.tot_fluidsprings = default; this.alloc_fluidsprings = default; - this.ptr_tree = default; - this.ptr_bvhtree = default; - this.ptr_pdd = default; + this.tree = default; + this.bvhtree = default; + this.pdd = default; this.dt_frac = default; this.lattice_strength = default; - this.ptr_batch_cache = default; - this.ptr_orig_psys = default; + this.batch_cache = default; + this.orig_psys = default; } public ParticleSystem( - ParticleSystem ptr_next, - ParticleSystem ptr_prev, - ParticleSettings ptr_part, - ParticleData ptr_particles, - ChildParticle ptr_child, - PTCacheEdit ptr_edit, - ParticleCacheKey ptr_ptr_pathcache, - ParticleCacheKey ptr_ptr_childcache, + ParticleSystem next, + ParticleSystem prev, + ParticleSettings part, + ParticleData particles, + ChildParticle child, + PTCacheEdit edit, + ParticleCacheKey pathcache, + ParticleCacheKey childcache, ListBase pathcachebufs, ListBase childcachebufs, - ClothModifierData ptr_clmd, - Mesh ptr_hair_in_mesh, - Mesh ptr_hair_out_mesh, - Object ptr_target_ob, - LatticeDeformData ptr_lattice_deform_data, - Object ptr_parent, + ClothModifierData clmd, + Mesh hair_in_mesh, + Mesh hair_out_mesh, + Object target_ob, + LatticeDeformData lattice_deform_data, + Object parent, ListBase targets, char[] name, float[,] imat, @@ -221,35 +221,35 @@ namespace BlendFile.DNA { short vg_neg, short rt3, char[] _pad3, - PointCache ptr_pointcache, + PointCache pointcache, ListBase ptcaches, - ListBase ptr_effectors, - ParticleSpring ptr_fluid_springs, + ListBase effectors, + ParticleSpring fluid_springs, int tot_fluidsprings, int alloc_fluidsprings, - KDTree_3d ptr_tree, - BVHTree ptr_bvhtree, - ParticleDrawData ptr_pdd, + KDTree_3d tree, + BVHTree bvhtree, + ParticleDrawData pdd, float dt_frac, float lattice_strength, - object ptr_batch_cache, - ParticleSystem ptr_orig_psys) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_part = ptr_part; - this.ptr_particles = ptr_particles; - this.ptr_child = ptr_child; - this.ptr_edit = ptr_edit; - this.ptr_ptr_pathcache = ptr_ptr_pathcache; - this.ptr_ptr_childcache = ptr_ptr_childcache; + object batch_cache, + ParticleSystem orig_psys) { + this.next = next; + this.prev = prev; + this.part = part; + this.particles = particles; + this.child = child; + this.edit = edit; + this.pathcache = pathcache; + this.childcache = childcache; this.pathcachebufs = pathcachebufs; this.childcachebufs = childcachebufs; - this.ptr_clmd = ptr_clmd; - this.ptr_hair_in_mesh = ptr_hair_in_mesh; - this.ptr_hair_out_mesh = ptr_hair_out_mesh; - this.ptr_target_ob = ptr_target_ob; - this.ptr_lattice_deform_data = ptr_lattice_deform_data; - this.ptr_parent = ptr_parent; + this.clmd = clmd; + this.hair_in_mesh = hair_in_mesh; + this.hair_out_mesh = hair_out_mesh; + this.target_ob = target_ob; + this.lattice_deform_data = lattice_deform_data; + this.parent = parent; this.targets = targets; this.name = name; this.imat = imat; @@ -275,19 +275,19 @@ namespace BlendFile.DNA { this.vg_neg = vg_neg; this.rt3 = rt3; this._pad3 = _pad3; - this.ptr_pointcache = ptr_pointcache; + this.pointcache = pointcache; this.ptcaches = ptcaches; - this.ptr_effectors = ptr_effectors; - this.ptr_fluid_springs = ptr_fluid_springs; + this.effectors = effectors; + this.fluid_springs = fluid_springs; this.tot_fluidsprings = tot_fluidsprings; this.alloc_fluidsprings = alloc_fluidsprings; - this.ptr_tree = ptr_tree; - this.ptr_bvhtree = ptr_bvhtree; - this.ptr_pdd = ptr_pdd; + this.tree = tree; + this.bvhtree = bvhtree; + this.pdd = pdd; this.dt_frac = dt_frac; this.lattice_strength = lattice_strength; - this.ptr_batch_cache = ptr_batch_cache; - this.ptr_orig_psys = ptr_orig_psys; + this.batch_cache = batch_cache; + this.orig_psys = orig_psys; } } } diff --git a/BlendFile/DNA/ParticleSystemModifierData.cs b/BlendFile/DNA/ParticleSystemModifierData.cs index b9631a4..3a9261b 100644 --- a/BlendFile/DNA/ParticleSystemModifierData.cs +++ b/BlendFile/DNA/ParticleSystemModifierData.cs @@ -15,49 +15,49 @@ namespace BlendFile.DNA { [DNAClassAttribute(477, "ParticleSystemModifierData", 168)] public class ParticleSystemModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "ParticleSystem", "*psys", "ParticleSystem", 8, true, 120)] - public ParticleSystem ptr_psys; - [DNAFieldAttribute(2, "Mesh", "*mesh_final", "Mesh", 8, true, 128)] - public Mesh ptr_mesh_final; - [DNAFieldAttribute(3, "Mesh", "*mesh_original", "Mesh", 8, true, 136)] - public Mesh ptr_mesh_original; - [DNAFieldAttribute(4, "int", "totdmvert", "int", 4, false, 144)] + [DNAFieldAttribute(8, "ParticleSystem", 1, "*psys", "ParticleSystem", true, 120)] + public ParticleSystem psys; + [DNAFieldAttribute(8, "Mesh", 2, "*mesh_final", "Mesh", true, 128)] + public Mesh mesh_final; + [DNAFieldAttribute(8, "Mesh", 3, "*mesh_original", "Mesh", true, 136)] + public Mesh mesh_original; + [DNAFieldAttribute(4, "int", 4, "totdmvert", "int", false, 144)] public int totdmvert; - [DNAFieldAttribute(5, "int", "totdmedge", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 5, "totdmedge", "int", false, 148)] public int totdmedge; - [DNAFieldAttribute(6, "int", "totdmface", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 6, "totdmface", "int", false, 152)] public int totdmface; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 156)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 156)] public short flag; - [DNAFieldAttribute(8, "char", "_pad[2]", "System.Char[]", 2, false, 158)] + [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 158)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(9, "void", "*_pad1", "void", 8, true, 160)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 9, "*_pad1", "void", true, 160)] + public object _pad1; public ParticleSystemModifierData() { this.modifier = default; - this.ptr_psys = default; - this.ptr_mesh_final = default; - this.ptr_mesh_original = default; + this.psys = default; + this.mesh_final = default; + this.mesh_original = default; this.totdmvert = default; this.totdmedge = default; this.totdmface = default; this.flag = default; this._pad = default; - this.ptr__pad1 = default; + this._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) { + public ParticleSystemModifierData(ModifierData modifier, ParticleSystem psys, Mesh mesh_final, Mesh mesh_original, int totdmvert, int totdmedge, int totdmface, short flag, char[] _pad, object _pad1) { this.modifier = modifier; - this.ptr_psys = ptr_psys; - this.ptr_mesh_final = ptr_mesh_final; - this.ptr_mesh_original = ptr_mesh_original; + this.psys = psys; + this.mesh_final = mesh_final; + this.mesh_original = mesh_original; this.totdmvert = totdmvert; this.totdmedge = totdmedge; this.totdmface = totdmface; this.flag = flag; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/ParticleTarget.cs b/BlendFile/DNA/ParticleTarget.cs index b270fa9..297f573 100644 --- a/BlendFile/DNA/ParticleTarget.cs +++ b/BlendFile/DNA/ParticleTarget.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(781, "ParticleTarget", 40)] public class ParticleTarget { - [DNAFieldAttribute(0, "ParticleTarget", "*next", "ParticleTarget", 8, true, 0)] - public ParticleTarget ptr_next; - [DNAFieldAttribute(1, "ParticleTarget", "*prev", "ParticleTarget", 8, true, 8)] - public ParticleTarget ptr_prev; - [DNAFieldAttribute(2, "Object", "*ob", "Object", 8, true, 16)] - public Object ptr_ob; - [DNAFieldAttribute(3, "int", "psys", "int", 4, false, 24)] + [DNAFieldAttribute(8, "ParticleTarget", 0, "*next", "ParticleTarget", true, 0)] + public ParticleTarget next; + [DNAFieldAttribute(8, "ParticleTarget", 1, "*prev", "ParticleTarget", true, 8)] + public ParticleTarget prev; + [DNAFieldAttribute(8, "Object", 2, "*ob", "Object", true, 16)] + public Object ob; + [DNAFieldAttribute(4, "int", 3, "psys", "int", false, 24)] public int psys; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 28)] public short flag; - [DNAFieldAttribute(5, "short", "mode", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 5, "mode", "short", false, 30)] public short mode; - [DNAFieldAttribute(6, "float", "time", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 6, "time", "float", false, 32)] public float time; - [DNAFieldAttribute(7, "float", "duration", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 7, "duration", "float", false, 36)] public float duration; public ParticleTarget() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_ob = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_ob = ptr_ob; + public ParticleTarget(ParticleTarget next, ParticleTarget prev, Object ob, int psys, short flag, short mode, float time, float duration) { + this.next = next; + this.prev = prev; + this.ob = ob; this.psys = psys; this.flag = flag; this.mode = mode; diff --git a/BlendFile/DNA/PhysicsSettings.cs b/BlendFile/DNA/PhysicsSettings.cs index 92a152a..2c456a5 100644 --- a/BlendFile/DNA/PhysicsSettings.cs +++ b/BlendFile/DNA/PhysicsSettings.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(830, "PhysicsSettings", 24)] - public struct PhysicsSettings { - [DNAFieldAttribute(0, "float", "gravity[3]", "System.Single[]", 12, false, 0)] + public class PhysicsSettings { + [DNAFieldAttribute(12, "float", 0, "gravity[3]", "System.Single[]", false, 0)] public float[] gravity = new System.Single[3]; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 12)] public int flag; - [DNAFieldAttribute(2, "int", "quick_cache_step", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 2, "quick_cache_step", "int", false, 16)] public int quick_cache_step; - [DNAFieldAttribute(3, "char", "_pad0[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", false, 20)] public char[] _pad0 = new System.Char[4]; public PhysicsSettings() { this.gravity = default; diff --git a/BlendFile/DNA/PixelShaderFxData.cs b/BlendFile/DNA/PixelShaderFxData.cs index 0eab6be..8da3794 100644 --- a/BlendFile/DNA/PixelShaderFxData.cs +++ b/BlendFile/DNA/PixelShaderFxData.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(921, "PixelShaderFxData", 176)] - public struct PixelShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class PixelShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "int", "size[3]", "System.Int32[]", 12, false, 104)] + [DNAFieldAttribute(12, "int", 1, "size[3]", "System.Int32[]", false, 104)] public int[] size = new System.Int32[3]; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 116)] public int flag; - [DNAFieldAttribute(3, "float", "rgba[4]", "System.Single[]", 16, false, 120)] + [DNAFieldAttribute(16, "float", 3, "rgba[4]", "System.Single[]", false, 120)] public float[] rgba = new System.Single[4]; - [DNAFieldAttribute(4, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 136)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 4, "runtime", "ShaderFxData_Runtime", false, 136)] public ShaderFxData_Runtime runtime; public PixelShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/PointCache.cs b/BlendFile/DNA/PointCache.cs index 3115355..47936d4 100644 --- a/BlendFile/DNA/PointCache.cs +++ b/BlendFile/DNA/PointCache.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(229, "PointCache", 1384)] public class PointCache { - [DNAFieldAttribute(0, "PointCache", "*next", "PointCache", 8, true, 0)] - public PointCache ptr_next; - [DNAFieldAttribute(1, "PointCache", "*prev", "PointCache", 8, true, 8)] - public PointCache ptr_prev; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(8, "PointCache", 0, "*next", "PointCache", true, 0)] + public PointCache next; + [DNAFieldAttribute(8, "PointCache", 1, "*prev", "PointCache", true, 8)] + public PointCache prev; + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(3, "int", "step", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "step", "int", false, 20)] public int step; - [DNAFieldAttribute(4, "int", "simframe", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 4, "simframe", "int", false, 24)] public int simframe; - [DNAFieldAttribute(5, "int", "startframe", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 5, "startframe", "int", false, 28)] public int startframe; - [DNAFieldAttribute(6, "int", "endframe", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 6, "endframe", "int", false, 32)] public int endframe; - [DNAFieldAttribute(7, "int", "editframe", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 7, "editframe", "int", false, 36)] public int editframe; - [DNAFieldAttribute(8, "int", "last_exact", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 8, "last_exact", "int", false, 40)] public int last_exact; - [DNAFieldAttribute(9, "int", "last_valid", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 9, "last_valid", "int", false, 44)] public int last_valid; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 48)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 48)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(11, "int", "totpoint", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 11, "totpoint", "int", false, 52)] public int totpoint; - [DNAFieldAttribute(12, "int", "index", "int", 4, false, 56)] + [DNAFieldAttribute(4, "int", 12, "index", "int", false, 56)] public int index; - [DNAFieldAttribute(13, "short", "compression", "short", 2, false, 60)] + [DNAFieldAttribute(2, "short", 13, "compression", "short", false, 60)] public short compression; - [DNAFieldAttribute(14, "char", "_pad0[2]", "System.Char[]", 2, false, 62)] + [DNAFieldAttribute(2, "char", 14, "_pad0[2]", "System.Char[]", false, 62)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(15, "char", "name[64]", "System.Char[]", 64, false, 64)] + [DNAFieldAttribute(64, "char", 15, "name[64]", "System.Char[]", false, 64)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(16, "char", "prev_name[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(64, "char", 16, "prev_name[64]", "System.Char[]", false, 128)] public char[] prev_name = new System.Char[64]; - [DNAFieldAttribute(17, "char", "info[128]", "System.Char[]", 128, false, 192)] + [DNAFieldAttribute(128, "char", 17, "info[128]", "System.Char[]", false, 192)] public char[] info = new System.Char[128]; - [DNAFieldAttribute(18, "char", "path[1024]", "System.Char[]", 1024, false, 320)] + [DNAFieldAttribute(1024, "char", 18, "path[1024]", "System.Char[]", false, 320)] public char[] path = new System.Char[1024]; - [DNAFieldAttribute(19, "char", "*cached_frames", "char", 8, true, 1344)] - public char ptr_cached_frames; - [DNAFieldAttribute(20, "int", "cached_frames_len", "int", 4, false, 1352)] + [DNAFieldAttribute(8, "char", 19, "*cached_frames", "char", true, 1344)] + public char cached_frames; + [DNAFieldAttribute(4, "int", 20, "cached_frames_len", "int", false, 1352)] public int cached_frames_len; - [DNAFieldAttribute(21, "char", "_pad1[4]", "System.Char[]", 4, false, 1356)] + [DNAFieldAttribute(4, "char", 21, "_pad1[4]", "System.Char[]", false, 1356)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(22, "ListBase", "mem_cache", "ListBase", 16, false, 1360)] + [DNAFieldAttribute(16, "ListBase", 22, "mem_cache", "ListBase", false, 1360)] public ListBase mem_cache; - [DNAFieldAttribute(23, "PTCacheEdit", "*edit", "PTCacheEdit", 8, true, 1376)] - public PTCacheEdit ptr_edit; + [DNAFieldAttribute(8, "PTCacheEdit", 23, "*edit", "PTCacheEdit", true, 1376)] + public PTCacheEdit edit; public PointCache() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.flag = default; this.step = default; this.simframe = default; @@ -83,15 +83,15 @@ namespace BlendFile.DNA { this.prev_name = default; this.info = default; this.path = default; - this.ptr_cached_frames = default; + this.cached_frames = default; this.cached_frames_len = default; this._pad1 = default; this.mem_cache = default; - this.ptr_edit = default; + this.edit = default; } public PointCache( - PointCache ptr_next, - PointCache ptr_prev, + PointCache next, + PointCache prev, int flag, int step, int simframe, @@ -109,13 +109,13 @@ namespace BlendFile.DNA { char[] prev_name, char[] info, char[] path, - char ptr_cached_frames, + char cached_frames, int cached_frames_len, char[] _pad1, ListBase mem_cache, - PTCacheEdit ptr_edit) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + PTCacheEdit edit) { + this.next = next; + this.prev = prev; this.flag = flag; this.step = step; this.simframe = simframe; @@ -133,11 +133,11 @@ namespace BlendFile.DNA { this.prev_name = prev_name; this.info = info; this.path = path; - this.ptr_cached_frames = ptr_cached_frames; + this.cached_frames = cached_frames; this.cached_frames_len = cached_frames_len; this._pad1 = _pad1; this.mem_cache = mem_cache; - this.ptr_edit = ptr_edit; + this.edit = edit; } } } diff --git a/BlendFile/DNA/PointCloud.cs b/BlendFile/DNA/PointCloud.cs index c117328..c2b8e11 100644 --- a/BlendFile/DNA/PointCloud.cs +++ b/BlendFile/DNA/PointCloud.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(792, "PointCloud", 512)] public class PointCloud { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 216)] public int flag; - [DNAFieldAttribute(3, "int", "totpoint", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 3, "totpoint", "int", false, 220)] public int totpoint; - [DNAFieldAttribute(4, "CustomData", "pdata", "CustomData", 248, false, 224)] + [DNAFieldAttribute(248, "CustomData", 4, "pdata", "CustomData", false, 224)] public CustomData pdata; - [DNAFieldAttribute(5, "int", "attributes_active_index", "int", 4, false, 472)] + [DNAFieldAttribute(4, "int", 5, "attributes_active_index", "int", false, 472)] public int attributes_active_index; - [DNAFieldAttribute(6, "int", "_pad4", "int", 4, false, 476)] + [DNAFieldAttribute(4, "int", 6, "_pad4", "int", false, 476)] public int _pad4; - [DNAFieldAttribute(7, "Material", "**mat", "Material", 8, true, 480)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(8, "short", "totcol", "short", 2, false, 488)] + [DNAFieldAttribute(8, "Material", 7, "**mat", "Material", true, 480)] + public Material mat; + [DNAFieldAttribute(2, "short", 8, "totcol", "short", false, 488)] public short totcol; - [DNAFieldAttribute(9, "short", "_pad3[3]", "System.Int16[]", 6, false, 490)] + [DNAFieldAttribute(6, "short", 9, "_pad3[3]", "System.Int16[]", false, 490)] public short[] _pad3 = new System.Int16[3]; - [DNAFieldAttribute(10, "PointCloudRuntimeHandle", "*runtime", "PointCloudRuntimeHandle", 8, true, 496)] - public PointCloudRuntimeHandle ptr_runtime; - [DNAFieldAttribute(11, "void", "*batch_cache", "void", 8, true, 504)] - public object ptr_batch_cache; + [DNAFieldAttribute(8, "PointCloudRuntimeHandle", 10, "*runtime", "PointCloudRuntimeHandle", true, 496)] + public PointCloudRuntimeHandle runtime; + [DNAFieldAttribute(8, "void", 11, "*batch_cache", "void", true, 504)] + public object batch_cache; public PointCloud() { this.id = default; - this.ptr_adt = default; + this.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.mat = default; this.totcol = default; this._pad3 = default; - this.ptr_runtime = default; - this.ptr_batch_cache = default; + this.runtime = default; + this.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) { + public PointCloud(ID id, AnimData adt, int flag, int totpoint, CustomData pdata, int attributes_active_index, int _pad4, Material mat, short totcol, short[] _pad3, PointCloudRuntimeHandle runtime, object batch_cache) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.flag = flag; this.totpoint = totpoint; this.pdata = pdata; this.attributes_active_index = attributes_active_index; this._pad4 = _pad4; - this.ptr_ptr_mat = ptr_ptr_mat; + this.mat = mat; this.totcol = totcol; this._pad3 = _pad3; - this.ptr_runtime = ptr_runtime; - this.ptr_batch_cache = ptr_batch_cache; + this.runtime = runtime; + this.batch_cache = batch_cache; } } } diff --git a/BlendFile/DNA/PointDensity.cs b/BlendFile/DNA/PointDensity.cs index 3846308..638e3a0 100644 --- a/BlendFile/DNA/PointDensity.cs +++ b/BlendFile/DNA/PointDensity.cs @@ -15,62 +15,62 @@ namespace BlendFile.DNA { [DNAClassAttribute(652, "PointDensity", 176)] public class PointDensity { - [DNAFieldAttribute(0, "short", "flag", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "flag", "short", false, 0)] public short flag; - [DNAFieldAttribute(1, "short", "falloff_type", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "falloff_type", "short", false, 2)] public short falloff_type; - [DNAFieldAttribute(2, "float", "falloff_softness", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "falloff_softness", "float", false, 4)] public float falloff_softness; - [DNAFieldAttribute(3, "float", "radius", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 3, "radius", "float", false, 8)] public float radius; - [DNAFieldAttribute(4, "short", "source", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 4, "source", "short", false, 12)] public short source; - [DNAFieldAttribute(5, "char", "_pad0[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 14)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(6, "short", "color_source", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 6, "color_source", "short", false, 16)] public short color_source; - [DNAFieldAttribute(7, "short", "ob_color_source", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 7, "ob_color_source", "short", false, 18)] public short ob_color_source; - [DNAFieldAttribute(8, "int", "totpoints", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 8, "totpoints", "int", false, 20)] public int totpoints; - [DNAFieldAttribute(9, "Object", "*object", "Object", 8, true, 24)] - public Object ptr_object; - [DNAFieldAttribute(10, "int", "psys", "int", 4, false, 32)] + [DNAFieldAttribute(8, "Object", 9, "*object", "Object", true, 24)] + public Object @object; + [DNAFieldAttribute(4, "int", 10, "psys", "int", false, 32)] public int psys; - [DNAFieldAttribute(11, "short", "psys_cache_space", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 11, "psys_cache_space", "short", false, 36)] public short psys_cache_space; - [DNAFieldAttribute(12, "short", "ob_cache_space", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 12, "ob_cache_space", "short", false, 38)] public short ob_cache_space; - [DNAFieldAttribute(13, "char", "vertex_attribute_name[68]", "System.Char[]", 68, false, 40)] + [DNAFieldAttribute(68, "char", 13, "vertex_attribute_name[68]", "System.Char[]", false, 40)] public char[] vertex_attribute_name = new System.Char[68]; - [DNAFieldAttribute(14, "char", "_pad1[4]", "System.Char[]", 4, false, 108)] + [DNAFieldAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", false, 108)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(15, "void", "*point_tree", "void", 8, true, 112)] - public object ptr_point_tree; - [DNAFieldAttribute(16, "float", "*point_data", "float", 8, true, 120)] - public float ptr_point_data; - [DNAFieldAttribute(17, "float", "noise_size", "float", 4, false, 128)] + [DNAFieldAttribute(8, "void", 15, "*point_tree", "void", true, 112)] + public object point_tree; + [DNAFieldAttribute(8, "float", 16, "*point_data", "float", true, 120)] + public float point_data; + [DNAFieldAttribute(4, "float", 17, "noise_size", "float", false, 128)] public float noise_size; - [DNAFieldAttribute(18, "short", "noise_depth", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 18, "noise_depth", "short", false, 132)] public short noise_depth; - [DNAFieldAttribute(19, "short", "noise_influence", "short", 2, false, 134)] + [DNAFieldAttribute(2, "short", 19, "noise_influence", "short", false, 134)] public short noise_influence; - [DNAFieldAttribute(20, "short", "noise_basis", "short", 2, false, 136)] + [DNAFieldAttribute(2, "short", 20, "noise_basis", "short", false, 136)] public short noise_basis; - [DNAFieldAttribute(21, "char", "_pad2[6]", "System.Char[]", 6, false, 138)] + [DNAFieldAttribute(6, "char", 21, "_pad2[6]", "System.Char[]", false, 138)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(22, "float", "noise_fac", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 22, "noise_fac", "float", false, 144)] public float noise_fac; - [DNAFieldAttribute(23, "float", "speed_scale", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 23, "speed_scale", "float", false, 148)] public float speed_scale; - [DNAFieldAttribute(24, "float", "falloff_speed_scale", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 24, "falloff_speed_scale", "float", false, 152)] public float falloff_speed_scale; - [DNAFieldAttribute(25, "char", "_pad3[4]", "System.Char[]", 4, false, 156)] + [DNAFieldAttribute(4, "char", 25, "_pad3[4]", "System.Char[]", false, 156)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(26, "ColorBand", "*coba", "ColorBand", 8, true, 160)] - public ColorBand ptr_coba; - [DNAFieldAttribute(27, "CurveMapping", "*falloff_curve", "CurveMapping", 8, true, 168)] - public CurveMapping ptr_falloff_curve; + [DNAFieldAttribute(8, "ColorBand", 26, "*coba", "ColorBand", true, 160)] + public ColorBand coba; + [DNAFieldAttribute(8, "CurveMapping", 27, "*falloff_curve", "CurveMapping", true, 168)] + public CurveMapping falloff_curve; public PointDensity() { this.flag = default; this.falloff_type = default; @@ -81,14 +81,14 @@ namespace BlendFile.DNA { this.color_source = default; this.ob_color_source = default; this.totpoints = default; - this.ptr_object = default; + this.@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.point_tree = default; + this.point_data = default; this.noise_size = default; this.noise_depth = default; this.noise_influence = default; @@ -98,8 +98,8 @@ namespace BlendFile.DNA { this.speed_scale = default; this.falloff_speed_scale = default; this._pad3 = default; - this.ptr_coba = default; - this.ptr_falloff_curve = default; + this.coba = default; + this.falloff_curve = default; } public PointDensity( short flag, @@ -111,14 +111,14 @@ namespace BlendFile.DNA { short color_source, short ob_color_source, int totpoints, - Object ptr_object, + Object @object, int psys, short psys_cache_space, short ob_cache_space, char[] vertex_attribute_name, char[] _pad1, - object ptr_point_tree, - float ptr_point_data, + object point_tree, + float point_data, float noise_size, short noise_depth, short noise_influence, @@ -128,8 +128,8 @@ namespace BlendFile.DNA { float speed_scale, float falloff_speed_scale, char[] _pad3, - ColorBand ptr_coba, - CurveMapping ptr_falloff_curve) { + ColorBand coba, + CurveMapping falloff_curve) { this.flag = flag; this.falloff_type = falloff_type; this.falloff_softness = falloff_softness; @@ -139,14 +139,14 @@ namespace BlendFile.DNA { this.color_source = color_source; this.ob_color_source = ob_color_source; this.totpoints = totpoints; - this.ptr_object = ptr_object; + this.@object = @object; this.psys = psys; this.psys_cache_space = psys_cache_space; this.ob_cache_space = ob_cache_space; this.vertex_attribute_name = vertex_attribute_name; this._pad1 = _pad1; - this.ptr_point_tree = ptr_point_tree; - this.ptr_point_data = ptr_point_data; + this.point_tree = point_tree; + this.point_data = point_data; this.noise_size = noise_size; this.noise_depth = noise_depth; this.noise_influence = noise_influence; @@ -156,8 +156,8 @@ namespace BlendFile.DNA { this.speed_scale = speed_scale; this.falloff_speed_scale = falloff_speed_scale; this._pad3 = _pad3; - this.ptr_coba = ptr_coba; - this.ptr_falloff_curve = ptr_falloff_curve; + this.coba = coba; + this.falloff_curve = falloff_curve; } } } diff --git a/BlendFile/DNA/PreviewImage.cs b/BlendFile/DNA/PreviewImage.cs index 138ac15..c4389ab 100644 --- a/BlendFile/DNA/PreviewImage.cs +++ b/BlendFile/DNA/PreviewImage.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(41, "PreviewImage", 48)] public class PreviewImage { - [DNAFieldAttribute(0, "int", "w[2]", "System.Int32[]", 8, false, 0)] + [DNAFieldAttribute(8, "int", 0, "w[2]", "System.Int32[]", false, 0)] public int[] w = new System.Int32[2]; - [DNAFieldAttribute(1, "int", "h[2]", "System.Int32[]", 8, false, 8)] + [DNAFieldAttribute(8, "int", 1, "h[2]", "System.Int32[]", false, 8)] public int[] h = new System.Int32[2]; - [DNAFieldAttribute(2, "short", "flag[2]", "System.Int16[]", 4, false, 16)] + [DNAFieldAttribute(4, "short", 2, "flag[2]", "System.Int16[]", false, 16)] public short[] flag = new System.Int16[2]; - [DNAFieldAttribute(3, "short", "changed_timestamp[2]", "System.Int16[]", 4, false, 20)] + [DNAFieldAttribute(4, "short", 3, "changed_timestamp[2]", "System.Int16[]", false, 20)] public short[] changed_timestamp = new System.Int16[2]; - [DNAFieldAttribute(4, "int", "*rect[2]", "System.Int32[]", 16, true, 24)] - public int[] ptr_r = new System.Int32[2]; - [DNAFieldAttribute(5, "PreviewImageRuntimeHandle", "*runtime", "PreviewImageRuntimeHandle", 8, true, 40)] - public PreviewImageRuntimeHandle ptr_runtime; + [DNAFieldAttribute(16, "int", 4, "*rect[2]", "System.Int32[]", true, 24)] + public int[] rect = new System.Int32[2]; + [DNAFieldAttribute(8, "PreviewImageRuntimeHandle", 5, "*runtime", "PreviewImageRuntimeHandle", true, 40)] + public PreviewImageRuntimeHandle runtime; public PreviewImage() { this.w = default; this.h = default; this.flag = default; this.changed_timestamp = default; - this.ptr_r = default; - this.ptr_runtime = default; + this.rect = default; + this.runtime = default; } - public PreviewImage(int[] w, int[] h, short[] flag, short[] changed_timestamp, int[] ptr_r, PreviewImageRuntimeHandle ptr_runtime) { + public PreviewImage(int[] w, int[] h, short[] flag, short[] changed_timestamp, int[] rect, PreviewImageRuntimeHandle runtime) { this.w = w; this.h = h; this.flag = flag; this.changed_timestamp = changed_timestamp; - this.ptr_r = ptr_r; - this.ptr_runtime = ptr_runtime; + this.rect = rect; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/RaytraceEEVEE.cs b/BlendFile/DNA/RaytraceEEVEE.cs index 3332002..1f0824f 100644 --- a/BlendFile/DNA/RaytraceEEVEE.cs +++ b/BlendFile/DNA/RaytraceEEVEE.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(834, "RaytraceEEVEE", 24)] - public struct RaytraceEEVEE { - [DNAFieldAttribute(0, "float", "screen_trace_quality", "float", 4, false, 0)] + public class RaytraceEEVEE { + [DNAFieldAttribute(4, "float", 0, "screen_trace_quality", "float", false, 0)] public float screen_trace_quality; - [DNAFieldAttribute(1, "float", "screen_trace_thickness", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "screen_trace_thickness", "float", false, 4)] public float screen_trace_thickness; - [DNAFieldAttribute(2, "float", "trace_max_roughness", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "trace_max_roughness", "float", false, 8)] public float trace_max_roughness; - [DNAFieldAttribute(3, "int", "resolution_scale", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "resolution_scale", "int", false, 12)] public int resolution_scale; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(5, "int", "denoise_stages", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "denoise_stages", "int", false, 20)] public int denoise_stages; public RaytraceEEVEE() { this.screen_trace_quality = default; diff --git a/BlendFile/DNA/RegionAssetShelf.cs b/BlendFile/DNA/RegionAssetShelf.cs index bc7afb5..2e41fd7 100644 --- a/BlendFile/DNA/RegionAssetShelf.cs +++ b/BlendFile/DNA/RegionAssetShelf.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(873, "RegionAssetShelf", 24)] public class RegionAssetShelf { - [DNAFieldAttribute(0, "ListBase", "shelves", "ListBase", 16, false, 0)] + [DNAFieldAttribute(16, "ListBase", 0, "shelves", "ListBase", false, 0)] public ListBase shelves; - [DNAFieldAttribute(1, "AssetShelf", "*active_shelf", "AssetShelf", 8, true, 16)] - public AssetShelf ptr_active_shelf; + [DNAFieldAttribute(8, "AssetShelf", 1, "*active_shelf", "AssetShelf", true, 16)] + public AssetShelf active_shelf; public RegionAssetShelf() { this.shelves = default; - this.ptr_active_shelf = default; + this.active_shelf = default; } - public RegionAssetShelf(ListBase shelves, AssetShelf ptr_active_shelf) { + public RegionAssetShelf(ListBase shelves, AssetShelf active_shelf) { this.shelves = shelves; - this.ptr_active_shelf = ptr_active_shelf; + this.active_shelf = active_shelf; } } } diff --git a/BlendFile/DNA/RegionView3D.cs b/BlendFile/DNA/RegionView3D.cs index d585d1f..ab906ad 100644 --- a/BlendFile/DNA/RegionView3D.cs +++ b/BlendFile/DNA/RegionView3D.cs @@ -15,95 +15,95 @@ namespace BlendFile.DNA { [DNAClassAttribute(1024, "RegionView3D", 928)] public class RegionView3D { - [DNAFieldAttribute(0, "float", "winmat[4][4]", "System.Single[,]", 64, false, 0)] + [DNAFieldAttribute(64, "float", 0, "winmat[4][4]", "System.Single[,]", false, 0)] public float[,] winmat = new System.Single[4,4]; - [DNAFieldAttribute(1, "float", "viewmat[4][4]", "System.Single[,]", 64, false, 64)] + [DNAFieldAttribute(64, "float", 1, "viewmat[4][4]", "System.Single[,]", false, 64)] public float[,] viewmat = new System.Single[4,4]; - [DNAFieldAttribute(2, "float", "viewinv[4][4]", "System.Single[,]", 64, false, 128)] + [DNAFieldAttribute(64, "float", 2, "viewinv[4][4]", "System.Single[,]", false, 128)] public float[,] viewinv = new System.Single[4,4]; - [DNAFieldAttribute(3, "float", "persmat[4][4]", "System.Single[,]", 64, false, 192)] + [DNAFieldAttribute(64, "float", 3, "persmat[4][4]", "System.Single[,]", false, 192)] public float[,] persmat = new System.Single[4,4]; - [DNAFieldAttribute(4, "float", "persinv[4][4]", "System.Single[,]", 64, false, 256)] + [DNAFieldAttribute(64, "float", 4, "persinv[4][4]", "System.Single[,]", false, 256)] public float[,] persinv = new System.Single[4,4]; - [DNAFieldAttribute(5, "float", "viewcamtexcofac[4]", "System.Single[]", 16, false, 320)] + [DNAFieldAttribute(16, "float", 5, "viewcamtexcofac[4]", "System.Single[]", false, 320)] public float[] viewcamtexcofac = new System.Single[4]; - [DNAFieldAttribute(6, "float", "viewmatob[4][4]", "System.Single[,]", 64, false, 336)] + [DNAFieldAttribute(64, "float", 6, "viewmatob[4][4]", "System.Single[,]", false, 336)] public float[,] viewmatob = new System.Single[4,4]; - [DNAFieldAttribute(7, "float", "persmatob[4][4]", "System.Single[,]", 64, false, 400)] + [DNAFieldAttribute(64, "float", 7, "persmatob[4][4]", "System.Single[,]", false, 400)] public float[,] persmatob = new System.Single[4,4]; - [DNAFieldAttribute(8, "float", "clip[6][4]", "System.Single[,]", 96, false, 464)] + [DNAFieldAttribute(96, "float", 8, "clip[6][4]", "System.Single[,]", false, 464)] public float[,] clip = new System.Single[6,4]; - [DNAFieldAttribute(9, "float", "clip_local[6][4]", "System.Single[,]", 96, false, 560)] + [DNAFieldAttribute(96, "float", 9, "clip_local[6][4]", "System.Single[,]", false, 560)] public float[,] clip_local = new System.Single[6,4]; - [DNAFieldAttribute(10, "BoundBox", "*clipbb", "BoundBox", 8, true, 656)] - public BoundBox ptr_clipbb; - [DNAFieldAttribute(11, "RegionView3D", "*localvd", "RegionView3D", 8, true, 664)] - public RegionView3D ptr_localvd; - [DNAFieldAttribute(12, "ViewRender", "*view_render", "ViewRender", 8, true, 672)] - public ViewRender ptr_view_render; - [DNAFieldAttribute(13, "SmoothView3DStore", "*sms", "SmoothView3DStore", 8, true, 680)] - public SmoothView3DStore ptr_sms; - [DNAFieldAttribute(14, "wmTimer", "*smooth_timer", "wmTimer", 8, true, 688)] - public wmTimer ptr_smooth_timer; - [DNAFieldAttribute(15, "float", "twmat[4][4]", "System.Single[,]", 64, false, 696)] + [DNAFieldAttribute(8, "BoundBox", 10, "*clipbb", "BoundBox", true, 656)] + public BoundBox clipbb; + [DNAFieldAttribute(8, "RegionView3D", 11, "*localvd", "RegionView3D", true, 664)] + public RegionView3D localvd; + [DNAFieldAttribute(8, "ViewRender", 12, "*view_render", "ViewRender", true, 672)] + public ViewRender view_render; + [DNAFieldAttribute(8, "SmoothView3DStore", 13, "*sms", "SmoothView3DStore", true, 680)] + public SmoothView3DStore sms; + [DNAFieldAttribute(8, "wmTimer", 14, "*smooth_timer", "wmTimer", true, 688)] + public wmTimer smooth_timer; + [DNAFieldAttribute(64, "float", 15, "twmat[4][4]", "System.Single[,]", false, 696)] public float[,] twmat = new System.Single[4,4]; - [DNAFieldAttribute(16, "float", "tw_axis_min[3]", "System.Single[]", 12, false, 760)] + [DNAFieldAttribute(12, "float", 16, "tw_axis_min[3]", "System.Single[]", false, 760)] public float[] tw_axis_min = new System.Single[3]; - [DNAFieldAttribute(17, "float", "tw_axis_max[3]", "System.Single[]", 12, false, 772)] + [DNAFieldAttribute(12, "float", 17, "tw_axis_max[3]", "System.Single[]", false, 772)] public float[] tw_axis_max = new System.Single[3]; - [DNAFieldAttribute(18, "float", "tw_axis_matrix[3][3]", "System.Single[,]", 36, false, 784)] + [DNAFieldAttribute(36, "float", 18, "tw_axis_matrix[3][3]", "System.Single[,]", false, 784)] public float[,] tw_axis_matrix = new System.Single[3,3]; - [DNAFieldAttribute(19, "float", "gridview", "float", 4, false, 820)] + [DNAFieldAttribute(4, "float", 19, "gridview", "float", false, 820)] public float gridview; - [DNAFieldAttribute(20, "float", "viewquat[4]", "System.Single[]", 16, false, 824)] + [DNAFieldAttribute(16, "float", 20, "viewquat[4]", "System.Single[]", false, 824)] public float[] viewquat = new System.Single[4]; - [DNAFieldAttribute(21, "float", "dist", "float", 4, false, 840)] + [DNAFieldAttribute(4, "float", 21, "dist", "float", false, 840)] public float dist; - [DNAFieldAttribute(22, "float", "camdx", "float", 4, false, 844)] + [DNAFieldAttribute(4, "float", 22, "camdx", "float", false, 844)] public float camdx; - [DNAFieldAttribute(23, "float", "camdy", "float", 4, false, 848)] + [DNAFieldAttribute(4, "float", 23, "camdy", "float", false, 848)] public float camdy; - [DNAFieldAttribute(24, "float", "pixsize", "float", 4, false, 852)] + [DNAFieldAttribute(4, "float", 24, "pixsize", "float", false, 852)] public float pixsize; - [DNAFieldAttribute(25, "float", "ofs[3]", "System.Single[]", 12, false, 856)] + [DNAFieldAttribute(12, "float", 25, "ofs[3]", "System.Single[]", false, 856)] public float[] ofs = new System.Single[3]; - [DNAFieldAttribute(26, "float", "camzoom", "float", 4, false, 868)] + [DNAFieldAttribute(4, "float", 26, "camzoom", "float", false, 868)] public float camzoom; - [DNAFieldAttribute(27, "char", "is_persp", "char", 1, false, 872)] + [DNAFieldAttribute(1, "char", 27, "is_persp", "char", false, 872)] public char is_persp; - [DNAFieldAttribute(28, "char", "persp", "char", 1, false, 873)] + [DNAFieldAttribute(1, "char", 28, "persp", "char", false, 873)] public char persp; - [DNAFieldAttribute(29, "char", "view", "char", 1, false, 874)] + [DNAFieldAttribute(1, "char", 29, "view", "char", false, 874)] public char view; - [DNAFieldAttribute(30, "char", "view_axis_roll", "char", 1, false, 875)] + [DNAFieldAttribute(1, "char", 30, "view_axis_roll", "char", false, 875)] public char view_axis_roll; - [DNAFieldAttribute(31, "char", "viewlock", "char", 1, false, 876)] + [DNAFieldAttribute(1, "char", 31, "viewlock", "char", false, 876)] public char viewlock; - [DNAFieldAttribute(32, "char", "runtime_viewlock", "char", 1, false, 877)] + [DNAFieldAttribute(1, "char", 32, "runtime_viewlock", "char", false, 877)] public char runtime_viewlock; - [DNAFieldAttribute(33, "char", "viewlock_quad", "char", 1, false, 878)] + [DNAFieldAttribute(1, "char", 33, "viewlock_quad", "char", false, 878)] public char viewlock_quad; - [DNAFieldAttribute(34, "char", "_pad[1]", "System.Char[]", 1, false, 879)] + [DNAFieldAttribute(1, "char", 34, "_pad[1]", "System.Char[]", false, 879)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(35, "float", "ofs_lock[2]", "System.Single[]", 8, false, 880)] + [DNAFieldAttribute(8, "float", 35, "ofs_lock[2]", "System.Single[]", false, 880)] public float[] ofs_lock = new System.Single[2]; - [DNAFieldAttribute(36, "short", "twdrawflag", "short", 2, false, 888)] + [DNAFieldAttribute(2, "short", 36, "twdrawflag", "short", false, 888)] public short twdrawflag; - [DNAFieldAttribute(37, "short", "rflag", "short", 2, false, 890)] + [DNAFieldAttribute(2, "short", 37, "rflag", "short", false, 890)] public short rflag; - [DNAFieldAttribute(38, "float", "lviewquat[4]", "System.Single[]", 16, false, 892)] + [DNAFieldAttribute(16, "float", 38, "lviewquat[4]", "System.Single[]", false, 892)] public float[] lviewquat = new System.Single[4]; - [DNAFieldAttribute(39, "char", "lpersp", "char", 1, false, 908)] + [DNAFieldAttribute(1, "char", 39, "lpersp", "char", false, 908)] public char lpersp; - [DNAFieldAttribute(40, "char", "lview", "char", 1, false, 909)] + [DNAFieldAttribute(1, "char", 40, "lview", "char", false, 909)] public char lview; - [DNAFieldAttribute(41, "char", "lview_axis_roll", "char", 1, false, 910)] + [DNAFieldAttribute(1, "char", 41, "lview_axis_roll", "char", false, 910)] public char lview_axis_roll; - [DNAFieldAttribute(42, "char", "_pad8[1]", "System.Char[]", 1, false, 911)] + [DNAFieldAttribute(1, "char", 42, "_pad8[1]", "System.Char[]", false, 911)] public char[] _pad8 = new System.Char[1]; - [DNAFieldAttribute(43, "float", "rot_angle", "float", 4, false, 912)] + [DNAFieldAttribute(4, "float", 43, "rot_angle", "float", false, 912)] public float rot_angle; - [DNAFieldAttribute(44, "float", "rot_axis[3]", "System.Single[]", 12, false, 916)] + [DNAFieldAttribute(12, "float", 44, "rot_axis[3]", "System.Single[]", false, 916)] public float[] rot_axis = new System.Single[3]; public RegionView3D() { this.winmat = default; @@ -116,11 +116,11 @@ namespace BlendFile.DNA { 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.clipbb = default; + this.localvd = default; + this.view_render = default; + this.sms = default; + this.smooth_timer = default; this.twmat = default; this.tw_axis_min = default; this.tw_axis_max = default; @@ -163,11 +163,11 @@ namespace BlendFile.DNA { float[,] persmatob, float[,] clip, float[,] clip_local, - BoundBox ptr_clipbb, - RegionView3D ptr_localvd, - ViewRender ptr_view_render, - SmoothView3DStore ptr_sms, - wmTimer ptr_smooth_timer, + BoundBox clipbb, + RegionView3D localvd, + ViewRender view_render, + SmoothView3DStore sms, + wmTimer smooth_timer, float[,] twmat, float[] tw_axis_min, float[] tw_axis_max, @@ -208,11 +208,11 @@ namespace BlendFile.DNA { this.persmatob = persmatob; this.clip = clip; this.clip_local = clip_local; - this.ptr_clipbb = ptr_clipbb; - this.ptr_localvd = ptr_localvd; - this.ptr_view_render = ptr_view_render; - this.ptr_sms = ptr_sms; - this.ptr_smooth_timer = ptr_smooth_timer; + this.clipbb = clipbb; + this.localvd = localvd; + this.view_render = view_render; + this.sms = sms; + this.smooth_timer = smooth_timer; this.twmat = twmat; this.tw_axis_min = tw_axis_min; this.tw_axis_max = tw_axis_max; diff --git a/BlendFile/DNA/RemeshModifierData.cs b/BlendFile/DNA/RemeshModifierData.cs index 2dc1a85..6f48a4f 100644 --- a/BlendFile/DNA/RemeshModifierData.cs +++ b/BlendFile/DNA/RemeshModifierData.cs @@ -14,26 +14,26 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(496, "RemeshModifierData", 144)] - public struct RemeshModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class RemeshModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "threshold", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "threshold", "float", false, 120)] public float threshold; - [DNAFieldAttribute(2, "float", "scale", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 2, "scale", "float", false, 124)] public float scale; - [DNAFieldAttribute(3, "float", "hermite_num", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 3, "hermite_num", "float", false, 128)] public float hermite_num; - [DNAFieldAttribute(4, "char", "depth", "char", 1, false, 132)] + [DNAFieldAttribute(1, "char", 4, "depth", "char", false, 132)] public char depth; - [DNAFieldAttribute(5, "char", "flag", "char", 1, false, 133)] + [DNAFieldAttribute(1, "char", 5, "flag", "char", false, 133)] public char flag; - [DNAFieldAttribute(6, "char", "mode", "char", 1, false, 134)] + [DNAFieldAttribute(1, "char", 6, "mode", "char", false, 134)] public char mode; - [DNAFieldAttribute(7, "char", "_pad", "char", 1, false, 135)] + [DNAFieldAttribute(1, "char", 7, "_pad", "char", false, 135)] public char _pad; - [DNAFieldAttribute(8, "float", "voxel_size", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 8, "voxel_size", "float", false, 136)] public float voxel_size; - [DNAFieldAttribute(9, "float", "adaptivity", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 9, "adaptivity", "float", false, 140)] public float adaptivity; public RemeshModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/RenderData.cs b/BlendFile/DNA/RenderData.cs index 072d678..ee8bb34 100644 --- a/BlendFile/DNA/RenderData.cs +++ b/BlendFile/DNA/RenderData.cs @@ -15,185 +15,185 @@ namespace BlendFile.DNA { [DNAClassAttribute(802, "RenderData", 4376)] public class RenderData { - [DNAFieldAttribute(0, "ImageFormatData", "im_format", "ImageFormatData", 336, false, 0)] + [DNAFieldAttribute(336, "ImageFormatData", 0, "im_format", "ImageFormatData", false, 0)] public ImageFormatData im_format; - [DNAFieldAttribute(1, "void", "*_pad", "void", 8, true, 336)] - public object ptr__pad; - [DNAFieldAttribute(2, "FFMpegCodecData", "ffcodecdata", "FFMpegCodecData", 80, false, 344)] + [DNAFieldAttribute(8, "void", 1, "*_pad", "void", true, 336)] + public object _pad; + [DNAFieldAttribute(80, "FFMpegCodecData", 2, "ffcodecdata", "FFMpegCodecData", false, 344)] public FFMpegCodecData ffcodecdata; - [DNAFieldAttribute(3, "int", "cfra", "int", 4, false, 424)] + [DNAFieldAttribute(4, "int", 3, "cfra", "int", false, 424)] public int cfra; - [DNAFieldAttribute(4, "int", "sfra", "int", 4, false, 428)] + [DNAFieldAttribute(4, "int", 4, "sfra", "int", false, 428)] public int sfra; - [DNAFieldAttribute(5, "int", "efra", "int", 4, false, 432)] + [DNAFieldAttribute(4, "int", 5, "efra", "int", false, 432)] public int efra; - [DNAFieldAttribute(6, "float", "subframe", "float", 4, false, 436)] + [DNAFieldAttribute(4, "float", 6, "subframe", "float", false, 436)] public float subframe; - [DNAFieldAttribute(7, "int", "psfra", "int", 4, false, 440)] + [DNAFieldAttribute(4, "int", 7, "psfra", "int", false, 440)] public int psfra; - [DNAFieldAttribute(8, "int", "pefra", "int", 4, false, 444)] + [DNAFieldAttribute(4, "int", 8, "pefra", "int", false, 444)] public int pefra; - [DNAFieldAttribute(9, "int", "images", "int", 4, false, 448)] + [DNAFieldAttribute(4, "int", 9, "images", "int", false, 448)] public int images; - [DNAFieldAttribute(10, "int", "framapto", "int", 4, false, 452)] + [DNAFieldAttribute(4, "int", 10, "framapto", "int", false, 452)] public int framapto; - [DNAFieldAttribute(11, "short", "flag", "short", 2, false, 456)] + [DNAFieldAttribute(2, "short", 11, "flag", "short", false, 456)] public short flag; - [DNAFieldAttribute(12, "short", "threads", "short", 2, false, 458)] + [DNAFieldAttribute(2, "short", 12, "threads", "short", false, 458)] public short threads; - [DNAFieldAttribute(13, "float", "framelen", "float", 4, false, 460)] + [DNAFieldAttribute(4, "float", 13, "framelen", "float", false, 460)] public float framelen; - [DNAFieldAttribute(14, "int", "frame_step", "int", 4, false, 464)] + [DNAFieldAttribute(4, "int", 14, "frame_step", "int", false, 464)] public int frame_step; - [DNAFieldAttribute(15, "short", "dimensionspreset", "short", 2, false, 468)] + [DNAFieldAttribute(2, "short", 15, "dimensionspreset", "short", false, 468)] public short dimensionspreset; - [DNAFieldAttribute(16, "short", "size", "short", 2, false, 470)] + [DNAFieldAttribute(2, "short", 16, "size", "short", false, 470)] public short size; - [DNAFieldAttribute(17, "int", "xsch", "int", 4, false, 472)] + [DNAFieldAttribute(4, "int", 17, "xsch", "int", false, 472)] public int xsch; - [DNAFieldAttribute(18, "int", "ysch", "int", 4, false, 476)] + [DNAFieldAttribute(4, "int", 18, "ysch", "int", false, 476)] public int ysch; - [DNAFieldAttribute(19, "int", "tilex", "int", 4, false, 480)] + [DNAFieldAttribute(4, "int", 19, "tilex", "int", false, 480)] public int tilex; - [DNAFieldAttribute(20, "int", "tiley", "int", 4, false, 484)] + [DNAFieldAttribute(4, "int", 20, "tiley", "int", false, 484)] public int tiley; - [DNAFieldAttribute(21, "short", "planes", "short", 2, false, 488)] + [DNAFieldAttribute(2, "short", 21, "planes", "short", false, 488)] public short planes; - [DNAFieldAttribute(22, "short", "imtype", "short", 2, false, 490)] + [DNAFieldAttribute(2, "short", 22, "imtype", "short", false, 490)] public short imtype; - [DNAFieldAttribute(23, "short", "subimtype", "short", 2, false, 492)] + [DNAFieldAttribute(2, "short", 23, "subimtype", "short", false, 492)] public short subimtype; - [DNAFieldAttribute(24, "short", "quality", "short", 2, false, 494)] + [DNAFieldAttribute(2, "short", 24, "quality", "short", false, 494)] public short quality; - [DNAFieldAttribute(25, "char", "use_lock_interface", "char", 1, false, 496)] + [DNAFieldAttribute(1, "char", 25, "use_lock_interface", "char", false, 496)] public char use_lock_interface; - [DNAFieldAttribute(26, "char", "_pad7[3]", "System.Char[]", 3, false, 497)] + [DNAFieldAttribute(3, "char", 26, "_pad7[3]", "System.Char[]", false, 497)] public char[] _pad7 = new System.Char[3]; - [DNAFieldAttribute(27, "int", "scemode", "int", 4, false, 500)] + [DNAFieldAttribute(4, "int", 27, "scemode", "int", false, 500)] public int scemode; - [DNAFieldAttribute(28, "int", "mode", "int", 4, false, 504)] + [DNAFieldAttribute(4, "int", 28, "mode", "int", false, 504)] public int mode; - [DNAFieldAttribute(29, "short", "frs_sec", "short", 2, false, 508)] + [DNAFieldAttribute(2, "short", 29, "frs_sec", "short", false, 508)] public short frs_sec; - [DNAFieldAttribute(30, "char", "alphamode", "char", 1, false, 510)] + [DNAFieldAttribute(1, "char", 30, "alphamode", "char", false, 510)] public char alphamode; - [DNAFieldAttribute(31, "char", "_pad0[1]", "System.Char[]", 1, false, 511)] + [DNAFieldAttribute(1, "char", 31, "_pad0[1]", "System.Char[]", false, 511)] public char[] _pad0 = new System.Char[1]; - [DNAFieldAttribute(32, "rctf", "border", "rctf", 16, false, 512)] + [DNAFieldAttribute(16, "rctf", 32, "border", "rctf", false, 512)] public rctf border; - [DNAFieldAttribute(33, "ListBase", "layers", "ListBase", 16, false, 528)] + [DNAFieldAttribute(16, "ListBase", 33, "layers", "ListBase", false, 528)] public ListBase layers; - [DNAFieldAttribute(34, "short", "actlay", "short", 2, false, 544)] + [DNAFieldAttribute(2, "short", 34, "actlay", "short", false, 544)] public short actlay; - [DNAFieldAttribute(35, "char", "_pad1[2]", "System.Char[]", 2, false, 546)] + [DNAFieldAttribute(2, "char", 35, "_pad1[2]", "System.Char[]", false, 546)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(36, "float", "xasp", "float", 4, false, 548)] + [DNAFieldAttribute(4, "float", 36, "xasp", "float", false, 548)] public float xasp; - [DNAFieldAttribute(37, "float", "yasp", "float", 4, false, 552)] + [DNAFieldAttribute(4, "float", 37, "yasp", "float", false, 552)] public float yasp; - [DNAFieldAttribute(38, "float", "frs_sec_base", "float", 4, false, 556)] + [DNAFieldAttribute(4, "float", 38, "frs_sec_base", "float", false, 556)] public float frs_sec_base; - [DNAFieldAttribute(39, "float", "gauss", "float", 4, false, 560)] + [DNAFieldAttribute(4, "float", 39, "gauss", "float", false, 560)] public float gauss; - [DNAFieldAttribute(40, "int", "color_mgt_flag", "int", 4, false, 564)] + [DNAFieldAttribute(4, "int", 40, "color_mgt_flag", "int", false, 564)] public int color_mgt_flag; - [DNAFieldAttribute(41, "float", "dither_intensity", "float", 4, false, 568)] + [DNAFieldAttribute(4, "float", 41, "dither_intensity", "float", false, 568)] public float dither_intensity; - [DNAFieldAttribute(42, "short", "bake_mode", "short", 2, false, 572)] + [DNAFieldAttribute(2, "short", 42, "bake_mode", "short", false, 572)] public short bake_mode; - [DNAFieldAttribute(43, "short", "bake_flag", "short", 2, false, 574)] + [DNAFieldAttribute(2, "short", 43, "bake_flag", "short", false, 574)] public short bake_flag; - [DNAFieldAttribute(44, "short", "bake_filter", "short", 2, false, 576)] + [DNAFieldAttribute(2, "short", 44, "bake_filter", "short", false, 576)] public short bake_filter; - [DNAFieldAttribute(45, "short", "bake_samples", "short", 2, false, 578)] + [DNAFieldAttribute(2, "short", 45, "bake_samples", "short", false, 578)] public short bake_samples; - [DNAFieldAttribute(46, "short", "bake_margin_type", "short", 2, false, 580)] + [DNAFieldAttribute(2, "short", 46, "bake_margin_type", "short", false, 580)] public short bake_margin_type; - [DNAFieldAttribute(47, "char", "_pad9[6]", "System.Char[]", 6, false, 582)] + [DNAFieldAttribute(6, "char", 47, "_pad9[6]", "System.Char[]", false, 582)] public char[] _pad9 = new System.Char[6]; - [DNAFieldAttribute(48, "float", "bake_biasdist", "float", 4, false, 588)] + [DNAFieldAttribute(4, "float", 48, "bake_biasdist", "float", false, 588)] public float bake_biasdist; - [DNAFieldAttribute(49, "float", "bake_user_scale", "float", 4, false, 592)] + [DNAFieldAttribute(4, "float", 49, "bake_user_scale", "float", false, 592)] public float bake_user_scale; - [DNAFieldAttribute(50, "char", "pic[1024]", "System.Char[]", 1024, false, 596)] + [DNAFieldAttribute(1024, "char", 50, "pic[1024]", "System.Char[]", false, 596)] public char[] pic = new System.Char[1024]; - [DNAFieldAttribute(51, "int", "stamp", "int", 4, false, 1620)] + [DNAFieldAttribute(4, "int", 51, "stamp", "int", false, 1620)] public int stamp; - [DNAFieldAttribute(52, "short", "stamp_font_id", "short", 2, false, 1624)] + [DNAFieldAttribute(2, "short", 52, "stamp_font_id", "short", false, 1624)] public short stamp_font_id; - [DNAFieldAttribute(53, "char", "_pad3[2]", "System.Char[]", 2, false, 1626)] + [DNAFieldAttribute(2, "char", 53, "_pad3[2]", "System.Char[]", false, 1626)] public char[] _pad3 = new System.Char[2]; - [DNAFieldAttribute(54, "char", "stamp_udata[768]", "System.Char[]", 768, false, 1628)] + [DNAFieldAttribute(768, "char", 54, "stamp_udata[768]", "System.Char[]", false, 1628)] public char[] stamp_udata = new System.Char[768]; - [DNAFieldAttribute(55, "float", "fg_stamp[4]", "System.Single[]", 16, false, 2396)] + [DNAFieldAttribute(16, "float", 55, "fg_stamp[4]", "System.Single[]", false, 2396)] public float[] fg_stamp = new System.Single[4]; - [DNAFieldAttribute(56, "float", "bg_stamp[4]", "System.Single[]", 16, false, 2412)] + [DNAFieldAttribute(16, "float", 56, "bg_stamp[4]", "System.Single[]", false, 2412)] public float[] bg_stamp = new System.Single[4]; - [DNAFieldAttribute(57, "char", "seq_prev_type", "char", 1, false, 2428)] + [DNAFieldAttribute(1, "char", 57, "seq_prev_type", "char", false, 2428)] public char seq_prev_type; - [DNAFieldAttribute(58, "char", "seq_rend_type", "char", 1, false, 2429)] + [DNAFieldAttribute(1, "char", 58, "seq_rend_type", "char", false, 2429)] public char seq_rend_type; - [DNAFieldAttribute(59, "char", "seq_flag", "char", 1, false, 2430)] + [DNAFieldAttribute(1, "char", 59, "seq_flag", "char", false, 2430)] public char seq_flag; - [DNAFieldAttribute(60, "char", "_pad5[3]", "System.Char[]", 3, false, 2431)] + [DNAFieldAttribute(3, "char", 60, "_pad5[3]", "System.Char[]", false, 2431)] public char[] _pad5 = new System.Char[3]; - [DNAFieldAttribute(61, "short", "simplify_subsurf", "short", 2, false, 2434)] + [DNAFieldAttribute(2, "short", 61, "simplify_subsurf", "short", false, 2434)] public short simplify_subsurf; - [DNAFieldAttribute(62, "short", "simplify_subsurf_render", "short", 2, false, 2436)] + [DNAFieldAttribute(2, "short", 62, "simplify_subsurf_render", "short", false, 2436)] public short simplify_subsurf_render; - [DNAFieldAttribute(63, "short", "simplify_gpencil", "short", 2, false, 2438)] + [DNAFieldAttribute(2, "short", 63, "simplify_gpencil", "short", false, 2438)] public short simplify_gpencil; - [DNAFieldAttribute(64, "float", "simplify_particles", "float", 4, false, 2440)] + [DNAFieldAttribute(4, "float", 64, "simplify_particles", "float", false, 2440)] public float simplify_particles; - [DNAFieldAttribute(65, "float", "simplify_particles_render", "float", 4, false, 2444)] + [DNAFieldAttribute(4, "float", 65, "simplify_particles_render", "float", false, 2444)] public float simplify_particles_render; - [DNAFieldAttribute(66, "float", "simplify_volumes", "float", 4, false, 2448)] + [DNAFieldAttribute(4, "float", 66, "simplify_volumes", "float", false, 2448)] public float simplify_volumes; - [DNAFieldAttribute(67, "int", "line_thickness_mode", "int", 4, false, 2452)] + [DNAFieldAttribute(4, "int", 67, "line_thickness_mode", "int", false, 2452)] public int line_thickness_mode; - [DNAFieldAttribute(68, "float", "unit_line_thickness", "float", 4, false, 2456)] + [DNAFieldAttribute(4, "float", 68, "unit_line_thickness", "float", false, 2456)] public float unit_line_thickness; - [DNAFieldAttribute(69, "char", "engine[32]", "System.Char[]", 32, false, 2460)] + [DNAFieldAttribute(32, "char", 69, "engine[32]", "System.Char[]", false, 2460)] public char[] engine = new System.Char[32]; - [DNAFieldAttribute(70, "char", "_pad2[2]", "System.Char[]", 2, false, 2492)] + [DNAFieldAttribute(2, "char", 70, "_pad2[2]", "System.Char[]", false, 2492)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(71, "short", "perf_flag", "short", 2, false, 2494)] + [DNAFieldAttribute(2, "short", 71, "perf_flag", "short", false, 2494)] public short perf_flag; - [DNAFieldAttribute(72, "BakeData", "bake", "BakeData", 1400, false, 2496)] + [DNAFieldAttribute(1400, "BakeData", 72, "bake", "BakeData", false, 2496)] public BakeData bake; - [DNAFieldAttribute(73, "int", "_pad8", "int", 4, false, 3896)] + [DNAFieldAttribute(4, "int", 73, "_pad8", "int", false, 3896)] public int _pad8; - [DNAFieldAttribute(74, "short", "preview_pixel_size", "short", 2, false, 3900)] + [DNAFieldAttribute(2, "short", 74, "preview_pixel_size", "short", false, 3900)] public short preview_pixel_size; - [DNAFieldAttribute(75, "short", "_pad4", "short", 2, false, 3902)] + [DNAFieldAttribute(2, "short", 75, "_pad4", "short", false, 3902)] public short _pad4; - [DNAFieldAttribute(76, "ListBase", "views", "ListBase", 16, false, 3904)] + [DNAFieldAttribute(16, "ListBase", 76, "views", "ListBase", false, 3904)] public ListBase views; - [DNAFieldAttribute(77, "short", "actview", "short", 2, false, 3920)] + [DNAFieldAttribute(2, "short", 77, "actview", "short", false, 3920)] public short actview; - [DNAFieldAttribute(78, "short", "views_format", "short", 2, false, 3922)] + [DNAFieldAttribute(2, "short", 78, "views_format", "short", false, 3922)] public short views_format; - [DNAFieldAttribute(79, "short", "hair_type", "short", 2, false, 3924)] + [DNAFieldAttribute(2, "short", 79, "hair_type", "short", false, 3924)] public short hair_type; - [DNAFieldAttribute(80, "short", "hair_subdiv", "short", 2, false, 3926)] + [DNAFieldAttribute(2, "short", 80, "hair_subdiv", "short", false, 3926)] public short hair_subdiv; - [DNAFieldAttribute(81, "float", "blurfac", "float", 4, false, 3928)] + [DNAFieldAttribute(4, "float", 81, "blurfac", "float", false, 3928)] public float blurfac; - [DNAFieldAttribute(82, "int", "motion_blur_position", "int", 4, false, 3932)] + [DNAFieldAttribute(4, "int", 82, "motion_blur_position", "int", false, 3932)] public int motion_blur_position; - [DNAFieldAttribute(83, "CurveMapping", "mblur_shutter_curve", "CurveMapping", 424, false, 3936)] + [DNAFieldAttribute(424, "CurveMapping", 83, "mblur_shutter_curve", "CurveMapping", false, 3936)] public CurveMapping mblur_shutter_curve; - [DNAFieldAttribute(84, "int", "compositor_device", "int", 4, false, 4360)] + [DNAFieldAttribute(4, "int", 84, "compositor_device", "int", false, 4360)] public int compositor_device; - [DNAFieldAttribute(85, "int", "compositor_precision", "int", 4, false, 4364)] + [DNAFieldAttribute(4, "int", 85, "compositor_precision", "int", false, 4364)] public int compositor_precision; - [DNAFieldAttribute(86, "char", "use_old_cpu_compositor", "char", 1, false, 4368)] + [DNAFieldAttribute(1, "char", 86, "use_old_cpu_compositor", "char", false, 4368)] public char use_old_cpu_compositor; - [DNAFieldAttribute(87, "char", "_pad10[7]", "System.Char[]", 7, false, 4369)] + [DNAFieldAttribute(7, "char", 87, "_pad10[7]", "System.Char[]", false, 4369)] public char[] _pad10 = new System.Char[7]; public RenderData() { this.im_format = default; - this.ptr__pad = default; + this._pad = default; this.ffcodecdata = default; this.cfra = default; this.sfra = default; @@ -283,7 +283,7 @@ namespace BlendFile.DNA { } public RenderData( ImageFormatData im_format, - object ptr__pad, + object _pad, FFMpegCodecData ffcodecdata, int cfra, int sfra, @@ -371,7 +371,7 @@ namespace BlendFile.DNA { char use_old_cpu_compositor, char[] _pad10) { this.im_format = im_format; - this.ptr__pad = ptr__pad; + this._pad = _pad; this.ffcodecdata = ffcodecdata; this.cfra = cfra; this.sfra = sfra; diff --git a/BlendFile/DNA/RenderSlot.cs b/BlendFile/DNA/RenderSlot.cs index 30a4a19..d08004e 100644 --- a/BlendFile/DNA/RenderSlot.cs +++ b/BlendFile/DNA/RenderSlot.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(326, "RenderSlot", 88)] public class RenderSlot { - [DNAFieldAttribute(0, "RenderSlot", "*next", "RenderSlot", 8, true, 0)] - public RenderSlot ptr_next; - [DNAFieldAttribute(1, "RenderSlot", "*prev", "RenderSlot", 8, true, 8)] - public RenderSlot ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "RenderSlot", 0, "*next", "RenderSlot", true, 0)] + public RenderSlot next; + [DNAFieldAttribute(8, "RenderSlot", 1, "*prev", "RenderSlot", true, 8)] + public RenderSlot prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "RenderResult", "*render", "RenderResult", 8, true, 80)] - public RenderResult ptr_render; + [DNAFieldAttribute(8, "RenderResult", 3, "*render", "RenderResult", true, 80)] + public RenderResult render; public RenderSlot() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; - this.ptr_render = default; + this.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; + public RenderSlot(RenderSlot next, RenderSlot prev, char[] name, RenderResult render) { + this.next = next; + this.prev = prev; this.name = name; - this.ptr_render = ptr_render; + this.render = render; } } } diff --git a/BlendFile/DNA/RepeatZoneViewerPathElem.cs b/BlendFile/DNA/RepeatZoneViewerPathElem.cs index 59c73ce..1ecb9db 100644 --- a/BlendFile/DNA/RepeatZoneViewerPathElem.cs +++ b/BlendFile/DNA/RepeatZoneViewerPathElem.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1035, "RepeatZoneViewerPathElem", 40)] - public struct RepeatZoneViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + public class RepeatZoneViewerPathElem { + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "int", "repeat_output_node_id", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 1, "repeat_output_node_id", "int", false, 32)] public int repeat_output_node_id; - [DNAFieldAttribute(2, "int", "iteration", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 2, "iteration", "int", false, 36)] public int iteration; public RepeatZoneViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/ReportList.cs b/BlendFile/DNA/ReportList.cs index 519484b..109a4ca 100644 --- a/BlendFile/DNA/ReportList.cs +++ b/BlendFile/DNA/ReportList.cs @@ -13,39 +13,35 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(1042, "ReportList", 48)] + [DNAClassAttribute(1042, "ReportList", 32)] public class ReportList { - [DNAFieldAttribute(0, "ListBase", "list", "ListBase", 16, false, 0)] - public ListBase list; - [DNAFieldAttribute(1, "int", "printlevel", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 1, "printlevel", "int", false, 0)] public int printlevel; - [DNAFieldAttribute(2, "int", "storelevel", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 2, "storelevel", "int", false, 4)] public int storelevel; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "wmTimer", "*reporttimer", "wmTimer", 8, true, 32)] - public wmTimer ptr_reporttimer; - [DNAFieldAttribute(6, "std_mutex_type", "*lock", "std_mutex_type", 8, true, 40)] - public std_mutex_type ptr_lock; + [DNAFieldAttribute(8, "wmTimer", 5, "*reporttimer", "wmTimer", true, 16)] + public wmTimer reporttimer; + [DNAFieldAttribute(8, "std_mutex_type", 6, "*lock", "std_mutex_type", true, 24)] + public std_mutex_type @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; + this.reporttimer = default; + this.@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; + public ReportList(int printlevel, int storelevel, int flag, char[] _pad, wmTimer reporttimer, std_mutex_type @lock) { this.printlevel = printlevel; this.storelevel = storelevel; this.flag = flag; this._pad = _pad; - this.ptr_reporttimer = ptr_reporttimer; - this.ptr_lock = ptr_lock; + this.reporttimer = reporttimer; + this.@lock = @lock; } } } diff --git a/BlendFile/DNA/RigidBodyCon.cs b/BlendFile/DNA/RigidBodyCon.cs index f46cd99..0c79b26 100644 --- a/BlendFile/DNA/RigidBodyCon.cs +++ b/BlendFile/DNA/RigidBodyCon.cs @@ -15,83 +15,83 @@ namespace BlendFile.DNA { [DNAClassAttribute(771, "RigidBodyCon", 152)] public class RigidBodyCon { - [DNAFieldAttribute(0, "Object", "*ob1", "Object", 8, true, 0)] - public Object ptr_ob1; - [DNAFieldAttribute(1, "Object", "*ob2", "Object", 8, true, 8)] - public Object ptr_ob2; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "Object", 0, "*ob1", "Object", true, 0)] + public Object ob1; + [DNAFieldAttribute(8, "Object", 1, "*ob2", "Object", true, 8)] + public Object ob2; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "num_solver_iterations", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "num_solver_iterations", "short", false, 18)] public short num_solver_iterations; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 20)] public int flag; - [DNAFieldAttribute(5, "float", "breaking_threshold", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 5, "breaking_threshold", "float", false, 24)] public float breaking_threshold; - [DNAFieldAttribute(6, "char", "spring_type", "char", 1, false, 28)] + [DNAFieldAttribute(1, "char", 6, "spring_type", "char", false, 28)] public char spring_type; - [DNAFieldAttribute(7, "char", "_pad[3]", "System.Char[]", 3, false, 29)] + [DNAFieldAttribute(3, "char", 7, "_pad[3]", "System.Char[]", false, 29)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(8, "float", "limit_lin_x_lower", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "limit_lin_x_lower", "float", false, 32)] public float limit_lin_x_lower; - [DNAFieldAttribute(9, "float", "limit_lin_x_upper", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "limit_lin_x_upper", "float", false, 36)] public float limit_lin_x_upper; - [DNAFieldAttribute(10, "float", "limit_lin_y_lower", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "limit_lin_y_lower", "float", false, 40)] public float limit_lin_y_lower; - [DNAFieldAttribute(11, "float", "limit_lin_y_upper", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "limit_lin_y_upper", "float", false, 44)] public float limit_lin_y_upper; - [DNAFieldAttribute(12, "float", "limit_lin_z_lower", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 12, "limit_lin_z_lower", "float", false, 48)] public float limit_lin_z_lower; - [DNAFieldAttribute(13, "float", "limit_lin_z_upper", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 13, "limit_lin_z_upper", "float", false, 52)] public float limit_lin_z_upper; - [DNAFieldAttribute(14, "float", "limit_ang_x_lower", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 14, "limit_ang_x_lower", "float", false, 56)] public float limit_ang_x_lower; - [DNAFieldAttribute(15, "float", "limit_ang_x_upper", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 15, "limit_ang_x_upper", "float", false, 60)] public float limit_ang_x_upper; - [DNAFieldAttribute(16, "float", "limit_ang_y_lower", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 16, "limit_ang_y_lower", "float", false, 64)] public float limit_ang_y_lower; - [DNAFieldAttribute(17, "float", "limit_ang_y_upper", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 17, "limit_ang_y_upper", "float", false, 68)] public float limit_ang_y_upper; - [DNAFieldAttribute(18, "float", "limit_ang_z_lower", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 18, "limit_ang_z_lower", "float", false, 72)] public float limit_ang_z_lower; - [DNAFieldAttribute(19, "float", "limit_ang_z_upper", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 19, "limit_ang_z_upper", "float", false, 76)] public float limit_ang_z_upper; - [DNAFieldAttribute(20, "float", "spring_stiffness_x", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 20, "spring_stiffness_x", "float", false, 80)] public float spring_stiffness_x; - [DNAFieldAttribute(21, "float", "spring_stiffness_y", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 21, "spring_stiffness_y", "float", false, 84)] public float spring_stiffness_y; - [DNAFieldAttribute(22, "float", "spring_stiffness_z", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 22, "spring_stiffness_z", "float", false, 88)] public float spring_stiffness_z; - [DNAFieldAttribute(23, "float", "spring_stiffness_ang_x", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 23, "spring_stiffness_ang_x", "float", false, 92)] public float spring_stiffness_ang_x; - [DNAFieldAttribute(24, "float", "spring_stiffness_ang_y", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 24, "spring_stiffness_ang_y", "float", false, 96)] public float spring_stiffness_ang_y; - [DNAFieldAttribute(25, "float", "spring_stiffness_ang_z", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 25, "spring_stiffness_ang_z", "float", false, 100)] public float spring_stiffness_ang_z; - [DNAFieldAttribute(26, "float", "spring_damping_x", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 26, "spring_damping_x", "float", false, 104)] public float spring_damping_x; - [DNAFieldAttribute(27, "float", "spring_damping_y", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 27, "spring_damping_y", "float", false, 108)] public float spring_damping_y; - [DNAFieldAttribute(28, "float", "spring_damping_z", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 28, "spring_damping_z", "float", false, 112)] public float spring_damping_z; - [DNAFieldAttribute(29, "float", "spring_damping_ang_x", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 29, "spring_damping_ang_x", "float", false, 116)] public float spring_damping_ang_x; - [DNAFieldAttribute(30, "float", "spring_damping_ang_y", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 30, "spring_damping_ang_y", "float", false, 120)] public float spring_damping_ang_y; - [DNAFieldAttribute(31, "float", "spring_damping_ang_z", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 31, "spring_damping_ang_z", "float", false, 124)] public float spring_damping_ang_z; - [DNAFieldAttribute(32, "float", "motor_lin_target_velocity", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 32, "motor_lin_target_velocity", "float", false, 128)] public float motor_lin_target_velocity; - [DNAFieldAttribute(33, "float", "motor_ang_target_velocity", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 33, "motor_ang_target_velocity", "float", false, 132)] public float motor_ang_target_velocity; - [DNAFieldAttribute(34, "float", "motor_lin_max_impulse", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 34, "motor_lin_max_impulse", "float", false, 136)] public float motor_lin_max_impulse; - [DNAFieldAttribute(35, "float", "motor_ang_max_impulse", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 35, "motor_ang_max_impulse", "float", false, 140)] public float motor_ang_max_impulse; - [DNAFieldAttribute(36, "void", "*physics_constraint", "void", 8, true, 144)] - public object ptr_physics_constraint; + [DNAFieldAttribute(8, "void", 36, "*physics_constraint", "void", true, 144)] + public object physics_constraint; public RigidBodyCon() { - this.ptr_ob1 = default; - this.ptr_ob2 = default; + this.ob1 = default; + this.ob2 = default; this.type = default; this.num_solver_iterations = default; this.flag = default; @@ -126,11 +126,11 @@ namespace BlendFile.DNA { this.motor_ang_target_velocity = default; this.motor_lin_max_impulse = default; this.motor_ang_max_impulse = default; - this.ptr_physics_constraint = default; + this.physics_constraint = default; } public RigidBodyCon( - Object ptr_ob1, - Object ptr_ob2, + Object ob1, + Object ob2, short type, short num_solver_iterations, int flag, @@ -165,9 +165,9 @@ namespace BlendFile.DNA { float motor_ang_target_velocity, float motor_lin_max_impulse, float motor_ang_max_impulse, - object ptr_physics_constraint) { - this.ptr_ob1 = ptr_ob1; - this.ptr_ob2 = ptr_ob2; + object physics_constraint) { + this.ob1 = ob1; + this.ob2 = ob2; this.type = type; this.num_solver_iterations = num_solver_iterations; this.flag = flag; @@ -202,7 +202,7 @@ namespace BlendFile.DNA { this.motor_ang_target_velocity = motor_ang_target_velocity; this.motor_lin_max_impulse = motor_lin_max_impulse; this.motor_ang_max_impulse = motor_ang_max_impulse; - this.ptr_physics_constraint = ptr_physics_constraint; + this.physics_constraint = physics_constraint; } } } diff --git a/BlendFile/DNA/RigidBodyOb.cs b/BlendFile/DNA/RigidBodyOb.cs index fa3b9a1..1eadca8 100644 --- a/BlendFile/DNA/RigidBodyOb.cs +++ b/BlendFile/DNA/RigidBodyOb.cs @@ -15,42 +15,42 @@ namespace BlendFile.DNA { [DNAClassAttribute(770, "RigidBodyOb", 88)] public class RigidBodyOb { - [DNAFieldAttribute(0, "short", "type", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "type", "short", false, 0)] public short type; - [DNAFieldAttribute(1, "short", "shape", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "shape", "short", false, 2)] public short shape; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 4)] public int flag; - [DNAFieldAttribute(3, "int", "col_groups", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 3, "col_groups", "int", false, 8)] public int col_groups; - [DNAFieldAttribute(4, "short", "mesh_source", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 4, "mesh_source", "short", false, 12)] public short mesh_source; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 14)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(6, "float", "mass", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 6, "mass", "float", false, 16)] public float mass; - [DNAFieldAttribute(7, "float", "friction", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 7, "friction", "float", false, 20)] public float friction; - [DNAFieldAttribute(8, "float", "restitution", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 8, "restitution", "float", false, 24)] public float restitution; - [DNAFieldAttribute(9, "float", "margin", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 9, "margin", "float", false, 28)] public float margin; - [DNAFieldAttribute(10, "float", "lin_damping", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 10, "lin_damping", "float", false, 32)] public float lin_damping; - [DNAFieldAttribute(11, "float", "ang_damping", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 11, "ang_damping", "float", false, 36)] public float ang_damping; - [DNAFieldAttribute(12, "float", "lin_sleep_thresh", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 12, "lin_sleep_thresh", "float", false, 40)] public float lin_sleep_thresh; - [DNAFieldAttribute(13, "float", "ang_sleep_thresh", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 13, "ang_sleep_thresh", "float", false, 44)] public float ang_sleep_thresh; - [DNAFieldAttribute(14, "float", "orn[4]", "System.Single[]", 16, false, 48)] + [DNAFieldAttribute(16, "float", 14, "orn[4]", "System.Single[]", false, 48)] public float[] orn = new System.Single[4]; - [DNAFieldAttribute(15, "float", "pos[3]", "System.Single[]", 12, false, 64)] + [DNAFieldAttribute(12, "float", 15, "pos[3]", "System.Single[]", false, 64)] public float[] pos = new System.Single[3]; - [DNAFieldAttribute(16, "char", "_pad1[4]", "System.Char[]", 4, false, 76)] + [DNAFieldAttribute(4, "char", 16, "_pad1[4]", "System.Char[]", false, 76)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(17, "RigidBodyOb_Shared", "*shared", "RigidBodyOb_Shared", 8, true, 80)] - public RigidBodyOb_Shared ptr_shared; + [DNAFieldAttribute(8, "RigidBodyOb_Shared", 17, "*shared", "RigidBodyOb_Shared", true, 80)] + public RigidBodyOb_Shared shared; public RigidBodyOb() { this.type = default; this.shape = default; @@ -69,7 +69,7 @@ namespace BlendFile.DNA { this.orn = default; this.pos = default; this._pad1 = default; - this.ptr_shared = default; + this.shared = default; } public RigidBodyOb( short type, @@ -89,7 +89,7 @@ namespace BlendFile.DNA { float[] orn, float[] pos, char[] _pad1, - RigidBodyOb_Shared ptr_shared) { + RigidBodyOb_Shared shared) { this.type = type; this.shape = shape; this.flag = flag; @@ -107,7 +107,7 @@ namespace BlendFile.DNA { this.orn = orn; this.pos = pos; this._pad1 = _pad1; - this.ptr_shared = ptr_shared; + this.shared = shared; } } } diff --git a/BlendFile/DNA/RigidBodyWorld.cs b/BlendFile/DNA/RigidBodyWorld.cs index 4f16e93..300bdd1 100644 --- a/BlendFile/DNA/RigidBodyWorld.cs +++ b/BlendFile/DNA/RigidBodyWorld.cs @@ -15,43 +15,43 @@ namespace BlendFile.DNA { [DNAClassAttribute(795, "RigidBodyWorld", 88)] public class RigidBodyWorld { - [DNAFieldAttribute(0, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 0)] - public EffectorWeights ptr_effector_weights; - [DNAFieldAttribute(1, "Collection", "*group", "Collection", 8, true, 8)] - public Collection ptr_group; - [DNAFieldAttribute(2, "Object", "**objects", "Object", 8, true, 16)] - public Object ptr_ptr_objects; - [DNAFieldAttribute(3, "Collection", "*constraints", "Collection", 8, true, 24)] - public Collection ptr_constraints; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 32)] + [DNAFieldAttribute(8, "EffectorWeights", 0, "*effector_weights", "EffectorWeights", true, 0)] + public EffectorWeights effector_weights; + [DNAFieldAttribute(8, "Collection", 1, "*group", "Collection", true, 8)] + public Collection group; + [DNAFieldAttribute(8, "Object", 2, "**objects", "Object", true, 16)] + public Object objects; + [DNAFieldAttribute(8, "Collection", 3, "*constraints", "Collection", true, 24)] + public Collection constraints; + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 32)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "float", "ltime", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 5, "ltime", "float", false, 36)] public float ltime; - [DNAFieldAttribute(6, "RigidBodyWorld_Shared", "*shared", "RigidBodyWorld_Shared", 8, true, 40)] - public RigidBodyWorld_Shared ptr_shared; - [DNAFieldAttribute(7, "PointCache", "*pointcache", "PointCache", 8, true, 48)] - public PointCache ptr_pointcache; - [DNAFieldAttribute(8, "ListBase", "ptcaches", "ListBase", 16, false, 56)] + [DNAFieldAttribute(8, "RigidBodyWorld_Shared", 6, "*shared", "RigidBodyWorld_Shared", true, 40)] + public RigidBodyWorld_Shared shared; + [DNAFieldAttribute(8, "PointCache", 7, "*pointcache", "PointCache", true, 48)] + public PointCache pointcache; + [DNAFieldAttribute(16, "ListBase", 8, "ptcaches", "ListBase", false, 56)] public ListBase ptcaches; - [DNAFieldAttribute(9, "int", "numbodies", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 9, "numbodies", "int", false, 72)] public int numbodies; - [DNAFieldAttribute(10, "short", "steps_per_second", "short", 2, false, 76)] + [DNAFieldAttribute(2, "short", 10, "steps_per_second", "short", false, 76)] public short steps_per_second; - [DNAFieldAttribute(11, "short", "num_solver_iterations", "short", 2, false, 78)] + [DNAFieldAttribute(2, "short", 11, "num_solver_iterations", "short", false, 78)] public short num_solver_iterations; - [DNAFieldAttribute(12, "int", "flag", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 12, "flag", "int", false, 80)] public int flag; - [DNAFieldAttribute(13, "float", "time_scale", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 13, "time_scale", "float", false, 84)] 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.effector_weights = default; + this.group = default; + this.objects = default; + this.constraints = default; this._pad = default; this.ltime = default; - this.ptr_shared = default; - this.ptr_pointcache = default; + this.shared = default; + this.pointcache = default; this.ptcaches = default; this.numbodies = default; this.steps_per_second = default; @@ -59,15 +59,15 @@ namespace BlendFile.DNA { 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; - this.ptr_ptr_objects = ptr_ptr_objects; - this.ptr_constraints = ptr_constraints; + public RigidBodyWorld(EffectorWeights effector_weights, Collection group, Object objects, Collection constraints, char[] _pad, float ltime, RigidBodyWorld_Shared shared, PointCache pointcache, ListBase ptcaches, int numbodies, short steps_per_second, short num_solver_iterations, int flag, float time_scale) { + this.effector_weights = effector_weights; + this.group = group; + this.objects = objects; + this.constraints = constraints; this._pad = _pad; this.ltime = ltime; - this.ptr_shared = ptr_shared; - this.ptr_pointcache = ptr_pointcache; + this.shared = shared; + this.pointcache = pointcache; this.ptcaches = ptcaches; this.numbodies = numbodies; this.steps_per_second = steps_per_second; diff --git a/BlendFile/DNA/RigidBodyWorld_Shared.cs b/BlendFile/DNA/RigidBodyWorld_Shared.cs index d5f4761..613163a 100644 --- a/BlendFile/DNA/RigidBodyWorld_Shared.cs +++ b/BlendFile/DNA/RigidBodyWorld_Shared.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(794, "RigidBodyWorld_Shared", 32)] public class RigidBodyWorld_Shared { - [DNAFieldAttribute(0, "PointCache", "*pointcache", "PointCache", 8, true, 0)] - public PointCache ptr_pointcache; - [DNAFieldAttribute(1, "ListBase", "ptcaches", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "PointCache", 0, "*pointcache", "PointCache", true, 0)] + public PointCache pointcache; + [DNAFieldAttribute(16, "ListBase", 1, "ptcaches", "ListBase", false, 8)] public ListBase ptcaches; - [DNAFieldAttribute(2, "void", "*physics_world", "void", 8, true, 24)] - public object ptr_physics_world; + [DNAFieldAttribute(8, "void", 2, "*physics_world", "void", true, 24)] + public object physics_world; public RigidBodyWorld_Shared() { - this.ptr_pointcache = default; + this.pointcache = default; this.ptcaches = default; - this.ptr_physics_world = default; + this.physics_world = default; } - public RigidBodyWorld_Shared(PointCache ptr_pointcache, ListBase ptcaches, object ptr_physics_world) { - this.ptr_pointcache = ptr_pointcache; + public RigidBodyWorld_Shared(PointCache pointcache, ListBase ptcaches, object physics_world) { + this.pointcache = pointcache; this.ptcaches = ptcaches; - this.ptr_physics_world = ptr_physics_world; + this.physics_world = physics_world; } } } diff --git a/BlendFile/DNA/RimShaderFxData.cs b/BlendFile/DNA/RimShaderFxData.cs index d863d75..68a489e 100644 --- a/BlendFile/DNA/RimShaderFxData.cs +++ b/BlendFile/DNA/RimShaderFxData.cs @@ -14,26 +14,26 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(922, "RimShaderFxData", 200)] - public struct RimShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class RimShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "int", "offset[2]", "System.Int32[]", 8, false, 104)] + [DNAFieldAttribute(8, "int", 1, "offset[2]", "System.Int32[]", false, 104)] public int[] offset = new System.Int32[2]; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)] public int flag; - [DNAFieldAttribute(3, "float", "rim_rgb[3]", "System.Single[]", 12, false, 116)] + [DNAFieldAttribute(12, "float", 3, "rim_rgb[3]", "System.Single[]", false, 116)] public float[] rim_rgb = new System.Single[3]; - [DNAFieldAttribute(4, "float", "mask_rgb[3]", "System.Single[]", 12, false, 128)] + [DNAFieldAttribute(12, "float", 4, "mask_rgb[3]", "System.Single[]", false, 128)] public float[] mask_rgb = new System.Single[3]; - [DNAFieldAttribute(5, "int", "mode", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 5, "mode", "int", false, 140)] public int mode; - [DNAFieldAttribute(6, "int", "blur[2]", "System.Int32[]", 8, false, 144)] + [DNAFieldAttribute(8, "int", 6, "blur[2]", "System.Int32[]", false, 144)] public int[] blur = new System.Int32[2]; - [DNAFieldAttribute(7, "int", "samples", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 7, "samples", "int", false, 152)] public int samples; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 156)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 156)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(9, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 160)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 9, "runtime", "ShaderFxData_Runtime", false, 160)] public ShaderFxData_Runtime runtime; public RimShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/SBVertex.cs b/BlendFile/DNA/SBVertex.cs index bc56289..e376449 100644 --- a/BlendFile/DNA/SBVertex.cs +++ b/BlendFile/DNA/SBVertex.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(758, "SBVertex", 16)] - public struct SBVertex { - [DNAFieldAttribute(0, "float", "vec[4]", "System.Single[]", 16, false, 0)] + public class SBVertex { + [DNAFieldAttribute(16, "float", 0, "vec[4]", "System.Single[]", false, 0)] public float[] vec = new System.Single[4]; public SBVertex() { this.vec = default; diff --git a/BlendFile/DNA/SDefBind.cs b/BlendFile/DNA/SDefBind.cs index a52f1b2..1e5dd33 100644 --- a/BlendFile/DNA/SDefBind.cs +++ b/BlendFile/DNA/SDefBind.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(510, "SDefBind", 32)] public class SDefBind { - [DNAFieldAttribute(0, "int", "*vert_inds", "int", 8, true, 0)] - public int ptr_vert_inds; - [DNAFieldAttribute(1, "int", "numverts", "int", 4, false, 8)] + [DNAFieldAttribute(8, "int", 0, "*vert_inds", "int", true, 0)] + public int vert_inds; + [DNAFieldAttribute(4, "int", 1, "numverts", "int", false, 8)] public int numverts; - [DNAFieldAttribute(2, "int", "mode", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "mode", "int", false, 12)] public int mode; - [DNAFieldAttribute(3, "float", "*vert_weights", "float", 8, true, 16)] - public float ptr_vert_weights; - [DNAFieldAttribute(4, "float", "normal_dist", "float", 4, false, 24)] + [DNAFieldAttribute(8, "float", 3, "*vert_weights", "float", true, 16)] + public float vert_weights; + [DNAFieldAttribute(4, "float", 4, "normal_dist", "float", false, 24)] public float normal_dist; - [DNAFieldAttribute(5, "float", "influence", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 5, "influence", "float", false, 28)] public float influence; public SDefBind() { - this.ptr_vert_inds = default; + this.vert_inds = default; this.numverts = default; this.mode = default; - this.ptr_vert_weights = default; + this.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; + public SDefBind(int vert_inds, int numverts, int mode, float vert_weights, float normal_dist, float influence) { + this.vert_inds = vert_inds; this.numverts = numverts; this.mode = mode; - this.ptr_vert_weights = ptr_vert_weights; + this.vert_weights = vert_weights; this.normal_dist = normal_dist; this.influence = influence; } diff --git a/BlendFile/DNA/SDefVert.cs b/BlendFile/DNA/SDefVert.cs index d55e756..1373e94 100644 --- a/BlendFile/DNA/SDefVert.cs +++ b/BlendFile/DNA/SDefVert.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(511, "SDefVert", 16)] public class SDefVert { - [DNAFieldAttribute(0, "SDefBind", "*binds", "SDefBind", 8, true, 0)] - public SDefBind ptr_binds; - [DNAFieldAttribute(1, "int", "numbinds", "int", 4, false, 8)] + [DNAFieldAttribute(8, "SDefBind", 0, "*binds", "SDefBind", true, 0)] + public SDefBind binds; + [DNAFieldAttribute(4, "int", 1, "numbinds", "int", false, 8)] public int numbinds; - [DNAFieldAttribute(2, "int", "vertex_idx", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "vertex_idx", "int", false, 12)] public int vertex_idx; public SDefVert() { - this.ptr_binds = default; + this.binds = default; this.numbinds = default; this.vertex_idx = default; } - public SDefVert(SDefBind ptr_binds, int numbinds, int vertex_idx) { - this.ptr_binds = ptr_binds; + public SDefVert(SDefBind binds, int numbinds, int vertex_idx) { + this.binds = binds; this.numbinds = numbinds; this.vertex_idx = vertex_idx; } diff --git a/BlendFile/DNA/SPHFluidSettings.cs b/BlendFile/DNA/SPHFluidSettings.cs index 520bb8b..0698747 100644 --- a/BlendFile/DNA/SPHFluidSettings.cs +++ b/BlendFile/DNA/SPHFluidSettings.cs @@ -14,40 +14,40 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(784, "SPHFluidSettings", 68)] - public struct SPHFluidSettings { - [DNAFieldAttribute(0, "float", "radius", "float", 4, false, 0)] + public class SPHFluidSettings { + [DNAFieldAttribute(4, "float", 0, "radius", "float", false, 0)] public float radius; - [DNAFieldAttribute(1, "float", "spring_k", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "spring_k", "float", false, 4)] public float spring_k; - [DNAFieldAttribute(2, "float", "rest_length", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "rest_length", "float", false, 8)] public float rest_length; - [DNAFieldAttribute(3, "float", "plasticity_constant", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "plasticity_constant", "float", false, 12)] public float plasticity_constant; - [DNAFieldAttribute(4, "float", "yield_ratio", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "yield_ratio", "float", false, 16)] public float yield_ratio; - [DNAFieldAttribute(5, "float", "plasticity_balance", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "plasticity_balance", "float", false, 20)] public float plasticity_balance; - [DNAFieldAttribute(6, "float", "yield_balance", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "yield_balance", "float", false, 24)] public float yield_balance; - [DNAFieldAttribute(7, "float", "viscosity_omega", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "viscosity_omega", "float", false, 28)] public float viscosity_omega; - [DNAFieldAttribute(8, "float", "viscosity_beta", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "viscosity_beta", "float", false, 32)] public float viscosity_beta; - [DNAFieldAttribute(9, "float", "stiffness_k", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "stiffness_k", "float", false, 36)] public float stiffness_k; - [DNAFieldAttribute(10, "float", "stiffness_knear", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "stiffness_knear", "float", false, 40)] public float stiffness_knear; - [DNAFieldAttribute(11, "float", "rest_density", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "rest_density", "float", false, 44)] public float rest_density; - [DNAFieldAttribute(12, "float", "buoyancy", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 12, "buoyancy", "float", false, 48)] public float buoyancy; - [DNAFieldAttribute(13, "int", "flag", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 13, "flag", "int", false, 52)] public int flag; - [DNAFieldAttribute(14, "int", "spring_frames", "int", 4, false, 56)] + [DNAFieldAttribute(4, "int", 14, "spring_frames", "int", false, 56)] public int spring_frames; - [DNAFieldAttribute(15, "short", "solver", "short", 2, false, 60)] + [DNAFieldAttribute(2, "short", 15, "solver", "short", false, 60)] public short solver; - [DNAFieldAttribute(16, "char", "_pad[6]", "System.Char[]", 6, false, 62)] + [DNAFieldAttribute(6, "char", 16, "_pad[6]", "System.Char[]", false, 62)] public char[] _pad = new System.Char[6]; public SPHFluidSettings() { this.radius = default; diff --git a/BlendFile/DNA/Scene.cs b/BlendFile/DNA/Scene.cs index c8c72eb..072800b 100644 --- a/BlendFile/DNA/Scene.cs +++ b/BlendFile/DNA/Scene.cs @@ -15,132 +15,132 @@ namespace BlendFile.DNA { [DNAClassAttribute(241, "Scene", 6744)] public class Scene { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "Object", "*camera", "Object", 8, true, 232)] - public Object ptr_camera; - [DNAFieldAttribute(4, "World", "*world", "World", 8, true, 240)] - public World ptr_world; - [DNAFieldAttribute(5, "Scene", "*set", "Scene", 8, true, 248)] - public Scene ptr_set; - [DNAFieldAttribute(6, "ListBase", "base", "ListBase", 16, false, 256)] + [DNAFieldAttribute(8, "Object", 3, "*camera", "Object", true, 232)] + public Object camera; + [DNAFieldAttribute(8, "World", 4, "*world", "World", true, 240)] + public World world; + [DNAFieldAttribute(8, "Scene", 5, "*set", "Scene", true, 248)] + public Scene set; + [DNAFieldAttribute(16, "ListBase", 6, "base", "ListBase", false, 256)] public ListBase @base; - [DNAFieldAttribute(7, "Base", "*basact", "Base", 8, true, 272)] - public Base ptr_basact; - [DNAFieldAttribute(8, "void", "*_pad1", "void", 8, true, 280)] - public object ptr__pad1; - [DNAFieldAttribute(9, "View3DCursor", "cursor", "View3DCursor", 64, false, 288)] + [DNAFieldAttribute(8, "Base", 7, "*basact", "Base", true, 272)] + public Base basact; + [DNAFieldAttribute(8, "void", 8, "*_pad1", "void", true, 280)] + public object _pad1; + [DNAFieldAttribute(64, "View3DCursor", 9, "cursor", "View3DCursor", false, 288)] public View3DCursor cursor; - [DNAFieldAttribute(10, "int", "lay", "int", 4, false, 352)] + [DNAFieldAttribute(4, "int", 10, "lay", "int", false, 352)] public int lay; - [DNAFieldAttribute(11, "int", "layact", "int", 4, false, 356)] + [DNAFieldAttribute(4, "int", 11, "layact", "int", false, 356)] public int layact; - [DNAFieldAttribute(12, "char", "_pad2[4]", "System.Char[]", 4, false, 360)] + [DNAFieldAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", false, 360)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(13, "short", "flag", "short", 2, false, 364)] + [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 364)] public short flag; - [DNAFieldAttribute(14, "char", "use_nodes", "char", 1, false, 366)] + [DNAFieldAttribute(1, "char", 14, "use_nodes", "char", false, 366)] public char use_nodes; - [DNAFieldAttribute(15, "char", "_pad3[1]", "System.Char[]", 1, false, 367)] + [DNAFieldAttribute(1, "char", 15, "_pad3[1]", "System.Char[]", false, 367)] public char[] _pad3 = new System.Char[1]; - [DNAFieldAttribute(16, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 368)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(17, "Editing", "*ed", "Editing", 8, true, 376)] - public Editing ptr_ed; - [DNAFieldAttribute(18, "ToolSettings", "*toolsettings", "ToolSettings", 8, true, 384)] - public ToolSettings ptr_toolsettings; - [DNAFieldAttribute(19, "void", "*_pad4", "void", 8, true, 392)] - public object ptr__pad4; - [DNAFieldAttribute(20, "DisplaySafeAreas", "safe_areas", "DisplaySafeAreas", 32, false, 400)] + [DNAFieldAttribute(8, "bNodeTree", 16, "*nodetree", "bNodeTree", true, 368)] + public bNodeTree nodetree; + [DNAFieldAttribute(8, "Editing", 17, "*ed", "Editing", true, 376)] + public Editing ed; + [DNAFieldAttribute(8, "ToolSettings", 18, "*toolsettings", "ToolSettings", true, 384)] + public ToolSettings toolsettings; + [DNAFieldAttribute(8, "void", 19, "*_pad4", "void", true, 392)] + public object _pad4; + [DNAFieldAttribute(32, "DisplaySafeAreas", 20, "safe_areas", "DisplaySafeAreas", false, 400)] public DisplaySafeAreas safe_areas; - [DNAFieldAttribute(21, "RenderData", "r", "RenderData", 4376, false, 432)] + [DNAFieldAttribute(4376, "RenderData", 21, "r", "RenderData", false, 432)] public RenderData r; - [DNAFieldAttribute(22, "AudioData", "audio", "AudioData", 32, false, 4808)] + [DNAFieldAttribute(32, "AudioData", 22, "audio", "AudioData", false, 4808)] public AudioData audio; - [DNAFieldAttribute(23, "ListBase", "markers", "ListBase", 16, false, 4840)] + [DNAFieldAttribute(16, "ListBase", 23, "markers", "ListBase", false, 4840)] public ListBase markers; - [DNAFieldAttribute(24, "ListBase", "transform_spaces", "ListBase", 16, false, 4856)] + [DNAFieldAttribute(16, "ListBase", 24, "transform_spaces", "ListBase", false, 4856)] public ListBase transform_spaces; - [DNAFieldAttribute(25, "TransformOrientationSlot", "orientation_slots[4]", "TransformOrientationSlot[]", 64, false, 4872)] + [DNAFieldAttribute(64, "TransformOrientationSlot", 25, "orientation_slots[4]", "TransformOrientationSlot[]", false, 4872)] public TransformOrientationSlot[] orientation_slots = new TransformOrientationSlot[4]; - [DNAFieldAttribute(26, "void", "*sound_scene", "void", 8, true, 4936)] - public object ptr_sound_scene; - [DNAFieldAttribute(27, "void", "*playback_handle", "void", 8, true, 4944)] - public object ptr_playback_handle; - [DNAFieldAttribute(28, "void", "*sound_scrub_handle", "void", 8, true, 4952)] - public object ptr_sound_scrub_handle; - [DNAFieldAttribute(29, "void", "*speaker_handles", "void", 8, true, 4960)] - public object ptr_speaker_handles; - [DNAFieldAttribute(30, "void", "*fps_info", "void", 8, true, 4968)] - public object ptr_fps_info; - [DNAFieldAttribute(31, "GHash", "*depsgraph_hash", "GHash", 8, true, 4976)] - public GHash ptr_depsgraph_hash; - [DNAFieldAttribute(32, "char", "_pad7[4]", "System.Char[]", 4, false, 4984)] + [DNAFieldAttribute(8, "void", 26, "*sound_scene", "void", true, 4936)] + public object sound_scene; + [DNAFieldAttribute(8, "void", 27, "*playback_handle", "void", true, 4944)] + public object playback_handle; + [DNAFieldAttribute(8, "void", 28, "*sound_scrub_handle", "void", true, 4952)] + public object sound_scrub_handle; + [DNAFieldAttribute(8, "void", 29, "*speaker_handles", "void", true, 4960)] + public object speaker_handles; + [DNAFieldAttribute(8, "void", 30, "*fps_info", "void", true, 4968)] + public object fps_info; + [DNAFieldAttribute(8, "GHash", 31, "*depsgraph_hash", "GHash", true, 4976)] + public GHash depsgraph_hash; + [DNAFieldAttribute(4, "char", 32, "_pad7[4]", "System.Char[]", false, 4984)] public char[] _pad7 = new System.Char[4]; - [DNAFieldAttribute(33, "int", "active_keyingset", "int", 4, false, 4988)] + [DNAFieldAttribute(4, "int", 33, "active_keyingset", "int", false, 4988)] public int active_keyingset; - [DNAFieldAttribute(34, "ListBase", "keyingsets", "ListBase", 16, false, 4992)] + [DNAFieldAttribute(16, "ListBase", 34, "keyingsets", "ListBase", false, 4992)] public ListBase keyingsets; - [DNAFieldAttribute(35, "UnitSettings", "unit", "UnitSettings", 16, false, 5008)] + [DNAFieldAttribute(16, "UnitSettings", 35, "unit", "UnitSettings", false, 5008)] public UnitSettings unit; - [DNAFieldAttribute(36, "bGPdata", "*gpd", "bGPdata", 8, true, 5024)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(37, "MovieClip", "*clip", "MovieClip", 8, true, 5032)] - public MovieClip ptr_clip; - [DNAFieldAttribute(38, "PhysicsSettings", "physics_settings", "PhysicsSettings", 24, false, 5040)] + [DNAFieldAttribute(8, "bGPdata", 36, "*gpd", "bGPdata", true, 5024)] + public bGPdata gpd; + [DNAFieldAttribute(8, "MovieClip", 37, "*clip", "MovieClip", true, 5032)] + public MovieClip clip; + [DNAFieldAttribute(24, "PhysicsSettings", 38, "physics_settings", "PhysicsSettings", false, 5040)] public PhysicsSettings physics_settings; - [DNAFieldAttribute(39, "void", "*_pad8", "void", 8, true, 5064)] - public object ptr__pad8; - [DNAFieldAttribute(40, "CustomData_MeshMasks", "customdata_mask", "CustomData_MeshMasks", 40, false, 5072)] + [DNAFieldAttribute(8, "void", 39, "*_pad8", "void", true, 5064)] + public object _pad8; + [DNAFieldAttribute(40, "CustomData_MeshMasks", 40, "customdata_mask", "CustomData_MeshMasks", false, 5072)] public CustomData_MeshMasks customdata_mask; - [DNAFieldAttribute(41, "CustomData_MeshMasks", "customdata_mask_modal", "CustomData_MeshMasks", 40, false, 5112)] + [DNAFieldAttribute(40, "CustomData_MeshMasks", 41, "customdata_mask_modal", "CustomData_MeshMasks", false, 5112)] public CustomData_MeshMasks customdata_mask_modal; - [DNAFieldAttribute(42, "ColorManagedViewSettings", "view_settings", "ColorManagedViewSettings", 168, false, 5152)] + [DNAFieldAttribute(168, "ColorManagedViewSettings", 42, "view_settings", "ColorManagedViewSettings", false, 5152)] public ColorManagedViewSettings view_settings; - [DNAFieldAttribute(43, "ColorManagedDisplaySettings", "display_settings", "ColorManagedDisplaySettings", 64, false, 5320)] + [DNAFieldAttribute(64, "ColorManagedDisplaySettings", 43, "display_settings", "ColorManagedDisplaySettings", false, 5320)] public ColorManagedDisplaySettings display_settings; - [DNAFieldAttribute(44, "ColorManagedColorspaceSettings", "sequencer_colorspace_settings", "ColorManagedColorspaceSettings", 64, false, 5384)] + [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 44, "sequencer_colorspace_settings", "ColorManagedColorspaceSettings", false, 5384)] public ColorManagedColorspaceSettings sequencer_colorspace_settings; - [DNAFieldAttribute(45, "RigidBodyWorld", "*rigidbody_world", "RigidBodyWorld", 8, true, 5448)] - public RigidBodyWorld ptr_rigidbody_world; - [DNAFieldAttribute(46, "PreviewImage", "*preview", "PreviewImage", 8, true, 5456)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(47, "ListBase", "view_layers", "ListBase", 16, false, 5464)] + [DNAFieldAttribute(8, "RigidBodyWorld", 45, "*rigidbody_world", "RigidBodyWorld", true, 5448)] + public RigidBodyWorld rigidbody_world; + [DNAFieldAttribute(8, "PreviewImage", 46, "*preview", "PreviewImage", true, 5456)] + public PreviewImage preview; + [DNAFieldAttribute(16, "ListBase", 47, "view_layers", "ListBase", false, 5464)] public ListBase view_layers; - [DNAFieldAttribute(48, "Collection", "*master_collection", "Collection", 8, true, 5480)] - public Collection ptr_master_collection; - [DNAFieldAttribute(49, "IDProperty", "*layer_properties", "IDProperty", 8, true, 5488)] - public IDProperty ptr_layer_properties; - [DNAFieldAttribute(50, "int", "simulation_frame_start", "int", 4, false, 5496)] + [DNAFieldAttribute(8, "Collection", 48, "*master_collection", "Collection", true, 5480)] + public Collection master_collection; + [DNAFieldAttribute(8, "IDProperty", 49, "*layer_properties", "IDProperty", true, 5488)] + public IDProperty layer_properties; + [DNAFieldAttribute(4, "int", 50, "simulation_frame_start", "int", false, 5496)] public int simulation_frame_start; - [DNAFieldAttribute(51, "int", "simulation_frame_end", "int", 4, false, 5500)] + [DNAFieldAttribute(4, "int", 51, "simulation_frame_end", "int", false, 5500)] public int simulation_frame_end; - [DNAFieldAttribute(52, "SceneDisplay", "display", "SceneDisplay", 984, false, 5504)] + [DNAFieldAttribute(984, "SceneDisplay", 52, "display", "SceneDisplay", false, 5504)] public SceneDisplay display; - [DNAFieldAttribute(53, "SceneEEVEE", "eevee", "SceneEEVEE", 224, false, 6488)] + [DNAFieldAttribute(224, "SceneEEVEE", 53, "eevee", "SceneEEVEE", false, 6488)] public SceneEEVEE eevee; - [DNAFieldAttribute(54, "SceneGpencil", "grease_pencil_settings", "SceneGpencil", 8, false, 6712)] + [DNAFieldAttribute(8, "SceneGpencil", 54, "grease_pencil_settings", "SceneGpencil", false, 6712)] public SceneGpencil grease_pencil_settings; - [DNAFieldAttribute(55, "SceneHydra", "hydra", "SceneHydra", 8, false, 6720)] + [DNAFieldAttribute(8, "SceneHydra", 55, "hydra", "SceneHydra", false, 6720)] public SceneHydra hydra; - [DNAFieldAttribute(56, "SceneRuntimeHandle", "*runtime", "SceneRuntimeHandle", 8, true, 6728)] - public SceneRuntimeHandle ptr_runtime; - [DNAFieldAttribute(57, "void", "*_pad9", "void", 8, true, 6736)] - public object ptr__pad9; + [DNAFieldAttribute(8, "SceneRuntimeHandle", 56, "*runtime", "SceneRuntimeHandle", true, 6728)] + public SceneRuntimeHandle runtime; + [DNAFieldAttribute(8, "void", 57, "*_pad9", "void", true, 6736)] + public object _pad9; public Scene() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; - this.ptr_camera = default; - this.ptr_world = default; - this.ptr_set = default; + this.camera = default; + this.world = default; + this.set = default; this.@base = default; - this.ptr_basact = default; - this.ptr__pad1 = default; + this.basact = default; + this._pad1 = default; this.cursor = default; this.lay = default; this.layact = default; @@ -148,59 +148,59 @@ namespace BlendFile.DNA { 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.nodetree = default; + this.ed = default; + this.toolsettings = default; + this._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.sound_scene = default; + this.playback_handle = default; + this.sound_scrub_handle = default; + this.speaker_handles = default; + this.fps_info = default; + this.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.gpd = default; + this.clip = default; this.physics_settings = default; - this.ptr__pad8 = default; + this._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.rigidbody_world = default; + this.preview = default; this.view_layers = default; - this.ptr_master_collection = default; - this.ptr_layer_properties = default; + this.master_collection = default; + this.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; + this.runtime = default; + this._pad9 = default; } public Scene( ID id, - AnimData ptr_adt, + AnimData adt, DrawDataList drawdata, - Object ptr_camera, - World ptr_world, - Scene ptr_set, + Object camera, + World world, + Scene set, ListBase @base, - Base ptr_basact, - object ptr__pad1, + Base basact, + object _pad1, View3DCursor cursor, int lay, int layact, @@ -208,57 +208,57 @@ namespace BlendFile.DNA { short flag, char use_nodes, char[] _pad3, - bNodeTree ptr_nodetree, - Editing ptr_ed, - ToolSettings ptr_toolsettings, - object ptr__pad4, + bNodeTree nodetree, + Editing ed, + ToolSettings toolsettings, + object _pad4, DisplaySafeAreas safe_areas, RenderData r, AudioData audio, ListBase markers, ListBase transform_spaces, TransformOrientationSlot[] orientation_slots, - object ptr_sound_scene, - object ptr_playback_handle, - object ptr_sound_scrub_handle, - object ptr_speaker_handles, - object ptr_fps_info, - GHash ptr_depsgraph_hash, + object sound_scene, + object playback_handle, + object sound_scrub_handle, + object speaker_handles, + object fps_info, + GHash depsgraph_hash, char[] _pad7, int active_keyingset, ListBase keyingsets, UnitSettings unit, - bGPdata ptr_gpd, - MovieClip ptr_clip, + bGPdata gpd, + MovieClip clip, PhysicsSettings physics_settings, - object ptr__pad8, + object _pad8, CustomData_MeshMasks customdata_mask, CustomData_MeshMasks customdata_mask_modal, ColorManagedViewSettings view_settings, ColorManagedDisplaySettings display_settings, ColorManagedColorspaceSettings sequencer_colorspace_settings, - RigidBodyWorld ptr_rigidbody_world, - PreviewImage ptr_preview, + RigidBodyWorld rigidbody_world, + PreviewImage preview, ListBase view_layers, - Collection ptr_master_collection, - IDProperty ptr_layer_properties, + Collection master_collection, + IDProperty layer_properties, int simulation_frame_start, int simulation_frame_end, SceneDisplay display, SceneEEVEE eevee, SceneGpencil grease_pencil_settings, SceneHydra hydra, - SceneRuntimeHandle ptr_runtime, - object ptr__pad9) { + SceneRuntimeHandle runtime, + object _pad9) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.drawdata = drawdata; - this.ptr_camera = ptr_camera; - this.ptr_world = ptr_world; - this.ptr_set = ptr_set; + this.camera = camera; + this.world = world; + this.set = set; this.@base = @base; - this.ptr_basact = ptr_basact; - this.ptr__pad1 = ptr__pad1; + this.basact = basact; + this._pad1 = _pad1; this.cursor = cursor; this.lay = lay; this.layact = layact; @@ -266,48 +266,48 @@ namespace BlendFile.DNA { this.flag = flag; this.use_nodes = use_nodes; this._pad3 = _pad3; - this.ptr_nodetree = ptr_nodetree; - this.ptr_ed = ptr_ed; - this.ptr_toolsettings = ptr_toolsettings; - this.ptr__pad4 = ptr__pad4; + this.nodetree = nodetree; + this.ed = ed; + this.toolsettings = toolsettings; + this._pad4 = _pad4; this.safe_areas = safe_areas; this.r = r; this.audio = audio; this.markers = markers; this.transform_spaces = transform_spaces; this.orientation_slots = orientation_slots; - this.ptr_sound_scene = ptr_sound_scene; - this.ptr_playback_handle = ptr_playback_handle; - this.ptr_sound_scrub_handle = ptr_sound_scrub_handle; - this.ptr_speaker_handles = ptr_speaker_handles; - this.ptr_fps_info = ptr_fps_info; - this.ptr_depsgraph_hash = ptr_depsgraph_hash; + this.sound_scene = sound_scene; + this.playback_handle = playback_handle; + this.sound_scrub_handle = sound_scrub_handle; + this.speaker_handles = speaker_handles; + this.fps_info = fps_info; + this.depsgraph_hash = depsgraph_hash; this._pad7 = _pad7; this.active_keyingset = active_keyingset; this.keyingsets = keyingsets; this.unit = unit; - this.ptr_gpd = ptr_gpd; - this.ptr_clip = ptr_clip; + this.gpd = gpd; + this.clip = clip; this.physics_settings = physics_settings; - this.ptr__pad8 = ptr__pad8; + this._pad8 = _pad8; this.customdata_mask = customdata_mask; this.customdata_mask_modal = customdata_mask_modal; this.view_settings = view_settings; this.display_settings = display_settings; this.sequencer_colorspace_settings = sequencer_colorspace_settings; - this.ptr_rigidbody_world = ptr_rigidbody_world; - this.ptr_preview = ptr_preview; + this.rigidbody_world = rigidbody_world; + this.preview = preview; this.view_layers = view_layers; - this.ptr_master_collection = ptr_master_collection; - this.ptr_layer_properties = ptr_layer_properties; + this.master_collection = master_collection; + this.layer_properties = layer_properties; this.simulation_frame_start = simulation_frame_start; this.simulation_frame_end = simulation_frame_end; this.display = display; this.eevee = eevee; this.grease_pencil_settings = grease_pencil_settings; this.hydra = hydra; - this.ptr_runtime = ptr_runtime; - this.ptr__pad9 = ptr__pad9; + this.runtime = runtime; + this._pad9 = _pad9; } } } diff --git a/BlendFile/DNA/SceneDisplay.cs b/BlendFile/DNA/SceneDisplay.cs index 4f2b352..af7d4c9 100644 --- a/BlendFile/DNA/SceneDisplay.cs +++ b/BlendFile/DNA/SceneDisplay.cs @@ -14,26 +14,26 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(832, "SceneDisplay", 984)] - public struct SceneDisplay { - [DNAFieldAttribute(0, "float", "light_direction[3]", "System.Single[]", 12, false, 0)] + public class SceneDisplay { + [DNAFieldAttribute(12, "float", 0, "light_direction[3]", "System.Single[]", false, 0)] public float[] light_direction = new System.Single[3]; - [DNAFieldAttribute(1, "float", "shadow_shift", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 1, "shadow_shift", "float", false, 12)] public float shadow_shift; - [DNAFieldAttribute(2, "float", "shadow_focus", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 2, "shadow_focus", "float", false, 16)] public float shadow_focus; - [DNAFieldAttribute(3, "float", "matcap_ssao_distance", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 3, "matcap_ssao_distance", "float", false, 20)] public float matcap_ssao_distance; - [DNAFieldAttribute(4, "float", "matcap_ssao_attenuation", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 4, "matcap_ssao_attenuation", "float", false, 24)] public float matcap_ssao_attenuation; - [DNAFieldAttribute(5, "int", "matcap_ssao_samples", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 5, "matcap_ssao_samples", "int", false, 28)] public int matcap_ssao_samples; - [DNAFieldAttribute(6, "char", "viewport_aa", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 6, "viewport_aa", "char", false, 32)] public char viewport_aa; - [DNAFieldAttribute(7, "char", "render_aa", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 7, "render_aa", "char", false, 33)] public char render_aa; - [DNAFieldAttribute(8, "char", "_pad[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 8, "_pad[6]", "System.Char[]", false, 34)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(9, "View3DShading", "shading", "View3DShading", 944, false, 40)] + [DNAFieldAttribute(944, "View3DShading", 9, "shading", "View3DShading", false, 40)] public View3DShading shading; public SceneDisplay() { this.light_direction = default; diff --git a/BlendFile/DNA/SceneEEVEE.cs b/BlendFile/DNA/SceneEEVEE.cs index 23f46a6..98050b5 100644 --- a/BlendFile/DNA/SceneEEVEE.cs +++ b/BlendFile/DNA/SceneEEVEE.cs @@ -14,110 +14,110 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(835, "SceneEEVEE", 224)] - public struct SceneEEVEE { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SceneEEVEE { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "int", "gi_diffuse_bounces", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "gi_diffuse_bounces", "int", false, 4)] public int gi_diffuse_bounces; - [DNAFieldAttribute(2, "int", "gi_cubemap_resolution", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "gi_cubemap_resolution", "int", false, 8)] public int gi_cubemap_resolution; - [DNAFieldAttribute(3, "int", "gi_visibility_resolution", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "gi_visibility_resolution", "int", false, 12)] public int gi_visibility_resolution; - [DNAFieldAttribute(4, "float", "gi_glossy_clamp", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "gi_glossy_clamp", "float", false, 16)] public float gi_glossy_clamp; - [DNAFieldAttribute(5, "int", "gi_irradiance_pool_size", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "gi_irradiance_pool_size", "int", false, 20)] public int gi_irradiance_pool_size; - [DNAFieldAttribute(6, "char", "_pad0[4]", "System.Char[]", 4, false, 24)] + [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 24)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(7, "int", "taa_samples", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "taa_samples", "int", false, 28)] public int taa_samples; - [DNAFieldAttribute(8, "int", "taa_render_samples", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 8, "taa_render_samples", "int", false, 32)] public int taa_render_samples; - [DNAFieldAttribute(9, "float", "volumetric_start", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "volumetric_start", "float", false, 36)] public float volumetric_start; - [DNAFieldAttribute(10, "float", "volumetric_end", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "volumetric_end", "float", false, 40)] public float volumetric_end; - [DNAFieldAttribute(11, "int", "volumetric_tile_size", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 11, "volumetric_tile_size", "int", false, 44)] public int volumetric_tile_size; - [DNAFieldAttribute(12, "int", "volumetric_samples", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 12, "volumetric_samples", "int", false, 48)] public int volumetric_samples; - [DNAFieldAttribute(13, "float", "volumetric_sample_distribution", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 13, "volumetric_sample_distribution", "float", false, 52)] public float volumetric_sample_distribution; - [DNAFieldAttribute(14, "float", "volumetric_light_clamp", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 14, "volumetric_light_clamp", "float", false, 56)] public float volumetric_light_clamp; - [DNAFieldAttribute(15, "int", "volumetric_shadow_samples", "int", 4, false, 60)] + [DNAFieldAttribute(4, "int", 15, "volumetric_shadow_samples", "int", false, 60)] public int volumetric_shadow_samples; - [DNAFieldAttribute(16, "int", "volumetric_ray_depth", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 16, "volumetric_ray_depth", "int", false, 64)] public int volumetric_ray_depth; - [DNAFieldAttribute(17, "float", "gtao_distance", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 17, "gtao_distance", "float", false, 68)] public float gtao_distance; - [DNAFieldAttribute(18, "float", "gtao_thickness", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 18, "gtao_thickness", "float", false, 72)] public float gtao_thickness; - [DNAFieldAttribute(19, "float", "gtao_focus", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 19, "gtao_focus", "float", false, 76)] public float gtao_focus; - [DNAFieldAttribute(20, "int", "gtao_resolution", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 20, "gtao_resolution", "int", false, 80)] public int gtao_resolution; - [DNAFieldAttribute(21, "int", "fast_gi_step_count", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 21, "fast_gi_step_count", "int", false, 84)] public int fast_gi_step_count; - [DNAFieldAttribute(22, "int", "fast_gi_ray_count", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 22, "fast_gi_ray_count", "int", false, 88)] public int fast_gi_ray_count; - [DNAFieldAttribute(23, "float", "gtao_quality", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 23, "gtao_quality", "float", false, 92)] public float gtao_quality; - [DNAFieldAttribute(24, "float", "fast_gi_distance", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 24, "fast_gi_distance", "float", false, 96)] public float fast_gi_distance; - [DNAFieldAttribute(25, "float", "fast_gi_thickness_near", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 25, "fast_gi_thickness_near", "float", false, 100)] public float fast_gi_thickness_near; - [DNAFieldAttribute(26, "float", "fast_gi_thickness_far", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 26, "fast_gi_thickness_far", "float", false, 104)] public float fast_gi_thickness_far; - [DNAFieldAttribute(27, "char", "fast_gi_method", "char", 1, false, 108)] + [DNAFieldAttribute(1, "char", 27, "fast_gi_method", "char", false, 108)] public char fast_gi_method; - [DNAFieldAttribute(28, "char", "_pad1[3]", "System.Char[]", 3, false, 109)] + [DNAFieldAttribute(3, "char", 28, "_pad1[3]", "System.Char[]", false, 109)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(29, "float", "bokeh_overblur", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 29, "bokeh_overblur", "float", false, 112)] public float bokeh_overblur; - [DNAFieldAttribute(30, "float", "bokeh_max_size", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 30, "bokeh_max_size", "float", false, 116)] public float bokeh_max_size; - [DNAFieldAttribute(31, "float", "bokeh_threshold", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 31, "bokeh_threshold", "float", false, 120)] public float bokeh_threshold; - [DNAFieldAttribute(32, "float", "bokeh_neighbor_max", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 32, "bokeh_neighbor_max", "float", false, 124)] public float bokeh_neighbor_max; - [DNAFieldAttribute(33, "int", "motion_blur_samples", "int", 4, false, 128)] + [DNAFieldAttribute(4, "int", 33, "motion_blur_samples", "int", false, 128)] public int motion_blur_samples; - [DNAFieldAttribute(34, "int", "motion_blur_max", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 34, "motion_blur_max", "int", false, 132)] public int motion_blur_max; - [DNAFieldAttribute(35, "int", "motion_blur_steps", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 35, "motion_blur_steps", "int", false, 136)] public int motion_blur_steps; - [DNAFieldAttribute(36, "int", "motion_blur_position", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 36, "motion_blur_position", "int", false, 140)] public int motion_blur_position; - [DNAFieldAttribute(37, "float", "motion_blur_shutter", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 37, "motion_blur_shutter", "float", false, 144)] public float motion_blur_shutter; - [DNAFieldAttribute(38, "float", "motion_blur_depth_scale", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 38, "motion_blur_depth_scale", "float", false, 148)] public float motion_blur_depth_scale; - [DNAFieldAttribute(39, "int", "shadow_cube_size", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 39, "shadow_cube_size", "int", false, 152)] public int shadow_cube_size; - [DNAFieldAttribute(40, "int", "shadow_pool_size", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 40, "shadow_pool_size", "int", false, 156)] public int shadow_pool_size; - [DNAFieldAttribute(41, "int", "shadow_ray_count", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 41, "shadow_ray_count", "int", false, 160)] public int shadow_ray_count; - [DNAFieldAttribute(42, "int", "shadow_step_count", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 42, "shadow_step_count", "int", false, 164)] public int shadow_step_count; - [DNAFieldAttribute(43, "float", "shadow_resolution_scale", "float", 4, false, 168)] + [DNAFieldAttribute(4, "float", 43, "shadow_resolution_scale", "float", false, 168)] public float shadow_resolution_scale; - [DNAFieldAttribute(44, "float", "clamp_surface_direct", "float", 4, false, 172)] + [DNAFieldAttribute(4, "float", 44, "clamp_surface_direct", "float", false, 172)] public float clamp_surface_direct; - [DNAFieldAttribute(45, "float", "clamp_surface_indirect", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 45, "clamp_surface_indirect", "float", false, 176)] public float clamp_surface_indirect; - [DNAFieldAttribute(46, "float", "clamp_volume_direct", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 46, "clamp_volume_direct", "float", false, 180)] public float clamp_volume_direct; - [DNAFieldAttribute(47, "float", "clamp_volume_indirect", "float", 4, false, 184)] + [DNAFieldAttribute(4, "float", 47, "clamp_volume_indirect", "float", false, 184)] public float clamp_volume_indirect; - [DNAFieldAttribute(48, "int", "ray_tracing_method", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 48, "ray_tracing_method", "int", false, 188)] public int ray_tracing_method; - [DNAFieldAttribute(49, "RaytraceEEVEE", "ray_tracing_options", "RaytraceEEVEE", 24, false, 192)] + [DNAFieldAttribute(24, "RaytraceEEVEE", 49, "ray_tracing_options", "RaytraceEEVEE", false, 192)] public RaytraceEEVEE ray_tracing_options; - [DNAFieldAttribute(50, "float", "overscan", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 50, "overscan", "float", false, 216)] public float overscan; - [DNAFieldAttribute(51, "float", "light_threshold", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 51, "light_threshold", "float", false, 220)] public float light_threshold; public SceneEEVEE() { this.flag = default; diff --git a/BlendFile/DNA/SceneGpencil.cs b/BlendFile/DNA/SceneGpencil.cs index 31b6713..a6cd2b0 100644 --- a/BlendFile/DNA/SceneGpencil.cs +++ b/BlendFile/DNA/SceneGpencil.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(836, "SceneGpencil", 8)] - public struct SceneGpencil { - [DNAFieldAttribute(0, "float", "smaa_threshold", "float", 4, false, 0)] + public class SceneGpencil { + [DNAFieldAttribute(4, "float", 0, "smaa_threshold", "float", false, 0)] public float smaa_threshold; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; public SceneGpencil() { this.smaa_threshold = default; diff --git a/BlendFile/DNA/SceneHydra.cs b/BlendFile/DNA/SceneHydra.cs index 16d926f..efc3931 100644 --- a/BlendFile/DNA/SceneHydra.cs +++ b/BlendFile/DNA/SceneHydra.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(837, "SceneHydra", 8)] - public struct SceneHydra { - [DNAFieldAttribute(0, "int", "export_method", "int", 4, false, 0)] + public class SceneHydra { + [DNAFieldAttribute(4, "int", 0, "export_method", "int", false, 0)] public int export_method; - [DNAFieldAttribute(1, "int", "_pad0", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "_pad0", "int", false, 4)] public int _pad0; public SceneHydra() { this.export_method = default; diff --git a/BlendFile/DNA/SceneRenderLayer.cs b/BlendFile/DNA/SceneRenderLayer.cs index 48c2f16..1840d09 100644 --- a/BlendFile/DNA/SceneRenderLayer.cs +++ b/BlendFile/DNA/SceneRenderLayer.cs @@ -15,42 +15,42 @@ namespace BlendFile.DNA { [DNAClassAttribute(799, "SceneRenderLayer", 192)] public class SceneRenderLayer { - [DNAFieldAttribute(0, "SceneRenderLayer", "*next", "SceneRenderLayer", 8, true, 0)] - public SceneRenderLayer ptr_next; - [DNAFieldAttribute(1, "SceneRenderLayer", "*prev", "SceneRenderLayer", 8, true, 8)] - public SceneRenderLayer ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "SceneRenderLayer", 0, "*next", "SceneRenderLayer", true, 0)] + public SceneRenderLayer next; + [DNAFieldAttribute(8, "SceneRenderLayer", 1, "*prev", "SceneRenderLayer", true, 8)] + public SceneRenderLayer prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "Material", "*mat_override", "Material", 8, true, 80)] - public Material ptr_mat_override; - [DNAFieldAttribute(4, "World", "*world_override", "World", 8, true, 88)] - public World ptr_world_override; - [DNAFieldAttribute(5, "int", "lay", "int", 4, false, 96)] + [DNAFieldAttribute(8, "Material", 3, "*mat_override", "Material", true, 80)] + public Material mat_override; + [DNAFieldAttribute(8, "World", 4, "*world_override", "World", true, 88)] + public World world_override; + [DNAFieldAttribute(4, "int", 5, "lay", "int", false, 96)] public int lay; - [DNAFieldAttribute(6, "int", "lay_zmask", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 6, "lay_zmask", "int", false, 100)] public int lay_zmask; - [DNAFieldAttribute(7, "int", "lay_exclude", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 7, "lay_exclude", "int", false, 104)] public int lay_exclude; - [DNAFieldAttribute(8, "int", "layflag", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 8, "layflag", "int", false, 108)] public int layflag; - [DNAFieldAttribute(9, "int", "passflag", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 9, "passflag", "int", false, 112)] public int passflag; - [DNAFieldAttribute(10, "int", "pass_xor", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 10, "pass_xor", "int", false, 116)] public int pass_xor; - [DNAFieldAttribute(11, "int", "samples", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 11, "samples", "int", false, 120)] public int samples; - [DNAFieldAttribute(12, "float", "pass_alpha_threshold", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 12, "pass_alpha_threshold", "float", false, 124)] public float pass_alpha_threshold; - [DNAFieldAttribute(13, "IDProperty", "*prop", "IDProperty", 8, true, 128)] - public IDProperty ptr_prop; - [DNAFieldAttribute(14, "FreestyleConfig", "freestyleConfig", "FreestyleConfig", 56, false, 136)] + [DNAFieldAttribute(8, "IDProperty", 13, "*prop", "IDProperty", true, 128)] + public IDProperty prop; + [DNAFieldAttribute(56, "FreestyleConfig", 14, "freestyleConfig", "FreestyleConfig", false, 136)] public FreestyleConfig freestyleConfig; public SceneRenderLayer() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; - this.ptr_mat_override = default; - this.ptr_world_override = default; + this.mat_override = default; + this.world_override = default; this.lay = default; this.lay_zmask = default; this.lay_exclude = default; @@ -59,15 +59,15 @@ namespace BlendFile.DNA { this.pass_xor = default; this.samples = default; this.pass_alpha_threshold = default; - this.ptr_prop = default; + this.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; + public SceneRenderLayer(SceneRenderLayer next, SceneRenderLayer prev, char[] name, Material mat_override, World world_override, int lay, int lay_zmask, int lay_exclude, int layflag, int passflag, int pass_xor, int samples, float pass_alpha_threshold, IDProperty prop, FreestyleConfig freestyleConfig) { + this.next = next; + this.prev = prev; this.name = name; - this.ptr_mat_override = ptr_mat_override; - this.ptr_world_override = ptr_world_override; + this.mat_override = mat_override; + this.world_override = world_override; this.lay = lay; this.lay_zmask = lay_zmask; this.lay_exclude = lay_exclude; @@ -76,7 +76,7 @@ namespace BlendFile.DNA { this.pass_xor = pass_xor; this.samples = samples; this.pass_alpha_threshold = pass_alpha_threshold; - this.ptr_prop = ptr_prop; + this.prop = prop; this.freestyleConfig = freestyleConfig; } } diff --git a/BlendFile/DNA/SceneRenderView.cs b/BlendFile/DNA/SceneRenderView.cs index b790393..43f5fa5 100644 --- a/BlendFile/DNA/SceneRenderView.cs +++ b/BlendFile/DNA/SceneRenderView.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(800, "SceneRenderView", 152)] public class SceneRenderView { - [DNAFieldAttribute(0, "SceneRenderView", "*next", "SceneRenderView", 8, true, 0)] - public SceneRenderView ptr_next; - [DNAFieldAttribute(1, "SceneRenderView", "*prev", "SceneRenderView", 8, true, 8)] - public SceneRenderView ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "SceneRenderView", 0, "*next", "SceneRenderView", true, 0)] + public SceneRenderView next; + [DNAFieldAttribute(8, "SceneRenderView", 1, "*prev", "SceneRenderView", true, 8)] + public SceneRenderView prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "suffix[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 3, "suffix[64]", "System.Char[]", false, 80)] public char[] suffix = new System.Char[64]; - [DNAFieldAttribute(4, "int", "viewflag", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 4, "viewflag", "int", false, 144)] public int viewflag; - [DNAFieldAttribute(5, "char", "_pad2[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 5, "_pad2[4]", "System.Char[]", false, 148)] public char[] _pad2 = new System.Char[4]; public SceneRenderView() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public SceneRenderView(SceneRenderView next, SceneRenderView prev, char[] name, char[] suffix, int viewflag, char[] _pad2) { + this.next = next; + this.prev = prev; this.name = name; this.suffix = suffix; this.viewflag = viewflag; diff --git a/BlendFile/DNA/Scopes.cs b/BlendFile/DNA/Scopes.cs index b5ddd00..b61661c 100644 --- a/BlendFile/DNA/Scopes.cs +++ b/BlendFile/DNA/Scopes.cs @@ -15,44 +15,44 @@ namespace BlendFile.DNA { [DNAClassAttribute(167, "Scopes", 5272)] public class Scopes { - [DNAFieldAttribute(0, "int", "ok", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "ok", "int", false, 0)] public int ok; - [DNAFieldAttribute(1, "int", "sample_full", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "sample_full", "int", false, 4)] public int sample_full; - [DNAFieldAttribute(2, "int", "sample_lines", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "sample_lines", "int", false, 8)] public int sample_lines; - [DNAFieldAttribute(3, "int", "wavefrm_mode", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "wavefrm_mode", "int", false, 12)] public int wavefrm_mode; - [DNAFieldAttribute(4, "int", "vecscope_mode", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "vecscope_mode", "int", false, 16)] public int vecscope_mode; - [DNAFieldAttribute(5, "int", "wavefrm_height", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "wavefrm_height", "int", false, 20)] public int wavefrm_height; - [DNAFieldAttribute(6, "int", "vecscope_height", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "vecscope_height", "int", false, 24)] public int vecscope_height; - [DNAFieldAttribute(7, "int", "waveform_tot", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "waveform_tot", "int", false, 28)] public int waveform_tot; - [DNAFieldAttribute(8, "float", "accuracy", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "accuracy", "float", false, 32)] public float accuracy; - [DNAFieldAttribute(9, "float", "wavefrm_alpha", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "wavefrm_alpha", "float", false, 36)] public float wavefrm_alpha; - [DNAFieldAttribute(10, "float", "wavefrm_yfac", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "wavefrm_yfac", "float", false, 40)] public float wavefrm_yfac; - [DNAFieldAttribute(11, "float", "vecscope_alpha", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "vecscope_alpha", "float", false, 44)] public float vecscope_alpha; - [DNAFieldAttribute(12, "float", "minmax[3][2]", "System.Single[,]", 24, false, 48)] + [DNAFieldAttribute(24, "float", 12, "minmax[3][2]", "System.Single[,]", false, 48)] public float[,] minmax = new System.Single[3,2]; - [DNAFieldAttribute(13, "Histogram", "hist", "Histogram", 5160, false, 72)] + [DNAFieldAttribute(5160, "Histogram", 13, "hist", "Histogram", false, 72)] public Histogram hist; - [DNAFieldAttribute(14, "float", "*waveform_1", "float", 8, true, 5232)] - public float ptr_waveform_1; - [DNAFieldAttribute(15, "float", "*waveform_2", "float", 8, true, 5240)] - public float ptr_waveform_2; - [DNAFieldAttribute(16, "float", "*waveform_3", "float", 8, true, 5248)] - public float ptr_waveform_3; - [DNAFieldAttribute(17, "float", "*vecscope", "float", 8, true, 5256)] - public float ptr_vecscope; - [DNAFieldAttribute(18, "float", "*vecscope_rgb", "float", 8, true, 5264)] - public float ptr_vecscope_rgb; + [DNAFieldAttribute(8, "float", 14, "*waveform_1", "float", true, 5232)] + public float waveform_1; + [DNAFieldAttribute(8, "float", 15, "*waveform_2", "float", true, 5240)] + public float waveform_2; + [DNAFieldAttribute(8, "float", 16, "*waveform_3", "float", true, 5248)] + public float waveform_3; + [DNAFieldAttribute(8, "float", 17, "*vecscope", "float", true, 5256)] + public float vecscope; + [DNAFieldAttribute(8, "float", 18, "*vecscope_rgb", "float", true, 5264)] + public float vecscope_rgb; public Scopes() { this.ok = default; this.sample_full = default; @@ -68,11 +68,11 @@ namespace BlendFile.DNA { 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; + this.waveform_1 = default; + this.waveform_2 = default; + this.waveform_3 = default; + this.vecscope = default; + this.vecscope_rgb = default; } public Scopes( int ok, @@ -89,11 +89,11 @@ namespace BlendFile.DNA { float vecscope_alpha, float[,] minmax, Histogram hist, - float ptr_waveform_1, - float ptr_waveform_2, - float ptr_waveform_3, - float ptr_vecscope, - float ptr_vecscope_rgb) { + float waveform_1, + float waveform_2, + float waveform_3, + float vecscope, + float vecscope_rgb) { this.ok = ok; this.sample_full = sample_full; this.sample_lines = sample_lines; @@ -108,11 +108,11 @@ namespace BlendFile.DNA { this.vecscope_alpha = vecscope_alpha; this.minmax = minmax; this.hist = hist; - this.ptr_waveform_1 = ptr_waveform_1; - this.ptr_waveform_2 = ptr_waveform_2; - this.ptr_waveform_3 = ptr_waveform_3; - this.ptr_vecscope = ptr_vecscope; - this.ptr_vecscope_rgb = ptr_vecscope_rgb; + this.waveform_1 = waveform_1; + this.waveform_2 = waveform_2; + this.waveform_3 = waveform_3; + this.vecscope = vecscope; + this.vecscope_rgb = vecscope_rgb; } } } diff --git a/BlendFile/DNA/ScrArea.cs b/BlendFile/DNA/ScrArea.cs index 9156836..d273801 100644 --- a/BlendFile/DNA/ScrArea.cs +++ b/BlendFile/DNA/ScrArea.cs @@ -15,64 +15,64 @@ namespace BlendFile.DNA { [DNAClassAttribute(863, "ScrArea", 184)] public class ScrArea { - [DNAFieldAttribute(0, "ScrArea", "*next", "ScrArea", 8, true, 0)] - public ScrArea ptr_next; - [DNAFieldAttribute(1, "ScrArea", "*prev", "ScrArea", 8, true, 8)] - public ScrArea ptr_prev; - [DNAFieldAttribute(2, "ScrVert", "*v1", "ScrVert", 8, true, 16)] - public ScrVert ptr_v1; - [DNAFieldAttribute(3, "ScrVert", "*v2", "ScrVert", 8, true, 24)] - public ScrVert ptr_v2; - [DNAFieldAttribute(4, "ScrVert", "*v3", "ScrVert", 8, true, 32)] - public ScrVert ptr_v3; - [DNAFieldAttribute(5, "ScrVert", "*v4", "ScrVert", 8, true, 40)] - public ScrVert ptr_v4; - [DNAFieldAttribute(6, "bScreen", "*full", "bScreen", 8, true, 48)] - public bScreen ptr_full; - [DNAFieldAttribute(7, "rcti", "totrct", "rcti", 16, false, 56)] + [DNAFieldAttribute(8, "ScrArea", 0, "*next", "ScrArea", true, 0)] + public ScrArea next; + [DNAFieldAttribute(8, "ScrArea", 1, "*prev", "ScrArea", true, 8)] + public ScrArea prev; + [DNAFieldAttribute(8, "ScrVert", 2, "*v1", "ScrVert", true, 16)] + public ScrVert v1; + [DNAFieldAttribute(8, "ScrVert", 3, "*v2", "ScrVert", true, 24)] + public ScrVert v2; + [DNAFieldAttribute(8, "ScrVert", 4, "*v3", "ScrVert", true, 32)] + public ScrVert v3; + [DNAFieldAttribute(8, "ScrVert", 5, "*v4", "ScrVert", true, 40)] + public ScrVert v4; + [DNAFieldAttribute(8, "bScreen", 6, "*full", "bScreen", true, 48)] + public bScreen full; + [DNAFieldAttribute(16, "rcti", 7, "totrct", "rcti", false, 56)] public rcti totrct; - [DNAFieldAttribute(8, "char", "spacetype", "char", 1, false, 72)] + [DNAFieldAttribute(1, "char", 8, "spacetype", "char", false, 72)] public char spacetype; - [DNAFieldAttribute(9, "char", "butspacetype", "char", 1, false, 73)] + [DNAFieldAttribute(1, "char", 9, "butspacetype", "char", false, 73)] public char butspacetype; - [DNAFieldAttribute(10, "short", "butspacetype_subtype", "short", 2, false, 74)] + [DNAFieldAttribute(2, "short", 10, "butspacetype_subtype", "short", false, 74)] public short butspacetype_subtype; - [DNAFieldAttribute(11, "short", "winx", "short", 2, false, 76)] + [DNAFieldAttribute(2, "short", 11, "winx", "short", false, 76)] public short winx; - [DNAFieldAttribute(12, "short", "winy", "short", 2, false, 78)] + [DNAFieldAttribute(2, "short", 12, "winy", "short", false, 78)] public short winy; - [DNAFieldAttribute(13, "char", "headertype", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 13, "headertype", "char", false, 80)] public char headertype; - [DNAFieldAttribute(14, "char", "do_refresh", "char", 1, false, 81)] + [DNAFieldAttribute(1, "char", 14, "do_refresh", "char", false, 81)] public char do_refresh; - [DNAFieldAttribute(15, "short", "flag", "short", 2, false, 82)] + [DNAFieldAttribute(2, "short", 15, "flag", "short", false, 82)] public short flag; - [DNAFieldAttribute(16, "short", "region_active_win", "short", 2, false, 84)] + [DNAFieldAttribute(2, "short", 16, "region_active_win", "short", false, 84)] public short region_active_win; - [DNAFieldAttribute(17, "char", "_pad[2]", "System.Char[]", 2, false, 86)] + [DNAFieldAttribute(2, "char", 17, "_pad[2]", "System.Char[]", false, 86)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(18, "SpaceType", "*type", "SpaceType", 8, true, 88)] - public SpaceType ptr_type; - [DNAFieldAttribute(19, "ScrGlobalAreaData", "*global", "ScrGlobalAreaData", 8, true, 96)] - public ScrGlobalAreaData ptr_global; - [DNAFieldAttribute(20, "ListBase", "spacedata", "ListBase", 16, false, 104)] + [DNAFieldAttribute(8, "SpaceType", 18, "*type", "SpaceType", true, 88)] + public SpaceType type; + [DNAFieldAttribute(8, "ScrGlobalAreaData", 19, "*global", "ScrGlobalAreaData", true, 96)] + public ScrGlobalAreaData global; + [DNAFieldAttribute(16, "ListBase", 20, "spacedata", "ListBase", false, 104)] public ListBase spacedata; - [DNAFieldAttribute(21, "ListBase", "regionbase", "ListBase", 16, false, 120)] + [DNAFieldAttribute(16, "ListBase", 21, "regionbase", "ListBase", false, 120)] public ListBase regionbase; - [DNAFieldAttribute(22, "ListBase", "handlers", "ListBase", 16, false, 136)] + [DNAFieldAttribute(16, "ListBase", 22, "handlers", "ListBase", false, 136)] public ListBase handlers; - [DNAFieldAttribute(23, "ListBase", "actionzones", "ListBase", 16, false, 152)] + [DNAFieldAttribute(16, "ListBase", 23, "actionzones", "ListBase", false, 152)] public ListBase actionzones; - [DNAFieldAttribute(24, "ScrArea_Runtime", "runtime", "ScrArea_Runtime", 16, false, 168)] + [DNAFieldAttribute(16, "ScrArea_Runtime", 24, "runtime", "ScrArea_Runtime", false, 168)] 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.next = default; + this.prev = default; + this.v1 = default; + this.v2 = default; + this.v3 = default; + this.v4 = default; + this.full = default; this.totrct = default; this.spacetype = default; this.butspacetype = default; @@ -84,8 +84,8 @@ namespace BlendFile.DNA { this.flag = default; this.region_active_win = default; this._pad = default; - this.ptr_type = default; - this.ptr_global = default; + this.type = default; + this.global = default; this.spacedata = default; this.regionbase = default; this.handlers = default; @@ -93,13 +93,13 @@ namespace BlendFile.DNA { this.runtime = default; } public ScrArea( - ScrArea ptr_next, - ScrArea ptr_prev, - ScrVert ptr_v1, - ScrVert ptr_v2, - ScrVert ptr_v3, - ScrVert ptr_v4, - bScreen ptr_full, + ScrArea next, + ScrArea prev, + ScrVert v1, + ScrVert v2, + ScrVert v3, + ScrVert v4, + bScreen full, rcti totrct, char spacetype, char butspacetype, @@ -111,20 +111,20 @@ namespace BlendFile.DNA { short flag, short region_active_win, char[] _pad, - SpaceType ptr_type, - ScrGlobalAreaData ptr_global, + SpaceType type, + ScrGlobalAreaData global, ListBase spacedata, ListBase regionbase, ListBase handlers, ListBase actionzones, ScrArea_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_v1 = ptr_v1; - this.ptr_v2 = ptr_v2; - this.ptr_v3 = ptr_v3; - this.ptr_v4 = ptr_v4; - this.ptr_full = ptr_full; + this.next = next; + this.prev = prev; + this.v1 = v1; + this.v2 = v2; + this.v3 = v3; + this.v4 = v4; + this.full = full; this.totrct = totrct; this.spacetype = spacetype; this.butspacetype = butspacetype; @@ -136,8 +136,8 @@ namespace BlendFile.DNA { this.flag = flag; this.region_active_win = region_active_win; this._pad = _pad; - this.ptr_type = ptr_type; - this.ptr_global = ptr_global; + this.type = type; + this.global = global; this.spacedata = spacedata; this.regionbase = regionbase; this.handlers = handlers; diff --git a/BlendFile/DNA/ScrAreaMap.cs b/BlendFile/DNA/ScrAreaMap.cs index c920925..ce8bfa1 100644 --- a/BlendFile/DNA/ScrAreaMap.cs +++ b/BlendFile/DNA/ScrAreaMap.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(848, "ScrAreaMap", 48)] - public struct ScrAreaMap { - [DNAFieldAttribute(0, "ListBase", "vertbase", "ListBase", 16, false, 0)] + public class ScrAreaMap { + [DNAFieldAttribute(16, "ListBase", 0, "vertbase", "ListBase", false, 0)] public ListBase vertbase; - [DNAFieldAttribute(1, "ListBase", "edgebase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(16, "ListBase", 1, "edgebase", "ListBase", false, 16)] public ListBase edgebase; - [DNAFieldAttribute(2, "ListBase", "areabase", "ListBase", 16, false, 32)] + [DNAFieldAttribute(16, "ListBase", 2, "areabase", "ListBase", false, 32)] public ListBase areabase; public ScrAreaMap() { this.vertbase = default; diff --git a/BlendFile/DNA/ScrArea_Runtime.cs b/BlendFile/DNA/ScrArea_Runtime.cs index 39f240d..4125081 100644 --- a/BlendFile/DNA/ScrArea_Runtime.cs +++ b/BlendFile/DNA/ScrArea_Runtime.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(861, "ScrArea_Runtime", 16)] public class ScrArea_Runtime { - [DNAFieldAttribute(0, "bToolRef", "*tool", "bToolRef", 8, true, 0)] - public bToolRef ptr_tool; - [DNAFieldAttribute(1, "char", "is_tool_set", "char", 1, false, 8)] + [DNAFieldAttribute(8, "bToolRef", 0, "*tool", "bToolRef", true, 0)] + public bToolRef tool; + [DNAFieldAttribute(1, "char", 1, "is_tool_set", "char", false, 8)] public char is_tool_set; - [DNAFieldAttribute(2, "char", "_pad0[7]", "System.Char[]", 7, false, 9)] + [DNAFieldAttribute(7, "char", 2, "_pad0[7]", "System.Char[]", false, 9)] public char[] _pad0 = new System.Char[7]; public ScrArea_Runtime() { - this.ptr_tool = default; + this.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; + public ScrArea_Runtime(bToolRef tool, char is_tool_set, char[] _pad0) { + this.tool = tool; this.is_tool_set = is_tool_set; this._pad0 = _pad0; } diff --git a/BlendFile/DNA/ScrEdge.cs b/BlendFile/DNA/ScrEdge.cs index cf6545b..72a7564 100644 --- a/BlendFile/DNA/ScrEdge.cs +++ b/BlendFile/DNA/ScrEdge.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(847, "ScrEdge", 40)] public class ScrEdge { - [DNAFieldAttribute(0, "ScrEdge", "*next", "ScrEdge", 8, true, 0)] - public ScrEdge ptr_next; - [DNAFieldAttribute(1, "ScrEdge", "*prev", "ScrEdge", 8, true, 8)] - public ScrEdge ptr_prev; - [DNAFieldAttribute(2, "ScrVert", "*v1", "ScrVert", 8, true, 16)] - public ScrVert ptr_v1; - [DNAFieldAttribute(3, "ScrVert", "*v2", "ScrVert", 8, true, 24)] - public ScrVert ptr_v2; - [DNAFieldAttribute(4, "short", "border", "short", 2, false, 32)] + [DNAFieldAttribute(8, "ScrEdge", 0, "*next", "ScrEdge", true, 0)] + public ScrEdge next; + [DNAFieldAttribute(8, "ScrEdge", 1, "*prev", "ScrEdge", true, 8)] + public ScrEdge prev; + [DNAFieldAttribute(8, "ScrVert", 2, "*v1", "ScrVert", true, 16)] + public ScrVert v1; + [DNAFieldAttribute(8, "ScrVert", 3, "*v2", "ScrVert", true, 24)] + public ScrVert v2; + [DNAFieldAttribute(2, "short", 4, "border", "short", false, 32)] public short border; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 34)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 34)] public short flag; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 36)] 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.next = default; + this.prev = default; + this.v1 = default; + this.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; - this.ptr_v1 = ptr_v1; - this.ptr_v2 = ptr_v2; + public ScrEdge(ScrEdge next, ScrEdge prev, ScrVert v1, ScrVert v2, short border, short flag, char[] _pad) { + this.next = next; + this.prev = prev; + this.v1 = v1; + this.v2 = v2; this.border = border; this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/ScrGlobalAreaData.cs b/BlendFile/DNA/ScrGlobalAreaData.cs index 73b8104..caa3fe4 100644 --- a/BlendFile/DNA/ScrGlobalAreaData.cs +++ b/BlendFile/DNA/ScrGlobalAreaData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(860, "ScrGlobalAreaData", 12)] - public struct ScrGlobalAreaData { - [DNAFieldAttribute(0, "short", "cur_fixed_height", "short", 2, false, 0)] + public class ScrGlobalAreaData { + [DNAFieldAttribute(2, "short", 0, "cur_fixed_height", "short", false, 0)] public short cur_fixed_height; - [DNAFieldAttribute(1, "short", "size_min", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "size_min", "short", false, 2)] public short size_min; - [DNAFieldAttribute(2, "short", "size_max", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "size_max", "short", false, 4)] public short size_max; - [DNAFieldAttribute(3, "short", "align", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "align", "short", false, 6)] public short align; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 8)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 10)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 10)] public char[] _pad = new System.Char[2]; public ScrGlobalAreaData() { this.cur_fixed_height = default; diff --git a/BlendFile/DNA/ScrVert.cs b/BlendFile/DNA/ScrVert.cs index 2cdf9cd..e266b92 100644 --- a/BlendFile/DNA/ScrVert.cs +++ b/BlendFile/DNA/ScrVert.cs @@ -15,30 +15,30 @@ namespace BlendFile.DNA { [DNAClassAttribute(845, "ScrVert", 32)] public class ScrVert { - [DNAFieldAttribute(0, "ScrVert", "*next", "ScrVert", 8, true, 0)] - public ScrVert ptr_next; - [DNAFieldAttribute(1, "ScrVert", "*prev", "ScrVert", 8, true, 8)] - public ScrVert ptr_prev; - [DNAFieldAttribute(2, "ScrVert", "*newv", "ScrVert", 8, true, 16)] - public ScrVert ptr_newv; - [DNAFieldAttribute(3, "vec2s", "vec", "vec2s", 4, false, 24)] + [DNAFieldAttribute(8, "ScrVert", 0, "*next", "ScrVert", true, 0)] + public ScrVert next; + [DNAFieldAttribute(8, "ScrVert", 1, "*prev", "ScrVert", true, 8)] + public ScrVert prev; + [DNAFieldAttribute(8, "ScrVert", 2, "*newv", "ScrVert", true, 16)] + public ScrVert newv; + [DNAFieldAttribute(4, "vec2s", 3, "vec", "vec2s", false, 24)] public vec2s vec; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 28)] public short flag; - [DNAFieldAttribute(5, "short", "editflag", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 5, "editflag", "short", false, 30)] public short editflag; public ScrVert() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_newv = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_newv = ptr_newv; + public ScrVert(ScrVert next, ScrVert prev, ScrVert newv, vec2s vec, short flag, short editflag) { + this.next = next; + this.prev = prev; + this.newv = newv; this.vec = vec; this.flag = flag; this.editflag = editflag; diff --git a/BlendFile/DNA/ScrewModifierData.cs b/BlendFile/DNA/ScrewModifierData.cs index e2c6aca..bb36fa4 100644 --- a/BlendFile/DNA/ScrewModifierData.cs +++ b/BlendFile/DNA/ScrewModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(488, "ScrewModifierData", 168)] public class ScrewModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*ob_axis", "Object", 8, true, 120)] - public Object ptr_ob_axis; - [DNAFieldAttribute(2, "int", "steps", "int", 4, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*ob_axis", "Object", true, 120)] + public Object ob_axis; + [DNAFieldAttribute(4, "int", 2, "steps", "int", false, 128)] public int steps; - [DNAFieldAttribute(3, "int", "render_steps", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 3, "render_steps", "int", false, 132)] public int render_steps; - [DNAFieldAttribute(4, "int", "iter", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 4, "iter", "int", false, 136)] public int iter; - [DNAFieldAttribute(5, "float", "screw_ofs", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 5, "screw_ofs", "float", false, 140)] public float screw_ofs; - [DNAFieldAttribute(6, "float", "angle", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 6, "angle", "float", false, 144)] public float angle; - [DNAFieldAttribute(7, "float", "merge_dist", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 7, "merge_dist", "float", false, 148)] public float merge_dist; - [DNAFieldAttribute(8, "short", "flag", "short", 2, false, 152)] + [DNAFieldAttribute(2, "short", 8, "flag", "short", false, 152)] public short flag; - [DNAFieldAttribute(9, "char", "axis", "char", 1, false, 154)] + [DNAFieldAttribute(1, "char", 9, "axis", "char", false, 154)] public char axis; - [DNAFieldAttribute(10, "char", "_pad[5]", "System.Char[]", 5, false, 155)] + [DNAFieldAttribute(5, "char", 10, "_pad[5]", "System.Char[]", false, 155)] public char[] _pad = new System.Char[5]; - [DNAFieldAttribute(11, "void", "*_pad1", "void", 8, true, 160)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 11, "*_pad1", "void", true, 160)] + public object _pad1; public ScrewModifierData() { this.modifier = default; - this.ptr_ob_axis = default; + this.ob_axis = default; this.steps = default; this.render_steps = default; this.iter = default; @@ -51,11 +51,11 @@ namespace BlendFile.DNA { this.flag = default; this.axis = default; this._pad = default; - this.ptr__pad1 = default; + this._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) { + public ScrewModifierData(ModifierData modifier, Object ob_axis, int steps, int render_steps, int iter, float screw_ofs, float angle, float merge_dist, short flag, char axis, char[] _pad, object _pad1) { this.modifier = modifier; - this.ptr_ob_axis = ptr_ob_axis; + this.ob_axis = ob_axis; this.steps = steps; this.render_steps = render_steps; this.iter = iter; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { this.flag = flag; this.axis = axis; this._pad = _pad; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/Script.cs b/BlendFile/DNA/Script.cs index 4d71cfc..d7bceb2 100644 --- a/BlendFile/DNA/Script.cs +++ b/BlendFile/DNA/Script.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(953, "Script", 1536)] public class Script { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "void", "*py_draw", "void", 8, true, 208)] - public object ptr_py_draw; - [DNAFieldAttribute(2, "void", "*py_event", "void", 8, true, 216)] - public object ptr_py_event; - [DNAFieldAttribute(3, "void", "*py_button", "void", 8, true, 224)] - public object ptr_py_button; - [DNAFieldAttribute(4, "void", "*py_browsercallback", "void", 8, true, 232)] - public object ptr_py_browsercallback; - [DNAFieldAttribute(5, "void", "*py_globaldict", "void", 8, true, 240)] - public object ptr_py_globaldict; - [DNAFieldAttribute(6, "int", "flags", "int", 4, false, 248)] + [DNAFieldAttribute(8, "void", 1, "*py_draw", "void", true, 208)] + public object py_draw; + [DNAFieldAttribute(8, "void", 2, "*py_event", "void", true, 216)] + public object py_event; + [DNAFieldAttribute(8, "void", 3, "*py_button", "void", true, 224)] + public object py_button; + [DNAFieldAttribute(8, "void", 4, "*py_browsercallback", "void", true, 232)] + public object py_browsercallback; + [DNAFieldAttribute(8, "void", 5, "*py_globaldict", "void", true, 240)] + public object py_globaldict; + [DNAFieldAttribute(4, "int", 6, "flags", "int", false, 248)] public int flags; - [DNAFieldAttribute(7, "int", "lastspace", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 7, "lastspace", "int", false, 252)] public int lastspace; - [DNAFieldAttribute(8, "char", "scriptname[1024]", "System.Char[]", 1024, false, 256)] + [DNAFieldAttribute(1024, "char", 8, "scriptname[1024]", "System.Char[]", false, 256)] public char[] scriptname = new System.Char[1024]; - [DNAFieldAttribute(9, "char", "scriptarg[256]", "System.Char[]", 256, false, 1280)] + [DNAFieldAttribute(256, "char", 9, "scriptarg[256]", "System.Char[]", false, 1280)] 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.py_draw = default; + this.py_event = default; + this.py_button = default; + this.py_browsercallback = default; + this.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) { + public Script(ID id, object py_draw, object py_event, object py_button, object py_browsercallback, object py_globaldict, int flags, int lastspace, char[] scriptname, char[] scriptarg) { this.id = id; - this.ptr_py_draw = ptr_py_draw; - this.ptr_py_event = ptr_py_event; - this.ptr_py_button = ptr_py_button; - this.ptr_py_browsercallback = ptr_py_browsercallback; - this.ptr_py_globaldict = ptr_py_globaldict; + this.py_draw = py_draw; + this.py_event = py_event; + this.py_button = py_button; + this.py_browsercallback = py_browsercallback; + this.py_globaldict = py_globaldict; this.flags = flags; this.lastspace = lastspace; this.scriptname = scriptname; diff --git a/BlendFile/DNA/Sculpt.cs b/BlendFile/DNA/Sculpt.cs index 188b944..578e505 100644 --- a/BlendFile/DNA/Sculpt.cs +++ b/BlendFile/DNA/Sculpt.cs @@ -15,46 +15,46 @@ namespace BlendFile.DNA { [DNAClassAttribute(812, "Sculpt", 216)] public class Sculpt { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "int", "flags", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "flags", "int", false, 120)] public int flags; - [DNAFieldAttribute(2, "int", "transform_mode", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 2, "transform_mode", "int", false, 124)] public int transform_mode; - [DNAFieldAttribute(3, "int", "automasking_flags", "int", 4, false, 128)] + [DNAFieldAttribute(4, "int", 3, "automasking_flags", "int", false, 128)] public int automasking_flags; - [DNAFieldAttribute(4, "int", "radial_symm[3]", "System.Int32[]", 12, false, 132)] + [DNAFieldAttribute(12, "int", 4, "radial_symm[3]", "System.Int32[]", false, 132)] public int[] radial_symm = new System.Int32[3]; - [DNAFieldAttribute(5, "float", "detail_size", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 5, "detail_size", "float", false, 144)] public float detail_size; - [DNAFieldAttribute(6, "int", "symmetrize_direction", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 6, "symmetrize_direction", "int", false, 148)] public int symmetrize_direction; - [DNAFieldAttribute(7, "float", "gravity_factor", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 7, "gravity_factor", "float", false, 152)] public float gravity_factor; - [DNAFieldAttribute(8, "float", "constant_detail", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 8, "constant_detail", "float", false, 156)] public float constant_detail; - [DNAFieldAttribute(9, "float", "detail_percent", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 9, "detail_percent", "float", false, 160)] public float detail_percent; - [DNAFieldAttribute(10, "int", "automasking_boundary_edges_propagation_steps", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 10, "automasking_boundary_edges_propagation_steps", "int", false, 164)] public int automasking_boundary_edges_propagation_steps; - [DNAFieldAttribute(11, "int", "automasking_cavity_blur_steps", "int", 4, false, 168)] + [DNAFieldAttribute(4, "int", 11, "automasking_cavity_blur_steps", "int", false, 168)] public int automasking_cavity_blur_steps; - [DNAFieldAttribute(12, "float", "automasking_cavity_factor", "float", 4, false, 172)] + [DNAFieldAttribute(4, "float", 12, "automasking_cavity_factor", "float", false, 172)] public float automasking_cavity_factor; - [DNAFieldAttribute(13, "float", "automasking_start_normal_limit", "float", 4, false, 176)] + [DNAFieldAttribute(4, "float", 13, "automasking_start_normal_limit", "float", false, 176)] public float automasking_start_normal_limit; - [DNAFieldAttribute(14, "float", "automasking_start_normal_falloff", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 14, "automasking_start_normal_falloff", "float", false, 180)] public float automasking_start_normal_falloff; - [DNAFieldAttribute(15, "float", "automasking_view_normal_limit", "float", 4, false, 184)] + [DNAFieldAttribute(4, "float", 15, "automasking_view_normal_limit", "float", false, 184)] public float automasking_view_normal_limit; - [DNAFieldAttribute(16, "float", "automasking_view_normal_falloff", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 16, "automasking_view_normal_falloff", "float", false, 188)] public float automasking_view_normal_falloff; - [DNAFieldAttribute(17, "CurveMapping", "*automasking_cavity_curve", "CurveMapping", 8, true, 192)] - public CurveMapping ptr_automasking_cavity_curve; - [DNAFieldAttribute(18, "CurveMapping", "*automasking_cavity_curve_op", "CurveMapping", 8, true, 200)] - public CurveMapping ptr_automasking_cavity_curve_op; - [DNAFieldAttribute(19, "Object", "*gravity_object", "Object", 8, true, 208)] - public Object ptr_gravity_object; + [DNAFieldAttribute(8, "CurveMapping", 17, "*automasking_cavity_curve", "CurveMapping", true, 192)] + public CurveMapping automasking_cavity_curve; + [DNAFieldAttribute(8, "CurveMapping", 18, "*automasking_cavity_curve_op", "CurveMapping", true, 200)] + public CurveMapping automasking_cavity_curve_op; + [DNAFieldAttribute(8, "Object", 19, "*gravity_object", "Object", true, 208)] + public Object gravity_object; public Sculpt() { this.paint = default; this.flags = default; @@ -73,9 +73,9 @@ namespace BlendFile.DNA { 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; + this.automasking_cavity_curve = default; + this.automasking_cavity_curve_op = default; + this.gravity_object = default; } public Sculpt( Paint paint, @@ -95,9 +95,9 @@ namespace BlendFile.DNA { float automasking_start_normal_falloff, float automasking_view_normal_limit, float automasking_view_normal_falloff, - CurveMapping ptr_automasking_cavity_curve, - CurveMapping ptr_automasking_cavity_curve_op, - Object ptr_gravity_object) { + CurveMapping automasking_cavity_curve, + CurveMapping automasking_cavity_curve_op, + Object gravity_object) { this.paint = paint; this.flags = flags; this.transform_mode = transform_mode; @@ -115,9 +115,9 @@ namespace BlendFile.DNA { this.automasking_start_normal_falloff = automasking_start_normal_falloff; this.automasking_view_normal_limit = automasking_view_normal_limit; this.automasking_view_normal_falloff = automasking_view_normal_falloff; - this.ptr_automasking_cavity_curve = ptr_automasking_cavity_curve; - this.ptr_automasking_cavity_curve_op = ptr_automasking_cavity_curve_op; - this.ptr_gravity_object = ptr_gravity_object; + this.automasking_cavity_curve = automasking_cavity_curve; + this.automasking_cavity_curve_op = automasking_cavity_curve_op; + this.gravity_object = gravity_object; } } } diff --git a/BlendFile/DNA/SeqConnection.cs b/BlendFile/DNA/SeqConnection.cs index 1354b16..ad83ddd 100644 --- a/BlendFile/DNA/SeqConnection.cs +++ b/BlendFile/DNA/SeqConnection.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(889, "SeqConnection", 24)] public class SeqConnection { - [DNAFieldAttribute(0, "SeqConnection", "*next", "SeqConnection", 8, true, 0)] - public SeqConnection ptr_next; - [DNAFieldAttribute(1, "SeqConnection", "*prev", "SeqConnection", 8, true, 8)] - public SeqConnection ptr_prev; - [DNAFieldAttribute(2, "Sequence", "*seq_ref", "Sequence", 8, true, 16)] - public Sequence ptr_seq_ref; + [DNAFieldAttribute(8, "SeqConnection", 0, "*next", "SeqConnection", true, 0)] + public SeqConnection next; + [DNAFieldAttribute(8, "SeqConnection", 1, "*prev", "SeqConnection", true, 8)] + public SeqConnection prev; + [DNAFieldAttribute(8, "Sequence", 2, "*seq_ref", "Sequence", true, 16)] + public Sequence seq_ref; public SeqConnection() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_seq_ref = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_seq_ref = ptr_seq_ref; + public SeqConnection(SeqConnection next, SeqConnection prev, Sequence seq_ref) { + this.next = next; + this.prev = prev; + this.seq_ref = seq_ref; } } } diff --git a/BlendFile/DNA/SeqRetimingHandle.cs b/BlendFile/DNA/SeqRetimingHandle.cs index 47ce047..2486ef1 100644 --- a/BlendFile/DNA/SeqRetimingHandle.cs +++ b/BlendFile/DNA/SeqRetimingHandle.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(883, "SeqRetimingHandle", 40)] - public struct SeqRetimingHandle { - [DNAFieldAttribute(0, "double", "strip_frame_index", "double", 8, false, 0)] + public class SeqRetimingHandle { + [DNAFieldAttribute(8, "double", 0, "strip_frame_index", "double", false, 0)] public double strip_frame_index; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "int", "_pad0", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "_pad0", "int", false, 12)] public int _pad0; - [DNAFieldAttribute(3, "float", "retiming_factor", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 3, "retiming_factor", "float", false, 16)] public float retiming_factor; - [DNAFieldAttribute(4, "char", "_pad1[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad1[4]", "System.Char[]", false, 20)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(5, "double", "original_strip_frame_index", "double", 8, false, 24)] + [DNAFieldAttribute(8, "double", 5, "original_strip_frame_index", "double", false, 24)] public double original_strip_frame_index; - [DNAFieldAttribute(6, "float", "original_retiming_factor", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 6, "original_retiming_factor", "float", false, 32)] public float original_retiming_factor; - [DNAFieldAttribute(7, "char", "_pad2[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", false, 36)] public char[] _pad2 = new System.Char[4]; public SeqRetimingHandle() { this.strip_frame_index = default; diff --git a/BlendFile/DNA/SeqTimelineChannel.cs b/BlendFile/DNA/SeqTimelineChannel.cs index f7daaf1..48f8fb2 100644 --- a/BlendFile/DNA/SeqTimelineChannel.cs +++ b/BlendFile/DNA/SeqTimelineChannel.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(888, "SeqTimelineChannel", 88)] public class SeqTimelineChannel { - [DNAFieldAttribute(0, "SeqTimelineChannel", "*next", "SeqTimelineChannel", 8, true, 0)] - public SeqTimelineChannel ptr_next; - [DNAFieldAttribute(1, "SeqTimelineChannel", "*prev", "SeqTimelineChannel", 8, true, 8)] - public SeqTimelineChannel ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "SeqTimelineChannel", 0, "*next", "SeqTimelineChannel", true, 0)] + public SeqTimelineChannel next; + [DNAFieldAttribute(8, "SeqTimelineChannel", 1, "*prev", "SeqTimelineChannel", true, 8)] + public SeqTimelineChannel prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "int", "index", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 3, "index", "int", false, 80)] public int index; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 84)] public int flag; public SeqTimelineChannel() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public SeqTimelineChannel(SeqTimelineChannel next, SeqTimelineChannel prev, char[] name, int index, int flag) { + this.next = next; + this.prev = prev; this.name = name; this.index = index; this.flag = flag; diff --git a/BlendFile/DNA/Sequence.cs b/BlendFile/DNA/Sequence.cs index 3935a1c..fd249e0 100644 --- a/BlendFile/DNA/Sequence.cs +++ b/BlendFile/DNA/Sequence.cs @@ -15,147 +15,147 @@ namespace BlendFile.DNA { [DNAClassAttribute(885, "Sequence", 464)] public class Sequence { - [DNAFieldAttribute(0, "Sequence", "*next", "Sequence", 8, true, 0)] - public Sequence ptr_next; - [DNAFieldAttribute(1, "Sequence", "*prev", "Sequence", 8, true, 8)] - public Sequence ptr_prev; - [DNAFieldAttribute(2, "void", "*tmp", "void", 8, true, 16)] - public object ptr_tmp; - [DNAFieldAttribute(3, "void", "*lib", "void", 8, true, 24)] - public object ptr_lib; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(8, "Sequence", 0, "*next", "Sequence", true, 0)] + public Sequence next; + [DNAFieldAttribute(8, "Sequence", 1, "*prev", "Sequence", true, 8)] + public Sequence prev; + [DNAFieldAttribute(8, "void", 2, "*tmp", "void", true, 16)] + public object tmp; + [DNAFieldAttribute(8, "void", 3, "*lib", "void", true, 24)] + public object lib; + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 32)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 96)] public int flag; - [DNAFieldAttribute(6, "int", "type", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 6, "type", "int", false, 100)] public int type; - [DNAFieldAttribute(7, "int", "len", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 7, "len", "int", false, 104)] public int len; - [DNAFieldAttribute(8, "float", "start", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 8, "start", "float", false, 108)] public float start; - [DNAFieldAttribute(9, "float", "startofs", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 9, "startofs", "float", false, 112)] public float startofs; - [DNAFieldAttribute(10, "float", "endofs", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 10, "endofs", "float", false, 116)] public float endofs; - [DNAFieldAttribute(11, "float", "startstill", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 11, "startstill", "float", false, 120)] public float startstill; - [DNAFieldAttribute(12, "float", "endstill", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 12, "endstill", "float", false, 124)] public float endstill; - [DNAFieldAttribute(13, "int", "machine", "int", 4, false, 128)] + [DNAFieldAttribute(4, "int", 13, "machine", "int", false, 128)] public int machine; - [DNAFieldAttribute(14, "int", "startdisp", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 14, "startdisp", "int", false, 132)] public int startdisp; - [DNAFieldAttribute(15, "int", "enddisp", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 15, "enddisp", "int", false, 136)] public int enddisp; - [DNAFieldAttribute(16, "float", "sat", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 16, "sat", "float", false, 140)] public float sat; - [DNAFieldAttribute(17, "float", "mul", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 17, "mul", "float", false, 144)] public float mul; - [DNAFieldAttribute(18, "short", "streamindex", "short", 2, false, 148)] + [DNAFieldAttribute(2, "short", 18, "streamindex", "short", false, 148)] public short streamindex; - [DNAFieldAttribute(19, "short", "_pad", "short", 2, false, 150)] + [DNAFieldAttribute(2, "short", 19, "_pad", "short", false, 150)] public short _pad; - [DNAFieldAttribute(20, "int", "multicam_source", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 20, "multicam_source", "int", false, 152)] public int multicam_source; - [DNAFieldAttribute(21, "int", "clip_flag", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 21, "clip_flag", "int", false, 156)] public int clip_flag; - [DNAFieldAttribute(22, "Strip", "*strip", "Strip", 8, true, 160)] - public Strip ptr_strip; - [DNAFieldAttribute(23, "Ipo", "*ipo", "Ipo", 8, true, 168)] - public Ipo ptr_ipo; - [DNAFieldAttribute(24, "Scene", "*scene", "Scene", 8, true, 176)] - public Scene ptr_scene; - [DNAFieldAttribute(25, "Object", "*scene_camera", "Object", 8, true, 184)] - public Object ptr_scene_camera; - [DNAFieldAttribute(26, "MovieClip", "*clip", "MovieClip", 8, true, 192)] - public MovieClip ptr_clip; - [DNAFieldAttribute(27, "Mask", "*mask", "Mask", 8, true, 200)] - public Mask ptr_mask; - [DNAFieldAttribute(28, "ListBase", "anims", "ListBase", 16, false, 208)] + [DNAFieldAttribute(8, "Strip", 22, "*strip", "Strip", true, 160)] + public Strip strip; + [DNAFieldAttribute(8, "Ipo", 23, "*ipo", "Ipo", true, 168)] + public Ipo ipo; + [DNAFieldAttribute(8, "Scene", 24, "*scene", "Scene", true, 176)] + public Scene scene; + [DNAFieldAttribute(8, "Object", 25, "*scene_camera", "Object", true, 184)] + public Object scene_camera; + [DNAFieldAttribute(8, "MovieClip", 26, "*clip", "MovieClip", true, 192)] + public MovieClip clip; + [DNAFieldAttribute(8, "Mask", 27, "*mask", "Mask", true, 200)] + public Mask mask; + [DNAFieldAttribute(16, "ListBase", 28, "anims", "ListBase", false, 208)] public ListBase anims; - [DNAFieldAttribute(29, "float", "effect_fader", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 29, "effect_fader", "float", false, 224)] public float effect_fader; - [DNAFieldAttribute(30, "float", "speed_fader", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 30, "speed_fader", "float", false, 228)] public float speed_fader; - [DNAFieldAttribute(31, "Sequence", "*seq1", "Sequence", 8, true, 232)] - public Sequence ptr_seq1; - [DNAFieldAttribute(32, "Sequence", "*seq2", "Sequence", 8, true, 240)] - public Sequence ptr_seq2; - [DNAFieldAttribute(33, "void", "*_pad7", "void", 8, true, 248)] - public object ptr__pad7; - [DNAFieldAttribute(34, "int", "_pad8[2]", "System.Int32[]", 8, false, 256)] + [DNAFieldAttribute(8, "Sequence", 31, "*seq1", "Sequence", true, 232)] + public Sequence seq1; + [DNAFieldAttribute(8, "Sequence", 32, "*seq2", "Sequence", true, 240)] + public Sequence seq2; + [DNAFieldAttribute(8, "void", 33, "*_pad7", "void", true, 248)] + public object _pad7; + [DNAFieldAttribute(8, "int", 34, "_pad8[2]", "System.Int32[]", false, 256)] public int[] _pad8 = new System.Int32[2]; - [DNAFieldAttribute(35, "ListBase", "seqbase", "ListBase", 16, false, 264)] + [DNAFieldAttribute(16, "ListBase", 35, "seqbase", "ListBase", false, 264)] public ListBase seqbase; - [DNAFieldAttribute(36, "ListBase", "channels", "ListBase", 16, false, 280)] + [DNAFieldAttribute(16, "ListBase", 36, "channels", "ListBase", false, 280)] public ListBase channels; - [DNAFieldAttribute(37, "ListBase", "connections", "ListBase", 16, false, 296)] + [DNAFieldAttribute(16, "ListBase", 37, "connections", "ListBase", false, 296)] public ListBase connections; - [DNAFieldAttribute(38, "bSound", "*sound", "bSound", 8, true, 312)] - public bSound ptr_sound; - [DNAFieldAttribute(39, "void", "*scene_sound", "void", 8, true, 320)] - public object ptr_scene_sound; - [DNAFieldAttribute(40, "float", "volume", "float", 4, false, 328)] + [DNAFieldAttribute(8, "bSound", 38, "*sound", "bSound", true, 312)] + public bSound sound; + [DNAFieldAttribute(8, "void", 39, "*scene_sound", "void", true, 320)] + public object scene_sound; + [DNAFieldAttribute(4, "float", 40, "volume", "float", false, 328)] public float volume; - [DNAFieldAttribute(41, "float", "pitch", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 41, "pitch", "float", false, 332)] public float pitch; - [DNAFieldAttribute(42, "float", "pan", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 42, "pan", "float", false, 336)] public float pan; - [DNAFieldAttribute(43, "float", "strobe", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 43, "strobe", "float", false, 340)] public float strobe; - [DNAFieldAttribute(44, "float", "sound_offset", "float", 4, false, 344)] + [DNAFieldAttribute(4, "float", 44, "sound_offset", "float", false, 344)] public float sound_offset; - [DNAFieldAttribute(45, "char", "_pad4[4]", "System.Char[]", 4, false, 348)] + [DNAFieldAttribute(4, "char", 45, "_pad4[4]", "System.Char[]", false, 348)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(46, "void", "*effectdata", "void", 8, true, 352)] - public object ptr_effectdata; - [DNAFieldAttribute(47, "int", "anim_startofs", "int", 4, false, 360)] + [DNAFieldAttribute(8, "void", 46, "*effectdata", "void", true, 352)] + public object effectdata; + [DNAFieldAttribute(4, "int", 47, "anim_startofs", "int", false, 360)] public int anim_startofs; - [DNAFieldAttribute(48, "int", "anim_endofs", "int", 4, false, 364)] + [DNAFieldAttribute(4, "int", 48, "anim_endofs", "int", false, 364)] public int anim_endofs; - [DNAFieldAttribute(49, "int", "blend_mode", "int", 4, false, 368)] + [DNAFieldAttribute(4, "int", 49, "blend_mode", "int", false, 368)] public int blend_mode; - [DNAFieldAttribute(50, "float", "blend_opacity", "float", 4, false, 372)] + [DNAFieldAttribute(4, "float", 50, "blend_opacity", "float", false, 372)] public float blend_opacity; - [DNAFieldAttribute(51, "int8_t", "color_tag", "int8_t", 1, false, 376)] + [DNAFieldAttribute(1, "int8_t", 51, "color_tag", "int8_t", false, 376)] public sbyte color_tag; - [DNAFieldAttribute(52, "char", "alpha_mode", "char", 1, false, 377)] + [DNAFieldAttribute(1, "char", 52, "alpha_mode", "char", false, 377)] public char alpha_mode; - [DNAFieldAttribute(53, "char", "_pad2[2]", "System.Char[]", 2, false, 378)] + [DNAFieldAttribute(2, "char", 53, "_pad2[2]", "System.Char[]", false, 378)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(54, "int", "cache_flag", "int", 4, false, 380)] + [DNAFieldAttribute(4, "int", 54, "cache_flag", "int", false, 380)] public int cache_flag; - [DNAFieldAttribute(55, "int", "sfra", "int", 4, false, 384)] + [DNAFieldAttribute(4, "int", 55, "sfra", "int", false, 384)] public int sfra; - [DNAFieldAttribute(56, "char", "views_format", "char", 1, false, 388)] + [DNAFieldAttribute(1, "char", 56, "views_format", "char", false, 388)] public char views_format; - [DNAFieldAttribute(57, "char", "_pad3[3]", "System.Char[]", 3, false, 389)] + [DNAFieldAttribute(3, "char", 57, "_pad3[3]", "System.Char[]", false, 389)] public char[] _pad3 = new System.Char[3]; - [DNAFieldAttribute(58, "Stereo3dFormat", "*stereo3d_format", "Stereo3dFormat", 8, true, 392)] - public Stereo3dFormat ptr_stereo3d_format; - [DNAFieldAttribute(59, "IDProperty", "*prop", "IDProperty", 8, true, 400)] - public IDProperty ptr_prop; - [DNAFieldAttribute(60, "ListBase", "modifiers", "ListBase", 16, false, 408)] + [DNAFieldAttribute(8, "Stereo3dFormat", 58, "*stereo3d_format", "Stereo3dFormat", true, 392)] + public Stereo3dFormat stereo3d_format; + [DNAFieldAttribute(8, "IDProperty", 59, "*prop", "IDProperty", true, 400)] + public IDProperty prop; + [DNAFieldAttribute(16, "ListBase", 60, "modifiers", "ListBase", false, 408)] public ListBase modifiers; - [DNAFieldAttribute(61, "float", "media_playback_rate", "float", 4, false, 424)] + [DNAFieldAttribute(4, "float", 61, "media_playback_rate", "float", false, 424)] public float media_playback_rate; - [DNAFieldAttribute(62, "float", "speed_factor", "float", 4, false, 428)] + [DNAFieldAttribute(4, "float", 62, "speed_factor", "float", false, 428)] public float speed_factor; - [DNAFieldAttribute(63, "SeqRetimingHandle", "*retiming_handles", "SeqRetimingHandle", 8, true, 432)] - public SeqRetimingHandle ptr_retiming_handles; - [DNAFieldAttribute(64, "void", "*_pad5", "void", 8, true, 440)] - public object ptr__pad5; - [DNAFieldAttribute(65, "int", "retiming_handle_num", "int", 4, false, 448)] + [DNAFieldAttribute(8, "SeqRetimingHandle", 63, "*retiming_handles", "SeqRetimingHandle", true, 432)] + public SeqRetimingHandle retiming_handles; + [DNAFieldAttribute(8, "void", 64, "*_pad5", "void", true, 440)] + public object _pad5; + [DNAFieldAttribute(4, "int", 65, "retiming_handle_num", "int", false, 448)] public int retiming_handle_num; - [DNAFieldAttribute(66, "char", "_pad6[4]", "System.Char[]", 4, false, 452)] + [DNAFieldAttribute(4, "char", 66, "_pad6[4]", "System.Char[]", false, 452)] public char[] _pad6 = new System.Char[4]; - [DNAFieldAttribute(67, "SequenceRuntime", "runtime", "SequenceRuntime", 8, false, 456)] + [DNAFieldAttribute(8, "SequenceRuntime", 67, "runtime", "SequenceRuntime", false, 456)] public SequenceRuntime runtime; public Sequence() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_tmp = default; - this.ptr_lib = default; + this.next = default; + this.prev = default; + this.tmp = default; + this.lib = default; this.name = default; this.flag = default; this.type = default; @@ -174,31 +174,31 @@ namespace BlendFile.DNA { 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.strip = default; + this.ipo = default; + this.scene = default; + this.scene_camera = default; + this.clip = default; + this.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.seq1 = default; + this.seq2 = default; + this._pad7 = default; this._pad8 = default; this.seqbase = default; this.channels = default; this.connections = default; - this.ptr_sound = default; - this.ptr_scene_sound = default; + this.sound = default; + this.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.effectdata = default; this.anim_startofs = default; this.anim_endofs = default; this.blend_mode = default; @@ -210,22 +210,22 @@ namespace BlendFile.DNA { this.sfra = default; this.views_format = default; this._pad3 = default; - this.ptr_stereo3d_format = default; - this.ptr_prop = default; + this.stereo3d_format = default; + this.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_handles = default; + this._pad5 = default; this.retiming_handle_num = default; this._pad6 = default; this.runtime = default; } public Sequence( - Sequence ptr_next, - Sequence ptr_prev, - object ptr_tmp, - object ptr_lib, + Sequence next, + Sequence prev, + object tmp, + object lib, char[] name, int flag, int type, @@ -244,31 +244,31 @@ namespace BlendFile.DNA { short _pad, int multicam_source, int clip_flag, - Strip ptr_strip, - Ipo ptr_ipo, - Scene ptr_scene, - Object ptr_scene_camera, - MovieClip ptr_clip, - Mask ptr_mask, + Strip strip, + Ipo ipo, + Scene scene, + Object scene_camera, + MovieClip clip, + Mask mask, ListBase anims, float effect_fader, float speed_fader, - Sequence ptr_seq1, - Sequence ptr_seq2, - object ptr__pad7, + Sequence seq1, + Sequence seq2, + object _pad7, int[] _pad8, ListBase seqbase, ListBase channels, ListBase connections, - bSound ptr_sound, - object ptr_scene_sound, + bSound sound, + object scene_sound, float volume, float pitch, float pan, float strobe, float sound_offset, char[] _pad4, - object ptr_effectdata, + object effectdata, int anim_startofs, int anim_endofs, int blend_mode, @@ -280,20 +280,20 @@ namespace BlendFile.DNA { int sfra, char views_format, char[] _pad3, - Stereo3dFormat ptr_stereo3d_format, - IDProperty ptr_prop, + Stereo3dFormat stereo3d_format, + IDProperty prop, ListBase modifiers, float media_playback_rate, float speed_factor, - SeqRetimingHandle ptr_retiming_handles, - object ptr__pad5, + SeqRetimingHandle retiming_handles, + object _pad5, int retiming_handle_num, char[] _pad6, SequenceRuntime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_tmp = ptr_tmp; - this.ptr_lib = ptr_lib; + this.next = next; + this.prev = prev; + this.tmp = tmp; + this.lib = lib; this.name = name; this.flag = flag; this.type = type; @@ -312,31 +312,31 @@ namespace BlendFile.DNA { this._pad = _pad; this.multicam_source = multicam_source; this.clip_flag = clip_flag; - this.ptr_strip = ptr_strip; - this.ptr_ipo = ptr_ipo; - this.ptr_scene = ptr_scene; - this.ptr_scene_camera = ptr_scene_camera; - this.ptr_clip = ptr_clip; - this.ptr_mask = ptr_mask; + this.strip = strip; + this.ipo = ipo; + this.scene = scene; + this.scene_camera = scene_camera; + this.clip = clip; + this.mask = mask; this.anims = anims; this.effect_fader = effect_fader; this.speed_fader = speed_fader; - this.ptr_seq1 = ptr_seq1; - this.ptr_seq2 = ptr_seq2; - this.ptr__pad7 = ptr__pad7; + this.seq1 = seq1; + this.seq2 = seq2; + this._pad7 = _pad7; this._pad8 = _pad8; this.seqbase = seqbase; this.channels = channels; this.connections = connections; - this.ptr_sound = ptr_sound; - this.ptr_scene_sound = ptr_scene_sound; + this.sound = sound; + this.scene_sound = scene_sound; this.volume = volume; this.pitch = pitch; this.pan = pan; this.strobe = strobe; this.sound_offset = sound_offset; this._pad4 = _pad4; - this.ptr_effectdata = ptr_effectdata; + this.effectdata = effectdata; this.anim_startofs = anim_startofs; this.anim_endofs = anim_endofs; this.blend_mode = blend_mode; @@ -348,13 +348,13 @@ namespace BlendFile.DNA { this.sfra = sfra; this.views_format = views_format; this._pad3 = _pad3; - this.ptr_stereo3d_format = ptr_stereo3d_format; - this.ptr_prop = ptr_prop; + this.stereo3d_format = stereo3d_format; + this.prop = prop; this.modifiers = modifiers; this.media_playback_rate = media_playback_rate; this.speed_factor = speed_factor; - this.ptr_retiming_handles = ptr_retiming_handles; - this.ptr__pad5 = ptr__pad5; + this.retiming_handles = retiming_handles; + this._pad5 = _pad5; this.retiming_handle_num = retiming_handle_num; this._pad6 = _pad6; this.runtime = runtime; diff --git a/BlendFile/DNA/SequenceModifierData.cs b/BlendFile/DNA/SequenceModifierData.cs index 29d1260..a5f2280 100644 --- a/BlendFile/DNA/SequenceModifierData.cs +++ b/BlendFile/DNA/SequenceModifierData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(904, "SequenceModifierData", 112)] public class SequenceModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "*next", "SequenceModifierData", 8, true, 0)] - public SequenceModifierData ptr_next; - [DNAFieldAttribute(1, "SequenceModifierData", "*prev", "SequenceModifierData", 8, true, 8)] - public SequenceModifierData ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "SequenceModifierData", 0, "*next", "SequenceModifierData", true, 0)] + public SequenceModifierData next; + [DNAFieldAttribute(8, "SequenceModifierData", 1, "*prev", "SequenceModifierData", true, 8)] + public SequenceModifierData prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 20)] public int flag; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 24)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "int", "mask_input_type", "int", 4, false, 88)] + [DNAFieldAttribute(4, "int", 5, "mask_input_type", "int", false, 88)] public int mask_input_type; - [DNAFieldAttribute(6, "int", "mask_time", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 6, "mask_time", "int", false, 92)] public int mask_time; - [DNAFieldAttribute(7, "Sequence", "*mask_sequence", "Sequence", 8, true, 96)] - public Sequence ptr_mask_sequence; - [DNAFieldAttribute(8, "Mask", "*mask_id", "Mask", 8, true, 104)] - public Mask ptr_mask_id; + [DNAFieldAttribute(8, "Sequence", 7, "*mask_sequence", "Sequence", true, 96)] + public Sequence mask_sequence; + [DNAFieldAttribute(8, "Mask", 8, "*mask_id", "Mask", true, 104)] + public Mask mask_id; public SequenceModifierData() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + this.mask_sequence = default; + this.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; + public SequenceModifierData(SequenceModifierData next, SequenceModifierData prev, int type, int flag, char[] name, int mask_input_type, int mask_time, Sequence mask_sequence, Mask mask_id) { + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.name = name; this.mask_input_type = mask_input_type; this.mask_time = mask_time; - this.ptr_mask_sequence = ptr_mask_sequence; - this.ptr_mask_id = ptr_mask_id; + this.mask_sequence = mask_sequence; + this.mask_id = mask_id; } } } diff --git a/BlendFile/DNA/SequenceRuntime.cs b/BlendFile/DNA/SequenceRuntime.cs index 2989fbf..e35d2ac 100644 --- a/BlendFile/DNA/SequenceRuntime.cs +++ b/BlendFile/DNA/SequenceRuntime.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(884, "SequenceRuntime", 8)] - public struct SequenceRuntime { - [DNAFieldAttribute(0, "SessionUID", "session_uid", "SessionUID", 8, false, 0)] + public class SequenceRuntime { + [DNAFieldAttribute(8, "SessionUID", 0, "session_uid", "SessionUID", false, 0)] public SessionUID session_uid; public SequenceRuntime() { this.session_uid = default; diff --git a/BlendFile/DNA/SequencerCacheOverlay.cs b/BlendFile/DNA/SequencerCacheOverlay.cs index 6b1988f..0b59846 100644 --- a/BlendFile/DNA/SequencerCacheOverlay.cs +++ b/BlendFile/DNA/SequencerCacheOverlay.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(936, "SequencerCacheOverlay", 8)] - public struct SequencerCacheOverlay { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SequencerCacheOverlay { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad0[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", false, 4)] public char[] _pad0 = new System.Char[4]; public SequencerCacheOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SequencerMaskModifierData.cs b/BlendFile/DNA/SequencerMaskModifierData.cs index ad990e7..c4e1cbb 100644 --- a/BlendFile/DNA/SequencerMaskModifierData.cs +++ b/BlendFile/DNA/SequencerMaskModifierData.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(909, "SequencerMaskModifierData", 112)] - public struct SequencerMaskModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class SequencerMaskModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; public SequencerMaskModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SequencerPreviewOverlay.cs b/BlendFile/DNA/SequencerPreviewOverlay.cs index 43fe419..d5a84c4 100644 --- a/BlendFile/DNA/SequencerPreviewOverlay.cs +++ b/BlendFile/DNA/SequencerPreviewOverlay.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(934, "SequencerPreviewOverlay", 8)] - public struct SequencerPreviewOverlay { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SequencerPreviewOverlay { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad0[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", false, 4)] public char[] _pad0 = new System.Char[4]; public SequencerPreviewOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SequencerTimelineOverlay.cs b/BlendFile/DNA/SequencerTimelineOverlay.cs index a00043d..e748dbb 100644 --- a/BlendFile/DNA/SequencerTimelineOverlay.cs +++ b/BlendFile/DNA/SequencerTimelineOverlay.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(935, "SequencerTimelineOverlay", 8)] - public struct SequencerTimelineOverlay { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SequencerTimelineOverlay { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad0[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", false, 4)] public char[] _pad0 = new System.Char[4]; public SequencerTimelineOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SequencerTonemapModifierData.cs b/BlendFile/DNA/SequencerTonemapModifierData.cs index b422e93..d40bd85 100644 --- a/BlendFile/DNA/SequencerTonemapModifierData.cs +++ b/BlendFile/DNA/SequencerTonemapModifierData.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(911, "SequencerTonemapModifierData", 144)] - public struct SequencerTonemapModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class SequencerTonemapModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "float", "key", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 1, "key", "float", false, 112)] public float key; - [DNAFieldAttribute(2, "float", "offset", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 2, "offset", "float", false, 116)] public float offset; - [DNAFieldAttribute(3, "float", "gamma", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 3, "gamma", "float", false, 120)] public float gamma; - [DNAFieldAttribute(4, "float", "intensity", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 4, "intensity", "float", false, 124)] public float intensity; - [DNAFieldAttribute(5, "float", "contrast", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 5, "contrast", "float", false, 128)] public float contrast; - [DNAFieldAttribute(6, "float", "adaptation", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 6, "adaptation", "float", false, 132)] public float adaptation; - [DNAFieldAttribute(7, "float", "correction", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 7, "correction", "float", false, 136)] public float correction; - [DNAFieldAttribute(8, "int", "type", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 8, "type", "int", false, 140)] public int type; public SequencerTonemapModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SequencerToolSettings.cs b/BlendFile/DNA/SequencerToolSettings.cs index 4209884..367d7af 100644 --- a/BlendFile/DNA/SequencerToolSettings.cs +++ b/BlendFile/DNA/SequencerToolSettings.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(827, "SequencerToolSettings", 20)] - public struct SequencerToolSettings { - [DNAFieldAttribute(0, "int", "fit_method", "int", 4, false, 0)] + public class SequencerToolSettings { + [DNAFieldAttribute(4, "int", 0, "fit_method", "int", false, 0)] public int fit_method; - [DNAFieldAttribute(1, "short", "snap_mode", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 1, "snap_mode", "short", false, 4)] public short snap_mode; - [DNAFieldAttribute(2, "short", "snap_flag", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 2, "snap_flag", "short", false, 6)] public short snap_flag; - [DNAFieldAttribute(3, "int", "overlap_mode", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 3, "overlap_mode", "int", false, 8)] public int overlap_mode; - [DNAFieldAttribute(4, "int", "snap_distance", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 4, "snap_distance", "int", false, 12)] public int snap_distance; - [DNAFieldAttribute(5, "int", "pivot_point", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 5, "pivot_point", "int", false, 16)] public int pivot_point; public SequencerToolSettings() { this.fit_method = default; diff --git a/BlendFile/DNA/SessionUID.cs b/BlendFile/DNA/SessionUID.cs index e5eb6e8..912ee2d 100644 --- a/BlendFile/DNA/SessionUID.cs +++ b/BlendFile/DNA/SessionUID.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(50, "SessionUID", 8)] - public struct SessionUID { - [DNAFieldAttribute(0, "uint64_t", "uid_", "uint64_t", 8, false, 0)] + public class SessionUID { + [DNAFieldAttribute(8, "uint64_t", 0, "uid_", "uint64_t", false, 0)] public ulong uid_; public SessionUID() { this.uid_ = default; diff --git a/BlendFile/DNA/ShaderFxData.cs b/BlendFile/DNA/ShaderFxData.cs index d1ea503..1784a07 100644 --- a/BlendFile/DNA/ShaderFxData.cs +++ b/BlendFile/DNA/ShaderFxData.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(914, "ShaderFxData", 104)] public class ShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "*next", "ShaderFxData", 8, true, 0)] - public ShaderFxData ptr_next; - [DNAFieldAttribute(1, "ShaderFxData", "*prev", "ShaderFxData", 8, true, 8)] - public ShaderFxData ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "ShaderFxData", 0, "*next", "ShaderFxData", true, 0)] + public ShaderFxData next; + [DNAFieldAttribute(8, "ShaderFxData", 1, "*prev", "ShaderFxData", true, 8)] + public ShaderFxData prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "int", "mode", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "mode", "int", false, 20)] public int mode; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 24)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 24)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 28)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 28)] public short flag; - [DNAFieldAttribute(6, "short", "ui_expand_flag", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 6, "ui_expand_flag", "short", false, 30)] public short ui_expand_flag; - [DNAFieldAttribute(7, "char", "name[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 7, "name[64]", "System.Char[]", false, 32)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(8, "char", "*error", "char", 8, true, 96)] - public char ptr_error; + [DNAFieldAttribute(8, "char", 8, "*error", "char", true, 96)] + public char error; public ShaderFxData() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + this.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; + public ShaderFxData(ShaderFxData next, ShaderFxData prev, int type, int mode, char[] _pad0, short flag, short ui_expand_flag, char[] name, char error) { + this.next = next; + this.prev = prev; this.type = type; this.mode = mode; this._pad0 = _pad0; this.flag = flag; this.ui_expand_flag = ui_expand_flag; this.name = name; - this.ptr_error = ptr_error; + this.error = error; } } } diff --git a/BlendFile/DNA/ShaderFxData_Runtime.cs b/BlendFile/DNA/ShaderFxData_Runtime.cs index afb1f17..e552d17 100644 --- a/BlendFile/DNA/ShaderFxData_Runtime.cs +++ b/BlendFile/DNA/ShaderFxData_Runtime.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(915, "ShaderFxData_Runtime", 40)] public class ShaderFxData_Runtime { - [DNAFieldAttribute(0, "float", "loc[3]", "System.Single[]", 12, false, 0)] + [DNAFieldAttribute(12, "float", 0, "loc[3]", "System.Single[]", false, 0)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "DRWShadingGroup", "*fx_sh", "DRWShadingGroup", 8, true, 16)] - public DRWShadingGroup ptr_fx_sh; - [DNAFieldAttribute(3, "DRWShadingGroup", "*fx_sh_b", "DRWShadingGroup", 8, true, 24)] - public DRWShadingGroup ptr_fx_sh_b; - [DNAFieldAttribute(4, "DRWShadingGroup", "*fx_sh_c", "DRWShadingGroup", 8, true, 32)] - public DRWShadingGroup ptr_fx_sh_c; + [DNAFieldAttribute(8, "DRWShadingGroup", 2, "*fx_sh", "DRWShadingGroup", true, 16)] + public DRWShadingGroup fx_sh; + [DNAFieldAttribute(8, "DRWShadingGroup", 3, "*fx_sh_b", "DRWShadingGroup", true, 24)] + public DRWShadingGroup fx_sh_b; + [DNAFieldAttribute(8, "DRWShadingGroup", 4, "*fx_sh_c", "DRWShadingGroup", true, 32)] + public DRWShadingGroup 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; + this.fx_sh = default; + this.fx_sh_b = default; + this.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) { + public ShaderFxData_Runtime(float[] loc, char[] _pad, DRWShadingGroup fx_sh, DRWShadingGroup fx_sh_b, DRWShadingGroup fx_sh_c) { this.loc = loc; this._pad = _pad; - this.ptr_fx_sh = ptr_fx_sh; - this.ptr_fx_sh_b = ptr_fx_sh_b; - this.ptr_fx_sh_c = ptr_fx_sh_c; + this.fx_sh = fx_sh; + this.fx_sh_b = fx_sh_b; + this.fx_sh_c = fx_sh_c; } } } diff --git a/BlendFile/DNA/ShadowShaderFxData.cs b/BlendFile/DNA/ShadowShaderFxData.cs index c91984c..930de21 100644 --- a/BlendFile/DNA/ShadowShaderFxData.cs +++ b/BlendFile/DNA/ShadowShaderFxData.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(923, "ShadowShaderFxData", 224)] public class ShadowShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "int", "offset[2]", "System.Int32[]", 8, false, 112)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "int", 2, "offset[2]", "System.Int32[]", false, 112)] public int[] offset = new System.Int32[2]; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(4, "float", "shadow_rgba[4]", "System.Single[]", 16, false, 124)] + [DNAFieldAttribute(16, "float", 4, "shadow_rgba[4]", "System.Single[]", false, 124)] public float[] shadow_rgba = new System.Single[4]; - [DNAFieldAttribute(5, "float", "amplitude", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 5, "amplitude", "float", false, 140)] public float amplitude; - [DNAFieldAttribute(6, "float", "period", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 6, "period", "float", false, 144)] public float period; - [DNAFieldAttribute(7, "float", "phase", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 7, "phase", "float", false, 148)] public float phase; - [DNAFieldAttribute(8, "int", "orientation", "int", 4, false, 152)] + [DNAFieldAttribute(4, "int", 8, "orientation", "int", false, 152)] public int orientation; - [DNAFieldAttribute(9, "float", "scale[2]", "System.Single[]", 8, false, 156)] + [DNAFieldAttribute(8, "float", 9, "scale[2]", "System.Single[]", false, 156)] public float[] scale = new System.Single[2]; - [DNAFieldAttribute(10, "float", "rotation", "float", 4, false, 164)] + [DNAFieldAttribute(4, "float", 10, "rotation", "float", false, 164)] public float rotation; - [DNAFieldAttribute(11, "int", "blur[2]", "System.Int32[]", 8, false, 168)] + [DNAFieldAttribute(8, "int", 11, "blur[2]", "System.Int32[]", false, 168)] public int[] blur = new System.Int32[2]; - [DNAFieldAttribute(12, "int", "samples", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 12, "samples", "int", false, 176)] public int samples; - [DNAFieldAttribute(13, "char", "_pad[4]", "System.Char[]", 4, false, 180)] + [DNAFieldAttribute(4, "char", 13, "_pad[4]", "System.Char[]", false, 180)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(14, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 184)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 14, "runtime", "ShaderFxData_Runtime", false, 184)] public ShaderFxData_Runtime runtime; public ShadowShaderFxData() { this.shaderfx = default; - this.ptr_object = default; + this.@object = default; this.offset = default; this.flag = default; this.shadow_rgba = default; @@ -62,9 +62,9 @@ namespace BlendFile.DNA { 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) { + public ShadowShaderFxData(ShaderFxData shaderfx, Object @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; + this.@object = @object; this.offset = offset; this.flag = flag; this.shadow_rgba = shadow_rgba; diff --git a/BlendFile/DNA/ShapeKeyModifierData.cs b/BlendFile/DNA/ShapeKeyModifierData.cs index 8255355..8649b18 100644 --- a/BlendFile/DNA/ShapeKeyModifierData.cs +++ b/BlendFile/DNA/ShapeKeyModifierData.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(486, "ShapeKeyModifierData", 120)] - public struct ShapeKeyModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class ShapeKeyModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; public ShapeKeyModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs b/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs index e9ba348..08e6ea6 100644 --- a/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs +++ b/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs @@ -15,51 +15,51 @@ namespace BlendFile.DNA { [DNAClassAttribute(304, "ShrinkwrapGpencilModifierData", 304)] public class ShrinkwrapGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*target", "Object", 8, true, 104)] - public Object ptr_target; - [DNAFieldAttribute(2, "Object", "*aux_target", "Object", 8, true, 112)] - public Object ptr_aux_target; - [DNAFieldAttribute(3, "Material", "*material", "Material", 8, true, 120)] - public Material ptr_material; - [DNAFieldAttribute(4, "char", "layername[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*target", "Object", true, 104)] + public Object target; + [DNAFieldAttribute(8, "Object", 2, "*aux_target", "Object", true, 112)] + public Object aux_target; + [DNAFieldAttribute(8, "Material", 3, "*material", "Material", true, 120)] + public Material material; + [DNAFieldAttribute(64, "char", 4, "layername[64]", "System.Char[]", false, 128)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(5, "char", "vgname[64]", "System.Char[]", 64, false, 192)] + [DNAFieldAttribute(64, "char", 5, "vgname[64]", "System.Char[]", false, 192)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(6, "int", "pass_index", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 6, "pass_index", "int", false, 256)] public int pass_index; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 260)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 260)] public int flag; - [DNAFieldAttribute(8, "int", "layer_pass", "int", 4, false, 264)] + [DNAFieldAttribute(4, "int", 8, "layer_pass", "int", false, 264)] public int layer_pass; - [DNAFieldAttribute(9, "float", "keep_dist", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 9, "keep_dist", "float", false, 268)] public float keep_dist; - [DNAFieldAttribute(10, "short", "shrink_type", "short", 2, false, 272)] + [DNAFieldAttribute(2, "short", 10, "shrink_type", "short", false, 272)] public short shrink_type; - [DNAFieldAttribute(11, "char", "shrink_opts", "char", 1, false, 274)] + [DNAFieldAttribute(1, "char", 11, "shrink_opts", "char", false, 274)] public char shrink_opts; - [DNAFieldAttribute(12, "char", "shrink_mode", "char", 1, false, 275)] + [DNAFieldAttribute(1, "char", 12, "shrink_mode", "char", false, 275)] public char shrink_mode; - [DNAFieldAttribute(13, "float", "proj_limit", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 13, "proj_limit", "float", false, 276)] public float proj_limit; - [DNAFieldAttribute(14, "char", "proj_axis", "char", 1, false, 280)] + [DNAFieldAttribute(1, "char", 14, "proj_axis", "char", false, 280)] public char proj_axis; - [DNAFieldAttribute(15, "char", "subsurf_levels", "char", 1, false, 281)] + [DNAFieldAttribute(1, "char", 15, "subsurf_levels", "char", false, 281)] public char subsurf_levels; - [DNAFieldAttribute(16, "char", "_pad[6]", "System.Char[]", 6, false, 282)] + [DNAFieldAttribute(6, "char", 16, "_pad[6]", "System.Char[]", false, 282)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(17, "float", "smooth_factor", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 17, "smooth_factor", "float", false, 288)] public float smooth_factor; - [DNAFieldAttribute(18, "int", "smooth_step", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 18, "smooth_step", "int", false, 292)] public int smooth_step; - [DNAFieldAttribute(19, "ShrinkwrapTreeData", "*cache_data", "ShrinkwrapTreeData", 8, true, 296)] - public ShrinkwrapTreeData ptr_cache_data; + [DNAFieldAttribute(8, "ShrinkwrapTreeData", 19, "*cache_data", "ShrinkwrapTreeData", true, 296)] + public ShrinkwrapTreeData cache_data; public ShrinkwrapGpencilModifierData() { this.modifier = default; - this.ptr_target = default; - this.ptr_aux_target = default; - this.ptr_material = default; + this.target = default; + this.aux_target = default; + this.material = default; this.layername = default; this.vgname = default; this.pass_index = default; @@ -75,13 +75,13 @@ namespace BlendFile.DNA { this._pad = default; this.smooth_factor = default; this.smooth_step = default; - this.ptr_cache_data = default; + this.cache_data = default; } public ShrinkwrapGpencilModifierData( GpencilModifierData modifier, - Object ptr_target, - Object ptr_aux_target, - Material ptr_material, + Object target, + Object aux_target, + Material material, char[] layername, char[] vgname, int pass_index, @@ -97,11 +97,11 @@ namespace BlendFile.DNA { char[] _pad, float smooth_factor, int smooth_step, - ShrinkwrapTreeData ptr_cache_data) { + ShrinkwrapTreeData cache_data) { this.modifier = modifier; - this.ptr_target = ptr_target; - this.ptr_aux_target = ptr_aux_target; - this.ptr_material = ptr_material; + this.target = target; + this.aux_target = aux_target; + this.material = material; this.layername = layername; this.vgname = vgname; this.pass_index = pass_index; @@ -117,7 +117,7 @@ namespace BlendFile.DNA { this._pad = _pad; this.smooth_factor = smooth_factor; this.smooth_step = smooth_step; - this.ptr_cache_data = ptr_cache_data; + this.cache_data = cache_data; } } } diff --git a/BlendFile/DNA/ShrinkwrapModifierData.cs b/BlendFile/DNA/ShrinkwrapModifierData.cs index 8006d3b..203ed6a 100644 --- a/BlendFile/DNA/ShrinkwrapModifierData.cs +++ b/BlendFile/DNA/ShrinkwrapModifierData.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(484, "ShrinkwrapModifierData", 216)] public class ShrinkwrapModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*target", "Object", 8, true, 120)] - public Object ptr_target; - [DNAFieldAttribute(2, "Object", "*auxTarget", "Object", 8, true, 128)] - public Object ptr_auxTarget; - [DNAFieldAttribute(3, "char", "vgroup_name[64]", "System.Char[]", 64, false, 136)] + [DNAFieldAttribute(8, "Object", 1, "*target", "Object", true, 120)] + public Object target; + [DNAFieldAttribute(8, "Object", 2, "*auxTarget", "Object", true, 128)] + public Object auxTarget; + [DNAFieldAttribute(64, "char", 3, "vgroup_name[64]", "System.Char[]", false, 136)] public char[] vgroup_name = new System.Char[64]; - [DNAFieldAttribute(4, "float", "keepDist", "float", 4, false, 200)] + [DNAFieldAttribute(4, "float", 4, "keepDist", "float", false, 200)] public float keepDist; - [DNAFieldAttribute(5, "short", "shrinkType", "short", 2, false, 204)] + [DNAFieldAttribute(2, "short", 5, "shrinkType", "short", false, 204)] public short shrinkType; - [DNAFieldAttribute(6, "char", "shrinkOpts", "char", 1, false, 206)] + [DNAFieldAttribute(1, "char", 6, "shrinkOpts", "char", false, 206)] public char shrinkOpts; - [DNAFieldAttribute(7, "char", "shrinkMode", "char", 1, false, 207)] + [DNAFieldAttribute(1, "char", 7, "shrinkMode", "char", false, 207)] public char shrinkMode; - [DNAFieldAttribute(8, "float", "projLimit", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 8, "projLimit", "float", false, 208)] public float projLimit; - [DNAFieldAttribute(9, "char", "projAxis", "char", 1, false, 212)] + [DNAFieldAttribute(1, "char", 9, "projAxis", "char", false, 212)] public char projAxis; - [DNAFieldAttribute(10, "char", "subsurfLevels", "char", 1, false, 213)] + [DNAFieldAttribute(1, "char", 10, "subsurfLevels", "char", false, 213)] public char subsurfLevels; - [DNAFieldAttribute(11, "char", "_pad[2]", "System.Char[]", 2, false, 214)] + [DNAFieldAttribute(2, "char", 11, "_pad[2]", "System.Char[]", false, 214)] public char[] _pad = new System.Char[2]; public ShrinkwrapModifierData() { this.modifier = default; - this.ptr_target = default; - this.ptr_auxTarget = default; + this.target = default; + this.auxTarget = default; this.vgroup_name = default; this.keepDist = default; this.shrinkType = default; @@ -53,10 +53,10 @@ namespace BlendFile.DNA { 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) { + public ShrinkwrapModifierData(ModifierData modifier, Object target, Object 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; - this.ptr_auxTarget = ptr_auxTarget; + this.target = target; + this.auxTarget = auxTarget; this.vgroup_name = vgroup_name; this.keepDist = keepDist; this.shrinkType = shrinkType; diff --git a/BlendFile/DNA/SimpleDeformModifierData.cs b/BlendFile/DNA/SimpleDeformModifierData.cs index 766ac2b..b9af4d5 100644 --- a/BlendFile/DNA/SimpleDeformModifierData.cs +++ b/BlendFile/DNA/SimpleDeformModifierData.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(485, "SimpleDeformModifierData", 216)] public class SimpleDeformModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*origin", "Object", 8, true, 120)] - public Object ptr_origin; - [DNAFieldAttribute(2, "char", "vgroup_name[64]", "System.Char[]", 64, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*origin", "Object", true, 120)] + public Object origin; + [DNAFieldAttribute(64, "char", 2, "vgroup_name[64]", "System.Char[]", false, 128)] public char[] vgroup_name = new System.Char[64]; - [DNAFieldAttribute(3, "float", "factor", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 3, "factor", "float", false, 192)] public float factor; - [DNAFieldAttribute(4, "float", "limit[2]", "System.Single[]", 8, false, 196)] + [DNAFieldAttribute(8, "float", 4, "limit[2]", "System.Single[]", false, 196)] public float[] limit = new System.Single[2]; - [DNAFieldAttribute(5, "char", "mode", "char", 1, false, 204)] + [DNAFieldAttribute(1, "char", 5, "mode", "char", false, 204)] public char mode; - [DNAFieldAttribute(6, "char", "axis", "char", 1, false, 205)] + [DNAFieldAttribute(1, "char", 6, "axis", "char", false, 205)] public char axis; - [DNAFieldAttribute(7, "char", "deform_axis", "char", 1, false, 206)] + [DNAFieldAttribute(1, "char", 7, "deform_axis", "char", false, 206)] public char deform_axis; - [DNAFieldAttribute(8, "char", "flag", "char", 1, false, 207)] + [DNAFieldAttribute(1, "char", 8, "flag", "char", false, 207)] public char flag; - [DNAFieldAttribute(9, "void", "*_pad1", "void", 8, true, 208)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 9, "*_pad1", "void", true, 208)] + public object _pad1; public SimpleDeformModifierData() { this.modifier = default; - this.ptr_origin = default; + this.origin = default; this.vgroup_name = default; this.factor = default; this.limit = default; @@ -45,11 +45,11 @@ namespace BlendFile.DNA { this.axis = default; this.deform_axis = default; this.flag = default; - this.ptr__pad1 = default; + this._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) { + public SimpleDeformModifierData(ModifierData modifier, Object origin, char[] vgroup_name, float factor, float[] limit, char mode, char axis, char deform_axis, char flag, object _pad1) { this.modifier = modifier; - this.ptr_origin = ptr_origin; + this.origin = origin; this.vgroup_name = vgroup_name; this.factor = factor; this.limit = limit; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { this.axis = axis; this.deform_axis = deform_axis; this.flag = flag; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/SimplifyGpencilModifierData.cs b/BlendFile/DNA/SimplifyGpencilModifierData.cs index 1c119c3..af073de 100644 --- a/BlendFile/DNA/SimplifyGpencilModifierData.cs +++ b/BlendFile/DNA/SimplifyGpencilModifierData.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(293, "SimplifyGpencilModifierData", 272)] public class SimplifyGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "int", "pass_index", "int", 4, false, 240)] + [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(6, "float", "factor", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 6, "factor", "float", false, 248)] public float factor; - [DNAFieldAttribute(7, "short", "mode", "short", 2, false, 252)] + [DNAFieldAttribute(2, "short", 7, "mode", "short", false, 252)] public short mode; - [DNAFieldAttribute(8, "short", "step", "short", 2, false, 254)] + [DNAFieldAttribute(2, "short", 8, "step", "short", false, 254)] public short step; - [DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 256)] public int layer_pass; - [DNAFieldAttribute(10, "float", "length", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 10, "length", "float", false, 260)] public float length; - [DNAFieldAttribute(11, "float", "sharp_threshold", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 11, "sharp_threshold", "float", false, 264)] public float sharp_threshold; - [DNAFieldAttribute(12, "float", "distance", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 12, "distance", "float", false, 268)] public float distance; public SimplifyGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.pass_index = default; @@ -56,9 +56,9 @@ namespace BlendFile.DNA { 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) { + public SimplifyGpencilModifierData(GpencilModifierData modifier, Material 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; + this.material = material; this.layername = layername; this.materialname = materialname; this.pass_index = pass_index; diff --git a/BlendFile/DNA/SimulationZoneViewerPathElem.cs b/BlendFile/DNA/SimulationZoneViewerPathElem.cs index a91a14b..f6354fa 100644 --- a/BlendFile/DNA/SimulationZoneViewerPathElem.cs +++ b/BlendFile/DNA/SimulationZoneViewerPathElem.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1034, "SimulationZoneViewerPathElem", 40)] - public struct SimulationZoneViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + public class SimulationZoneViewerPathElem { + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "int", "sim_output_node_id", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 1, "sim_output_node_id", "int", false, 32)] public int sim_output_node_id; - [DNAFieldAttribute(2, "char", "_pad1[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 36)] public char[] _pad1 = new System.Char[4]; public SimulationZoneViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/SkinModifierData.cs b/BlendFile/DNA/SkinModifierData.cs index eee34a2..004076f 100644 --- a/BlendFile/DNA/SkinModifierData.cs +++ b/BlendFile/DNA/SkinModifierData.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(497, "SkinModifierData", 128)] - public struct SkinModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class SkinModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "branch_smoothing", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "branch_smoothing", "float", false, 120)] public float branch_smoothing; - [DNAFieldAttribute(2, "char", "flag", "char", 1, false, 124)] + [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 124)] public char flag; - [DNAFieldAttribute(3, "char", "symmetry_axes", "char", 1, false, 125)] + [DNAFieldAttribute(1, "char", 3, "symmetry_axes", "char", false, 125)] public char symmetry_axes; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 126)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 126)] public char[] _pad = new System.Char[2]; public SkinModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SmokeModifierData.cs b/BlendFile/DNA/SmokeModifierData.cs index 88ce21a..0af9335 100644 --- a/BlendFile/DNA/SmokeModifierData.cs +++ b/BlendFile/DNA/SmokeModifierData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(483, "SmokeModifierData", 128)] - public struct SmokeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class SmokeModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "int", "type", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "type", "int", false, 120)] public int type; - [DNAFieldAttribute(2, "int", "_pad", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 2, "_pad", "int", false, 124)] public int _pad; public SmokeModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SmoothGpencilModifierData.cs b/BlendFile/DNA/SmoothGpencilModifierData.cs index a2c2b88..d88943e 100644 --- a/BlendFile/DNA/SmoothGpencilModifierData.cs +++ b/BlendFile/DNA/SmoothGpencilModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(295, "SmoothGpencilModifierData", 336)] public class SmoothGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "factor", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "factor", "float", false, 312)] public float factor; - [DNAFieldAttribute(8, "int", "step", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 8, "step", "int", false, 316)] public int step; - [DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 320)] public int layer_pass; - [DNAFieldAttribute(10, "char", "_pad1[4]", "System.Char[]", 4, false, 324)] + [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 324)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(11, "CurveMapping", "*curve_intensity", "CurveMapping", 8, true, 328)] - public CurveMapping ptr_curve_intensity; + [DNAFieldAttribute(8, "CurveMapping", 11, "*curve_intensity", "CurveMapping", true, 328)] + public CurveMapping curve_intensity; public SmoothGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -51,11 +51,11 @@ namespace BlendFile.DNA { this.step = default; this.layer_pass = default; this._pad1 = default; - this.ptr_curve_intensity = default; + this.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) { + public SmoothGpencilModifierData(GpencilModifierData modifier, Material material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float factor, int step, int layer_pass, char[] _pad1, CurveMapping curve_intensity) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { this.step = step; this.layer_pass = layer_pass; this._pad1 = _pad1; - this.ptr_curve_intensity = ptr_curve_intensity; + this.curve_intensity = curve_intensity; } } } diff --git a/BlendFile/DNA/SmoothModifierData.cs b/BlendFile/DNA/SmoothModifierData.cs index 9433b1e..96bd17d 100644 --- a/BlendFile/DNA/SmoothModifierData.cs +++ b/BlendFile/DNA/SmoothModifierData.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(458, "SmoothModifierData", 192)] - public struct SmoothModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class SmoothModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "fac", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "fac", "float", false, 120)] public float fac; - [DNAFieldAttribute(2, "char", "defgrp_name[64]", "System.Char[]", 64, false, 124)] + [DNAFieldAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", false, 124)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 188)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 188)] public short flag; - [DNAFieldAttribute(4, "short", "repeat", "short", 2, false, 190)] + [DNAFieldAttribute(2, "short", 4, "repeat", "short", false, 190)] public short repeat; public SmoothModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SoftBody.cs b/BlendFile/DNA/SoftBody.cs index 9f5bd4e..3afc3a1 100644 --- a/BlendFile/DNA/SoftBody.cs +++ b/BlendFile/DNA/SoftBody.cs @@ -15,119 +15,119 @@ namespace BlendFile.DNA { [DNAClassAttribute(760, "SoftBody", 480)] public class SoftBody { - [DNAFieldAttribute(0, "int", "totpoint", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "totpoint", "int", false, 0)] public int totpoint; - [DNAFieldAttribute(1, "int", "totspring", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "totspring", "int", false, 4)] public int totspring; - [DNAFieldAttribute(2, "BodyPoint", "*bpoint", "BodyPoint", 8, true, 8)] - public BodyPoint ptr_bpoint; - [DNAFieldAttribute(3, "BodySpring", "*bspring", "BodySpring", 8, true, 16)] - public BodySpring ptr_bspring; - [DNAFieldAttribute(4, "char", "_pad", "char", 1, false, 24)] + [DNAFieldAttribute(8, "BodyPoint", 2, "*bpoint", "BodyPoint", true, 8)] + public BodyPoint bpoint; + [DNAFieldAttribute(8, "BodySpring", 3, "*bspring", "BodySpring", true, 16)] + public BodySpring bspring; + [DNAFieldAttribute(1, "char", 4, "_pad", "char", false, 24)] public char _pad; - [DNAFieldAttribute(5, "char", "msg_lock", "char", 1, false, 25)] + [DNAFieldAttribute(1, "char", 5, "msg_lock", "char", false, 25)] public char msg_lock; - [DNAFieldAttribute(6, "short", "msg_value", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 6, "msg_value", "short", false, 26)] public short msg_value; - [DNAFieldAttribute(7, "float", "nodemass", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "nodemass", "float", false, 28)] public float nodemass; - [DNAFieldAttribute(8, "char", "namedVG_Mass[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 8, "namedVG_Mass[64]", "System.Char[]", false, 32)] public char[] namedVG_Mass = new System.Char[64]; - [DNAFieldAttribute(9, "float", "grav", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 9, "grav", "float", false, 96)] public float grav; - [DNAFieldAttribute(10, "float", "mediafrict", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 10, "mediafrict", "float", false, 100)] public float mediafrict; - [DNAFieldAttribute(11, "float", "rklimit", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 11, "rklimit", "float", false, 104)] public float rklimit; - [DNAFieldAttribute(12, "float", "physics_speed", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 12, "physics_speed", "float", false, 108)] public float physics_speed; - [DNAFieldAttribute(13, "float", "goalspring", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 13, "goalspring", "float", false, 112)] public float goalspring; - [DNAFieldAttribute(14, "float", "goalfrict", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 14, "goalfrict", "float", false, 116)] public float goalfrict; - [DNAFieldAttribute(15, "float", "mingoal", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 15, "mingoal", "float", false, 120)] public float mingoal; - [DNAFieldAttribute(16, "float", "maxgoal", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 16, "maxgoal", "float", false, 124)] public float maxgoal; - [DNAFieldAttribute(17, "float", "defgoal", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 17, "defgoal", "float", false, 128)] public float defgoal; - [DNAFieldAttribute(18, "short", "vertgroup", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 18, "vertgroup", "short", false, 132)] public short vertgroup; - [DNAFieldAttribute(19, "char", "namedVG_Softgoal[64]", "System.Char[]", 64, false, 134)] + [DNAFieldAttribute(64, "char", 19, "namedVG_Softgoal[64]", "System.Char[]", false, 134)] public char[] namedVG_Softgoal = new System.Char[64]; - [DNAFieldAttribute(20, "short", "fuzzyness", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 20, "fuzzyness", "short", false, 198)] public short fuzzyness; - [DNAFieldAttribute(21, "float", "inspring", "float", 4, false, 200)] + [DNAFieldAttribute(4, "float", 21, "inspring", "float", false, 200)] public float inspring; - [DNAFieldAttribute(22, "float", "infrict", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 22, "infrict", "float", false, 204)] public float infrict; - [DNAFieldAttribute(23, "char", "namedVG_Spring_K[64]", "System.Char[]", 64, false, 208)] + [DNAFieldAttribute(64, "char", 23, "namedVG_Spring_K[64]", "System.Char[]", false, 208)] public char[] namedVG_Spring_K = new System.Char[64]; - [DNAFieldAttribute(24, "char", "_pad1[6]", "System.Char[]", 6, false, 272)] + [DNAFieldAttribute(6, "char", 24, "_pad1[6]", "System.Char[]", false, 272)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(25, "char", "local", "char", 1, false, 278)] + [DNAFieldAttribute(1, "char", 25, "local", "char", false, 278)] public char local; - [DNAFieldAttribute(26, "char", "solverflags", "char", 1, false, 279)] + [DNAFieldAttribute(1, "char", 26, "solverflags", "char", false, 279)] public char solverflags; - [DNAFieldAttribute(27, "SBVertex", "**keys", "SBVertex", 8, true, 280)] - public SBVertex ptr_ptr_keys; - [DNAFieldAttribute(28, "int", "totpointkey", "int", 4, false, 288)] + [DNAFieldAttribute(8, "SBVertex", 27, "**keys", "SBVertex", true, 280)] + public SBVertex keys; + [DNAFieldAttribute(4, "int", 28, "totpointkey", "int", false, 288)] public int totpointkey; - [DNAFieldAttribute(29, "int", "totkey", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 29, "totkey", "int", false, 292)] public int totkey; - [DNAFieldAttribute(30, "float", "secondspring", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 30, "secondspring", "float", false, 296)] public float secondspring; - [DNAFieldAttribute(31, "float", "colball", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 31, "colball", "float", false, 300)] public float colball; - [DNAFieldAttribute(32, "float", "balldamp", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 32, "balldamp", "float", false, 304)] public float balldamp; - [DNAFieldAttribute(33, "float", "ballstiff", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 33, "ballstiff", "float", false, 308)] public float ballstiff; - [DNAFieldAttribute(34, "short", "sbc_mode", "short", 2, false, 312)] + [DNAFieldAttribute(2, "short", 34, "sbc_mode", "short", false, 312)] public short sbc_mode; - [DNAFieldAttribute(35, "short", "aeroedge", "short", 2, false, 314)] + [DNAFieldAttribute(2, "short", 35, "aeroedge", "short", false, 314)] public short aeroedge; - [DNAFieldAttribute(36, "short", "minloops", "short", 2, false, 316)] + [DNAFieldAttribute(2, "short", 36, "minloops", "short", false, 316)] public short minloops; - [DNAFieldAttribute(37, "short", "maxloops", "short", 2, false, 318)] + [DNAFieldAttribute(2, "short", 37, "maxloops", "short", false, 318)] public short maxloops; - [DNAFieldAttribute(38, "short", "choke", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 38, "choke", "short", false, 320)] public short choke; - [DNAFieldAttribute(39, "short", "solver_ID", "short", 2, false, 322)] + [DNAFieldAttribute(2, "short", 39, "solver_ID", "short", false, 322)] public short solver_ID; - [DNAFieldAttribute(40, "short", "plastic", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 40, "plastic", "short", false, 324)] public short plastic; - [DNAFieldAttribute(41, "short", "springpreload", "short", 2, false, 326)] + [DNAFieldAttribute(2, "short", 41, "springpreload", "short", false, 326)] public short springpreload; - [DNAFieldAttribute(42, "SBScratch", "*scratch", "SBScratch", 8, true, 328)] - public SBScratch ptr_scratch; - [DNAFieldAttribute(43, "float", "shearstiff", "float", 4, false, 336)] + [DNAFieldAttribute(8, "SBScratch", 42, "*scratch", "SBScratch", true, 328)] + public SBScratch scratch; + [DNAFieldAttribute(4, "float", 43, "shearstiff", "float", false, 336)] public float shearstiff; - [DNAFieldAttribute(44, "float", "inpush", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 44, "inpush", "float", false, 340)] public float inpush; - [DNAFieldAttribute(45, "SoftBody_Shared", "*shared", "SoftBody_Shared", 8, true, 344)] - public SoftBody_Shared ptr_shared; - [DNAFieldAttribute(46, "PointCache", "*pointcache", "PointCache", 8, true, 352)] - public PointCache ptr_pointcache; - [DNAFieldAttribute(47, "ListBase", "ptcaches", "ListBase", 16, false, 360)] + [DNAFieldAttribute(8, "SoftBody_Shared", 45, "*shared", "SoftBody_Shared", true, 344)] + public SoftBody_Shared shared; + [DNAFieldAttribute(8, "PointCache", 46, "*pointcache", "PointCache", true, 352)] + public PointCache pointcache; + [DNAFieldAttribute(16, "ListBase", 47, "ptcaches", "ListBase", false, 360)] public ListBase ptcaches; - [DNAFieldAttribute(48, "Collection", "*collision_group", "Collection", 8, true, 376)] - public Collection ptr_collision_group; - [DNAFieldAttribute(49, "EffectorWeights", "*effector_weights", "EffectorWeights", 8, true, 384)] - public EffectorWeights ptr_effector_weights; - [DNAFieldAttribute(50, "float", "lcom[3]", "System.Single[]", 12, false, 392)] + [DNAFieldAttribute(8, "Collection", 48, "*collision_group", "Collection", true, 376)] + public Collection collision_group; + [DNAFieldAttribute(8, "EffectorWeights", 49, "*effector_weights", "EffectorWeights", true, 384)] + public EffectorWeights effector_weights; + [DNAFieldAttribute(12, "float", 50, "lcom[3]", "System.Single[]", false, 392)] public float[] lcom = new System.Single[3]; - [DNAFieldAttribute(51, "float", "lrot[3][3]", "System.Single[,]", 36, false, 404)] + [DNAFieldAttribute(36, "float", 51, "lrot[3][3]", "System.Single[,]", false, 404)] public float[,] lrot = new System.Single[3,3]; - [DNAFieldAttribute(52, "float", "lscale[3][3]", "System.Single[,]", 36, false, 440)] + [DNAFieldAttribute(36, "float", 52, "lscale[3][3]", "System.Single[,]", false, 440)] public float[,] lscale = new System.Single[3,3]; - [DNAFieldAttribute(53, "int", "last_frame", "int", 4, false, 476)] + [DNAFieldAttribute(4, "int", 53, "last_frame", "int", false, 476)] public int last_frame; public SoftBody() { this.totpoint = default; this.totspring = default; - this.ptr_bpoint = default; - this.ptr_bspring = default; + this.bpoint = default; + this.bspring = default; this._pad = default; this.msg_lock = default; this.msg_value = default; @@ -151,7 +151,7 @@ namespace BlendFile.DNA { this._pad1 = default; this.local = default; this.solverflags = default; - this.ptr_ptr_keys = default; + this.keys = default; this.totpointkey = default; this.totkey = default; this.secondspring = default; @@ -166,14 +166,14 @@ namespace BlendFile.DNA { this.solver_ID = default; this.plastic = default; this.springpreload = default; - this.ptr_scratch = default; + this.scratch = default; this.shearstiff = default; this.inpush = default; - this.ptr_shared = default; - this.ptr_pointcache = default; + this.shared = default; + this.pointcache = default; this.ptcaches = default; - this.ptr_collision_group = default; - this.ptr_effector_weights = default; + this.collision_group = default; + this.effector_weights = default; this.lcom = default; this.lrot = default; this.lscale = default; @@ -182,8 +182,8 @@ namespace BlendFile.DNA { public SoftBody( int totpoint, int totspring, - BodyPoint ptr_bpoint, - BodySpring ptr_bspring, + BodyPoint bpoint, + BodySpring bspring, char _pad, char msg_lock, short msg_value, @@ -207,7 +207,7 @@ namespace BlendFile.DNA { char[] _pad1, char local, char solverflags, - SBVertex ptr_ptr_keys, + SBVertex keys, int totpointkey, int totkey, float secondspring, @@ -222,22 +222,22 @@ namespace BlendFile.DNA { short solver_ID, short plastic, short springpreload, - SBScratch ptr_scratch, + SBScratch scratch, float shearstiff, float inpush, - SoftBody_Shared ptr_shared, - PointCache ptr_pointcache, + SoftBody_Shared shared, + PointCache pointcache, ListBase ptcaches, - Collection ptr_collision_group, - EffectorWeights ptr_effector_weights, + Collection collision_group, + EffectorWeights effector_weights, float[] lcom, float[,] lrot, float[,] lscale, int last_frame) { this.totpoint = totpoint; this.totspring = totspring; - this.ptr_bpoint = ptr_bpoint; - this.ptr_bspring = ptr_bspring; + this.bpoint = bpoint; + this.bspring = bspring; this._pad = _pad; this.msg_lock = msg_lock; this.msg_value = msg_value; @@ -261,7 +261,7 @@ namespace BlendFile.DNA { this._pad1 = _pad1; this.local = local; this.solverflags = solverflags; - this.ptr_ptr_keys = ptr_ptr_keys; + this.keys = keys; this.totpointkey = totpointkey; this.totkey = totkey; this.secondspring = secondspring; @@ -276,14 +276,14 @@ namespace BlendFile.DNA { this.solver_ID = solver_ID; this.plastic = plastic; this.springpreload = springpreload; - this.ptr_scratch = ptr_scratch; + this.scratch = scratch; this.shearstiff = shearstiff; this.inpush = inpush; - this.ptr_shared = ptr_shared; - this.ptr_pointcache = ptr_pointcache; + this.shared = shared; + this.pointcache = pointcache; this.ptcaches = ptcaches; - this.ptr_collision_group = ptr_collision_group; - this.ptr_effector_weights = ptr_effector_weights; + this.collision_group = collision_group; + this.effector_weights = effector_weights; this.lcom = lcom; this.lrot = lrot; this.lscale = lscale; diff --git a/BlendFile/DNA/SoftBody_Shared.cs b/BlendFile/DNA/SoftBody_Shared.cs index 0b0a0e3..11a4b10 100644 --- a/BlendFile/DNA/SoftBody_Shared.cs +++ b/BlendFile/DNA/SoftBody_Shared.cs @@ -15,16 +15,16 @@ namespace BlendFile.DNA { [DNAClassAttribute(759, "SoftBody_Shared", 24)] public class SoftBody_Shared { - [DNAFieldAttribute(0, "PointCache", "*pointcache", "PointCache", 8, true, 0)] - public PointCache ptr_pointcache; - [DNAFieldAttribute(1, "ListBase", "ptcaches", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "PointCache", 0, "*pointcache", "PointCache", true, 0)] + public PointCache pointcache; + [DNAFieldAttribute(16, "ListBase", 1, "ptcaches", "ListBase", false, 8)] public ListBase ptcaches; public SoftBody_Shared() { - this.ptr_pointcache = default; + this.pointcache = default; this.ptcaches = default; } - public SoftBody_Shared(PointCache ptr_pointcache, ListBase ptcaches) { - this.ptr_pointcache = ptr_pointcache; + public SoftBody_Shared(PointCache pointcache, ListBase ptcaches) { + this.pointcache = pointcache; this.ptcaches = ptcaches; } } diff --git a/BlendFile/DNA/SoftbodyModifierData.cs b/BlendFile/DNA/SoftbodyModifierData.cs index fe77653..b098362 100644 --- a/BlendFile/DNA/SoftbodyModifierData.cs +++ b/BlendFile/DNA/SoftbodyModifierData.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(463, "SoftbodyModifierData", 120)] - public struct SoftbodyModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class SoftbodyModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; public SoftbodyModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SolidColorVars.cs b/BlendFile/DNA/SolidColorVars.cs index 8fd33d9..b4afb8f 100644 --- a/BlendFile/DNA/SolidColorVars.cs +++ b/BlendFile/DNA/SolidColorVars.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(899, "SolidColorVars", 16)] - public struct SolidColorVars { - [DNAFieldAttribute(0, "float", "col[3]", "System.Single[]", 12, false, 0)] + public class SolidColorVars { + [DNAFieldAttribute(12, "float", 0, "col[3]", "System.Single[]", false, 0)] public float[] col = new System.Single[3]; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public SolidColorVars() { this.col = default; diff --git a/BlendFile/DNA/SolidLight.cs b/BlendFile/DNA/SolidLight.cs index 5c29f4d..2bed5a0 100644 --- a/BlendFile/DNA/SolidLight.cs +++ b/BlendFile/DNA/SolidLight.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1007, "SolidLight", 56)] - public struct SolidLight { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SolidLight { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "float", "smooth", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "smooth", "float", false, 4)] public float smooth; - [DNAFieldAttribute(2, "float", "col[4]", "System.Single[]", 16, false, 8)] + [DNAFieldAttribute(16, "float", 2, "col[4]", "System.Single[]", false, 8)] public float[] col = new System.Single[4]; - [DNAFieldAttribute(3, "float", "spec[4]", "System.Single[]", 16, false, 24)] + [DNAFieldAttribute(16, "float", 3, "spec[4]", "System.Single[]", false, 24)] public float[] spec = new System.Single[4]; - [DNAFieldAttribute(4, "float", "vec[4]", "System.Single[]", 16, false, 40)] + [DNAFieldAttribute(16, "float", 4, "vec[4]", "System.Single[]", false, 40)] public float[] vec = new System.Single[4]; public SolidLight() { this.flag = default; diff --git a/BlendFile/DNA/SolidifyModifierData.cs b/BlendFile/DNA/SolidifyModifierData.cs index 8cbbc47..50eb8ae 100644 --- a/BlendFile/DNA/SolidifyModifierData.cs +++ b/BlendFile/DNA/SolidifyModifierData.cs @@ -14,46 +14,46 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(487, "SolidifyModifierData", 360)] - public struct SolidifyModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class SolidifyModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(2, "char", "shell_defgrp_name[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 2, "shell_defgrp_name[64]", "System.Char[]", false, 184)] public char[] shell_defgrp_name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "rim_defgrp_name[64]", "System.Char[]", 64, false, 248)] + [DNAFieldAttribute(64, "char", 3, "rim_defgrp_name[64]", "System.Char[]", false, 248)] public char[] rim_defgrp_name = new System.Char[64]; - [DNAFieldAttribute(4, "float", "offset", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 4, "offset", "float", false, 312)] public float offset; - [DNAFieldAttribute(5, "float", "offset_fac", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 5, "offset_fac", "float", false, 316)] public float offset_fac; - [DNAFieldAttribute(6, "float", "offset_fac_vg", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 6, "offset_fac_vg", "float", false, 320)] public float offset_fac_vg; - [DNAFieldAttribute(7, "float", "offset_clamp", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 7, "offset_clamp", "float", false, 324)] public float offset_clamp; - [DNAFieldAttribute(8, "char", "mode", "char", 1, false, 328)] + [DNAFieldAttribute(1, "char", 8, "mode", "char", false, 328)] public char mode; - [DNAFieldAttribute(9, "char", "nonmanifold_offset_mode", "char", 1, false, 329)] + [DNAFieldAttribute(1, "char", 9, "nonmanifold_offset_mode", "char", false, 329)] public char nonmanifold_offset_mode; - [DNAFieldAttribute(10, "char", "nonmanifold_boundary_mode", "char", 1, false, 330)] + [DNAFieldAttribute(1, "char", 10, "nonmanifold_boundary_mode", "char", false, 330)] public char nonmanifold_boundary_mode; - [DNAFieldAttribute(11, "char", "_pad", "char", 1, false, 331)] + [DNAFieldAttribute(1, "char", 11, "_pad", "char", false, 331)] public char _pad; - [DNAFieldAttribute(12, "float", "crease_inner", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 12, "crease_inner", "float", false, 332)] public float crease_inner; - [DNAFieldAttribute(13, "float", "crease_outer", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 13, "crease_outer", "float", false, 336)] public float crease_outer; - [DNAFieldAttribute(14, "float", "crease_rim", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 14, "crease_rim", "float", false, 340)] public float crease_rim; - [DNAFieldAttribute(15, "int", "flag", "int", 4, false, 344)] + [DNAFieldAttribute(4, "int", 15, "flag", "int", false, 344)] public int flag; - [DNAFieldAttribute(16, "short", "mat_ofs", "short", 2, false, 348)] + [DNAFieldAttribute(2, "short", 16, "mat_ofs", "short", false, 348)] public short mat_ofs; - [DNAFieldAttribute(17, "short", "mat_ofs_rim", "short", 2, false, 350)] + [DNAFieldAttribute(2, "short", 17, "mat_ofs_rim", "short", false, 350)] public short mat_ofs_rim; - [DNAFieldAttribute(18, "float", "merge_tolerance", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 18, "merge_tolerance", "float", false, 352)] public float merge_tolerance; - [DNAFieldAttribute(19, "float", "bevel_convex", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 19, "bevel_convex", "float", false, 356)] public float bevel_convex; public SolidifyModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SoundEqualizerModifierData.cs b/BlendFile/DNA/SoundEqualizerModifierData.cs index 41a50e4..8ac1b65 100644 --- a/BlendFile/DNA/SoundEqualizerModifierData.cs +++ b/BlendFile/DNA/SoundEqualizerModifierData.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(913, "SoundEqualizerModifierData", 128)] - public struct SoundEqualizerModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class SoundEqualizerModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "ListBase", "graphics", "ListBase", 16, false, 112)] + [DNAFieldAttribute(16, "ListBase", 1, "graphics", "ListBase", false, 112)] public ListBase graphics; public SoundEqualizerModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SpaceAction.cs b/BlendFile/DNA/SpaceAction.cs index 859ab48..79826be 100644 --- a/BlendFile/DNA/SpaceAction.cs +++ b/BlendFile/DNA/SpaceAction.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(72, "SpaceAction", 344)] public class SpaceAction { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "View2D", "v2d", "View2D", 152, false, 40)] + [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; - [DNAFieldAttribute(7, "bAction", "*action", "bAction", 8, true, 192)] - public bAction ptr_action; - [DNAFieldAttribute(8, "int", "action_slot_handle", "int", 4, false, 200)] + [DNAFieldAttribute(8, "bAction", 7, "*action", "bAction", true, 192)] + public bAction action; + [DNAFieldAttribute(4, "int", 8, "action_slot_handle", "int", false, 200)] public int action_slot_handle; - [DNAFieldAttribute(9, "char", "_pad2[4]", "System.Char[]", 4, false, 204)] + [DNAFieldAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", false, 204)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(10, "bDopeSheet", "ads", "bDopeSheet", 112, false, 208)] + [DNAFieldAttribute(112, "bDopeSheet", 10, "ads", "bDopeSheet", false, 208)] public bDopeSheet ads; - [DNAFieldAttribute(11, "float", "timeslide", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 11, "timeslide", "float", false, 320)] public float timeslide; - [DNAFieldAttribute(12, "short", "flag", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 324)] public short flag; - [DNAFieldAttribute(13, "char", "mode", "char", 1, false, 326)] + [DNAFieldAttribute(1, "char", 13, "mode", "char", false, 326)] public char mode; - [DNAFieldAttribute(14, "char", "mode_prev", "char", 1, false, 327)] + [DNAFieldAttribute(1, "char", 14, "mode_prev", "char", false, 327)] public char mode_prev; - [DNAFieldAttribute(15, "char", "autosnap", "char", 1, false, 328)] + [DNAFieldAttribute(1, "char", 15, "autosnap", "char", false, 328)] public char autosnap; - [DNAFieldAttribute(16, "char", "cache_display", "char", 1, false, 329)] + [DNAFieldAttribute(1, "char", 16, "cache_display", "char", false, 329)] public char cache_display; - [DNAFieldAttribute(17, "char", "_pad1[6]", "System.Char[]", 6, false, 330)] + [DNAFieldAttribute(6, "char", 17, "_pad1[6]", "System.Char[]", false, 330)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(18, "SpaceAction_Runtime", "runtime", "SpaceAction_Runtime", 8, false, 336)] + [DNAFieldAttribute(8, "SpaceAction_Runtime", 18, "runtime", "SpaceAction_Runtime", false, 336)] public SpaceAction_Runtime runtime; public SpaceAction() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; this._pad0 = default; this.v2d = default; - this.ptr_action = default; + this.action = default; this.action_slot_handle = default; this._pad2 = default; this.ads = default; @@ -75,14 +75,14 @@ namespace BlendFile.DNA { this.runtime = default; } public SpaceAction( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, View2D v2d, - bAction ptr_action, + bAction action, int action_slot_handle, char[] _pad2, bDopeSheet ads, @@ -94,14 +94,14 @@ namespace BlendFile.DNA { char cache_display, char[] _pad1, SpaceAction_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; this.v2d = v2d; - this.ptr_action = ptr_action; + this.action = action; this.action_slot_handle = action_slot_handle; this._pad2 = _pad2; this.ads = ads; diff --git a/BlendFile/DNA/SpaceAction_Runtime.cs b/BlendFile/DNA/SpaceAction_Runtime.cs index fc87806..fb3619e 100644 --- a/BlendFile/DNA/SpaceAction_Runtime.cs +++ b/BlendFile/DNA/SpaceAction_Runtime.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(71, "SpaceAction_Runtime", 8)] - public struct SpaceAction_Runtime { - [DNAFieldAttribute(0, "char", "flag", "char", 1, false, 0)] + public class SpaceAction_Runtime { + [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; - [DNAFieldAttribute(1, "char", "_pad0[7]", "System.Char[]", 7, false, 1)] + [DNAFieldAttribute(7, "char", 1, "_pad0[7]", "System.Char[]", false, 1)] public char[] _pad0 = new System.Char[7]; public SpaceAction_Runtime() { this.flag = default; diff --git a/BlendFile/DNA/SpaceButs.cs b/BlendFile/DNA/SpaceButs.cs index 033fc21..3a24a93 100644 --- a/BlendFile/DNA/SpaceButs.cs +++ b/BlendFile/DNA/SpaceButs.cs @@ -15,51 +15,51 @@ namespace BlendFile.DNA { [DNAClassAttribute(927, "SpaceButs", 248)] public class SpaceButs { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "View2D", "v2d", "View2D", 152, false, 40)] + [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; - [DNAFieldAttribute(7, "short", "space_subtype", "short", 2, false, 192)] + [DNAFieldAttribute(2, "short", 7, "space_subtype", "short", false, 192)] public short space_subtype; - [DNAFieldAttribute(8, "short", "mainb", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 8, "mainb", "short", false, 194)] public short mainb; - [DNAFieldAttribute(9, "short", "mainbo", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 9, "mainbo", "short", false, 196)] public short mainbo; - [DNAFieldAttribute(10, "short", "mainbuser", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 10, "mainbuser", "short", false, 198)] public short mainbuser; - [DNAFieldAttribute(11, "short", "preview", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 11, "preview", "short", false, 200)] public short preview; - [DNAFieldAttribute(12, "char", "_pad[4]", "System.Char[]", 4, false, 202)] + [DNAFieldAttribute(4, "char", 12, "_pad[4]", "System.Char[]", false, 202)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(13, "char", "flag", "char", 1, false, 206)] + [DNAFieldAttribute(1, "char", 13, "flag", "char", false, 206)] public char flag; - [DNAFieldAttribute(14, "char", "outliner_sync", "char", 1, false, 207)] + [DNAFieldAttribute(1, "char", 14, "outliner_sync", "char", false, 207)] public char outliner_sync; - [DNAFieldAttribute(15, "void", "*path", "void", 8, true, 208)] - public object ptr_path; - [DNAFieldAttribute(16, "int", "pathflag", "int", 4, false, 216)] + [DNAFieldAttribute(8, "void", 15, "*path", "void", true, 208)] + public object path; + [DNAFieldAttribute(4, "int", 16, "pathflag", "int", false, 216)] public int pathflag; - [DNAFieldAttribute(17, "int", "dataicon", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 17, "dataicon", "int", false, 220)] public int dataicon; - [DNAFieldAttribute(18, "ID", "*pinid", "ID", 8, true, 224)] - public ID ptr_pinid; - [DNAFieldAttribute(19, "void", "*texuser", "void", 8, true, 232)] - public object ptr_texuser; - [DNAFieldAttribute(20, "SpaceProperties_Runtime", "*runtime", "SpaceProperties_Runtime", 8, true, 240)] - public SpaceProperties_Runtime ptr_runtime; + [DNAFieldAttribute(8, "ID", 18, "*pinid", "ID", true, 224)] + public ID pinid; + [DNAFieldAttribute(8, "void", 19, "*texuser", "void", true, 232)] + public object texuser; + [DNAFieldAttribute(8, "SpaceProperties_Runtime", 20, "*runtime", "SpaceProperties_Runtime", true, 240)] + public SpaceProperties_Runtime runtime; public SpaceButs() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -73,16 +73,16 @@ namespace BlendFile.DNA { this._pad = default; this.flag = default; this.outliner_sync = default; - this.ptr_path = default; + this.path = default; this.pathflag = default; this.dataicon = default; - this.ptr_pinid = default; - this.ptr_texuser = default; - this.ptr_runtime = default; + this.pinid = default; + this.texuser = default; + this.runtime = default; } public SpaceButs( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, @@ -96,14 +96,14 @@ namespace BlendFile.DNA { char[] _pad, char flag, char outliner_sync, - object ptr_path, + object path, int pathflag, int dataicon, - ID ptr_pinid, - object ptr_texuser, - SpaceProperties_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + ID pinid, + object texuser, + SpaceProperties_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -117,12 +117,12 @@ namespace BlendFile.DNA { this._pad = _pad; this.flag = flag; this.outliner_sync = outliner_sync; - this.ptr_path = ptr_path; + this.path = path; this.pathflag = pathflag; this.dataicon = dataicon; - this.ptr_pinid = ptr_pinid; - this.ptr_texuser = ptr_texuser; - this.ptr_runtime = ptr_runtime; + this.pinid = pinid; + this.texuser = texuser; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceClip.cs b/BlendFile/DNA/SpaceClip.cs index ed28f98..c56bb7f 100644 --- a/BlendFile/DNA/SpaceClip.cs +++ b/BlendFile/DNA/SpaceClip.cs @@ -15,75 +15,75 @@ namespace BlendFile.DNA { [DNAClassAttribute(962, "SpaceClip", 416)] public class SpaceClip { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "char", "gizmo_flag", "char", 1, false, 40)] + [DNAFieldAttribute(1, "char", 6, "gizmo_flag", "char", false, 40)] public char gizmo_flag; - [DNAFieldAttribute(7, "char", "_pad1[3]", "System.Char[]", 3, false, 41)] + [DNAFieldAttribute(3, "char", 7, "_pad1[3]", "System.Char[]", false, 41)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(8, "float", "xof", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 8, "xof", "float", false, 44)] public float xof; - [DNAFieldAttribute(9, "float", "yof", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 9, "yof", "float", false, 48)] public float yof; - [DNAFieldAttribute(10, "float", "xlockof", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 10, "xlockof", "float", false, 52)] public float xlockof; - [DNAFieldAttribute(11, "float", "ylockof", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 11, "ylockof", "float", false, 56)] public float ylockof; - [DNAFieldAttribute(12, "float", "zoom", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 12, "zoom", "float", false, 60)] public float zoom; - [DNAFieldAttribute(13, "MovieClipUser", "user", "MovieClipUser", 8, false, 64)] + [DNAFieldAttribute(8, "MovieClipUser", 13, "user", "MovieClipUser", false, 64)] public MovieClipUser user; - [DNAFieldAttribute(14, "MovieClip", "*clip", "MovieClip", 8, true, 72)] - public MovieClip ptr_clip; - [DNAFieldAttribute(15, "MovieClipScopes", "scopes", "MovieClipScopes", 136, false, 80)] + [DNAFieldAttribute(8, "MovieClip", 14, "*clip", "MovieClip", true, 72)] + public MovieClip clip; + [DNAFieldAttribute(136, "MovieClipScopes", 15, "scopes", "MovieClipScopes", false, 80)] public MovieClipScopes scopes; - [DNAFieldAttribute(16, "int", "flag", "int", 4, false, 216)] + [DNAFieldAttribute(4, "int", 16, "flag", "int", false, 216)] public int flag; - [DNAFieldAttribute(17, "short", "mode", "short", 2, false, 220)] + [DNAFieldAttribute(2, "short", 17, "mode", "short", false, 220)] public short mode; - [DNAFieldAttribute(18, "short", "view", "short", 2, false, 222)] + [DNAFieldAttribute(2, "short", 18, "view", "short", false, 222)] public short view; - [DNAFieldAttribute(19, "int", "path_length", "int", 4, false, 224)] + [DNAFieldAttribute(4, "int", 19, "path_length", "int", false, 224)] public int path_length; - [DNAFieldAttribute(20, "float", "loc[2]", "System.Single[]", 8, false, 228)] + [DNAFieldAttribute(8, "float", 20, "loc[2]", "System.Single[]", false, 228)] public float[] loc = new System.Single[2]; - [DNAFieldAttribute(21, "float", "scale", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 21, "scale", "float", false, 236)] public float scale; - [DNAFieldAttribute(22, "float", "angle", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 22, "angle", "float", false, 240)] public float angle; - [DNAFieldAttribute(23, "char", "_pad[4]", "System.Char[]", 4, false, 244)] + [DNAFieldAttribute(4, "char", 23, "_pad[4]", "System.Char[]", false, 244)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(24, "float", "stabmat[4][4]", "System.Single[,]", 64, false, 248)] + [DNAFieldAttribute(64, "float", 24, "stabmat[4][4]", "System.Single[,]", false, 248)] public float[,] stabmat = new System.Single[4,4]; - [DNAFieldAttribute(25, "float", "unistabmat[4][4]", "System.Single[,]", 64, false, 312)] + [DNAFieldAttribute(64, "float", 25, "unistabmat[4][4]", "System.Single[,]", false, 312)] public float[,] unistabmat = new System.Single[4,4]; - [DNAFieldAttribute(26, "int", "postproc_flag", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 26, "postproc_flag", "int", false, 376)] public int postproc_flag; - [DNAFieldAttribute(27, "short", "gpencil_src", "short", 2, false, 380)] + [DNAFieldAttribute(2, "short", 27, "gpencil_src", "short", false, 380)] public short gpencil_src; - [DNAFieldAttribute(28, "char", "_pad2[2]", "System.Char[]", 2, false, 382)] + [DNAFieldAttribute(2, "char", 28, "_pad2[2]", "System.Char[]", false, 382)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(29, "int", "around", "int", 4, false, 384)] + [DNAFieldAttribute(4, "int", 29, "around", "int", false, 384)] public int around; - [DNAFieldAttribute(30, "char", "_pad4[4]", "System.Char[]", 4, false, 388)] + [DNAFieldAttribute(4, "char", 30, "_pad4[4]", "System.Char[]", false, 388)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(31, "float", "cursor[2]", "System.Single[]", 8, false, 392)] + [DNAFieldAttribute(8, "float", 31, "cursor[2]", "System.Single[]", false, 392)] public float[] cursor = new System.Single[2]; - [DNAFieldAttribute(32, "MaskSpaceInfo", "mask_info", "MaskSpaceInfo", 16, false, 400)] + [DNAFieldAttribute(16, "MaskSpaceInfo", 32, "mask_info", "MaskSpaceInfo", false, 400)] public MaskSpaceInfo mask_info; public SpaceClip() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -96,7 +96,7 @@ namespace BlendFile.DNA { this.ylockof = default; this.zoom = default; this.user = default; - this.ptr_clip = default; + this.clip = default; this.scopes = default; this.flag = default; this.mode = default; @@ -117,8 +117,8 @@ namespace BlendFile.DNA { this.mask_info = default; } public SpaceClip( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, @@ -131,7 +131,7 @@ namespace BlendFile.DNA { float ylockof, float zoom, MovieClipUser user, - MovieClip ptr_clip, + MovieClip clip, MovieClipScopes scopes, int flag, short mode, @@ -150,8 +150,8 @@ namespace BlendFile.DNA { char[] _pad4, float[] cursor, MaskSpaceInfo mask_info) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -164,7 +164,7 @@ namespace BlendFile.DNA { this.ylockof = ylockof; this.zoom = zoom; this.user = user; - this.ptr_clip = ptr_clip; + this.clip = clip; this.scopes = scopes; this.flag = flag; this.mode = mode; diff --git a/BlendFile/DNA/SpaceConsole.cs b/BlendFile/DNA/SpaceConsole.cs index d92ea9f..0617a75 100644 --- a/BlendFile/DNA/SpaceConsole.cs +++ b/BlendFile/DNA/SpaceConsole.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(960, "SpaceConsole", 376)] public class SpaceConsole { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "ListBase", "scrollback", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 6, "scrollback", "ListBase", false, 40)] public ListBase scrollback; - [DNAFieldAttribute(7, "ListBase", "history", "ListBase", 16, false, 56)] + [DNAFieldAttribute(16, "ListBase", 7, "history", "ListBase", false, 56)] public ListBase history; - [DNAFieldAttribute(8, "char", "prompt[256]", "System.Char[]", 256, false, 72)] + [DNAFieldAttribute(256, "char", 8, "prompt[256]", "System.Char[]", false, 72)] public char[] prompt = new System.Char[256]; - [DNAFieldAttribute(9, "char", "language[32]", "System.Char[]", 32, false, 328)] + [DNAFieldAttribute(32, "char", 9, "language[32]", "System.Char[]", false, 328)] public char[] language = new System.Char[32]; - [DNAFieldAttribute(10, "int", "lheight", "int", 4, false, 360)] + [DNAFieldAttribute(4, "int", 10, "lheight", "int", false, 360)] public int lheight; - [DNAFieldAttribute(11, "int", "history_index", "int", 4, false, 364)] + [DNAFieldAttribute(4, "int", 11, "history_index", "int", false, 364)] public int history_index; - [DNAFieldAttribute(12, "int", "sel_start", "int", 4, false, 368)] + [DNAFieldAttribute(4, "int", 12, "sel_start", "int", false, 368)] public int sel_start; - [DNAFieldAttribute(13, "int", "sel_end", "int", 4, false, 372)] + [DNAFieldAttribute(4, "int", 13, "sel_end", "int", false, 372)] public int sel_end; public SpaceConsole() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -59,9 +59,9 @@ namespace BlendFile.DNA { 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; + public SpaceConsole(SpaceLink next, SpaceLink 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.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; diff --git a/BlendFile/DNA/SpaceFile.cs b/BlendFile/DNA/SpaceFile.cs index 76f1f3a..c1434cf 100644 --- a/BlendFile/DNA/SpaceFile.cs +++ b/BlendFile/DNA/SpaceFile.cs @@ -15,61 +15,61 @@ namespace BlendFile.DNA { [DNAClassAttribute(944, "SpaceFile", 160)] public class SpaceFile { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "char", "browse_mode", "char", 1, false, 40)] + [DNAFieldAttribute(1, "char", 6, "browse_mode", "char", false, 40)] public char browse_mode; - [DNAFieldAttribute(7, "char", "_pad1[1]", "System.Char[]", 1, false, 41)] + [DNAFieldAttribute(1, "char", 7, "_pad1[1]", "System.Char[]", false, 41)] public char[] _pad1 = new System.Char[1]; - [DNAFieldAttribute(8, "short", "tags", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 8, "tags", "short", false, 42)] public short tags; - [DNAFieldAttribute(9, "int", "scroll_offset", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 9, "scroll_offset", "int", false, 44)] public int scroll_offset; - [DNAFieldAttribute(10, "FileSelectParams", "*params", "FileSelectParams", 8, true, 48)] - public FileSelectParams ptr_params; - [DNAFieldAttribute(11, "FileAssetSelectParams", "*asset_params", "FileAssetSelectParams", 8, true, 56)] - public FileAssetSelectParams ptr_asset_params; - [DNAFieldAttribute(12, "void", "*_pad2", "void", 8, true, 64)] - public object ptr__pad2; - [DNAFieldAttribute(13, "FileList", "*files", "FileList", 8, true, 72)] - public FileList ptr_files; - [DNAFieldAttribute(14, "ListBase", "*folders_prev", "ListBase", 8, true, 80)] - public ListBase ptr_folders_prev; - [DNAFieldAttribute(15, "ListBase", "*folders_next", "ListBase", 8, true, 88)] - public ListBase ptr_folders_next; - [DNAFieldAttribute(16, "ListBase", "folder_histories", "ListBase", 16, false, 96)] + [DNAFieldAttribute(8, "FileSelectParams", 10, "*params", "FileSelectParams", true, 48)] + public FileSelectParams @params; + [DNAFieldAttribute(8, "FileAssetSelectParams", 11, "*asset_params", "FileAssetSelectParams", true, 56)] + public FileAssetSelectParams asset_params; + [DNAFieldAttribute(8, "void", 12, "*_pad2", "void", true, 64)] + public object _pad2; + [DNAFieldAttribute(8, "FileList", 13, "*files", "FileList", true, 72)] + public FileList files; + [DNAFieldAttribute(8, "ListBase", 14, "*folders_prev", "ListBase", true, 80)] + public ListBase folders_prev; + [DNAFieldAttribute(8, "ListBase", 15, "*folders_next", "ListBase", true, 88)] + public ListBase folders_next; + [DNAFieldAttribute(16, "ListBase", 16, "folder_histories", "ListBase", false, 96)] public ListBase folder_histories; - [DNAFieldAttribute(17, "wmOperator", "*op", "wmOperator", 8, true, 112)] - public wmOperator ptr_op; - [DNAFieldAttribute(18, "wmTimer", "*smoothscroll_timer", "wmTimer", 8, true, 120)] - public wmTimer ptr_smoothscroll_timer; - [DNAFieldAttribute(19, "wmTimer", "*previews_timer", "wmTimer", 8, true, 128)] - public wmTimer ptr_previews_timer; - [DNAFieldAttribute(20, "FileLayout", "*layout", "FileLayout", 8, true, 136)] - public FileLayout ptr_layout; - [DNAFieldAttribute(21, "short", "recentnr", "short", 2, false, 144)] + [DNAFieldAttribute(8, "wmOperator", 17, "*op", "wmOperator", true, 112)] + public wmOperator op; + [DNAFieldAttribute(8, "wmTimer", 18, "*smoothscroll_timer", "wmTimer", true, 120)] + public wmTimer smoothscroll_timer; + [DNAFieldAttribute(8, "wmTimer", 19, "*previews_timer", "wmTimer", true, 128)] + public wmTimer previews_timer; + [DNAFieldAttribute(8, "FileLayout", 20, "*layout", "FileLayout", true, 136)] + public FileLayout layout; + [DNAFieldAttribute(2, "short", 21, "recentnr", "short", false, 144)] public short recentnr; - [DNAFieldAttribute(22, "short", "bookmarknr", "short", 2, false, 146)] + [DNAFieldAttribute(2, "short", 22, "bookmarknr", "short", false, 146)] public short bookmarknr; - [DNAFieldAttribute(23, "short", "systemnr", "short", 2, false, 148)] + [DNAFieldAttribute(2, "short", 23, "systemnr", "short", false, 148)] public short systemnr; - [DNAFieldAttribute(24, "short", "system_bookmarknr", "short", 2, false, 150)] + [DNAFieldAttribute(2, "short", 24, "system_bookmarknr", "short", false, 150)] public short system_bookmarknr; - [DNAFieldAttribute(25, "SpaceFile_Runtime", "*runtime", "SpaceFile_Runtime", 8, true, 152)] - public SpaceFile_Runtime ptr_runtime; + [DNAFieldAttribute(8, "SpaceFile_Runtime", 25, "*runtime", "SpaceFile_Runtime", true, 152)] + public SpaceFile_Runtime runtime; public SpaceFile() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -78,26 +78,26 @@ namespace BlendFile.DNA { 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.@params = default; + this.asset_params = default; + this._pad2 = default; + this.files = default; + this.folders_prev = default; + this.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.op = default; + this.smoothscroll_timer = default; + this.previews_timer = default; + this.layout = default; this.recentnr = default; this.bookmarknr = default; this.systemnr = default; this.system_bookmarknr = default; - this.ptr_runtime = default; + this.runtime = default; } public SpaceFile( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, @@ -106,24 +106,24 @@ namespace BlendFile.DNA { char[] _pad1, short tags, int scroll_offset, - FileSelectParams ptr_params, - FileAssetSelectParams ptr_asset_params, - object ptr__pad2, - FileList ptr_files, - ListBase ptr_folders_prev, - ListBase ptr_folders_next, + FileSelectParams @params, + FileAssetSelectParams asset_params, + object _pad2, + FileList files, + ListBase folders_prev, + ListBase folders_next, ListBase folder_histories, - wmOperator ptr_op, - wmTimer ptr_smoothscroll_timer, - wmTimer ptr_previews_timer, - FileLayout ptr_layout, + wmOperator op, + wmTimer smoothscroll_timer, + wmTimer previews_timer, + FileLayout layout, short recentnr, short bookmarknr, short systemnr, short system_bookmarknr, - SpaceFile_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + SpaceFile_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -132,22 +132,22 @@ namespace BlendFile.DNA { this._pad1 = _pad1; this.tags = tags; this.scroll_offset = scroll_offset; - this.ptr_params = ptr_params; - this.ptr_asset_params = ptr_asset_params; - this.ptr__pad2 = ptr__pad2; - this.ptr_files = ptr_files; - this.ptr_folders_prev = ptr_folders_prev; - this.ptr_folders_next = ptr_folders_next; + this.@params = @params; + this.asset_params = asset_params; + this._pad2 = _pad2; + this.files = files; + this.folders_prev = folders_prev; + this.folders_next = folders_next; this.folder_histories = folder_histories; - this.ptr_op = ptr_op; - this.ptr_smoothscroll_timer = ptr_smoothscroll_timer; - this.ptr_previews_timer = ptr_previews_timer; - this.ptr_layout = ptr_layout; + this.op = op; + this.smoothscroll_timer = smoothscroll_timer; + this.previews_timer = previews_timer; + this.layout = layout; this.recentnr = recentnr; this.bookmarknr = bookmarknr; this.systemnr = systemnr; this.system_bookmarknr = system_bookmarknr; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceGraph_Runtime.cs b/BlendFile/DNA/SpaceGraph_Runtime.cs index a834057..3554262 100644 --- a/BlendFile/DNA/SpaceGraph_Runtime.cs +++ b/BlendFile/DNA/SpaceGraph_Runtime.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(931, "SpaceGraph_Runtime", 24)] - public struct SpaceGraph_Runtime { - [DNAFieldAttribute(0, "char", "flag", "char", 1, false, 0)] + public class SpaceGraph_Runtime { + [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; - [DNAFieldAttribute(1, "char", "_pad[7]", "System.Char[]", 7, false, 1)] + [DNAFieldAttribute(7, "char", 1, "_pad[7]", "System.Char[]", false, 1)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(2, "ListBase", "ghost_curves", "ListBase", 16, false, 8)] + [DNAFieldAttribute(16, "ListBase", 2, "ghost_curves", "ListBase", false, 8)] public ListBase ghost_curves; public SpaceGraph_Runtime() { this.flag = default; diff --git a/BlendFile/DNA/SpaceImage.cs b/BlendFile/DNA/SpaceImage.cs index b46e3f7..59120f8 100644 --- a/BlendFile/DNA/SpaceImage.cs +++ b/BlendFile/DNA/SpaceImage.cs @@ -15,88 +15,88 @@ namespace BlendFile.DNA { [DNAClassAttribute(950, "SpaceImage", 10624)] public class SpaceImage { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "Image", "*image", "Image", 8, true, 40)] - public Image ptr_image; - [DNAFieldAttribute(7, "ImageUser", "iuser", "ImageUser", 40, false, 48)] + [DNAFieldAttribute(8, "Image", 6, "*image", "Image", true, 40)] + public Image image; + [DNAFieldAttribute(40, "ImageUser", 7, "iuser", "ImageUser", false, 48)] public ImageUser iuser; - [DNAFieldAttribute(8, "Scopes", "scopes", "Scopes", 5272, false, 88)] + [DNAFieldAttribute(5272, "Scopes", 8, "scopes", "Scopes", false, 88)] public Scopes scopes; - [DNAFieldAttribute(9, "Histogram", "sample_line_hist", "Histogram", 5160, false, 5360)] + [DNAFieldAttribute(5160, "Histogram", 9, "sample_line_hist", "Histogram", false, 5360)] public Histogram sample_line_hist; - [DNAFieldAttribute(10, "bGPdata", "*gpd", "bGPdata", 8, true, 10520)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(11, "float", "cursor[2]", "System.Single[]", 8, false, 10528)] + [DNAFieldAttribute(8, "bGPdata", 10, "*gpd", "bGPdata", true, 10520)] + public bGPdata gpd; + [DNAFieldAttribute(8, "float", 11, "cursor[2]", "System.Single[]", false, 10528)] public float[] cursor = new System.Single[2]; - [DNAFieldAttribute(12, "float", "xof", "float", 4, false, 10536)] + [DNAFieldAttribute(4, "float", 12, "xof", "float", false, 10536)] public float xof; - [DNAFieldAttribute(13, "float", "yof", "float", 4, false, 10540)] + [DNAFieldAttribute(4, "float", 13, "yof", "float", false, 10540)] public float yof; - [DNAFieldAttribute(14, "float", "zoom", "float", 4, false, 10544)] + [DNAFieldAttribute(4, "float", 14, "zoom", "float", false, 10544)] public float zoom; - [DNAFieldAttribute(15, "float", "centx", "float", 4, false, 10548)] + [DNAFieldAttribute(4, "float", 15, "centx", "float", false, 10548)] public float centx; - [DNAFieldAttribute(16, "float", "centy", "float", 4, false, 10552)] + [DNAFieldAttribute(4, "float", 16, "centy", "float", false, 10552)] public float centy; - [DNAFieldAttribute(17, "char", "mode", "char", 1, false, 10556)] + [DNAFieldAttribute(1, "char", 17, "mode", "char", false, 10556)] public char mode; - [DNAFieldAttribute(18, "char", "mode_prev", "char", 1, false, 10557)] + [DNAFieldAttribute(1, "char", 18, "mode_prev", "char", false, 10557)] public char mode_prev; - [DNAFieldAttribute(19, "char", "pin", "char", 1, false, 10558)] + [DNAFieldAttribute(1, "char", 19, "pin", "char", false, 10558)] public char pin; - [DNAFieldAttribute(20, "char", "pixel_snap_mode", "char", 1, false, 10559)] + [DNAFieldAttribute(1, "char", 20, "pixel_snap_mode", "char", false, 10559)] public char pixel_snap_mode; - [DNAFieldAttribute(21, "char", "lock", "char", 1, false, 10560)] + [DNAFieldAttribute(1, "char", 21, "lock", "char", false, 10560)] public char @lock; - [DNAFieldAttribute(22, "char", "dt_uv", "char", 1, false, 10561)] + [DNAFieldAttribute(1, "char", 22, "dt_uv", "char", false, 10561)] public char dt_uv; - [DNAFieldAttribute(23, "char", "dt_uvstretch", "char", 1, false, 10562)] + [DNAFieldAttribute(1, "char", 23, "dt_uvstretch", "char", false, 10562)] public char dt_uvstretch; - [DNAFieldAttribute(24, "char", "around", "char", 1, false, 10563)] + [DNAFieldAttribute(1, "char", 24, "around", "char", false, 10563)] public char around; - [DNAFieldAttribute(25, "char", "gizmo_flag", "char", 1, false, 10564)] + [DNAFieldAttribute(1, "char", 25, "gizmo_flag", "char", false, 10564)] public char gizmo_flag; - [DNAFieldAttribute(26, "char", "grid_shape_source", "char", 1, false, 10565)] + [DNAFieldAttribute(1, "char", 26, "grid_shape_source", "char", false, 10565)] public char grid_shape_source; - [DNAFieldAttribute(27, "char", "_pad1[6]", "System.Char[]", 6, false, 10566)] + [DNAFieldAttribute(6, "char", 27, "_pad1[6]", "System.Char[]", false, 10566)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(28, "int", "flag", "int", 4, false, 10572)] + [DNAFieldAttribute(4, "int", 28, "flag", "int", false, 10572)] public int flag; - [DNAFieldAttribute(29, "float", "uv_opacity", "float", 4, false, 10576)] + [DNAFieldAttribute(4, "float", 29, "uv_opacity", "float", false, 10576)] public float uv_opacity; - [DNAFieldAttribute(30, "float", "stretch_opacity", "float", 4, false, 10580)] + [DNAFieldAttribute(4, "float", 30, "stretch_opacity", "float", false, 10580)] public float stretch_opacity; - [DNAFieldAttribute(31, "int", "tile_grid_shape[2]", "System.Int32[]", 8, false, 10584)] + [DNAFieldAttribute(8, "int", 31, "tile_grid_shape[2]", "System.Int32[]", false, 10584)] public int[] tile_grid_shape = new System.Int32[2]; - [DNAFieldAttribute(32, "int", "custom_grid_subdiv[2]", "System.Int32[]", 8, false, 10592)] + [DNAFieldAttribute(8, "int", 32, "custom_grid_subdiv[2]", "System.Int32[]", false, 10592)] public int[] custom_grid_subdiv = new System.Int32[2]; - [DNAFieldAttribute(33, "MaskSpaceInfo", "mask_info", "MaskSpaceInfo", 16, false, 10600)] + [DNAFieldAttribute(16, "MaskSpaceInfo", 33, "mask_info", "MaskSpaceInfo", false, 10600)] public MaskSpaceInfo mask_info; - [DNAFieldAttribute(34, "SpaceImageOverlay", "overlay", "SpaceImageOverlay", 8, false, 10616)] + [DNAFieldAttribute(8, "SpaceImageOverlay", 34, "overlay", "SpaceImageOverlay", false, 10616)] public SpaceImageOverlay overlay; public SpaceImage() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; this._pad0 = default; - this.ptr_image = default; + this.image = default; this.iuser = default; this.scopes = default; this.sample_line_hist = default; - this.ptr_gpd = default; + this.gpd = default; this.cursor = default; this.xof = default; this.yof = default; @@ -123,17 +123,17 @@ namespace BlendFile.DNA { this.overlay = default; } public SpaceImage( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, - Image ptr_image, + Image image, ImageUser iuser, Scopes scopes, Histogram sample_line_hist, - bGPdata ptr_gpd, + bGPdata gpd, float[] cursor, float xof, float yof, @@ -158,17 +158,17 @@ namespace BlendFile.DNA { int[] custom_grid_subdiv, MaskSpaceInfo mask_info, SpaceImageOverlay overlay) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; - this.ptr_image = ptr_image; + this.image = image; this.iuser = iuser; this.scopes = scopes; this.sample_line_hist = sample_line_hist; - this.ptr_gpd = ptr_gpd; + this.gpd = gpd; this.cursor = cursor; this.xof = xof; this.yof = yof; diff --git a/BlendFile/DNA/SpaceImageOverlay.cs b/BlendFile/DNA/SpaceImageOverlay.cs index 756a007..62393d7 100644 --- a/BlendFile/DNA/SpaceImageOverlay.cs +++ b/BlendFile/DNA/SpaceImageOverlay.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(949, "SpaceImageOverlay", 8)] - public struct SpaceImageOverlay { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SpaceImageOverlay { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; public SpaceImageOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SpaceInfo.cs b/BlendFile/DNA/SpaceInfo.cs index 80ce293..f4a8667 100644 --- a/BlendFile/DNA/SpaceInfo.cs +++ b/BlendFile/DNA/SpaceInfo.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(926, "SpaceInfo", 48)] public class SpaceInfo { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "char", "rpt_mask", "char", 1, false, 40)] + [DNAFieldAttribute(1, "char", 6, "rpt_mask", "char", false, 40)] public char rpt_mask; - [DNAFieldAttribute(7, "char", "_pad[7]", "System.Char[]", 7, false, 41)] + [DNAFieldAttribute(7, "char", 7, "_pad[7]", "System.Char[]", false, 41)] public char[] _pad = new System.Char[7]; public SpaceInfo() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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; + public SpaceInfo(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, char rpt_mask, char[] _pad) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; diff --git a/BlendFile/DNA/SpaceIpo.cs b/BlendFile/DNA/SpaceIpo.cs index 6f9f39f..ce746c6 100644 --- a/BlendFile/DNA/SpaceIpo.cs +++ b/BlendFile/DNA/SpaceIpo.cs @@ -15,47 +15,47 @@ namespace BlendFile.DNA { [DNAClassAttribute(932, "SpaceIpo", 248)] public class SpaceIpo { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "View2D", "v2d", "View2D", 152, false, 40)] + [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; - [DNAFieldAttribute(7, "bDopeSheet", "*ads", "bDopeSheet", 8, true, 192)] - public bDopeSheet ptr_ads; - [DNAFieldAttribute(8, "short", "mode", "short", 2, false, 200)] + [DNAFieldAttribute(8, "bDopeSheet", 7, "*ads", "bDopeSheet", true, 192)] + public bDopeSheet ads; + [DNAFieldAttribute(2, "short", 8, "mode", "short", false, 200)] public short mode; - [DNAFieldAttribute(9, "short", "autosnap", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 9, "autosnap", "short", false, 202)] public short autosnap; - [DNAFieldAttribute(10, "int", "flag", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 204)] public int flag; - [DNAFieldAttribute(11, "float", "cursorTime", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 11, "cursorTime", "float", false, 208)] public float cursorTime; - [DNAFieldAttribute(12, "float", "cursorVal", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 12, "cursorVal", "float", false, 212)] public float cursorVal; - [DNAFieldAttribute(13, "int", "around", "int", 4, false, 216)] + [DNAFieldAttribute(4, "int", 13, "around", "int", false, 216)] public int around; - [DNAFieldAttribute(14, "char", "_pad[4]", "System.Char[]", 4, false, 220)] + [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 220)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(15, "SpaceGraph_Runtime", "runtime", "SpaceGraph_Runtime", 24, false, 224)] + [DNAFieldAttribute(24, "SpaceGraph_Runtime", 15, "runtime", "SpaceGraph_Runtime", false, 224)] public SpaceGraph_Runtime runtime; public SpaceIpo() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; this._pad0 = default; this.v2d = default; - this.ptr_ads = default; + this.ads = default; this.mode = default; this.autosnap = default; this.flag = default; @@ -66,14 +66,14 @@ namespace BlendFile.DNA { this.runtime = default; } public SpaceIpo( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, View2D v2d, - bDopeSheet ptr_ads, + bDopeSheet ads, short mode, short autosnap, int flag, @@ -82,14 +82,14 @@ namespace BlendFile.DNA { int around, char[] _pad, SpaceGraph_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; this.v2d = v2d; - this.ptr_ads = ptr_ads; + this.ads = ads; this.mode = mode; this.autosnap = autosnap; this.flag = flag; diff --git a/BlendFile/DNA/SpaceLink.cs b/BlendFile/DNA/SpaceLink.cs index 7319138..596e5d5 100644 --- a/BlendFile/DNA/SpaceLink.cs +++ b/BlendFile/DNA/SpaceLink.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(73, "SpaceLink", 40)] public class SpaceLink { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; public SpaceLink() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public SpaceLink(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; diff --git a/BlendFile/DNA/SpaceNla.cs b/BlendFile/DNA/SpaceNla.cs index aef05db..c2bae80 100644 --- a/BlendFile/DNA/SpaceNla.cs +++ b/BlendFile/DNA/SpaceNla.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(933, "SpaceNla", 208)] public class SpaceNla { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "short", "autosnap", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 6, "autosnap", "short", false, 40)] public short autosnap; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 42)] public short flag; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 44)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 44)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(9, "bDopeSheet", "*ads", "bDopeSheet", 8, true, 48)] - public bDopeSheet ptr_ads; - [DNAFieldAttribute(10, "View2D", "v2d", "View2D", 152, false, 56)] + [DNAFieldAttribute(8, "bDopeSheet", 9, "*ads", "bDopeSheet", true, 48)] + public bDopeSheet ads; + [DNAFieldAttribute(152, "View2D", 10, "v2d", "View2D", false, 56)] public View2D v2d; public SpaceNla() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -47,12 +47,12 @@ namespace BlendFile.DNA { this.autosnap = default; this.flag = default; this._pad = default; - this.ptr_ads = default; + this.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; + public SpaceNla(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, short autosnap, short flag, char[] _pad, bDopeSheet ads, View2D v2d) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -60,7 +60,7 @@ namespace BlendFile.DNA { this.autosnap = autosnap; this.flag = flag; this._pad = _pad; - this.ptr_ads = ptr_ads; + this.ads = ads; this.v2d = v2d; } } diff --git a/BlendFile/DNA/SpaceNode.cs b/BlendFile/DNA/SpaceNode.cs index 4f01416..76e80d9 100644 --- a/BlendFile/DNA/SpaceNode.cs +++ b/BlendFile/DNA/SpaceNode.cs @@ -15,70 +15,70 @@ namespace BlendFile.DNA { [DNAClassAttribute(957, "SpaceNode", 360)] public class SpaceNode { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "View2D", "v2d", "View2D", 152, false, 40)] + [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; - [DNAFieldAttribute(7, "ID", "*id", "ID", 8, true, 192)] - public ID ptr_id; - [DNAFieldAttribute(8, "ID", "*from", "ID", 8, true, 200)] - public ID ptr_from; - [DNAFieldAttribute(9, "short", "flag", "short", 2, false, 208)] + [DNAFieldAttribute(8, "ID", 7, "*id", "ID", true, 192)] + public ID id; + [DNAFieldAttribute(8, "ID", 8, "*from", "ID", true, 200)] + public ID from; + [DNAFieldAttribute(2, "short", 9, "flag", "short", false, 208)] public short flag; - [DNAFieldAttribute(10, "char", "insert_ofs_dir", "char", 1, false, 210)] + [DNAFieldAttribute(1, "char", 10, "insert_ofs_dir", "char", false, 210)] public char insert_ofs_dir; - [DNAFieldAttribute(11, "char", "_pad1", "char", 1, false, 211)] + [DNAFieldAttribute(1, "char", 11, "_pad1", "char", false, 211)] public char _pad1; - [DNAFieldAttribute(12, "float", "xof", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 12, "xof", "float", false, 212)] public float xof; - [DNAFieldAttribute(13, "float", "yof", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 13, "yof", "float", false, 216)] public float yof; - [DNAFieldAttribute(14, "float", "zoom", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 14, "zoom", "float", false, 220)] public float zoom; - [DNAFieldAttribute(15, "ListBase", "treepath", "ListBase", 16, false, 224)] + [DNAFieldAttribute(16, "ListBase", 15, "treepath", "ListBase", false, 224)] public ListBase treepath; - [DNAFieldAttribute(16, "bNodeTree", "*edittree", "bNodeTree", 8, true, 240)] - public bNodeTree ptr_edittree; - [DNAFieldAttribute(17, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 248)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(18, "char", "tree_idname[64]", "System.Char[]", 64, false, 256)] + [DNAFieldAttribute(8, "bNodeTree", 16, "*edittree", "bNodeTree", true, 240)] + public bNodeTree edittree; + [DNAFieldAttribute(8, "bNodeTree", 17, "*nodetree", "bNodeTree", true, 248)] + public bNodeTree nodetree; + [DNAFieldAttribute(64, "char", 18, "tree_idname[64]", "System.Char[]", false, 256)] public char[] tree_idname = new System.Char[64]; - [DNAFieldAttribute(19, "int", "treetype", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 19, "treetype", "int", false, 320)] public int treetype; - [DNAFieldAttribute(20, "short", "texfrom", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 20, "texfrom", "short", false, 324)] public short texfrom; - [DNAFieldAttribute(21, "char", "shaderfrom", "char", 1, false, 326)] + [DNAFieldAttribute(1, "char", 21, "shaderfrom", "char", false, 326)] public char shaderfrom; - [DNAFieldAttribute(22, "char", "geometry_nodes_type", "char", 1, false, 327)] + [DNAFieldAttribute(1, "char", 22, "geometry_nodes_type", "char", false, 327)] public char geometry_nodes_type; - [DNAFieldAttribute(23, "bNodeTree", "*geometry_nodes_tool_tree", "bNodeTree", 8, true, 328)] - public bNodeTree ptr_geometry_nodes_tool_tree; - [DNAFieldAttribute(24, "bGPdata", "*gpd", "bGPdata", 8, true, 336)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(25, "SpaceNodeOverlay", "overlay", "SpaceNodeOverlay", 8, false, 344)] + [DNAFieldAttribute(8, "bNodeTree", 23, "*geometry_nodes_tool_tree", "bNodeTree", true, 328)] + public bNodeTree geometry_nodes_tool_tree; + [DNAFieldAttribute(8, "bGPdata", 24, "*gpd", "bGPdata", true, 336)] + public bGPdata gpd; + [DNAFieldAttribute(8, "SpaceNodeOverlay", 25, "overlay", "SpaceNodeOverlay", false, 344)] public SpaceNodeOverlay overlay; - [DNAFieldAttribute(26, "SpaceNode_Runtime", "*runtime", "SpaceNode_Runtime", 8, true, 352)] - public SpaceNode_Runtime ptr_runtime; + [DNAFieldAttribute(8, "SpaceNode_Runtime", 26, "*runtime", "SpaceNode_Runtime", true, 352)] + public SpaceNode_Runtime runtime; public SpaceNode() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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.id = default; + this.from = default; this.flag = default; this.insert_ofs_dir = default; this._pad1 = default; @@ -86,28 +86,28 @@ namespace BlendFile.DNA { this.yof = default; this.zoom = default; this.treepath = default; - this.ptr_edittree = default; - this.ptr_nodetree = default; + this.edittree = default; + this.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.geometry_nodes_tool_tree = default; + this.gpd = default; this.overlay = default; - this.ptr_runtime = default; + this.runtime = default; } public SpaceNode( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, View2D v2d, - ID ptr_id, - ID ptr_from, + ID id, + ID from, short flag, char insert_ofs_dir, char _pad1, @@ -115,26 +115,26 @@ namespace BlendFile.DNA { float yof, float zoom, ListBase treepath, - bNodeTree ptr_edittree, - bNodeTree ptr_nodetree, + bNodeTree edittree, + bNodeTree nodetree, char[] tree_idname, int treetype, short texfrom, char shaderfrom, char geometry_nodes_type, - bNodeTree ptr_geometry_nodes_tool_tree, - bGPdata ptr_gpd, + bNodeTree geometry_nodes_tool_tree, + bGPdata gpd, SpaceNodeOverlay overlay, - SpaceNode_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + SpaceNode_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; this.v2d = v2d; - this.ptr_id = ptr_id; - this.ptr_from = ptr_from; + this.id = id; + this.from = from; this.flag = flag; this.insert_ofs_dir = insert_ofs_dir; this._pad1 = _pad1; @@ -142,17 +142,17 @@ namespace BlendFile.DNA { this.yof = yof; this.zoom = zoom; this.treepath = treepath; - this.ptr_edittree = ptr_edittree; - this.ptr_nodetree = ptr_nodetree; + this.edittree = edittree; + this.nodetree = nodetree; this.tree_idname = tree_idname; this.treetype = treetype; this.texfrom = texfrom; this.shaderfrom = shaderfrom; this.geometry_nodes_type = geometry_nodes_type; - this.ptr_geometry_nodes_tool_tree = ptr_geometry_nodes_tool_tree; - this.ptr_gpd = ptr_gpd; + this.geometry_nodes_tool_tree = geometry_nodes_tool_tree; + this.gpd = gpd; this.overlay = overlay; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceNodeOverlay.cs b/BlendFile/DNA/SpaceNodeOverlay.cs index 0be6169..65b78e0 100644 --- a/BlendFile/DNA/SpaceNodeOverlay.cs +++ b/BlendFile/DNA/SpaceNodeOverlay.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(956, "SpaceNodeOverlay", 8)] - public struct SpaceNodeOverlay { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class SpaceNodeOverlay { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "int", "preview_shape", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "preview_shape", "int", false, 4)] public int preview_shape; public SpaceNodeOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SpaceOops.cs b/BlendFile/DNA/SpaceOops.cs index 984bb44..08a1884 100644 --- a/BlendFile/DNA/SpaceOops.cs +++ b/BlendFile/DNA/SpaceOops.cs @@ -15,60 +15,60 @@ namespace BlendFile.DNA { [DNAClassAttribute(929, "SpaceOops", 312)] public class SpaceOops { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "View2D", "v2d", "View2D", 152, false, 40)] + [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; - [DNAFieldAttribute(7, "ListBase", "tree", "ListBase", 16, false, 192)] + [DNAFieldAttribute(16, "ListBase", 7, "tree", "ListBase", false, 192)] public ListBase tree; - [DNAFieldAttribute(8, "BLI_mempool", "*treestore", "BLI_mempool", 8, true, 208)] - public BLI_mempool ptr_treestore; - [DNAFieldAttribute(9, "char", "search_string[64]", "System.Char[]", 64, false, 216)] + [DNAFieldAttribute(8, "BLI_mempool", 8, "*treestore", "BLI_mempool", true, 208)] + public BLI_mempool treestore; + [DNAFieldAttribute(64, "char", 9, "search_string[64]", "System.Char[]", false, 216)] public char[] search_string = new System.Char[64]; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 280)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 280)] public short flag; - [DNAFieldAttribute(11, "short", "outlinevis", "short", 2, false, 282)] + [DNAFieldAttribute(2, "short", 11, "outlinevis", "short", false, 282)] public short outlinevis; - [DNAFieldAttribute(12, "short", "lib_override_view_mode", "short", 2, false, 284)] + [DNAFieldAttribute(2, "short", 12, "lib_override_view_mode", "short", false, 284)] public short lib_override_view_mode; - [DNAFieldAttribute(13, "short", "storeflag", "short", 2, false, 286)] + [DNAFieldAttribute(2, "short", 13, "storeflag", "short", false, 286)] public short storeflag; - [DNAFieldAttribute(14, "char", "search_flags", "char", 1, false, 288)] + [DNAFieldAttribute(1, "char", 14, "search_flags", "char", false, 288)] public char search_flags; - [DNAFieldAttribute(15, "char", "_pad[6]", "System.Char[]", 6, false, 289)] + [DNAFieldAttribute(6, "char", 15, "_pad[6]", "System.Char[]", false, 289)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(16, "char", "sync_select_dirty", "char", 1, false, 295)] + [DNAFieldAttribute(1, "char", 16, "sync_select_dirty", "char", false, 295)] public char sync_select_dirty; - [DNAFieldAttribute(17, "int", "filter", "int", 4, false, 296)] + [DNAFieldAttribute(4, "int", 17, "filter", "int", false, 296)] public int filter; - [DNAFieldAttribute(18, "char", "filter_state", "char", 1, false, 300)] + [DNAFieldAttribute(1, "char", 18, "filter_state", "char", false, 300)] public char filter_state; - [DNAFieldAttribute(19, "char", "show_restrict_flags", "char", 1, false, 301)] + [DNAFieldAttribute(1, "char", 19, "show_restrict_flags", "char", false, 301)] public char show_restrict_flags; - [DNAFieldAttribute(20, "short", "filter_id_type", "short", 2, false, 302)] + [DNAFieldAttribute(2, "short", 20, "filter_id_type", "short", false, 302)] public short filter_id_type; - [DNAFieldAttribute(21, "SpaceOutliner_Runtime", "*runtime", "SpaceOutliner_Runtime", 8, true, 304)] - public SpaceOutliner_Runtime ptr_runtime; + [DNAFieldAttribute(8, "SpaceOutliner_Runtime", 21, "*runtime", "SpaceOutliner_Runtime", true, 304)] + public SpaceOutliner_Runtime runtime; public SpaceOops() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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.treestore = default; this.search_string = default; this.flag = default; this.outlinevis = default; @@ -81,18 +81,18 @@ namespace BlendFile.DNA { this.filter_state = default; this.show_restrict_flags = default; this.filter_id_type = default; - this.ptr_runtime = default; + this.runtime = default; } public SpaceOops( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, View2D v2d, ListBase tree, - BLI_mempool ptr_treestore, + BLI_mempool treestore, char[] search_string, short flag, short outlinevis, @@ -105,16 +105,16 @@ namespace BlendFile.DNA { char filter_state, char show_restrict_flags, short filter_id_type, - SpaceOutliner_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + SpaceOutliner_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; this.v2d = v2d; this.tree = tree; - this.ptr_treestore = ptr_treestore; + this.treestore = treestore; this.search_string = search_string; this.flag = flag; this.outlinevis = outlinevis; @@ -127,7 +127,7 @@ namespace BlendFile.DNA { this.filter_state = filter_state; this.show_restrict_flags = show_restrict_flags; this.filter_id_type = filter_id_type; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceScript.cs b/BlendFile/DNA/SpaceScript.cs index 7bf979e..f01cfac 100644 --- a/BlendFile/DNA/SpaceScript.cs +++ b/BlendFile/DNA/SpaceScript.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(954, "SpaceScript", 64)] public class SpaceScript { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "Script", "*script", "Script", 8, true, 40)] - public Script ptr_script; - [DNAFieldAttribute(7, "short", "flags", "short", 2, false, 48)] + [DNAFieldAttribute(8, "Script", 6, "*script", "Script", true, 40)] + public Script script; + [DNAFieldAttribute(2, "short", 7, "flags", "short", false, 48)] public short flags; - [DNAFieldAttribute(8, "short", "menunr", "short", 2, false, 50)] + [DNAFieldAttribute(2, "short", 8, "menunr", "short", false, 50)] public short menunr; - [DNAFieldAttribute(9, "char", "_pad1[4]", "System.Char[]", 4, false, 52)] + [DNAFieldAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", false, 52)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(10, "void", "*but_refs", "void", 8, true, 56)] - public object ptr_but_refs; + [DNAFieldAttribute(8, "void", 10, "*but_refs", "void", true, 56)] + public object but_refs; public SpaceScript() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; this._pad0 = default; - this.ptr_script = default; + this.script = default; this.flags = default; this.menunr = default; this._pad1 = default; - this.ptr_but_refs = default; + this.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; + public SpaceScript(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, Script script, short flags, short menunr, char[] _pad1, object but_refs) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; - this.ptr_script = ptr_script; + this.script = script; this.flags = flags; this.menunr = menunr; this._pad1 = _pad1; - this.ptr_but_refs = ptr_but_refs; + this.but_refs = but_refs; } } } diff --git a/BlendFile/DNA/SpaceSeq.cs b/BlendFile/DNA/SpaceSeq.cs index d82c38f..b744d35 100644 --- a/BlendFile/DNA/SpaceSeq.cs +++ b/BlendFile/DNA/SpaceSeq.cs @@ -15,65 +15,65 @@ namespace BlendFile.DNA { [DNAClassAttribute(937, "SpaceSeq", 280)] public class SpaceSeq { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "View2D", "v2d", "View2D", 152, false, 40)] + [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; - [DNAFieldAttribute(7, "float", "xof", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 7, "xof", "float", false, 192)] public float xof; - [DNAFieldAttribute(8, "float", "yof", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 8, "yof", "float", false, 196)] public float yof; - [DNAFieldAttribute(9, "short", "mainb", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 9, "mainb", "short", false, 200)] public short mainb; - [DNAFieldAttribute(10, "short", "render_size", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 10, "render_size", "short", false, 202)] public short render_size; - [DNAFieldAttribute(11, "short", "chanshown", "short", 2, false, 204)] + [DNAFieldAttribute(2, "short", 11, "chanshown", "short", false, 204)] public short chanshown; - [DNAFieldAttribute(12, "short", "zebra", "short", 2, false, 206)] + [DNAFieldAttribute(2, "short", 12, "zebra", "short", false, 206)] public short zebra; - [DNAFieldAttribute(13, "int", "flag", "int", 4, false, 208)] + [DNAFieldAttribute(4, "int", 13, "flag", "int", false, 208)] public int flag; - [DNAFieldAttribute(14, "float", "zoom", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 14, "zoom", "float", false, 212)] public float zoom; - [DNAFieldAttribute(15, "char", "view", "char", 1, false, 216)] + [DNAFieldAttribute(1, "char", 15, "view", "char", false, 216)] public char view; - [DNAFieldAttribute(16, "char", "overlay_type", "char", 1, false, 217)] + [DNAFieldAttribute(1, "char", 16, "overlay_type", "char", false, 217)] public char overlay_type; - [DNAFieldAttribute(17, "char", "draw_flag", "char", 1, false, 218)] + [DNAFieldAttribute(1, "char", 17, "draw_flag", "char", false, 218)] public char draw_flag; - [DNAFieldAttribute(18, "char", "gizmo_flag", "char", 1, false, 219)] + [DNAFieldAttribute(1, "char", 18, "gizmo_flag", "char", false, 219)] public char gizmo_flag; - [DNAFieldAttribute(19, "char", "_pad[4]", "System.Char[]", 4, false, 220)] + [DNAFieldAttribute(4, "char", 19, "_pad[4]", "System.Char[]", false, 220)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(20, "float", "cursor[2]", "System.Single[]", 8, false, 224)] + [DNAFieldAttribute(8, "float", 20, "cursor[2]", "System.Single[]", false, 224)] public float[] cursor = new System.Single[2]; - [DNAFieldAttribute(21, "bGPdata", "*gpd", "bGPdata", 8, true, 232)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(22, "SequencerPreviewOverlay", "preview_overlay", "SequencerPreviewOverlay", 8, false, 240)] + [DNAFieldAttribute(8, "bGPdata", 21, "*gpd", "bGPdata", true, 232)] + public bGPdata gpd; + [DNAFieldAttribute(8, "SequencerPreviewOverlay", 22, "preview_overlay", "SequencerPreviewOverlay", false, 240)] public SequencerPreviewOverlay preview_overlay; - [DNAFieldAttribute(23, "SequencerTimelineOverlay", "timeline_overlay", "SequencerTimelineOverlay", 8, false, 248)] + [DNAFieldAttribute(8, "SequencerTimelineOverlay", 23, "timeline_overlay", "SequencerTimelineOverlay", false, 248)] public SequencerTimelineOverlay timeline_overlay; - [DNAFieldAttribute(24, "SequencerCacheOverlay", "cache_overlay", "SequencerCacheOverlay", 8, false, 256)] + [DNAFieldAttribute(8, "SequencerCacheOverlay", 24, "cache_overlay", "SequencerCacheOverlay", false, 256)] public SequencerCacheOverlay cache_overlay; - [DNAFieldAttribute(25, "char", "multiview_eye", "char", 1, false, 264)] + [DNAFieldAttribute(1, "char", 25, "multiview_eye", "char", false, 264)] public char multiview_eye; - [DNAFieldAttribute(26, "char", "_pad2[7]", "System.Char[]", 7, false, 265)] + [DNAFieldAttribute(7, "char", 26, "_pad2[7]", "System.Char[]", false, 265)] public char[] _pad2 = new System.Char[7]; - [DNAFieldAttribute(27, "SpaceSeq_Runtime", "*runtime", "SpaceSeq_Runtime", 8, true, 272)] - public SpaceSeq_Runtime ptr_runtime; + [DNAFieldAttribute(8, "SpaceSeq_Runtime", 27, "*runtime", "SpaceSeq_Runtime", true, 272)] + public SpaceSeq_Runtime runtime; public SpaceSeq() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -93,17 +93,17 @@ namespace BlendFile.DNA { this.gizmo_flag = default; this._pad = default; this.cursor = default; - this.ptr_gpd = default; + this.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; + this.runtime = default; } public SpaceSeq( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, @@ -123,15 +123,15 @@ namespace BlendFile.DNA { char gizmo_flag, char[] _pad, float[] cursor, - bGPdata ptr_gpd, + bGPdata gpd, SequencerPreviewOverlay preview_overlay, SequencerTimelineOverlay timeline_overlay, SequencerCacheOverlay cache_overlay, char multiview_eye, char[] _pad2, - SpaceSeq_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + SpaceSeq_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -151,13 +151,13 @@ namespace BlendFile.DNA { this.gizmo_flag = gizmo_flag; this._pad = _pad; this.cursor = cursor; - this.ptr_gpd = ptr_gpd; + this.gpd = gpd; this.preview_overlay = preview_overlay; this.timeline_overlay = timeline_overlay; this.cache_overlay = cache_overlay; this.multiview_eye = multiview_eye; this._pad2 = _pad2; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceSpreadsheet.cs b/BlendFile/DNA/SpaceSpreadsheet.cs index 76bff07..c860202 100644 --- a/BlendFile/DNA/SpaceSpreadsheet.cs +++ b/BlendFile/DNA/SpaceSpreadsheet.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(968, "SpaceSpreadsheet", 120)] public class SpaceSpreadsheet { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "ListBase", "columns", "ListBase", 16, false, 40)] + [DNAFieldAttribute(16, "ListBase", 6, "columns", "ListBase", false, 40)] public ListBase columns; - [DNAFieldAttribute(7, "ListBase", "row_filters", "ListBase", 16, false, 56)] + [DNAFieldAttribute(16, "ListBase", 7, "row_filters", "ListBase", false, 56)] public ListBase row_filters; - [DNAFieldAttribute(8, "ViewerPath", "viewer_path", "ViewerPath", 16, false, 72)] + [DNAFieldAttribute(16, "ViewerPath", 8, "viewer_path", "ViewerPath", false, 72)] public ViewerPath viewer_path; - [DNAFieldAttribute(9, "SpreadsheetInstanceID", "*instance_ids", "SpreadsheetInstanceID", 8, true, 88)] - public SpreadsheetInstanceID ptr_instance_ids; - [DNAFieldAttribute(10, "int", "instance_ids_num", "int", 4, false, 96)] + [DNAFieldAttribute(8, "SpreadsheetInstanceID", 9, "*instance_ids", "SpreadsheetInstanceID", true, 88)] + public SpreadsheetInstanceID instance_ids; + [DNAFieldAttribute(4, "int", 10, "instance_ids_num", "int", false, 96)] public int instance_ids_num; - [DNAFieldAttribute(11, "uchar", "filter_flag", "uchar", 1, false, 100)] + [DNAFieldAttribute(1, "uchar", 11, "filter_flag", "uchar", false, 100)] public byte filter_flag; - [DNAFieldAttribute(12, "uchar", "geometry_component_type", "uchar", 1, false, 101)] + [DNAFieldAttribute(1, "uchar", 12, "geometry_component_type", "uchar", false, 101)] public byte geometry_component_type; - [DNAFieldAttribute(13, "uchar", "attribute_domain", "uchar", 1, false, 102)] + [DNAFieldAttribute(1, "uchar", 13, "attribute_domain", "uchar", false, 102)] public byte attribute_domain; - [DNAFieldAttribute(14, "uchar", "object_eval_state", "uchar", 1, false, 103)] + [DNAFieldAttribute(1, "uchar", 14, "object_eval_state", "uchar", false, 103)] public byte object_eval_state; - [DNAFieldAttribute(15, "int", "active_layer_index", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 15, "active_layer_index", "int", false, 104)] public int active_layer_index; - [DNAFieldAttribute(16, "int", "flag", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 16, "flag", "int", false, 108)] public int flag; - [DNAFieldAttribute(17, "SpaceSpreadsheet_Runtime", "*runtime", "SpaceSpreadsheet_Runtime", 8, true, 112)] - public SpaceSpreadsheet_Runtime ptr_runtime; + [DNAFieldAttribute(8, "SpaceSpreadsheet_Runtime", 17, "*runtime", "SpaceSpreadsheet_Runtime", true, 112)] + public SpaceSpreadsheet_Runtime runtime; public SpaceSpreadsheet() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.columns = default; this.row_filters = default; this.viewer_path = default; - this.ptr_instance_ids = default; + this.instance_ids = default; this.instance_ids_num = default; this.filter_flag = default; this.geometry_component_type = default; @@ -69,11 +69,11 @@ namespace BlendFile.DNA { this.object_eval_state = default; this.active_layer_index = default; this.flag = default; - this.ptr_runtime = default; + this.runtime = default; } public SpaceSpreadsheet( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, @@ -81,7 +81,7 @@ namespace BlendFile.DNA { ListBase columns, ListBase row_filters, ViewerPath viewer_path, - SpreadsheetInstanceID ptr_instance_ids, + SpreadsheetInstanceID instance_ids, int instance_ids_num, byte filter_flag, byte geometry_component_type, @@ -89,9 +89,9 @@ namespace BlendFile.DNA { byte object_eval_state, int active_layer_index, int flag, - SpaceSpreadsheet_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + SpaceSpreadsheet_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -99,7 +99,7 @@ namespace BlendFile.DNA { this.columns = columns; this.row_filters = row_filters; this.viewer_path = viewer_path; - this.ptr_instance_ids = ptr_instance_ids; + this.instance_ids = instance_ids; this.instance_ids_num = instance_ids_num; this.filter_flag = filter_flag; this.geometry_component_type = geometry_component_type; @@ -107,7 +107,7 @@ namespace BlendFile.DNA { this.object_eval_state = object_eval_state; this.active_layer_index = active_layer_index; this.flag = flag; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceStatusBar.cs b/BlendFile/DNA/SpaceStatusBar.cs index dc47310..ace6712 100644 --- a/BlendFile/DNA/SpaceStatusBar.cs +++ b/BlendFile/DNA/SpaceStatusBar.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(964, "SpaceStatusBar", 40)] public class SpaceStatusBar { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; public SpaceStatusBar() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public SpaceStatusBar(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; diff --git a/BlendFile/DNA/SpaceText.cs b/BlendFile/DNA/SpaceText.cs index daf5df7..3249140 100644 --- a/BlendFile/DNA/SpaceText.cs +++ b/BlendFile/DNA/SpaceText.cs @@ -15,66 +15,66 @@ namespace BlendFile.DNA { [DNAClassAttribute(951, "SpaceText", 600)] public class SpaceText { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "Text", "*text", "Text", 8, true, 40)] - public Text ptr_text; - [DNAFieldAttribute(7, "int", "top", "int", 4, false, 48)] + [DNAFieldAttribute(8, "Text", 6, "*text", "Text", true, 40)] + public Text text; + [DNAFieldAttribute(4, "int", 7, "top", "int", false, 48)] public int top; - [DNAFieldAttribute(8, "int", "left", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 8, "left", "int", false, 52)] public int left; - [DNAFieldAttribute(9, "char", "_pad1[4]", "System.Char[]", 4, false, 56)] + [DNAFieldAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", false, 56)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(10, "short", "flags", "short", 2, false, 60)] + [DNAFieldAttribute(2, "short", 10, "flags", "short", false, 60)] public short flags; - [DNAFieldAttribute(11, "short", "lheight", "short", 2, false, 62)] + [DNAFieldAttribute(2, "short", 11, "lheight", "short", false, 62)] public short lheight; - [DNAFieldAttribute(12, "int", "tabnumber", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 12, "tabnumber", "int", false, 64)] public int tabnumber; - [DNAFieldAttribute(13, "char", "wordwrap", "char", 1, false, 68)] + [DNAFieldAttribute(1, "char", 13, "wordwrap", "char", false, 68)] public char wordwrap; - [DNAFieldAttribute(14, "char", "doplugins", "char", 1, false, 69)] + [DNAFieldAttribute(1, "char", 14, "doplugins", "char", false, 69)] public char doplugins; - [DNAFieldAttribute(15, "char", "showlinenrs", "char", 1, false, 70)] + [DNAFieldAttribute(1, "char", 15, "showlinenrs", "char", false, 70)] public char showlinenrs; - [DNAFieldAttribute(16, "char", "showsyntax", "char", 1, false, 71)] + [DNAFieldAttribute(1, "char", 16, "showsyntax", "char", false, 71)] public char showsyntax; - [DNAFieldAttribute(17, "char", "line_hlight", "char", 1, false, 72)] + [DNAFieldAttribute(1, "char", 17, "line_hlight", "char", false, 72)] public char line_hlight; - [DNAFieldAttribute(18, "char", "overwrite", "char", 1, false, 73)] + [DNAFieldAttribute(1, "char", 18, "overwrite", "char", false, 73)] public char overwrite; - [DNAFieldAttribute(19, "char", "live_edit", "char", 1, false, 74)] + [DNAFieldAttribute(1, "char", 19, "live_edit", "char", false, 74)] public char live_edit; - [DNAFieldAttribute(20, "char", "_pad2[1]", "System.Char[]", 1, false, 75)] + [DNAFieldAttribute(1, "char", 20, "_pad2[1]", "System.Char[]", false, 75)] public char[] _pad2 = new System.Char[1]; - [DNAFieldAttribute(21, "char", "findstr[256]", "System.Char[]", 256, false, 76)] + [DNAFieldAttribute(256, "char", 21, "findstr[256]", "System.Char[]", false, 76)] public char[] findstr = new System.Char[256]; - [DNAFieldAttribute(22, "char", "replacestr[256]", "System.Char[]", 256, false, 332)] + [DNAFieldAttribute(256, "char", 22, "replacestr[256]", "System.Char[]", false, 332)] public char[] replacestr = new System.Char[256]; - [DNAFieldAttribute(23, "short", "margin_column", "short", 2, false, 588)] + [DNAFieldAttribute(2, "short", 23, "margin_column", "short", false, 588)] public short margin_column; - [DNAFieldAttribute(24, "char", "_pad3[2]", "System.Char[]", 2, false, 590)] + [DNAFieldAttribute(2, "char", 24, "_pad3[2]", "System.Char[]", false, 590)] public char[] _pad3 = new System.Char[2]; - [DNAFieldAttribute(25, "SpaceText_Runtime", "*runtime", "SpaceText_Runtime", 8, true, 592)] - public SpaceText_Runtime ptr_runtime; + [DNAFieldAttribute(8, "SpaceText_Runtime", 25, "*runtime", "SpaceText_Runtime", true, 592)] + public SpaceText_Runtime runtime; public SpaceText() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; this._pad0 = default; - this.ptr_text = default; + this.text = default; this.top = default; this.left = default; this._pad1 = default; @@ -93,16 +93,16 @@ namespace BlendFile.DNA { this.replacestr = default; this.margin_column = default; this._pad3 = default; - this.ptr_runtime = default; + this.runtime = default; } public SpaceText( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, - Text ptr_text, + Text text, int top, int left, char[] _pad1, @@ -121,14 +121,14 @@ namespace BlendFile.DNA { char[] replacestr, short margin_column, char[] _pad3, - SpaceText_Runtime ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + SpaceText_Runtime runtime) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; this._pad0 = _pad0; - this.ptr_text = ptr_text; + this.text = text; this.top = top; this.left = left; this._pad1 = _pad1; @@ -147,7 +147,7 @@ namespace BlendFile.DNA { this.replacestr = replacestr; this.margin_column = margin_column; this._pad3 = _pad3; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/SpaceTopBar.cs b/BlendFile/DNA/SpaceTopBar.cs index a8f84b4..a635e56 100644 --- a/BlendFile/DNA/SpaceTopBar.cs +++ b/BlendFile/DNA/SpaceTopBar.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(963, "SpaceTopBar", 40)] public class SpaceTopBar { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; public SpaceTopBar() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public SpaceTopBar(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; diff --git a/BlendFile/DNA/SpaceUserPref.cs b/BlendFile/DNA/SpaceUserPref.cs index cf6c50a..e56aaa9 100644 --- a/BlendFile/DNA/SpaceUserPref.cs +++ b/BlendFile/DNA/SpaceUserPref.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(961, "SpaceUserPref", 112)] public class SpaceUserPref { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "char", "_pad1[7]", "System.Char[]", 7, false, 40)] + [DNAFieldAttribute(7, "char", 6, "_pad1[7]", "System.Char[]", false, 40)] public char[] _pad1 = new System.Char[7]; - [DNAFieldAttribute(7, "char", "filter_type", "char", 1, false, 47)] + [DNAFieldAttribute(1, "char", 7, "filter_type", "char", false, 47)] public char filter_type; - [DNAFieldAttribute(8, "char", "filter[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(64, "char", 8, "filter[64]", "System.Char[]", false, 48)] public char[] filter = new System.Char[64]; public SpaceUserPref() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -44,9 +44,9 @@ namespace BlendFile.DNA { 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; + public SpaceUserPref(SpaceLink next, SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, char[] _pad0, char[] _pad1, char filter_type, char[] filter) { + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; diff --git a/BlendFile/DNA/Speaker.cs b/BlendFile/DNA/Speaker.cs index a2c891d..633e043 100644 --- a/BlendFile/DNA/Speaker.cs +++ b/BlendFile/DNA/Speaker.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(972, "Speaker", 272)] public class Speaker { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "bSound", "*sound", "bSound", 8, true, 216)] - public bSound ptr_sound; - [DNAFieldAttribute(3, "float", "volume_max", "float", 4, false, 224)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(8, "bSound", 2, "*sound", "bSound", true, 216)] + public bSound sound; + [DNAFieldAttribute(4, "float", 3, "volume_max", "float", false, 224)] public float volume_max; - [DNAFieldAttribute(4, "float", "volume_min", "float", 4, false, 228)] + [DNAFieldAttribute(4, "float", 4, "volume_min", "float", false, 228)] public float volume_min; - [DNAFieldAttribute(5, "float", "distance_max", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 5, "distance_max", "float", false, 232)] public float distance_max; - [DNAFieldAttribute(6, "float", "distance_reference", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 6, "distance_reference", "float", false, 236)] public float distance_reference; - [DNAFieldAttribute(7, "float", "attenuation", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 7, "attenuation", "float", false, 240)] public float attenuation; - [DNAFieldAttribute(8, "float", "cone_angle_outer", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 8, "cone_angle_outer", "float", false, 244)] public float cone_angle_outer; - [DNAFieldAttribute(9, "float", "cone_angle_inner", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 9, "cone_angle_inner", "float", false, 248)] public float cone_angle_inner; - [DNAFieldAttribute(10, "float", "cone_volume_outer", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 10, "cone_volume_outer", "float", false, 252)] public float cone_volume_outer; - [DNAFieldAttribute(11, "float", "volume", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 11, "volume", "float", false, 256)] public float volume; - [DNAFieldAttribute(12, "float", "pitch", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 12, "pitch", "float", false, 260)] public float pitch; - [DNAFieldAttribute(13, "short", "flag", "short", 2, false, 264)] + [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 264)] public short flag; - [DNAFieldAttribute(14, "char", "_pad1[6]", "System.Char[]", 6, false, 266)] + [DNAFieldAttribute(6, "char", 14, "_pad1[6]", "System.Char[]", false, 266)] public char[] _pad1 = new System.Char[6]; public Speaker() { this.id = default; - this.ptr_adt = default; - this.ptr_sound = default; + this.adt = default; + this.sound = default; this.volume_max = default; this.volume_min = default; this.distance_max = default; @@ -62,10 +62,10 @@ namespace BlendFile.DNA { 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) { + public Speaker(ID id, AnimData adt, bSound 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; - this.ptr_sound = ptr_sound; + this.adt = adt; + this.sound = sound; this.volume_max = volume_max; this.volume_min = volume_min; this.distance_max = distance_max; diff --git a/BlendFile/DNA/SpeedControlVars.cs b/BlendFile/DNA/SpeedControlVars.cs index 9171650..09689ec 100644 --- a/BlendFile/DNA/SpeedControlVars.cs +++ b/BlendFile/DNA/SpeedControlVars.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(900, "SpeedControlVars", 32)] public class SpeedControlVars { - [DNAFieldAttribute(0, "float", "*frameMap", "float", 8, true, 0)] - public float ptr_frameMap; - [DNAFieldAttribute(1, "float", "globalSpeed", "float", 4, false, 8)] + [DNAFieldAttribute(8, "float", 0, "*frameMap", "float", true, 0)] + public float frameMap; + [DNAFieldAttribute(4, "float", 1, "globalSpeed", "float", false, 8)] public float globalSpeed; - [DNAFieldAttribute(2, "int", "flags", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 12)] public int flags; - [DNAFieldAttribute(3, "int", "speed_control_type", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "speed_control_type", "int", false, 16)] public int speed_control_type; - [DNAFieldAttribute(4, "float", "speed_fader", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 4, "speed_fader", "float", false, 20)] public float speed_fader; - [DNAFieldAttribute(5, "float", "speed_fader_length", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 5, "speed_fader_length", "float", false, 24)] public float speed_fader_length; - [DNAFieldAttribute(6, "float", "speed_fader_frame_number", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 6, "speed_fader_frame_number", "float", false, 28)] public float speed_fader_frame_number; public SpeedControlVars() { - this.ptr_frameMap = default; + this.frameMap = default; this.globalSpeed = default; this.flags = default; this.speed_control_type = default; @@ -38,8 +38,8 @@ namespace BlendFile.DNA { 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; + public SpeedControlVars(float frameMap, float globalSpeed, int flags, int speed_control_type, float speed_fader, float speed_fader_length, float speed_fader_frame_number) { + this.frameMap = frameMap; this.globalSpeed = globalSpeed; this.flags = flags; this.speed_control_type = speed_control_type; diff --git a/BlendFile/DNA/SpreadsheetColumn.cs b/BlendFile/DNA/SpreadsheetColumn.cs index 6929de2..382fccb 100644 --- a/BlendFile/DNA/SpreadsheetColumn.cs +++ b/BlendFile/DNA/SpreadsheetColumn.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(966, "SpreadsheetColumn", 40)] public class SpreadsheetColumn { - [DNAFieldAttribute(0, "SpreadsheetColumn", "*next", "SpreadsheetColumn", 8, true, 0)] - public SpreadsheetColumn ptr_next; - [DNAFieldAttribute(1, "SpreadsheetColumn", "*prev", "SpreadsheetColumn", 8, true, 8)] - public SpreadsheetColumn ptr_prev; - [DNAFieldAttribute(2, "SpreadsheetColumnID", "*id", "SpreadsheetColumnID", 8, true, 16)] - public SpreadsheetColumnID ptr_id; - [DNAFieldAttribute(3, "uchar", "data_type", "uchar", 1, false, 24)] + [DNAFieldAttribute(8, "SpreadsheetColumn", 0, "*next", "SpreadsheetColumn", true, 0)] + public SpreadsheetColumn next; + [DNAFieldAttribute(8, "SpreadsheetColumn", 1, "*prev", "SpreadsheetColumn", true, 8)] + public SpreadsheetColumn prev; + [DNAFieldAttribute(8, "SpreadsheetColumnID", 2, "*id", "SpreadsheetColumnID", true, 16)] + public SpreadsheetColumnID id; + [DNAFieldAttribute(1, "uchar", 3, "data_type", "uchar", false, 24)] public byte data_type; - [DNAFieldAttribute(4, "char", "_pad0[7]", "System.Char[]", 7, false, 25)] + [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 25)] public char[] _pad0 = new System.Char[7]; - [DNAFieldAttribute(5, "char", "*display_name", "char", 8, true, 32)] - public char ptr_display_name; + [DNAFieldAttribute(8, "char", 5, "*display_name", "char", true, 32)] + public char display_name; public SpreadsheetColumn() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_id = default; + this.next = default; + this.prev = default; + this.id = default; this.data_type = default; this._pad0 = default; - this.ptr_display_name = default; + this.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; - this.ptr_id = ptr_id; + public SpreadsheetColumn(SpreadsheetColumn next, SpreadsheetColumn prev, SpreadsheetColumnID id, byte data_type, char[] _pad0, char display_name) { + this.next = next; + this.prev = prev; + this.id = id; this.data_type = data_type; this._pad0 = _pad0; - this.ptr_display_name = ptr_display_name; + this.display_name = display_name; } } } diff --git a/BlendFile/DNA/SpreadsheetColumnID.cs b/BlendFile/DNA/SpreadsheetColumnID.cs index f4c27f4..7d16aaf 100644 --- a/BlendFile/DNA/SpreadsheetColumnID.cs +++ b/BlendFile/DNA/SpreadsheetColumnID.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(965, "SpreadsheetColumnID", 8)] public class SpreadsheetColumnID { - [DNAFieldAttribute(0, "char", "*name", "char", 8, true, 0)] - public char ptr_name; + [DNAFieldAttribute(8, "char", 0, "*name", "char", true, 0)] + public char name; public SpreadsheetColumnID() { - this.ptr_name = default; + this.name = default; } - public SpreadsheetColumnID(char ptr_name) { - this.ptr_name = ptr_name; + public SpreadsheetColumnID(char name) { + this.name = name; } } } diff --git a/BlendFile/DNA/SpreadsheetInstanceID.cs b/BlendFile/DNA/SpreadsheetInstanceID.cs index 446ee82..a106f51 100644 --- a/BlendFile/DNA/SpreadsheetInstanceID.cs +++ b/BlendFile/DNA/SpreadsheetInstanceID.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(967, "SpreadsheetInstanceID", 4)] - public struct SpreadsheetInstanceID { - [DNAFieldAttribute(0, "int", "reference_index", "int", 4, false, 0)] + public class SpreadsheetInstanceID { + [DNAFieldAttribute(4, "int", 0, "reference_index", "int", false, 0)] public int reference_index; public SpreadsheetInstanceID() { this.reference_index = default; diff --git a/BlendFile/DNA/SpreadsheetRowFilter.cs b/BlendFile/DNA/SpreadsheetRowFilter.cs index 6619ec7..dac345c 100644 --- a/BlendFile/DNA/SpreadsheetRowFilter.cs +++ b/BlendFile/DNA/SpreadsheetRowFilter.cs @@ -15,46 +15,46 @@ namespace BlendFile.DNA { [DNAClassAttribute(971, "SpreadsheetRowFilter", 152)] public class SpreadsheetRowFilter { - [DNAFieldAttribute(0, "SpreadsheetRowFilter", "*next", "SpreadsheetRowFilter", 8, true, 0)] - public SpreadsheetRowFilter ptr_next; - [DNAFieldAttribute(1, "SpreadsheetRowFilter", "*prev", "SpreadsheetRowFilter", 8, true, 8)] - public SpreadsheetRowFilter ptr_prev; - [DNAFieldAttribute(2, "char", "column_name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "SpreadsheetRowFilter", 0, "*next", "SpreadsheetRowFilter", true, 0)] + public SpreadsheetRowFilter next; + [DNAFieldAttribute(8, "SpreadsheetRowFilter", 1, "*prev", "SpreadsheetRowFilter", true, 8)] + public SpreadsheetRowFilter prev; + [DNAFieldAttribute(64, "char", 2, "column_name[64]", "System.Char[]", false, 16)] public char[] column_name = new System.Char[64]; - [DNAFieldAttribute(3, "uchar", "operation", "uchar", 1, false, 80)] + [DNAFieldAttribute(1, "uchar", 3, "operation", "uchar", false, 80)] public byte operation; - [DNAFieldAttribute(4, "uchar", "flag", "uchar", 1, false, 81)] + [DNAFieldAttribute(1, "uchar", 4, "flag", "uchar", false, 81)] public byte flag; - [DNAFieldAttribute(5, "char", "_pad0[2]", "System.Char[]", 2, false, 82)] + [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 82)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(6, "int", "value_int", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 6, "value_int", "int", false, 84)] public int value_int; - [DNAFieldAttribute(7, "int", "value_int2[2]", "System.Int32[]", 8, false, 88)] + [DNAFieldAttribute(8, "int", 7, "value_int2[2]", "System.Int32[]", false, 88)] public int[] value_int2 = new System.Int32[2]; - [DNAFieldAttribute(8, "char", "*value_string", "char", 8, true, 96)] - public char ptr_value_string; - [DNAFieldAttribute(9, "float", "value_float", "float", 4, false, 104)] + [DNAFieldAttribute(8, "char", 8, "*value_string", "char", true, 96)] + public char value_string; + [DNAFieldAttribute(4, "float", 9, "value_float", "float", false, 104)] public float value_float; - [DNAFieldAttribute(10, "float", "threshold", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 10, "threshold", "float", false, 108)] public float threshold; - [DNAFieldAttribute(11, "float", "value_float2[2]", "System.Single[]", 8, false, 112)] + [DNAFieldAttribute(8, "float", 11, "value_float2[2]", "System.Single[]", false, 112)] public float[] value_float2 = new System.Single[2]; - [DNAFieldAttribute(12, "float", "value_float3[3]", "System.Single[]", 12, false, 120)] + [DNAFieldAttribute(12, "float", 12, "value_float3[3]", "System.Single[]", false, 120)] public float[] value_float3 = new System.Single[3]; - [DNAFieldAttribute(13, "float", "value_color[4]", "System.Single[]", 16, false, 132)] + [DNAFieldAttribute(16, "float", 13, "value_color[4]", "System.Single[]", false, 132)] public float[] value_color = new System.Single[4]; - [DNAFieldAttribute(14, "char", "_pad1[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", false, 148)] public char[] _pad1 = new System.Char[4]; public SpreadsheetRowFilter() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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_string = default; this.value_float = default; this.threshold = default; this.value_float2 = default; @@ -62,16 +62,16 @@ namespace BlendFile.DNA { 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; + public SpreadsheetRowFilter(SpreadsheetRowFilter next, SpreadsheetRowFilter prev, char[] column_name, byte operation, byte flag, char[] _pad0, int value_int, int[] value_int2, char value_string, float value_float, float threshold, float[] value_float2, float[] value_float3, float[] value_color, char[] _pad1) { + this.next = next; + this.prev = prev; this.column_name = column_name; this.operation = operation; this.flag = flag; this._pad0 = _pad0; this.value_int = value_int; this.value_int2 = value_int2; - this.ptr_value_string = ptr_value_string; + this.value_string = value_string; this.value_float = value_float; this.threshold = threshold; this.value_float2 = value_float2; diff --git a/BlendFile/DNA/Stereo3dFormat.cs b/BlendFile/DNA/Stereo3dFormat.cs index 5231bcb..8c95346 100644 --- a/BlendFile/DNA/Stereo3dFormat.cs +++ b/BlendFile/DNA/Stereo3dFormat.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(334, "Stereo3dFormat", 8)] - public struct Stereo3dFormat { - [DNAFieldAttribute(0, "short", "flag", "short", 2, false, 0)] + public class Stereo3dFormat { + [DNAFieldAttribute(2, "short", 0, "flag", "short", false, 0)] public short flag; - [DNAFieldAttribute(1, "char", "display_mode", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 1, "display_mode", "char", false, 2)] public char display_mode; - [DNAFieldAttribute(2, "char", "anaglyph_type", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 2, "anaglyph_type", "char", false, 3)] public char anaglyph_type; - [DNAFieldAttribute(3, "char", "interlace_type", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 3, "interlace_type", "char", false, 4)] public char interlace_type; - [DNAFieldAttribute(4, "char", "_pad[3]", "System.Char[]", 3, false, 5)] + [DNAFieldAttribute(3, "char", 4, "_pad[3]", "System.Char[]", false, 5)] public char[] _pad = new System.Char[3]; public Stereo3dFormat() { this.flag = default; diff --git a/BlendFile/DNA/Strip.cs b/BlendFile/DNA/Strip.cs index 4d9f106..8d8eb6c 100644 --- a/BlendFile/DNA/Strip.cs +++ b/BlendFile/DNA/Strip.cs @@ -15,60 +15,60 @@ namespace BlendFile.DNA { [DNAClassAttribute(882, "Strip", 904)] public class Strip { - [DNAFieldAttribute(0, "Strip", "*next", "Strip", 8, true, 0)] - public Strip ptr_next; - [DNAFieldAttribute(1, "Strip", "*prev", "Strip", 8, true, 8)] - public Strip ptr_prev; - [DNAFieldAttribute(2, "int", "us", "int", 4, false, 16)] + [DNAFieldAttribute(8, "Strip", 0, "*next", "Strip", true, 0)] + public Strip next; + [DNAFieldAttribute(8, "Strip", 1, "*prev", "Strip", true, 8)] + public Strip prev; + [DNAFieldAttribute(4, "int", 2, "us", "int", false, 16)] public int us; - [DNAFieldAttribute(3, "int", "done", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "done", "int", false, 20)] public int done; - [DNAFieldAttribute(4, "int", "startstill", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 4, "startstill", "int", false, 24)] public int startstill; - [DNAFieldAttribute(5, "int", "endstill", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 5, "endstill", "int", false, 28)] public int endstill; - [DNAFieldAttribute(6, "StripElem", "*stripdata", "StripElem", 8, true, 32)] - public StripElem ptr_stripdata; - [DNAFieldAttribute(7, "char", "dir[768]", "System.Char[]", 768, false, 40)] + [DNAFieldAttribute(8, "StripElem", 6, "*stripdata", "StripElem", true, 32)] + public StripElem stripdata; + [DNAFieldAttribute(768, "char", 7, "dir[768]", "System.Char[]", false, 40)] public char[] dir = new System.Char[768]; - [DNAFieldAttribute(8, "StripProxy", "*proxy", "StripProxy", 8, true, 808)] - public StripProxy ptr_proxy; - [DNAFieldAttribute(9, "StripCrop", "*crop", "StripCrop", 8, true, 816)] - public StripCrop ptr_crop; - [DNAFieldAttribute(10, "StripTransform", "*transform", "StripTransform", 8, true, 824)] - public StripTransform ptr_transform; - [DNAFieldAttribute(11, "StripColorBalance", "*color_balance", "StripColorBalance", 8, true, 832)] - public StripColorBalance ptr_color_balance; - [DNAFieldAttribute(12, "ColorManagedColorspaceSettings", "colorspace_settings", "ColorManagedColorspaceSettings", 64, false, 840)] + [DNAFieldAttribute(8, "StripProxy", 8, "*proxy", "StripProxy", true, 808)] + public StripProxy proxy; + [DNAFieldAttribute(8, "StripCrop", 9, "*crop", "StripCrop", true, 816)] + public StripCrop crop; + [DNAFieldAttribute(8, "StripTransform", 10, "*transform", "StripTransform", true, 824)] + public StripTransform transform; + [DNAFieldAttribute(8, "StripColorBalance", 11, "*color_balance", "StripColorBalance", true, 832)] + public StripColorBalance color_balance; + [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 12, "colorspace_settings", "ColorManagedColorspaceSettings", false, 840)] public ColorManagedColorspaceSettings colorspace_settings; public Strip() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.us = default; this.done = default; this.startstill = default; this.endstill = default; - this.ptr_stripdata = default; + this.stripdata = default; this.dir = default; - this.ptr_proxy = default; - this.ptr_crop = default; - this.ptr_transform = default; - this.ptr_color_balance = default; + this.proxy = default; + this.crop = default; + this.transform = default; + this.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; + public Strip(Strip next, Strip prev, int us, int done, int startstill, int endstill, StripElem stripdata, char[] dir, StripProxy proxy, StripCrop crop, StripTransform transform, StripColorBalance color_balance, ColorManagedColorspaceSettings colorspace_settings) { + this.next = next; + this.prev = prev; this.us = us; this.done = done; this.startstill = startstill; this.endstill = endstill; - this.ptr_stripdata = ptr_stripdata; + this.stripdata = stripdata; this.dir = dir; - this.ptr_proxy = ptr_proxy; - this.ptr_crop = ptr_crop; - this.ptr_transform = ptr_transform; - this.ptr_color_balance = ptr_color_balance; + this.proxy = proxy; + this.crop = crop; + this.transform = transform; + this.color_balance = color_balance; this.colorspace_settings = colorspace_settings; } } diff --git a/BlendFile/DNA/StripAnim.cs b/BlendFile/DNA/StripAnim.cs index bf4ca05..5e96cd8 100644 --- a/BlendFile/DNA/StripAnim.cs +++ b/BlendFile/DNA/StripAnim.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(876, "StripAnim", 24)] public class StripAnim { - [DNAFieldAttribute(0, "StripAnim", "*next", "StripAnim", 8, true, 0)] - public StripAnim ptr_next; - [DNAFieldAttribute(1, "StripAnim", "*prev", "StripAnim", 8, true, 8)] - public StripAnim ptr_prev; - [DNAFieldAttribute(2, "ImBufAnim", "*anim", "ImBufAnim", 8, true, 16)] - public ImBufAnim ptr_anim; + [DNAFieldAttribute(8, "StripAnim", 0, "*next", "StripAnim", true, 0)] + public StripAnim next; + [DNAFieldAttribute(8, "StripAnim", 1, "*prev", "StripAnim", true, 8)] + public StripAnim prev; + [DNAFieldAttribute(8, "ImBufAnim", 2, "*anim", "ImBufAnim", true, 16)] + public ImBufAnim anim; public StripAnim() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_anim = default; + this.next = default; + this.prev = default; + this.anim = default; } - public StripAnim(StripAnim ptr_next, StripAnim ptr_prev, ImBufAnim ptr_anim) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_anim = ptr_anim; + public StripAnim(StripAnim next, StripAnim prev, ImBufAnim anim) { + this.next = next; + this.prev = prev; + this.anim = anim; } } } diff --git a/BlendFile/DNA/StripColorBalance.cs b/BlendFile/DNA/StripColorBalance.cs index 57b4d49..e6c6fc9 100644 --- a/BlendFile/DNA/StripColorBalance.cs +++ b/BlendFile/DNA/StripColorBalance.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(880, "StripColorBalance", 84)] - public struct StripColorBalance { - [DNAFieldAttribute(0, "int", "method", "int", 4, false, 0)] + public class StripColorBalance { + [DNAFieldAttribute(4, "int", 0, "method", "int", false, 0)] public int method; - [DNAFieldAttribute(1, "float", "lift[3]", "System.Single[]", 12, false, 4)] + [DNAFieldAttribute(12, "float", 1, "lift[3]", "System.Single[]", false, 4)] public float[] lift = new System.Single[3]; - [DNAFieldAttribute(2, "float", "gamma[3]", "System.Single[]", 12, false, 16)] + [DNAFieldAttribute(12, "float", 2, "gamma[3]", "System.Single[]", false, 16)] public float[] gamma = new System.Single[3]; - [DNAFieldAttribute(3, "float", "gain[3]", "System.Single[]", 12, false, 28)] + [DNAFieldAttribute(12, "float", 3, "gain[3]", "System.Single[]", false, 28)] public float[] gain = new System.Single[3]; - [DNAFieldAttribute(4, "float", "slope[3]", "System.Single[]", 12, false, 40)] + [DNAFieldAttribute(12, "float", 4, "slope[3]", "System.Single[]", false, 40)] public float[] slope = new System.Single[3]; - [DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 12, false, 52)] + [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 52)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(6, "float", "power[3]", "System.Single[]", 12, false, 64)] + [DNAFieldAttribute(12, "float", 6, "power[3]", "System.Single[]", false, 64)] public float[] power = new System.Single[3]; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 76)] public int flag; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 80)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 80)] public char[] _pad = new System.Char[4]; public StripColorBalance() { this.method = default; diff --git a/BlendFile/DNA/StripCrop.cs b/BlendFile/DNA/StripCrop.cs index 68e1318..3744a74 100644 --- a/BlendFile/DNA/StripCrop.cs +++ b/BlendFile/DNA/StripCrop.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(878, "StripCrop", 16)] - public struct StripCrop { - [DNAFieldAttribute(0, "int", "top", "int", 4, false, 0)] + public class StripCrop { + [DNAFieldAttribute(4, "int", 0, "top", "int", false, 0)] public int top; - [DNAFieldAttribute(1, "int", "bottom", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "bottom", "int", false, 4)] public int bottom; - [DNAFieldAttribute(2, "int", "left", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "left", "int", false, 8)] public int left; - [DNAFieldAttribute(3, "int", "right", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "right", "int", false, 12)] public int right; public StripCrop() { this.top = default; diff --git a/BlendFile/DNA/StripElem.cs b/BlendFile/DNA/StripElem.cs index b05584a..f471915 100644 --- a/BlendFile/DNA/StripElem.cs +++ b/BlendFile/DNA/StripElem.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(877, "StripElem", 268)] - public struct StripElem { - [DNAFieldAttribute(0, "char", "name[256]", "System.Char[]", 256, false, 0)] + public class StripElem { + [DNAFieldAttribute(256, "char", 0, "name[256]", "System.Char[]", false, 0)] public char[] name = new System.Char[256]; - [DNAFieldAttribute(1, "int", "orig_width", "int", 4, false, 256)] + [DNAFieldAttribute(4, "int", 1, "orig_width", "int", false, 256)] public int orig_width; - [DNAFieldAttribute(2, "int", "orig_height", "int", 4, false, 260)] + [DNAFieldAttribute(4, "int", 2, "orig_height", "int", false, 260)] public int orig_height; - [DNAFieldAttribute(3, "float", "orig_fps", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 3, "orig_fps", "float", false, 264)] public float orig_fps; public StripElem() { this.name = default; diff --git a/BlendFile/DNA/StripProxy.cs b/BlendFile/DNA/StripProxy.cs index 2e7557f..e3bd08e 100644 --- a/BlendFile/DNA/StripProxy.cs +++ b/BlendFile/DNA/StripProxy.cs @@ -15,30 +15,30 @@ namespace BlendFile.DNA { [DNAClassAttribute(881, "StripProxy", 1048)] public class StripProxy { - [DNAFieldAttribute(0, "char", "dir[768]", "System.Char[]", 768, false, 0)] + [DNAFieldAttribute(768, "char", 0, "dir[768]", "System.Char[]", false, 0)] public char[] dir = new System.Char[768]; - [DNAFieldAttribute(1, "char", "file[256]", "System.Char[]", 256, false, 768)] + [DNAFieldAttribute(256, "char", 1, "file[256]", "System.Char[]", false, 768)] public char[] file = new System.Char[256]; - [DNAFieldAttribute(2, "ImBufAnim", "*anim", "ImBufAnim", 8, true, 1024)] - public ImBufAnim ptr_anim; - [DNAFieldAttribute(3, "short", "tc", "short", 2, false, 1032)] + [DNAFieldAttribute(8, "ImBufAnim", 2, "*anim", "ImBufAnim", true, 1024)] + public ImBufAnim anim; + [DNAFieldAttribute(2, "short", 3, "tc", "short", false, 1032)] public short tc; - [DNAFieldAttribute(4, "short", "quality", "short", 2, false, 1034)] + [DNAFieldAttribute(2, "short", 4, "quality", "short", false, 1034)] public short quality; - [DNAFieldAttribute(5, "short", "build_size_flags", "short", 2, false, 1036)] + [DNAFieldAttribute(2, "short", 5, "build_size_flags", "short", false, 1036)] public short build_size_flags; - [DNAFieldAttribute(6, "short", "build_tc_flags", "short", 2, false, 1038)] + [DNAFieldAttribute(2, "short", 6, "build_tc_flags", "short", false, 1038)] public short build_tc_flags; - [DNAFieldAttribute(7, "short", "build_flags", "short", 2, false, 1040)] + [DNAFieldAttribute(2, "short", 7, "build_flags", "short", false, 1040)] public short build_flags; - [DNAFieldAttribute(8, "char", "storage", "char", 1, false, 1042)] + [DNAFieldAttribute(1, "char", 8, "storage", "char", false, 1042)] public char storage; - [DNAFieldAttribute(9, "char", "_pad[5]", "System.Char[]", 5, false, 1043)] + [DNAFieldAttribute(5, "char", 9, "_pad[5]", "System.Char[]", false, 1043)] public char[] _pad = new System.Char[5]; public StripProxy() { this.dir = default; this.file = default; - this.ptr_anim = default; + this.anim = default; this.tc = default; this.quality = default; this.build_size_flags = default; @@ -47,10 +47,10 @@ namespace BlendFile.DNA { 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) { + public StripProxy(char[] dir, char[] file, ImBufAnim 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; - this.ptr_anim = ptr_anim; + this.anim = anim; this.tc = tc; this.quality = quality; this.build_size_flags = build_size_flags; diff --git a/BlendFile/DNA/StripTransform.cs b/BlendFile/DNA/StripTransform.cs index 7124ad0..0033a39 100644 --- a/BlendFile/DNA/StripTransform.cs +++ b/BlendFile/DNA/StripTransform.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(879, "StripTransform", 32)] - public struct StripTransform { - [DNAFieldAttribute(0, "float", "xofs", "float", 4, false, 0)] + public class StripTransform { + [DNAFieldAttribute(4, "float", 0, "xofs", "float", false, 0)] public float xofs; - [DNAFieldAttribute(1, "float", "yofs", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "yofs", "float", false, 4)] public float yofs; - [DNAFieldAttribute(2, "float", "scale_x", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "scale_x", "float", false, 8)] public float scale_x; - [DNAFieldAttribute(3, "float", "scale_y", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "scale_y", "float", false, 12)] public float scale_y; - [DNAFieldAttribute(4, "float", "rotation", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 16)] public float rotation; - [DNAFieldAttribute(5, "float", "origin[2]", "System.Single[]", 8, false, 20)] + [DNAFieldAttribute(8, "float", 5, "origin[2]", "System.Single[]", false, 20)] public float[] origin = new System.Single[2]; - [DNAFieldAttribute(6, "int", "filter", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 6, "filter", "int", false, 28)] public int filter; public StripTransform() { this.xofs = default; diff --git a/BlendFile/DNA/SubdivGpencilModifierData.cs b/BlendFile/DNA/SubdivGpencilModifierData.cs index 06831f4..4725fbb 100644 --- a/BlendFile/DNA/SubdivGpencilModifierData.cs +++ b/BlendFile/DNA/SubdivGpencilModifierData.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(277, "SubdivGpencilModifierData", 264)] public class SubdivGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "int", "pass_index", "int", 4, false, 240)] + [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 244)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(6, "int", "level", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 6, "level", "int", false, 248)] public int level; - [DNAFieldAttribute(7, "int", "layer_pass", "int", 4, false, 252)] + [DNAFieldAttribute(4, "int", 7, "layer_pass", "int", false, 252)] public int layer_pass; - [DNAFieldAttribute(8, "short", "type", "short", 2, false, 256)] + [DNAFieldAttribute(2, "short", 8, "type", "short", false, 256)] public short type; - [DNAFieldAttribute(9, "char", "_pad[6]", "System.Char[]", 6, false, 258)] + [DNAFieldAttribute(6, "char", 9, "_pad[6]", "System.Char[]", false, 258)] public char[] _pad = new System.Char[6]; public SubdivGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.pass_index = default; @@ -47,9 +47,9 @@ namespace BlendFile.DNA { 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) { + public SubdivGpencilModifierData(GpencilModifierData modifier, Material 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; + this.material = material; this.layername = layername; this.materialname = materialname; this.pass_index = pass_index; diff --git a/BlendFile/DNA/SubsurfModifierData.cs b/BlendFile/DNA/SubsurfModifierData.cs index 01894ca..7373a1b 100644 --- a/BlendFile/DNA/SubsurfModifierData.cs +++ b/BlendFile/DNA/SubsurfModifierData.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(446, "SubsurfModifierData", 152)] public class SubsurfModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "short", "subdivType", "short", 2, false, 120)] + [DNAFieldAttribute(2, "short", 1, "subdivType", "short", false, 120)] public short subdivType; - [DNAFieldAttribute(2, "short", "levels", "short", 2, false, 122)] + [DNAFieldAttribute(2, "short", 2, "levels", "short", false, 122)] public short levels; - [DNAFieldAttribute(3, "short", "renderLevels", "short", 2, false, 124)] + [DNAFieldAttribute(2, "short", 3, "renderLevels", "short", false, 124)] public short renderLevels; - [DNAFieldAttribute(4, "short", "flags", "short", 2, false, 126)] + [DNAFieldAttribute(2, "short", 4, "flags", "short", false, 126)] public short flags; - [DNAFieldAttribute(5, "short", "uv_smooth", "short", 2, false, 128)] + [DNAFieldAttribute(2, "short", 5, "uv_smooth", "short", false, 128)] public short uv_smooth; - [DNAFieldAttribute(6, "short", "quality", "short", 2, false, 130)] + [DNAFieldAttribute(2, "short", 6, "quality", "short", false, 130)] public short quality; - [DNAFieldAttribute(7, "short", "boundary_smooth", "short", 2, false, 132)] + [DNAFieldAttribute(2, "short", 7, "boundary_smooth", "short", false, 132)] public short boundary_smooth; - [DNAFieldAttribute(8, "char", "_pad[2]", "System.Char[]", 2, false, 134)] + [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 134)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(9, "void", "*emCache", "void", 8, true, 136)] - public object ptr_emCache; - [DNAFieldAttribute(10, "void", "*mCache", "void", 8, true, 144)] - public object ptr_mCache; + [DNAFieldAttribute(8, "void", 9, "*emCache", "void", true, 136)] + public object emCache; + [DNAFieldAttribute(8, "void", 10, "*mCache", "void", true, 144)] + public object mCache; public SubsurfModifierData() { this.modifier = default; this.subdivType = default; @@ -47,10 +47,10 @@ namespace BlendFile.DNA { this.quality = default; this.boundary_smooth = default; this._pad = default; - this.ptr_emCache = default; - this.ptr_mCache = default; + this.emCache = default; + this.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) { + public SubsurfModifierData(ModifierData modifier, short subdivType, short levels, short renderLevels, short flags, short uv_smooth, short quality, short boundary_smooth, char[] _pad, object emCache, object mCache) { this.modifier = modifier; this.subdivType = subdivType; this.levels = levels; @@ -60,8 +60,8 @@ namespace BlendFile.DNA { this.quality = quality; this.boundary_smooth = boundary_smooth; this._pad = _pad; - this.ptr_emCache = ptr_emCache; - this.ptr_mCache = ptr_mCache; + this.emCache = emCache; + this.mCache = mCache; } } } diff --git a/BlendFile/DNA/SurfaceDeformModifierData.cs b/BlendFile/DNA/SurfaceDeformModifierData.cs index 7469ed6..0298c9b 100644 --- a/BlendFile/DNA/SurfaceDeformModifierData.cs +++ b/BlendFile/DNA/SurfaceDeformModifierData.cs @@ -15,42 +15,42 @@ namespace BlendFile.DNA { [DNAClassAttribute(512, "SurfaceDeformModifierData", 312)] public class SurfaceDeformModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Depsgraph", "*depsgraph", "Depsgraph", 8, true, 120)] - public Depsgraph ptr_depsgraph; - [DNAFieldAttribute(2, "Object", "*target", "Object", 8, true, 128)] - public Object ptr_target; - [DNAFieldAttribute(3, "SDefVert", "*verts", "SDefVert", 8, true, 136)] - public SDefVert ptr_verts; - [DNAFieldAttribute(4, "void", "*_pad1", "void", 8, true, 144)] - public object ptr__pad1; - [DNAFieldAttribute(5, "float", "falloff", "float", 4, false, 152)] + [DNAFieldAttribute(8, "Depsgraph", 1, "*depsgraph", "Depsgraph", true, 120)] + public Depsgraph depsgraph; + [DNAFieldAttribute(8, "Object", 2, "*target", "Object", true, 128)] + public Object target; + [DNAFieldAttribute(8, "SDefVert", 3, "*verts", "SDefVert", true, 136)] + public SDefVert verts; + [DNAFieldAttribute(8, "void", 4, "*_pad1", "void", true, 144)] + public object _pad1; + [DNAFieldAttribute(4, "float", 5, "falloff", "float", false, 152)] public float falloff; - [DNAFieldAttribute(6, "int", "num_mesh_verts", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 6, "num_mesh_verts", "int", false, 156)] public int num_mesh_verts; - [DNAFieldAttribute(7, "int", "numverts", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 7, "numverts", "int", false, 160)] public int numverts; - [DNAFieldAttribute(8, "int", "target_verts_num", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 8, "target_verts_num", "int", false, 164)] public int target_verts_num; - [DNAFieldAttribute(9, "int", "numpoly", "int", 4, false, 168)] + [DNAFieldAttribute(4, "int", 9, "numpoly", "int", false, 168)] public int numpoly; - [DNAFieldAttribute(10, "int", "flags", "int", 4, false, 172)] + [DNAFieldAttribute(4, "int", 10, "flags", "int", false, 172)] public int flags; - [DNAFieldAttribute(11, "float", "mat[4][4]", "System.Single[,]", 64, false, 176)] + [DNAFieldAttribute(64, "float", 11, "mat[4][4]", "System.Single[,]", false, 176)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", "strength", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 12, "strength", "float", false, 240)] public float strength; - [DNAFieldAttribute(13, "char", "defgrp_name[64]", "System.Char[]", 64, false, 244)] + [DNAFieldAttribute(64, "char", 13, "defgrp_name[64]", "System.Char[]", false, 244)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(14, "int", "_pad2", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 14, "_pad2", "int", false, 308)] 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.depsgraph = default; + this.target = default; + this.verts = default; + this._pad1 = default; this.falloff = default; this.num_mesh_verts = default; this.numverts = default; @@ -62,12 +62,12 @@ namespace BlendFile.DNA { 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) { + public SurfaceDeformModifierData(ModifierData modifier, Depsgraph depsgraph, Object target, SDefVert verts, object _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; - this.ptr_target = ptr_target; - this.ptr_verts = ptr_verts; - this.ptr__pad1 = ptr__pad1; + this.depsgraph = depsgraph; + this.target = target; + this.verts = verts; + this._pad1 = _pad1; this.falloff = falloff; this.num_mesh_verts = num_mesh_verts; this.numverts = numverts; diff --git a/BlendFile/DNA/SurfaceModifierData.cs b/BlendFile/DNA/SurfaceModifierData.cs index 10313b4..c5f3bbd 100644 --- a/BlendFile/DNA/SurfaceModifierData.cs +++ b/BlendFile/DNA/SurfaceModifierData.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(472, "SurfaceModifierData", 160)] public class SurfaceModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "SurfaceModifierData_Runtime", "runtime", "SurfaceModifierData_Runtime", 40, false, 120)] + [DNAFieldAttribute(40, "SurfaceModifierData_Runtime", 1, "runtime", "SurfaceModifierData_Runtime", false, 120)] public SurfaceModifierData_Runtime runtime; public SurfaceModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SurfaceModifierData_Runtime.cs b/BlendFile/DNA/SurfaceModifierData_Runtime.cs index a7cf4bb..08170d7 100644 --- a/BlendFile/DNA/SurfaceModifierData_Runtime.cs +++ b/BlendFile/DNA/SurfaceModifierData_Runtime.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(470, "SurfaceModifierData_Runtime", 24)] public class SurfaceModifierData_Runtime { - [DNAFieldAttribute(2, "Mesh", "*mesh", "Mesh", 8, true, 0)] - public Mesh ptr_mesh; - [DNAFieldAttribute(3, "BVHTreeFromMesh", "*bvhtree", "BVHTreeFromMesh", 8, true, 8)] - public BVHTreeFromMesh ptr_bvhtree; - [DNAFieldAttribute(4, "int", "cfra_prev", "int", 4, false, 16)] + [DNAFieldAttribute(8, "Mesh", 2, "*mesh", "Mesh", true, 0)] + public Mesh mesh; + [DNAFieldAttribute(8, "BVHTreeFromMesh", 3, "*bvhtree", "BVHTreeFromMesh", true, 8)] + public BVHTreeFromMesh bvhtree; + [DNAFieldAttribute(4, "int", 4, "cfra_prev", "int", false, 16)] public int cfra_prev; - [DNAFieldAttribute(5, "int", "verts_num", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "verts_num", "int", false, 20)] public int verts_num; public SurfaceModifierData_Runtime() { - this.ptr_mesh = default; - this.ptr_bvhtree = default; + this.mesh = default; + this.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; + public SurfaceModifierData_Runtime(Mesh mesh, BVHTreeFromMesh bvhtree, int cfra_prev, int verts_num) { + this.mesh = mesh; + this.bvhtree = bvhtree; this.cfra_prev = cfra_prev; this.verts_num = verts_num; } diff --git a/BlendFile/DNA/SwirlShaderFxData.cs b/BlendFile/DNA/SwirlShaderFxData.cs index bce3b2d..03a6540 100644 --- a/BlendFile/DNA/SwirlShaderFxData.cs +++ b/BlendFile/DNA/SwirlShaderFxData.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(924, "SwirlShaderFxData", 168)] public class SwirlShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 112)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)] public int flag; - [DNAFieldAttribute(3, "int", "radius", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 3, "radius", "int", false, 116)] public int radius; - [DNAFieldAttribute(4, "float", "angle", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 4, "angle", "float", false, 120)] public float angle; - [DNAFieldAttribute(5, "int", "transparent", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 5, "transparent", "int", false, 124)] public int transparent; - [DNAFieldAttribute(6, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 128)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 6, "runtime", "ShaderFxData_Runtime", false, 128)] public ShaderFxData_Runtime runtime; public SwirlShaderFxData() { this.shaderfx = default; - this.ptr_object = default; + this.@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) { + public SwirlShaderFxData(ShaderFxData shaderfx, Object @object, int flag, int radius, float angle, int transparent, ShaderFxData_Runtime runtime) { this.shaderfx = shaderfx; - this.ptr_object = ptr_object; + this.@object = @object; this.flag = flag; this.radius = radius; this.angle = angle; diff --git a/BlendFile/DNA/TFace.cs b/BlendFile/DNA/TFace.cs index e902c00..211b98e 100644 --- a/BlendFile/DNA/TFace.cs +++ b/BlendFile/DNA/TFace.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(422, "TFace", 64)] public class TFace { - [DNAFieldAttribute(0, "void", "*tpage", "void", 8, true, 0)] - public object ptr_tpage; - [DNAFieldAttribute(1, "float", "uv[4][2]", "System.Single[,]", 32, false, 8)] + [DNAFieldAttribute(8, "void", 0, "*tpage", "void", true, 0)] + public object tpage; + [DNAFieldAttribute(32, "float", 1, "uv[4][2]", "System.Single[,]", false, 8)] public float[,] uv = new System.Single[4,2]; - [DNAFieldAttribute(2, "int", "col[4]", "System.Int32[]", 16, false, 40)] + [DNAFieldAttribute(16, "int", 2, "col[4]", "System.Int32[]", false, 40)] public int[] col = new System.Int32[4]; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 56)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 56)] public char flag; - [DNAFieldAttribute(4, "char", "transp", "char", 1, false, 57)] + [DNAFieldAttribute(1, "char", 4, "transp", "char", false, 57)] public char transp; - [DNAFieldAttribute(5, "short", "mode", "short", 2, false, 58)] + [DNAFieldAttribute(2, "short", 5, "mode", "short", false, 58)] public short mode; - [DNAFieldAttribute(6, "short", "tile", "short", 2, false, 60)] + [DNAFieldAttribute(2, "short", 6, "tile", "short", false, 60)] public short tile; - [DNAFieldAttribute(7, "short", "unwrap", "short", 2, false, 62)] + [DNAFieldAttribute(2, "short", 7, "unwrap", "short", false, 62)] public short unwrap; public TFace() { - this.ptr_tpage = default; + this.tpage = default; this.uv = default; this.col = default; this.flag = default; @@ -41,8 +41,8 @@ namespace BlendFile.DNA { 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; + public TFace(object tpage, float[,] uv, int[] col, char flag, char transp, short mode, short tile, short unwrap) { + this.tpage = tpage; this.uv = uv; this.col = col; this.flag = flag; diff --git a/BlendFile/DNA/Tex.cs b/BlendFile/DNA/Tex.cs index e71aca2..82d1374 100644 --- a/BlendFile/DNA/Tex.cs +++ b/BlendFile/DNA/Tex.cs @@ -15,129 +15,129 @@ namespace BlendFile.DNA { [DNAClassAttribute(230, "Tex", 488)] public class Tex { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "float", "noisesize", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 3, "noisesize", "float", false, 232)] public float noisesize; - [DNAFieldAttribute(4, "float", "turbul", "float", 4, false, 236)] + [DNAFieldAttribute(4, "float", 4, "turbul", "float", false, 236)] public float turbul; - [DNAFieldAttribute(5, "float", "bright", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 5, "bright", "float", false, 240)] public float bright; - [DNAFieldAttribute(6, "float", "contrast", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 6, "contrast", "float", false, 244)] public float contrast; - [DNAFieldAttribute(7, "float", "saturation", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 7, "saturation", "float", false, 248)] public float saturation; - [DNAFieldAttribute(8, "float", "rfac", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 8, "rfac", "float", false, 252)] public float rfac; - [DNAFieldAttribute(9, "float", "gfac", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 9, "gfac", "float", false, 256)] public float gfac; - [DNAFieldAttribute(10, "float", "bfac", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 10, "bfac", "float", false, 260)] public float bfac; - [DNAFieldAttribute(11, "float", "filtersize", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 11, "filtersize", "float", false, 264)] public float filtersize; - [DNAFieldAttribute(12, "char", "_pad2[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", false, 268)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(13, "float", "mg_H", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 13, "mg_H", "float", false, 272)] public float mg_H; - [DNAFieldAttribute(14, "float", "mg_lacunarity", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 14, "mg_lacunarity", "float", false, 276)] public float mg_lacunarity; - [DNAFieldAttribute(15, "float", "mg_octaves", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 15, "mg_octaves", "float", false, 280)] public float mg_octaves; - [DNAFieldAttribute(16, "float", "mg_offset", "float", 4, false, 284)] + [DNAFieldAttribute(4, "float", 16, "mg_offset", "float", false, 284)] public float mg_offset; - [DNAFieldAttribute(17, "float", "mg_gain", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 17, "mg_gain", "float", false, 288)] public float mg_gain; - [DNAFieldAttribute(18, "float", "dist_amount", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 18, "dist_amount", "float", false, 292)] public float dist_amount; - [DNAFieldAttribute(19, "float", "ns_outscale", "float", 4, false, 296)] + [DNAFieldAttribute(4, "float", 19, "ns_outscale", "float", false, 296)] public float ns_outscale; - [DNAFieldAttribute(20, "float", "vn_w1", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 20, "vn_w1", "float", false, 300)] public float vn_w1; - [DNAFieldAttribute(21, "float", "vn_w2", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 21, "vn_w2", "float", false, 304)] public float vn_w2; - [DNAFieldAttribute(22, "float", "vn_w3", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 22, "vn_w3", "float", false, 308)] public float vn_w3; - [DNAFieldAttribute(23, "float", "vn_w4", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 23, "vn_w4", "float", false, 312)] public float vn_w4; - [DNAFieldAttribute(24, "float", "vn_mexp", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 24, "vn_mexp", "float", false, 316)] public float vn_mexp; - [DNAFieldAttribute(25, "short", "vn_distm", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 25, "vn_distm", "short", false, 320)] public short vn_distm; - [DNAFieldAttribute(26, "short", "vn_coltype", "short", 2, false, 322)] + [DNAFieldAttribute(2, "short", 26, "vn_coltype", "short", false, 322)] public short vn_coltype; - [DNAFieldAttribute(27, "short", "noisedepth", "short", 2, false, 324)] + [DNAFieldAttribute(2, "short", 27, "noisedepth", "short", false, 324)] public short noisedepth; - [DNAFieldAttribute(28, "short", "noisetype", "short", 2, false, 326)] + [DNAFieldAttribute(2, "short", 28, "noisetype", "short", false, 326)] public short noisetype; - [DNAFieldAttribute(29, "short", "noisebasis", "short", 2, false, 328)] + [DNAFieldAttribute(2, "short", 29, "noisebasis", "short", false, 328)] public short noisebasis; - [DNAFieldAttribute(30, "short", "noisebasis2", "short", 2, false, 330)] + [DNAFieldAttribute(2, "short", 30, "noisebasis2", "short", false, 330)] public short noisebasis2; - [DNAFieldAttribute(31, "short", "imaflag", "short", 2, false, 332)] + [DNAFieldAttribute(2, "short", 31, "imaflag", "short", false, 332)] public short imaflag; - [DNAFieldAttribute(32, "short", "flag", "short", 2, false, 334)] + [DNAFieldAttribute(2, "short", 32, "flag", "short", false, 334)] public short flag; - [DNAFieldAttribute(33, "short", "type", "short", 2, false, 336)] + [DNAFieldAttribute(2, "short", 33, "type", "short", false, 336)] public short type; - [DNAFieldAttribute(34, "short", "stype", "short", 2, false, 338)] + [DNAFieldAttribute(2, "short", 34, "stype", "short", false, 338)] public short stype; - [DNAFieldAttribute(35, "float", "cropxmin", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 35, "cropxmin", "float", false, 340)] public float cropxmin; - [DNAFieldAttribute(36, "float", "cropymin", "float", 4, false, 344)] + [DNAFieldAttribute(4, "float", 36, "cropymin", "float", false, 344)] public float cropymin; - [DNAFieldAttribute(37, "float", "cropxmax", "float", 4, false, 348)] + [DNAFieldAttribute(4, "float", 37, "cropxmax", "float", false, 348)] public float cropxmax; - [DNAFieldAttribute(38, "float", "cropymax", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 38, "cropymax", "float", false, 352)] public float cropymax; - [DNAFieldAttribute(39, "int", "texfilter", "int", 4, false, 356)] + [DNAFieldAttribute(4, "int", 39, "texfilter", "int", false, 356)] public int texfilter; - [DNAFieldAttribute(40, "int", "afmax", "int", 4, false, 360)] + [DNAFieldAttribute(4, "int", 40, "afmax", "int", false, 360)] public int afmax; - [DNAFieldAttribute(41, "short", "xrepeat", "short", 2, false, 364)] + [DNAFieldAttribute(2, "short", 41, "xrepeat", "short", false, 364)] public short xrepeat; - [DNAFieldAttribute(42, "short", "yrepeat", "short", 2, false, 366)] + [DNAFieldAttribute(2, "short", 42, "yrepeat", "short", false, 366)] public short yrepeat; - [DNAFieldAttribute(43, "short", "extend", "short", 2, false, 368)] + [DNAFieldAttribute(2, "short", 43, "extend", "short", false, 368)] public short extend; - [DNAFieldAttribute(44, "short", "_pad0", "short", 2, false, 370)] + [DNAFieldAttribute(2, "short", 44, "_pad0", "short", false, 370)] public short _pad0; - [DNAFieldAttribute(45, "int", "len", "int", 4, false, 372)] + [DNAFieldAttribute(4, "int", 45, "len", "int", false, 372)] public int len; - [DNAFieldAttribute(46, "int", "frames", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 46, "frames", "int", false, 376)] public int frames; - [DNAFieldAttribute(47, "int", "offset", "int", 4, false, 380)] + [DNAFieldAttribute(4, "int", 47, "offset", "int", false, 380)] public int offset; - [DNAFieldAttribute(48, "int", "sfra", "int", 4, false, 384)] + [DNAFieldAttribute(4, "int", 48, "sfra", "int", false, 384)] public int sfra; - [DNAFieldAttribute(49, "float", "checkerdist", "float", 4, false, 388)] + [DNAFieldAttribute(4, "float", 49, "checkerdist", "float", false, 388)] public float checkerdist; - [DNAFieldAttribute(50, "float", "nabla", "float", 4, false, 392)] + [DNAFieldAttribute(4, "float", 50, "nabla", "float", false, 392)] public float nabla; - [DNAFieldAttribute(51, "char", "_pad1[4]", "System.Char[]", 4, false, 396)] + [DNAFieldAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", false, 396)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(52, "ImageUser", "iuser", "ImageUser", 40, false, 400)] + [DNAFieldAttribute(40, "ImageUser", 52, "iuser", "ImageUser", false, 400)] public ImageUser iuser; - [DNAFieldAttribute(53, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 440)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(54, "Ipo", "*ipo", "Ipo", 8, true, 448)] - public Ipo ptr_ipo; - [DNAFieldAttribute(55, "Image", "*ima", "Image", 8, true, 456)] - public Image ptr_ima; - [DNAFieldAttribute(56, "ColorBand", "*coba", "ColorBand", 8, true, 464)] - public ColorBand ptr_coba; - [DNAFieldAttribute(57, "PreviewImage", "*preview", "PreviewImage", 8, true, 472)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(58, "char", "use_nodes", "char", 1, false, 480)] + [DNAFieldAttribute(8, "bNodeTree", 53, "*nodetree", "bNodeTree", true, 440)] + public bNodeTree nodetree; + [DNAFieldAttribute(8, "Ipo", 54, "*ipo", "Ipo", true, 448)] + public Ipo ipo; + [DNAFieldAttribute(8, "Image", 55, "*ima", "Image", true, 456)] + public Image ima; + [DNAFieldAttribute(8, "ColorBand", 56, "*coba", "ColorBand", true, 464)] + public ColorBand coba; + [DNAFieldAttribute(8, "PreviewImage", 57, "*preview", "PreviewImage", true, 472)] + public PreviewImage preview; + [DNAFieldAttribute(1, "char", 58, "use_nodes", "char", false, 480)] public char use_nodes; - [DNAFieldAttribute(59, "char", "_pad[7]", "System.Char[]", 7, false, 481)] + [DNAFieldAttribute(7, "char", 59, "_pad[7]", "System.Char[]", false, 481)] public char[] _pad = new System.Char[7]; public Tex() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; this.noisesize = default; this.turbul = default; @@ -189,17 +189,17 @@ namespace BlendFile.DNA { 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.nodetree = default; + this.ipo = default; + this.ima = default; + this.coba = default; + this.preview = default; this.use_nodes = default; this._pad = default; } public Tex( ID id, - AnimData ptr_adt, + AnimData adt, DrawDataList drawdata, float noisesize, float turbul, @@ -251,15 +251,15 @@ namespace BlendFile.DNA { float nabla, char[] _pad1, ImageUser iuser, - bNodeTree ptr_nodetree, - Ipo ptr_ipo, - Image ptr_ima, - ColorBand ptr_coba, - PreviewImage ptr_preview, + bNodeTree nodetree, + Ipo ipo, + Image ima, + ColorBand coba, + PreviewImage preview, char use_nodes, char[] _pad) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.drawdata = drawdata; this.noisesize = noisesize; this.turbul = turbul; @@ -311,11 +311,11 @@ namespace BlendFile.DNA { this.nabla = nabla; this._pad1 = _pad1; this.iuser = iuser; - this.ptr_nodetree = ptr_nodetree; - this.ptr_ipo = ptr_ipo; - this.ptr_ima = ptr_ima; - this.ptr_coba = ptr_coba; - this.ptr_preview = ptr_preview; + this.nodetree = nodetree; + this.ipo = ipo; + this.ima = ima; + this.coba = coba; + this.preview = preview; this.use_nodes = use_nodes; this._pad = _pad; } diff --git a/BlendFile/DNA/TexMapping.cs b/BlendFile/DNA/TexMapping.cs index aa309e5..13ad7df 100644 --- a/BlendFile/DNA/TexMapping.cs +++ b/BlendFile/DNA/TexMapping.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(635, "TexMapping", 144)] public class TexMapping { - [DNAFieldAttribute(0, "float", "loc[3]", "System.Single[]", 12, false, 0)] + [DNAFieldAttribute(12, "float", 0, "loc[3]", "System.Single[]", false, 0)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(1, "float", "rot[3]", "System.Single[]", 12, false, 12)] + [DNAFieldAttribute(12, "float", 1, "rot[3]", "System.Single[]", false, 12)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(2, "float", "size[3]", "System.Single[]", 12, false, 24)] + [DNAFieldAttribute(12, "float", 2, "size[3]", "System.Single[]", false, 24)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 36)] public int flag; - [DNAFieldAttribute(4, "char", "projx", "char", 1, false, 40)] + [DNAFieldAttribute(1, "char", 4, "projx", "char", false, 40)] public char projx; - [DNAFieldAttribute(5, "char", "projy", "char", 1, false, 41)] + [DNAFieldAttribute(1, "char", 5, "projy", "char", false, 41)] public char projy; - [DNAFieldAttribute(6, "char", "projz", "char", 1, false, 42)] + [DNAFieldAttribute(1, "char", 6, "projz", "char", false, 42)] public char projz; - [DNAFieldAttribute(7, "char", "mapping", "char", 1, false, 43)] + [DNAFieldAttribute(1, "char", 7, "mapping", "char", false, 43)] public char mapping; - [DNAFieldAttribute(8, "int", "type", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 8, "type", "int", false, 44)] public int type; - [DNAFieldAttribute(9, "float", "mat[4][4]", "System.Single[,]", 64, false, 48)] + [DNAFieldAttribute(64, "float", 9, "mat[4][4]", "System.Single[,]", false, 48)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(10, "float", "min[3]", "System.Single[]", 12, false, 112)] + [DNAFieldAttribute(12, "float", 10, "min[3]", "System.Single[]", false, 112)] public float[] min = new System.Single[3]; - [DNAFieldAttribute(11, "float", "max[3]", "System.Single[]", 12, false, 124)] + [DNAFieldAttribute(12, "float", 11, "max[3]", "System.Single[]", false, 124)] public float[] max = new System.Single[3]; - [DNAFieldAttribute(12, "Object", "*ob", "Object", 8, true, 136)] - public Object ptr_ob; + [DNAFieldAttribute(8, "Object", 12, "*ob", "Object", true, 136)] + public Object ob; public TexMapping() { this.loc = default; this.rot = default; @@ -54,9 +54,9 @@ namespace BlendFile.DNA { this.mat = default; this.min = default; this.max = default; - this.ptr_ob = default; + this.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) { + 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 ob) { this.loc = loc; this.rot = rot; this.size = size; @@ -69,7 +69,7 @@ namespace BlendFile.DNA { this.mat = mat; this.min = min; this.max = max; - this.ptr_ob = ptr_ob; + this.ob = ob; } } } diff --git a/BlendFile/DNA/TexNodeOutput.cs b/BlendFile/DNA/TexNodeOutput.cs index 2ef8c6d..0e826b9 100644 --- a/BlendFile/DNA/TexNodeOutput.cs +++ b/BlendFile/DNA/TexNodeOutput.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(655, "TexNodeOutput", 64)] - public struct TexNodeOutput { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + public class TexNodeOutput { + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; public TexNodeOutput() { this.name = default; diff --git a/BlendFile/DNA/TexPaintSlot.cs b/BlendFile/DNA/TexPaintSlot.cs index 13db4e5..36fd88d 100644 --- a/BlendFile/DNA/TexPaintSlot.cs +++ b/BlendFile/DNA/TexPaintSlot.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(413, "TexPaintSlot", 40)] public class TexPaintSlot { - [DNAFieldAttribute(0, "Image", "*ima", "Image", 8, true, 0)] - public Image ptr_ima; - [DNAFieldAttribute(1, "ImageUser", "*image_user", "ImageUser", 8, true, 8)] - public ImageUser ptr_image_user; - [DNAFieldAttribute(2, "char", "*uvname", "char", 8, true, 16)] - public char ptr_uvname; - [DNAFieldAttribute(3, "char", "*attribute_name", "char", 8, true, 24)] - public char ptr_attribute_name; - [DNAFieldAttribute(4, "int", "valid", "int", 4, false, 32)] + [DNAFieldAttribute(8, "Image", 0, "*ima", "Image", true, 0)] + public Image ima; + [DNAFieldAttribute(8, "ImageUser", 1, "*image_user", "ImageUser", true, 8)] + public ImageUser image_user; + [DNAFieldAttribute(8, "char", 2, "*uvname", "char", true, 16)] + public char uvname; + [DNAFieldAttribute(8, "char", 3, "*attribute_name", "char", true, 24)] + public char attribute_name; + [DNAFieldAttribute(4, "int", 4, "valid", "int", false, 32)] public int valid; - [DNAFieldAttribute(5, "int", "interp", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 5, "interp", "int", false, 36)] public int interp; public TexPaintSlot() { - this.ptr_ima = default; - this.ptr_image_user = default; - this.ptr_uvname = default; - this.ptr_attribute_name = default; + this.ima = default; + this.image_user = default; + this.uvname = default; + this.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; - this.ptr_uvname = ptr_uvname; - this.ptr_attribute_name = ptr_attribute_name; + public TexPaintSlot(Image ima, ImageUser image_user, char uvname, char attribute_name, int valid, int interp) { + this.ima = ima; + this.image_user = image_user; + this.uvname = uvname; + this.attribute_name = attribute_name; this.valid = valid; this.interp = interp; } diff --git a/BlendFile/DNA/Text.cs b/BlendFile/DNA/Text.cs index 6347331..e4e9531 100644 --- a/BlendFile/DNA/Text.cs +++ b/BlendFile/DNA/Text.cs @@ -15,50 +15,50 @@ namespace BlendFile.DNA { [DNAClassAttribute(175, "Text", 280)] public class Text { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "char", "*name", "char", 8, true, 208)] - public char ptr_name; - [DNAFieldAttribute(2, "void", "*compiled", "void", 8, true, 216)] - public object ptr_compiled; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 224)] + [DNAFieldAttribute(8, "char", 1, "*name", "char", true, 208)] + public char name; + [DNAFieldAttribute(8, "void", 2, "*compiled", "void", true, 216)] + public object compiled; + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 224)] public int flags; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 228)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 228)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(5, "ListBase", "lines", "ListBase", 16, false, 232)] + [DNAFieldAttribute(16, "ListBase", 5, "lines", "ListBase", false, 232)] public ListBase lines; - [DNAFieldAttribute(6, "TextLine", "*curl", "TextLine", 8, true, 248)] - public TextLine ptr_curl; - [DNAFieldAttribute(7, "TextLine", "*sell", "TextLine", 8, true, 256)] - public TextLine ptr_sell; - [DNAFieldAttribute(8, "int", "curc", "int", 4, false, 264)] + [DNAFieldAttribute(8, "TextLine", 6, "*curl", "TextLine", true, 248)] + public TextLine curl; + [DNAFieldAttribute(8, "TextLine", 7, "*sell", "TextLine", true, 256)] + public TextLine sell; + [DNAFieldAttribute(4, "int", 8, "curc", "int", false, 264)] public int curc; - [DNAFieldAttribute(9, "int", "selc", "int", 4, false, 268)] + [DNAFieldAttribute(4, "int", 9, "selc", "int", false, 268)] public int selc; - [DNAFieldAttribute(10, "double", "mtime", "double", 8, false, 272)] + [DNAFieldAttribute(8, "double", 10, "mtime", "double", false, 272)] public double mtime; public Text() { this.id = default; - this.ptr_name = default; - this.ptr_compiled = default; + this.name = default; + this.compiled = default; this.flags = default; this._pad0 = default; this.lines = default; - this.ptr_curl = default; - this.ptr_sell = default; + this.curl = default; + this.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) { + public Text(ID id, char name, object compiled, int flags, char[] _pad0, ListBase lines, TextLine curl, TextLine sell, int curc, int selc, double mtime) { this.id = id; - this.ptr_name = ptr_name; - this.ptr_compiled = ptr_compiled; + this.name = name; + this.compiled = compiled; this.flags = flags; this._pad0 = _pad0; this.lines = lines; - this.ptr_curl = ptr_curl; - this.ptr_sell = ptr_sell; + this.curl = curl; + this.sell = sell; this.curc = curc; this.selc = selc; this.mtime = mtime; diff --git a/BlendFile/DNA/TextBox.cs b/BlendFile/DNA/TextBox.cs index a789f83..c3e0b0f 100644 --- a/BlendFile/DNA/TextBox.cs +++ b/BlendFile/DNA/TextBox.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(209, "TextBox", 16)] - public struct TextBox { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class TextBox { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "w", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "w", "float", false, 8)] public float w; - [DNAFieldAttribute(3, "float", "h", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "h", "float", false, 12)] public float h; public TextBox() { this.x = default; diff --git a/BlendFile/DNA/TextLine.cs b/BlendFile/DNA/TextLine.cs index f42b13c..7e4e778 100644 --- a/BlendFile/DNA/TextLine.cs +++ b/BlendFile/DNA/TextLine.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(973, "TextLine", 40)] public class TextLine { - [DNAFieldAttribute(0, "TextLine", "*next", "TextLine", 8, true, 0)] - public TextLine ptr_next; - [DNAFieldAttribute(1, "TextLine", "*prev", "TextLine", 8, true, 8)] - public TextLine ptr_prev; - [DNAFieldAttribute(2, "char", "*line", "char", 8, true, 16)] - public char ptr_line; - [DNAFieldAttribute(3, "char", "*format", "char", 8, true, 24)] - public char ptr_format; - [DNAFieldAttribute(4, "int", "len", "int", 4, false, 32)] + [DNAFieldAttribute(8, "TextLine", 0, "*next", "TextLine", true, 0)] + public TextLine next; + [DNAFieldAttribute(8, "TextLine", 1, "*prev", "TextLine", true, 8)] + public TextLine prev; + [DNAFieldAttribute(8, "char", 2, "*line", "char", true, 16)] + public char line; + [DNAFieldAttribute(8, "char", 3, "*format", "char", true, 24)] + public char format; + [DNAFieldAttribute(4, "int", 4, "len", "int", false, 32)] public int len; - [DNAFieldAttribute(5, "char", "_pad0[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 5, "_pad0[4]", "System.Char[]", false, 36)] 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.next = default; + this.prev = default; + this.line = default; + this.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; - this.ptr_line = ptr_line; - this.ptr_format = ptr_format; + public TextLine(TextLine next, TextLine prev, char line, char format, int len, char[] _pad0) { + this.next = next; + this.prev = prev; + this.line = line; + this.format = format; this.len = len; this._pad0 = _pad0; } diff --git a/BlendFile/DNA/TextVars.cs b/BlendFile/DNA/TextVars.cs index 795e3a7..05a4f2f 100644 --- a/BlendFile/DNA/TextVars.cs +++ b/BlendFile/DNA/TextVars.cs @@ -15,47 +15,47 @@ namespace BlendFile.DNA { [DNAClassAttribute(902, "TextVars", 632)] public class TextVars { - [DNAFieldAttribute(0, "char", "text[512]", "System.Char[]", 512, false, 0)] + [DNAFieldAttribute(512, "char", 0, "text[512]", "System.Char[]", false, 0)] public char[] text = new System.Char[512]; - [DNAFieldAttribute(1, "VFont", "*text_font", "VFont", 8, true, 512)] - public VFont ptr_text_font; - [DNAFieldAttribute(2, "int", "text_blf_id", "int", 4, false, 520)] + [DNAFieldAttribute(8, "VFont", 1, "*text_font", "VFont", true, 512)] + public VFont text_font; + [DNAFieldAttribute(4, "int", 2, "text_blf_id", "int", false, 520)] public int text_blf_id; - [DNAFieldAttribute(3, "float", "text_size", "float", 4, false, 524)] + [DNAFieldAttribute(4, "float", 3, "text_size", "float", false, 524)] public float text_size; - [DNAFieldAttribute(4, "float", "color[4]", "System.Single[]", 16, false, 528)] + [DNAFieldAttribute(16, "float", 4, "color[4]", "System.Single[]", false, 528)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(5, "float", "shadow_color[4]", "System.Single[]", 16, false, 544)] + [DNAFieldAttribute(16, "float", 5, "shadow_color[4]", "System.Single[]", false, 544)] public float[] shadow_color = new System.Single[4]; - [DNAFieldAttribute(6, "float", "box_color[4]", "System.Single[]", 16, false, 560)] + [DNAFieldAttribute(16, "float", 6, "box_color[4]", "System.Single[]", false, 560)] public float[] box_color = new System.Single[4]; - [DNAFieldAttribute(7, "float", "outline_color[4]", "System.Single[]", 16, false, 576)] + [DNAFieldAttribute(16, "float", 7, "outline_color[4]", "System.Single[]", false, 576)] public float[] outline_color = new System.Single[4]; - [DNAFieldAttribute(8, "float", "loc[2]", "System.Single[]", 8, false, 592)] + [DNAFieldAttribute(8, "float", 8, "loc[2]", "System.Single[]", false, 592)] public float[] loc = new System.Single[2]; - [DNAFieldAttribute(9, "float", "wrap_width", "float", 4, false, 600)] + [DNAFieldAttribute(4, "float", 9, "wrap_width", "float", false, 600)] public float wrap_width; - [DNAFieldAttribute(10, "float", "box_margin", "float", 4, false, 604)] + [DNAFieldAttribute(4, "float", 10, "box_margin", "float", false, 604)] public float box_margin; - [DNAFieldAttribute(11, "float", "shadow_angle", "float", 4, false, 608)] + [DNAFieldAttribute(4, "float", 11, "shadow_angle", "float", false, 608)] public float shadow_angle; - [DNAFieldAttribute(12, "float", "shadow_offset", "float", 4, false, 612)] + [DNAFieldAttribute(4, "float", 12, "shadow_offset", "float", false, 612)] public float shadow_offset; - [DNAFieldAttribute(13, "float", "shadow_blur", "float", 4, false, 616)] + [DNAFieldAttribute(4, "float", 13, "shadow_blur", "float", false, 616)] public float shadow_blur; - [DNAFieldAttribute(14, "float", "outline_width", "float", 4, false, 620)] + [DNAFieldAttribute(4, "float", 14, "outline_width", "float", false, 620)] public float outline_width; - [DNAFieldAttribute(15, "char", "flag", "char", 1, false, 624)] + [DNAFieldAttribute(1, "char", 15, "flag", "char", false, 624)] public char flag; - [DNAFieldAttribute(16, "char", "align", "char", 1, false, 625)] + [DNAFieldAttribute(1, "char", 16, "align", "char", false, 625)] public char align; - [DNAFieldAttribute(17, "char", "align_y", "char", 1, false, 626)] + [DNAFieldAttribute(1, "char", 17, "align_y", "char", false, 626)] public char align_y; - [DNAFieldAttribute(18, "char", "_pad[5]", "System.Char[]", 5, false, 627)] + [DNAFieldAttribute(5, "char", 18, "_pad[5]", "System.Char[]", false, 627)] public char[] _pad = new System.Char[5]; public TextVars() { this.text = default; - this.ptr_text_font = default; + this.text_font = default; this.text_blf_id = default; this.text_size = default; this.color = default; @@ -76,7 +76,7 @@ namespace BlendFile.DNA { } public TextVars( char[] text, - VFont ptr_text_font, + VFont text_font, int text_blf_id, float text_size, float[] color, @@ -95,7 +95,7 @@ namespace BlendFile.DNA { char align_y, char[] _pad) { this.text = text; - this.ptr_text_font = ptr_text_font; + this.text_font = text_font; this.text_blf_id = text_blf_id; this.text_size = text_size; this.color = color; diff --git a/BlendFile/DNA/TextureGpencilModifierData.cs b/BlendFile/DNA/TextureGpencilModifierData.cs index 9fe8639..90e3feb 100644 --- a/BlendFile/DNA/TextureGpencilModifierData.cs +++ b/BlendFile/DNA/TextureGpencilModifierData.cs @@ -15,43 +15,43 @@ namespace BlendFile.DNA { [DNAClassAttribute(299, "TextureGpencilModifierData", 352)] public class TextureGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "uv_offset", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "uv_offset", "float", false, 312)] public float uv_offset; - [DNAFieldAttribute(8, "float", "uv_scale", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 8, "uv_scale", "float", false, 316)] public float uv_scale; - [DNAFieldAttribute(9, "float", "fill_rotation", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 9, "fill_rotation", "float", false, 320)] public float fill_rotation; - [DNAFieldAttribute(10, "float", "fill_offset[2]", "System.Single[]", 8, false, 324)] + [DNAFieldAttribute(8, "float", 10, "fill_offset[2]", "System.Single[]", false, 324)] public float[] fill_offset = new System.Single[2]; - [DNAFieldAttribute(11, "float", "fill_scale", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 11, "fill_scale", "float", false, 332)] public float fill_scale; - [DNAFieldAttribute(12, "int", "layer_pass", "int", 4, false, 336)] + [DNAFieldAttribute(4, "int", 12, "layer_pass", "int", false, 336)] public int layer_pass; - [DNAFieldAttribute(13, "short", "fit_method", "short", 2, false, 340)] + [DNAFieldAttribute(2, "short", 13, "fit_method", "short", false, 340)] public short fit_method; - [DNAFieldAttribute(14, "short", "mode", "short", 2, false, 342)] + [DNAFieldAttribute(2, "short", 14, "mode", "short", false, 342)] public short mode; - [DNAFieldAttribute(15, "float", "alignment_rotation", "float", 4, false, 344)] + [DNAFieldAttribute(4, "float", 15, "alignment_rotation", "float", false, 344)] public float alignment_rotation; - [DNAFieldAttribute(16, "char", "_pad[4]", "System.Char[]", 4, false, 348)] + [DNAFieldAttribute(4, "char", 16, "_pad[4]", "System.Char[]", false, 348)] public char[] _pad = new System.Char[4]; public TextureGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -70,7 +70,7 @@ namespace BlendFile.DNA { } public TextureGpencilModifierData( GpencilModifierData modifier, - Material ptr_material, + Material material, char[] layername, char[] materialname, char[] vgname, @@ -87,7 +87,7 @@ namespace BlendFile.DNA { float alignment_rotation, char[] _pad) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; diff --git a/BlendFile/DNA/ThemeAssetShelf.cs b/BlendFile/DNA/ThemeAssetShelf.cs index 826019e..e95c688 100644 --- a/BlendFile/DNA/ThemeAssetShelf.cs +++ b/BlendFile/DNA/ThemeAssetShelf.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(993, "ThemeAssetShelf", 8)] - public struct ThemeAssetShelf { - [DNAFieldAttribute(0, "char", "header_back[4]", "System.Char[]", 4, false, 0)] + public class ThemeAssetShelf { + [DNAFieldAttribute(4, "char", 0, "header_back[4]", "System.Char[]", false, 0)] public char[] header_back = new System.Char[4]; - [DNAFieldAttribute(1, "char", "back[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "back[4]", "System.Char[]", false, 4)] public char[] back = new System.Char[4]; public ThemeAssetShelf() { this.header_back = default; diff --git a/BlendFile/DNA/ThemeCollectionColor.cs b/BlendFile/DNA/ThemeCollectionColor.cs index 97af375..2216fb7 100644 --- a/BlendFile/DNA/ThemeCollectionColor.cs +++ b/BlendFile/DNA/ThemeCollectionColor.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(995, "ThemeCollectionColor", 4)] - public struct ThemeCollectionColor { - [DNAFieldAttribute(0, "char", "color[4]", "System.Char[]", 4, false, 0)] + public class ThemeCollectionColor { + [DNAFieldAttribute(4, "char", 0, "color[4]", "System.Char[]", false, 0)] public char[] color = new System.Char[4]; public ThemeCollectionColor() { this.color = default; diff --git a/BlendFile/DNA/ThemeSpace.cs b/BlendFile/DNA/ThemeSpace.cs index dded03d..549c6b9 100644 --- a/BlendFile/DNA/ThemeSpace.cs +++ b/BlendFile/DNA/ThemeSpace.cs @@ -13,485 +13,477 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(994, "ThemeSpace", 936)] - public struct ThemeSpace { - [DNAFieldAttribute(0, "char", "back[4]", "System.Char[]", 4, false, 0)] + [DNAClassAttribute(994, "ThemeSpace", 920)] + public class ThemeSpace { + [DNAFieldAttribute(4, "char", 0, "back[4]", "System.Char[]", false, 0)] public char[] back = new System.Char[4]; - [DNAFieldAttribute(1, "char", "back_grad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "back_grad[4]", "System.Char[]", false, 4)] public char[] back_grad = new System.Char[4]; - [DNAFieldAttribute(2, "char", "show_back_grad", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 2, "show_back_grad", "char", false, 8)] public char show_back_grad; - [DNAFieldAttribute(3, "char", "_pad0[3]", "System.Char[]", 3, false, 9)] + [DNAFieldAttribute(3, "char", 3, "_pad0[3]", "System.Char[]", false, 9)] public char[] _pad0 = new System.Char[3]; - [DNAFieldAttribute(4, "char", "title[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 4, "title[4]", "System.Char[]", false, 12)] public char[] title = new System.Char[4]; - [DNAFieldAttribute(5, "char", "text[4]", "System.Char[]", 4, false, 16)] + [DNAFieldAttribute(4, "char", 5, "text[4]", "System.Char[]", false, 16)] public char[] text = new System.Char[4]; - [DNAFieldAttribute(6, "char", "text_hi[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 6, "text_hi[4]", "System.Char[]", false, 20)] public char[] text_hi = new System.Char[4]; - [DNAFieldAttribute(7, "char", "header[4]", "System.Char[]", 4, false, 24)] + [DNAFieldAttribute(4, "char", 7, "header[4]", "System.Char[]", false, 24)] public char[] header = new System.Char[4]; - [DNAFieldAttribute(8, "char", "header_title[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 8, "header_title[4]", "System.Char[]", false, 28)] public char[] header_title = new System.Char[4]; - [DNAFieldAttribute(9, "char", "header_text[4]", "System.Char[]", 4, false, 32)] + [DNAFieldAttribute(4, "char", 9, "header_text[4]", "System.Char[]", false, 32)] public char[] header_text = new System.Char[4]; - [DNAFieldAttribute(10, "char", "header_text_hi[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 10, "header_text_hi[4]", "System.Char[]", false, 36)] public char[] header_text_hi = new System.Char[4]; - [DNAFieldAttribute(11, "char", "tab_active[4]", "System.Char[]", 4, false, 40)] + [DNAFieldAttribute(4, "char", 11, "tab_active[4]", "System.Char[]", false, 40)] public char[] tab_active = new System.Char[4]; - [DNAFieldAttribute(12, "char", "tab_inactive[4]", "System.Char[]", 4, false, 44)] + [DNAFieldAttribute(4, "char", 12, "tab_inactive[4]", "System.Char[]", false, 44)] public char[] tab_inactive = new System.Char[4]; - [DNAFieldAttribute(13, "char", "tab_back[4]", "System.Char[]", 4, false, 48)] + [DNAFieldAttribute(4, "char", 13, "tab_back[4]", "System.Char[]", false, 48)] public char[] tab_back = new System.Char[4]; - [DNAFieldAttribute(14, "char", "tab_outline[4]", "System.Char[]", 4, false, 52)] + [DNAFieldAttribute(4, "char", 14, "tab_outline[4]", "System.Char[]", false, 52)] public char[] tab_outline = new System.Char[4]; - [DNAFieldAttribute(15, "char", "button[4]", "System.Char[]", 4, false, 56)] + [DNAFieldAttribute(4, "char", 15, "button[4]", "System.Char[]", false, 56)] public char[] button = new System.Char[4]; - [DNAFieldAttribute(16, "char", "button_title[4]", "System.Char[]", 4, false, 60)] + [DNAFieldAttribute(4, "char", 16, "button_title[4]", "System.Char[]", false, 60)] public char[] button_title = new System.Char[4]; - [DNAFieldAttribute(17, "char", "button_text[4]", "System.Char[]", 4, false, 64)] + [DNAFieldAttribute(4, "char", 17, "button_text[4]", "System.Char[]", false, 64)] public char[] button_text = new System.Char[4]; - [DNAFieldAttribute(18, "char", "button_text_hi[4]", "System.Char[]", 4, false, 68)] + [DNAFieldAttribute(4, "char", 18, "button_text_hi[4]", "System.Char[]", false, 68)] public char[] button_text_hi = new System.Char[4]; - [DNAFieldAttribute(19, "char", "list[4]", "System.Char[]", 4, false, 72)] - public char[] list = new System.Char[4]; - [DNAFieldAttribute(20, "char", "list_title[4]", "System.Char[]", 4, false, 76)] - public char[] list_title = new System.Char[4]; - [DNAFieldAttribute(21, "char", "list_text[4]", "System.Char[]", 4, false, 80)] - public char[] list_text = new System.Char[4]; - [DNAFieldAttribute(22, "char", "list_text_hi[4]", "System.Char[]", 4, false, 84)] - public char[] list_text_hi = new System.Char[4]; - [DNAFieldAttribute(23, "char", "navigation_bar[4]", "System.Char[]", 4, false, 88)] + [DNAFieldAttribute(4, "char", 23, "navigation_bar[4]", "System.Char[]", false, 72)] public char[] navigation_bar = new System.Char[4]; - [DNAFieldAttribute(24, "char", "execution_buts[4]", "System.Char[]", 4, false, 92)] + [DNAFieldAttribute(4, "char", 24, "execution_buts[4]", "System.Char[]", false, 76)] public char[] execution_buts = new System.Char[4]; - [DNAFieldAttribute(25, "uiPanelColors", "panelcolors", "uiPanelColors", 16, false, 96)] + [DNAFieldAttribute(16, "uiPanelColors", 25, "panelcolors", "uiPanelColors", false, 80)] public uiPanelColors panelcolors; - [DNAFieldAttribute(26, "ThemeAssetShelf", "asset_shelf", "ThemeAssetShelf", 8, false, 112)] + [DNAFieldAttribute(8, "ThemeAssetShelf", 26, "asset_shelf", "ThemeAssetShelf", false, 96)] public ThemeAssetShelf asset_shelf; - [DNAFieldAttribute(27, "char", "shade1[4]", "System.Char[]", 4, false, 120)] + [DNAFieldAttribute(4, "char", 27, "shade1[4]", "System.Char[]", false, 104)] public char[] shade1 = new System.Char[4]; - [DNAFieldAttribute(28, "char", "shade2[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 28, "shade2[4]", "System.Char[]", false, 108)] public char[] shade2 = new System.Char[4]; - [DNAFieldAttribute(29, "char", "hilite[4]", "System.Char[]", 4, false, 128)] + [DNAFieldAttribute(4, "char", 29, "hilite[4]", "System.Char[]", false, 112)] public char[] hilite = new System.Char[4]; - [DNAFieldAttribute(30, "char", "grid[4]", "System.Char[]", 4, false, 132)] + [DNAFieldAttribute(4, "char", 30, "grid[4]", "System.Char[]", false, 116)] public char[] grid = new System.Char[4]; - [DNAFieldAttribute(31, "char", "view_overlay[4]", "System.Char[]", 4, false, 136)] + [DNAFieldAttribute(4, "char", 31, "view_overlay[4]", "System.Char[]", false, 120)] public char[] view_overlay = new System.Char[4]; - [DNAFieldAttribute(32, "char", "wire[4]", "System.Char[]", 4, false, 140)] + [DNAFieldAttribute(4, "char", 32, "wire[4]", "System.Char[]", false, 124)] public char[] wire = new System.Char[4]; - [DNAFieldAttribute(33, "char", "wire_edit[4]", "System.Char[]", 4, false, 144)] + [DNAFieldAttribute(4, "char", 33, "wire_edit[4]", "System.Char[]", false, 128)] public char[] wire_edit = new System.Char[4]; - [DNAFieldAttribute(34, "char", "select[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 34, "select[4]", "System.Char[]", false, 132)] public char[] select = new System.Char[4]; - [DNAFieldAttribute(35, "char", "lamp[4]", "System.Char[]", 4, false, 152)] + [DNAFieldAttribute(4, "char", 35, "lamp[4]", "System.Char[]", false, 136)] public char[] lamp = new System.Char[4]; - [DNAFieldAttribute(36, "char", "speaker[4]", "System.Char[]", 4, false, 156)] + [DNAFieldAttribute(4, "char", 36, "speaker[4]", "System.Char[]", false, 140)] public char[] speaker = new System.Char[4]; - [DNAFieldAttribute(37, "char", "empty[4]", "System.Char[]", 4, false, 160)] + [DNAFieldAttribute(4, "char", 37, "empty[4]", "System.Char[]", false, 144)] public char[] empty = new System.Char[4]; - [DNAFieldAttribute(38, "char", "camera[4]", "System.Char[]", 4, false, 164)] + [DNAFieldAttribute(4, "char", 38, "camera[4]", "System.Char[]", false, 148)] public char[] camera = new System.Char[4]; - [DNAFieldAttribute(39, "char", "active[4]", "System.Char[]", 4, false, 168)] + [DNAFieldAttribute(4, "char", 39, "active[4]", "System.Char[]", false, 152)] public char[] active = new System.Char[4]; - [DNAFieldAttribute(40, "char", "group[4]", "System.Char[]", 4, false, 172)] + [DNAFieldAttribute(4, "char", 40, "group[4]", "System.Char[]", false, 156)] public char[] group = new System.Char[4]; - [DNAFieldAttribute(41, "char", "group_active[4]", "System.Char[]", 4, false, 176)] + [DNAFieldAttribute(4, "char", 41, "group_active[4]", "System.Char[]", false, 160)] public char[] group_active = new System.Char[4]; - [DNAFieldAttribute(42, "char", "transform[4]", "System.Char[]", 4, false, 180)] + [DNAFieldAttribute(4, "char", 42, "transform[4]", "System.Char[]", false, 164)] public char[] transform = new System.Char[4]; - [DNAFieldAttribute(43, "char", "vertex[4]", "System.Char[]", 4, false, 184)] + [DNAFieldAttribute(4, "char", 43, "vertex[4]", "System.Char[]", false, 168)] public char[] vertex = new System.Char[4]; - [DNAFieldAttribute(44, "char", "vertex_select[4]", "System.Char[]", 4, false, 188)] + [DNAFieldAttribute(4, "char", 44, "vertex_select[4]", "System.Char[]", false, 172)] public char[] vertex_select = new System.Char[4]; - [DNAFieldAttribute(45, "char", "vertex_active[4]", "System.Char[]", 4, false, 192)] + [DNAFieldAttribute(4, "char", 45, "vertex_active[4]", "System.Char[]", false, 176)] public char[] vertex_active = new System.Char[4]; - [DNAFieldAttribute(46, "char", "vertex_bevel[4]", "System.Char[]", 4, false, 196)] + [DNAFieldAttribute(4, "char", 46, "vertex_bevel[4]", "System.Char[]", false, 180)] public char[] vertex_bevel = new System.Char[4]; - [DNAFieldAttribute(47, "char", "vertex_unreferenced[4]", "System.Char[]", 4, false, 200)] + [DNAFieldAttribute(4, "char", 47, "vertex_unreferenced[4]", "System.Char[]", false, 184)] public char[] vertex_unreferenced = new System.Char[4]; - [DNAFieldAttribute(48, "char", "edge[4]", "System.Char[]", 4, false, 204)] + [DNAFieldAttribute(4, "char", 48, "edge[4]", "System.Char[]", false, 188)] public char[] edge = new System.Char[4]; - [DNAFieldAttribute(49, "char", "edge_select[4]", "System.Char[]", 4, false, 208)] + [DNAFieldAttribute(4, "char", 49, "edge_select[4]", "System.Char[]", false, 192)] public char[] edge_select = new System.Char[4]; - [DNAFieldAttribute(50, "char", "edge_mode_select[4]", "System.Char[]", 4, false, 212)] + [DNAFieldAttribute(4, "char", 50, "edge_mode_select[4]", "System.Char[]", false, 196)] public char[] edge_mode_select = new System.Char[4]; - [DNAFieldAttribute(51, "char", "edge_seam[4]", "System.Char[]", 4, false, 216)] + [DNAFieldAttribute(4, "char", 51, "edge_seam[4]", "System.Char[]", false, 200)] public char[] edge_seam = new System.Char[4]; - [DNAFieldAttribute(52, "char", "edge_sharp[4]", "System.Char[]", 4, false, 220)] + [DNAFieldAttribute(4, "char", 52, "edge_sharp[4]", "System.Char[]", false, 204)] public char[] edge_sharp = new System.Char[4]; - [DNAFieldAttribute(53, "char", "edge_facesel[4]", "System.Char[]", 4, false, 224)] + [DNAFieldAttribute(4, "char", 53, "edge_facesel[4]", "System.Char[]", false, 208)] public char[] edge_facesel = new System.Char[4]; - [DNAFieldAttribute(54, "char", "edge_crease[4]", "System.Char[]", 4, false, 228)] + [DNAFieldAttribute(4, "char", 54, "edge_crease[4]", "System.Char[]", false, 212)] public char[] edge_crease = new System.Char[4]; - [DNAFieldAttribute(55, "char", "edge_bevel[4]", "System.Char[]", 4, false, 232)] + [DNAFieldAttribute(4, "char", 55, "edge_bevel[4]", "System.Char[]", false, 216)] public char[] edge_bevel = new System.Char[4]; - [DNAFieldAttribute(56, "char", "face[4]", "System.Char[]", 4, false, 236)] + [DNAFieldAttribute(4, "char", 56, "face[4]", "System.Char[]", false, 220)] public char[] face = new System.Char[4]; - [DNAFieldAttribute(57, "char", "face_select[4]", "System.Char[]", 4, false, 240)] + [DNAFieldAttribute(4, "char", 57, "face_select[4]", "System.Char[]", false, 224)] public char[] face_select = new System.Char[4]; - [DNAFieldAttribute(58, "char", "face_mode_select[4]", "System.Char[]", 4, false, 244)] + [DNAFieldAttribute(4, "char", 58, "face_mode_select[4]", "System.Char[]", false, 228)] public char[] face_mode_select = new System.Char[4]; - [DNAFieldAttribute(59, "char", "face_retopology[4]", "System.Char[]", 4, false, 248)] + [DNAFieldAttribute(4, "char", 59, "face_retopology[4]", "System.Char[]", false, 232)] public char[] face_retopology = new System.Char[4]; - [DNAFieldAttribute(60, "char", "face_back[4]", "System.Char[]", 4, false, 252)] + [DNAFieldAttribute(4, "char", 60, "face_back[4]", "System.Char[]", false, 236)] public char[] face_back = new System.Char[4]; - [DNAFieldAttribute(61, "char", "face_front[4]", "System.Char[]", 4, false, 256)] + [DNAFieldAttribute(4, "char", 61, "face_front[4]", "System.Char[]", false, 240)] public char[] face_front = new System.Char[4]; - [DNAFieldAttribute(62, "char", "face_dot[4]", "System.Char[]", 4, false, 260)] + [DNAFieldAttribute(4, "char", 62, "face_dot[4]", "System.Char[]", false, 244)] public char[] face_dot = new System.Char[4]; - [DNAFieldAttribute(63, "char", "extra_edge_len[4]", "System.Char[]", 4, false, 264)] + [DNAFieldAttribute(4, "char", 63, "extra_edge_len[4]", "System.Char[]", false, 248)] public char[] extra_edge_len = new System.Char[4]; - [DNAFieldAttribute(64, "char", "extra_edge_angle[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 64, "extra_edge_angle[4]", "System.Char[]", false, 252)] public char[] extra_edge_angle = new System.Char[4]; - [DNAFieldAttribute(65, "char", "extra_face_angle[4]", "System.Char[]", 4, false, 272)] + [DNAFieldAttribute(4, "char", 65, "extra_face_angle[4]", "System.Char[]", false, 256)] public char[] extra_face_angle = new System.Char[4]; - [DNAFieldAttribute(66, "char", "extra_face_area[4]", "System.Char[]", 4, false, 276)] + [DNAFieldAttribute(4, "char", 66, "extra_face_area[4]", "System.Char[]", false, 260)] public char[] extra_face_area = new System.Char[4]; - [DNAFieldAttribute(67, "char", "normal[4]", "System.Char[]", 4, false, 280)] + [DNAFieldAttribute(4, "char", 67, "normal[4]", "System.Char[]", false, 264)] public char[] normal = new System.Char[4]; - [DNAFieldAttribute(68, "char", "vertex_normal[4]", "System.Char[]", 4, false, 284)] + [DNAFieldAttribute(4, "char", 68, "vertex_normal[4]", "System.Char[]", false, 268)] public char[] vertex_normal = new System.Char[4]; - [DNAFieldAttribute(69, "char", "loop_normal[4]", "System.Char[]", 4, false, 288)] + [DNAFieldAttribute(4, "char", 69, "loop_normal[4]", "System.Char[]", false, 272)] public char[] loop_normal = new System.Char[4]; - [DNAFieldAttribute(70, "char", "bone_solid[4]", "System.Char[]", 4, false, 292)] + [DNAFieldAttribute(4, "char", 70, "bone_solid[4]", "System.Char[]", false, 276)] public char[] bone_solid = new System.Char[4]; - [DNAFieldAttribute(71, "char", "bone_pose[4]", "System.Char[]", 4, false, 296)] + [DNAFieldAttribute(4, "char", 71, "bone_pose[4]", "System.Char[]", false, 280)] public char[] bone_pose = new System.Char[4]; - [DNAFieldAttribute(72, "char", "bone_pose_active[4]", "System.Char[]", 4, false, 300)] + [DNAFieldAttribute(4, "char", 72, "bone_pose_active[4]", "System.Char[]", false, 284)] public char[] bone_pose_active = new System.Char[4]; - [DNAFieldAttribute(73, "char", "bone_locked_weight[4]", "System.Char[]", 4, false, 304)] + [DNAFieldAttribute(4, "char", 73, "bone_locked_weight[4]", "System.Char[]", false, 288)] public char[] bone_locked_weight = new System.Char[4]; - [DNAFieldAttribute(74, "char", "strip[4]", "System.Char[]", 4, false, 308)] + [DNAFieldAttribute(4, "char", 74, "strip[4]", "System.Char[]", false, 292)] public char[] strip = new System.Char[4]; - [DNAFieldAttribute(75, "char", "strip_select[4]", "System.Char[]", 4, false, 312)] + [DNAFieldAttribute(4, "char", 75, "strip_select[4]", "System.Char[]", false, 296)] public char[] strip_select = new System.Char[4]; - [DNAFieldAttribute(76, "char", "cframe[4]", "System.Char[]", 4, false, 316)] + [DNAFieldAttribute(4, "char", 76, "cframe[4]", "System.Char[]", false, 300)] public char[] cframe = new System.Char[4]; - [DNAFieldAttribute(77, "char", "before_current_frame[4]", "System.Char[]", 4, false, 320)] + [DNAFieldAttribute(4, "char", 77, "before_current_frame[4]", "System.Char[]", false, 304)] public char[] before_current_frame = new System.Char[4]; - [DNAFieldAttribute(78, "char", "after_current_frame[4]", "System.Char[]", 4, false, 324)] + [DNAFieldAttribute(4, "char", 78, "after_current_frame[4]", "System.Char[]", false, 308)] public char[] after_current_frame = new System.Char[4]; - [DNAFieldAttribute(79, "char", "time_keyframe[4]", "System.Char[]", 4, false, 328)] + [DNAFieldAttribute(4, "char", 79, "time_keyframe[4]", "System.Char[]", false, 312)] public char[] time_keyframe = new System.Char[4]; - [DNAFieldAttribute(80, "char", "time_gp_keyframe[4]", "System.Char[]", 4, false, 332)] + [DNAFieldAttribute(4, "char", 80, "time_gp_keyframe[4]", "System.Char[]", false, 316)] public char[] time_gp_keyframe = new System.Char[4]; - [DNAFieldAttribute(81, "char", "freestyle_edge_mark[4]", "System.Char[]", 4, false, 336)] + [DNAFieldAttribute(4, "char", 81, "freestyle_edge_mark[4]", "System.Char[]", false, 320)] public char[] freestyle_edge_mark = new System.Char[4]; - [DNAFieldAttribute(82, "char", "freestyle_face_mark[4]", "System.Char[]", 4, false, 340)] + [DNAFieldAttribute(4, "char", 82, "freestyle_face_mark[4]", "System.Char[]", false, 324)] public char[] freestyle_face_mark = new System.Char[4]; - [DNAFieldAttribute(83, "char", "scrubbing_background[4]", "System.Char[]", 4, false, 344)] + [DNAFieldAttribute(4, "char", 83, "scrubbing_background[4]", "System.Char[]", false, 328)] public char[] scrubbing_background = new System.Char[4]; - [DNAFieldAttribute(84, "char", "time_marker_line[4]", "System.Char[]", 4, false, 348)] + [DNAFieldAttribute(4, "char", 84, "time_marker_line[4]", "System.Char[]", false, 332)] public char[] time_marker_line = new System.Char[4]; - [DNAFieldAttribute(85, "char", "time_marker_line_selected[4]", "System.Char[]", 4, false, 352)] + [DNAFieldAttribute(4, "char", 85, "time_marker_line_selected[4]", "System.Char[]", false, 336)] public char[] time_marker_line_selected = new System.Char[4]; - [DNAFieldAttribute(86, "char", "nurb_uline[4]", "System.Char[]", 4, false, 356)] + [DNAFieldAttribute(4, "char", 86, "nurb_uline[4]", "System.Char[]", false, 340)] public char[] nurb_uline = new System.Char[4]; - [DNAFieldAttribute(87, "char", "nurb_vline[4]", "System.Char[]", 4, false, 360)] + [DNAFieldAttribute(4, "char", 87, "nurb_vline[4]", "System.Char[]", false, 344)] public char[] nurb_vline = new System.Char[4]; - [DNAFieldAttribute(88, "char", "act_spline[4]", "System.Char[]", 4, false, 364)] + [DNAFieldAttribute(4, "char", 88, "act_spline[4]", "System.Char[]", false, 348)] public char[] act_spline = new System.Char[4]; - [DNAFieldAttribute(89, "char", "nurb_sel_uline[4]", "System.Char[]", 4, false, 368)] + [DNAFieldAttribute(4, "char", 89, "nurb_sel_uline[4]", "System.Char[]", false, 352)] public char[] nurb_sel_uline = new System.Char[4]; - [DNAFieldAttribute(90, "char", "nurb_sel_vline[4]", "System.Char[]", 4, false, 372)] + [DNAFieldAttribute(4, "char", 90, "nurb_sel_vline[4]", "System.Char[]", false, 356)] public char[] nurb_sel_vline = new System.Char[4]; - [DNAFieldAttribute(91, "char", "lastsel_point[4]", "System.Char[]", 4, false, 376)] + [DNAFieldAttribute(4, "char", 91, "lastsel_point[4]", "System.Char[]", false, 360)] public char[] lastsel_point = new System.Char[4]; - [DNAFieldAttribute(92, "char", "handle_free[4]", "System.Char[]", 4, false, 380)] + [DNAFieldAttribute(4, "char", 92, "handle_free[4]", "System.Char[]", false, 364)] public char[] handle_free = new System.Char[4]; - [DNAFieldAttribute(93, "char", "handle_auto[4]", "System.Char[]", 4, false, 384)] + [DNAFieldAttribute(4, "char", 93, "handle_auto[4]", "System.Char[]", false, 368)] public char[] handle_auto = new System.Char[4]; - [DNAFieldAttribute(94, "char", "handle_vect[4]", "System.Char[]", 4, false, 388)] + [DNAFieldAttribute(4, "char", 94, "handle_vect[4]", "System.Char[]", false, 372)] public char[] handle_vect = new System.Char[4]; - [DNAFieldAttribute(95, "char", "handle_align[4]", "System.Char[]", 4, false, 392)] + [DNAFieldAttribute(4, "char", 95, "handle_align[4]", "System.Char[]", false, 376)] public char[] handle_align = new System.Char[4]; - [DNAFieldAttribute(96, "char", "handle_auto_clamped[4]", "System.Char[]", 4, false, 396)] + [DNAFieldAttribute(4, "char", 96, "handle_auto_clamped[4]", "System.Char[]", false, 380)] public char[] handle_auto_clamped = new System.Char[4]; - [DNAFieldAttribute(97, "char", "handle_sel_free[4]", "System.Char[]", 4, false, 400)] + [DNAFieldAttribute(4, "char", 97, "handle_sel_free[4]", "System.Char[]", false, 384)] public char[] handle_sel_free = new System.Char[4]; - [DNAFieldAttribute(98, "char", "handle_sel_auto[4]", "System.Char[]", 4, false, 404)] + [DNAFieldAttribute(4, "char", 98, "handle_sel_auto[4]", "System.Char[]", false, 388)] public char[] handle_sel_auto = new System.Char[4]; - [DNAFieldAttribute(99, "char", "handle_sel_vect[4]", "System.Char[]", 4, false, 408)] + [DNAFieldAttribute(4, "char", 99, "handle_sel_vect[4]", "System.Char[]", false, 392)] public char[] handle_sel_vect = new System.Char[4]; - [DNAFieldAttribute(100, "char", "handle_sel_align[4]", "System.Char[]", 4, false, 412)] + [DNAFieldAttribute(4, "char", 100, "handle_sel_align[4]", "System.Char[]", false, 396)] public char[] handle_sel_align = new System.Char[4]; - [DNAFieldAttribute(101, "char", "handle_sel_auto_clamped[4]", "System.Char[]", 4, false, 416)] + [DNAFieldAttribute(4, "char", 101, "handle_sel_auto_clamped[4]", "System.Char[]", false, 400)] public char[] handle_sel_auto_clamped = new System.Char[4]; - [DNAFieldAttribute(102, "char", "ds_channel[4]", "System.Char[]", 4, false, 420)] + [DNAFieldAttribute(4, "char", 102, "ds_channel[4]", "System.Char[]", false, 404)] public char[] ds_channel = new System.Char[4]; - [DNAFieldAttribute(103, "char", "ds_subchannel[4]", "System.Char[]", 4, false, 424)] + [DNAFieldAttribute(4, "char", 103, "ds_subchannel[4]", "System.Char[]", false, 408)] public char[] ds_subchannel = new System.Char[4]; - [DNAFieldAttribute(104, "char", "ds_ipoline[4]", "System.Char[]", 4, false, 428)] + [DNAFieldAttribute(4, "char", 104, "ds_ipoline[4]", "System.Char[]", false, 412)] public char[] ds_ipoline = new System.Char[4]; - [DNAFieldAttribute(105, "char", "keytype_keyframe[4]", "System.Char[]", 4, false, 432)] + [DNAFieldAttribute(4, "char", 105, "keytype_keyframe[4]", "System.Char[]", false, 416)] public char[] keytype_keyframe = new System.Char[4]; - [DNAFieldAttribute(106, "char", "keytype_extreme[4]", "System.Char[]", 4, false, 436)] + [DNAFieldAttribute(4, "char", 106, "keytype_extreme[4]", "System.Char[]", false, 420)] public char[] keytype_extreme = new System.Char[4]; - [DNAFieldAttribute(107, "char", "keytype_breakdown[4]", "System.Char[]", 4, false, 440)] + [DNAFieldAttribute(4, "char", 107, "keytype_breakdown[4]", "System.Char[]", false, 424)] public char[] keytype_breakdown = new System.Char[4]; - [DNAFieldAttribute(108, "char", "keytype_jitter[4]", "System.Char[]", 4, false, 444)] + [DNAFieldAttribute(4, "char", 108, "keytype_jitter[4]", "System.Char[]", false, 428)] public char[] keytype_jitter = new System.Char[4]; - [DNAFieldAttribute(109, "char", "keytype_movehold[4]", "System.Char[]", 4, false, 448)] + [DNAFieldAttribute(4, "char", 109, "keytype_movehold[4]", "System.Char[]", false, 432)] public char[] keytype_movehold = new System.Char[4]; - [DNAFieldAttribute(110, "char", "keytype_generated[4]", "System.Char[]", 4, false, 452)] + [DNAFieldAttribute(4, "char", 110, "keytype_generated[4]", "System.Char[]", false, 436)] public char[] keytype_generated = new System.Char[4]; - [DNAFieldAttribute(111, "char", "keytype_keyframe_select[4]", "System.Char[]", 4, false, 456)] + [DNAFieldAttribute(4, "char", 111, "keytype_keyframe_select[4]", "System.Char[]", false, 440)] public char[] keytype_keyframe_select = new System.Char[4]; - [DNAFieldAttribute(112, "char", "keytype_extreme_select[4]", "System.Char[]", 4, false, 460)] + [DNAFieldAttribute(4, "char", 112, "keytype_extreme_select[4]", "System.Char[]", false, 444)] public char[] keytype_extreme_select = new System.Char[4]; - [DNAFieldAttribute(113, "char", "keytype_breakdown_select[4]", "System.Char[]", 4, false, 464)] + [DNAFieldAttribute(4, "char", 113, "keytype_breakdown_select[4]", "System.Char[]", false, 448)] public char[] keytype_breakdown_select = new System.Char[4]; - [DNAFieldAttribute(114, "char", "keytype_jitter_select[4]", "System.Char[]", 4, false, 468)] + [DNAFieldAttribute(4, "char", 114, "keytype_jitter_select[4]", "System.Char[]", false, 452)] public char[] keytype_jitter_select = new System.Char[4]; - [DNAFieldAttribute(115, "char", "keytype_movehold_select[4]", "System.Char[]", 4, false, 472)] + [DNAFieldAttribute(4, "char", 115, "keytype_movehold_select[4]", "System.Char[]", false, 456)] public char[] keytype_movehold_select = new System.Char[4]; - [DNAFieldAttribute(116, "char", "keytype_generated_select[4]", "System.Char[]", 4, false, 476)] + [DNAFieldAttribute(4, "char", 116, "keytype_generated_select[4]", "System.Char[]", false, 460)] public char[] keytype_generated_select = new System.Char[4]; - [DNAFieldAttribute(117, "char", "keyborder[4]", "System.Char[]", 4, false, 480)] + [DNAFieldAttribute(4, "char", 117, "keyborder[4]", "System.Char[]", false, 464)] public char[] keyborder = new System.Char[4]; - [DNAFieldAttribute(118, "char", "keyborder_select[4]", "System.Char[]", 4, false, 484)] + [DNAFieldAttribute(4, "char", 118, "keyborder_select[4]", "System.Char[]", false, 468)] public char[] keyborder_select = new System.Char[4]; - [DNAFieldAttribute(119, "char", "_pad4[3]", "System.Char[]", 3, false, 488)] + [DNAFieldAttribute(3, "char", 119, "_pad4[3]", "System.Char[]", false, 472)] public char[] _pad4 = new System.Char[3]; - [DNAFieldAttribute(120, "char", "console_output[4]", "System.Char[]", 4, false, 491)] + [DNAFieldAttribute(4, "char", 120, "console_output[4]", "System.Char[]", false, 475)] public char[] console_output = new System.Char[4]; - [DNAFieldAttribute(121, "char", "console_input[4]", "System.Char[]", 4, false, 495)] + [DNAFieldAttribute(4, "char", 121, "console_input[4]", "System.Char[]", false, 479)] public char[] console_input = new System.Char[4]; - [DNAFieldAttribute(122, "char", "console_info[4]", "System.Char[]", 4, false, 499)] + [DNAFieldAttribute(4, "char", 122, "console_info[4]", "System.Char[]", false, 483)] public char[] console_info = new System.Char[4]; - [DNAFieldAttribute(123, "char", "console_error[4]", "System.Char[]", 4, false, 503)] + [DNAFieldAttribute(4, "char", 123, "console_error[4]", "System.Char[]", false, 487)] public char[] console_error = new System.Char[4]; - [DNAFieldAttribute(124, "char", "console_cursor[4]", "System.Char[]", 4, false, 507)] + [DNAFieldAttribute(4, "char", 124, "console_cursor[4]", "System.Char[]", false, 491)] public char[] console_cursor = new System.Char[4]; - [DNAFieldAttribute(125, "char", "console_select[4]", "System.Char[]", 4, false, 511)] + [DNAFieldAttribute(4, "char", 125, "console_select[4]", "System.Char[]", false, 495)] public char[] console_select = new System.Char[4]; - [DNAFieldAttribute(126, "char", "vertex_size", "char", 1, false, 515)] + [DNAFieldAttribute(1, "char", 126, "vertex_size", "char", false, 499)] public char vertex_size; - [DNAFieldAttribute(127, "char", "edge_width", "char", 1, false, 516)] + [DNAFieldAttribute(1, "char", 127, "edge_width", "char", false, 500)] public char edge_width; - [DNAFieldAttribute(128, "char", "outline_width", "char", 1, false, 517)] + [DNAFieldAttribute(1, "char", 128, "outline_width", "char", false, 501)] public char outline_width; - [DNAFieldAttribute(129, "char", "obcenter_dia", "char", 1, false, 518)] + [DNAFieldAttribute(1, "char", 129, "obcenter_dia", "char", false, 502)] public char obcenter_dia; - [DNAFieldAttribute(130, "char", "facedot_size", "char", 1, false, 519)] + [DNAFieldAttribute(1, "char", 130, "facedot_size", "char", false, 503)] public char facedot_size; - [DNAFieldAttribute(131, "char", "noodle_curving", "char", 1, false, 520)] + [DNAFieldAttribute(1, "char", 131, "noodle_curving", "char", false, 504)] public char noodle_curving; - [DNAFieldAttribute(132, "char", "grid_levels", "char", 1, false, 521)] + [DNAFieldAttribute(1, "char", 132, "grid_levels", "char", false, 505)] public char grid_levels; - [DNAFieldAttribute(133, "char", "_pad5[2]", "System.Char[]", 2, false, 522)] + [DNAFieldAttribute(2, "char", 133, "_pad5[2]", "System.Char[]", false, 506)] public char[] _pad5 = new System.Char[2]; - [DNAFieldAttribute(134, "float", "dash_alpha", "float", 4, false, 524)] + [DNAFieldAttribute(4, "float", 134, "dash_alpha", "float", false, 508)] public float dash_alpha; - [DNAFieldAttribute(135, "char", "syntaxl[4]", "System.Char[]", 4, false, 528)] + [DNAFieldAttribute(4, "char", 135, "syntaxl[4]", "System.Char[]", false, 512)] public char[] syntaxl = new System.Char[4]; - [DNAFieldAttribute(136, "char", "syntaxs[4]", "System.Char[]", 4, false, 532)] + [DNAFieldAttribute(4, "char", 136, "syntaxs[4]", "System.Char[]", false, 516)] public char[] syntaxs = new System.Char[4]; - [DNAFieldAttribute(137, "char", "syntaxb[4]", "System.Char[]", 4, false, 536)] + [DNAFieldAttribute(4, "char", 137, "syntaxb[4]", "System.Char[]", false, 520)] public char[] syntaxb = new System.Char[4]; - [DNAFieldAttribute(138, "char", "syntaxn[4]", "System.Char[]", 4, false, 540)] + [DNAFieldAttribute(4, "char", 138, "syntaxn[4]", "System.Char[]", false, 524)] public char[] syntaxn = new System.Char[4]; - [DNAFieldAttribute(139, "char", "syntaxv[4]", "System.Char[]", 4, false, 544)] + [DNAFieldAttribute(4, "char", 139, "syntaxv[4]", "System.Char[]", false, 528)] public char[] syntaxv = new System.Char[4]; - [DNAFieldAttribute(140, "char", "syntaxc[4]", "System.Char[]", 4, false, 548)] + [DNAFieldAttribute(4, "char", 140, "syntaxc[4]", "System.Char[]", false, 532)] public char[] syntaxc = new System.Char[4]; - [DNAFieldAttribute(141, "char", "syntaxd[4]", "System.Char[]", 4, false, 552)] + [DNAFieldAttribute(4, "char", 141, "syntaxd[4]", "System.Char[]", false, 536)] public char[] syntaxd = new System.Char[4]; - [DNAFieldAttribute(142, "char", "syntaxr[4]", "System.Char[]", 4, false, 556)] + [DNAFieldAttribute(4, "char", 142, "syntaxr[4]", "System.Char[]", false, 540)] public char[] syntaxr = new System.Char[4]; - [DNAFieldAttribute(143, "char", "line_numbers[4]", "System.Char[]", 4, false, 560)] + [DNAFieldAttribute(4, "char", 143, "line_numbers[4]", "System.Char[]", false, 544)] public char[] line_numbers = new System.Char[4]; - [DNAFieldAttribute(144, "char", "nodeclass_output[4]", "System.Char[]", 4, false, 564)] + [DNAFieldAttribute(4, "char", 144, "nodeclass_output[4]", "System.Char[]", false, 548)] public char[] nodeclass_output = new System.Char[4]; - [DNAFieldAttribute(145, "char", "nodeclass_filter[4]", "System.Char[]", 4, false, 568)] + [DNAFieldAttribute(4, "char", 145, "nodeclass_filter[4]", "System.Char[]", false, 552)] public char[] nodeclass_filter = new System.Char[4]; - [DNAFieldAttribute(146, "char", "nodeclass_vector[4]", "System.Char[]", 4, false, 572)] + [DNAFieldAttribute(4, "char", 146, "nodeclass_vector[4]", "System.Char[]", false, 556)] public char[] nodeclass_vector = new System.Char[4]; - [DNAFieldAttribute(147, "char", "nodeclass_texture[4]", "System.Char[]", 4, false, 576)] + [DNAFieldAttribute(4, "char", 147, "nodeclass_texture[4]", "System.Char[]", false, 560)] public char[] nodeclass_texture = new System.Char[4]; - [DNAFieldAttribute(148, "char", "nodeclass_shader[4]", "System.Char[]", 4, false, 580)] + [DNAFieldAttribute(4, "char", 148, "nodeclass_shader[4]", "System.Char[]", false, 564)] public char[] nodeclass_shader = new System.Char[4]; - [DNAFieldAttribute(149, "char", "nodeclass_script[4]", "System.Char[]", 4, false, 584)] + [DNAFieldAttribute(4, "char", 149, "nodeclass_script[4]", "System.Char[]", false, 568)] public char[] nodeclass_script = new System.Char[4]; - [DNAFieldAttribute(150, "char", "nodeclass_pattern[4]", "System.Char[]", 4, false, 588)] + [DNAFieldAttribute(4, "char", 150, "nodeclass_pattern[4]", "System.Char[]", false, 572)] public char[] nodeclass_pattern = new System.Char[4]; - [DNAFieldAttribute(151, "char", "nodeclass_layout[4]", "System.Char[]", 4, false, 592)] + [DNAFieldAttribute(4, "char", 151, "nodeclass_layout[4]", "System.Char[]", false, 576)] public char[] nodeclass_layout = new System.Char[4]; - [DNAFieldAttribute(152, "char", "nodeclass_geometry[4]", "System.Char[]", 4, false, 596)] + [DNAFieldAttribute(4, "char", 152, "nodeclass_geometry[4]", "System.Char[]", false, 580)] public char[] nodeclass_geometry = new System.Char[4]; - [DNAFieldAttribute(153, "char", "nodeclass_attribute[4]", "System.Char[]", 4, false, 600)] + [DNAFieldAttribute(4, "char", 153, "nodeclass_attribute[4]", "System.Char[]", false, 584)] public char[] nodeclass_attribute = new System.Char[4]; - [DNAFieldAttribute(154, "char", "node_zone_simulation[4]", "System.Char[]", 4, false, 604)] + [DNAFieldAttribute(4, "char", 154, "node_zone_simulation[4]", "System.Char[]", false, 588)] public char[] node_zone_simulation = new System.Char[4]; - [DNAFieldAttribute(155, "char", "node_zone_repeat[4]", "System.Char[]", 4, false, 608)] + [DNAFieldAttribute(4, "char", 155, "node_zone_repeat[4]", "System.Char[]", false, 592)] public char[] node_zone_repeat = new System.Char[4]; - [DNAFieldAttribute(156, "char", "node_zone_foreach_geometry_element[4]", "System.Char[]", 4, false, 612)] + [DNAFieldAttribute(4, "char", 156, "node_zone_foreach_geometry_element[4]", "System.Char[]", false, 596)] public char[] node_zone_foreach_geometry_element = new System.Char[4]; - [DNAFieldAttribute(157, "char", "simulated_frames[4]", "System.Char[]", 4, false, 616)] + [DNAFieldAttribute(4, "char", 157, "simulated_frames[4]", "System.Char[]", false, 600)] public char[] simulated_frames = new System.Char[4]; - [DNAFieldAttribute(158, "char", "movie[4]", "System.Char[]", 4, false, 620)] + [DNAFieldAttribute(4, "char", 158, "movie[4]", "System.Char[]", false, 604)] public char[] movie = new System.Char[4]; - [DNAFieldAttribute(159, "char", "movieclip[4]", "System.Char[]", 4, false, 624)] + [DNAFieldAttribute(4, "char", 159, "movieclip[4]", "System.Char[]", false, 608)] public char[] movieclip = new System.Char[4]; - [DNAFieldAttribute(160, "char", "mask[4]", "System.Char[]", 4, false, 628)] + [DNAFieldAttribute(4, "char", 160, "mask[4]", "System.Char[]", false, 612)] public char[] mask = new System.Char[4]; - [DNAFieldAttribute(161, "char", "image[4]", "System.Char[]", 4, false, 632)] + [DNAFieldAttribute(4, "char", 161, "image[4]", "System.Char[]", false, 616)] public char[] image = new System.Char[4]; - [DNAFieldAttribute(162, "char", "scene[4]", "System.Char[]", 4, false, 636)] + [DNAFieldAttribute(4, "char", 162, "scene[4]", "System.Char[]", false, 620)] public char[] scene = new System.Char[4]; - [DNAFieldAttribute(163, "char", "audio[4]", "System.Char[]", 4, false, 640)] + [DNAFieldAttribute(4, "char", 163, "audio[4]", "System.Char[]", false, 624)] public char[] audio = new System.Char[4]; - [DNAFieldAttribute(164, "char", "effect[4]", "System.Char[]", 4, false, 644)] + [DNAFieldAttribute(4, "char", 164, "effect[4]", "System.Char[]", false, 628)] public char[] effect = new System.Char[4]; - [DNAFieldAttribute(165, "char", "transition[4]", "System.Char[]", 4, false, 648)] + [DNAFieldAttribute(4, "char", 165, "transition[4]", "System.Char[]", false, 632)] public char[] transition = new System.Char[4]; - [DNAFieldAttribute(166, "char", "meta[4]", "System.Char[]", 4, false, 652)] + [DNAFieldAttribute(4, "char", 166, "meta[4]", "System.Char[]", false, 636)] public char[] meta = new System.Char[4]; - [DNAFieldAttribute(167, "char", "text_strip[4]", "System.Char[]", 4, false, 656)] + [DNAFieldAttribute(4, "char", 167, "text_strip[4]", "System.Char[]", false, 640)] public char[] text_strip = new System.Char[4]; - [DNAFieldAttribute(168, "char", "color_strip[4]", "System.Char[]", 4, false, 660)] + [DNAFieldAttribute(4, "char", 168, "color_strip[4]", "System.Char[]", false, 644)] public char[] color_strip = new System.Char[4]; - [DNAFieldAttribute(169, "char", "active_strip[4]", "System.Char[]", 4, false, 664)] + [DNAFieldAttribute(4, "char", 169, "active_strip[4]", "System.Char[]", false, 648)] public char[] active_strip = new System.Char[4]; - [DNAFieldAttribute(170, "char", "selected_strip[4]", "System.Char[]", 4, false, 668)] + [DNAFieldAttribute(4, "char", 170, "selected_strip[4]", "System.Char[]", false, 652)] public char[] selected_strip = new System.Char[4]; - [DNAFieldAttribute(171, "float", "keyframe_scale_fac", "float", 4, false, 672)] + [DNAFieldAttribute(4, "float", 171, "keyframe_scale_fac", "float", false, 656)] public float keyframe_scale_fac; - [DNAFieldAttribute(172, "char", "editmesh_active[4]", "System.Char[]", 4, false, 676)] + [DNAFieldAttribute(4, "char", 172, "editmesh_active[4]", "System.Char[]", false, 660)] public char[] editmesh_active = new System.Char[4]; - [DNAFieldAttribute(173, "char", "handle_vertex[4]", "System.Char[]", 4, false, 680)] + [DNAFieldAttribute(4, "char", 173, "handle_vertex[4]", "System.Char[]", false, 664)] public char[] handle_vertex = new System.Char[4]; - [DNAFieldAttribute(174, "char", "handle_vertex_select[4]", "System.Char[]", 4, false, 684)] + [DNAFieldAttribute(4, "char", 174, "handle_vertex_select[4]", "System.Char[]", false, 668)] public char[] handle_vertex_select = new System.Char[4]; - [DNAFieldAttribute(175, "char", "handle_vertex_size", "char", 1, false, 688)] + [DNAFieldAttribute(1, "char", 175, "handle_vertex_size", "char", false, 672)] public char handle_vertex_size; - [DNAFieldAttribute(176, "char", "clipping_border_3d[4]", "System.Char[]", 4, false, 689)] + [DNAFieldAttribute(4, "char", 176, "clipping_border_3d[4]", "System.Char[]", false, 673)] public char[] clipping_border_3d = new System.Char[4]; - [DNAFieldAttribute(177, "char", "marker_outline[4]", "System.Char[]", 4, false, 693)] + [DNAFieldAttribute(4, "char", 177, "marker_outline[4]", "System.Char[]", false, 677)] public char[] marker_outline = new System.Char[4]; - [DNAFieldAttribute(178, "char", "marker[4]", "System.Char[]", 4, false, 697)] + [DNAFieldAttribute(4, "char", 178, "marker[4]", "System.Char[]", false, 681)] public char[] marker = new System.Char[4]; - [DNAFieldAttribute(179, "char", "act_marker[4]", "System.Char[]", 4, false, 701)] + [DNAFieldAttribute(4, "char", 179, "act_marker[4]", "System.Char[]", false, 685)] public char[] act_marker = new System.Char[4]; - [DNAFieldAttribute(180, "char", "sel_marker[4]", "System.Char[]", 4, false, 705)] + [DNAFieldAttribute(4, "char", 180, "sel_marker[4]", "System.Char[]", false, 689)] public char[] sel_marker = new System.Char[4]; - [DNAFieldAttribute(181, "char", "dis_marker[4]", "System.Char[]", 4, false, 709)] + [DNAFieldAttribute(4, "char", 181, "dis_marker[4]", "System.Char[]", false, 693)] public char[] dis_marker = new System.Char[4]; - [DNAFieldAttribute(182, "char", "lock_marker[4]", "System.Char[]", 4, false, 713)] + [DNAFieldAttribute(4, "char", 182, "lock_marker[4]", "System.Char[]", false, 697)] public char[] lock_marker = new System.Char[4]; - [DNAFieldAttribute(183, "char", "bundle_solid[4]", "System.Char[]", 4, false, 717)] + [DNAFieldAttribute(4, "char", 183, "bundle_solid[4]", "System.Char[]", false, 701)] public char[] bundle_solid = new System.Char[4]; - [DNAFieldAttribute(184, "char", "path_before[4]", "System.Char[]", 4, false, 721)] + [DNAFieldAttribute(4, "char", 184, "path_before[4]", "System.Char[]", false, 705)] public char[] path_before = new System.Char[4]; - [DNAFieldAttribute(185, "char", "path_after[4]", "System.Char[]", 4, false, 725)] + [DNAFieldAttribute(4, "char", 185, "path_after[4]", "System.Char[]", false, 709)] public char[] path_after = new System.Char[4]; - [DNAFieldAttribute(186, "char", "path_keyframe_before[4]", "System.Char[]", 4, false, 729)] + [DNAFieldAttribute(4, "char", 186, "path_keyframe_before[4]", "System.Char[]", false, 713)] public char[] path_keyframe_before = new System.Char[4]; - [DNAFieldAttribute(187, "char", "path_keyframe_after[4]", "System.Char[]", 4, false, 733)] + [DNAFieldAttribute(4, "char", 187, "path_keyframe_after[4]", "System.Char[]", false, 717)] public char[] path_keyframe_after = new System.Char[4]; - [DNAFieldAttribute(188, "char", "camera_path[4]", "System.Char[]", 4, false, 737)] + [DNAFieldAttribute(4, "char", 188, "camera_path[4]", "System.Char[]", false, 721)] public char[] camera_path = new System.Char[4]; - [DNAFieldAttribute(189, "char", "camera_passepartout[4]", "System.Char[]", 4, false, 741)] + [DNAFieldAttribute(4, "char", 189, "camera_passepartout[4]", "System.Char[]", false, 725)] public char[] camera_passepartout = new System.Char[4]; - [DNAFieldAttribute(190, "char", "_pad1[2]", "System.Char[]", 2, false, 745)] + [DNAFieldAttribute(2, "char", 190, "_pad1[2]", "System.Char[]", false, 729)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(191, "char", "gp_vertex_size", "char", 1, false, 747)] + [DNAFieldAttribute(1, "char", 191, "gp_vertex_size", "char", false, 731)] public char gp_vertex_size; - [DNAFieldAttribute(192, "char", "gp_vertex[4]", "System.Char[]", 4, false, 748)] + [DNAFieldAttribute(4, "char", 192, "gp_vertex[4]", "System.Char[]", false, 732)] public char[] gp_vertex = new System.Char[4]; - [DNAFieldAttribute(193, "char", "gp_vertex_select[4]", "System.Char[]", 4, false, 752)] + [DNAFieldAttribute(4, "char", 193, "gp_vertex_select[4]", "System.Char[]", false, 736)] public char[] gp_vertex_select = new System.Char[4]; - [DNAFieldAttribute(194, "char", "preview_back[4]", "System.Char[]", 4, false, 756)] + [DNAFieldAttribute(4, "char", 194, "preview_back[4]", "System.Char[]", false, 740)] public char[] preview_back = new System.Char[4]; - [DNAFieldAttribute(195, "char", "preview_stitch_face[4]", "System.Char[]", 4, false, 760)] + [DNAFieldAttribute(4, "char", 195, "preview_stitch_face[4]", "System.Char[]", false, 744)] public char[] preview_stitch_face = new System.Char[4]; - [DNAFieldAttribute(196, "char", "preview_stitch_edge[4]", "System.Char[]", 4, false, 764)] + [DNAFieldAttribute(4, "char", 196, "preview_stitch_edge[4]", "System.Char[]", false, 748)] public char[] preview_stitch_edge = new System.Char[4]; - [DNAFieldAttribute(197, "char", "preview_stitch_vert[4]", "System.Char[]", 4, false, 768)] + [DNAFieldAttribute(4, "char", 197, "preview_stitch_vert[4]", "System.Char[]", false, 752)] public char[] preview_stitch_vert = new System.Char[4]; - [DNAFieldAttribute(198, "char", "preview_stitch_stitchable[4]", "System.Char[]", 4, false, 772)] + [DNAFieldAttribute(4, "char", 198, "preview_stitch_stitchable[4]", "System.Char[]", false, 756)] public char[] preview_stitch_stitchable = new System.Char[4]; - [DNAFieldAttribute(199, "char", "preview_stitch_unstitchable[4]", "System.Char[]", 4, false, 776)] + [DNAFieldAttribute(4, "char", 199, "preview_stitch_unstitchable[4]", "System.Char[]", false, 760)] public char[] preview_stitch_unstitchable = new System.Char[4]; - [DNAFieldAttribute(200, "char", "preview_stitch_active[4]", "System.Char[]", 4, false, 780)] + [DNAFieldAttribute(4, "char", 200, "preview_stitch_active[4]", "System.Char[]", false, 764)] public char[] preview_stitch_active = new System.Char[4]; - [DNAFieldAttribute(201, "char", "uv_shadow[4]", "System.Char[]", 4, false, 784)] + [DNAFieldAttribute(4, "char", 201, "uv_shadow[4]", "System.Char[]", false, 768)] public char[] uv_shadow = new System.Char[4]; - [DNAFieldAttribute(202, "char", "match[4]", "System.Char[]", 4, false, 788)] + [DNAFieldAttribute(4, "char", 202, "match[4]", "System.Char[]", false, 772)] public char[] match = new System.Char[4]; - [DNAFieldAttribute(203, "char", "selected_highlight[4]", "System.Char[]", 4, false, 792)] + [DNAFieldAttribute(4, "char", 203, "selected_highlight[4]", "System.Char[]", false, 776)] public char[] selected_highlight = new System.Char[4]; - [DNAFieldAttribute(204, "char", "selected_object[4]", "System.Char[]", 4, false, 796)] + [DNAFieldAttribute(4, "char", 204, "selected_object[4]", "System.Char[]", false, 780)] public char[] selected_object = new System.Char[4]; - [DNAFieldAttribute(205, "char", "active_object[4]", "System.Char[]", 4, false, 800)] + [DNAFieldAttribute(4, "char", 205, "active_object[4]", "System.Char[]", false, 784)] public char[] active_object = new System.Char[4]; - [DNAFieldAttribute(206, "char", "edited_object[4]", "System.Char[]", 4, false, 804)] + [DNAFieldAttribute(4, "char", 206, "edited_object[4]", "System.Char[]", false, 788)] public char[] edited_object = new System.Char[4]; - [DNAFieldAttribute(207, "char", "row_alternate[4]", "System.Char[]", 4, false, 808)] + [DNAFieldAttribute(4, "char", 207, "row_alternate[4]", "System.Char[]", false, 792)] public char[] row_alternate = new System.Char[4]; - [DNAFieldAttribute(208, "char", "skin_root[4]", "System.Char[]", 4, false, 812)] + [DNAFieldAttribute(4, "char", 208, "skin_root[4]", "System.Char[]", false, 796)] public char[] skin_root = new System.Char[4]; - [DNAFieldAttribute(209, "char", "anim_active[4]", "System.Char[]", 4, false, 816)] + [DNAFieldAttribute(4, "char", 209, "anim_active[4]", "System.Char[]", false, 800)] public char[] anim_active = new System.Char[4]; - [DNAFieldAttribute(210, "char", "anim_non_active[4]", "System.Char[]", 4, false, 820)] + [DNAFieldAttribute(4, "char", 210, "anim_non_active[4]", "System.Char[]", false, 804)] public char[] anim_non_active = new System.Char[4]; - [DNAFieldAttribute(211, "char", "anim_preview_range[4]", "System.Char[]", 4, false, 824)] + [DNAFieldAttribute(4, "char", 211, "anim_preview_range[4]", "System.Char[]", false, 808)] public char[] anim_preview_range = new System.Char[4]; - [DNAFieldAttribute(212, "char", "nla_tweaking[4]", "System.Char[]", 4, false, 828)] + [DNAFieldAttribute(4, "char", 212, "nla_tweaking[4]", "System.Char[]", false, 812)] public char[] nla_tweaking = new System.Char[4]; - [DNAFieldAttribute(213, "char", "nla_tweakdupli[4]", "System.Char[]", 4, false, 832)] + [DNAFieldAttribute(4, "char", 213, "nla_tweakdupli[4]", "System.Char[]", false, 816)] public char[] nla_tweakdupli = new System.Char[4]; - [DNAFieldAttribute(214, "char", "nla_track[4]", "System.Char[]", 4, false, 836)] + [DNAFieldAttribute(4, "char", 214, "nla_track[4]", "System.Char[]", false, 820)] public char[] nla_track = new System.Char[4]; - [DNAFieldAttribute(215, "char", "nla_transition[4]", "System.Char[]", 4, false, 840)] + [DNAFieldAttribute(4, "char", 215, "nla_transition[4]", "System.Char[]", false, 824)] public char[] nla_transition = new System.Char[4]; - [DNAFieldAttribute(216, "char", "nla_transition_sel[4]", "System.Char[]", 4, false, 844)] + [DNAFieldAttribute(4, "char", 216, "nla_transition_sel[4]", "System.Char[]", false, 828)] public char[] nla_transition_sel = new System.Char[4]; - [DNAFieldAttribute(217, "char", "nla_meta[4]", "System.Char[]", 4, false, 848)] + [DNAFieldAttribute(4, "char", 217, "nla_meta[4]", "System.Char[]", false, 832)] public char[] nla_meta = new System.Char[4]; - [DNAFieldAttribute(218, "char", "nla_meta_sel[4]", "System.Char[]", 4, false, 852)] + [DNAFieldAttribute(4, "char", 218, "nla_meta_sel[4]", "System.Char[]", false, 836)] public char[] nla_meta_sel = new System.Char[4]; - [DNAFieldAttribute(219, "char", "nla_sound[4]", "System.Char[]", 4, false, 856)] + [DNAFieldAttribute(4, "char", 219, "nla_sound[4]", "System.Char[]", false, 840)] public char[] nla_sound = new System.Char[4]; - [DNAFieldAttribute(220, "char", "nla_sound_sel[4]", "System.Char[]", 4, false, 860)] + [DNAFieldAttribute(4, "char", 220, "nla_sound_sel[4]", "System.Char[]", false, 844)] public char[] nla_sound_sel = new System.Char[4]; - [DNAFieldAttribute(221, "char", "info_selected[4]", "System.Char[]", 4, false, 864)] + [DNAFieldAttribute(4, "char", 221, "info_selected[4]", "System.Char[]", false, 848)] public char[] info_selected = new System.Char[4]; - [DNAFieldAttribute(222, "char", "info_selected_text[4]", "System.Char[]", 4, false, 868)] + [DNAFieldAttribute(4, "char", 222, "info_selected_text[4]", "System.Char[]", false, 852)] public char[] info_selected_text = new System.Char[4]; - [DNAFieldAttribute(223, "char", "info_error[4]", "System.Char[]", 4, false, 872)] + [DNAFieldAttribute(4, "char", 223, "info_error[4]", "System.Char[]", false, 856)] public char[] info_error = new System.Char[4]; - [DNAFieldAttribute(224, "char", "info_error_text[4]", "System.Char[]", 4, false, 876)] + [DNAFieldAttribute(4, "char", 224, "info_error_text[4]", "System.Char[]", false, 860)] public char[] info_error_text = new System.Char[4]; - [DNAFieldAttribute(225, "char", "info_warning[4]", "System.Char[]", 4, false, 880)] + [DNAFieldAttribute(4, "char", 225, "info_warning[4]", "System.Char[]", false, 864)] public char[] info_warning = new System.Char[4]; - [DNAFieldAttribute(226, "char", "info_warning_text[4]", "System.Char[]", 4, false, 884)] + [DNAFieldAttribute(4, "char", 226, "info_warning_text[4]", "System.Char[]", false, 868)] public char[] info_warning_text = new System.Char[4]; - [DNAFieldAttribute(227, "char", "info_info[4]", "System.Char[]", 4, false, 888)] + [DNAFieldAttribute(4, "char", 227, "info_info[4]", "System.Char[]", false, 872)] public char[] info_info = new System.Char[4]; - [DNAFieldAttribute(228, "char", "info_info_text[4]", "System.Char[]", 4, false, 892)] + [DNAFieldAttribute(4, "char", 228, "info_info_text[4]", "System.Char[]", false, 876)] public char[] info_info_text = new System.Char[4]; - [DNAFieldAttribute(229, "char", "info_debug[4]", "System.Char[]", 4, false, 896)] + [DNAFieldAttribute(4, "char", 229, "info_debug[4]", "System.Char[]", false, 880)] public char[] info_debug = new System.Char[4]; - [DNAFieldAttribute(230, "char", "info_debug_text[4]", "System.Char[]", 4, false, 900)] + [DNAFieldAttribute(4, "char", 230, "info_debug_text[4]", "System.Char[]", false, 884)] public char[] info_debug_text = new System.Char[4]; - [DNAFieldAttribute(231, "char", "info_property[4]", "System.Char[]", 4, false, 904)] + [DNAFieldAttribute(4, "char", 231, "info_property[4]", "System.Char[]", false, 888)] public char[] info_property = new System.Char[4]; - [DNAFieldAttribute(232, "char", "info_property_text[4]", "System.Char[]", 4, false, 908)] + [DNAFieldAttribute(4, "char", 232, "info_property_text[4]", "System.Char[]", false, 892)] public char[] info_property_text = new System.Char[4]; - [DNAFieldAttribute(233, "char", "info_operator[4]", "System.Char[]", 4, false, 912)] + [DNAFieldAttribute(4, "char", 233, "info_operator[4]", "System.Char[]", false, 896)] public char[] info_operator = new System.Char[4]; - [DNAFieldAttribute(234, "char", "info_operator_text[4]", "System.Char[]", 4, false, 916)] + [DNAFieldAttribute(4, "char", 234, "info_operator_text[4]", "System.Char[]", false, 900)] public char[] info_operator_text = new System.Char[4]; - [DNAFieldAttribute(235, "char", "paint_curve_pivot[4]", "System.Char[]", 4, false, 920)] + [DNAFieldAttribute(4, "char", 235, "paint_curve_pivot[4]", "System.Char[]", false, 904)] public char[] paint_curve_pivot = new System.Char[4]; - [DNAFieldAttribute(236, "char", "paint_curve_handle[4]", "System.Char[]", 4, false, 924)] + [DNAFieldAttribute(4, "char", 236, "paint_curve_handle[4]", "System.Char[]", false, 908)] public char[] paint_curve_handle = new System.Char[4]; - [DNAFieldAttribute(237, "char", "metadatabg[4]", "System.Char[]", 4, false, 928)] + [DNAFieldAttribute(4, "char", 237, "metadatabg[4]", "System.Char[]", false, 912)] public char[] metadatabg = new System.Char[4]; - [DNAFieldAttribute(238, "char", "metadatatext[4]", "System.Char[]", 4, false, 932)] + [DNAFieldAttribute(4, "char", 238, "metadatatext[4]", "System.Char[]", false, 916)] public char[] metadatatext = new System.Char[4]; public ThemeSpace() { this.back = default; @@ -513,10 +505,6 @@ namespace BlendFile.DNA { 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; @@ -754,10 +742,6 @@ namespace BlendFile.DNA { char[] button_title, char[] button_text, char[] button_text_hi, - char[] list, - char[] list_title, - char[] list_text, - char[] list_text_hi, char[] navigation_bar, char[] execution_buts, uiPanelColors panelcolors, @@ -993,10 +977,6 @@ namespace BlendFile.DNA { this.button_title = button_title; this.button_text = button_text; this.button_text_hi = button_text_hi; - this.list = list; - this.list_title = list_title; - this.list_text = list_text; - this.list_text_hi = list_text_hi; this.navigation_bar = navigation_bar; this.execution_buts = execution_buts; this.panelcolors = panelcolors; diff --git a/BlendFile/DNA/ThemeStripColor.cs b/BlendFile/DNA/ThemeStripColor.cs index f3ccf10..9405142 100644 --- a/BlendFile/DNA/ThemeStripColor.cs +++ b/BlendFile/DNA/ThemeStripColor.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(996, "ThemeStripColor", 4)] - public struct ThemeStripColor { - [DNAFieldAttribute(0, "char", "color[4]", "System.Char[]", 4, false, 0)] + public class ThemeStripColor { + [DNAFieldAttribute(4, "char", 0, "color[4]", "System.Char[]", false, 0)] public char[] color = new System.Char[4]; public ThemeStripColor() { this.color = default; diff --git a/BlendFile/DNA/ThemeUI.cs b/BlendFile/DNA/ThemeUI.cs index 74b89ab..c57f4c9 100644 --- a/BlendFile/DNA/ThemeUI.cs +++ b/BlendFile/DNA/ThemeUI.cs @@ -13,117 +13,115 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(992, "ThemeUI", 976)] - public struct ThemeUI { - [DNAFieldAttribute(0, "uiWidgetColors", "wcol_regular", "uiWidgetColors", 40, false, 0)] + [DNAClassAttribute(992, "ThemeUI", 936)] + public class ThemeUI { + [DNAFieldAttribute(40, "uiWidgetColors", 0, "wcol_regular", "uiWidgetColors", false, 0)] public uiWidgetColors wcol_regular; - [DNAFieldAttribute(1, "uiWidgetColors", "wcol_tool", "uiWidgetColors", 40, false, 40)] + [DNAFieldAttribute(40, "uiWidgetColors", 1, "wcol_tool", "uiWidgetColors", false, 40)] public uiWidgetColors wcol_tool; - [DNAFieldAttribute(2, "uiWidgetColors", "wcol_toolbar_item", "uiWidgetColors", 40, false, 80)] + [DNAFieldAttribute(40, "uiWidgetColors", 2, "wcol_toolbar_item", "uiWidgetColors", false, 80)] public uiWidgetColors wcol_toolbar_item; - [DNAFieldAttribute(3, "uiWidgetColors", "wcol_text", "uiWidgetColors", 40, false, 120)] + [DNAFieldAttribute(40, "uiWidgetColors", 3, "wcol_text", "uiWidgetColors", false, 120)] public uiWidgetColors wcol_text; - [DNAFieldAttribute(4, "uiWidgetColors", "wcol_radio", "uiWidgetColors", 40, false, 160)] + [DNAFieldAttribute(40, "uiWidgetColors", 4, "wcol_radio", "uiWidgetColors", false, 160)] public uiWidgetColors wcol_radio; - [DNAFieldAttribute(5, "uiWidgetColors", "wcol_option", "uiWidgetColors", 40, false, 200)] + [DNAFieldAttribute(40, "uiWidgetColors", 5, "wcol_option", "uiWidgetColors", false, 200)] public uiWidgetColors wcol_option; - [DNAFieldAttribute(6, "uiWidgetColors", "wcol_toggle", "uiWidgetColors", 40, false, 240)] + [DNAFieldAttribute(40, "uiWidgetColors", 6, "wcol_toggle", "uiWidgetColors", false, 240)] public uiWidgetColors wcol_toggle; - [DNAFieldAttribute(7, "uiWidgetColors", "wcol_num", "uiWidgetColors", 40, false, 280)] + [DNAFieldAttribute(40, "uiWidgetColors", 7, "wcol_num", "uiWidgetColors", false, 280)] public uiWidgetColors wcol_num; - [DNAFieldAttribute(8, "uiWidgetColors", "wcol_numslider", "uiWidgetColors", 40, false, 320)] + [DNAFieldAttribute(40, "uiWidgetColors", 8, "wcol_numslider", "uiWidgetColors", false, 320)] public uiWidgetColors wcol_numslider; - [DNAFieldAttribute(9, "uiWidgetColors", "wcol_tab", "uiWidgetColors", 40, false, 360)] + [DNAFieldAttribute(40, "uiWidgetColors", 9, "wcol_tab", "uiWidgetColors", false, 360)] public uiWidgetColors wcol_tab; - [DNAFieldAttribute(10, "uiWidgetColors", "wcol_menu", "uiWidgetColors", 40, false, 400)] + [DNAFieldAttribute(40, "uiWidgetColors", 10, "wcol_menu", "uiWidgetColors", false, 400)] public uiWidgetColors wcol_menu; - [DNAFieldAttribute(11, "uiWidgetColors", "wcol_pulldown", "uiWidgetColors", 40, false, 440)] + [DNAFieldAttribute(40, "uiWidgetColors", 11, "wcol_pulldown", "uiWidgetColors", false, 440)] public uiWidgetColors wcol_pulldown; - [DNAFieldAttribute(12, "uiWidgetColors", "wcol_menu_back", "uiWidgetColors", 40, false, 480)] + [DNAFieldAttribute(40, "uiWidgetColors", 12, "wcol_menu_back", "uiWidgetColors", false, 480)] public uiWidgetColors wcol_menu_back; - [DNAFieldAttribute(13, "uiWidgetColors", "wcol_menu_item", "uiWidgetColors", 40, false, 520)] + [DNAFieldAttribute(40, "uiWidgetColors", 13, "wcol_menu_item", "uiWidgetColors", false, 520)] public uiWidgetColors wcol_menu_item; - [DNAFieldAttribute(14, "uiWidgetColors", "wcol_tooltip", "uiWidgetColors", 40, false, 560)] + [DNAFieldAttribute(40, "uiWidgetColors", 14, "wcol_tooltip", "uiWidgetColors", false, 560)] public uiWidgetColors wcol_tooltip; - [DNAFieldAttribute(15, "uiWidgetColors", "wcol_box", "uiWidgetColors", 40, false, 600)] + [DNAFieldAttribute(40, "uiWidgetColors", 15, "wcol_box", "uiWidgetColors", false, 600)] public uiWidgetColors wcol_box; - [DNAFieldAttribute(16, "uiWidgetColors", "wcol_scroll", "uiWidgetColors", 40, false, 640)] + [DNAFieldAttribute(40, "uiWidgetColors", 16, "wcol_scroll", "uiWidgetColors", false, 640)] public uiWidgetColors wcol_scroll; - [DNAFieldAttribute(17, "uiWidgetColors", "wcol_progress", "uiWidgetColors", 40, false, 680)] + [DNAFieldAttribute(40, "uiWidgetColors", 17, "wcol_progress", "uiWidgetColors", false, 680)] public uiWidgetColors wcol_progress; - [DNAFieldAttribute(18, "uiWidgetColors", "wcol_list_item", "uiWidgetColors", 40, false, 720)] - public uiWidgetColors wcol_list_item; - [DNAFieldAttribute(19, "uiWidgetColors", "wcol_pie_menu", "uiWidgetColors", 40, false, 760)] + [DNAFieldAttribute(40, "uiWidgetColors", 19, "wcol_pie_menu", "uiWidgetColors", false, 720)] public uiWidgetColors wcol_pie_menu; - [DNAFieldAttribute(20, "uiWidgetStateColors", "wcol_state", "uiWidgetStateColors", 48, false, 800)] + [DNAFieldAttribute(48, "uiWidgetStateColors", 20, "wcol_state", "uiWidgetStateColors", false, 760)] public uiWidgetStateColors wcol_state; - [DNAFieldAttribute(21, "char", "widget_emboss[4]", "System.Char[]", 4, false, 848)] + [DNAFieldAttribute(4, "char", 21, "widget_emboss[4]", "System.Char[]", false, 808)] public char[] widget_emboss = new System.Char[4]; - [DNAFieldAttribute(22, "float", "menu_shadow_fac", "float", 4, false, 852)] + [DNAFieldAttribute(4, "float", 22, "menu_shadow_fac", "float", false, 812)] public float menu_shadow_fac; - [DNAFieldAttribute(23, "short", "menu_shadow_width", "short", 2, false, 856)] + [DNAFieldAttribute(2, "short", 23, "menu_shadow_width", "short", false, 816)] public short menu_shadow_width; - [DNAFieldAttribute(24, "char", "editor_border[4]", "System.Char[]", 4, false, 858)] + [DNAFieldAttribute(4, "char", 24, "editor_border[4]", "System.Char[]", false, 818)] public char[] editor_border = new System.Char[4]; - [DNAFieldAttribute(25, "char", "editor_outline[4]", "System.Char[]", 4, false, 862)] + [DNAFieldAttribute(4, "char", 25, "editor_outline[4]", "System.Char[]", false, 822)] public char[] editor_outline = new System.Char[4]; - [DNAFieldAttribute(26, "char", "editor_outline_active[4]", "System.Char[]", 4, false, 866)] + [DNAFieldAttribute(4, "char", 26, "editor_outline_active[4]", "System.Char[]", false, 826)] public char[] editor_outline_active = new System.Char[4]; - [DNAFieldAttribute(27, "char", "transparent_checker_primary[4]", "System.Char[]", 4, false, 870)] + [DNAFieldAttribute(4, "char", 27, "transparent_checker_primary[4]", "System.Char[]", false, 830)] public char[] transparent_checker_primary = new System.Char[4]; - [DNAFieldAttribute(28, "char", "transparent_checker_secondary[4]", "System.Char[]", 4, false, 874)] + [DNAFieldAttribute(4, "char", 28, "transparent_checker_secondary[4]", "System.Char[]", false, 834)] public char[] transparent_checker_secondary = new System.Char[4]; - [DNAFieldAttribute(29, "char", "transparent_checker_size", "char", 1, false, 878)] + [DNAFieldAttribute(1, "char", 29, "transparent_checker_size", "char", false, 838)] public char transparent_checker_size; - [DNAFieldAttribute(30, "char", "_pad1[1]", "System.Char[]", 1, false, 879)] + [DNAFieldAttribute(1, "char", 30, "_pad1[1]", "System.Char[]", false, 839)] public char[] _pad1 = new System.Char[1]; - [DNAFieldAttribute(31, "float", "icon_alpha", "float", 4, false, 880)] + [DNAFieldAttribute(4, "float", 31, "icon_alpha", "float", false, 840)] public float icon_alpha; - [DNAFieldAttribute(32, "float", "icon_saturation", "float", 4, false, 884)] + [DNAFieldAttribute(4, "float", 32, "icon_saturation", "float", false, 844)] public float icon_saturation; - [DNAFieldAttribute(33, "char", "widget_text_cursor[4]", "System.Char[]", 4, false, 888)] + [DNAFieldAttribute(4, "char", 33, "widget_text_cursor[4]", "System.Char[]", false, 848)] public char[] widget_text_cursor = new System.Char[4]; - [DNAFieldAttribute(34, "char", "xaxis[4]", "System.Char[]", 4, false, 892)] + [DNAFieldAttribute(4, "char", 34, "xaxis[4]", "System.Char[]", false, 852)] public char[] xaxis = new System.Char[4]; - [DNAFieldAttribute(35, "char", "yaxis[4]", "System.Char[]", 4, false, 896)] + [DNAFieldAttribute(4, "char", 35, "yaxis[4]", "System.Char[]", false, 856)] public char[] yaxis = new System.Char[4]; - [DNAFieldAttribute(36, "char", "zaxis[4]", "System.Char[]", 4, false, 900)] + [DNAFieldAttribute(4, "char", 36, "zaxis[4]", "System.Char[]", false, 860)] public char[] zaxis = new System.Char[4]; - [DNAFieldAttribute(37, "char", "gizmo_hi[4]", "System.Char[]", 4, false, 904)] + [DNAFieldAttribute(4, "char", 37, "gizmo_hi[4]", "System.Char[]", false, 864)] public char[] gizmo_hi = new System.Char[4]; - [DNAFieldAttribute(38, "char", "gizmo_primary[4]", "System.Char[]", 4, false, 908)] + [DNAFieldAttribute(4, "char", 38, "gizmo_primary[4]", "System.Char[]", false, 868)] public char[] gizmo_primary = new System.Char[4]; - [DNAFieldAttribute(39, "char", "gizmo_secondary[4]", "System.Char[]", 4, false, 912)] + [DNAFieldAttribute(4, "char", 39, "gizmo_secondary[4]", "System.Char[]", false, 872)] public char[] gizmo_secondary = new System.Char[4]; - [DNAFieldAttribute(40, "char", "gizmo_view_align[4]", "System.Char[]", 4, false, 916)] + [DNAFieldAttribute(4, "char", 40, "gizmo_view_align[4]", "System.Char[]", false, 876)] public char[] gizmo_view_align = new System.Char[4]; - [DNAFieldAttribute(41, "char", "gizmo_a[4]", "System.Char[]", 4, false, 920)] + [DNAFieldAttribute(4, "char", 41, "gizmo_a[4]", "System.Char[]", false, 880)] public char[] gizmo_a = new System.Char[4]; - [DNAFieldAttribute(42, "char", "gizmo_b[4]", "System.Char[]", 4, false, 924)] + [DNAFieldAttribute(4, "char", 42, "gizmo_b[4]", "System.Char[]", false, 884)] public char[] gizmo_b = new System.Char[4]; - [DNAFieldAttribute(43, "char", "icon_scene[4]", "System.Char[]", 4, false, 928)] + [DNAFieldAttribute(4, "char", 43, "icon_scene[4]", "System.Char[]", false, 888)] public char[] icon_scene = new System.Char[4]; - [DNAFieldAttribute(44, "char", "icon_collection[4]", "System.Char[]", 4, false, 932)] + [DNAFieldAttribute(4, "char", 44, "icon_collection[4]", "System.Char[]", false, 892)] public char[] icon_collection = new System.Char[4]; - [DNAFieldAttribute(45, "char", "icon_object[4]", "System.Char[]", 4, false, 936)] + [DNAFieldAttribute(4, "char", 45, "icon_object[4]", "System.Char[]", false, 896)] public char[] icon_object = new System.Char[4]; - [DNAFieldAttribute(46, "char", "icon_object_data[4]", "System.Char[]", 4, false, 940)] + [DNAFieldAttribute(4, "char", 46, "icon_object_data[4]", "System.Char[]", false, 900)] public char[] icon_object_data = new System.Char[4]; - [DNAFieldAttribute(47, "char", "icon_modifier[4]", "System.Char[]", 4, false, 944)] + [DNAFieldAttribute(4, "char", 47, "icon_modifier[4]", "System.Char[]", false, 904)] public char[] icon_modifier = new System.Char[4]; - [DNAFieldAttribute(48, "char", "icon_shading[4]", "System.Char[]", 4, false, 948)] + [DNAFieldAttribute(4, "char", 48, "icon_shading[4]", "System.Char[]", false, 908)] public char[] icon_shading = new System.Char[4]; - [DNAFieldAttribute(49, "char", "icon_folder[4]", "System.Char[]", 4, false, 952)] + [DNAFieldAttribute(4, "char", 49, "icon_folder[4]", "System.Char[]", false, 912)] public char[] icon_folder = new System.Char[4]; - [DNAFieldAttribute(50, "char", "icon_autokey[4]", "System.Char[]", 4, false, 956)] + [DNAFieldAttribute(4, "char", 50, "icon_autokey[4]", "System.Char[]", false, 916)] public char[] icon_autokey = new System.Char[4]; - [DNAFieldAttribute(51, "char", "_pad3[4]", "System.Char[]", 4, false, 960)] + [DNAFieldAttribute(4, "char", 51, "_pad3[4]", "System.Char[]", false, 920)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(52, "float", "icon_border_intensity", "float", 4, false, 964)] + [DNAFieldAttribute(4, "float", 52, "icon_border_intensity", "float", false, 924)] public float icon_border_intensity; - [DNAFieldAttribute(53, "float", "panel_roundness", "float", 4, false, 968)] + [DNAFieldAttribute(4, "float", 53, "panel_roundness", "float", false, 928)] public float panel_roundness; - [DNAFieldAttribute(54, "char", "_pad2[4]", "System.Char[]", 4, false, 972)] + [DNAFieldAttribute(4, "char", 54, "_pad2[4]", "System.Char[]", false, 932)] public char[] _pad2 = new System.Char[4]; public ThemeUI() { this.wcol_regular = default; @@ -144,7 +142,6 @@ namespace BlendFile.DNA { 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; @@ -201,7 +198,6 @@ namespace BlendFile.DNA { uiWidgetColors wcol_box, uiWidgetColors wcol_scroll, uiWidgetColors wcol_progress, - uiWidgetColors wcol_list_item, uiWidgetColors wcol_pie_menu, uiWidgetStateColors wcol_state, char[] widget_emboss, @@ -256,7 +252,6 @@ namespace BlendFile.DNA { this.wcol_box = wcol_box; this.wcol_scroll = wcol_scroll; this.wcol_progress = wcol_progress; - this.wcol_list_item = wcol_list_item; this.wcol_pie_menu = wcol_pie_menu; this.wcol_state = wcol_state; this.widget_emboss = widget_emboss; diff --git a/BlendFile/DNA/ThemeWireColor.cs b/BlendFile/DNA/ThemeWireColor.cs index 9ce1d16..797a567 100644 --- a/BlendFile/DNA/ThemeWireColor.cs +++ b/BlendFile/DNA/ThemeWireColor.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(64, "ThemeWireColor", 16)] - public struct ThemeWireColor { - [DNAFieldAttribute(0, "char", "solid[4]", "System.Char[]", 4, false, 0)] + public class ThemeWireColor { + [DNAFieldAttribute(4, "char", 0, "solid[4]", "System.Char[]", false, 0)] public char[] solid = new System.Char[4]; - [DNAFieldAttribute(1, "char", "select[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "select[4]", "System.Char[]", false, 4)] public char[] select = new System.Char[4]; - [DNAFieldAttribute(2, "char", "active[4]", "System.Char[]", 4, false, 8)] + [DNAFieldAttribute(4, "char", 2, "active[4]", "System.Char[]", false, 8)] public char[] active = new System.Char[4]; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 12)] public short flag; - [DNAFieldAttribute(4, "char", "_pad0[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 4, "_pad0[2]", "System.Char[]", false, 14)] public char[] _pad0 = new System.Char[2]; public ThemeWireColor() { this.solid = default; diff --git a/BlendFile/DNA/ThickGpencilModifierData.cs b/BlendFile/DNA/ThickGpencilModifierData.cs index aa9f60b..a516f01 100644 --- a/BlendFile/DNA/ThickGpencilModifierData.cs +++ b/BlendFile/DNA/ThickGpencilModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(278, "ThickGpencilModifierData", 336)] public class ThickGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "char", "materialname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "thickness_fac", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "thickness_fac", "float", false, 312)] public float thickness_fac; - [DNAFieldAttribute(8, "int", "thickness", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 8, "thickness", "int", false, 316)] public int thickness; - [DNAFieldAttribute(9, "int", "layer_pass", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 320)] public int layer_pass; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 324)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 324)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(11, "CurveMapping", "*curve_thickness", "CurveMapping", 8, true, 328)] - public CurveMapping ptr_curve_thickness; + [DNAFieldAttribute(8, "CurveMapping", 11, "*curve_thickness", "CurveMapping", true, 328)] + public CurveMapping curve_thickness; public ThickGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -51,11 +51,11 @@ namespace BlendFile.DNA { this.thickness = default; this.layer_pass = default; this._pad = default; - this.ptr_curve_thickness = default; + this.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) { + public ThickGpencilModifierData(GpencilModifierData modifier, Material material, char[] layername, char[] materialname, char[] vgname, int pass_index, int flag, float thickness_fac, int thickness, int layer_pass, char[] _pad, CurveMapping curve_thickness) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { this.thickness = thickness; this.layer_pass = layer_pass; this._pad = _pad; - this.ptr_curve_thickness = ptr_curve_thickness; + this.curve_thickness = curve_thickness; } } } diff --git a/BlendFile/DNA/TimeGpencilModifierData.cs b/BlendFile/DNA/TimeGpencilModifierData.cs index e03cd02..d1e6cdb 100644 --- a/BlendFile/DNA/TimeGpencilModifierData.cs +++ b/BlendFile/DNA/TimeGpencilModifierData.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(280, "TimeGpencilModifierData", 224)] public class TimeGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Material", "*material", "Material", 8, true, 104)] - public Material ptr_material; - [DNAFieldAttribute(2, "char", "layername[64]", "System.Char[]", 64, false, 112)] + [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] + public Material material; + [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(3, "int", "layer_pass", "int", 4, false, 176)] + [DNAFieldAttribute(4, "int", 3, "layer_pass", "int", false, 176)] public int layer_pass; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 180)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 180)] public int flag; - [DNAFieldAttribute(5, "int", "offset", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 5, "offset", "int", false, 184)] public int offset; - [DNAFieldAttribute(6, "float", "frame_scale", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 6, "frame_scale", "float", false, 188)] public float frame_scale; - [DNAFieldAttribute(7, "int", "mode", "int", 4, false, 192)] + [DNAFieldAttribute(4, "int", 7, "mode", "int", false, 192)] public int mode; - [DNAFieldAttribute(8, "int", "sfra", "int", 4, false, 196)] + [DNAFieldAttribute(4, "int", 8, "sfra", "int", false, 196)] public int sfra; - [DNAFieldAttribute(9, "int", "efra", "int", 4, false, 200)] + [DNAFieldAttribute(4, "int", 9, "efra", "int", false, 200)] public int efra; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 204)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 204)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(11, "TimeGpencilModifierSegment", "*segments", "TimeGpencilModifierSegment", 8, true, 208)] - public TimeGpencilModifierSegment ptr_segments; - [DNAFieldAttribute(12, "int", "segments_len", "int", 4, false, 216)] + [DNAFieldAttribute(8, "TimeGpencilModifierSegment", 11, "*segments", "TimeGpencilModifierSegment", true, 208)] + public TimeGpencilModifierSegment segments; + [DNAFieldAttribute(4, "int", 12, "segments_len", "int", false, 216)] public int segments_len; - [DNAFieldAttribute(13, "int", "segment_active_index", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 13, "segment_active_index", "int", false, 220)] public int segment_active_index; public TimeGpencilModifierData() { this.modifier = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.layer_pass = default; this.flag = default; @@ -55,13 +55,13 @@ namespace BlendFile.DNA { this.sfra = default; this.efra = default; this._pad = default; - this.ptr_segments = default; + this.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) { + public TimeGpencilModifierData(GpencilModifierData modifier, Material material, char[] layername, int layer_pass, int flag, int offset, float frame_scale, int mode, int sfra, int efra, char[] _pad, TimeGpencilModifierSegment segments, int segments_len, int segment_active_index) { this.modifier = modifier; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.layer_pass = layer_pass; this.flag = flag; @@ -71,7 +71,7 @@ namespace BlendFile.DNA { this.sfra = sfra; this.efra = efra; this._pad = _pad; - this.ptr_segments = ptr_segments; + this.segments = segments; this.segments_len = segments_len; this.segment_active_index = segment_active_index; } diff --git a/BlendFile/DNA/TimeGpencilModifierSegment.cs b/BlendFile/DNA/TimeGpencilModifierSegment.cs index 51d5bcb..143c934 100644 --- a/BlendFile/DNA/TimeGpencilModifierSegment.cs +++ b/BlendFile/DNA/TimeGpencilModifierSegment.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(279, "TimeGpencilModifierSegment", 88)] public class TimeGpencilModifierSegment { - [DNAFieldAttribute(0, "char", "name[64]", "System.Char[]", 64, false, 0)] + [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1, "TimeGpencilModifierData", "*gpmd", "TimeGpencilModifierData", 8, true, 64)] - public TimeGpencilModifierData ptr_gpmd; - [DNAFieldAttribute(2, "int", "seg_start", "int", 4, false, 72)] + [DNAFieldAttribute(8, "TimeGpencilModifierData", 1, "*gpmd", "TimeGpencilModifierData", true, 64)] + public TimeGpencilModifierData gpmd; + [DNAFieldAttribute(4, "int", 2, "seg_start", "int", false, 72)] public int seg_start; - [DNAFieldAttribute(3, "int", "seg_end", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 3, "seg_end", "int", false, 76)] public int seg_end; - [DNAFieldAttribute(4, "int", "seg_mode", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 4, "seg_mode", "int", false, 80)] public int seg_mode; - [DNAFieldAttribute(5, "int", "seg_repeat", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 5, "seg_repeat", "int", false, 84)] public int seg_repeat; public TimeGpencilModifierSegment() { this.name = default; - this.ptr_gpmd = default; + this.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) { + public TimeGpencilModifierSegment(char[] name, TimeGpencilModifierData gpmd, int seg_start, int seg_end, int seg_mode, int seg_repeat) { this.name = name; - this.ptr_gpmd = ptr_gpmd; + this.gpmd = gpmd; this.seg_start = seg_start; this.seg_end = seg_end; this.seg_mode = seg_mode; diff --git a/BlendFile/DNA/TimeMarker.cs b/BlendFile/DNA/TimeMarker.cs index fe85e71..0963cd4 100644 --- a/BlendFile/DNA/TimeMarker.cs +++ b/BlendFile/DNA/TimeMarker.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(803, "TimeMarker", 104)] public class TimeMarker { - [DNAFieldAttribute(0, "TimeMarker", "*next", "TimeMarker", 8, true, 0)] - public TimeMarker ptr_next; - [DNAFieldAttribute(1, "TimeMarker", "*prev", "TimeMarker", 8, true, 8)] - public TimeMarker ptr_prev; - [DNAFieldAttribute(2, "int", "frame", "int", 4, false, 16)] + [DNAFieldAttribute(8, "TimeMarker", 0, "*next", "TimeMarker", true, 0)] + public TimeMarker next; + [DNAFieldAttribute(8, "TimeMarker", 1, "*prev", "TimeMarker", true, 8)] + public TimeMarker prev; + [DNAFieldAttribute(4, "int", 2, "frame", "int", false, 16)] public int frame; - [DNAFieldAttribute(3, "char", "name[64]", "System.Char[]", 64, false, 20)] + [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 20)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 84)] public int flag; - [DNAFieldAttribute(5, "Object", "*camera", "Object", 8, true, 88)] - public Object ptr_camera; - [DNAFieldAttribute(6, "IDProperty", "*prop", "IDProperty", 8, true, 96)] - public IDProperty ptr_prop; + [DNAFieldAttribute(8, "Object", 5, "*camera", "Object", true, 88)] + public Object camera; + [DNAFieldAttribute(8, "IDProperty", 6, "*prop", "IDProperty", true, 96)] + public IDProperty prop; public TimeMarker() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.frame = default; this.name = default; this.flag = default; - this.ptr_camera = default; - this.ptr_prop = default; + this.camera = default; + this.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; + public TimeMarker(TimeMarker next, TimeMarker prev, int frame, char[] name, int flag, Object camera, IDProperty prop) { + this.next = next; + this.prev = prev; this.frame = frame; this.name = name; this.flag = flag; - this.ptr_camera = ptr_camera; - this.ptr_prop = ptr_prop; + this.camera = camera; + this.prop = prop; } } } diff --git a/BlendFile/DNA/TintGpencilModifierData.cs b/BlendFile/DNA/TintGpencilModifierData.cs index a3f2e63..c482a38 100644 --- a/BlendFile/DNA/TintGpencilModifierData.cs +++ b/BlendFile/DNA/TintGpencilModifierData.cs @@ -15,42 +15,42 @@ namespace BlendFile.DNA { [DNAClassAttribute(298, "TintGpencilModifierData", 368)] public class TintGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 104)] - public Object ptr_object; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 112)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "layername[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] + public Object @object; + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(4, "char", "materialname[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 184)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(5, "char", "vgname[64]", "System.Char[]", 64, false, 248)] + [DNAFieldAttribute(64, "char", 5, "vgname[64]", "System.Char[]", false, 248)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(6, "int", "pass_index", "int", 4, false, 312)] + [DNAFieldAttribute(4, "int", 6, "pass_index", "int", false, 312)] public int pass_index; - [DNAFieldAttribute(7, "int", "layer_pass", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 7, "layer_pass", "int", false, 316)] public int layer_pass; - [DNAFieldAttribute(8, "int", "flag", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 8, "flag", "int", false, 320)] public int flag; - [DNAFieldAttribute(9, "int", "mode", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 9, "mode", "int", false, 324)] public int mode; - [DNAFieldAttribute(10, "float", "factor", "float", 4, false, 328)] + [DNAFieldAttribute(4, "float", 10, "factor", "float", false, 328)] public float factor; - [DNAFieldAttribute(11, "float", "radius", "float", 4, false, 332)] + [DNAFieldAttribute(4, "float", 11, "radius", "float", false, 332)] public float radius; - [DNAFieldAttribute(12, "float", "rgb[3]", "System.Single[]", 12, false, 336)] + [DNAFieldAttribute(12, "float", 12, "rgb[3]", "System.Single[]", false, 336)] public float[] rgb = new System.Single[3]; - [DNAFieldAttribute(13, "int", "type", "int", 4, false, 348)] + [DNAFieldAttribute(4, "int", 13, "type", "int", false, 348)] public int type; - [DNAFieldAttribute(14, "CurveMapping", "*curve_intensity", "CurveMapping", 8, true, 352)] - public CurveMapping ptr_curve_intensity; - [DNAFieldAttribute(15, "ColorBand", "*colorband", "ColorBand", 8, true, 360)] - public ColorBand ptr_colorband; + [DNAFieldAttribute(8, "CurveMapping", 14, "*curve_intensity", "CurveMapping", true, 352)] + public CurveMapping curve_intensity; + [DNAFieldAttribute(8, "ColorBand", 15, "*colorband", "ColorBand", true, 360)] + public ColorBand colorband; public TintGpencilModifierData() { this.modifier = default; - this.ptr_object = default; - this.ptr_material = default; + this.@object = default; + this.material = default; this.layername = default; this.materialname = default; this.vgname = default; @@ -62,13 +62,13 @@ namespace BlendFile.DNA { this.radius = default; this.rgb = default; this.type = default; - this.ptr_curve_intensity = default; - this.ptr_colorband = default; + this.curve_intensity = default; + this.colorband = default; } public TintGpencilModifierData( GpencilModifierData modifier, - Object ptr_object, - Material ptr_material, + Object @object, + Material material, char[] layername, char[] materialname, char[] vgname, @@ -80,11 +80,11 @@ namespace BlendFile.DNA { float radius, float[] rgb, int type, - CurveMapping ptr_curve_intensity, - ColorBand ptr_colorband) { + CurveMapping curve_intensity, + ColorBand colorband) { this.modifier = modifier; - this.ptr_object = ptr_object; - this.ptr_material = ptr_material; + this.@object = @object; + this.material = material; this.layername = layername; this.materialname = materialname; this.vgname = vgname; @@ -96,8 +96,8 @@ namespace BlendFile.DNA { this.radius = radius; this.rgb = rgb; this.type = type; - this.ptr_curve_intensity = ptr_curve_intensity; - this.ptr_colorband = ptr_colorband; + this.curve_intensity = curve_intensity; + this.colorband = colorband; } } } diff --git a/BlendFile/DNA/ToolSettings.cs b/BlendFile/DNA/ToolSettings.cs index 265c2bd..629a087 100644 --- a/BlendFile/DNA/ToolSettings.cs +++ b/BlendFile/DNA/ToolSettings.cs @@ -15,212 +15,212 @@ namespace BlendFile.DNA { [DNAClassAttribute(828, "ToolSettings", 1072)] public class ToolSettings { - [DNAFieldAttribute(0, "VPaint", "*vpaint", "VPaint", 8, true, 0)] - public VPaint ptr_vpaint; - [DNAFieldAttribute(1, "VPaint", "*wpaint", "VPaint", 8, true, 8)] - public VPaint ptr_wpaint; - [DNAFieldAttribute(2, "Sculpt", "*sculpt", "Sculpt", 8, true, 16)] - public Sculpt ptr_sculpt; - [DNAFieldAttribute(3, "UvSculpt", "uvsculpt", "UvSculpt", 24, false, 24)] + [DNAFieldAttribute(8, "VPaint", 0, "*vpaint", "VPaint", true, 0)] + public VPaint vpaint; + [DNAFieldAttribute(8, "VPaint", 1, "*wpaint", "VPaint", true, 8)] + public VPaint wpaint; + [DNAFieldAttribute(8, "Sculpt", 2, "*sculpt", "Sculpt", true, 16)] + public Sculpt sculpt; + [DNAFieldAttribute(24, "UvSculpt", 3, "uvsculpt", "UvSculpt", false, 24)] public UvSculpt uvsculpt; - [DNAFieldAttribute(4, "GpPaint", "*gp_paint", "GpPaint", 8, true, 48)] - public GpPaint ptr_gp_paint; - [DNAFieldAttribute(5, "GpVertexPaint", "*gp_vertexpaint", "GpVertexPaint", 8, true, 56)] - public GpVertexPaint ptr_gp_vertexpaint; - [DNAFieldAttribute(6, "GpSculptPaint", "*gp_sculptpaint", "GpSculptPaint", 8, true, 64)] - public GpSculptPaint ptr_gp_sculptpaint; - [DNAFieldAttribute(7, "GpWeightPaint", "*gp_weightpaint", "GpWeightPaint", 8, true, 72)] - public GpWeightPaint ptr_gp_weightpaint; - [DNAFieldAttribute(8, "CurvesSculpt", "*curves_sculpt", "CurvesSculpt", 8, true, 80)] - public CurvesSculpt ptr_curves_sculpt; - [DNAFieldAttribute(9, "float", "vgroup_weight", "float", 4, false, 88)] + [DNAFieldAttribute(8, "GpPaint", 4, "*gp_paint", "GpPaint", true, 48)] + public GpPaint gp_paint; + [DNAFieldAttribute(8, "GpVertexPaint", 5, "*gp_vertexpaint", "GpVertexPaint", true, 56)] + public GpVertexPaint gp_vertexpaint; + [DNAFieldAttribute(8, "GpSculptPaint", 6, "*gp_sculptpaint", "GpSculptPaint", true, 64)] + public GpSculptPaint gp_sculptpaint; + [DNAFieldAttribute(8, "GpWeightPaint", 7, "*gp_weightpaint", "GpWeightPaint", true, 72)] + public GpWeightPaint gp_weightpaint; + [DNAFieldAttribute(8, "CurvesSculpt", 8, "*curves_sculpt", "CurvesSculpt", true, 80)] + public CurvesSculpt curves_sculpt; + [DNAFieldAttribute(4, "float", 9, "vgroup_weight", "float", false, 88)] public float vgroup_weight; - [DNAFieldAttribute(10, "float", "doublimit", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 10, "doublimit", "float", false, 92)] public float doublimit; - [DNAFieldAttribute(11, "char", "automerge", "char", 1, false, 96)] + [DNAFieldAttribute(1, "char", 11, "automerge", "char", false, 96)] public char automerge; - [DNAFieldAttribute(12, "char", "object_flag", "char", 1, false, 97)] + [DNAFieldAttribute(1, "char", 12, "object_flag", "char", false, 97)] public char object_flag; - [DNAFieldAttribute(13, "char", "selectmode", "char", 1, false, 98)] + [DNAFieldAttribute(1, "char", 13, "selectmode", "char", false, 98)] public char selectmode; - [DNAFieldAttribute(14, "char", "unwrapper", "char", 1, false, 99)] + [DNAFieldAttribute(1, "char", 14, "unwrapper", "char", false, 99)] public char unwrapper; - [DNAFieldAttribute(15, "char", "uvcalc_flag", "char", 1, false, 100)] + [DNAFieldAttribute(1, "char", 15, "uvcalc_flag", "char", false, 100)] public char uvcalc_flag; - [DNAFieldAttribute(16, "char", "uv_flag", "char", 1, false, 101)] + [DNAFieldAttribute(1, "char", 16, "uv_flag", "char", false, 101)] public char uv_flag; - [DNAFieldAttribute(17, "char", "uv_selectmode", "char", 1, false, 102)] + [DNAFieldAttribute(1, "char", 17, "uv_selectmode", "char", false, 102)] public char uv_selectmode; - [DNAFieldAttribute(18, "char", "uv_sticky", "char", 1, false, 103)] + [DNAFieldAttribute(1, "char", 18, "uv_sticky", "char", false, 103)] public char uv_sticky; - [DNAFieldAttribute(19, "float", "uvcalc_margin", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 19, "uvcalc_margin", "float", false, 104)] public float uvcalc_margin; - [DNAFieldAttribute(20, "int", "uvcalc_iterations", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 20, "uvcalc_iterations", "int", false, 108)] public int uvcalc_iterations; - [DNAFieldAttribute(21, "float", "uvcalc_weight_factor", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 21, "uvcalc_weight_factor", "float", false, 112)] public float uvcalc_weight_factor; - [DNAFieldAttribute(22, "char", "uvcalc_weight_group[64]", "System.Char[]", 64, false, 116)] + [DNAFieldAttribute(64, "char", 22, "uvcalc_weight_group[64]", "System.Char[]", false, 116)] public char[] uvcalc_weight_group = new System.Char[64]; - [DNAFieldAttribute(23, "short", "autoik_chainlen", "short", 2, false, 180)] + [DNAFieldAttribute(2, "short", 23, "autoik_chainlen", "short", false, 180)] public short autoik_chainlen; - [DNAFieldAttribute(24, "char", "gpencil_flags", "char", 1, false, 182)] + [DNAFieldAttribute(1, "char", 24, "gpencil_flags", "char", false, 182)] public char gpencil_flags; - [DNAFieldAttribute(25, "char", "gpencil_v3d_align", "char", 1, false, 183)] + [DNAFieldAttribute(1, "char", 25, "gpencil_v3d_align", "char", false, 183)] public char gpencil_v3d_align; - [DNAFieldAttribute(26, "char", "gpencil_v2d_align", "char", 1, false, 184)] + [DNAFieldAttribute(1, "char", 26, "gpencil_v2d_align", "char", false, 184)] public char gpencil_v2d_align; - [DNAFieldAttribute(27, "char", "annotate_v3d_align", "char", 1, false, 185)] + [DNAFieldAttribute(1, "char", 27, "annotate_v3d_align", "char", false, 185)] public char annotate_v3d_align; - [DNAFieldAttribute(28, "short", "annotate_thickness", "short", 2, false, 186)] + [DNAFieldAttribute(2, "short", 28, "annotate_thickness", "short", false, 186)] public short annotate_thickness; - [DNAFieldAttribute(29, "float", "gpencil_surface_offset", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 29, "gpencil_surface_offset", "float", false, 188)] public float gpencil_surface_offset; - [DNAFieldAttribute(30, "char", "gpencil_selectmode_edit", "char", 1, false, 192)] + [DNAFieldAttribute(1, "char", 30, "gpencil_selectmode_edit", "char", false, 192)] public char gpencil_selectmode_edit; - [DNAFieldAttribute(31, "char", "gpencil_selectmode_sculpt", "char", 1, false, 193)] + [DNAFieldAttribute(1, "char", 31, "gpencil_selectmode_sculpt", "char", false, 193)] public char gpencil_selectmode_sculpt; - [DNAFieldAttribute(32, "char", "_pad0[6]", "System.Char[]", 6, false, 194)] + [DNAFieldAttribute(6, "char", 32, "_pad0[6]", "System.Char[]", false, 194)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(33, "GP_Sculpt_Settings", "gp_sculpt", "GP_Sculpt_Settings", 80, false, 200)] + [DNAFieldAttribute(80, "GP_Sculpt_Settings", 33, "gp_sculpt", "GP_Sculpt_Settings", false, 200)] public GP_Sculpt_Settings gp_sculpt; - [DNAFieldAttribute(34, "GP_Interpolate_Settings", "gp_interpolate", "GP_Interpolate_Settings", 8, false, 280)] + [DNAFieldAttribute(8, "GP_Interpolate_Settings", 34, "gp_interpolate", "GP_Interpolate_Settings", false, 280)] public GP_Interpolate_Settings gp_interpolate; - [DNAFieldAttribute(35, "ImagePaintSettings", "imapaint", "ImagePaintSettings", 184, false, 288)] + [DNAFieldAttribute(184, "ImagePaintSettings", 35, "imapaint", "ImagePaintSettings", false, 288)] public ImagePaintSettings imapaint; - [DNAFieldAttribute(36, "PaintModeSettings", "paint_mode", "PaintModeSettings", 56, false, 472)] + [DNAFieldAttribute(56, "PaintModeSettings", 36, "paint_mode", "PaintModeSettings", false, 472)] public PaintModeSettings paint_mode; - [DNAFieldAttribute(37, "ParticleEditSettings", "particle", "ParticleEditSettings", 176, false, 528)] + [DNAFieldAttribute(176, "ParticleEditSettings", 37, "particle", "ParticleEditSettings", false, 528)] public ParticleEditSettings particle; - [DNAFieldAttribute(38, "float", "proportional_size", "float", 4, false, 704)] + [DNAFieldAttribute(4, "float", 38, "proportional_size", "float", false, 704)] public float proportional_size; - [DNAFieldAttribute(39, "float", "select_thresh", "float", 4, false, 708)] + [DNAFieldAttribute(4, "float", 39, "select_thresh", "float", false, 708)] public float select_thresh; - [DNAFieldAttribute(40, "short", "keying_flag", "short", 2, false, 712)] + [DNAFieldAttribute(2, "short", 40, "keying_flag", "short", false, 712)] public short keying_flag; - [DNAFieldAttribute(41, "char", "autokey_mode", "char", 1, false, 714)] + [DNAFieldAttribute(1, "char", 41, "autokey_mode", "char", false, 714)] public char autokey_mode; - [DNAFieldAttribute(42, "char", "keyframe_type", "char", 1, false, 715)] + [DNAFieldAttribute(1, "char", 42, "keyframe_type", "char", false, 715)] public char keyframe_type; - [DNAFieldAttribute(43, "char", "multires_subdiv_type", "char", 1, false, 716)] + [DNAFieldAttribute(1, "char", 43, "multires_subdiv_type", "char", false, 716)] public char multires_subdiv_type; - [DNAFieldAttribute(44, "char", "edge_mode", "char", 1, false, 717)] + [DNAFieldAttribute(1, "char", 44, "edge_mode", "char", false, 717)] public char edge_mode; - [DNAFieldAttribute(45, "char", "edge_mode_live_unwrap", "char", 1, false, 718)] + [DNAFieldAttribute(1, "char", 45, "edge_mode_live_unwrap", "char", false, 718)] public char edge_mode_live_unwrap; - [DNAFieldAttribute(46, "char", "transform_pivot_point", "char", 1, false, 719)] + [DNAFieldAttribute(1, "char", 46, "transform_pivot_point", "char", false, 719)] public char transform_pivot_point; - [DNAFieldAttribute(47, "char", "transform_flag", "char", 1, false, 720)] + [DNAFieldAttribute(1, "char", 47, "transform_flag", "char", false, 720)] public char transform_flag; - [DNAFieldAttribute(48, "char", "snap_node_mode", "char", 1, false, 721)] + [DNAFieldAttribute(1, "char", 48, "snap_node_mode", "char", false, 721)] public char snap_node_mode; - [DNAFieldAttribute(49, "short", "snap_mode", "short", 2, false, 722)] + [DNAFieldAttribute(2, "short", 49, "snap_mode", "short", false, 722)] public short snap_mode; - [DNAFieldAttribute(50, "short", "snap_uv_mode", "short", 2, false, 724)] + [DNAFieldAttribute(2, "short", 50, "snap_uv_mode", "short", false, 724)] public short snap_uv_mode; - [DNAFieldAttribute(51, "short", "snap_anim_mode", "short", 2, false, 726)] + [DNAFieldAttribute(2, "short", 51, "snap_anim_mode", "short", false, 726)] public short snap_anim_mode; - [DNAFieldAttribute(52, "short", "snap_flag", "short", 2, false, 728)] + [DNAFieldAttribute(2, "short", 52, "snap_flag", "short", false, 728)] public short snap_flag; - [DNAFieldAttribute(53, "short", "snap_flag_node", "short", 2, false, 730)] + [DNAFieldAttribute(2, "short", 53, "snap_flag_node", "short", false, 730)] public short snap_flag_node; - [DNAFieldAttribute(54, "short", "snap_flag_seq", "short", 2, false, 732)] + [DNAFieldAttribute(2, "short", 54, "snap_flag_seq", "short", false, 732)] public short snap_flag_seq; - [DNAFieldAttribute(55, "short", "snap_flag_anim", "short", 2, false, 734)] + [DNAFieldAttribute(2, "short", 55, "snap_flag_anim", "short", false, 734)] public short snap_flag_anim; - [DNAFieldAttribute(56, "short", "snap_uv_flag", "short", 2, false, 736)] + [DNAFieldAttribute(2, "short", 56, "snap_uv_flag", "short", false, 736)] public short snap_uv_flag; - [DNAFieldAttribute(57, "char", "_pad[4]", "System.Char[]", 4, false, 738)] + [DNAFieldAttribute(4, "char", 57, "_pad[4]", "System.Char[]", false, 738)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(58, "char", "snap_target", "char", 1, false, 742)] + [DNAFieldAttribute(1, "char", 58, "snap_target", "char", false, 742)] public char snap_target; - [DNAFieldAttribute(59, "char", "snap_transform_mode_flag", "char", 1, false, 743)] + [DNAFieldAttribute(1, "char", 59, "snap_transform_mode_flag", "char", false, 743)] public char snap_transform_mode_flag; - [DNAFieldAttribute(60, "short", "snap_face_nearest_steps", "short", 2, false, 744)] + [DNAFieldAttribute(2, "short", 60, "snap_face_nearest_steps", "short", false, 744)] public short snap_face_nearest_steps; - [DNAFieldAttribute(61, "char", "proportional_edit", "char", 1, false, 746)] + [DNAFieldAttribute(1, "char", 61, "proportional_edit", "char", false, 746)] public char proportional_edit; - [DNAFieldAttribute(62, "char", "prop_mode", "char", 1, false, 747)] + [DNAFieldAttribute(1, "char", 62, "prop_mode", "char", false, 747)] public char prop_mode; - [DNAFieldAttribute(63, "char", "proportional_objects", "char", 1, false, 748)] + [DNAFieldAttribute(1, "char", 63, "proportional_objects", "char", false, 748)] public char proportional_objects; - [DNAFieldAttribute(64, "char", "proportional_mask", "char", 1, false, 749)] + [DNAFieldAttribute(1, "char", 64, "proportional_mask", "char", false, 749)] public char proportional_mask; - [DNAFieldAttribute(65, "char", "proportional_action", "char", 1, false, 750)] + [DNAFieldAttribute(1, "char", 65, "proportional_action", "char", false, 750)] public char proportional_action; - [DNAFieldAttribute(66, "char", "proportional_fcurve", "char", 1, false, 751)] + [DNAFieldAttribute(1, "char", 66, "proportional_fcurve", "char", false, 751)] public char proportional_fcurve; - [DNAFieldAttribute(67, "char", "lock_markers", "char", 1, false, 752)] + [DNAFieldAttribute(1, "char", 67, "lock_markers", "char", false, 752)] public char lock_markers; - [DNAFieldAttribute(68, "char", "auto_normalize", "char", 1, false, 753)] + [DNAFieldAttribute(1, "char", 68, "auto_normalize", "char", false, 753)] public char auto_normalize; - [DNAFieldAttribute(69, "char", "wpaint_lock_relative", "char", 1, false, 754)] + [DNAFieldAttribute(1, "char", 69, "wpaint_lock_relative", "char", false, 754)] public char wpaint_lock_relative; - [DNAFieldAttribute(70, "char", "multipaint", "char", 1, false, 755)] + [DNAFieldAttribute(1, "char", 70, "multipaint", "char", false, 755)] public char multipaint; - [DNAFieldAttribute(71, "char", "weightuser", "char", 1, false, 756)] + [DNAFieldAttribute(1, "char", 71, "weightuser", "char", false, 756)] public char weightuser; - [DNAFieldAttribute(72, "char", "vgroupsubset", "char", 1, false, 757)] + [DNAFieldAttribute(1, "char", 72, "vgroupsubset", "char", false, 757)] public char vgroupsubset; - [DNAFieldAttribute(73, "char", "gpencil_selectmode_vertex", "char", 1, false, 758)] + [DNAFieldAttribute(1, "char", 73, "gpencil_selectmode_vertex", "char", false, 758)] public char gpencil_selectmode_vertex; - [DNAFieldAttribute(74, "char", "uv_sculpt_settings", "char", 1, false, 759)] + [DNAFieldAttribute(1, "char", 74, "uv_sculpt_settings", "char", false, 759)] public char uv_sculpt_settings; - [DNAFieldAttribute(75, "char", "workspace_tool_type", "char", 1, false, 760)] + [DNAFieldAttribute(1, "char", 75, "workspace_tool_type", "char", false, 760)] public char workspace_tool_type; - [DNAFieldAttribute(76, "char", "_pad5[1]", "System.Char[]", 1, false, 761)] + [DNAFieldAttribute(1, "char", 76, "_pad5[1]", "System.Char[]", false, 761)] public char[] _pad5 = new System.Char[1]; - [DNAFieldAttribute(77, "short", "sculpt_paint_settings", "short", 2, false, 762)] + [DNAFieldAttribute(2, "short", 77, "sculpt_paint_settings", "short", false, 762)] public short sculpt_paint_settings; - [DNAFieldAttribute(78, "int", "sculpt_paint_unified_size", "int", 4, false, 764)] + [DNAFieldAttribute(4, "int", 78, "sculpt_paint_unified_size", "int", false, 764)] public int sculpt_paint_unified_size; - [DNAFieldAttribute(79, "float", "sculpt_paint_unified_unprojected_radius", "float", 4, false, 768)] + [DNAFieldAttribute(4, "float", 79, "sculpt_paint_unified_unprojected_radius", "float", false, 768)] public float sculpt_paint_unified_unprojected_radius; - [DNAFieldAttribute(80, "float", "sculpt_paint_unified_alpha", "float", 4, false, 772)] + [DNAFieldAttribute(4, "float", 80, "sculpt_paint_unified_alpha", "float", false, 772)] public float sculpt_paint_unified_alpha; - [DNAFieldAttribute(81, "UnifiedPaintSettings", "unified_paint_settings", "UnifiedPaintSettings", 168, false, 776)] + [DNAFieldAttribute(168, "UnifiedPaintSettings", 81, "unified_paint_settings", "UnifiedPaintSettings", false, 776)] public UnifiedPaintSettings unified_paint_settings; - [DNAFieldAttribute(82, "CurvePaintSettings", "curve_paint_settings", "CurvePaintSettings", 32, false, 944)] + [DNAFieldAttribute(32, "CurvePaintSettings", 82, "curve_paint_settings", "CurvePaintSettings", false, 944)] public CurvePaintSettings curve_paint_settings; - [DNAFieldAttribute(83, "MeshStatVis", "statvis", "MeshStatVis", 40, false, 976)] + [DNAFieldAttribute(40, "MeshStatVis", 83, "statvis", "MeshStatVis", false, 976)] public MeshStatVis statvis; - [DNAFieldAttribute(84, "float", "normal_vector[3]", "System.Single[]", 12, false, 1016)] + [DNAFieldAttribute(12, "float", 84, "normal_vector[3]", "System.Single[]", false, 1016)] public float[] normal_vector = new System.Single[3]; - [DNAFieldAttribute(85, "char", "_pad6[4]", "System.Char[]", 4, false, 1028)] + [DNAFieldAttribute(4, "char", 85, "_pad6[4]", "System.Char[]", false, 1028)] public char[] _pad6 = new System.Char[4]; - [DNAFieldAttribute(86, "CurveProfile", "*custom_bevel_profile_preset", "CurveProfile", 8, true, 1032)] - public CurveProfile ptr_custom_bevel_profile_preset; - [DNAFieldAttribute(87, "SequencerToolSettings", "*sequencer_tool_settings", "SequencerToolSettings", 8, true, 1040)] - public SequencerToolSettings ptr_sequencer_tool_settings; - [DNAFieldAttribute(88, "short", "snap_mode_tools", "short", 2, false, 1048)] + [DNAFieldAttribute(8, "CurveProfile", 86, "*custom_bevel_profile_preset", "CurveProfile", true, 1032)] + public CurveProfile custom_bevel_profile_preset; + [DNAFieldAttribute(8, "SequencerToolSettings", 87, "*sequencer_tool_settings", "SequencerToolSettings", true, 1040)] + public SequencerToolSettings sequencer_tool_settings; + [DNAFieldAttribute(2, "short", 88, "snap_mode_tools", "short", false, 1048)] public short snap_mode_tools; - [DNAFieldAttribute(89, "char", "plane_axis", "char", 1, false, 1050)] + [DNAFieldAttribute(1, "char", 89, "plane_axis", "char", false, 1050)] public char plane_axis; - [DNAFieldAttribute(90, "char", "plane_depth", "char", 1, false, 1051)] + [DNAFieldAttribute(1, "char", 90, "plane_depth", "char", false, 1051)] public char plane_depth; - [DNAFieldAttribute(91, "char", "plane_orient", "char", 1, false, 1052)] + [DNAFieldAttribute(1, "char", 91, "plane_orient", "char", false, 1052)] public char plane_orient; - [DNAFieldAttribute(92, "char", "use_plane_axis_auto", "char", 1, false, 1053)] + [DNAFieldAttribute(1, "char", 92, "use_plane_axis_auto", "char", false, 1053)] public char use_plane_axis_auto; - [DNAFieldAttribute(93, "char", "_pad7[2]", "System.Char[]", 2, false, 1054)] + [DNAFieldAttribute(2, "char", 93, "_pad7[2]", "System.Char[]", false, 1054)] public char[] _pad7 = new System.Char[2]; - [DNAFieldAttribute(94, "float", "snap_angle_increment_2d", "float", 4, false, 1056)] + [DNAFieldAttribute(4, "float", 94, "snap_angle_increment_2d", "float", false, 1056)] public float snap_angle_increment_2d; - [DNAFieldAttribute(95, "float", "snap_angle_increment_2d_precision", "float", 4, false, 1060)] + [DNAFieldAttribute(4, "float", 95, "snap_angle_increment_2d_precision", "float", false, 1060)] public float snap_angle_increment_2d_precision; - [DNAFieldAttribute(96, "float", "snap_angle_increment_3d", "float", 4, false, 1064)] + [DNAFieldAttribute(4, "float", 96, "snap_angle_increment_3d", "float", false, 1064)] public float snap_angle_increment_3d; - [DNAFieldAttribute(97, "float", "snap_angle_increment_3d_precision", "float", 4, false, 1068)] + [DNAFieldAttribute(4, "float", 97, "snap_angle_increment_3d_precision", "float", false, 1068)] public float snap_angle_increment_3d_precision; public ToolSettings() { - this.ptr_vpaint = default; - this.ptr_wpaint = default; - this.ptr_sculpt = default; + this.vpaint = default; + this.wpaint = default; + this.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.gp_paint = default; + this.gp_vertexpaint = default; + this.gp_sculptpaint = default; + this.gp_weightpaint = default; + this.curves_sculpt = default; this.vgroup_weight = default; this.doublimit = default; this.automerge = default; @@ -298,8 +298,8 @@ namespace BlendFile.DNA { this.statvis = default; this.normal_vector = default; this._pad6 = default; - this.ptr_custom_bevel_profile_preset = default; - this.ptr_sequencer_tool_settings = default; + this.custom_bevel_profile_preset = default; + this.sequencer_tool_settings = default; this.snap_mode_tools = default; this.plane_axis = default; this.plane_depth = default; @@ -312,15 +312,15 @@ namespace BlendFile.DNA { this.snap_angle_increment_3d_precision = default; } public ToolSettings( - VPaint ptr_vpaint, - VPaint ptr_wpaint, - Sculpt ptr_sculpt, + VPaint vpaint, + VPaint wpaint, + Sculpt sculpt, UvSculpt uvsculpt, - GpPaint ptr_gp_paint, - GpVertexPaint ptr_gp_vertexpaint, - GpSculptPaint ptr_gp_sculptpaint, - GpWeightPaint ptr_gp_weightpaint, - CurvesSculpt ptr_curves_sculpt, + GpPaint gp_paint, + GpVertexPaint gp_vertexpaint, + GpSculptPaint gp_sculptpaint, + GpWeightPaint gp_weightpaint, + CurvesSculpt curves_sculpt, float vgroup_weight, float doublimit, char automerge, @@ -398,8 +398,8 @@ namespace BlendFile.DNA { MeshStatVis statvis, float[] normal_vector, char[] _pad6, - CurveProfile ptr_custom_bevel_profile_preset, - SequencerToolSettings ptr_sequencer_tool_settings, + CurveProfile custom_bevel_profile_preset, + SequencerToolSettings sequencer_tool_settings, short snap_mode_tools, char plane_axis, char plane_depth, @@ -410,15 +410,15 @@ namespace BlendFile.DNA { float snap_angle_increment_2d_precision, float snap_angle_increment_3d, float snap_angle_increment_3d_precision) { - this.ptr_vpaint = ptr_vpaint; - this.ptr_wpaint = ptr_wpaint; - this.ptr_sculpt = ptr_sculpt; + this.vpaint = vpaint; + this.wpaint = wpaint; + this.sculpt = sculpt; this.uvsculpt = uvsculpt; - this.ptr_gp_paint = ptr_gp_paint; - this.ptr_gp_vertexpaint = ptr_gp_vertexpaint; - this.ptr_gp_sculptpaint = ptr_gp_sculptpaint; - this.ptr_gp_weightpaint = ptr_gp_weightpaint; - this.ptr_curves_sculpt = ptr_curves_sculpt; + this.gp_paint = gp_paint; + this.gp_vertexpaint = gp_vertexpaint; + this.gp_sculptpaint = gp_sculptpaint; + this.gp_weightpaint = gp_weightpaint; + this.curves_sculpt = curves_sculpt; this.vgroup_weight = vgroup_weight; this.doublimit = doublimit; this.automerge = automerge; @@ -496,8 +496,8 @@ namespace BlendFile.DNA { this.statvis = statvis; this.normal_vector = normal_vector; this._pad6 = _pad6; - this.ptr_custom_bevel_profile_preset = ptr_custom_bevel_profile_preset; - this.ptr_sequencer_tool_settings = ptr_sequencer_tool_settings; + this.custom_bevel_profile_preset = custom_bevel_profile_preset; + this.sequencer_tool_settings = sequencer_tool_settings; this.snap_mode_tools = snap_mode_tools; this.plane_axis = plane_axis; this.plane_depth = plane_depth; diff --git a/BlendFile/DNA/ToolSystemBrushBindings.cs b/BlendFile/DNA/ToolSystemBrushBindings.cs index 0f687cb..67f36cf 100644 --- a/BlendFile/DNA/ToolSystemBrushBindings.cs +++ b/BlendFile/DNA/ToolSystemBrushBindings.cs @@ -15,16 +15,16 @@ namespace BlendFile.DNA { [DNAClassAttribute(806, "ToolSystemBrushBindings", 24)] public class ToolSystemBrushBindings { - [DNAFieldAttribute(0, "AssetWeakReference", "*main_brush_asset_reference", "AssetWeakReference", 8, true, 0)] - public AssetWeakReference ptr_main_brush_asset_reference; - [DNAFieldAttribute(1, "ListBase", "active_brush_per_brush_type", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "AssetWeakReference", 0, "*main_brush_asset_reference", "AssetWeakReference", true, 0)] + public AssetWeakReference main_brush_asset_reference; + [DNAFieldAttribute(16, "ListBase", 1, "active_brush_per_brush_type", "ListBase", false, 8)] public ListBase active_brush_per_brush_type; public ToolSystemBrushBindings() { - this.ptr_main_brush_asset_reference = default; + this.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; + public ToolSystemBrushBindings(AssetWeakReference main_brush_asset_reference, ListBase active_brush_per_brush_type) { + this.main_brush_asset_reference = 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 994c586..ec6c954 100644 --- a/BlendFile/DNA/TransformOrientation.cs +++ b/BlendFile/DNA/TransformOrientation.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(858, "TransformOrientation", 120)] public class TransformOrientation { - [DNAFieldAttribute(0, "TransformOrientation", "*next", "TransformOrientation", 8, true, 0)] - public TransformOrientation ptr_next; - [DNAFieldAttribute(1, "TransformOrientation", "*prev", "TransformOrientation", 8, true, 8)] - public TransformOrientation ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "TransformOrientation", 0, "*next", "TransformOrientation", true, 0)] + public TransformOrientation next; + [DNAFieldAttribute(8, "TransformOrientation", 1, "*prev", "TransformOrientation", true, 8)] + public TransformOrientation prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "float", "mat[3][3]", "System.Single[,]", 36, false, 80)] + [DNAFieldAttribute(36, "float", 3, "mat[3][3]", "System.Single[,]", false, 80)] public float[,] mat = new System.Single[3,3]; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 116)] public char[] _pad = new System.Char[4]; public TransformOrientation() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public TransformOrientation(TransformOrientation next, TransformOrientation prev, char[] name, float[,] mat, char[] _pad) { + this.next = next; + this.prev = prev; this.name = name; this.mat = mat; this._pad = _pad; diff --git a/BlendFile/DNA/TransformOrientationSlot.cs b/BlendFile/DNA/TransformOrientationSlot.cs index 73d0d21..5ca3d6b 100644 --- a/BlendFile/DNA/TransformOrientationSlot.cs +++ b/BlendFile/DNA/TransformOrientationSlot.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(838, "TransformOrientationSlot", 16)] - public struct TransformOrientationSlot { - [DNAFieldAttribute(0, "int", "type", "int", 4, false, 0)] + public class TransformOrientationSlot { + [DNAFieldAttribute(4, "int", 0, "type", "int", false, 0)] public int type; - [DNAFieldAttribute(1, "int", "index_custom", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "index_custom", "int", false, 4)] public int index_custom; - [DNAFieldAttribute(2, "char", "flag", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 8)] public char flag; - [DNAFieldAttribute(3, "char", "_pad0[7]", "System.Char[]", 7, false, 9)] + [DNAFieldAttribute(7, "char", 3, "_pad0[7]", "System.Char[]", false, 9)] public char[] _pad0 = new System.Char[7]; public TransformOrientationSlot() { this.type = default; diff --git a/BlendFile/DNA/TransformVars.cs b/BlendFile/DNA/TransformVars.cs index c2b7d0a..c0131f0 100644 --- a/BlendFile/DNA/TransformVars.cs +++ b/BlendFile/DNA/TransformVars.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(898, "TransformVars", 32)] - public struct TransformVars { - [DNAFieldAttribute(0, "float", "ScalexIni", "float", 4, false, 0)] + public class TransformVars { + [DNAFieldAttribute(4, "float", 0, "ScalexIni", "float", false, 0)] public float ScalexIni; - [DNAFieldAttribute(1, "float", "ScaleyIni", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "ScaleyIni", "float", false, 4)] public float ScaleyIni; - [DNAFieldAttribute(2, "float", "xIni", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "xIni", "float", false, 8)] public float xIni; - [DNAFieldAttribute(3, "float", "yIni", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "yIni", "float", false, 12)] public float yIni; - [DNAFieldAttribute(4, "float", "rotIni", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "rotIni", "float", false, 16)] public float rotIni; - [DNAFieldAttribute(5, "int", "percent", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "percent", "int", false, 20)] public int percent; - [DNAFieldAttribute(6, "int", "interpolation", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "interpolation", "int", false, 24)] public int interpolation; - [DNAFieldAttribute(7, "int", "uniform_scale", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "uniform_scale", "int", false, 28)] public int uniform_scale; public TransformVars() { this.ScalexIni = default; diff --git a/BlendFile/DNA/TreeStore.cs b/BlendFile/DNA/TreeStore.cs index 35278fc..5dd2922 100644 --- a/BlendFile/DNA/TreeStore.cs +++ b/BlendFile/DNA/TreeStore.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(775, "TreeStore", 16)] public class TreeStore { - [DNAFieldAttribute(0, "int", "totelem", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "totelem", "int", false, 0)] public int totelem; - [DNAFieldAttribute(1, "int", "usedelem", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "usedelem", "int", false, 4)] public int usedelem; - [DNAFieldAttribute(2, "TreeStoreElem", "*data", "TreeStoreElem", 8, true, 8)] - public TreeStoreElem ptr_data; + [DNAFieldAttribute(8, "TreeStoreElem", 2, "*data", "TreeStoreElem", true, 8)] + public TreeStoreElem data; public TreeStore() { this.totelem = default; this.usedelem = default; - this.ptr_data = default; + this.data = default; } - public TreeStore(int totelem, int usedelem, TreeStoreElem ptr_data) { + public TreeStore(int totelem, int usedelem, TreeStoreElem data) { this.totelem = totelem; this.usedelem = usedelem; - this.ptr_data = ptr_data; + this.data = data; } } } diff --git a/BlendFile/DNA/TreeStoreElem.cs b/BlendFile/DNA/TreeStoreElem.cs index 0f9435b..cd259b4 100644 --- a/BlendFile/DNA/TreeStoreElem.cs +++ b/BlendFile/DNA/TreeStoreElem.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(774, "TreeStoreElem", 16)] public class TreeStoreElem { - [DNAFieldAttribute(0, "short", "type", "short", 2, false, 0)] + [DNAFieldAttribute(2, "short", 0, "type", "short", false, 0)] public short type; - [DNAFieldAttribute(1, "short", "nr", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "nr", "short", false, 2)] public short nr; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 4)] public short flag; - [DNAFieldAttribute(3, "short", "used", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "used", "short", false, 6)] public short used; - [DNAFieldAttribute(4, "ID", "*id", "ID", 8, true, 8)] - public ID ptr_id; + [DNAFieldAttribute(8, "ID", 4, "*id", "ID", true, 8)] + public ID id; public TreeStoreElem() { this.type = default; this.nr = default; this.flag = default; this.used = default; - this.ptr_id = default; + this.id = default; } - public TreeStoreElem(short type, short nr, short flag, short used, ID ptr_id) { + public TreeStoreElem(short type, short nr, short flag, short used, ID id) { this.type = type; this.nr = nr; this.flag = flag; this.used = used; - this.ptr_id = ptr_id; + this.id = id; } } } diff --git a/BlendFile/DNA/TriangulateModifierData.cs b/BlendFile/DNA/TriangulateModifierData.cs index 345fe30..6bdb9be 100644 --- a/BlendFile/DNA/TriangulateModifierData.cs +++ b/BlendFile/DNA/TriangulateModifierData.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(498, "TriangulateModifierData", 136)] - public struct TriangulateModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class TriangulateModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(2, "int", "quad_method", "int", 4, false, 124)] + [DNAFieldAttribute(4, "int", 2, "quad_method", "int", false, 124)] public int quad_method; - [DNAFieldAttribute(3, "int", "ngon_method", "int", 4, false, 128)] + [DNAFieldAttribute(4, "int", 3, "ngon_method", "int", false, 128)] public int ngon_method; - [DNAFieldAttribute(4, "int", "min_vertices", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 4, "min_vertices", "int", false, 132)] public int min_vertices; public TriangulateModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/UVProjectModifierData.cs b/BlendFile/DNA/UVProjectModifierData.cs index 132344d..a800e50 100644 --- a/BlendFile/DNA/UVProjectModifierData.cs +++ b/BlendFile/DNA/UVProjectModifierData.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(456, "UVProjectModifierData", 296)] public class UVProjectModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*projectors[10]", "Object[]", 80, true, 120)] - public Object[] ptr_project = new Object[10]; - [DNAFieldAttribute(2, "char", "_pad2[4]", "System.Char[]", 4, false, 200)] + [DNAFieldAttribute(80, "Object", 1, "*projectors[10]", "Object[]", true, 120)] + public Object[] projectors = new Object[10]; + [DNAFieldAttribute(4, "char", 2, "_pad2[4]", "System.Char[]", false, 200)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(3, "int", "num_projectors", "int", 4, false, 204)] + [DNAFieldAttribute(4, "int", 3, "num_projectors", "int", false, 204)] public int num_projectors; - [DNAFieldAttribute(4, "float", "aspectx", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 4, "aspectx", "float", false, 208)] public float aspectx; - [DNAFieldAttribute(5, "float", "aspecty", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 5, "aspecty", "float", false, 212)] public float aspecty; - [DNAFieldAttribute(6, "float", "scalex", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 6, "scalex", "float", false, 216)] public float scalex; - [DNAFieldAttribute(7, "float", "scaley", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 7, "scaley", "float", false, 220)] public float scaley; - [DNAFieldAttribute(8, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 224)] + [DNAFieldAttribute(68, "char", 8, "uvlayer_name[68]", "System.Char[]", false, 224)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(9, "int", "uvlayer_tmp", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 9, "uvlayer_tmp", "int", false, 292)] public int uvlayer_tmp; public UVProjectModifierData() { this.modifier = default; - this.ptr_project = default; + this.projectors = default; this._pad2 = default; this.num_projectors = default; this.aspectx = default; @@ -47,9 +47,9 @@ namespace BlendFile.DNA { 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) { + public UVProjectModifierData(ModifierData modifier, Object[] projectors, 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; + this.projectors = projectors; this._pad2 = _pad2; this.num_projectors = num_projectors; this.aspectx = aspectx; diff --git a/BlendFile/DNA/UVWarpModifierData.cs b/BlendFile/DNA/UVWarpModifierData.cs index cbbc9d4..6bf09df 100644 --- a/BlendFile/DNA/UVWarpModifierData.cs +++ b/BlendFile/DNA/UVWarpModifierData.cs @@ -15,35 +15,35 @@ namespace BlendFile.DNA { [DNAClassAttribute(502, "UVWarpModifierData", 432)] public class UVWarpModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "axis_u", "char", 1, false, 120)] + [DNAFieldAttribute(1, "char", 1, "axis_u", "char", false, 120)] public char axis_u; - [DNAFieldAttribute(2, "char", "axis_v", "char", 1, false, 121)] + [DNAFieldAttribute(1, "char", 2, "axis_v", "char", false, 121)] public char axis_v; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 122)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 122)] public short flag; - [DNAFieldAttribute(4, "float", "center[2]", "System.Single[]", 8, false, 124)] + [DNAFieldAttribute(8, "float", 4, "center[2]", "System.Single[]", false, 124)] public float[] center = new System.Single[2]; - [DNAFieldAttribute(5, "float", "offset[2]", "System.Single[]", 8, false, 132)] + [DNAFieldAttribute(8, "float", 5, "offset[2]", "System.Single[]", false, 132)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(6, "float", "scale[2]", "System.Single[]", 8, false, 140)] + [DNAFieldAttribute(8, "float", 6, "scale[2]", "System.Single[]", false, 140)] public float[] scale = new System.Single[2]; - [DNAFieldAttribute(7, "float", "rotation", "float", 4, false, 148)] + [DNAFieldAttribute(4, "float", 7, "rotation", "float", false, 148)] public float rotation; - [DNAFieldAttribute(8, "Object", "*object_src", "Object", 8, true, 152)] - public Object ptr_object_src; - [DNAFieldAttribute(9, "char", "bone_src[64]", "System.Char[]", 64, false, 160)] + [DNAFieldAttribute(8, "Object", 8, "*object_src", "Object", true, 152)] + public Object object_src; + [DNAFieldAttribute(64, "char", 9, "bone_src[64]", "System.Char[]", false, 160)] public char[] bone_src = new System.Char[64]; - [DNAFieldAttribute(10, "Object", "*object_dst", "Object", 8, true, 224)] - public Object ptr_object_dst; - [DNAFieldAttribute(11, "char", "bone_dst[64]", "System.Char[]", 64, false, 232)] + [DNAFieldAttribute(8, "Object", 10, "*object_dst", "Object", true, 224)] + public Object object_dst; + [DNAFieldAttribute(64, "char", 11, "bone_dst[64]", "System.Char[]", false, 232)] public char[] bone_dst = new System.Char[64]; - [DNAFieldAttribute(12, "char", "vgroup_name[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(64, "char", 12, "vgroup_name[64]", "System.Char[]", false, 296)] public char[] vgroup_name = new System.Char[64]; - [DNAFieldAttribute(13, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 360)] + [DNAFieldAttribute(68, "char", 13, "uvlayer_name[68]", "System.Char[]", false, 360)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(14, "char", "_pad[4]", "System.Char[]", 4, false, 428)] + [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 428)] public char[] _pad = new System.Char[4]; public UVWarpModifierData() { this.modifier = default; @@ -54,15 +54,15 @@ namespace BlendFile.DNA { this.offset = default; this.scale = default; this.rotation = default; - this.ptr_object_src = default; + this.object_src = default; this.bone_src = default; - this.ptr_object_dst = default; + this.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) { + public UVWarpModifierData(ModifierData modifier, char axis_u, char axis_v, short flag, float[] center, float[] offset, float[] scale, float rotation, Object object_src, char[] bone_src, Object object_dst, char[] bone_dst, char[] vgroup_name, char[] uvlayer_name, char[] _pad) { this.modifier = modifier; this.axis_u = axis_u; this.axis_v = axis_v; @@ -71,9 +71,9 @@ namespace BlendFile.DNA { this.offset = offset; this.scale = scale; this.rotation = rotation; - this.ptr_object_src = ptr_object_src; + this.object_src = object_src; this.bone_src = bone_src; - this.ptr_object_dst = ptr_object_dst; + this.object_dst = object_dst; this.bone_dst = bone_dst; this.vgroup_name = vgroup_name; this.uvlayer_name = uvlayer_name; diff --git a/BlendFile/DNA/UnifiedPaintSettings.cs b/BlendFile/DNA/UnifiedPaintSettings.cs index ac9191e..95cbccc 100644 --- a/BlendFile/DNA/UnifiedPaintSettings.cs +++ b/BlendFile/DNA/UnifiedPaintSettings.cs @@ -15,70 +15,70 @@ namespace BlendFile.DNA { [DNAClassAttribute(823, "UnifiedPaintSettings", 168)] public class UnifiedPaintSettings { - [DNAFieldAttribute(0, "int", "size", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "size", "int", false, 0)] public int size; - [DNAFieldAttribute(1, "float", "unprojected_radius", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "unprojected_radius", "float", false, 4)] public float unprojected_radius; - [DNAFieldAttribute(2, "float", "alpha", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "alpha", "float", false, 8)] public float alpha; - [DNAFieldAttribute(3, "float", "weight", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "weight", "float", false, 12)] public float weight; - [DNAFieldAttribute(4, "float", "rgb[3]", "System.Single[]", 12, false, 16)] + [DNAFieldAttribute(12, "float", 4, "rgb[3]", "System.Single[]", false, 16)] public float[] rgb = new System.Single[3]; - [DNAFieldAttribute(5, "float", "secondary_rgb[3]", "System.Single[]", 12, false, 28)] + [DNAFieldAttribute(12, "float", 5, "secondary_rgb[3]", "System.Single[]", false, 28)] public float[] secondary_rgb = new System.Single[3]; - [DNAFieldAttribute(6, "int", "input_samples", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 6, "input_samples", "int", false, 40)] public int input_samples; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 44)] public int flag; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 48)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 48)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(9, "float", "last_rake[2]", "System.Single[]", 8, false, 52)] + [DNAFieldAttribute(8, "float", 9, "last_rake[2]", "System.Single[]", false, 52)] public float[] last_rake = new System.Single[2]; - [DNAFieldAttribute(10, "float", "last_rake_angle", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 10, "last_rake_angle", "float", false, 60)] public float last_rake_angle; - [DNAFieldAttribute(11, "int", "last_stroke_valid", "int", 4, false, 64)] + [DNAFieldAttribute(4, "int", 11, "last_stroke_valid", "int", false, 64)] public int last_stroke_valid; - [DNAFieldAttribute(12, "float", "average_stroke_accum[3]", "System.Single[]", 12, false, 68)] + [DNAFieldAttribute(12, "float", 12, "average_stroke_accum[3]", "System.Single[]", false, 68)] public float[] average_stroke_accum = new System.Single[3]; - [DNAFieldAttribute(13, "int", "average_stroke_counter", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 13, "average_stroke_counter", "int", false, 80)] public int average_stroke_counter; - [DNAFieldAttribute(14, "float", "brush_rotation", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 14, "brush_rotation", "float", false, 84)] public float brush_rotation; - [DNAFieldAttribute(15, "float", "brush_rotation_sec", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 15, "brush_rotation_sec", "float", false, 88)] public float brush_rotation_sec; - [DNAFieldAttribute(16, "int", "anchored_size", "int", 4, false, 92)] + [DNAFieldAttribute(4, "int", 16, "anchored_size", "int", false, 92)] public int anchored_size; - [DNAFieldAttribute(17, "float", "overlap_factor", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 17, "overlap_factor", "float", false, 96)] public float overlap_factor; - [DNAFieldAttribute(18, "char", "draw_inverted", "char", 1, false, 100)] + [DNAFieldAttribute(1, "char", 18, "draw_inverted", "char", false, 100)] public char draw_inverted; - [DNAFieldAttribute(19, "char", "stroke_active", "char", 1, false, 101)] + [DNAFieldAttribute(1, "char", 19, "stroke_active", "char", false, 101)] public char stroke_active; - [DNAFieldAttribute(20, "char", "draw_anchored", "char", 1, false, 102)] + [DNAFieldAttribute(1, "char", 20, "draw_anchored", "char", false, 102)] public char draw_anchored; - [DNAFieldAttribute(21, "char", "do_linear_conversion", "char", 1, false, 103)] + [DNAFieldAttribute(1, "char", 21, "do_linear_conversion", "char", false, 103)] public char do_linear_conversion; - [DNAFieldAttribute(22, "float", "last_location[3]", "System.Single[]", 12, false, 104)] + [DNAFieldAttribute(12, "float", 22, "last_location[3]", "System.Single[]", false, 104)] public float[] last_location = new System.Single[3]; - [DNAFieldAttribute(23, "int", "last_hit", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 23, "last_hit", "int", false, 116)] public int last_hit; - [DNAFieldAttribute(24, "float", "anchored_initial_mouse[2]", "System.Single[]", 8, false, 120)] + [DNAFieldAttribute(8, "float", 24, "anchored_initial_mouse[2]", "System.Single[]", false, 120)] public float[] anchored_initial_mouse = new System.Single[2]; - [DNAFieldAttribute(25, "float", "pixel_radius", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 25, "pixel_radius", "float", false, 128)] public float pixel_radius; - [DNAFieldAttribute(26, "float", "initial_pixel_radius", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 26, "initial_pixel_radius", "float", false, 132)] public float initial_pixel_radius; - [DNAFieldAttribute(27, "float", "start_pixel_radius", "float", 4, false, 136)] + [DNAFieldAttribute(4, "float", 27, "start_pixel_radius", "float", false, 136)] public float start_pixel_radius; - [DNAFieldAttribute(28, "float", "size_pressure_value", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 28, "size_pressure_value", "float", false, 140)] public float size_pressure_value; - [DNAFieldAttribute(29, "float", "tex_mouse[2]", "System.Single[]", 8, false, 144)] + [DNAFieldAttribute(8, "float", 29, "tex_mouse[2]", "System.Single[]", false, 144)] public float[] tex_mouse = new System.Single[2]; - [DNAFieldAttribute(30, "float", "mask_tex_mouse[2]", "System.Single[]", 8, false, 152)] + [DNAFieldAttribute(8, "float", 30, "mask_tex_mouse[2]", "System.Single[]", false, 152)] public float[] mask_tex_mouse = new System.Single[2]; - [DNAFieldAttribute(31, "ColorSpace", "*colorspace", "ColorSpace", 8, true, 160)] - public ColorSpace ptr_colorspace; + [DNAFieldAttribute(8, "ColorSpace", 31, "*colorspace", "ColorSpace", true, 160)] + public ColorSpace colorspace; public UnifiedPaintSettings() { this.size = default; this.unprojected_radius = default; @@ -111,7 +111,7 @@ namespace BlendFile.DNA { this.size_pressure_value = default; this.tex_mouse = default; this.mask_tex_mouse = default; - this.ptr_colorspace = default; + this.colorspace = default; } public UnifiedPaintSettings( int size, @@ -145,7 +145,7 @@ namespace BlendFile.DNA { float size_pressure_value, float[] tex_mouse, float[] mask_tex_mouse, - ColorSpace ptr_colorspace) { + ColorSpace colorspace) { this.size = size; this.unprojected_radius = unprojected_radius; this.alpha = alpha; @@ -177,7 +177,7 @@ namespace BlendFile.DNA { this.size_pressure_value = size_pressure_value; this.tex_mouse = tex_mouse; this.mask_tex_mouse = mask_tex_mouse; - this.ptr_colorspace = ptr_colorspace; + this.colorspace = colorspace; } } } diff --git a/BlendFile/DNA/UnitSettings.cs b/BlendFile/DNA/UnitSettings.cs index 3f5b3b1..26bfd2c 100644 --- a/BlendFile/DNA/UnitSettings.cs +++ b/BlendFile/DNA/UnitSettings.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(829, "UnitSettings", 16)] - public struct UnitSettings { - [DNAFieldAttribute(0, "float", "scale_length", "float", 4, false, 0)] + public class UnitSettings { + [DNAFieldAttribute(4, "float", 0, "scale_length", "float", false, 0)] public float scale_length; - [DNAFieldAttribute(1, "char", "system", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 1, "system", "char", false, 4)] public char system; - [DNAFieldAttribute(2, "char", "system_rotation", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 2, "system_rotation", "char", false, 5)] public char system_rotation; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 6)] public short flag; - [DNAFieldAttribute(4, "char", "length_unit", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 4, "length_unit", "char", false, 8)] public char length_unit; - [DNAFieldAttribute(5, "char", "mass_unit", "char", 1, false, 9)] + [DNAFieldAttribute(1, "char", 5, "mass_unit", "char", false, 9)] public char mass_unit; - [DNAFieldAttribute(6, "char", "time_unit", "char", 1, false, 10)] + [DNAFieldAttribute(1, "char", 6, "time_unit", "char", false, 10)] public char time_unit; - [DNAFieldAttribute(7, "char", "temperature_unit", "char", 1, false, 11)] + [DNAFieldAttribute(1, "char", 7, "temperature_unit", "char", false, 11)] public char temperature_unit; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public UnitSettings() { this.scale_length = default; diff --git a/BlendFile/DNA/UserDef.cs b/BlendFile/DNA/UserDef.cs index 74697da..c8fe70c 100644 --- a/BlendFile/DNA/UserDef.cs +++ b/BlendFile/DNA/UserDef.cs @@ -15,353 +15,353 @@ namespace BlendFile.DNA { [DNAClassAttribute(1015, "UserDef", 14616)] public class UserDef { - [DNAFieldAttribute(0, "int", "versionfile", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "versionfile", "int", false, 0)] public int versionfile; - [DNAFieldAttribute(1, "int", "subversionfile", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "subversionfile", "int", false, 4)] public int subversionfile; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(3, "int", "dupflag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "dupflag", "int", false, 12)] public int dupflag; - [DNAFieldAttribute(4, "char", "pref_flag", "char", 1, false, 16)] + [DNAFieldAttribute(1, "char", 4, "pref_flag", "char", false, 16)] public char pref_flag; - [DNAFieldAttribute(5, "char", "savetime", "char", 1, false, 17)] + [DNAFieldAttribute(1, "char", 5, "savetime", "char", false, 17)] public char savetime; - [DNAFieldAttribute(6, "char", "mouse_emulate_3_button_modifier", "char", 1, false, 18)] + [DNAFieldAttribute(1, "char", 6, "mouse_emulate_3_button_modifier", "char", false, 18)] public char mouse_emulate_3_button_modifier; - [DNAFieldAttribute(7, "char", "trackpad_scroll_direction", "char", 1, false, 19)] + [DNAFieldAttribute(1, "char", 7, "trackpad_scroll_direction", "char", false, 19)] public char trackpad_scroll_direction; - [DNAFieldAttribute(8, "char", "tempdir[768]", "System.Char[]", 768, false, 20)] + [DNAFieldAttribute(768, "char", 8, "tempdir[768]", "System.Char[]", false, 20)] public char[] tempdir = new System.Char[768]; - [DNAFieldAttribute(9, "char", "fontdir[768]", "System.Char[]", 768, false, 788)] + [DNAFieldAttribute(768, "char", 9, "fontdir[768]", "System.Char[]", false, 788)] public char[] fontdir = new System.Char[768]; - [DNAFieldAttribute(10, "char", "renderdir[1024]", "System.Char[]", 1024, false, 1556)] + [DNAFieldAttribute(1024, "char", 10, "renderdir[1024]", "System.Char[]", false, 1556)] public char[] renderdir = new System.Char[1024]; - [DNAFieldAttribute(11, "char", "render_cachedir[768]", "System.Char[]", 768, false, 2580)] + [DNAFieldAttribute(768, "char", 11, "render_cachedir[768]", "System.Char[]", false, 2580)] public char[] render_cachedir = new System.Char[768]; - [DNAFieldAttribute(12, "char", "textudir[768]", "System.Char[]", 768, false, 3348)] + [DNAFieldAttribute(768, "char", 12, "textudir[768]", "System.Char[]", false, 3348)] public char[] textudir = new System.Char[768]; - [DNAFieldAttribute(13, "char", "pythondir[768]", "System.Char[]", 768, false, 4116)] + [DNAFieldAttribute(768, "char", 13, "pythondir[768]", "System.Char[]", false, 4116)] public char[] pythondir = new System.Char[768]; - [DNAFieldAttribute(14, "char", "sounddir[768]", "System.Char[]", 768, false, 4884)] + [DNAFieldAttribute(768, "char", 14, "sounddir[768]", "System.Char[]", false, 4884)] public char[] sounddir = new System.Char[768]; - [DNAFieldAttribute(15, "char", "i18ndir[768]", "System.Char[]", 768, false, 5652)] + [DNAFieldAttribute(768, "char", 15, "i18ndir[768]", "System.Char[]", false, 5652)] public char[] i18ndir = new System.Char[768]; - [DNAFieldAttribute(16, "char", "image_editor[1024]", "System.Char[]", 1024, false, 6420)] + [DNAFieldAttribute(1024, "char", 16, "image_editor[1024]", "System.Char[]", false, 6420)] public char[] image_editor = new System.Char[1024]; - [DNAFieldAttribute(17, "char", "text_editor[1024]", "System.Char[]", 1024, false, 7444)] + [DNAFieldAttribute(1024, "char", 17, "text_editor[1024]", "System.Char[]", false, 7444)] public char[] text_editor = new System.Char[1024]; - [DNAFieldAttribute(18, "char", "text_editor_args[256]", "System.Char[]", 256, false, 8468)] + [DNAFieldAttribute(256, "char", 18, "text_editor_args[256]", "System.Char[]", false, 8468)] public char[] text_editor_args = new System.Char[256]; - [DNAFieldAttribute(19, "char", "anim_player[1024]", "System.Char[]", 1024, false, 8724)] + [DNAFieldAttribute(1024, "char", 19, "anim_player[1024]", "System.Char[]", false, 8724)] public char[] anim_player = new System.Char[1024]; - [DNAFieldAttribute(20, "int", "anim_player_preset", "int", 4, false, 9748)] + [DNAFieldAttribute(4, "int", 20, "anim_player_preset", "int", false, 9748)] public int anim_player_preset; - [DNAFieldAttribute(21, "short", "v2d_min_gridsize", "short", 2, false, 9752)] + [DNAFieldAttribute(2, "short", 21, "v2d_min_gridsize", "short", false, 9752)] public short v2d_min_gridsize; - [DNAFieldAttribute(22, "short", "timecode_style", "short", 2, false, 9754)] + [DNAFieldAttribute(2, "short", 22, "timecode_style", "short", false, 9754)] public short timecode_style; - [DNAFieldAttribute(23, "short", "versions", "short", 2, false, 9756)] + [DNAFieldAttribute(2, "short", 23, "versions", "short", false, 9756)] public short versions; - [DNAFieldAttribute(24, "short", "dbl_click_time", "short", 2, false, 9758)] + [DNAFieldAttribute(2, "short", 24, "dbl_click_time", "short", false, 9758)] public short dbl_click_time; - [DNAFieldAttribute(25, "char", "_pad0[3]", "System.Char[]", 3, false, 9760)] + [DNAFieldAttribute(3, "char", 25, "_pad0[3]", "System.Char[]", false, 9760)] public char[] _pad0 = new System.Char[3]; - [DNAFieldAttribute(26, "char", "mini_axis_type", "char", 1, false, 9763)] + [DNAFieldAttribute(1, "char", 26, "mini_axis_type", "char", false, 9763)] public char mini_axis_type; - [DNAFieldAttribute(27, "int", "uiflag", "int", 4, false, 9764)] + [DNAFieldAttribute(4, "int", 27, "uiflag", "int", false, 9764)] public int uiflag; - [DNAFieldAttribute(28, "char", "uiflag2", "char", 1, false, 9768)] + [DNAFieldAttribute(1, "char", 28, "uiflag2", "char", false, 9768)] public char uiflag2; - [DNAFieldAttribute(29, "char", "gpu_flag", "char", 1, false, 9769)] + [DNAFieldAttribute(1, "char", 29, "gpu_flag", "char", false, 9769)] public char gpu_flag; - [DNAFieldAttribute(30, "char", "_pad8[6]", "System.Char[]", 6, false, 9770)] + [DNAFieldAttribute(6, "char", 30, "_pad8[6]", "System.Char[]", false, 9770)] public char[] _pad8 = new System.Char[6]; - [DNAFieldAttribute(31, "char", "app_flag", "char", 1, false, 9776)] + [DNAFieldAttribute(1, "char", 31, "app_flag", "char", false, 9776)] public char app_flag; - [DNAFieldAttribute(32, "char", "viewzoom", "char", 1, false, 9777)] + [DNAFieldAttribute(1, "char", 32, "viewzoom", "char", false, 9777)] public char viewzoom; - [DNAFieldAttribute(33, "short", "language", "short", 2, false, 9778)] + [DNAFieldAttribute(2, "short", 33, "language", "short", false, 9778)] public short language; - [DNAFieldAttribute(34, "int", "mixbufsize", "int", 4, false, 9780)] + [DNAFieldAttribute(4, "int", 34, "mixbufsize", "int", false, 9780)] public int mixbufsize; - [DNAFieldAttribute(35, "int", "audiodevice", "int", 4, false, 9784)] + [DNAFieldAttribute(4, "int", 35, "audiodevice", "int", false, 9784)] public int audiodevice; - [DNAFieldAttribute(36, "int", "audiorate", "int", 4, false, 9788)] + [DNAFieldAttribute(4, "int", 36, "audiorate", "int", false, 9788)] public int audiorate; - [DNAFieldAttribute(37, "int", "audioformat", "int", 4, false, 9792)] + [DNAFieldAttribute(4, "int", 37, "audioformat", "int", false, 9792)] public int audioformat; - [DNAFieldAttribute(38, "int", "audiochannels", "int", 4, false, 9796)] + [DNAFieldAttribute(4, "int", 38, "audiochannels", "int", false, 9796)] public int audiochannels; - [DNAFieldAttribute(39, "float", "ui_scale", "float", 4, false, 9800)] + [DNAFieldAttribute(4, "float", 39, "ui_scale", "float", false, 9800)] public float ui_scale; - [DNAFieldAttribute(40, "int", "ui_line_width", "int", 4, false, 9804)] + [DNAFieldAttribute(4, "int", 40, "ui_line_width", "int", false, 9804)] public int ui_line_width; - [DNAFieldAttribute(41, "int", "dpi", "int", 4, false, 9808)] + [DNAFieldAttribute(4, "int", 41, "dpi", "int", false, 9808)] public int dpi; - [DNAFieldAttribute(42, "float", "scale_factor", "float", 4, false, 9812)] + [DNAFieldAttribute(4, "float", 42, "scale_factor", "float", false, 9812)] public float scale_factor; - [DNAFieldAttribute(43, "float", "inv_scale_factor", "float", 4, false, 9816)] + [DNAFieldAttribute(4, "float", 43, "inv_scale_factor", "float", false, 9816)] public float inv_scale_factor; - [DNAFieldAttribute(44, "float", "pixelsize", "float", 4, false, 9820)] + [DNAFieldAttribute(4, "float", 44, "pixelsize", "float", false, 9820)] public float pixelsize; - [DNAFieldAttribute(45, "int", "virtual_pixel", "int", 4, false, 9824)] + [DNAFieldAttribute(4, "int", 45, "virtual_pixel", "int", false, 9824)] public int virtual_pixel; - [DNAFieldAttribute(46, "int", "scrollback", "int", 4, false, 9828)] + [DNAFieldAttribute(4, "int", 46, "scrollback", "int", false, 9828)] public int scrollback; - [DNAFieldAttribute(47, "char", "node_margin", "char", 1, false, 9832)] + [DNAFieldAttribute(1, "char", 47, "node_margin", "char", false, 9832)] public char node_margin; - [DNAFieldAttribute(48, "char", "node_preview_res", "char", 1, false, 9833)] + [DNAFieldAttribute(1, "char", 48, "node_preview_res", "char", false, 9833)] public char node_preview_res; - [DNAFieldAttribute(49, "short", "transopts", "short", 2, false, 9834)] + [DNAFieldAttribute(2, "short", 49, "transopts", "short", false, 9834)] public short transopts; - [DNAFieldAttribute(50, "short", "menuthreshold1", "short", 2, false, 9836)] + [DNAFieldAttribute(2, "short", 50, "menuthreshold1", "short", false, 9836)] public short menuthreshold1; - [DNAFieldAttribute(51, "short", "menuthreshold2", "short", 2, false, 9838)] + [DNAFieldAttribute(2, "short", 51, "menuthreshold2", "short", false, 9838)] public short menuthreshold2; - [DNAFieldAttribute(52, "char", "app_template[64]", "System.Char[]", 64, false, 9840)] + [DNAFieldAttribute(64, "char", 52, "app_template[64]", "System.Char[]", false, 9840)] public char[] app_template = new System.Char[64]; - [DNAFieldAttribute(53, "ListBase", "themes", "ListBase", 16, false, 9904)] + [DNAFieldAttribute(16, "ListBase", 53, "themes", "ListBase", false, 9904)] public ListBase themes; - [DNAFieldAttribute(54, "ListBase", "uifonts", "ListBase", 16, false, 9920)] + [DNAFieldAttribute(16, "ListBase", 54, "uifonts", "ListBase", false, 9920)] public ListBase uifonts; - [DNAFieldAttribute(55, "ListBase", "uistyles", "ListBase", 16, false, 9936)] + [DNAFieldAttribute(16, "ListBase", 55, "uistyles", "ListBase", false, 9936)] public ListBase uistyles; - [DNAFieldAttribute(56, "ListBase", "user_keymaps", "ListBase", 16, false, 9952)] + [DNAFieldAttribute(16, "ListBase", 56, "user_keymaps", "ListBase", false, 9952)] public ListBase user_keymaps; - [DNAFieldAttribute(57, "ListBase", "user_keyconfig_prefs", "ListBase", 16, false, 9968)] + [DNAFieldAttribute(16, "ListBase", 57, "user_keyconfig_prefs", "ListBase", false, 9968)] public ListBase user_keyconfig_prefs; - [DNAFieldAttribute(58, "ListBase", "addons", "ListBase", 16, false, 9984)] + [DNAFieldAttribute(16, "ListBase", 58, "addons", "ListBase", false, 9984)] public ListBase addons; - [DNAFieldAttribute(59, "ListBase", "autoexec_paths", "ListBase", 16, false, 10000)] + [DNAFieldAttribute(16, "ListBase", 59, "autoexec_paths", "ListBase", false, 10000)] public ListBase autoexec_paths; - [DNAFieldAttribute(60, "ListBase", "script_directories", "ListBase", 16, false, 10016)] + [DNAFieldAttribute(16, "ListBase", 60, "script_directories", "ListBase", false, 10016)] public ListBase script_directories; - [DNAFieldAttribute(61, "ListBase", "user_menus", "ListBase", 16, false, 10032)] + [DNAFieldAttribute(16, "ListBase", 61, "user_menus", "ListBase", false, 10032)] public ListBase user_menus; - [DNAFieldAttribute(62, "ListBase", "asset_libraries", "ListBase", 16, false, 10048)] + [DNAFieldAttribute(16, "ListBase", 62, "asset_libraries", "ListBase", false, 10048)] public ListBase asset_libraries; - [DNAFieldAttribute(63, "ListBase", "extension_repos", "ListBase", 16, false, 10064)] + [DNAFieldAttribute(16, "ListBase", 63, "extension_repos", "ListBase", false, 10064)] public ListBase extension_repos; - [DNAFieldAttribute(64, "ListBase", "asset_shelves_settings", "ListBase", 16, false, 10080)] + [DNAFieldAttribute(16, "ListBase", 64, "asset_shelves_settings", "ListBase", false, 10080)] public ListBase asset_shelves_settings; - [DNAFieldAttribute(65, "char", "keyconfigstr[64]", "System.Char[]", 64, false, 10096)] + [DNAFieldAttribute(64, "char", 65, "keyconfigstr[64]", "System.Char[]", false, 10096)] public char[] keyconfigstr = new System.Char[64]; - [DNAFieldAttribute(66, "short", "active_asset_library", "short", 2, false, 10160)] + [DNAFieldAttribute(2, "short", 66, "active_asset_library", "short", false, 10160)] public short active_asset_library; - [DNAFieldAttribute(67, "short", "active_extension_repo", "short", 2, false, 10162)] + [DNAFieldAttribute(2, "short", 67, "active_extension_repo", "short", false, 10162)] public short active_extension_repo; - [DNAFieldAttribute(68, "char", "extension_flag", "char", 1, false, 10164)] + [DNAFieldAttribute(1, "char", 68, "extension_flag", "char", false, 10164)] public char extension_flag; - [DNAFieldAttribute(69, "uchar", "network_timeout", "uchar", 1, false, 10165)] + [DNAFieldAttribute(1, "uchar", 69, "network_timeout", "uchar", false, 10165)] public byte network_timeout; - [DNAFieldAttribute(70, "uchar", "network_connection_limit", "uchar", 1, false, 10166)] + [DNAFieldAttribute(1, "uchar", 70, "network_connection_limit", "uchar", false, 10166)] public byte network_connection_limit; - [DNAFieldAttribute(71, "char", "_pad14[3]", "System.Char[]", 3, false, 10167)] + [DNAFieldAttribute(3, "char", 71, "_pad14[3]", "System.Char[]", false, 10167)] public char[] _pad14 = new System.Char[3]; - [DNAFieldAttribute(72, "short", "undosteps", "short", 2, false, 10170)] + [DNAFieldAttribute(2, "short", 72, "undosteps", "short", false, 10170)] public short undosteps; - [DNAFieldAttribute(73, "int", "undomemory", "int", 4, false, 10172)] + [DNAFieldAttribute(4, "int", 73, "undomemory", "int", false, 10172)] public int undomemory; - [DNAFieldAttribute(74, "float", "gpu_viewport_quality", "float", 4, false, 10176)] + [DNAFieldAttribute(4, "float", 74, "gpu_viewport_quality", "float", false, 10176)] public float gpu_viewport_quality; - [DNAFieldAttribute(75, "short", "gp_manhattendist", "short", 2, false, 10180)] + [DNAFieldAttribute(2, "short", 75, "gp_manhattendist", "short", false, 10180)] public short gp_manhattendist; - [DNAFieldAttribute(76, "short", "gp_euclideandist", "short", 2, false, 10182)] + [DNAFieldAttribute(2, "short", 76, "gp_euclideandist", "short", false, 10182)] public short gp_euclideandist; - [DNAFieldAttribute(77, "short", "gp_eraser", "short", 2, false, 10184)] + [DNAFieldAttribute(2, "short", 77, "gp_eraser", "short", false, 10184)] public short gp_eraser; - [DNAFieldAttribute(78, "short", "gp_settings", "short", 2, false, 10186)] + [DNAFieldAttribute(2, "short", 78, "gp_settings", "short", false, 10186)] public short gp_settings; - [DNAFieldAttribute(79, "char", "_pad13[4]", "System.Char[]", 4, false, 10188)] + [DNAFieldAttribute(4, "char", 79, "_pad13[4]", "System.Char[]", false, 10188)] public char[] _pad13 = new System.Char[4]; - [DNAFieldAttribute(80, "SolidLight", "light_param[4]", "SolidLight[]", 224, false, 10192)] + [DNAFieldAttribute(224, "SolidLight", 80, "light_param[4]", "SolidLight[]", false, 10192)] public SolidLight[] light_param = new SolidLight[4]; - [DNAFieldAttribute(81, "float", "light_ambient[3]", "System.Single[]", 12, false, 10416)] + [DNAFieldAttribute(12, "float", 81, "light_ambient[3]", "System.Single[]", false, 10416)] public float[] light_ambient = new System.Single[3]; - [DNAFieldAttribute(82, "char", "gizmo_flag", "char", 1, false, 10428)] + [DNAFieldAttribute(1, "char", 82, "gizmo_flag", "char", false, 10428)] public char gizmo_flag; - [DNAFieldAttribute(83, "char", "gizmo_size", "char", 1, false, 10429)] + [DNAFieldAttribute(1, "char", 83, "gizmo_size", "char", false, 10429)] public char gizmo_size; - [DNAFieldAttribute(84, "char", "gizmo_size_navigate_v3d", "char", 1, false, 10430)] + [DNAFieldAttribute(1, "char", 84, "gizmo_size_navigate_v3d", "char", false, 10430)] public char gizmo_size_navigate_v3d; - [DNAFieldAttribute(85, "char", "_pad3[5]", "System.Char[]", 5, false, 10431)] + [DNAFieldAttribute(5, "char", 85, "_pad3[5]", "System.Char[]", false, 10431)] public char[] _pad3 = new System.Char[5]; - [DNAFieldAttribute(86, "short", "edit_studio_light", "short", 2, false, 10436)] + [DNAFieldAttribute(2, "short", 86, "edit_studio_light", "short", false, 10436)] public short edit_studio_light; - [DNAFieldAttribute(87, "short", "lookdev_sphere_size", "short", 2, false, 10438)] + [DNAFieldAttribute(2, "short", 87, "lookdev_sphere_size", "short", false, 10438)] public short lookdev_sphere_size; - [DNAFieldAttribute(88, "short", "vbotimeout", "short", 2, false, 10440)] + [DNAFieldAttribute(2, "short", 88, "vbotimeout", "short", false, 10440)] public short vbotimeout; - [DNAFieldAttribute(89, "short", "vbocollectrate", "short", 2, false, 10442)] + [DNAFieldAttribute(2, "short", 89, "vbocollectrate", "short", false, 10442)] public short vbocollectrate; - [DNAFieldAttribute(90, "short", "textimeout", "short", 2, false, 10444)] + [DNAFieldAttribute(2, "short", 90, "textimeout", "short", false, 10444)] public short textimeout; - [DNAFieldAttribute(91, "short", "texcollectrate", "short", 2, false, 10446)] + [DNAFieldAttribute(2, "short", 91, "texcollectrate", "short", false, 10446)] public short texcollectrate; - [DNAFieldAttribute(92, "int", "memcachelimit", "int", 4, false, 10448)] + [DNAFieldAttribute(4, "int", 92, "memcachelimit", "int", false, 10448)] public int memcachelimit; - [DNAFieldAttribute(93, "int", "prefetchframes", "int", 4, false, 10452)] + [DNAFieldAttribute(4, "int", 93, "prefetchframes", "int", false, 10452)] public int prefetchframes; - [DNAFieldAttribute(94, "float", "pad_rot_angle", "float", 4, false, 10456)] + [DNAFieldAttribute(4, "float", 94, "pad_rot_angle", "float", false, 10456)] public float pad_rot_angle; - [DNAFieldAttribute(95, "char", "_pad12[4]", "System.Char[]", 4, false, 10460)] + [DNAFieldAttribute(4, "char", 95, "_pad12[4]", "System.Char[]", false, 10460)] public char[] _pad12 = new System.Char[4]; - [DNAFieldAttribute(96, "short", "rvisize", "short", 2, false, 10464)] + [DNAFieldAttribute(2, "short", 96, "rvisize", "short", false, 10464)] public short rvisize; - [DNAFieldAttribute(97, "short", "rvibright", "short", 2, false, 10466)] + [DNAFieldAttribute(2, "short", 97, "rvibright", "short", false, 10466)] public short rvibright; - [DNAFieldAttribute(98, "short", "recent_files", "short", 2, false, 10468)] + [DNAFieldAttribute(2, "short", 98, "recent_files", "short", false, 10468)] public short recent_files; - [DNAFieldAttribute(99, "short", "smooth_viewtx", "short", 2, false, 10470)] + [DNAFieldAttribute(2, "short", 99, "smooth_viewtx", "short", false, 10470)] public short smooth_viewtx; - [DNAFieldAttribute(100, "short", "glreslimit", "short", 2, false, 10472)] + [DNAFieldAttribute(2, "short", 100, "glreslimit", "short", false, 10472)] public short glreslimit; - [DNAFieldAttribute(101, "short", "color_picker_type", "short", 2, false, 10474)] + [DNAFieldAttribute(2, "short", 101, "color_picker_type", "short", false, 10474)] public short color_picker_type; - [DNAFieldAttribute(102, "char", "auto_smoothing_new", "char", 1, false, 10476)] + [DNAFieldAttribute(1, "char", 102, "auto_smoothing_new", "char", false, 10476)] public char auto_smoothing_new; - [DNAFieldAttribute(103, "char", "ipo_new", "char", 1, false, 10477)] + [DNAFieldAttribute(1, "char", 103, "ipo_new", "char", false, 10477)] public char ipo_new; - [DNAFieldAttribute(104, "char", "keyhandles_new", "char", 1, false, 10478)] + [DNAFieldAttribute(1, "char", 104, "keyhandles_new", "char", false, 10478)] public char keyhandles_new; - [DNAFieldAttribute(105, "char", "_pad11[4]", "System.Char[]", 4, false, 10479)] + [DNAFieldAttribute(4, "char", 105, "_pad11[4]", "System.Char[]", false, 10479)] public char[] _pad11 = new System.Char[4]; - [DNAFieldAttribute(106, "char", "view_frame_type", "char", 1, false, 10483)] + [DNAFieldAttribute(1, "char", 106, "view_frame_type", "char", false, 10483)] public char view_frame_type; - [DNAFieldAttribute(107, "int", "view_frame_keyframes", "int", 4, false, 10484)] + [DNAFieldAttribute(4, "int", 107, "view_frame_keyframes", "int", false, 10484)] public int view_frame_keyframes; - [DNAFieldAttribute(108, "float", "view_frame_seconds", "float", 4, false, 10488)] + [DNAFieldAttribute(4, "float", 108, "view_frame_seconds", "float", false, 10488)] public float view_frame_seconds; - [DNAFieldAttribute(109, "int", "gpu_preferred_index", "int", 4, false, 10492)] + [DNAFieldAttribute(4, "int", 109, "gpu_preferred_index", "int", false, 10492)] public int gpu_preferred_index; - [DNAFieldAttribute(110, "int", "gpu_preferred_vendor_id", "int", 4, false, 10496)] + [DNAFieldAttribute(4, "int", 110, "gpu_preferred_vendor_id", "int", false, 10496)] public int gpu_preferred_vendor_id; - [DNAFieldAttribute(111, "int", "gpu_preferred_device_id", "int", 4, false, 10500)] + [DNAFieldAttribute(4, "int", 111, "gpu_preferred_device_id", "int", false, 10500)] public int gpu_preferred_device_id; - [DNAFieldAttribute(112, "char", "_pad16[4]", "System.Char[]", 4, false, 10504)] + [DNAFieldAttribute(4, "char", 112, "_pad16[4]", "System.Char[]", false, 10504)] public char[] _pad16 = new System.Char[4]; - [DNAFieldAttribute(113, "short", "gpu_backend", "short", 2, false, 10508)] + [DNAFieldAttribute(2, "short", 113, "gpu_backend", "short", false, 10508)] public short gpu_backend; - [DNAFieldAttribute(114, "short", "max_shader_compilation_subprocesses", "short", 2, false, 10510)] + [DNAFieldAttribute(2, "short", 114, "max_shader_compilation_subprocesses", "short", false, 10510)] public short max_shader_compilation_subprocesses; - [DNAFieldAttribute(115, "short", "playback_fps_samples", "short", 2, false, 10512)] + [DNAFieldAttribute(2, "short", 115, "playback_fps_samples", "short", false, 10512)] public short playback_fps_samples; - [DNAFieldAttribute(116, "short", "widget_unit", "short", 2, false, 10514)] + [DNAFieldAttribute(2, "short", 116, "widget_unit", "short", false, 10514)] public short widget_unit; - [DNAFieldAttribute(117, "short", "anisotropic_filter", "short", 2, false, 10516)] + [DNAFieldAttribute(2, "short", 117, "anisotropic_filter", "short", false, 10516)] public short anisotropic_filter; - [DNAFieldAttribute(118, "short", "tablet_api", "short", 2, false, 10518)] + [DNAFieldAttribute(2, "short", 118, "tablet_api", "short", false, 10518)] public short tablet_api; - [DNAFieldAttribute(119, "float", "pressure_threshold_max", "float", 4, false, 10520)] + [DNAFieldAttribute(4, "float", 119, "pressure_threshold_max", "float", false, 10520)] public float pressure_threshold_max; - [DNAFieldAttribute(120, "float", "pressure_softness", "float", 4, false, 10524)] + [DNAFieldAttribute(4, "float", 120, "pressure_softness", "float", false, 10524)] public float pressure_softness; - [DNAFieldAttribute(121, "float", "ndof_sensitivity", "float", 4, false, 10528)] + [DNAFieldAttribute(4, "float", 121, "ndof_sensitivity", "float", false, 10528)] public float ndof_sensitivity; - [DNAFieldAttribute(122, "float", "ndof_orbit_sensitivity", "float", 4, false, 10532)] + [DNAFieldAttribute(4, "float", 122, "ndof_orbit_sensitivity", "float", false, 10532)] public float ndof_orbit_sensitivity; - [DNAFieldAttribute(123, "float", "ndof_deadzone", "float", 4, false, 10536)] + [DNAFieldAttribute(4, "float", 123, "ndof_deadzone", "float", false, 10536)] public float ndof_deadzone; - [DNAFieldAttribute(124, "int", "ndof_flag", "int", 4, false, 10540)] + [DNAFieldAttribute(4, "int", 124, "ndof_flag", "int", false, 10540)] public int ndof_flag; - [DNAFieldAttribute(125, "short", "ogl_multisamples", "short", 2, false, 10544)] + [DNAFieldAttribute(2, "short", 125, "ogl_multisamples", "short", false, 10544)] public short ogl_multisamples; - [DNAFieldAttribute(126, "short", "image_draw_method", "short", 2, false, 10546)] + [DNAFieldAttribute(2, "short", 126, "image_draw_method", "short", false, 10546)] public short image_draw_method; - [DNAFieldAttribute(127, "float", "glalphaclip", "float", 4, false, 10548)] + [DNAFieldAttribute(4, "float", 127, "glalphaclip", "float", false, 10548)] public float glalphaclip; - [DNAFieldAttribute(128, "short", "autokey_mode", "short", 2, false, 10552)] + [DNAFieldAttribute(2, "short", 128, "autokey_mode", "short", false, 10552)] public short autokey_mode; - [DNAFieldAttribute(129, "short", "autokey_flag", "short", 2, false, 10554)] + [DNAFieldAttribute(2, "short", 129, "autokey_flag", "short", false, 10554)] public short autokey_flag; - [DNAFieldAttribute(130, "short", "key_insert_channels", "short", 2, false, 10556)] + [DNAFieldAttribute(2, "short", 130, "key_insert_channels", "short", false, 10556)] public short key_insert_channels; - [DNAFieldAttribute(131, "char", "_pad15[6]", "System.Char[]", 6, false, 10558)] + [DNAFieldAttribute(6, "char", 131, "_pad15[6]", "System.Char[]", false, 10558)] public char[] _pad15 = new System.Char[6]; - [DNAFieldAttribute(132, "short", "animation_flag", "short", 2, false, 10564)] + [DNAFieldAttribute(2, "short", 132, "animation_flag", "short", false, 10564)] public short animation_flag; - [DNAFieldAttribute(133, "char", "text_render", "char", 1, false, 10566)] + [DNAFieldAttribute(1, "char", 133, "text_render", "char", false, 10566)] public char text_render; - [DNAFieldAttribute(134, "char", "navigation_mode", "char", 1, false, 10567)] + [DNAFieldAttribute(1, "char", 134, "navigation_mode", "char", false, 10567)] public char navigation_mode; - [DNAFieldAttribute(135, "float", "view_rotate_sensitivity_turntable", "float", 4, false, 10568)] + [DNAFieldAttribute(4, "float", 135, "view_rotate_sensitivity_turntable", "float", false, 10568)] public float view_rotate_sensitivity_turntable; - [DNAFieldAttribute(136, "float", "view_rotate_sensitivity_trackball", "float", 4, false, 10572)] + [DNAFieldAttribute(4, "float", 136, "view_rotate_sensitivity_trackball", "float", false, 10572)] public float view_rotate_sensitivity_trackball; - [DNAFieldAttribute(137, "ColorBand", "coba_weight", "ColorBand", 776, false, 10576)] + [DNAFieldAttribute(776, "ColorBand", 137, "coba_weight", "ColorBand", false, 10576)] public ColorBand coba_weight; - [DNAFieldAttribute(138, "float", "sculpt_paint_overlay_col[3]", "System.Single[]", 12, false, 11352)] + [DNAFieldAttribute(12, "float", 138, "sculpt_paint_overlay_col[3]", "System.Single[]", false, 11352)] public float[] sculpt_paint_overlay_col = new System.Single[3]; - [DNAFieldAttribute(139, "float", "gpencil_new_layer_col[4]", "System.Single[]", 16, false, 11364)] + [DNAFieldAttribute(16, "float", 139, "gpencil_new_layer_col[4]", "System.Single[]", false, 11364)] public float[] gpencil_new_layer_col = new System.Single[4]; - [DNAFieldAttribute(140, "char", "drag_threshold_mouse", "char", 1, false, 11380)] + [DNAFieldAttribute(1, "char", 140, "drag_threshold_mouse", "char", false, 11380)] public char drag_threshold_mouse; - [DNAFieldAttribute(141, "char", "drag_threshold_tablet", "char", 1, false, 11381)] + [DNAFieldAttribute(1, "char", 141, "drag_threshold_tablet", "char", false, 11381)] public char drag_threshold_tablet; - [DNAFieldAttribute(142, "char", "drag_threshold", "char", 1, false, 11382)] + [DNAFieldAttribute(1, "char", 142, "drag_threshold", "char", false, 11382)] public char drag_threshold; - [DNAFieldAttribute(143, "char", "move_threshold", "char", 1, false, 11383)] + [DNAFieldAttribute(1, "char", 143, "move_threshold", "char", false, 11383)] public char move_threshold; - [DNAFieldAttribute(144, "char", "font_path_ui[1024]", "System.Char[]", 1024, false, 11384)] + [DNAFieldAttribute(1024, "char", 144, "font_path_ui[1024]", "System.Char[]", false, 11384)] public char[] font_path_ui = new System.Char[1024]; - [DNAFieldAttribute(145, "char", "font_path_ui_mono[1024]", "System.Char[]", 1024, false, 12408)] + [DNAFieldAttribute(1024, "char", 145, "font_path_ui_mono[1024]", "System.Char[]", false, 12408)] public char[] font_path_ui_mono = new System.Char[1024]; - [DNAFieldAttribute(146, "int", "compute_device_type", "int", 4, false, 13432)] + [DNAFieldAttribute(4, "int", 146, "compute_device_type", "int", false, 13432)] public int compute_device_type; - [DNAFieldAttribute(147, "float", "fcu_inactive_alpha", "float", 4, false, 13436)] + [DNAFieldAttribute(4, "float", 147, "fcu_inactive_alpha", "float", false, 13436)] public float fcu_inactive_alpha; - [DNAFieldAttribute(148, "short", "pie_tap_timeout", "short", 2, false, 13440)] + [DNAFieldAttribute(2, "short", 148, "pie_tap_timeout", "short", false, 13440)] public short pie_tap_timeout; - [DNAFieldAttribute(149, "short", "pie_initial_timeout", "short", 2, false, 13442)] + [DNAFieldAttribute(2, "short", 149, "pie_initial_timeout", "short", false, 13442)] public short pie_initial_timeout; - [DNAFieldAttribute(150, "short", "pie_animation_timeout", "short", 2, false, 13444)] + [DNAFieldAttribute(2, "short", 150, "pie_animation_timeout", "short", false, 13444)] public short pie_animation_timeout; - [DNAFieldAttribute(151, "short", "pie_menu_confirm", "short", 2, false, 13446)] + [DNAFieldAttribute(2, "short", 151, "pie_menu_confirm", "short", false, 13446)] public short pie_menu_confirm; - [DNAFieldAttribute(152, "short", "pie_menu_radius", "short", 2, false, 13448)] + [DNAFieldAttribute(2, "short", 152, "pie_menu_radius", "short", false, 13448)] public short pie_menu_radius; - [DNAFieldAttribute(153, "short", "pie_menu_threshold", "short", 2, false, 13450)] + [DNAFieldAttribute(2, "short", 153, "pie_menu_threshold", "short", false, 13450)] public short pie_menu_threshold; - [DNAFieldAttribute(154, "int", "sequencer_editor_flag", "int", 4, false, 13452)] + [DNAFieldAttribute(4, "int", 154, "sequencer_editor_flag", "int", false, 13452)] public int sequencer_editor_flag; - [DNAFieldAttribute(155, "char", "factor_display_type", "char", 1, false, 13456)] + [DNAFieldAttribute(1, "char", 155, "factor_display_type", "char", false, 13456)] public char factor_display_type; - [DNAFieldAttribute(156, "char", "viewport_aa", "char", 1, false, 13457)] + [DNAFieldAttribute(1, "char", 156, "viewport_aa", "char", false, 13457)] public char viewport_aa; - [DNAFieldAttribute(157, "char", "render_display_type", "char", 1, false, 13458)] + [DNAFieldAttribute(1, "char", 157, "render_display_type", "char", false, 13458)] public char render_display_type; - [DNAFieldAttribute(158, "char", "filebrowser_display_type", "char", 1, false, 13459)] + [DNAFieldAttribute(1, "char", 158, "filebrowser_display_type", "char", false, 13459)] public char filebrowser_display_type; - [DNAFieldAttribute(159, "char", "sequencer_disk_cache_dir[1024]", "System.Char[]", 1024, false, 13460)] + [DNAFieldAttribute(1024, "char", 159, "sequencer_disk_cache_dir[1024]", "System.Char[]", false, 13460)] public char[] sequencer_disk_cache_dir = new System.Char[1024]; - [DNAFieldAttribute(160, "int", "sequencer_disk_cache_compression", "int", 4, false, 14484)] + [DNAFieldAttribute(4, "int", 160, "sequencer_disk_cache_compression", "int", false, 14484)] public int sequencer_disk_cache_compression; - [DNAFieldAttribute(161, "int", "sequencer_disk_cache_size_limit", "int", 4, false, 14488)] + [DNAFieldAttribute(4, "int", 161, "sequencer_disk_cache_size_limit", "int", false, 14488)] public int sequencer_disk_cache_size_limit; - [DNAFieldAttribute(162, "short", "sequencer_disk_cache_flag", "short", 2, false, 14492)] + [DNAFieldAttribute(2, "short", 162, "sequencer_disk_cache_flag", "short", false, 14492)] public short sequencer_disk_cache_flag; - [DNAFieldAttribute(163, "short", "sequencer_proxy_setup", "short", 2, false, 14494)] + [DNAFieldAttribute(2, "short", 163, "sequencer_proxy_setup", "short", false, 14494)] public short sequencer_proxy_setup; - [DNAFieldAttribute(164, "float", "collection_instance_empty_size", "float", 4, false, 14496)] + [DNAFieldAttribute(4, "float", 164, "collection_instance_empty_size", "float", false, 14496)] public float collection_instance_empty_size; - [DNAFieldAttribute(165, "char", "text_flag", "char", 1, false, 14500)] + [DNAFieldAttribute(1, "char", 165, "text_flag", "char", false, 14500)] public char text_flag; - [DNAFieldAttribute(166, "char", "_pad10[1]", "System.Char[]", 1, false, 14501)] + [DNAFieldAttribute(1, "char", 166, "_pad10[1]", "System.Char[]", false, 14501)] public char[] _pad10 = new System.Char[1]; - [DNAFieldAttribute(167, "char", "file_preview_type", "char", 1, false, 14502)] + [DNAFieldAttribute(1, "char", 167, "file_preview_type", "char", false, 14502)] public char file_preview_type; - [DNAFieldAttribute(168, "char", "statusbar_flag", "char", 1, false, 14503)] + [DNAFieldAttribute(1, "char", 168, "statusbar_flag", "char", false, 14503)] public char statusbar_flag; - [DNAFieldAttribute(169, "WalkNavigation", "walk_navigation", "WalkNavigation", 32, false, 14504)] + [DNAFieldAttribute(32, "WalkNavigation", 169, "walk_navigation", "WalkNavigation", false, 14504)] public WalkNavigation walk_navigation; - [DNAFieldAttribute(170, "UserDef_SpaceData", "space_data", "UserDef_SpaceData", 8, false, 14536)] + [DNAFieldAttribute(8, "UserDef_SpaceData", 170, "space_data", "UserDef_SpaceData", false, 14536)] public UserDef_SpaceData space_data; - [DNAFieldAttribute(171, "UserDef_FileSpaceData", "file_space_data", "UserDef_FileSpaceData", 40, false, 14544)] + [DNAFieldAttribute(40, "UserDef_FileSpaceData", 171, "file_space_data", "UserDef_FileSpaceData", false, 14544)] public UserDef_FileSpaceData file_space_data; - [DNAFieldAttribute(172, "UserDef_Experimental", "experimental", "UserDef_Experimental", 24, false, 14584)] + [DNAFieldAttribute(24, "UserDef_Experimental", 172, "experimental", "UserDef_Experimental", false, 14584)] public UserDef_Experimental experimental; - [DNAFieldAttribute(173, "UserDef_Runtime", "runtime", "UserDef_Runtime", 8, false, 14608)] + [DNAFieldAttribute(8, "UserDef_Runtime", 173, "runtime", "UserDef_Runtime", false, 14608)] public UserDef_Runtime runtime; public UserDef() { this.versionfile = default; diff --git a/BlendFile/DNA/UserDef_Experimental.cs b/BlendFile/DNA/UserDef_Experimental.cs index 52c122a..4737cba 100644 --- a/BlendFile/DNA/UserDef_Experimental.cs +++ b/BlendFile/DNA/UserDef_Experimental.cs @@ -14,52 +14,52 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1012, "UserDef_Experimental", 24)] - public struct UserDef_Experimental { - [DNAFieldAttribute(0, "char", "use_undo_legacy", "char", 1, false, 0)] + public class UserDef_Experimental { + [DNAFieldAttribute(1, "char", 0, "use_undo_legacy", "char", false, 0)] public char use_undo_legacy; - [DNAFieldAttribute(1, "char", "no_override_auto_resync", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "no_override_auto_resync", "char", false, 1)] public char no_override_auto_resync; - [DNAFieldAttribute(2, "char", "use_cycles_debug", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "use_cycles_debug", "char", false, 2)] public char use_cycles_debug; - [DNAFieldAttribute(3, "char", "use_eevee_debug", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "use_eevee_debug", "char", false, 3)] public char use_eevee_debug; - [DNAFieldAttribute(4, "char", "show_asset_debug_info", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 4, "show_asset_debug_info", "char", false, 4)] public char show_asset_debug_info; - [DNAFieldAttribute(5, "char", "no_asset_indexing", "char", 1, false, 5)] + [DNAFieldAttribute(1, "char", 5, "no_asset_indexing", "char", false, 5)] public char no_asset_indexing; - [DNAFieldAttribute(6, "char", "use_viewport_debug", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 6, "use_viewport_debug", "char", false, 6)] public char use_viewport_debug; - [DNAFieldAttribute(7, "char", "use_all_linked_data_direct", "char", 1, false, 7)] + [DNAFieldAttribute(1, "char", 7, "use_all_linked_data_direct", "char", false, 7)] public char use_all_linked_data_direct; - [DNAFieldAttribute(8, "char", "use_extensions_debug", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 8, "use_extensions_debug", "char", false, 8)] public char use_extensions_debug; - [DNAFieldAttribute(9, "char", "use_recompute_usercount_on_save_debug", "char", 1, false, 9)] + [DNAFieldAttribute(1, "char", 9, "use_recompute_usercount_on_save_debug", "char", false, 9)] public char use_recompute_usercount_on_save_debug; - [DNAFieldAttribute(10, "char", "SANITIZE_AFTER_HERE", "char", 1, false, 10)] + [DNAFieldAttribute(1, "char", 10, "SANITIZE_AFTER_HERE", "char", false, 10)] public char SANITIZE_AFTER_HERE; - [DNAFieldAttribute(11, "char", "use_new_curves_tools", "char", 1, false, 11)] + [DNAFieldAttribute(1, "char", 11, "use_new_curves_tools", "char", false, 11)] public char use_new_curves_tools; - [DNAFieldAttribute(12, "char", "use_new_point_cloud_type", "char", 1, false, 12)] + [DNAFieldAttribute(1, "char", 12, "use_new_point_cloud_type", "char", false, 12)] public char use_new_point_cloud_type; - [DNAFieldAttribute(13, "char", "use_sculpt_tools_tilt", "char", 1, false, 13)] + [DNAFieldAttribute(1, "char", 13, "use_sculpt_tools_tilt", "char", false, 13)] public char use_sculpt_tools_tilt; - [DNAFieldAttribute(14, "char", "use_extended_asset_browser", "char", 1, false, 14)] + [DNAFieldAttribute(1, "char", 14, "use_extended_asset_browser", "char", false, 14)] public char use_extended_asset_browser; - [DNAFieldAttribute(15, "char", "use_sculpt_texture_paint", "char", 1, false, 15)] + [DNAFieldAttribute(1, "char", 15, "use_sculpt_texture_paint", "char", false, 15)] public char use_sculpt_texture_paint; - [DNAFieldAttribute(16, "char", "enable_overlay_next", "char", 1, false, 16)] + [DNAFieldAttribute(1, "char", 16, "enable_overlay_next", "char", false, 16)] public char enable_overlay_next; - [DNAFieldAttribute(17, "char", "use_new_volume_nodes", "char", 1, false, 17)] + [DNAFieldAttribute(1, "char", 17, "use_new_volume_nodes", "char", false, 17)] public char use_new_volume_nodes; - [DNAFieldAttribute(18, "char", "use_new_file_import_nodes", "char", 1, false, 18)] + [DNAFieldAttribute(1, "char", 18, "use_new_file_import_nodes", "char", false, 18)] public char use_new_file_import_nodes; - [DNAFieldAttribute(19, "char", "use_shader_node_previews", "char", 1, false, 19)] + [DNAFieldAttribute(1, "char", 19, "use_shader_node_previews", "char", false, 19)] public char use_shader_node_previews; - [DNAFieldAttribute(20, "char", "use_animation_baklava", "char", 1, false, 20)] + [DNAFieldAttribute(1, "char", 20, "use_animation_baklava", "char", false, 20)] public char use_animation_baklava; - [DNAFieldAttribute(21, "char", "enable_new_cpu_compositor", "char", 1, false, 21)] + [DNAFieldAttribute(1, "char", 21, "enable_new_cpu_compositor", "char", false, 21)] public char enable_new_cpu_compositor; - [DNAFieldAttribute(22, "char", "_pad[2]", "System.Char[]", 2, false, 22)] + [DNAFieldAttribute(2, "char", 22, "_pad[2]", "System.Char[]", false, 22)] public char[] _pad = new System.Char[2]; public UserDef_Experimental() { this.use_undo_legacy = default; diff --git a/BlendFile/DNA/UserDef_FileSpaceData.cs b/BlendFile/DNA/UserDef_FileSpaceData.cs index 313fea3..cb6a45d 100644 --- a/BlendFile/DNA/UserDef_FileSpaceData.cs +++ b/BlendFile/DNA/UserDef_FileSpaceData.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1011, "UserDef_FileSpaceData", 40)] - public struct UserDef_FileSpaceData { - [DNAFieldAttribute(0, "int", "display_type", "int", 4, false, 0)] + public class UserDef_FileSpaceData { + [DNAFieldAttribute(4, "int", 0, "display_type", "int", false, 0)] public int display_type; - [DNAFieldAttribute(1, "int", "thumbnail_size", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "thumbnail_size", "int", false, 4)] public int thumbnail_size; - [DNAFieldAttribute(2, "int", "sort_type", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "sort_type", "int", false, 8)] public int sort_type; - [DNAFieldAttribute(3, "int", "details_flags", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "details_flags", "int", false, 12)] public int details_flags; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(5, "int", "_pad0", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "_pad0", "int", false, 20)] public int _pad0; - [DNAFieldAttribute(6, "uint64_t", "filter_id", "uint64_t", 8, false, 24)] + [DNAFieldAttribute(8, "uint64_t", 6, "filter_id", "uint64_t", false, 24)] public ulong filter_id; - [DNAFieldAttribute(7, "int", "temp_win_sizex", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 7, "temp_win_sizex", "int", false, 32)] public int temp_win_sizex; - [DNAFieldAttribute(8, "int", "temp_win_sizey", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 8, "temp_win_sizey", "int", false, 36)] public int temp_win_sizey; public UserDef_FileSpaceData() { this.display_type = default; diff --git a/BlendFile/DNA/UserDef_Runtime.cs b/BlendFile/DNA/UserDef_Runtime.cs index 6b2a091..1085c03 100644 --- a/BlendFile/DNA/UserDef_Runtime.cs +++ b/BlendFile/DNA/UserDef_Runtime.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1009, "UserDef_Runtime", 8)] - public struct UserDef_Runtime { - [DNAFieldAttribute(0, "char", "is_dirty", "char", 1, false, 0)] + public class UserDef_Runtime { + [DNAFieldAttribute(1, "char", 0, "is_dirty", "char", false, 0)] public char is_dirty; - [DNAFieldAttribute(1, "char", "_pad0[7]", "System.Char[]", 7, false, 1)] + [DNAFieldAttribute(7, "char", 1, "_pad0[7]", "System.Char[]", false, 1)] public char[] _pad0 = new System.Char[7]; public UserDef_Runtime() { this.is_dirty = default; diff --git a/BlendFile/DNA/UserDef_SpaceData.cs b/BlendFile/DNA/UserDef_SpaceData.cs index 1212677..87a98d5 100644 --- a/BlendFile/DNA/UserDef_SpaceData.cs +++ b/BlendFile/DNA/UserDef_SpaceData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1010, "UserDef_SpaceData", 8)] - public struct UserDef_SpaceData { - [DNAFieldAttribute(0, "char", "section_active", "char", 1, false, 0)] + public class UserDef_SpaceData { + [DNAFieldAttribute(1, "char", 0, "section_active", "char", false, 0)] public char section_active; - [DNAFieldAttribute(1, "char", "flag", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 1)] public char flag; - [DNAFieldAttribute(2, "char", "_pad0[6]", "System.Char[]", 6, false, 2)] + [DNAFieldAttribute(6, "char", 2, "_pad0[6]", "System.Char[]", false, 2)] public char[] _pad0 = new System.Char[6]; public UserDef_SpaceData() { this.section_active = default; diff --git a/BlendFile/DNA/UvSculpt.cs b/BlendFile/DNA/UvSculpt.cs index 184504f..f535ee9 100644 --- a/BlendFile/DNA/UvSculpt.cs +++ b/BlendFile/DNA/UvSculpt.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(814, "UvSculpt", 24)] public class UvSculpt { - [DNAFieldAttribute(0, "CurveMapping", "*strength_curve", "CurveMapping", 8, true, 0)] - public CurveMapping ptr_strength_curve; - [DNAFieldAttribute(1, "int", "size", "int", 4, false, 8)] + [DNAFieldAttribute(8, "CurveMapping", 0, "*strength_curve", "CurveMapping", true, 0)] + public CurveMapping strength_curve; + [DNAFieldAttribute(4, "int", 1, "size", "int", false, 8)] public int size; - [DNAFieldAttribute(2, "float", "strength", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "strength", "float", false, 12)] public float strength; - [DNAFieldAttribute(3, "int8_t", "curve_preset", "int8_t", 1, false, 16)] + [DNAFieldAttribute(1, "int8_t", 3, "curve_preset", "int8_t", false, 16)] public sbyte curve_preset; - [DNAFieldAttribute(4, "char", "_pad[7]", "System.Char[]", 7, false, 17)] + [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 17)] public char[] _pad = new System.Char[7]; public UvSculpt() { - this.ptr_strength_curve = default; + this.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; + public UvSculpt(CurveMapping strength_curve, int size, float strength, sbyte curve_preset, char[] _pad) { + this.strength_curve = strength_curve; this.size = size; this.strength = strength; this.curve_preset = curve_preset; diff --git a/BlendFile/DNA/VFont.cs b/BlendFile/DNA/VFont.cs index 06589d9..408bed4 100644 --- a/BlendFile/DNA/VFont.cs +++ b/BlendFile/DNA/VFont.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(215, "VFont", 1256)] public class VFont { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "char", "name[1024]", "System.Char[]", 1024, false, 208)] + [DNAFieldAttribute(1024, "char", 1, "name[1024]", "System.Char[]", false, 208)] public char[] name = new System.Char[1024]; - [DNAFieldAttribute(2, "VFontData", "*data", "VFontData", 8, true, 1232)] - public VFontData ptr_data; - [DNAFieldAttribute(3, "PackedFile", "*packedfile", "PackedFile", 8, true, 1240)] - public PackedFile ptr_packedfile; - [DNAFieldAttribute(4, "PackedFile", "*temp_pf", "PackedFile", 8, true, 1248)] - public PackedFile ptr_temp_pf; + [DNAFieldAttribute(8, "VFontData", 2, "*data", "VFontData", true, 1232)] + public VFontData data; + [DNAFieldAttribute(8, "PackedFile", 3, "*packedfile", "PackedFile", true, 1240)] + public PackedFile packedfile; + [DNAFieldAttribute(8, "PackedFile", 4, "*temp_pf", "PackedFile", true, 1248)] + public PackedFile temp_pf; public VFont() { this.id = default; this.name = default; - this.ptr_data = default; - this.ptr_packedfile = default; - this.ptr_temp_pf = default; + this.data = default; + this.packedfile = default; + this.temp_pf = default; } - public VFont(ID id, char[] name, VFontData ptr_data, PackedFile ptr_packedfile, PackedFile ptr_temp_pf) { + public VFont(ID id, char[] name, VFontData data, PackedFile packedfile, PackedFile temp_pf) { this.id = id; this.name = name; - this.ptr_data = ptr_data; - this.ptr_packedfile = ptr_packedfile; - this.ptr_temp_pf = ptr_temp_pf; + this.data = data; + this.packedfile = packedfile; + this.temp_pf = temp_pf; } } } diff --git a/BlendFile/DNA/VPaint.cs b/BlendFile/DNA/VPaint.cs index 190721f..02725f7 100644 --- a/BlendFile/DNA/VPaint.cs +++ b/BlendFile/DNA/VPaint.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(819, "VPaint", 136)] - public struct VPaint { - [DNAFieldAttribute(0, "Paint", "paint", "Paint", 120, false, 0)] + public class VPaint { + [DNAFieldAttribute(120, "Paint", 0, "paint", "Paint", false, 0)] public Paint paint; - [DNAFieldAttribute(1, "char", "flag", "char", 1, false, 120)] + [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 120)] public char flag; - [DNAFieldAttribute(2, "char", "_pad[3]", "System.Char[]", 3, false, 121)] + [DNAFieldAttribute(3, "char", 2, "_pad[3]", "System.Char[]", false, 121)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(3, "int", "radial_symm[3]", "System.Int32[]", 12, false, 124)] + [DNAFieldAttribute(12, "int", 3, "radial_symm[3]", "System.Int32[]", false, 124)] public int[] radial_symm = new System.Int32[3]; public VPaint() { this.paint = default; diff --git a/BlendFile/DNA/View2D.cs b/BlendFile/DNA/View2D.cs index c43716a..6f9ebb2 100644 --- a/BlendFile/DNA/View2D.cs +++ b/BlendFile/DNA/View2D.cs @@ -15,60 +15,60 @@ namespace BlendFile.DNA { [DNAClassAttribute(74, "View2D", 152)] public class View2D { - [DNAFieldAttribute(0, "rctf", "tot", "rctf", 16, false, 0)] + [DNAFieldAttribute(16, "rctf", 0, "tot", "rctf", false, 0)] public rctf tot; - [DNAFieldAttribute(1, "rctf", "cur", "rctf", 16, false, 16)] + [DNAFieldAttribute(16, "rctf", 1, "cur", "rctf", false, 16)] public rctf cur; - [DNAFieldAttribute(2, "rcti", "vert", "rcti", 16, false, 32)] + [DNAFieldAttribute(16, "rcti", 2, "vert", "rcti", false, 32)] public rcti vert; - [DNAFieldAttribute(3, "rcti", "hor", "rcti", 16, false, 48)] + [DNAFieldAttribute(16, "rcti", 3, "hor", "rcti", false, 48)] public rcti hor; - [DNAFieldAttribute(4, "rcti", "mask", "rcti", 16, false, 64)] + [DNAFieldAttribute(16, "rcti", 4, "mask", "rcti", false, 64)] public rcti mask; - [DNAFieldAttribute(5, "float", "min[2]", "System.Single[]", 8, false, 80)] + [DNAFieldAttribute(8, "float", 5, "min[2]", "System.Single[]", false, 80)] public float[] min = new System.Single[2]; - [DNAFieldAttribute(6, "float", "max[2]", "System.Single[]", 8, false, 88)] + [DNAFieldAttribute(8, "float", 6, "max[2]", "System.Single[]", false, 88)] public float[] max = new System.Single[2]; - [DNAFieldAttribute(7, "float", "minzoom", "float", 4, false, 96)] + [DNAFieldAttribute(4, "float", 7, "minzoom", "float", false, 96)] public float minzoom; - [DNAFieldAttribute(8, "float", "maxzoom", "float", 4, false, 100)] + [DNAFieldAttribute(4, "float", 8, "maxzoom", "float", false, 100)] public float maxzoom; - [DNAFieldAttribute(9, "short", "scroll", "short", 2, false, 104)] + [DNAFieldAttribute(2, "short", 9, "scroll", "short", false, 104)] public short scroll; - [DNAFieldAttribute(10, "short", "scroll_ui", "short", 2, false, 106)] + [DNAFieldAttribute(2, "short", 10, "scroll_ui", "short", false, 106)] public short scroll_ui; - [DNAFieldAttribute(11, "short", "keeptot", "short", 2, false, 108)] + [DNAFieldAttribute(2, "short", 11, "keeptot", "short", false, 108)] public short keeptot; - [DNAFieldAttribute(12, "short", "keepzoom", "short", 2, false, 110)] + [DNAFieldAttribute(2, "short", 12, "keepzoom", "short", false, 110)] public short keepzoom; - [DNAFieldAttribute(13, "short", "keepofs", "short", 2, false, 112)] + [DNAFieldAttribute(2, "short", 13, "keepofs", "short", false, 112)] public short keepofs; - [DNAFieldAttribute(14, "short", "flag", "short", 2, false, 114)] + [DNAFieldAttribute(2, "short", 14, "flag", "short", false, 114)] public short flag; - [DNAFieldAttribute(15, "short", "align", "short", 2, false, 116)] + [DNAFieldAttribute(2, "short", 15, "align", "short", false, 116)] public short align; - [DNAFieldAttribute(16, "short", "winx", "short", 2, false, 118)] + [DNAFieldAttribute(2, "short", 16, "winx", "short", false, 118)] public short winx; - [DNAFieldAttribute(17, "short", "winy", "short", 2, false, 120)] + [DNAFieldAttribute(2, "short", 17, "winy", "short", false, 120)] public short winy; - [DNAFieldAttribute(18, "short", "oldwinx", "short", 2, false, 122)] + [DNAFieldAttribute(2, "short", 18, "oldwinx", "short", false, 122)] public short oldwinx; - [DNAFieldAttribute(19, "short", "oldwiny", "short", 2, false, 124)] + [DNAFieldAttribute(2, "short", 19, "oldwiny", "short", false, 124)] public short oldwiny; - [DNAFieldAttribute(20, "short", "around", "short", 2, false, 126)] + [DNAFieldAttribute(2, "short", 20, "around", "short", false, 126)] public short around; - [DNAFieldAttribute(21, "char", "alpha_vert", "char", 1, false, 128)] + [DNAFieldAttribute(1, "char", 21, "alpha_vert", "char", false, 128)] public char alpha_vert; - [DNAFieldAttribute(22, "char", "alpha_hor", "char", 1, false, 129)] + [DNAFieldAttribute(1, "char", 22, "alpha_hor", "char", false, 129)] public char alpha_hor; - [DNAFieldAttribute(23, "char", "_pad[2]", "System.Char[]", 2, false, 130)] + [DNAFieldAttribute(2, "char", 23, "_pad[2]", "System.Char[]", false, 130)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(24, "float", "page_size_y", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 24, "page_size_y", "float", false, 132)] public float page_size_y; - [DNAFieldAttribute(25, "SmoothView2DStore", "*sms", "SmoothView2DStore", 8, true, 136)] - public SmoothView2DStore ptr_sms; - [DNAFieldAttribute(26, "wmTimer", "*smooth_timer", "wmTimer", 8, true, 144)] - public wmTimer ptr_smooth_timer; + [DNAFieldAttribute(8, "SmoothView2DStore", 25, "*sms", "SmoothView2DStore", true, 136)] + public SmoothView2DStore sms; + [DNAFieldAttribute(8, "wmTimer", 26, "*smooth_timer", "wmTimer", true, 144)] + public wmTimer smooth_timer; public View2D() { this.tot = default; this.cur = default; @@ -95,8 +95,8 @@ namespace BlendFile.DNA { this.alpha_hor = default; this._pad = default; this.page_size_y = default; - this.ptr_sms = default; - this.ptr_smooth_timer = default; + this.sms = default; + this.smooth_timer = default; } public View2D( rctf tot, @@ -124,8 +124,8 @@ namespace BlendFile.DNA { char alpha_hor, char[] _pad, float page_size_y, - SmoothView2DStore ptr_sms, - wmTimer ptr_smooth_timer) { + SmoothView2DStore sms, + wmTimer smooth_timer) { this.tot = tot; this.cur = cur; this.vert = vert; @@ -151,8 +151,8 @@ namespace BlendFile.DNA { this.alpha_hor = alpha_hor; this._pad = _pad; this.page_size_y = page_size_y; - this.ptr_sms = ptr_sms; - this.ptr_smooth_timer = ptr_smooth_timer; + this.sms = sms; + this.smooth_timer = smooth_timer; } } } diff --git a/BlendFile/DNA/View3D.cs b/BlendFile/DNA/View3D.cs index ba4a1d4..94a8227 100644 --- a/BlendFile/DNA/View3D.cs +++ b/BlendFile/DNA/View3D.cs @@ -15,129 +15,129 @@ namespace BlendFile.DNA { [DNAClassAttribute(1029, "View3D", 1400)] public class View3D { - [DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 8, true, 0)] - public SpaceLink ptr_next; - [DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 8, true, 8)] - public SpaceLink ptr_prev; - [DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "SpaceLink", 0, "*next", "SpaceLink", true, 0)] + public SpaceLink next; + [DNAFieldAttribute(8, "SpaceLink", 1, "*prev", "SpaceLink", true, 8)] + public SpaceLink prev; + [DNAFieldAttribute(16, "ListBase", 2, "regionbase", "ListBase", false, 16)] public ListBase regionbase; - [DNAFieldAttribute(3, "char", "spacetype", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 3, "spacetype", "char", false, 32)] public char spacetype; - [DNAFieldAttribute(4, "char", "link_flag", "char", 1, false, 33)] + [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 6, false, 34)] + [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(6, "float", "viewquat[4]", "System.Single[]", 16, false, 40)] + [DNAFieldAttribute(16, "float", 6, "viewquat[4]", "System.Single[]", false, 40)] public float[] viewquat = new System.Single[4]; - [DNAFieldAttribute(7, "float", "dist", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 7, "dist", "float", false, 56)] public float dist; - [DNAFieldAttribute(8, "float", "bundle_size", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 8, "bundle_size", "float", false, 60)] public float bundle_size; - [DNAFieldAttribute(9, "char", "bundle_drawtype", "char", 1, false, 64)] + [DNAFieldAttribute(1, "char", 9, "bundle_drawtype", "char", false, 64)] public char bundle_drawtype; - [DNAFieldAttribute(10, "char", "drawtype", "char", 1, false, 65)] + [DNAFieldAttribute(1, "char", 10, "drawtype", "char", false, 65)] public char drawtype; - [DNAFieldAttribute(11, "char", "_pad3[1]", "System.Char[]", 1, false, 66)] + [DNAFieldAttribute(1, "char", 11, "_pad3[1]", "System.Char[]", false, 66)] public char[] _pad3 = new System.Char[1]; - [DNAFieldAttribute(12, "char", "multiview_eye", "char", 1, false, 67)] + [DNAFieldAttribute(1, "char", 12, "multiview_eye", "char", false, 67)] public char multiview_eye; - [DNAFieldAttribute(13, "int", "object_type_exclude_viewport", "int", 4, false, 68)] + [DNAFieldAttribute(4, "int", 13, "object_type_exclude_viewport", "int", false, 68)] public int object_type_exclude_viewport; - [DNAFieldAttribute(14, "int", "object_type_exclude_select", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 14, "object_type_exclude_select", "int", false, 72)] public int object_type_exclude_select; - [DNAFieldAttribute(15, "short", "persp", "short", 2, false, 76)] + [DNAFieldAttribute(2, "short", 15, "persp", "short", false, 76)] public short persp; - [DNAFieldAttribute(16, "short", "view", "short", 2, false, 78)] + [DNAFieldAttribute(2, "short", 16, "view", "short", false, 78)] public short view; - [DNAFieldAttribute(17, "Object", "*camera", "Object", 8, true, 80)] - public Object ptr_camera; - [DNAFieldAttribute(18, "Object", "*ob_centre", "Object", 8, true, 88)] - public Object ptr_ob_centre; - [DNAFieldAttribute(19, "rctf", "render_border", "rctf", 16, false, 96)] + [DNAFieldAttribute(8, "Object", 17, "*camera", "Object", true, 80)] + public Object camera; + [DNAFieldAttribute(8, "Object", 18, "*ob_centre", "Object", true, 88)] + public Object ob_centre; + [DNAFieldAttribute(16, "rctf", 19, "render_border", "rctf", false, 96)] public rctf render_border; - [DNAFieldAttribute(20, "View3D", "*localvd", "View3D", 8, true, 112)] - public View3D ptr_localvd; - [DNAFieldAttribute(21, "char", "ob_centre_bone[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(8, "View3D", 20, "*localvd", "View3D", true, 112)] + public View3D localvd; + [DNAFieldAttribute(64, "char", 21, "ob_centre_bone[64]", "System.Char[]", false, 120)] public char[] ob_centre_bone = new System.Char[64]; - [DNAFieldAttribute(22, "short", "local_view_uuid", "short", 2, false, 184)] + [DNAFieldAttribute(2, "short", 22, "local_view_uuid", "short", false, 184)] public short local_view_uuid; - [DNAFieldAttribute(23, "char", "_pad6[2]", "System.Char[]", 2, false, 186)] + [DNAFieldAttribute(2, "char", 23, "_pad6[2]", "System.Char[]", false, 186)] public char[] _pad6 = new System.Char[2]; - [DNAFieldAttribute(24, "int", "layact", "int", 4, false, 188)] + [DNAFieldAttribute(4, "int", 24, "layact", "int", false, 188)] public int layact; - [DNAFieldAttribute(25, "short", "local_collections_uuid", "short", 2, false, 192)] + [DNAFieldAttribute(2, "short", 25, "local_collections_uuid", "short", false, 192)] public short local_collections_uuid; - [DNAFieldAttribute(26, "short", "_pad7[2]", "System.Int16[]", 4, false, 194)] + [DNAFieldAttribute(4, "short", 26, "_pad7[2]", "System.Int16[]", false, 194)] public short[] _pad7 = new System.Int16[2]; - [DNAFieldAttribute(27, "short", "debug_flag", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 27, "debug_flag", "short", false, 198)] public short debug_flag; - [DNAFieldAttribute(28, "short", "ob_centre_cursor", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 28, "ob_centre_cursor", "short", false, 200)] public short ob_centre_cursor; - [DNAFieldAttribute(29, "short", "scenelock", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 29, "scenelock", "short", false, 202)] public short scenelock; - [DNAFieldAttribute(30, "short", "gp_flag", "short", 2, false, 204)] + [DNAFieldAttribute(2, "short", 30, "gp_flag", "short", false, 204)] public short gp_flag; - [DNAFieldAttribute(31, "short", "flag", "short", 2, false, 206)] + [DNAFieldAttribute(2, "short", 31, "flag", "short", false, 206)] public short flag; - [DNAFieldAttribute(32, "int", "flag2", "int", 4, false, 208)] + [DNAFieldAttribute(4, "int", 32, "flag2", "int", false, 208)] public int flag2; - [DNAFieldAttribute(33, "float", "lens", "float", 4, false, 212)] + [DNAFieldAttribute(4, "float", 33, "lens", "float", false, 212)] public float lens; - [DNAFieldAttribute(34, "float", "grid", "float", 4, false, 216)] + [DNAFieldAttribute(4, "float", 34, "grid", "float", false, 216)] public float grid; - [DNAFieldAttribute(35, "float", "near", "float", 4, false, 220)] + [DNAFieldAttribute(4, "float", 35, "near", "float", false, 220)] public float near; - [DNAFieldAttribute(36, "float", "far", "float", 4, false, 224)] + [DNAFieldAttribute(4, "float", 36, "far", "float", false, 224)] public float far; - [DNAFieldAttribute(37, "float", "ofs[3]", "System.Single[]", 12, false, 228)] + [DNAFieldAttribute(12, "float", 37, "ofs[3]", "System.Single[]", false, 228)] public float[] ofs = new System.Single[3]; - [DNAFieldAttribute(38, "char", "_pad[1]", "System.Char[]", 1, false, 240)] + [DNAFieldAttribute(1, "char", 38, "_pad[1]", "System.Char[]", false, 240)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(39, "char", "gizmo_flag", "char", 1, false, 241)] + [DNAFieldAttribute(1, "char", 39, "gizmo_flag", "char", false, 241)] public char gizmo_flag; - [DNAFieldAttribute(40, "char", "gizmo_show_object", "char", 1, false, 242)] + [DNAFieldAttribute(1, "char", 40, "gizmo_show_object", "char", false, 242)] public char gizmo_show_object; - [DNAFieldAttribute(41, "char", "gizmo_show_armature", "char", 1, false, 243)] + [DNAFieldAttribute(1, "char", 41, "gizmo_show_armature", "char", false, 243)] public char gizmo_show_armature; - [DNAFieldAttribute(42, "char", "gizmo_show_empty", "char", 1, false, 244)] + [DNAFieldAttribute(1, "char", 42, "gizmo_show_empty", "char", false, 244)] public char gizmo_show_empty; - [DNAFieldAttribute(43, "char", "gizmo_show_light", "char", 1, false, 245)] + [DNAFieldAttribute(1, "char", 43, "gizmo_show_light", "char", false, 245)] public char gizmo_show_light; - [DNAFieldAttribute(44, "char", "gizmo_show_camera", "char", 1, false, 246)] + [DNAFieldAttribute(1, "char", 44, "gizmo_show_camera", "char", false, 246)] public char gizmo_show_camera; - [DNAFieldAttribute(45, "char", "gridflag", "char", 1, false, 247)] + [DNAFieldAttribute(1, "char", 45, "gridflag", "char", false, 247)] public char gridflag; - [DNAFieldAttribute(46, "short", "gridlines", "short", 2, false, 248)] + [DNAFieldAttribute(2, "short", 46, "gridlines", "short", false, 248)] public short gridlines; - [DNAFieldAttribute(47, "short", "gridsubdiv", "short", 2, false, 250)] + [DNAFieldAttribute(2, "short", 47, "gridsubdiv", "short", false, 250)] public short gridsubdiv; - [DNAFieldAttribute(48, "float", "vertex_opacity", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 48, "vertex_opacity", "float", false, 252)] public float vertex_opacity; - [DNAFieldAttribute(49, "bGPdata", "*gpd", "bGPdata", 8, true, 256)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(50, "short", "stereo3d_flag", "short", 2, false, 264)] + [DNAFieldAttribute(8, "bGPdata", 49, "*gpd", "bGPdata", true, 256)] + public bGPdata gpd; + [DNAFieldAttribute(2, "short", 50, "stereo3d_flag", "short", false, 264)] public short stereo3d_flag; - [DNAFieldAttribute(51, "char", "stereo3d_camera", "char", 1, false, 266)] + [DNAFieldAttribute(1, "char", 51, "stereo3d_camera", "char", false, 266)] public char stereo3d_camera; - [DNAFieldAttribute(52, "char", "_pad4", "char", 1, false, 267)] + [DNAFieldAttribute(1, "char", 52, "_pad4", "char", false, 267)] public char _pad4; - [DNAFieldAttribute(53, "float", "stereo3d_convergence_factor", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 53, "stereo3d_convergence_factor", "float", false, 268)] public float stereo3d_convergence_factor; - [DNAFieldAttribute(54, "float", "stereo3d_volume_alpha", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 54, "stereo3d_volume_alpha", "float", false, 272)] public float stereo3d_volume_alpha; - [DNAFieldAttribute(55, "float", "stereo3d_convergence_alpha", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 55, "stereo3d_convergence_alpha", "float", false, 276)] public float stereo3d_convergence_alpha; - [DNAFieldAttribute(56, "View3DShading", "shading", "View3DShading", 944, false, 280)] + [DNAFieldAttribute(944, "View3DShading", 56, "shading", "View3DShading", false, 280)] public View3DShading shading; - [DNAFieldAttribute(57, "View3DOverlay", "overlay", "View3DOverlay", 128, false, 1224)] + [DNAFieldAttribute(128, "View3DOverlay", 57, "overlay", "View3DOverlay", false, 1224)] public View3DOverlay overlay; - [DNAFieldAttribute(58, "ViewerPath", "viewer_path", "ViewerPath", 16, false, 1352)] + [DNAFieldAttribute(16, "ViewerPath", 58, "viewer_path", "ViewerPath", false, 1352)] public ViewerPath viewer_path; - [DNAFieldAttribute(59, "View3D_Runtime", "runtime", "View3D_Runtime", 32, false, 1368)] + [DNAFieldAttribute(32, "View3D_Runtime", 59, "runtime", "View3D_Runtime", false, 1368)] public View3D_Runtime runtime; public View3D() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.regionbase = default; this.spacetype = default; this.link_flag = default; @@ -153,10 +153,10 @@ namespace BlendFile.DNA { this.object_type_exclude_select = default; this.persp = default; this.view = default; - this.ptr_camera = default; - this.ptr_ob_centre = default; + this.camera = default; + this.ob_centre = default; this.render_border = default; - this.ptr_localvd = default; + this.localvd = default; this.ob_centre_bone = default; this.local_view_uuid = default; this._pad6 = default; @@ -185,7 +185,7 @@ namespace BlendFile.DNA { this.gridlines = default; this.gridsubdiv = default; this.vertex_opacity = default; - this.ptr_gpd = default; + this.gpd = default; this.stereo3d_flag = default; this.stereo3d_camera = default; this._pad4 = default; @@ -198,8 +198,8 @@ namespace BlendFile.DNA { this.runtime = default; } public View3D( - SpaceLink ptr_next, - SpaceLink ptr_prev, + SpaceLink next, + SpaceLink prev, ListBase regionbase, char spacetype, char link_flag, @@ -215,10 +215,10 @@ namespace BlendFile.DNA { int object_type_exclude_select, short persp, short view, - Object ptr_camera, - Object ptr_ob_centre, + Object camera, + Object ob_centre, rctf render_border, - View3D ptr_localvd, + View3D localvd, char[] ob_centre_bone, short local_view_uuid, char[] _pad6, @@ -247,7 +247,7 @@ namespace BlendFile.DNA { short gridlines, short gridsubdiv, float vertex_opacity, - bGPdata ptr_gpd, + bGPdata gpd, short stereo3d_flag, char stereo3d_camera, char _pad4, @@ -258,8 +258,8 @@ namespace BlendFile.DNA { View3DOverlay overlay, ViewerPath viewer_path, View3D_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.regionbase = regionbase; this.spacetype = spacetype; this.link_flag = link_flag; @@ -275,10 +275,10 @@ namespace BlendFile.DNA { this.object_type_exclude_select = object_type_exclude_select; this.persp = persp; this.view = view; - this.ptr_camera = ptr_camera; - this.ptr_ob_centre = ptr_ob_centre; + this.camera = camera; + this.ob_centre = ob_centre; this.render_border = render_border; - this.ptr_localvd = ptr_localvd; + this.localvd = localvd; this.ob_centre_bone = ob_centre_bone; this.local_view_uuid = local_view_uuid; this._pad6 = _pad6; @@ -307,7 +307,7 @@ namespace BlendFile.DNA { this.gridlines = gridlines; this.gridsubdiv = gridsubdiv; this.vertex_opacity = vertex_opacity; - this.ptr_gpd = ptr_gpd; + this.gpd = gpd; this.stereo3d_flag = stereo3d_flag; this.stereo3d_camera = stereo3d_camera; this._pad4 = _pad4; diff --git a/BlendFile/DNA/View3DCursor.cs b/BlendFile/DNA/View3DCursor.cs index d749d05..364247f 100644 --- a/BlendFile/DNA/View3DCursor.cs +++ b/BlendFile/DNA/View3DCursor.cs @@ -14,20 +14,20 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(839, "View3DCursor", 64)] - public struct View3DCursor { - [DNAFieldAttribute(0, "float", "location[3]", "System.Single[]", 12, false, 0)] + public class View3DCursor { + [DNAFieldAttribute(12, "float", 0, "location[3]", "System.Single[]", false, 0)] public float[] location = new System.Single[3]; - [DNAFieldAttribute(1, "float", "rotation_quaternion[4]", "System.Single[]", 16, false, 12)] + [DNAFieldAttribute(16, "float", 1, "rotation_quaternion[4]", "System.Single[]", false, 12)] public float[] rotation_quaternion = new System.Single[4]; - [DNAFieldAttribute(2, "float", "rotation_euler[3]", "System.Single[]", 12, false, 28)] + [DNAFieldAttribute(12, "float", 2, "rotation_euler[3]", "System.Single[]", false, 28)] public float[] rotation_euler = new System.Single[3]; - [DNAFieldAttribute(3, "float", "rotation_axis[3]", "System.Single[]", 12, false, 40)] + [DNAFieldAttribute(12, "float", 3, "rotation_axis[3]", "System.Single[]", false, 40)] public float[] rotation_axis = new System.Single[3]; - [DNAFieldAttribute(4, "float", "rotation_angle", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 4, "rotation_angle", "float", false, 52)] public float rotation_angle; - [DNAFieldAttribute(5, "short", "rotation_mode", "short", 2, false, 56)] + [DNAFieldAttribute(2, "short", 5, "rotation_mode", "short", false, 56)] public short rotation_mode; - [DNAFieldAttribute(6, "char", "_pad[6]", "System.Char[]", 6, false, 58)] + [DNAFieldAttribute(6, "char", 6, "_pad[6]", "System.Char[]", false, 58)] public char[] _pad = new System.Char[6]; public View3DCursor() { this.location = default; diff --git a/BlendFile/DNA/View3DOverlay.cs b/BlendFile/DNA/View3DOverlay.cs index cd61c05..5f2c21b 100644 --- a/BlendFile/DNA/View3DOverlay.cs +++ b/BlendFile/DNA/View3DOverlay.cs @@ -14,62 +14,62 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1027, "View3DOverlay", 128)] - public struct View3DOverlay { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class View3DOverlay { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "int", "edit_flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "edit_flag", "int", false, 4)] public int edit_flag; - [DNAFieldAttribute(2, "float", "normals_length", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "normals_length", "float", false, 8)] public float normals_length; - [DNAFieldAttribute(3, "float", "normals_constant_screen_size", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "normals_constant_screen_size", "float", false, 12)] public float normals_constant_screen_size; - [DNAFieldAttribute(4, "int", "paint_flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "paint_flag", "int", false, 16)] public int paint_flag; - [DNAFieldAttribute(5, "int", "wpaint_flag", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "wpaint_flag", "int", false, 20)] public int wpaint_flag; - [DNAFieldAttribute(6, "float", "texture_paint_mode_opacity", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "texture_paint_mode_opacity", "float", false, 24)] public float texture_paint_mode_opacity; - [DNAFieldAttribute(7, "float", "vertex_paint_mode_opacity", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "vertex_paint_mode_opacity", "float", false, 28)] public float vertex_paint_mode_opacity; - [DNAFieldAttribute(8, "float", "weight_paint_mode_opacity", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "weight_paint_mode_opacity", "float", false, 32)] public float weight_paint_mode_opacity; - [DNAFieldAttribute(9, "float", "sculpt_mode_mask_opacity", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "sculpt_mode_mask_opacity", "float", false, 36)] public float sculpt_mode_mask_opacity; - [DNAFieldAttribute(10, "float", "sculpt_mode_face_sets_opacity", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "sculpt_mode_face_sets_opacity", "float", false, 40)] public float sculpt_mode_face_sets_opacity; - [DNAFieldAttribute(11, "float", "viewer_attribute_opacity", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "viewer_attribute_opacity", "float", false, 44)] public float viewer_attribute_opacity; - [DNAFieldAttribute(12, "float", "xray_alpha_bone", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 12, "xray_alpha_bone", "float", false, 48)] public float xray_alpha_bone; - [DNAFieldAttribute(13, "float", "bone_wire_alpha", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 13, "bone_wire_alpha", "float", false, 52)] public float bone_wire_alpha; - [DNAFieldAttribute(14, "float", "fade_alpha", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 14, "fade_alpha", "float", false, 56)] public float fade_alpha; - [DNAFieldAttribute(15, "float", "wireframe_threshold", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 15, "wireframe_threshold", "float", false, 60)] public float wireframe_threshold; - [DNAFieldAttribute(16, "float", "wireframe_opacity", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 16, "wireframe_opacity", "float", false, 64)] public float wireframe_opacity; - [DNAFieldAttribute(17, "float", "retopology_offset", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 17, "retopology_offset", "float", false, 68)] public float retopology_offset; - [DNAFieldAttribute(18, "float", "gpencil_paper_opacity", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 18, "gpencil_paper_opacity", "float", false, 72)] public float gpencil_paper_opacity; - [DNAFieldAttribute(19, "float", "gpencil_grid_opacity", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 19, "gpencil_grid_opacity", "float", false, 76)] public float gpencil_grid_opacity; - [DNAFieldAttribute(20, "float", "gpencil_fade_layer", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 20, "gpencil_fade_layer", "float", false, 80)] public float gpencil_fade_layer; - [DNAFieldAttribute(21, "float", "gpencil_grid_color[3]", "System.Single[]", 12, false, 84)] + [DNAFieldAttribute(12, "float", 21, "gpencil_grid_color[3]", "System.Single[]", false, 84)] public float[] gpencil_grid_color = new System.Single[3]; - [DNAFieldAttribute(22, "float", "gpencil_grid_scale[2]", "System.Single[]", 8, false, 96)] + [DNAFieldAttribute(8, "float", 22, "gpencil_grid_scale[2]", "System.Single[]", false, 96)] public float[] gpencil_grid_scale = new System.Single[2]; - [DNAFieldAttribute(23, "float", "gpencil_grid_offset[2]", "System.Single[]", 8, false, 104)] + [DNAFieldAttribute(8, "float", 23, "gpencil_grid_offset[2]", "System.Single[]", false, 104)] public float[] gpencil_grid_offset = new System.Single[2]; - [DNAFieldAttribute(24, "int", "gpencil_grid_subdivisions", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 24, "gpencil_grid_subdivisions", "int", false, 112)] public int gpencil_grid_subdivisions; - [DNAFieldAttribute(25, "float", "gpencil_vertex_paint_opacity", "float", 4, false, 116)] + [DNAFieldAttribute(4, "float", 25, "gpencil_vertex_paint_opacity", "float", false, 116)] public float gpencil_vertex_paint_opacity; - [DNAFieldAttribute(26, "int", "handle_display", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 26, "handle_display", "int", false, 120)] public int handle_display; - [DNAFieldAttribute(27, "float", "sculpt_curves_cage_opacity", "float", 4, false, 124)] + [DNAFieldAttribute(4, "float", 27, "sculpt_curves_cage_opacity", "float", false, 124)] public float sculpt_curves_cage_opacity; public View3DOverlay() { this.flag = default; diff --git a/BlendFile/DNA/View3DShading.cs b/BlendFile/DNA/View3DShading.cs index 326daf6..387edff 100644 --- a/BlendFile/DNA/View3DShading.cs +++ b/BlendFile/DNA/View3DShading.cs @@ -15,70 +15,70 @@ namespace BlendFile.DNA { [DNAClassAttribute(833, "View3DShading", 944)] public class View3DShading { - [DNAFieldAttribute(0, "char", "type", "char", 1, false, 0)] + [DNAFieldAttribute(1, "char", 0, "type", "char", false, 0)] public char type; - [DNAFieldAttribute(1, "char", "prev_type", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "prev_type", "char", false, 1)] public char prev_type; - [DNAFieldAttribute(2, "char", "prev_type_wire", "char", 1, false, 2)] + [DNAFieldAttribute(1, "char", 2, "prev_type_wire", "char", false, 2)] public char prev_type_wire; - [DNAFieldAttribute(3, "char", "color_type", "char", 1, false, 3)] + [DNAFieldAttribute(1, "char", 3, "color_type", "char", false, 3)] public char color_type; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 4)] public short flag; - [DNAFieldAttribute(5, "char", "light", "char", 1, false, 6)] + [DNAFieldAttribute(1, "char", 5, "light", "char", false, 6)] public char light; - [DNAFieldAttribute(6, "char", "background_type", "char", 1, false, 7)] + [DNAFieldAttribute(1, "char", 6, "background_type", "char", false, 7)] public char background_type; - [DNAFieldAttribute(7, "char", "cavity_type", "char", 1, false, 8)] + [DNAFieldAttribute(1, "char", 7, "cavity_type", "char", false, 8)] public char cavity_type; - [DNAFieldAttribute(8, "char", "wire_color_type", "char", 1, false, 9)] + [DNAFieldAttribute(1, "char", 8, "wire_color_type", "char", false, 9)] public char wire_color_type; - [DNAFieldAttribute(9, "char", "use_compositor", "char", 1, false, 10)] + [DNAFieldAttribute(1, "char", 9, "use_compositor", "char", false, 10)] public char use_compositor; - [DNAFieldAttribute(10, "char", "_pad", "char", 1, false, 11)] + [DNAFieldAttribute(1, "char", 10, "_pad", "char", false, 11)] public char _pad; - [DNAFieldAttribute(11, "char", "studio_light[256]", "System.Char[]", 256, false, 12)] + [DNAFieldAttribute(256, "char", 11, "studio_light[256]", "System.Char[]", false, 12)] public char[] studio_light = new System.Char[256]; - [DNAFieldAttribute(12, "char", "lookdev_light[256]", "System.Char[]", 256, false, 268)] + [DNAFieldAttribute(256, "char", 12, "lookdev_light[256]", "System.Char[]", false, 268)] public char[] lookdev_light = new System.Char[256]; - [DNAFieldAttribute(13, "char", "matcap[256]", "System.Char[]", 256, false, 524)] + [DNAFieldAttribute(256, "char", 13, "matcap[256]", "System.Char[]", false, 524)] public char[] matcap = new System.Char[256]; - [DNAFieldAttribute(14, "float", "shadow_intensity", "float", 4, false, 780)] + [DNAFieldAttribute(4, "float", 14, "shadow_intensity", "float", false, 780)] public float shadow_intensity; - [DNAFieldAttribute(15, "float", "single_color[3]", "System.Single[]", 12, false, 784)] + [DNAFieldAttribute(12, "float", 15, "single_color[3]", "System.Single[]", false, 784)] public float[] single_color = new System.Single[3]; - [DNAFieldAttribute(16, "float", "studiolight_rot_z", "float", 4, false, 796)] + [DNAFieldAttribute(4, "float", 16, "studiolight_rot_z", "float", false, 796)] public float studiolight_rot_z; - [DNAFieldAttribute(17, "float", "studiolight_background", "float", 4, false, 800)] + [DNAFieldAttribute(4, "float", 17, "studiolight_background", "float", false, 800)] public float studiolight_background; - [DNAFieldAttribute(18, "float", "studiolight_intensity", "float", 4, false, 804)] + [DNAFieldAttribute(4, "float", 18, "studiolight_intensity", "float", false, 804)] public float studiolight_intensity; - [DNAFieldAttribute(19, "float", "studiolight_blur", "float", 4, false, 808)] + [DNAFieldAttribute(4, "float", 19, "studiolight_blur", "float", false, 808)] public float studiolight_blur; - [DNAFieldAttribute(20, "float", "object_outline_color[3]", "System.Single[]", 12, false, 812)] + [DNAFieldAttribute(12, "float", 20, "object_outline_color[3]", "System.Single[]", false, 812)] public float[] object_outline_color = new System.Single[3]; - [DNAFieldAttribute(21, "float", "xray_alpha", "float", 4, false, 824)] + [DNAFieldAttribute(4, "float", 21, "xray_alpha", "float", false, 824)] public float xray_alpha; - [DNAFieldAttribute(22, "float", "xray_alpha_wire", "float", 4, false, 828)] + [DNAFieldAttribute(4, "float", 22, "xray_alpha_wire", "float", false, 828)] public float xray_alpha_wire; - [DNAFieldAttribute(23, "float", "cavity_valley_factor", "float", 4, false, 832)] + [DNAFieldAttribute(4, "float", 23, "cavity_valley_factor", "float", false, 832)] public float cavity_valley_factor; - [DNAFieldAttribute(24, "float", "cavity_ridge_factor", "float", 4, false, 836)] + [DNAFieldAttribute(4, "float", 24, "cavity_ridge_factor", "float", false, 836)] public float cavity_ridge_factor; - [DNAFieldAttribute(25, "float", "background_color[3]", "System.Single[]", 12, false, 840)] + [DNAFieldAttribute(12, "float", 25, "background_color[3]", "System.Single[]", false, 840)] public float[] background_color = new System.Single[3]; - [DNAFieldAttribute(26, "float", "curvature_ridge_factor", "float", 4, false, 852)] + [DNAFieldAttribute(4, "float", 26, "curvature_ridge_factor", "float", false, 852)] public float curvature_ridge_factor; - [DNAFieldAttribute(27, "float", "curvature_valley_factor", "float", 4, false, 856)] + [DNAFieldAttribute(4, "float", 27, "curvature_valley_factor", "float", false, 856)] public float curvature_valley_factor; - [DNAFieldAttribute(28, "int", "render_pass", "int", 4, false, 860)] + [DNAFieldAttribute(4, "int", 28, "render_pass", "int", false, 860)] public int render_pass; - [DNAFieldAttribute(29, "char", "aov_name[64]", "System.Char[]", 64, false, 864)] + [DNAFieldAttribute(64, "char", 29, "aov_name[64]", "System.Char[]", false, 864)] public char[] aov_name = new System.Char[64]; - [DNAFieldAttribute(30, "IDProperty", "*prop", "IDProperty", 8, true, 928)] - public IDProperty ptr_prop; - [DNAFieldAttribute(31, "void", "*_pad2", "void", 8, true, 936)] - public object ptr__pad2; + [DNAFieldAttribute(8, "IDProperty", 30, "*prop", "IDProperty", true, 928)] + public IDProperty prop; + [DNAFieldAttribute(8, "void", 31, "*_pad2", "void", true, 936)] + public object _pad2; public View3DShading() { this.type = default; this.prev_type = default; @@ -110,8 +110,8 @@ namespace BlendFile.DNA { this.curvature_valley_factor = default; this.render_pass = default; this.aov_name = default; - this.ptr_prop = default; - this.ptr__pad2 = default; + this.prop = default; + this._pad2 = default; } public View3DShading( char type, @@ -144,8 +144,8 @@ namespace BlendFile.DNA { float curvature_valley_factor, int render_pass, char[] aov_name, - IDProperty ptr_prop, - object ptr__pad2) { + IDProperty prop, + object _pad2) { this.type = type; this.prev_type = prev_type; this.prev_type_wire = prev_type_wire; @@ -176,8 +176,8 @@ namespace BlendFile.DNA { this.curvature_valley_factor = curvature_valley_factor; this.render_pass = render_pass; this.aov_name = aov_name; - this.ptr_prop = ptr_prop; - this.ptr__pad2 = ptr__pad2; + this.prop = prop; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/View3D_Runtime.cs b/BlendFile/DNA/View3D_Runtime.cs index 15b6d29..08756c3 100644 --- a/BlendFile/DNA/View3D_Runtime.cs +++ b/BlendFile/DNA/View3D_Runtime.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(1028, "View3D_Runtime", 24)] public class View3D_Runtime { - [DNAFieldAttribute(0, "void", "*properties_storage", "void", 8, true, 0)] - public object ptr_properties_storage; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "void", 0, "*properties_storage", "void", true, 0)] + public object properties_storage; + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(3, "char", "_pad1[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", false, 12)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(4, "SceneStats", "*local_stats", "SceneStats", 8, true, 16)] - public SceneStats ptr_local_stats; + [DNAFieldAttribute(8, "SceneStats", 4, "*local_stats", "SceneStats", true, 16)] + public SceneStats local_stats; public View3D_Runtime() { - this.ptr_properties_storage = default; + this.properties_storage = default; this.flag = default; this._pad1 = default; - this.ptr_local_stats = default; + this.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; + public View3D_Runtime(object properties_storage, int flag, char[] _pad1, SceneStats local_stats) { + this.properties_storage = properties_storage; this.flag = flag; this._pad1 = _pad1; - this.ptr_local_stats = ptr_local_stats; + this.local_stats = local_stats; } } } diff --git a/BlendFile/DNA/ViewLayer.cs b/BlendFile/DNA/ViewLayer.cs index 45d8d3e..b7b3039 100644 --- a/BlendFile/DNA/ViewLayer.cs +++ b/BlendFile/DNA/ViewLayer.cs @@ -13,77 +13,75 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(163, "ViewLayer", 336)] + [DNAClassAttribute(163, "ViewLayer", 328)] public class ViewLayer { - [DNAFieldAttribute(0, "ViewLayer", "*next", "ViewLayer", 8, true, 0)] - public ViewLayer ptr_next; - [DNAFieldAttribute(1, "ViewLayer", "*prev", "ViewLayer", 8, true, 8)] - public ViewLayer ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "ViewLayer", 0, "*next", "ViewLayer", true, 0)] + public ViewLayer next; + [DNAFieldAttribute(8, "ViewLayer", 1, "*prev", "ViewLayer", true, 8)] + public ViewLayer prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 80)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 80)] public short flag; - [DNAFieldAttribute(4, "char", "_pad[6]", "System.Char[]", 6, false, 82)] + [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 82)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(5, "ListBase", "object_bases", "ListBase", 16, false, 88)] + [DNAFieldAttribute(16, "ListBase", 5, "object_bases", "ListBase", false, 88)] public ListBase object_bases; - [DNAFieldAttribute(6, "SceneStats", "*stats", "SceneStats", 8, true, 104)] - public SceneStats ptr_stats; - [DNAFieldAttribute(7, "Base", "*basact", "Base", 8, true, 112)] - public Base ptr_basact; - [DNAFieldAttribute(8, "ListBase", "layer_collections", "ListBase", 16, false, 120)] + [DNAFieldAttribute(8, "SceneStats", 6, "*stats", "SceneStats", true, 104)] + public SceneStats stats; + [DNAFieldAttribute(8, "Base", 7, "*basact", "Base", true, 112)] + public Base basact; + [DNAFieldAttribute(16, "ListBase", 8, "layer_collections", "ListBase", false, 120)] public ListBase layer_collections; - [DNAFieldAttribute(9, "LayerCollection", "*active_collection", "LayerCollection", 8, true, 136)] - public LayerCollection ptr_active_collection; - [DNAFieldAttribute(10, "int", "layflag", "int", 4, false, 144)] + [DNAFieldAttribute(8, "LayerCollection", 9, "*active_collection", "LayerCollection", true, 136)] + public LayerCollection active_collection; + [DNAFieldAttribute(4, "int", 10, "layflag", "int", false, 144)] public int layflag; - [DNAFieldAttribute(11, "int", "passflag", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 11, "passflag", "int", false, 148)] public int passflag; - [DNAFieldAttribute(12, "float", "pass_alpha_threshold", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 12, "pass_alpha_threshold", "float", false, 152)] public float pass_alpha_threshold; - [DNAFieldAttribute(13, "short", "cryptomatte_flag", "short", 2, false, 156)] + [DNAFieldAttribute(2, "short", 13, "cryptomatte_flag", "short", false, 156)] public short cryptomatte_flag; - [DNAFieldAttribute(14, "short", "cryptomatte_levels", "short", 2, false, 158)] + [DNAFieldAttribute(2, "short", 14, "cryptomatte_levels", "short", false, 158)] public short cryptomatte_levels; - [DNAFieldAttribute(15, "char", "_pad1[4]", "System.Char[]", 4, false, 160)] + [DNAFieldAttribute(4, "char", 15, "_pad1[4]", "System.Char[]", false, 160)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(16, "int", "samples", "int", 4, false, 164)] + [DNAFieldAttribute(4, "int", 16, "samples", "int", false, 164)] public int samples; - [DNAFieldAttribute(17, "Material", "*mat_override", "Material", 8, true, 168)] - public Material ptr_mat_override; - [DNAFieldAttribute(18, "World", "*world_override", "World", 8, true, 176)] - public World ptr_world_override; - [DNAFieldAttribute(19, "IDProperty", "*id_properties", "IDProperty", 8, true, 184)] - public IDProperty ptr_id_properties; - [DNAFieldAttribute(20, "FreestyleConfig", "freestyle_config", "FreestyleConfig", 56, false, 192)] + [DNAFieldAttribute(8, "Material", 17, "*mat_override", "Material", true, 168)] + public Material mat_override; + [DNAFieldAttribute(8, "World", 18, "*world_override", "World", true, 176)] + public World world_override; + [DNAFieldAttribute(8, "IDProperty", 19, "*id_properties", "IDProperty", true, 184)] + public IDProperty id_properties; + [DNAFieldAttribute(56, "FreestyleConfig", 20, "freestyle_config", "FreestyleConfig", false, 192)] public FreestyleConfig freestyle_config; - [DNAFieldAttribute(21, "ViewLayerEEVEE", "eevee", "ViewLayerEEVEE", 8, false, 248)] + [DNAFieldAttribute(8, "ViewLayerEEVEE", 21, "eevee", "ViewLayerEEVEE", false, 248)] public ViewLayerEEVEE eevee; - [DNAFieldAttribute(22, "ListBase", "aovs", "ListBase", 16, false, 256)] + [DNAFieldAttribute(16, "ListBase", 22, "aovs", "ListBase", false, 256)] public ListBase aovs; - [DNAFieldAttribute(23, "ViewLayerAOV", "*active_aov", "ViewLayerAOV", 8, true, 272)] - public ViewLayerAOV ptr_active_aov; - [DNAFieldAttribute(24, "ListBase", "lightgroups", "ListBase", 16, false, 280)] + [DNAFieldAttribute(8, "ViewLayerAOV", 23, "*active_aov", "ViewLayerAOV", true, 272)] + public ViewLayerAOV active_aov; + [DNAFieldAttribute(16, "ListBase", 24, "lightgroups", "ListBase", false, 280)] public ListBase lightgroups; - [DNAFieldAttribute(25, "ViewLayerLightgroup", "*active_lightgroup", "ViewLayerLightgroup", 8, true, 296)] - public ViewLayerLightgroup ptr_active_lightgroup; - [DNAFieldAttribute(26, "ListBase", "drawdata", "ListBase", 16, false, 304)] + [DNAFieldAttribute(8, "ViewLayerLightgroup", 25, "*active_lightgroup", "ViewLayerLightgroup", true, 296)] + public ViewLayerLightgroup active_lightgroup; + [DNAFieldAttribute(16, "ListBase", 26, "drawdata", "ListBase", false, 304)] public ListBase drawdata; - [DNAFieldAttribute(27, "Base", "**object_bases_array", "Base", 8, true, 320)] - public Base ptr_ptr_object_bases_array; - [DNAFieldAttribute(28, "GHash", "*object_bases_hash", "GHash", 8, true, 328)] - public GHash ptr_object_bases_hash; + [DNAFieldAttribute(8, "GHash", 28, "*object_bases_hash", "GHash", true, 320)] + public GHash object_bases_hash; public ViewLayer() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.flag = default; this._pad = default; this.object_bases = default; - this.ptr_stats = default; - this.ptr_basact = default; + this.stats = default; + this.basact = default; this.layer_collections = default; - this.ptr_active_collection = default; + this.active_collection = default; this.layflag = default; this.passflag = default; this.pass_alpha_threshold = default; @@ -91,30 +89,29 @@ namespace BlendFile.DNA { 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.mat_override = default; + this.world_override = default; + this.id_properties = default; this.freestyle_config = default; this.eevee = default; this.aovs = default; - this.ptr_active_aov = default; + this.active_aov = default; this.lightgroups = default; - this.ptr_active_lightgroup = default; + this.active_lightgroup = default; this.drawdata = default; - this.ptr_ptr_object_bases_array = default; - this.ptr_object_bases_hash = default; + this.object_bases_hash = default; } public ViewLayer( - ViewLayer ptr_next, - ViewLayer ptr_prev, + ViewLayer next, + ViewLayer prev, char[] name, short flag, char[] _pad, ListBase object_bases, - SceneStats ptr_stats, - Base ptr_basact, + SceneStats stats, + Base basact, ListBase layer_collections, - LayerCollection ptr_active_collection, + LayerCollection active_collection, int layflag, int passflag, float pass_alpha_threshold, @@ -122,28 +119,27 @@ namespace BlendFile.DNA { short cryptomatte_levels, char[] _pad1, int samples, - Material ptr_mat_override, - World ptr_world_override, - IDProperty ptr_id_properties, + Material mat_override, + World world_override, + IDProperty id_properties, FreestyleConfig freestyle_config, ViewLayerEEVEE eevee, ListBase aovs, - ViewLayerAOV ptr_active_aov, + ViewLayerAOV active_aov, ListBase lightgroups, - ViewLayerLightgroup ptr_active_lightgroup, + ViewLayerLightgroup active_lightgroup, ListBase drawdata, - Base ptr_ptr_object_bases_array, - GHash ptr_object_bases_hash) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + GHash object_bases_hash) { + this.next = next; + this.prev = prev; this.name = name; this.flag = flag; this._pad = _pad; this.object_bases = object_bases; - this.ptr_stats = ptr_stats; - this.ptr_basact = ptr_basact; + this.stats = stats; + this.basact = basact; this.layer_collections = layer_collections; - this.ptr_active_collection = ptr_active_collection; + this.active_collection = active_collection; this.layflag = layflag; this.passflag = passflag; this.pass_alpha_threshold = pass_alpha_threshold; @@ -151,18 +147,17 @@ namespace BlendFile.DNA { this.cryptomatte_levels = cryptomatte_levels; this._pad1 = _pad1; this.samples = samples; - this.ptr_mat_override = ptr_mat_override; - this.ptr_world_override = ptr_world_override; - this.ptr_id_properties = ptr_id_properties; + this.mat_override = mat_override; + this.world_override = world_override; + this.id_properties = id_properties; this.freestyle_config = freestyle_config; this.eevee = eevee; this.aovs = aovs; - this.ptr_active_aov = ptr_active_aov; + this.active_aov = active_aov; this.lightgroups = lightgroups; - this.ptr_active_lightgroup = ptr_active_lightgroup; + this.active_lightgroup = active_lightgroup; this.drawdata = drawdata; - this.ptr_ptr_object_bases_array = ptr_ptr_object_bases_array; - this.ptr_object_bases_hash = ptr_object_bases_hash; + this.object_bases_hash = object_bases_hash; } } } diff --git a/BlendFile/DNA/ViewLayerAOV.cs b/BlendFile/DNA/ViewLayerAOV.cs index 9287740..38cc852 100644 --- a/BlendFile/DNA/ViewLayerAOV.cs +++ b/BlendFile/DNA/ViewLayerAOV.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(345, "ViewLayerAOV", 88)] public class ViewLayerAOV { - [DNAFieldAttribute(0, "ViewLayerAOV", "*next", "ViewLayerAOV", 8, true, 0)] - public ViewLayerAOV ptr_next; - [DNAFieldAttribute(1, "ViewLayerAOV", "*prev", "ViewLayerAOV", 8, true, 8)] - public ViewLayerAOV ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "ViewLayerAOV", 0, "*next", "ViewLayerAOV", true, 0)] + public ViewLayerAOV next; + [DNAFieldAttribute(8, "ViewLayerAOV", 1, "*prev", "ViewLayerAOV", true, 8)] + public ViewLayerAOV prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 80)] public int flag; - [DNAFieldAttribute(4, "int", "type", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 4, "type", "int", false, 84)] public int type; public ViewLayerAOV() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public ViewLayerAOV(ViewLayerAOV next, ViewLayerAOV prev, char[] name, int flag, int type) { + this.next = next; + this.prev = prev; this.name = name; this.flag = flag; this.type = type; diff --git a/BlendFile/DNA/ViewLayerEEVEE.cs b/BlendFile/DNA/ViewLayerEEVEE.cs index eddddfb..3063f63 100644 --- a/BlendFile/DNA/ViewLayerEEVEE.cs +++ b/BlendFile/DNA/ViewLayerEEVEE.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(344, "ViewLayerEEVEE", 8)] - public struct ViewLayerEEVEE { - [DNAFieldAttribute(0, "int", "render_passes", "int", 4, false, 0)] + public class ViewLayerEEVEE { + [DNAFieldAttribute(4, "int", 0, "render_passes", "int", false, 0)] public int render_passes; - [DNAFieldAttribute(1, "int", "_pad[1]", "System.Int32[]", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "_pad[1]", "System.Int32[]", false, 4)] public int[] _pad = new System.Int32[1]; public ViewLayerEEVEE() { this.render_passes = default; diff --git a/BlendFile/DNA/ViewLayerEngineData.cs b/BlendFile/DNA/ViewLayerEngineData.cs index 8abe29f..9fa7592 100644 --- a/BlendFile/DNA/ViewLayerEngineData.cs +++ b/BlendFile/DNA/ViewLayerEngineData.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(341, "ViewLayerEngineData", 32)] public class ViewLayerEngineData { - [DNAFieldAttribute(0, "ViewLayerEngineData", "*next", "ViewLayerEngineData", 8, true, 0)] - public ViewLayerEngineData ptr_next; - [DNAFieldAttribute(1, "ViewLayerEngineData", "*prev", "ViewLayerEngineData", 8, true, 8)] - public ViewLayerEngineData ptr_prev; - [DNAFieldAttribute(2, "DrawEngineType", "*engine_type", "DrawEngineType", 8, true, 16)] - public DrawEngineType ptr_engine_type; - [DNAFieldAttribute(3, "void", "*storage", "void", 8, true, 24)] - public object ptr_storage; + [DNAFieldAttribute(8, "ViewLayerEngineData", 0, "*next", "ViewLayerEngineData", true, 0)] + public ViewLayerEngineData next; + [DNAFieldAttribute(8, "ViewLayerEngineData", 1, "*prev", "ViewLayerEngineData", true, 8)] + public ViewLayerEngineData prev; + [DNAFieldAttribute(8, "DrawEngineType", 2, "*engine_type", "DrawEngineType", true, 16)] + public DrawEngineType engine_type; + [DNAFieldAttribute(8, "void", 3, "*storage", "void", true, 24)] + public object storage; public ViewLayerEngineData() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_engine_type = default; - this.ptr_storage = default; + this.next = default; + this.prev = default; + this.engine_type = default; + this.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; - this.ptr_engine_type = ptr_engine_type; - this.ptr_storage = ptr_storage; + public ViewLayerEngineData(ViewLayerEngineData next, ViewLayerEngineData prev, DrawEngineType engine_type, object storage) { + this.next = next; + this.prev = prev; + this.engine_type = engine_type; + this.storage = storage; } } } diff --git a/BlendFile/DNA/ViewLayerLightgroup.cs b/BlendFile/DNA/ViewLayerLightgroup.cs index d0aa768..fffc26d 100644 --- a/BlendFile/DNA/ViewLayerLightgroup.cs +++ b/BlendFile/DNA/ViewLayerLightgroup.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(346, "ViewLayerLightgroup", 80)] public class ViewLayerLightgroup { - [DNAFieldAttribute(0, "ViewLayerLightgroup", "*next", "ViewLayerLightgroup", 8, true, 0)] - public ViewLayerLightgroup ptr_next; - [DNAFieldAttribute(1, "ViewLayerLightgroup", "*prev", "ViewLayerLightgroup", 8, true, 8)] - public ViewLayerLightgroup ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "ViewLayerLightgroup", 0, "*next", "ViewLayerLightgroup", true, 0)] + public ViewLayerLightgroup next; + [DNAFieldAttribute(8, "ViewLayerLightgroup", 1, "*prev", "ViewLayerLightgroup", true, 8)] + public ViewLayerLightgroup prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; public ViewLayerLightgroup() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public ViewLayerLightgroup(ViewLayerLightgroup next, ViewLayerLightgroup prev, char[] name) { + this.next = next; + this.prev = prev; this.name = name; } } diff --git a/BlendFile/DNA/ViewerNodeViewerPathElem.cs b/BlendFile/DNA/ViewerNodeViewerPathElem.cs index f24bf33..60e5804 100644 --- a/BlendFile/DNA/ViewerNodeViewerPathElem.cs +++ b/BlendFile/DNA/ViewerNodeViewerPathElem.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1037, "ViewerNodeViewerPathElem", 40)] - public struct ViewerNodeViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "base", "ViewerPathElem", 32, false, 0)] + public class ViewerNodeViewerPathElem { + [DNAFieldAttribute(32, "ViewerPathElem", 0, "base", "ViewerPathElem", false, 0)] public ViewerPathElem @base; - [DNAFieldAttribute(1, "int", "node_id", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 1, "node_id", "int", false, 32)] public int node_id; - [DNAFieldAttribute(2, "char", "_pad1[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 36)] public char[] _pad1 = new System.Char[4]; public ViewerNodeViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/ViewerPath.cs b/BlendFile/DNA/ViewerPath.cs index 286996b..f426ebf 100644 --- a/BlendFile/DNA/ViewerPath.cs +++ b/BlendFile/DNA/ViewerPath.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(969, "ViewerPath", 16)] - public struct ViewerPath { - [DNAFieldAttribute(0, "ListBase", "path", "ListBase", 16, false, 0)] + public class ViewerPath { + [DNAFieldAttribute(16, "ListBase", 0, "path", "ListBase", false, 0)] public ListBase path; public ViewerPath() { this.path = default; diff --git a/BlendFile/DNA/ViewerPathElem.cs b/BlendFile/DNA/ViewerPathElem.cs index 933878c..b408092 100644 --- a/BlendFile/DNA/ViewerPathElem.cs +++ b/BlendFile/DNA/ViewerPathElem.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(1030, "ViewerPathElem", 32)] public class ViewerPathElem { - [DNAFieldAttribute(0, "ViewerPathElem", "*next", "ViewerPathElem", 8, true, 0)] - public ViewerPathElem ptr_next; - [DNAFieldAttribute(1, "ViewerPathElem", "*prev", "ViewerPathElem", 8, true, 8)] - public ViewerPathElem ptr_prev; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "ViewerPathElem", 0, "*next", "ViewerPathElem", true, 0)] + public ViewerPathElem next; + [DNAFieldAttribute(8, "ViewerPathElem", 1, "*prev", "ViewerPathElem", true, 8)] + public ViewerPathElem prev; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(4, "char", "*ui_name", "char", 8, true, 24)] - public char ptr_ui_name; + [DNAFieldAttribute(8, "char", 4, "*ui_name", "char", true, 24)] + public char ui_name; public ViewerPathElem() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this._pad = default; - this.ptr_ui_name = default; + this.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; + public ViewerPathElem(ViewerPathElem next, ViewerPathElem prev, int type, char[] _pad, char ui_name) { + this.next = next; + this.prev = prev; this.type = type; this._pad = _pad; - this.ptr_ui_name = ptr_ui_name; + this.ui_name = ui_name; } } } diff --git a/BlendFile/DNA/Volume.cs b/BlendFile/DNA/Volume.cs index 963b22b..99fa507 100644 --- a/BlendFile/DNA/Volume.cs +++ b/BlendFile/DNA/Volume.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(1040, "Volume", 1424)] public class Volume { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "char", "filepath[1024]", "System.Char[]", 1024, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", false, 216)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(3, "PackedFile", "*packedfile", "PackedFile", 8, true, 1240)] - public PackedFile ptr_packedfile; - [DNAFieldAttribute(4, "char", "is_sequence", "char", 1, false, 1248)] + [DNAFieldAttribute(8, "PackedFile", 3, "*packedfile", "PackedFile", true, 1240)] + public PackedFile packedfile; + [DNAFieldAttribute(1, "char", 4, "is_sequence", "char", false, 1248)] public char is_sequence; - [DNAFieldAttribute(5, "char", "sequence_mode", "char", 1, false, 1249)] + [DNAFieldAttribute(1, "char", 5, "sequence_mode", "char", false, 1249)] public char sequence_mode; - [DNAFieldAttribute(6, "char", "_pad1[2]", "System.Char[]", 2, false, 1250)] + [DNAFieldAttribute(2, "char", 6, "_pad1[2]", "System.Char[]", false, 1250)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(7, "int", "frame_start", "int", 4, false, 1252)] + [DNAFieldAttribute(4, "int", 7, "frame_start", "int", false, 1252)] public int frame_start; - [DNAFieldAttribute(8, "int", "frame_duration", "int", 4, false, 1256)] + [DNAFieldAttribute(4, "int", 8, "frame_duration", "int", false, 1256)] public int frame_duration; - [DNAFieldAttribute(9, "int", "frame_offset", "int", 4, false, 1260)] + [DNAFieldAttribute(4, "int", 9, "frame_offset", "int", false, 1260)] public int frame_offset; - [DNAFieldAttribute(10, "int", "flag", "int", 4, false, 1264)] + [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 1264)] public int flag; - [DNAFieldAttribute(11, "int", "active_grid", "int", 4, false, 1268)] + [DNAFieldAttribute(4, "int", 11, "active_grid", "int", false, 1268)] public int active_grid; - [DNAFieldAttribute(12, "Material", "**mat", "Material", 8, true, 1272)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(13, "short", "totcol", "short", 2, false, 1280)] + [DNAFieldAttribute(8, "Material", 12, "**mat", "Material", true, 1272)] + public Material mat; + [DNAFieldAttribute(2, "short", 13, "totcol", "short", false, 1280)] public short totcol; - [DNAFieldAttribute(14, "short", "_pad2[3]", "System.Int16[]", 6, false, 1282)] + [DNAFieldAttribute(6, "short", 14, "_pad2[3]", "System.Int16[]", false, 1282)] public short[] _pad2 = new System.Int16[3]; - [DNAFieldAttribute(15, "VolumeRender", "render", "VolumeRender", 16, false, 1288)] + [DNAFieldAttribute(16, "VolumeRender", 15, "render", "VolumeRender", false, 1288)] public VolumeRender render; - [DNAFieldAttribute(16, "VolumeDisplay", "display", "VolumeDisplay", 32, false, 1304)] + [DNAFieldAttribute(32, "VolumeDisplay", 16, "display", "VolumeDisplay", false, 1304)] public VolumeDisplay display; - [DNAFieldAttribute(17, "char", "velocity_grid[64]", "System.Char[]", 64, false, 1336)] + [DNAFieldAttribute(64, "char", 17, "velocity_grid[64]", "System.Char[]", false, 1336)] public char[] velocity_grid = new System.Char[64]; - [DNAFieldAttribute(18, "char", "_pad3[3]", "System.Char[]", 3, false, 1400)] + [DNAFieldAttribute(3, "char", 18, "_pad3[3]", "System.Char[]", false, 1400)] public char[] _pad3 = new System.Char[3]; - [DNAFieldAttribute(19, "char", "velocity_unit", "char", 1, false, 1403)] + [DNAFieldAttribute(1, "char", 19, "velocity_unit", "char", false, 1403)] public char velocity_unit; - [DNAFieldAttribute(20, "float", "velocity_scale", "float", 4, false, 1404)] + [DNAFieldAttribute(4, "float", 20, "velocity_scale", "float", false, 1404)] public float velocity_scale; - [DNAFieldAttribute(21, "void", "*batch_cache", "void", 8, true, 1408)] - public object ptr_batch_cache; - [DNAFieldAttribute(22, "VolumeRuntimeHandle", "*runtime", "VolumeRuntimeHandle", 8, true, 1416)] - public VolumeRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "void", 21, "*batch_cache", "void", true, 1408)] + public object batch_cache; + [DNAFieldAttribute(8, "VolumeRuntimeHandle", 22, "*runtime", "VolumeRuntimeHandle", true, 1416)] + public VolumeRuntimeHandle runtime; public Volume() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.filepath = default; - this.ptr_packedfile = default; + this.packedfile = default; this.is_sequence = default; this.sequence_mode = default; this._pad1 = default; @@ -74,7 +74,7 @@ namespace BlendFile.DNA { this.frame_offset = default; this.flag = default; this.active_grid = default; - this.ptr_ptr_mat = default; + this.mat = default; this.totcol = default; this._pad2 = default; this.render = default; @@ -83,14 +83,14 @@ namespace BlendFile.DNA { this._pad3 = default; this.velocity_unit = default; this.velocity_scale = default; - this.ptr_batch_cache = default; - this.ptr_runtime = default; + this.batch_cache = default; + this.runtime = default; } public Volume( ID id, - AnimData ptr_adt, + AnimData adt, char[] filepath, - PackedFile ptr_packedfile, + PackedFile packedfile, char is_sequence, char sequence_mode, char[] _pad1, @@ -99,7 +99,7 @@ namespace BlendFile.DNA { int frame_offset, int flag, int active_grid, - Material ptr_ptr_mat, + Material mat, short totcol, short[] _pad2, VolumeRender render, @@ -108,12 +108,12 @@ namespace BlendFile.DNA { char[] _pad3, char velocity_unit, float velocity_scale, - object ptr_batch_cache, - VolumeRuntimeHandle ptr_runtime) { + object batch_cache, + VolumeRuntimeHandle runtime) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.filepath = filepath; - this.ptr_packedfile = ptr_packedfile; + this.packedfile = packedfile; this.is_sequence = is_sequence; this.sequence_mode = sequence_mode; this._pad1 = _pad1; @@ -122,7 +122,7 @@ namespace BlendFile.DNA { this.frame_offset = frame_offset; this.flag = flag; this.active_grid = active_grid; - this.ptr_ptr_mat = ptr_ptr_mat; + this.mat = mat; this.totcol = totcol; this._pad2 = _pad2; this.render = render; @@ -131,8 +131,8 @@ namespace BlendFile.DNA { this._pad3 = _pad3; this.velocity_unit = velocity_unit; this.velocity_scale = velocity_scale; - this.ptr_batch_cache = ptr_batch_cache; - this.ptr_runtime = ptr_runtime; + this.batch_cache = batch_cache; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/VolumeDisplaceModifierData.cs b/BlendFile/DNA/VolumeDisplaceModifierData.cs index 933dda6..48d39fc 100644 --- a/BlendFile/DNA/VolumeDisplaceModifierData.cs +++ b/BlendFile/DNA/VolumeDisplaceModifierData.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(523, "VolumeDisplaceModifierData", 160)] public class VolumeDisplaceModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Tex", "*texture", "Tex", 8, true, 120)] - public Tex ptr_texture; - [DNAFieldAttribute(2, "Object", "*texture_map_object", "Object", 8, true, 128)] - public Object ptr_texture_map_object; - [DNAFieldAttribute(3, "int", "texture_map_mode", "int", 4, false, 136)] + [DNAFieldAttribute(8, "Tex", 1, "*texture", "Tex", true, 120)] + public Tex texture; + [DNAFieldAttribute(8, "Object", 2, "*texture_map_object", "Object", true, 128)] + public Object texture_map_object; + [DNAFieldAttribute(4, "int", 3, "texture_map_mode", "int", false, 136)] public int texture_map_mode; - [DNAFieldAttribute(4, "float", "strength", "float", 4, false, 140)] + [DNAFieldAttribute(4, "float", 4, "strength", "float", false, 140)] public float strength; - [DNAFieldAttribute(5, "float", "texture_mid_level[3]", "System.Single[]", 12, false, 144)] + [DNAFieldAttribute(12, "float", 5, "texture_mid_level[3]", "System.Single[]", false, 144)] public float[] texture_mid_level = new System.Single[3]; - [DNAFieldAttribute(6, "float", "texture_sample_radius", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 6, "texture_sample_radius", "float", false, 156)] public float texture_sample_radius; public VolumeDisplaceModifierData() { this.modifier = default; - this.ptr_texture = default; - this.ptr_texture_map_object = default; + this.texture = default; + this.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) { + public VolumeDisplaceModifierData(ModifierData modifier, Tex texture, Object 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; - this.ptr_texture_map_object = ptr_texture_map_object; + this.texture = texture; + this.texture_map_object = texture_map_object; this.texture_map_mode = texture_map_mode; this.strength = strength; this.texture_mid_level = texture_mid_level; diff --git a/BlendFile/DNA/VolumeDisplay.cs b/BlendFile/DNA/VolumeDisplay.cs index 4775218..faef485 100644 --- a/BlendFile/DNA/VolumeDisplay.cs +++ b/BlendFile/DNA/VolumeDisplay.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1038, "VolumeDisplay", 32)] - public struct VolumeDisplay { - [DNAFieldAttribute(0, "float", "density", "float", 4, false, 0)] + public class VolumeDisplay { + [DNAFieldAttribute(4, "float", 0, "density", "float", false, 0)] public float density; - [DNAFieldAttribute(1, "int", "wireframe_type", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "wireframe_type", "int", false, 4)] public int wireframe_type; - [DNAFieldAttribute(2, "int", "wireframe_detail", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "wireframe_detail", "int", false, 8)] public int wireframe_detail; - [DNAFieldAttribute(3, "int", "interpolation_method", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "interpolation_method", "int", false, 12)] public int interpolation_method; - [DNAFieldAttribute(4, "int", "axis_slice_method", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "axis_slice_method", "int", false, 16)] public int axis_slice_method; - [DNAFieldAttribute(5, "int", "slice_axis", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 5, "slice_axis", "int", false, 20)] public int slice_axis; - [DNAFieldAttribute(6, "float", "slice_depth", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "slice_depth", "float", false, 24)] public float slice_depth; - [DNAFieldAttribute(7, "int", "_pad[1]", "System.Int32[]", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "_pad[1]", "System.Int32[]", false, 28)] public int[] _pad = new System.Int32[1]; public VolumeDisplay() { this.density = default; diff --git a/BlendFile/DNA/VolumeRender.cs b/BlendFile/DNA/VolumeRender.cs index 490dfd5..8526500 100644 --- a/BlendFile/DNA/VolumeRender.cs +++ b/BlendFile/DNA/VolumeRender.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1039, "VolumeRender", 16)] - public struct VolumeRender { - [DNAFieldAttribute(0, "int", "precision", "int", 4, false, 0)] + public class VolumeRender { + [DNAFieldAttribute(4, "int", 0, "precision", "int", false, 0)] public int precision; - [DNAFieldAttribute(1, "int", "space", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "space", "int", false, 4)] public int space; - [DNAFieldAttribute(2, "float", "step_size", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "step_size", "float", false, 8)] public float step_size; - [DNAFieldAttribute(3, "float", "clipping", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "clipping", "float", false, 12)] public float clipping; public VolumeRender() { this.precision = default; diff --git a/BlendFile/DNA/VolumeToMeshModifierData.cs b/BlendFile/DNA/VolumeToMeshModifierData.cs index a90cac1..e121d69 100644 --- a/BlendFile/DNA/VolumeToMeshModifierData.cs +++ b/BlendFile/DNA/VolumeToMeshModifierData.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(524, "VolumeToMeshModifierData", 224)] public class VolumeToMeshModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Object", "*object", "Object", 8, true, 120)] - public Object ptr_object; - [DNAFieldAttribute(2, "float", "threshold", "float", 4, false, 128)] + [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] + public Object @object; + [DNAFieldAttribute(4, "float", 2, "threshold", "float", false, 128)] public float threshold; - [DNAFieldAttribute(3, "float", "adaptivity", "float", 4, false, 132)] + [DNAFieldAttribute(4, "float", 3, "adaptivity", "float", false, 132)] public float adaptivity; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 136)] public int flag; - [DNAFieldAttribute(5, "int", "resolution_mode", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 5, "resolution_mode", "int", false, 140)] public int resolution_mode; - [DNAFieldAttribute(6, "float", "voxel_size", "float", 4, false, 144)] + [DNAFieldAttribute(4, "float", 6, "voxel_size", "float", false, 144)] public float voxel_size; - [DNAFieldAttribute(7, "int", "voxel_amount", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 7, "voxel_amount", "int", false, 148)] public int voxel_amount; - [DNAFieldAttribute(8, "char", "grid_name[64]", "System.Char[]", 64, false, 152)] + [DNAFieldAttribute(64, "char", 8, "grid_name[64]", "System.Char[]", false, 152)] public char[] grid_name = new System.Char[64]; - [DNAFieldAttribute(9, "void", "*_pad1", "void", 8, true, 216)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 9, "*_pad1", "void", true, 216)] + public object _pad1; public VolumeToMeshModifierData() { this.modifier = default; - this.ptr_object = default; + this.@object = default; this.threshold = default; this.adaptivity = default; this.flag = default; @@ -45,11 +45,11 @@ namespace BlendFile.DNA { this.voxel_size = default; this.voxel_amount = default; this.grid_name = default; - this.ptr__pad1 = default; + this._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) { + public VolumeToMeshModifierData(ModifierData modifier, Object @object, float threshold, float adaptivity, int flag, int resolution_mode, float voxel_size, int voxel_amount, char[] grid_name, object _pad1) { this.modifier = modifier; - this.ptr_object = ptr_object; + this.@object = @object; this.threshold = threshold; this.adaptivity = adaptivity; this.flag = flag; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { this.voxel_size = voxel_size; this.voxel_amount = voxel_amount; this.grid_name = grid_name; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/WalkNavigation.cs b/BlendFile/DNA/WalkNavigation.cs index 52d48d8..403a441 100644 --- a/BlendFile/DNA/WalkNavigation.cs +++ b/BlendFile/DNA/WalkNavigation.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1008, "WalkNavigation", 32)] - public struct WalkNavigation { - [DNAFieldAttribute(0, "float", "mouse_speed", "float", 4, false, 0)] + public class WalkNavigation { + [DNAFieldAttribute(4, "float", 0, "mouse_speed", "float", false, 0)] public float mouse_speed; - [DNAFieldAttribute(1, "float", "walk_speed", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "walk_speed", "float", false, 4)] public float walk_speed; - [DNAFieldAttribute(2, "float", "walk_speed_factor", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "walk_speed_factor", "float", false, 8)] public float walk_speed_factor; - [DNAFieldAttribute(3, "float", "view_height", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "view_height", "float", false, 12)] public float view_height; - [DNAFieldAttribute(4, "float", "jump_height", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "jump_height", "float", false, 16)] public float jump_height; - [DNAFieldAttribute(5, "float", "teleport_time", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "teleport_time", "float", false, 20)] public float teleport_time; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(7, "char", "_pad0[6]", "System.Char[]", 6, false, 26)] + [DNAFieldAttribute(6, "char", 7, "_pad0[6]", "System.Char[]", false, 26)] public char[] _pad0 = new System.Char[6]; public WalkNavigation() { this.mouse_speed = default; diff --git a/BlendFile/DNA/WarpModifierData.cs b/BlendFile/DNA/WarpModifierData.cs index 0aefadc..fc7717d 100644 --- a/BlendFile/DNA/WarpModifierData.cs +++ b/BlendFile/DNA/WarpModifierData.cs @@ -15,109 +15,109 @@ namespace BlendFile.DNA { [DNAClassAttribute(492, "WarpModifierData", 520)] public class WarpModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Tex", "*texture", "Tex", 8, true, 120)] - public Tex ptr_texture; - [DNAFieldAttribute(2, "Object", "*map_object", "Object", 8, true, 128)] - public Object ptr_map_object; - [DNAFieldAttribute(3, "char", "map_bone[64]", "System.Char[]", 64, false, 136)] + [DNAFieldAttribute(8, "Tex", 1, "*texture", "Tex", true, 120)] + public Tex texture; + [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] + public Object map_object; + [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(4, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 200)] + [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(5, "char", "_pad1[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(6, "int", "uvlayer_tmp", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; - [DNAFieldAttribute(7, "int", "texmapping", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 7, "texmapping", "int", false, 276)] public int texmapping; - [DNAFieldAttribute(8, "Object", "*object_from", "Object", 8, true, 280)] - public Object ptr_object_from; - [DNAFieldAttribute(9, "Object", "*object_to", "Object", 8, true, 288)] - public Object ptr_object_to; - [DNAFieldAttribute(10, "char", "bone_from[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(8, "Object", 8, "*object_from", "Object", true, 280)] + public Object object_from; + [DNAFieldAttribute(8, "Object", 9, "*object_to", "Object", true, 288)] + public Object object_to; + [DNAFieldAttribute(64, "char", 10, "bone_from[64]", "System.Char[]", false, 296)] public char[] bone_from = new System.Char[64]; - [DNAFieldAttribute(11, "char", "bone_to[64]", "System.Char[]", 64, false, 360)] + [DNAFieldAttribute(64, "char", 11, "bone_to[64]", "System.Char[]", false, 360)] public char[] bone_to = new System.Char[64]; - [DNAFieldAttribute(12, "CurveMapping", "*curfalloff", "CurveMapping", 8, true, 424)] - public CurveMapping ptr_curfalloff; - [DNAFieldAttribute(13, "char", "defgrp_name[64]", "System.Char[]", 64, false, 432)] + [DNAFieldAttribute(8, "CurveMapping", 12, "*curfalloff", "CurveMapping", true, 424)] + public CurveMapping curfalloff; + [DNAFieldAttribute(64, "char", 13, "defgrp_name[64]", "System.Char[]", false, 432)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(14, "float", "strength", "float", 4, false, 496)] + [DNAFieldAttribute(4, "float", 14, "strength", "float", false, 496)] public float strength; - [DNAFieldAttribute(15, "float", "falloff_radius", "float", 4, false, 500)] + [DNAFieldAttribute(4, "float", 15, "falloff_radius", "float", false, 500)] public float falloff_radius; - [DNAFieldAttribute(16, "char", "flag", "char", 1, false, 504)] + [DNAFieldAttribute(1, "char", 16, "flag", "char", false, 504)] public char flag; - [DNAFieldAttribute(17, "char", "falloff_type", "char", 1, false, 505)] + [DNAFieldAttribute(1, "char", 17, "falloff_type", "char", false, 505)] public char falloff_type; - [DNAFieldAttribute(18, "char", "_pad2[6]", "System.Char[]", 6, false, 506)] + [DNAFieldAttribute(6, "char", 18, "_pad2[6]", "System.Char[]", false, 506)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(19, "void", "*_pad3", "void", 8, true, 512)] - public object ptr__pad3; + [DNAFieldAttribute(8, "void", 19, "*_pad3", "void", true, 512)] + public object _pad3; public WarpModifierData() { this.modifier = default; - this.ptr_texture = default; - this.ptr_map_object = default; + this.texture = default; + this.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.object_from = default; + this.object_to = default; this.bone_from = default; this.bone_to = default; - this.ptr_curfalloff = default; + this.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; + this._pad3 = default; } public WarpModifierData( ModifierData modifier, - Tex ptr_texture, - Object ptr_map_object, + Tex texture, + Object map_object, char[] map_bone, char[] uvlayer_name, char[] _pad1, int uvlayer_tmp, int texmapping, - Object ptr_object_from, - Object ptr_object_to, + Object object_from, + Object object_to, char[] bone_from, char[] bone_to, - CurveMapping ptr_curfalloff, + CurveMapping curfalloff, char[] defgrp_name, float strength, float falloff_radius, char flag, char falloff_type, char[] _pad2, - object ptr__pad3) { + object _pad3) { this.modifier = modifier; - this.ptr_texture = ptr_texture; - this.ptr_map_object = ptr_map_object; + this.texture = texture; + this.map_object = map_object; this.map_bone = map_bone; this.uvlayer_name = uvlayer_name; this._pad1 = _pad1; this.uvlayer_tmp = uvlayer_tmp; this.texmapping = texmapping; - this.ptr_object_from = ptr_object_from; - this.ptr_object_to = ptr_object_to; + this.object_from = object_from; + this.object_to = object_to; this.bone_from = bone_from; this.bone_to = bone_to; - this.ptr_curfalloff = ptr_curfalloff; + this.curfalloff = curfalloff; this.defgrp_name = defgrp_name; this.strength = strength; this.falloff_radius = falloff_radius; this.flag = flag; this.falloff_type = falloff_type; this._pad2 = _pad2; - this.ptr__pad3 = ptr__pad3; + this._pad3 = _pad3; } } } diff --git a/BlendFile/DNA/WaveEff.cs b/BlendFile/DNA/WaveEff.cs index 79db902..274767c 100644 --- a/BlendFile/DNA/WaveEff.cs +++ b/BlendFile/DNA/WaveEff.cs @@ -15,41 +15,41 @@ namespace BlendFile.DNA { [DNAClassAttribute(238, "WaveEff", 64)] public class WaveEff { - [DNAFieldAttribute(0, "WaveEff", "*next", "WaveEff", 8, true, 0)] - public WaveEff ptr_next; - [DNAFieldAttribute(1, "WaveEff", "*prev", "WaveEff", 8, true, 8)] - public WaveEff ptr_prev; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "WaveEff", 0, "*next", "WaveEff", true, 0)] + public WaveEff next; + [DNAFieldAttribute(8, "WaveEff", 1, "*prev", "WaveEff", true, 8)] + public WaveEff prev; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(4, "short", "buttype", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)] public short buttype; - [DNAFieldAttribute(5, "short", "stype", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 5, "stype", "short", false, 22)] public short stype; - [DNAFieldAttribute(6, "float", "startx", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "startx", "float", false, 24)] public float startx; - [DNAFieldAttribute(7, "float", "starty", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "starty", "float", false, 28)] public float starty; - [DNAFieldAttribute(8, "float", "height", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "height", "float", false, 32)] public float height; - [DNAFieldAttribute(9, "float", "width", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "width", "float", false, 36)] public float width; - [DNAFieldAttribute(10, "float", "narrow", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "narrow", "float", false, 40)] public float narrow; - [DNAFieldAttribute(11, "float", "speed", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "speed", "float", false, 44)] public float speed; - [DNAFieldAttribute(12, "float", "minfac", "float", 4, false, 48)] + [DNAFieldAttribute(4, "float", 12, "minfac", "float", false, 48)] public float minfac; - [DNAFieldAttribute(13, "float", "damp", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 13, "damp", "float", false, 52)] public float damp; - [DNAFieldAttribute(14, "float", "timeoffs", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 14, "timeoffs", "float", false, 56)] public float timeoffs; - [DNAFieldAttribute(15, "float", "lifetime", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 15, "lifetime", "float", false, 60)] public float lifetime; public WaveEff() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.flag = default; this.buttype = default; @@ -66,8 +66,8 @@ namespace BlendFile.DNA { this.lifetime = default; } public WaveEff( - WaveEff ptr_next, - WaveEff ptr_prev, + WaveEff next, + WaveEff prev, short type, short flag, short buttype, @@ -82,8 +82,8 @@ namespace BlendFile.DNA { float damp, float timeoffs, float lifetime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.buttype = buttype; diff --git a/BlendFile/DNA/WaveModifierData.cs b/BlendFile/DNA/WaveModifierData.cs index 6369ff5..dd6b61c 100644 --- a/BlendFile/DNA/WaveModifierData.cs +++ b/BlendFile/DNA/WaveModifierData.cs @@ -15,64 +15,64 @@ namespace BlendFile.DNA { [DNAClassAttribute(460, "WaveModifierData", 408)] public class WaveModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "Tex", "*texture", "Tex", 8, true, 120)] - public Tex ptr_texture; - [DNAFieldAttribute(2, "Object", "*map_object", "Object", 8, true, 128)] - public Object ptr_map_object; - [DNAFieldAttribute(3, "char", "map_bone[64]", "System.Char[]", 64, false, 136)] + [DNAFieldAttribute(8, "Tex", 1, "*texture", "Tex", true, 120)] + public Tex texture; + [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] + public Object map_object; + [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(4, "char", "uvlayer_name[68]", "System.Char[]", 68, false, 200)] + [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(5, "char", "_pad1[4]", "System.Char[]", 4, false, 268)] + [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(6, "int", "uvlayer_tmp", "int", 4, false, 272)] + [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; - [DNAFieldAttribute(7, "int", "texmapping", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 7, "texmapping", "int", false, 276)] public int texmapping; - [DNAFieldAttribute(8, "Object", "*objectcenter", "Object", 8, true, 280)] - public Object ptr_objectcenter; - [DNAFieldAttribute(9, "char", "defgrp_name[64]", "System.Char[]", 64, false, 288)] + [DNAFieldAttribute(8, "Object", 8, "*objectcenter", "Object", true, 280)] + public Object objectcenter; + [DNAFieldAttribute(64, "char", 9, "defgrp_name[64]", "System.Char[]", false, 288)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(10, "short", "flag", "short", 2, false, 352)] + [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 352)] public short flag; - [DNAFieldAttribute(11, "char", "_pad2[2]", "System.Char[]", 2, false, 354)] + [DNAFieldAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", false, 354)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(12, "float", "startx", "float", 4, false, 356)] + [DNAFieldAttribute(4, "float", 12, "startx", "float", false, 356)] public float startx; - [DNAFieldAttribute(13, "float", "starty", "float", 4, false, 360)] + [DNAFieldAttribute(4, "float", 13, "starty", "float", false, 360)] public float starty; - [DNAFieldAttribute(14, "float", "height", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 14, "height", "float", false, 364)] public float height; - [DNAFieldAttribute(15, "float", "width", "float", 4, false, 368)] + [DNAFieldAttribute(4, "float", 15, "width", "float", false, 368)] public float width; - [DNAFieldAttribute(16, "float", "narrow", "float", 4, false, 372)] + [DNAFieldAttribute(4, "float", 16, "narrow", "float", false, 372)] public float narrow; - [DNAFieldAttribute(17, "float", "speed", "float", 4, false, 376)] + [DNAFieldAttribute(4, "float", 17, "speed", "float", false, 376)] public float speed; - [DNAFieldAttribute(18, "float", "damp", "float", 4, false, 380)] + [DNAFieldAttribute(4, "float", 18, "damp", "float", false, 380)] public float damp; - [DNAFieldAttribute(19, "float", "falloff", "float", 4, false, 384)] + [DNAFieldAttribute(4, "float", 19, "falloff", "float", false, 384)] public float falloff; - [DNAFieldAttribute(20, "float", "timeoffs", "float", 4, false, 388)] + [DNAFieldAttribute(4, "float", 20, "timeoffs", "float", false, 388)] public float timeoffs; - [DNAFieldAttribute(21, "float", "lifetime", "float", 4, false, 392)] + [DNAFieldAttribute(4, "float", 21, "lifetime", "float", false, 392)] public float lifetime; - [DNAFieldAttribute(22, "char", "_pad3[4]", "System.Char[]", 4, false, 396)] + [DNAFieldAttribute(4, "char", 22, "_pad3[4]", "System.Char[]", false, 396)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(23, "void", "*_pad4", "void", 8, true, 400)] - public object ptr__pad4; + [DNAFieldAttribute(8, "void", 23, "*_pad4", "void", true, 400)] + public object _pad4; public WaveModifierData() { this.modifier = default; - this.ptr_texture = default; - this.ptr_map_object = default; + this.texture = default; + this.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.objectcenter = default; this.defgrp_name = default; this.flag = default; this._pad2 = default; @@ -87,18 +87,18 @@ namespace BlendFile.DNA { this.timeoffs = default; this.lifetime = default; this._pad3 = default; - this.ptr__pad4 = default; + this._pad4 = default; } public WaveModifierData( ModifierData modifier, - Tex ptr_texture, - Object ptr_map_object, + Tex texture, + Object map_object, char[] map_bone, char[] uvlayer_name, char[] _pad1, int uvlayer_tmp, int texmapping, - Object ptr_objectcenter, + Object objectcenter, char[] defgrp_name, short flag, char[] _pad2, @@ -113,16 +113,16 @@ namespace BlendFile.DNA { float timeoffs, float lifetime, char[] _pad3, - object ptr__pad4) { + object _pad4) { this.modifier = modifier; - this.ptr_texture = ptr_texture; - this.ptr_map_object = ptr_map_object; + this.texture = texture; + this.map_object = map_object; this.map_bone = map_bone; this.uvlayer_name = uvlayer_name; this._pad1 = _pad1; this.uvlayer_tmp = uvlayer_tmp; this.texmapping = texmapping; - this.ptr_objectcenter = ptr_objectcenter; + this.objectcenter = objectcenter; this.defgrp_name = defgrp_name; this.flag = flag; this._pad2 = _pad2; @@ -137,7 +137,7 @@ namespace BlendFile.DNA { this.timeoffs = timeoffs; this.lifetime = lifetime; this._pad3 = _pad3; - this.ptr__pad4 = ptr__pad4; + this._pad4 = _pad4; } } } diff --git a/BlendFile/DNA/WaveShaderFxData.cs b/BlendFile/DNA/WaveShaderFxData.cs index 5332f5e..c87951c 100644 --- a/BlendFile/DNA/WaveShaderFxData.cs +++ b/BlendFile/DNA/WaveShaderFxData.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(925, "WaveShaderFxData", 168)] - public struct WaveShaderFxData { - [DNAFieldAttribute(0, "ShaderFxData", "shaderfx", "ShaderFxData", 104, false, 0)] + public class WaveShaderFxData { + [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(1, "float", "amplitude", "float", 4, false, 104)] + [DNAFieldAttribute(4, "float", 1, "amplitude", "float", false, 104)] public float amplitude; - [DNAFieldAttribute(2, "float", "period", "float", 4, false, 108)] + [DNAFieldAttribute(4, "float", 2, "period", "float", false, 108)] public float period; - [DNAFieldAttribute(3, "float", "phase", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 3, "phase", "float", false, 112)] public float phase; - [DNAFieldAttribute(4, "int", "orientation", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 4, "orientation", "int", false, 116)] public int orientation; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 120)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(7, "ShaderFxData_Runtime", "runtime", "ShaderFxData_Runtime", 40, false, 128)] + [DNAFieldAttribute(40, "ShaderFxData_Runtime", 7, "runtime", "ShaderFxData_Runtime", false, 128)] public ShaderFxData_Runtime runtime; public WaveShaderFxData() { this.shaderfx = default; diff --git a/BlendFile/DNA/WeightAngleGpencilModifierData.cs b/BlendFile/DNA/WeightAngleGpencilModifierData.cs index 7ad3cba..ca635f4 100644 --- a/BlendFile/DNA/WeightAngleGpencilModifierData.cs +++ b/BlendFile/DNA/WeightAngleGpencilModifierData.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(301, "WeightAngleGpencilModifierData", 328)] public class WeightAngleGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "char", "target_vgname[64]", "System.Char[]", 64, false, 104)] + [DNAFieldAttribute(64, "char", 1, "target_vgname[64]", "System.Char[]", false, 104)] public char[] target_vgname = new System.Char[64]; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 168)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "layername[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 168)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 176)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "min_weight", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "min_weight", "float", false, 312)] public float min_weight; - [DNAFieldAttribute(8, "int", "layer_pass", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 8, "layer_pass", "int", false, 316)] public int layer_pass; - [DNAFieldAttribute(9, "short", "axis", "short", 2, false, 320)] + [DNAFieldAttribute(2, "short", 9, "axis", "short", false, 320)] public short axis; - [DNAFieldAttribute(10, "short", "space", "short", 2, false, 322)] + [DNAFieldAttribute(2, "short", 10, "space", "short", false, 322)] public short space; - [DNAFieldAttribute(11, "float", "angle", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 11, "angle", "float", false, 324)] public float angle; public WeightAngleGpencilModifierData() { this.modifier = default; this.target_vgname = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.vgname = default; this.pass_index = default; @@ -53,10 +53,10 @@ namespace BlendFile.DNA { 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) { + public WeightAngleGpencilModifierData(GpencilModifierData modifier, char[] target_vgname, Material 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; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.vgname = vgname; this.pass_index = pass_index; diff --git a/BlendFile/DNA/WeightProxGpencilModifierData.cs b/BlendFile/DNA/WeightProxGpencilModifierData.cs index c7da00c..6b325d9 100644 --- a/BlendFile/DNA/WeightProxGpencilModifierData.cs +++ b/BlendFile/DNA/WeightProxGpencilModifierData.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(300, "WeightProxGpencilModifierData", 336)] public class WeightProxGpencilModifierData { - [DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104, false, 0)] + [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(1, "char", "target_vgname[64]", "System.Char[]", 64, false, 104)] + [DNAFieldAttribute(64, "char", 1, "target_vgname[64]", "System.Char[]", false, 104)] public char[] target_vgname = new System.Char[64]; - [DNAFieldAttribute(2, "Material", "*material", "Material", 8, true, 168)] - public Material ptr_material; - [DNAFieldAttribute(3, "char", "layername[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 168)] + public Material material; + [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 176)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(4, "char", "vgname[64]", "System.Char[]", 64, false, 240)] + [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] public char[] vgname = new System.Char[64]; - [DNAFieldAttribute(5, "int", "pass_index", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(7, "float", "min_weight", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 7, "min_weight", "float", false, 312)] public float min_weight; - [DNAFieldAttribute(8, "int", "layer_pass", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 8, "layer_pass", "int", false, 316)] public int layer_pass; - [DNAFieldAttribute(9, "float", "dist_start", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 9, "dist_start", "float", false, 320)] public float dist_start; - [DNAFieldAttribute(10, "float", "dist_end", "float", 4, false, 324)] + [DNAFieldAttribute(4, "float", 10, "dist_end", "float", false, 324)] public float dist_end; - [DNAFieldAttribute(11, "Object", "*object", "Object", 8, true, 328)] - public Object ptr_object; + [DNAFieldAttribute(8, "Object", 11, "*object", "Object", true, 328)] + public Object @object; public WeightProxGpencilModifierData() { this.modifier = default; this.target_vgname = default; - this.ptr_material = default; + this.material = default; this.layername = default; this.vgname = default; this.pass_index = default; @@ -51,12 +51,12 @@ namespace BlendFile.DNA { this.layer_pass = default; this.dist_start = default; this.dist_end = default; - this.ptr_object = default; + this.@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) { + public WeightProxGpencilModifierData(GpencilModifierData modifier, char[] target_vgname, Material material, char[] layername, char[] vgname, int pass_index, int flag, float min_weight, int layer_pass, float dist_start, float dist_end, Object @object) { this.modifier = modifier; this.target_vgname = target_vgname; - this.ptr_material = ptr_material; + this.material = material; this.layername = layername; this.vgname = vgname; this.pass_index = pass_index; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { this.layer_pass = layer_pass; this.dist_start = dist_start; this.dist_end = dist_end; - this.ptr_object = ptr_object; + this.@object = @object; } } } diff --git a/BlendFile/DNA/WeightVGEditModifierData.cs b/BlendFile/DNA/WeightVGEditModifierData.cs index 8019ce1..48a414b 100644 --- a/BlendFile/DNA/WeightVGEditModifierData.cs +++ b/BlendFile/DNA/WeightVGEditModifierData.cs @@ -15,58 +15,58 @@ namespace BlendFile.DNA { [DNAClassAttribute(493, "WeightVGEditModifierData", 440)] public class WeightVGEditModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(2, "short", "edit_flags", "short", 2, false, 184)] + [DNAFieldAttribute(2, "short", 2, "edit_flags", "short", false, 184)] public short edit_flags; - [DNAFieldAttribute(3, "short", "falloff_type", "short", 2, false, 186)] + [DNAFieldAttribute(2, "short", 3, "falloff_type", "short", false, 186)] public short falloff_type; - [DNAFieldAttribute(4, "float", "default_weight", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 4, "default_weight", "float", false, 188)] public float default_weight; - [DNAFieldAttribute(5, "CurveMapping", "*cmap_curve", "CurveMapping", 8, true, 192)] - public CurveMapping ptr_cmap_curve; - [DNAFieldAttribute(6, "float", "add_threshold", "float", 4, false, 200)] + [DNAFieldAttribute(8, "CurveMapping", 5, "*cmap_curve", "CurveMapping", true, 192)] + public CurveMapping cmap_curve; + [DNAFieldAttribute(4, "float", 6, "add_threshold", "float", false, 200)] public float add_threshold; - [DNAFieldAttribute(7, "float", "rem_threshold", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 7, "rem_threshold", "float", false, 204)] public float rem_threshold; - [DNAFieldAttribute(8, "float", "mask_constant", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 8, "mask_constant", "float", false, 208)] public float mask_constant; - [DNAFieldAttribute(9, "char", "mask_defgrp_name[64]", "System.Char[]", 64, false, 212)] + [DNAFieldAttribute(64, "char", 9, "mask_defgrp_name[64]", "System.Char[]", false, 212)] public char[] mask_defgrp_name = new System.Char[64]; - [DNAFieldAttribute(10, "int", "mask_tex_use_channel", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 10, "mask_tex_use_channel", "int", false, 276)] public int mask_tex_use_channel; - [DNAFieldAttribute(11, "Tex", "*mask_texture", "Tex", 8, true, 280)] - public Tex ptr_mask_texture; - [DNAFieldAttribute(12, "Object", "*mask_tex_map_obj", "Object", 8, true, 288)] - public Object ptr_mask_tex_map_obj; - [DNAFieldAttribute(13, "char", "mask_tex_map_bone[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(8, "Tex", 11, "*mask_texture", "Tex", true, 280)] + public Tex mask_texture; + [DNAFieldAttribute(8, "Object", 12, "*mask_tex_map_obj", "Object", true, 288)] + public Object mask_tex_map_obj; + [DNAFieldAttribute(64, "char", 13, "mask_tex_map_bone[64]", "System.Char[]", false, 296)] public char[] mask_tex_map_bone = new System.Char[64]; - [DNAFieldAttribute(14, "int", "mask_tex_mapping", "int", 4, false, 360)] + [DNAFieldAttribute(4, "int", 14, "mask_tex_mapping", "int", false, 360)] public int mask_tex_mapping; - [DNAFieldAttribute(15, "char", "mask_tex_uvlayer_name[68]", "System.Char[]", 68, false, 364)] + [DNAFieldAttribute(68, "char", 15, "mask_tex_uvlayer_name[68]", "System.Char[]", false, 364)] public char[] mask_tex_uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(16, "void", "*_pad1", "void", 8, true, 432)] - public object ptr__pad1; + [DNAFieldAttribute(8, "void", 16, "*_pad1", "void", true, 432)] + public object _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.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_texture = default; + this.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; + this._pad1 = default; } public WeightVGEditModifierData( ModifierData modifier, @@ -74,35 +74,35 @@ namespace BlendFile.DNA { short edit_flags, short falloff_type, float default_weight, - CurveMapping ptr_cmap_curve, + CurveMapping cmap_curve, float add_threshold, float rem_threshold, float mask_constant, char[] mask_defgrp_name, int mask_tex_use_channel, - Tex ptr_mask_texture, - Object ptr_mask_tex_map_obj, + Tex mask_texture, + Object mask_tex_map_obj, char[] mask_tex_map_bone, int mask_tex_mapping, char[] mask_tex_uvlayer_name, - object ptr__pad1) { + object _pad1) { this.modifier = modifier; this.defgrp_name = defgrp_name; this.edit_flags = edit_flags; this.falloff_type = falloff_type; this.default_weight = default_weight; - this.ptr_cmap_curve = ptr_cmap_curve; + this.cmap_curve = cmap_curve; this.add_threshold = add_threshold; this.rem_threshold = rem_threshold; this.mask_constant = mask_constant; this.mask_defgrp_name = mask_defgrp_name; this.mask_tex_use_channel = mask_tex_use_channel; - this.ptr_mask_texture = ptr_mask_texture; - this.ptr_mask_tex_map_obj = ptr_mask_tex_map_obj; + this.mask_texture = mask_texture; + this.mask_tex_map_obj = mask_tex_map_obj; this.mask_tex_map_bone = mask_tex_map_bone; this.mask_tex_mapping = mask_tex_mapping; this.mask_tex_uvlayer_name = mask_tex_uvlayer_name; - this.ptr__pad1 = ptr__pad1; + this._pad1 = _pad1; } } } diff --git a/BlendFile/DNA/WeightVGMixModifierData.cs b/BlendFile/DNA/WeightVGMixModifierData.cs index ff9ffcb..0ca903c 100644 --- a/BlendFile/DNA/WeightVGMixModifierData.cs +++ b/BlendFile/DNA/WeightVGMixModifierData.cs @@ -15,43 +15,43 @@ namespace BlendFile.DNA { [DNAClassAttribute(494, "WeightVGMixModifierData", 496)] public class WeightVGMixModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name_a[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name_a[64]", "System.Char[]", false, 120)] public char[] defgrp_name_a = new System.Char[64]; - [DNAFieldAttribute(2, "char", "defgrp_name_b[64]", "System.Char[]", 64, false, 184)] + [DNAFieldAttribute(64, "char", 2, "defgrp_name_b[64]", "System.Char[]", false, 184)] public char[] defgrp_name_b = new System.Char[64]; - [DNAFieldAttribute(3, "float", "default_weight_a", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 3, "default_weight_a", "float", false, 248)] public float default_weight_a; - [DNAFieldAttribute(4, "float", "default_weight_b", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 4, "default_weight_b", "float", false, 252)] public float default_weight_b; - [DNAFieldAttribute(5, "char", "mix_mode", "char", 1, false, 256)] + [DNAFieldAttribute(1, "char", 5, "mix_mode", "char", false, 256)] public char mix_mode; - [DNAFieldAttribute(6, "char", "mix_set", "char", 1, false, 257)] + [DNAFieldAttribute(1, "char", 6, "mix_set", "char", false, 257)] public char mix_set; - [DNAFieldAttribute(7, "char", "_pad0[6]", "System.Char[]", 6, false, 258)] + [DNAFieldAttribute(6, "char", 7, "_pad0[6]", "System.Char[]", false, 258)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(8, "float", "mask_constant", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 8, "mask_constant", "float", false, 264)] public float mask_constant; - [DNAFieldAttribute(9, "char", "mask_defgrp_name[64]", "System.Char[]", 64, false, 268)] + [DNAFieldAttribute(64, "char", 9, "mask_defgrp_name[64]", "System.Char[]", false, 268)] public char[] mask_defgrp_name = new System.Char[64]; - [DNAFieldAttribute(10, "int", "mask_tex_use_channel", "int", 4, false, 332)] + [DNAFieldAttribute(4, "int", 10, "mask_tex_use_channel", "int", false, 332)] public int mask_tex_use_channel; - [DNAFieldAttribute(11, "Tex", "*mask_texture", "Tex", 8, true, 336)] - public Tex ptr_mask_texture; - [DNAFieldAttribute(12, "Object", "*mask_tex_map_obj", "Object", 8, true, 344)] - public Object ptr_mask_tex_map_obj; - [DNAFieldAttribute(13, "char", "mask_tex_map_bone[64]", "System.Char[]", 64, false, 352)] + [DNAFieldAttribute(8, "Tex", 11, "*mask_texture", "Tex", true, 336)] + public Tex mask_texture; + [DNAFieldAttribute(8, "Object", 12, "*mask_tex_map_obj", "Object", true, 344)] + public Object mask_tex_map_obj; + [DNAFieldAttribute(64, "char", 13, "mask_tex_map_bone[64]", "System.Char[]", false, 352)] public char[] mask_tex_map_bone = new System.Char[64]; - [DNAFieldAttribute(14, "int", "mask_tex_mapping", "int", 4, false, 416)] + [DNAFieldAttribute(4, "int", 14, "mask_tex_mapping", "int", false, 416)] public int mask_tex_mapping; - [DNAFieldAttribute(15, "char", "mask_tex_uvlayer_name[68]", "System.Char[]", 68, false, 420)] + [DNAFieldAttribute(68, "char", 15, "mask_tex_uvlayer_name[68]", "System.Char[]", false, 420)] public char[] mask_tex_uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(16, "char", "_pad1[4]", "System.Char[]", 4, false, 488)] + [DNAFieldAttribute(4, "char", 16, "_pad1[4]", "System.Char[]", false, 488)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(17, "char", "flag", "char", 1, false, 492)] + [DNAFieldAttribute(1, "char", 17, "flag", "char", false, 492)] public char flag; - [DNAFieldAttribute(18, "char", "_pad2[3]", "System.Char[]", 3, false, 493)] + [DNAFieldAttribute(3, "char", 18, "_pad2[3]", "System.Char[]", false, 493)] public char[] _pad2 = new System.Char[3]; public WeightVGMixModifierData() { this.modifier = default; @@ -65,8 +65,8 @@ namespace BlendFile.DNA { 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_texture = default; + this.mask_tex_map_obj = default; this.mask_tex_map_bone = default; this.mask_tex_mapping = default; this.mask_tex_uvlayer_name = default; @@ -86,8 +86,8 @@ namespace BlendFile.DNA { float mask_constant, char[] mask_defgrp_name, int mask_tex_use_channel, - Tex ptr_mask_texture, - Object ptr_mask_tex_map_obj, + Tex mask_texture, + Object mask_tex_map_obj, char[] mask_tex_map_bone, int mask_tex_mapping, char[] mask_tex_uvlayer_name, @@ -105,8 +105,8 @@ namespace BlendFile.DNA { this.mask_constant = mask_constant; this.mask_defgrp_name = mask_defgrp_name; this.mask_tex_use_channel = mask_tex_use_channel; - this.ptr_mask_texture = ptr_mask_texture; - this.ptr_mask_tex_map_obj = ptr_mask_tex_map_obj; + this.mask_texture = mask_texture; + this.mask_tex_map_obj = mask_tex_map_obj; this.mask_tex_map_bone = mask_tex_map_bone; this.mask_tex_mapping = mask_tex_mapping; this.mask_tex_uvlayer_name = mask_tex_uvlayer_name; diff --git a/BlendFile/DNA/WeightVGProximityModifierData.cs b/BlendFile/DNA/WeightVGProximityModifierData.cs index a31ee5e..b1e484d 100644 --- a/BlendFile/DNA/WeightVGProximityModifierData.cs +++ b/BlendFile/DNA/WeightVGProximityModifierData.cs @@ -15,56 +15,56 @@ namespace BlendFile.DNA { [DNAClassAttribute(495, "WeightVGProximityModifierData", 448)] public class WeightVGProximityModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(2, "CurveMapping", "*cmap_curve", "CurveMapping", 8, true, 184)] - public CurveMapping ptr_cmap_curve; - [DNAFieldAttribute(3, "int", "proximity_mode", "int", 4, false, 192)] + [DNAFieldAttribute(8, "CurveMapping", 2, "*cmap_curve", "CurveMapping", true, 184)] + public CurveMapping cmap_curve; + [DNAFieldAttribute(4, "int", 3, "proximity_mode", "int", false, 192)] public int proximity_mode; - [DNAFieldAttribute(4, "int", "proximity_flags", "int", 4, false, 196)] + [DNAFieldAttribute(4, "int", 4, "proximity_flags", "int", false, 196)] public int proximity_flags; - [DNAFieldAttribute(5, "Object", "*proximity_ob_target", "Object", 8, true, 200)] - public Object ptr_proximity_ob_target; - [DNAFieldAttribute(6, "float", "mask_constant", "float", 4, false, 208)] + [DNAFieldAttribute(8, "Object", 5, "*proximity_ob_target", "Object", true, 200)] + public Object proximity_ob_target; + [DNAFieldAttribute(4, "float", 6, "mask_constant", "float", false, 208)] public float mask_constant; - [DNAFieldAttribute(7, "char", "mask_defgrp_name[64]", "System.Char[]", 64, false, 212)] + [DNAFieldAttribute(64, "char", 7, "mask_defgrp_name[64]", "System.Char[]", false, 212)] public char[] mask_defgrp_name = new System.Char[64]; - [DNAFieldAttribute(8, "int", "mask_tex_use_channel", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 8, "mask_tex_use_channel", "int", false, 276)] public int mask_tex_use_channel; - [DNAFieldAttribute(9, "Tex", "*mask_texture", "Tex", 8, true, 280)] - public Tex ptr_mask_texture; - [DNAFieldAttribute(10, "Object", "*mask_tex_map_obj", "Object", 8, true, 288)] - public Object ptr_mask_tex_map_obj; - [DNAFieldAttribute(11, "char", "mask_tex_map_bone[64]", "System.Char[]", 64, false, 296)] + [DNAFieldAttribute(8, "Tex", 9, "*mask_texture", "Tex", true, 280)] + public Tex mask_texture; + [DNAFieldAttribute(8, "Object", 10, "*mask_tex_map_obj", "Object", true, 288)] + public Object mask_tex_map_obj; + [DNAFieldAttribute(64, "char", 11, "mask_tex_map_bone[64]", "System.Char[]", false, 296)] public char[] mask_tex_map_bone = new System.Char[64]; - [DNAFieldAttribute(12, "int", "mask_tex_mapping", "int", 4, false, 360)] + [DNAFieldAttribute(4, "int", 12, "mask_tex_mapping", "int", false, 360)] public int mask_tex_mapping; - [DNAFieldAttribute(13, "char", "mask_tex_uvlayer_name[68]", "System.Char[]", 68, false, 364)] + [DNAFieldAttribute(68, "char", 13, "mask_tex_uvlayer_name[68]", "System.Char[]", false, 364)] public char[] mask_tex_uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(14, "char", "_pad1[4]", "System.Char[]", 4, false, 432)] + [DNAFieldAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", false, 432)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(15, "float", "min_dist", "float", 4, false, 436)] + [DNAFieldAttribute(4, "float", 15, "min_dist", "float", false, 436)] public float min_dist; - [DNAFieldAttribute(16, "float", "max_dist", "float", 4, false, 440)] + [DNAFieldAttribute(4, "float", 16, "max_dist", "float", false, 440)] public float max_dist; - [DNAFieldAttribute(17, "short", "falloff_type", "short", 2, false, 444)] + [DNAFieldAttribute(2, "short", 17, "falloff_type", "short", false, 444)] public short falloff_type; - [DNAFieldAttribute(18, "char", "_pad0[2]", "System.Char[]", 2, false, 446)] + [DNAFieldAttribute(2, "char", 18, "_pad0[2]", "System.Char[]", false, 446)] public char[] _pad0 = new System.Char[2]; public WeightVGProximityModifierData() { this.modifier = default; this.defgrp_name = default; - this.ptr_cmap_curve = default; + this.cmap_curve = default; this.proximity_mode = default; this.proximity_flags = default; - this.ptr_proximity_ob_target = default; + this.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_texture = default; + this.mask_tex_map_obj = default; this.mask_tex_map_bone = default; this.mask_tex_mapping = default; this.mask_tex_uvlayer_name = default; @@ -77,15 +77,15 @@ namespace BlendFile.DNA { public WeightVGProximityModifierData( ModifierData modifier, char[] defgrp_name, - CurveMapping ptr_cmap_curve, + CurveMapping cmap_curve, int proximity_mode, int proximity_flags, - Object ptr_proximity_ob_target, + Object proximity_ob_target, float mask_constant, char[] mask_defgrp_name, int mask_tex_use_channel, - Tex ptr_mask_texture, - Object ptr_mask_tex_map_obj, + Tex mask_texture, + Object mask_tex_map_obj, char[] mask_tex_map_bone, int mask_tex_mapping, char[] mask_tex_uvlayer_name, @@ -96,15 +96,15 @@ namespace BlendFile.DNA { char[] _pad0) { this.modifier = modifier; this.defgrp_name = defgrp_name; - this.ptr_cmap_curve = ptr_cmap_curve; + this.cmap_curve = cmap_curve; this.proximity_mode = proximity_mode; this.proximity_flags = proximity_flags; - this.ptr_proximity_ob_target = ptr_proximity_ob_target; + this.proximity_ob_target = proximity_ob_target; this.mask_constant = mask_constant; this.mask_defgrp_name = mask_defgrp_name; this.mask_tex_use_channel = mask_tex_use_channel; - this.ptr_mask_texture = ptr_mask_texture; - this.ptr_mask_tex_map_obj = ptr_mask_tex_map_obj; + this.mask_texture = mask_texture; + this.mask_tex_map_obj = mask_tex_map_obj; this.mask_tex_map_bone = mask_tex_map_bone; this.mask_tex_mapping = mask_tex_mapping; this.mask_tex_uvlayer_name = mask_tex_uvlayer_name; diff --git a/BlendFile/DNA/WeightedNormalModifierData.cs b/BlendFile/DNA/WeightedNormalModifierData.cs index 4053b0a..70be69a 100644 --- a/BlendFile/DNA/WeightedNormalModifierData.cs +++ b/BlendFile/DNA/WeightedNormalModifierData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(513, "WeightedNormalModifierData", 192)] - public struct WeightedNormalModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class WeightedNormalModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(2, "char", "mode", "char", 1, false, 184)] + [DNAFieldAttribute(1, "char", 2, "mode", "char", false, 184)] public char mode; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 185)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 185)] public char flag; - [DNAFieldAttribute(4, "short", "weight", "short", 2, false, 186)] + [DNAFieldAttribute(2, "short", 4, "weight", "short", false, 186)] public short weight; - [DNAFieldAttribute(5, "float", "thresh", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 5, "thresh", "float", false, 188)] public float thresh; public WeightedNormalModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WeldModifierData.cs b/BlendFile/DNA/WeldModifierData.cs index 2dcc662..3da20c3 100644 --- a/BlendFile/DNA/WeldModifierData.cs +++ b/BlendFile/DNA/WeldModifierData.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(506, "WeldModifierData", 192)] - public struct WeldModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class WeldModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "float", "merge_dist", "float", 4, false, 120)] + [DNAFieldAttribute(4, "float", 1, "merge_dist", "float", false, 120)] public float merge_dist; - [DNAFieldAttribute(2, "char", "defgrp_name[64]", "System.Char[]", 64, false, 124)] + [DNAFieldAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", false, 124)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "mode", "char", 1, false, 188)] + [DNAFieldAttribute(1, "char", 3, "mode", "char", false, 188)] public char mode; - [DNAFieldAttribute(4, "char", "flag", "char", 1, false, 189)] + [DNAFieldAttribute(1, "char", 4, "flag", "char", false, 189)] public char flag; - [DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false, 190)] + [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 190)] public char[] _pad = new System.Char[2]; public WeldModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WhiteBalanceModifierData.cs b/BlendFile/DNA/WhiteBalanceModifierData.cs index d80c950..6048b95 100644 --- a/BlendFile/DNA/WhiteBalanceModifierData.cs +++ b/BlendFile/DNA/WhiteBalanceModifierData.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(910, "WhiteBalanceModifierData", 128)] - public struct WhiteBalanceModifierData { - [DNAFieldAttribute(0, "SequenceModifierData", "modifier", "SequenceModifierData", 112, false, 0)] + public class WhiteBalanceModifierData { + [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(1, "float", "white_value[3]", "System.Single[]", 12, false, 112)] + [DNAFieldAttribute(12, "float", 1, "white_value[3]", "System.Single[]", false, 112)] public float[] white_value = new System.Single[3]; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 124)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] public char[] _pad = new System.Char[4]; public WhiteBalanceModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WipeVars.cs b/BlendFile/DNA/WipeVars.cs index 2d5e1cf..7a08d9b 100644 --- a/BlendFile/DNA/WipeVars.cs +++ b/BlendFile/DNA/WipeVars.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(896, "WipeVars", 12)] - public struct WipeVars { - [DNAFieldAttribute(0, "float", "edgeWidth", "float", 4, false, 0)] + public class WipeVars { + [DNAFieldAttribute(4, "float", 0, "edgeWidth", "float", false, 0)] public float edgeWidth; - [DNAFieldAttribute(1, "float", "angle", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "angle", "float", false, 4)] public float angle; - [DNAFieldAttribute(2, "short", "forward", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "forward", "short", false, 8)] public short forward; - [DNAFieldAttribute(3, "short", "wipetype", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 3, "wipetype", "short", false, 10)] public short wipetype; public WipeVars() { this.edgeWidth = default; diff --git a/BlendFile/DNA/WireframeModifierData.cs b/BlendFile/DNA/WireframeModifierData.cs index a7a6d05..e1bb128 100644 --- a/BlendFile/DNA/WireframeModifierData.cs +++ b/BlendFile/DNA/WireframeModifierData.cs @@ -14,24 +14,24 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(505, "WireframeModifierData", 208)] - public struct WireframeModifierData { - [DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)] + public class WireframeModifierData { + [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(1, "char", "defgrp_name[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(2, "float", "offset", "float", 4, false, 184)] + [DNAFieldAttribute(4, "float", 2, "offset", "float", false, 184)] public float offset; - [DNAFieldAttribute(3, "float", "offset_fac", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 3, "offset_fac", "float", false, 188)] public float offset_fac; - [DNAFieldAttribute(4, "float", "offset_fac_vg", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 4, "offset_fac_vg", "float", false, 192)] public float offset_fac_vg; - [DNAFieldAttribute(5, "float", "crease_weight", "float", 4, false, 196)] + [DNAFieldAttribute(4, "float", 5, "crease_weight", "float", false, 196)] public float crease_weight; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 200)] public short flag; - [DNAFieldAttribute(7, "short", "mat_ofs", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 7, "mat_ofs", "short", false, 202)] public short mat_ofs; - [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 204)] + [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 204)] public char[] _pad = new System.Char[4]; public WireframeModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WorkSpace.cs b/BlendFile/DNA/WorkSpace.cs index a7ff9fc..a480014 100644 --- a/BlendFile/DNA/WorkSpace.cs +++ b/BlendFile/DNA/WorkSpace.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(1068, "WorkSpace", 328)] public class WorkSpace { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "ListBase", "layouts", "ListBase", 16, false, 208)] + [DNAFieldAttribute(16, "ListBase", 1, "layouts", "ListBase", false, 208)] public ListBase layouts; - [DNAFieldAttribute(2, "ListBase", "hook_layout_relations", "ListBase", 16, false, 224)] + [DNAFieldAttribute(16, "ListBase", 2, "hook_layout_relations", "ListBase", false, 224)] public ListBase hook_layout_relations; - [DNAFieldAttribute(3, "ListBase", "owner_ids", "ListBase", 16, false, 240)] + [DNAFieldAttribute(16, "ListBase", 3, "owner_ids", "ListBase", false, 240)] public ListBase owner_ids; - [DNAFieldAttribute(4, "ListBase", "tools", "ListBase", 16, false, 256)] + [DNAFieldAttribute(16, "ListBase", 4, "tools", "ListBase", false, 256)] public ListBase tools; - [DNAFieldAttribute(5, "Scene", "*pin_scene", "Scene", 8, true, 272)] - public Scene ptr_pin_scene; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 280)] + [DNAFieldAttribute(8, "Scene", 5, "*pin_scene", "Scene", true, 272)] + public Scene pin_scene; + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 280)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(7, "int", "object_mode", "int", 4, false, 284)] + [DNAFieldAttribute(4, "int", 7, "object_mode", "int", false, 284)] public int object_mode; - [DNAFieldAttribute(8, "int", "flags", "int", 4, false, 288)] + [DNAFieldAttribute(4, "int", 8, "flags", "int", false, 288)] public int flags; - [DNAFieldAttribute(9, "int", "order", "int", 4, false, 292)] + [DNAFieldAttribute(4, "int", 9, "order", "int", false, 292)] public int order; - [DNAFieldAttribute(10, "WorkSpaceRuntimeHandle", "*runtime", "WorkSpaceRuntimeHandle", 8, true, 296)] - public WorkSpaceRuntimeHandle ptr_runtime; - [DNAFieldAttribute(11, "AssetLibraryReference", "asset_library_ref", "AssetLibraryReference", 8, false, 304)] + [DNAFieldAttribute(8, "WorkSpaceRuntimeHandle", 10, "*runtime", "WorkSpaceRuntimeHandle", true, 296)] + public WorkSpaceRuntimeHandle runtime; + [DNAFieldAttribute(8, "AssetLibraryReference", 11, "asset_library_ref", "AssetLibraryReference", false, 304)] public AssetLibraryReference asset_library_ref; - [DNAFieldAttribute(12, "ViewerPath", "viewer_path", "ViewerPath", 16, false, 312)] + [DNAFieldAttribute(16, "ViewerPath", 12, "viewer_path", "ViewerPath", false, 312)] public ViewerPath viewer_path; public WorkSpace() { this.id = default; @@ -47,27 +47,27 @@ namespace BlendFile.DNA { this.hook_layout_relations = default; this.owner_ids = default; this.tools = default; - this.ptr_pin_scene = default; + this.pin_scene = default; this._pad = default; this.object_mode = default; this.flags = default; this.order = default; - this.ptr_runtime = default; + this.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) { + public WorkSpace(ID id, ListBase layouts, ListBase hook_layout_relations, ListBase owner_ids, ListBase tools, Scene pin_scene, char[] _pad, int object_mode, int flags, int order, WorkSpaceRuntimeHandle runtime, AssetLibraryReference asset_library_ref, ViewerPath viewer_path) { this.id = id; this.layouts = layouts; this.hook_layout_relations = hook_layout_relations; this.owner_ids = owner_ids; this.tools = tools; - this.ptr_pin_scene = ptr_pin_scene; + this.pin_scene = pin_scene; this._pad = _pad; this.object_mode = object_mode; this.flags = flags; this.order = order; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; this.asset_library_ref = asset_library_ref; this.viewer_path = viewer_path; } diff --git a/BlendFile/DNA/WorkSpaceDataRelation.cs b/BlendFile/DNA/WorkSpaceDataRelation.cs index 362d054..ca08384 100644 --- a/BlendFile/DNA/WorkSpaceDataRelation.cs +++ b/BlendFile/DNA/WorkSpaceDataRelation.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(1070, "WorkSpaceDataRelation", 40)] public class WorkSpaceDataRelation { - [DNAFieldAttribute(0, "WorkSpaceDataRelation", "*next", "WorkSpaceDataRelation", 8, true, 0)] - public WorkSpaceDataRelation ptr_next; - [DNAFieldAttribute(1, "WorkSpaceDataRelation", "*prev", "WorkSpaceDataRelation", 8, true, 8)] - public WorkSpaceDataRelation ptr_prev; - [DNAFieldAttribute(2, "void", "*parent", "void", 8, true, 16)] - public object ptr_parent; - [DNAFieldAttribute(3, "void", "*value", "void", 8, true, 24)] - public object ptr_value; - [DNAFieldAttribute(4, "int", "parentid", "int", 4, false, 32)] + [DNAFieldAttribute(8, "WorkSpaceDataRelation", 0, "*next", "WorkSpaceDataRelation", true, 0)] + public WorkSpaceDataRelation next; + [DNAFieldAttribute(8, "WorkSpaceDataRelation", 1, "*prev", "WorkSpaceDataRelation", true, 8)] + public WorkSpaceDataRelation prev; + [DNAFieldAttribute(8, "void", 2, "*parent", "void", true, 16)] + public object parent; + [DNAFieldAttribute(8, "void", 3, "*value", "void", true, 24)] + public object value; + [DNAFieldAttribute(4, "int", 4, "parentid", "int", false, 32)] public int parentid; - [DNAFieldAttribute(5, "char", "_pad_0[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 5, "_pad_0[4]", "System.Char[]", false, 36)] 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.next = default; + this.prev = default; + this.parent = default; + this.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; - this.ptr_parent = ptr_parent; - this.ptr_value = ptr_value; + public WorkSpaceDataRelation(WorkSpaceDataRelation next, WorkSpaceDataRelation prev, object parent, object value, int parentid, char[] _pad_0) { + this.next = next; + this.prev = prev; + this.parent = parent; + this.value = value; this.parentid = parentid; this._pad_0 = _pad_0; } diff --git a/BlendFile/DNA/WorkSpaceInstanceHook.cs b/BlendFile/DNA/WorkSpaceInstanceHook.cs index 2e5d2ee..8dd823b 100644 --- a/BlendFile/DNA/WorkSpaceInstanceHook.cs +++ b/BlendFile/DNA/WorkSpaceInstanceHook.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(1054, "WorkSpaceInstanceHook", 32)] public class WorkSpaceInstanceHook { - [DNAFieldAttribute(0, "WorkSpace", "*active", "WorkSpace", 8, true, 0)] - public WorkSpace ptr_active; - [DNAFieldAttribute(1, "WorkSpaceLayout", "*act_layout", "WorkSpaceLayout", 8, true, 8)] - public WorkSpaceLayout ptr_act_layout; - [DNAFieldAttribute(2, "WorkSpace", "*temp_workspace_store", "WorkSpace", 8, true, 16)] - public WorkSpace ptr_temp_workspace_store; - [DNAFieldAttribute(3, "WorkSpaceLayout", "*temp_layout_store", "WorkSpaceLayout", 8, true, 24)] - public WorkSpaceLayout ptr_temp_layout_store; + [DNAFieldAttribute(8, "WorkSpace", 0, "*active", "WorkSpace", true, 0)] + public WorkSpace active; + [DNAFieldAttribute(8, "WorkSpaceLayout", 1, "*act_layout", "WorkSpaceLayout", true, 8)] + public WorkSpaceLayout act_layout; + [DNAFieldAttribute(8, "WorkSpace", 2, "*temp_workspace_store", "WorkSpace", true, 16)] + public WorkSpace temp_workspace_store; + [DNAFieldAttribute(8, "WorkSpaceLayout", 3, "*temp_layout_store", "WorkSpaceLayout", true, 24)] + public WorkSpaceLayout 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; + this.active = default; + this.act_layout = default; + this.temp_workspace_store = default; + this.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; - this.ptr_temp_workspace_store = ptr_temp_workspace_store; - this.ptr_temp_layout_store = ptr_temp_layout_store; + public WorkSpaceInstanceHook(WorkSpace active, WorkSpaceLayout act_layout, WorkSpace temp_workspace_store, WorkSpaceLayout temp_layout_store) { + this.active = active; + this.act_layout = act_layout; + this.temp_workspace_store = temp_workspace_store; + this.temp_layout_store = temp_layout_store; } } } diff --git a/BlendFile/DNA/WorkSpaceLayout.cs b/BlendFile/DNA/WorkSpaceLayout.cs index 2ec32d1..9d232f1 100644 --- a/BlendFile/DNA/WorkSpaceLayout.cs +++ b/BlendFile/DNA/WorkSpaceLayout.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(1066, "WorkSpaceLayout", 88)] public class WorkSpaceLayout { - [DNAFieldAttribute(0, "WorkSpaceLayout", "*next", "WorkSpaceLayout", 8, true, 0)] - public WorkSpaceLayout ptr_next; - [DNAFieldAttribute(1, "WorkSpaceLayout", "*prev", "WorkSpaceLayout", 8, true, 8)] - public WorkSpaceLayout ptr_prev; - [DNAFieldAttribute(2, "bScreen", "*screen", "bScreen", 8, true, 16)] - public bScreen ptr_screen; - [DNAFieldAttribute(3, "char", "name[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(8, "WorkSpaceLayout", 0, "*next", "WorkSpaceLayout", true, 0)] + public WorkSpaceLayout next; + [DNAFieldAttribute(8, "WorkSpaceLayout", 1, "*prev", "WorkSpaceLayout", true, 8)] + public WorkSpaceLayout prev; + [DNAFieldAttribute(8, "bScreen", 2, "*screen", "bScreen", true, 16)] + public bScreen screen; + [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 24)] public char[] name = new System.Char[64]; public WorkSpaceLayout() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_screen = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_screen = ptr_screen; + public WorkSpaceLayout(WorkSpaceLayout next, WorkSpaceLayout prev, bScreen screen, char[] name) { + this.next = next; + this.prev = prev; + this.screen = screen; this.name = name; } } diff --git a/BlendFile/DNA/World.cs b/BlendFile/DNA/World.cs index 87f5ceb..f2a233d 100644 --- a/BlendFile/DNA/World.cs +++ b/BlendFile/DNA/World.cs @@ -15,87 +15,87 @@ namespace BlendFile.DNA { [DNAClassAttribute(349, "World", 400)] public class World { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(3, "char", "_pad0[4]", "System.Char[]", 4, false, 232)] + [DNAFieldAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", false, 232)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(4, "short", "texact", "short", 2, false, 236)] + [DNAFieldAttribute(2, "short", 4, "texact", "short", false, 236)] public short texact; - [DNAFieldAttribute(5, "short", "mistype", "short", 2, false, 238)] + [DNAFieldAttribute(2, "short", 5, "mistype", "short", false, 238)] public short mistype; - [DNAFieldAttribute(6, "float", "horr", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 6, "horr", "float", false, 240)] public float horr; - [DNAFieldAttribute(7, "float", "horg", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 7, "horg", "float", false, 244)] public float horg; - [DNAFieldAttribute(8, "float", "horb", "float", 4, false, 248)] + [DNAFieldAttribute(4, "float", 8, "horb", "float", false, 248)] public float horb; - [DNAFieldAttribute(9, "float", "exposure", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 9, "exposure", "float", false, 252)] public float exposure; - [DNAFieldAttribute(10, "float", "exp", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 10, "exp", "float", false, 256)] public float exp; - [DNAFieldAttribute(11, "float", "range", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 11, "range", "float", false, 260)] public float range; - [DNAFieldAttribute(12, "short", "mode", "short", 2, false, 264)] + [DNAFieldAttribute(2, "short", 12, "mode", "short", false, 264)] public short mode; - [DNAFieldAttribute(13, "char", "_pad2[6]", "System.Char[]", 6, false, 266)] + [DNAFieldAttribute(6, "char", 13, "_pad2[6]", "System.Char[]", false, 266)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(14, "float", "misi", "float", 4, false, 272)] + [DNAFieldAttribute(4, "float", 14, "misi", "float", false, 272)] public float misi; - [DNAFieldAttribute(15, "float", "miststa", "float", 4, false, 276)] + [DNAFieldAttribute(4, "float", 15, "miststa", "float", false, 276)] public float miststa; - [DNAFieldAttribute(16, "float", "mistdist", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 16, "mistdist", "float", false, 280)] public float mistdist; - [DNAFieldAttribute(17, "float", "misthi", "float", 4, false, 284)] + [DNAFieldAttribute(4, "float", 17, "misthi", "float", false, 284)] public float misthi; - [DNAFieldAttribute(18, "float", "aodist", "float", 4, false, 288)] + [DNAFieldAttribute(4, "float", 18, "aodist", "float", false, 288)] public float aodist; - [DNAFieldAttribute(19, "float", "aoenergy", "float", 4, false, 292)] + [DNAFieldAttribute(4, "float", 19, "aoenergy", "float", false, 292)] public float aoenergy; - [DNAFieldAttribute(20, "short", "flag", "short", 2, false, 296)] + [DNAFieldAttribute(2, "short", 20, "flag", "short", false, 296)] public short flag; - [DNAFieldAttribute(21, "char", "_pad3[2]", "System.Char[]", 2, false, 298)] + [DNAFieldAttribute(2, "char", 21, "_pad3[2]", "System.Char[]", false, 298)] public char[] _pad3 = new System.Char[2]; - [DNAFieldAttribute(22, "int", "probe_resolution", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 22, "probe_resolution", "int", false, 300)] public int probe_resolution; - [DNAFieldAttribute(23, "float", "sun_threshold", "float", 4, false, 304)] + [DNAFieldAttribute(4, "float", 23, "sun_threshold", "float", false, 304)] public float sun_threshold; - [DNAFieldAttribute(24, "float", "sun_angle", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 24, "sun_angle", "float", false, 308)] public float sun_angle; - [DNAFieldAttribute(25, "float", "sun_shadow_maximum_resolution", "float", 4, false, 312)] + [DNAFieldAttribute(4, "float", 25, "sun_shadow_maximum_resolution", "float", false, 312)] public float sun_shadow_maximum_resolution; - [DNAFieldAttribute(26, "float", "sun_shadow_jitter_overblur", "float", 4, false, 316)] + [DNAFieldAttribute(4, "float", 26, "sun_shadow_jitter_overblur", "float", false, 316)] public float sun_shadow_jitter_overblur; - [DNAFieldAttribute(27, "float", "sun_shadow_filter_radius", "float", 4, false, 320)] + [DNAFieldAttribute(4, "float", 27, "sun_shadow_filter_radius", "float", false, 320)] public float sun_shadow_filter_radius; - [DNAFieldAttribute(28, "char", "_pad4[4]", "System.Char[]", 4, false, 324)] + [DNAFieldAttribute(4, "char", 28, "_pad4[4]", "System.Char[]", false, 324)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(29, "Ipo", "*ipo", "Ipo", 8, true, 328)] - public Ipo ptr_ipo; - [DNAFieldAttribute(30, "short", "pr_texture", "short", 2, false, 336)] + [DNAFieldAttribute(8, "Ipo", 29, "*ipo", "Ipo", true, 328)] + public Ipo ipo; + [DNAFieldAttribute(2, "short", 30, "pr_texture", "short", false, 336)] public short pr_texture; - [DNAFieldAttribute(31, "short", "use_nodes", "short", 2, false, 338)] + [DNAFieldAttribute(2, "short", 31, "use_nodes", "short", false, 338)] public short use_nodes; - [DNAFieldAttribute(32, "char", "_pad[4]", "System.Char[]", 4, false, 340)] + [DNAFieldAttribute(4, "char", 32, "_pad[4]", "System.Char[]", false, 340)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(33, "PreviewImage", "*preview", "PreviewImage", 8, true, 344)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(34, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 352)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(35, "LightgroupMembership", "*lightgroup", "LightgroupMembership", 8, true, 360)] - public LightgroupMembership ptr_lightgroup; - [DNAFieldAttribute(36, "void", "*_pad1", "void", 8, true, 368)] - public object ptr__pad1; - [DNAFieldAttribute(37, "ListBase", "gpumaterial", "ListBase", 16, false, 376)] + [DNAFieldAttribute(8, "PreviewImage", 33, "*preview", "PreviewImage", true, 344)] + public PreviewImage preview; + [DNAFieldAttribute(8, "bNodeTree", 34, "*nodetree", "bNodeTree", true, 352)] + public bNodeTree nodetree; + [DNAFieldAttribute(8, "LightgroupMembership", 35, "*lightgroup", "LightgroupMembership", true, 360)] + public LightgroupMembership lightgroup; + [DNAFieldAttribute(8, "void", 36, "*_pad1", "void", true, 368)] + public object _pad1; + [DNAFieldAttribute(16, "ListBase", 37, "gpumaterial", "ListBase", false, 376)] public ListBase gpumaterial; - [DNAFieldAttribute(38, "uint64_t", "last_update", "uint64_t", 8, false, 392)] + [DNAFieldAttribute(8, "uint64_t", 38, "last_update", "uint64_t", false, 392)] public ulong last_update; public World() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.drawdata = default; this._pad0 = default; this.texact = default; @@ -123,20 +123,20 @@ namespace BlendFile.DNA { this.sun_shadow_jitter_overblur = default; this.sun_shadow_filter_radius = default; this._pad4 = default; - this.ptr_ipo = default; + this.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.preview = default; + this.nodetree = default; + this.lightgroup = default; + this._pad1 = default; this.gpumaterial = default; this.last_update = default; } public World( ID id, - AnimData ptr_adt, + AnimData adt, DrawDataList drawdata, char[] _pad0, short texact, @@ -164,18 +164,18 @@ namespace BlendFile.DNA { float sun_shadow_jitter_overblur, float sun_shadow_filter_radius, char[] _pad4, - Ipo ptr_ipo, + Ipo ipo, short pr_texture, short use_nodes, char[] _pad, - PreviewImage ptr_preview, - bNodeTree ptr_nodetree, - LightgroupMembership ptr_lightgroup, - object ptr__pad1, + PreviewImage preview, + bNodeTree nodetree, + LightgroupMembership lightgroup, + object _pad1, ListBase gpumaterial, ulong last_update) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.drawdata = drawdata; this._pad0 = _pad0; this.texact = texact; @@ -203,14 +203,14 @@ namespace BlendFile.DNA { this.sun_shadow_jitter_overblur = sun_shadow_jitter_overblur; this.sun_shadow_filter_radius = sun_shadow_filter_radius; this._pad4 = _pad4; - this.ptr_ipo = ptr_ipo; + this.ipo = ipo; this.pr_texture = pr_texture; this.use_nodes = use_nodes; this._pad = _pad; - this.ptr_preview = ptr_preview; - this.ptr_nodetree = ptr_nodetree; - this.ptr_lightgroup = ptr_lightgroup; - this.ptr__pad1 = ptr__pad1; + this.preview = preview; + this.nodetree = nodetree; + this.lightgroup = lightgroup; + this._pad1 = _pad1; this.gpumaterial = gpumaterial; this.last_update = last_update; } diff --git a/BlendFile/DNA/XrActionMap.cs b/BlendFile/DNA/XrActionMap.cs index 692958c..6273c43 100644 --- a/BlendFile/DNA/XrActionMap.cs +++ b/BlendFile/DNA/XrActionMap.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(1075, "XrActionMap", 104)] public class XrActionMap { - [DNAFieldAttribute(0, "XrActionMap", "*next", "XrActionMap", 8, true, 0)] - public XrActionMap ptr_next; - [DNAFieldAttribute(1, "XrActionMap", "*prev", "XrActionMap", 8, true, 8)] - public XrActionMap ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "XrActionMap", 0, "*next", "XrActionMap", true, 0)] + public XrActionMap next; + [DNAFieldAttribute(8, "XrActionMap", 1, "*prev", "XrActionMap", true, 8)] + public XrActionMap prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "ListBase", "items", "ListBase", 16, false, 80)] + [DNAFieldAttribute(16, "ListBase", 3, "items", "ListBase", false, 80)] public ListBase items; - [DNAFieldAttribute(4, "short", "selitem", "short", 2, false, 96)] + [DNAFieldAttribute(2, "short", 4, "selitem", "short", false, 96)] public short selitem; - [DNAFieldAttribute(5, "char", "_pad[6]", "System.Char[]", 6, false, 98)] + [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 98)] public char[] _pad = new System.Char[6]; public XrActionMap() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public XrActionMap(XrActionMap next, XrActionMap prev, char[] name, ListBase items, short selitem, char[] _pad) { + this.next = next; + this.prev = prev; this.name = name; this.items = items; this.selitem = selitem; diff --git a/BlendFile/DNA/XrActionMapBinding.cs b/BlendFile/DNA/XrActionMapBinding.cs index b332397..d658f8b 100644 --- a/BlendFile/DNA/XrActionMapBinding.cs +++ b/BlendFile/DNA/XrActionMapBinding.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(1072, "XrActionMapBinding", 384)] public class XrActionMapBinding { - [DNAFieldAttribute(0, "XrActionMapBinding", "*next", "XrActionMapBinding", 8, true, 0)] - public XrActionMapBinding ptr_next; - [DNAFieldAttribute(1, "XrActionMapBinding", "*prev", "XrActionMapBinding", 8, true, 8)] - public XrActionMapBinding ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "XrActionMapBinding", 0, "*next", "XrActionMapBinding", true, 0)] + public XrActionMapBinding next; + [DNAFieldAttribute(8, "XrActionMapBinding", 1, "*prev", "XrActionMapBinding", true, 8)] + public XrActionMapBinding prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "profile[256]", "System.Char[]", 256, false, 80)] + [DNAFieldAttribute(256, "char", 3, "profile[256]", "System.Char[]", false, 80)] public char[] profile = new System.Char[256]; - [DNAFieldAttribute(4, "ListBase", "component_paths", "ListBase", 16, false, 336)] + [DNAFieldAttribute(16, "ListBase", 4, "component_paths", "ListBase", false, 336)] public ListBase component_paths; - [DNAFieldAttribute(5, "float", "float_threshold", "float", 4, false, 352)] + [DNAFieldAttribute(4, "float", 5, "float_threshold", "float", false, 352)] public float float_threshold; - [DNAFieldAttribute(6, "short", "axis_flag", "short", 2, false, 356)] + [DNAFieldAttribute(2, "short", 6, "axis_flag", "short", false, 356)] public short axis_flag; - [DNAFieldAttribute(7, "char", "_pad[2]", "System.Char[]", 2, false, 358)] + [DNAFieldAttribute(2, "char", 7, "_pad[2]", "System.Char[]", false, 358)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(8, "float", "pose_location[3]", "System.Single[]", 12, false, 360)] + [DNAFieldAttribute(12, "float", 8, "pose_location[3]", "System.Single[]", false, 360)] public float[] pose_location = new System.Single[3]; - [DNAFieldAttribute(9, "float", "pose_rotation[3]", "System.Single[]", 12, false, 372)] + [DNAFieldAttribute(12, "float", 9, "pose_rotation[3]", "System.Single[]", false, 372)] public float[] pose_rotation = new System.Single[3]; public XrActionMapBinding() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.profile = default; this.component_paths = default; @@ -47,9 +47,9 @@ namespace BlendFile.DNA { 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; + public XrActionMapBinding(XrActionMapBinding next, XrActionMapBinding prev, char[] name, char[] profile, ListBase component_paths, float float_threshold, short axis_flag, char[] _pad, float[] pose_location, float[] pose_rotation) { + this.next = next; + this.prev = prev; this.name = name; this.profile = profile; this.component_paths = component_paths; diff --git a/BlendFile/DNA/XrActionMapItem.cs b/BlendFile/DNA/XrActionMapItem.cs index 5bd2173..0ec2886 100644 --- a/BlendFile/DNA/XrActionMapItem.cs +++ b/BlendFile/DNA/XrActionMapItem.cs @@ -15,56 +15,56 @@ namespace BlendFile.DNA { [DNAClassAttribute(1074, "XrActionMapItem", 288)] public class XrActionMapItem { - [DNAFieldAttribute(0, "XrActionMapItem", "*next", "XrActionMapItem", 8, true, 0)] - public XrActionMapItem ptr_next; - [DNAFieldAttribute(1, "XrActionMapItem", "*prev", "XrActionMapItem", 8, true, 8)] - public XrActionMapItem ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "XrActionMapItem", 0, "*next", "XrActionMapItem", true, 0)] + public XrActionMapItem next; + [DNAFieldAttribute(8, "XrActionMapItem", 1, "*prev", "XrActionMapItem", true, 8)] + public XrActionMapItem prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "type", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 3, "type", "char", false, 80)] public char type; - [DNAFieldAttribute(4, "char", "_pad[7]", "System.Char[]", 7, false, 81)] + [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 81)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(5, "ListBase", "user_paths", "ListBase", 16, false, 88)] + [DNAFieldAttribute(16, "ListBase", 5, "user_paths", "ListBase", false, 88)] public ListBase user_paths; - [DNAFieldAttribute(6, "char", "op[64]", "System.Char[]", 64, false, 104)] + [DNAFieldAttribute(64, "char", 6, "op[64]", "System.Char[]", false, 104)] public char[] op = new System.Char[64]; - [DNAFieldAttribute(7, "IDProperty", "*op_properties", "IDProperty", 8, true, 168)] - public IDProperty ptr_op_properties; - [DNAFieldAttribute(8, "PointerRNA", "*op_properties_ptr", "PointerRNA", 8, true, 176)] - public PointerRNA ptr_op_properties_ptr; - [DNAFieldAttribute(9, "short", "op_flag", "short", 2, false, 184)] + [DNAFieldAttribute(8, "IDProperty", 7, "*op_properties", "IDProperty", true, 168)] + public IDProperty op_properties; + [DNAFieldAttribute(8, "PointerRNA", 8, "*op_properties_ptr", "PointerRNA", true, 176)] + public PointerRNA op_properties_ptr; + [DNAFieldAttribute(2, "short", 9, "op_flag", "short", false, 184)] public short op_flag; - [DNAFieldAttribute(10, "short", "action_flag", "short", 2, false, 186)] + [DNAFieldAttribute(2, "short", 10, "action_flag", "short", false, 186)] public short action_flag; - [DNAFieldAttribute(11, "short", "haptic_flag", "short", 2, false, 188)] + [DNAFieldAttribute(2, "short", 11, "haptic_flag", "short", false, 188)] public short haptic_flag; - [DNAFieldAttribute(12, "short", "pose_flag", "short", 2, false, 190)] + [DNAFieldAttribute(2, "short", 12, "pose_flag", "short", false, 190)] public short pose_flag; - [DNAFieldAttribute(13, "char", "haptic_name[64]", "System.Char[]", 64, false, 192)] + [DNAFieldAttribute(64, "char", 13, "haptic_name[64]", "System.Char[]", false, 192)] public char[] haptic_name = new System.Char[64]; - [DNAFieldAttribute(14, "float", "haptic_duration", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 14, "haptic_duration", "float", false, 256)] public float haptic_duration; - [DNAFieldAttribute(15, "float", "haptic_frequency", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 15, "haptic_frequency", "float", false, 260)] public float haptic_frequency; - [DNAFieldAttribute(16, "float", "haptic_amplitude", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 16, "haptic_amplitude", "float", false, 264)] public float haptic_amplitude; - [DNAFieldAttribute(17, "short", "selbinding", "short", 2, false, 268)] + [DNAFieldAttribute(2, "short", 17, "selbinding", "short", false, 268)] public short selbinding; - [DNAFieldAttribute(18, "char", "_pad3[2]", "System.Char[]", 2, false, 270)] + [DNAFieldAttribute(2, "char", 18, "_pad3[2]", "System.Char[]", false, 270)] public char[] _pad3 = new System.Char[2]; - [DNAFieldAttribute(19, "ListBase", "bindings", "ListBase", 16, false, 272)] + [DNAFieldAttribute(16, "ListBase", 19, "bindings", "ListBase", false, 272)] public ListBase bindings; public XrActionMapItem() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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_properties = default; + this.op_properties_ptr = default; this.op_flag = default; this.action_flag = default; this.haptic_flag = default; @@ -78,15 +78,15 @@ namespace BlendFile.DNA { this.bindings = default; } public XrActionMapItem( - XrActionMapItem ptr_next, - XrActionMapItem ptr_prev, + XrActionMapItem next, + XrActionMapItem prev, char[] name, char type, char[] _pad, ListBase user_paths, char[] op, - IDProperty ptr_op_properties, - PointerRNA ptr_op_properties_ptr, + IDProperty op_properties, + PointerRNA op_properties_ptr, short op_flag, short action_flag, short haptic_flag, @@ -98,15 +98,15 @@ namespace BlendFile.DNA { short selbinding, char[] _pad3, ListBase bindings) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.name = name; this.type = type; this._pad = _pad; this.user_paths = user_paths; this.op = op; - this.ptr_op_properties = ptr_op_properties; - this.ptr_op_properties_ptr = ptr_op_properties_ptr; + this.op_properties = op_properties; + this.op_properties_ptr = op_properties_ptr; this.op_flag = op_flag; this.action_flag = action_flag; this.haptic_flag = haptic_flag; diff --git a/BlendFile/DNA/XrComponentPath.cs b/BlendFile/DNA/XrComponentPath.cs index 91dfdd2..502a087 100644 --- a/BlendFile/DNA/XrComponentPath.cs +++ b/BlendFile/DNA/XrComponentPath.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(1071, "XrComponentPath", 208)] public class XrComponentPath { - [DNAFieldAttribute(0, "XrComponentPath", "*next", "XrComponentPath", 8, true, 0)] - public XrComponentPath ptr_next; - [DNAFieldAttribute(1, "XrComponentPath", "*prev", "XrComponentPath", 8, true, 8)] - public XrComponentPath ptr_prev; - [DNAFieldAttribute(2, "char", "path[192]", "System.Char[]", 192, false, 16)] + [DNAFieldAttribute(8, "XrComponentPath", 0, "*next", "XrComponentPath", true, 0)] + public XrComponentPath next; + [DNAFieldAttribute(8, "XrComponentPath", 1, "*prev", "XrComponentPath", true, 8)] + public XrComponentPath prev; + [DNAFieldAttribute(192, "char", 2, "path[192]", "System.Char[]", false, 16)] public char[] path = new System.Char[192]; public XrComponentPath() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public XrComponentPath(XrComponentPath next, XrComponentPath prev, char[] path) { + this.next = next; + this.prev = prev; this.path = path; } } diff --git a/BlendFile/DNA/XrSessionSettings.cs b/BlendFile/DNA/XrSessionSettings.cs index 789a4ad..0174fff 100644 --- a/BlendFile/DNA/XrSessionSettings.cs +++ b/BlendFile/DNA/XrSessionSettings.cs @@ -15,42 +15,42 @@ namespace BlendFile.DNA { [DNAClassAttribute(1046, "XrSessionSettings", 1000)] public class XrSessionSettings { - [DNAFieldAttribute(0, "View3DShading", "shading", "View3DShading", 944, false, 0)] + [DNAFieldAttribute(944, "View3DShading", 0, "shading", "View3DShading", false, 0)] public View3DShading shading; - [DNAFieldAttribute(1, "float", "base_scale", "float", 4, false, 944)] + [DNAFieldAttribute(4, "float", 1, "base_scale", "float", false, 944)] public float base_scale; - [DNAFieldAttribute(2, "char", "_pad[3]", "System.Char[]", 3, false, 948)] + [DNAFieldAttribute(3, "char", 2, "_pad[3]", "System.Char[]", false, 948)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(3, "char", "base_pose_type", "char", 1, false, 951)] + [DNAFieldAttribute(1, "char", 3, "base_pose_type", "char", false, 951)] public char base_pose_type; - [DNAFieldAttribute(4, "Object", "*base_pose_object", "Object", 8, true, 952)] - public Object ptr_base_pose_object; - [DNAFieldAttribute(5, "float", "base_pose_location[3]", "System.Single[]", 12, false, 960)] + [DNAFieldAttribute(8, "Object", 4, "*base_pose_object", "Object", true, 952)] + public Object base_pose_object; + [DNAFieldAttribute(12, "float", 5, "base_pose_location[3]", "System.Single[]", false, 960)] public float[] base_pose_location = new System.Single[3]; - [DNAFieldAttribute(6, "float", "base_pose_angle", "float", 4, false, 972)] + [DNAFieldAttribute(4, "float", 6, "base_pose_angle", "float", false, 972)] public float base_pose_angle; - [DNAFieldAttribute(7, "char", "draw_flags", "char", 1, false, 976)] + [DNAFieldAttribute(1, "char", 7, "draw_flags", "char", false, 976)] public char draw_flags; - [DNAFieldAttribute(8, "char", "controller_draw_style", "char", 1, false, 977)] + [DNAFieldAttribute(1, "char", 8, "controller_draw_style", "char", false, 977)] public char controller_draw_style; - [DNAFieldAttribute(9, "char", "_pad2[2]", "System.Char[]", 2, false, 978)] + [DNAFieldAttribute(2, "char", 9, "_pad2[2]", "System.Char[]", false, 978)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(10, "float", "clip_start", "float", 4, false, 980)] + [DNAFieldAttribute(4, "float", 10, "clip_start", "float", false, 980)] public float clip_start; - [DNAFieldAttribute(11, "float", "clip_end", "float", 4, false, 984)] + [DNAFieldAttribute(4, "float", 11, "clip_end", "float", false, 984)] public float clip_end; - [DNAFieldAttribute(12, "int", "flag", "int", 4, false, 988)] + [DNAFieldAttribute(4, "int", 12, "flag", "int", false, 988)] public int flag; - [DNAFieldAttribute(13, "int", "object_type_exclude_viewport", "int", 4, false, 992)] + [DNAFieldAttribute(4, "int", 13, "object_type_exclude_viewport", "int", false, 992)] public int object_type_exclude_viewport; - [DNAFieldAttribute(14, "int", "object_type_exclude_select", "int", 4, false, 996)] + [DNAFieldAttribute(4, "int", 14, "object_type_exclude_select", "int", false, 996)] 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_object = default; this.base_pose_location = default; this.base_pose_angle = default; this.draw_flags = default; @@ -62,12 +62,12 @@ namespace BlendFile.DNA { 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) { + public XrSessionSettings(View3DShading shading, float base_scale, char[] _pad, char base_pose_type, Object 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; this._pad = _pad; this.base_pose_type = base_pose_type; - this.ptr_base_pose_object = ptr_base_pose_object; + this.base_pose_object = base_pose_object; this.base_pose_location = base_pose_location; this.base_pose_angle = base_pose_angle; this.draw_flags = draw_flags; diff --git a/BlendFile/DNA/XrUserPath.cs b/BlendFile/DNA/XrUserPath.cs index c2fba81..483f7e0 100644 --- a/BlendFile/DNA/XrUserPath.cs +++ b/BlendFile/DNA/XrUserPath.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(1073, "XrUserPath", 80)] public class XrUserPath { - [DNAFieldAttribute(0, "XrUserPath", "*next", "XrUserPath", 8, true, 0)] - public XrUserPath ptr_next; - [DNAFieldAttribute(1, "XrUserPath", "*prev", "XrUserPath", 8, true, 8)] - public XrUserPath ptr_prev; - [DNAFieldAttribute(2, "char", "path[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "XrUserPath", 0, "*next", "XrUserPath", true, 0)] + public XrUserPath next; + [DNAFieldAttribute(8, "XrUserPath", 1, "*prev", "XrUserPath", true, 8)] + public XrUserPath prev; + [DNAFieldAttribute(64, "char", 2, "path[64]", "System.Char[]", false, 16)] public char[] path = new System.Char[64]; public XrUserPath() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public XrUserPath(XrUserPath next, XrUserPath prev, char[] path) { + this.next = next; + this.prev = prev; this.path = path; } } diff --git a/BlendFile/DNA/bAction.cs b/BlendFile/DNA/bAction.cs index 1769966..f1646f5 100644 --- a/BlendFile/DNA/bAction.cs +++ b/BlendFile/DNA/bAction.cs @@ -13,60 +13,48 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(65, "bAction", 352)] + [DNAClassAttribute(65, "bAction", 316)] public class bAction { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "ActionLayer", "**layer_array", "ActionLayer", 8, true, 208)] - public ActionLayer ptr_ptr_layer_array; - [DNAFieldAttribute(2, "int", "layer_array_num", "int", 4, false, 216)] - public int layer_array_num; - [DNAFieldAttribute(3, "int", "layer_active_index", "int", 4, false, 220)] + [DNAFieldAttribute(4, "int", 3, "layer_active_index", "int", false, 208)] public int layer_active_index; - [DNAFieldAttribute(4, "ActionSlot", "**slot_array", "ActionSlot", 8, true, 224)] - public ActionSlot ptr_ptr_slot_array; - [DNAFieldAttribute(5, "int", "slot_array_num", "int", 4, false, 232)] - public int slot_array_num; - [DNAFieldAttribute(6, "int", "last_slot_handle", "int", 4, false, 236)] + [DNAFieldAttribute(4, "int", 6, "last_slot_handle", "int", false, 212)] public int last_slot_handle; - [DNAFieldAttribute(7, "ActionStripKeyframeData", "**strip_keyframe_data_array", "ActionStripKeyframeData", 8, true, 240)] - public ActionStripKeyframeData ptr_ptr_strip_keyframe_data_array; - [DNAFieldAttribute(8, "int", "strip_keyframe_data_array_num", "int", 4, false, 248)] - public int strip_keyframe_data_array_num; - [DNAFieldAttribute(9, "char", "_pad0[4]", "System.Char[]", 4, false, 252)] + [DNAFieldAttribute(4, "char", 9, "_pad0[4]", "System.Char[]", false, 216)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(10, "ListBase", "curves", "ListBase", 16, false, 256)] + [DNAFieldAttribute(16, "ListBase", 10, "curves", "ListBase", false, 220)] public ListBase curves; - [DNAFieldAttribute(11, "ListBase", "chanbase", "ListBase", 16, false, 272)] + [DNAFieldAttribute(16, "ListBase", 11, "chanbase", "ListBase", false, 236)] public ListBase chanbase; - [DNAFieldAttribute(12, "ListBase", "groups", "ListBase", 16, false, 288)] + [DNAFieldAttribute(16, "ListBase", 12, "groups", "ListBase", false, 252)] public ListBase groups; - [DNAFieldAttribute(13, "ListBase", "markers", "ListBase", 16, false, 304)] + [DNAFieldAttribute(16, "ListBase", 13, "markers", "ListBase", false, 268)] public ListBase markers; - [DNAFieldAttribute(14, "int", "flag", "int", 4, false, 320)] + [DNAFieldAttribute(4, "int", 14, "flag", "int", false, 284)] public int flag; - [DNAFieldAttribute(15, "int", "active_marker", "int", 4, false, 324)] + [DNAFieldAttribute(4, "int", 15, "active_marker", "int", false, 288)] public int active_marker; - [DNAFieldAttribute(16, "int", "idroot", "int", 4, false, 328)] + [DNAFieldAttribute(4, "int", 16, "idroot", "int", false, 292)] public int idroot; - [DNAFieldAttribute(17, "char", "_pad1[4]", "System.Char[]", 4, false, 332)] + [DNAFieldAttribute(4, "char", 17, "_pad1[4]", "System.Char[]", false, 296)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(18, "float", "frame_start", "float", 4, false, 336)] + [DNAFieldAttribute(4, "float", 18, "frame_start", "float", false, 300)] public float frame_start; - [DNAFieldAttribute(19, "float", "frame_end", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 19, "frame_end", "float", false, 304)] public float frame_end; - [DNAFieldAttribute(20, "PreviewImage", "*preview", "PreviewImage", 8, true, 344)] - public PreviewImage ptr_preview; + [DNAFieldAttribute(8, "PreviewImage", 20, "*preview", "PreviewImage", true, 308)] + public PreviewImage preview; + [DNAListAttribute(8, "ActionLayer", "**layer_array", 1, "ActionLayer", "layer_array_num", 2, 316)] + public System.Collections.Generic.List layer_array; + [DNAListAttribute(8, "ActionSlot", "**slot_array", 4, "ActionSlot", "slot_array_num", 5, 316)] + public System.Collections.Generic.List slot_array; + [DNAListAttribute(8, "ActionStripKeyframeData", "**strip_keyframe_data_array", 7, "ActionStripKeyframeData", "strip_keyframe_data_array_num", 8, 316)] + public System.Collections.Generic.List strip_keyframe_data_array; 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; @@ -78,18 +66,15 @@ namespace BlendFile.DNA { this._pad1 = default; this.frame_start = default; this.frame_end = default; - this.ptr_preview = default; + this.preview = default; + this.layer_array = default; + this.slot_array = default; + this.strip_keyframe_data_array = default; } public bAction( ID id, - ActionLayer ptr_ptr_layer_array, - int layer_array_num, int layer_active_index, - ActionSlot ptr_ptr_slot_array, - int slot_array_num, int last_slot_handle, - ActionStripKeyframeData ptr_ptr_strip_keyframe_data_array, - int strip_keyframe_data_array_num, char[] _pad0, ListBase curves, ListBase chanbase, @@ -101,16 +86,13 @@ namespace BlendFile.DNA { char[] _pad1, float frame_start, float frame_end, - PreviewImage ptr_preview) { + PreviewImage preview, + System.Collections.Generic.List layer_array, + System.Collections.Generic.List slot_array, + System.Collections.Generic.List strip_keyframe_data_array) { this.id = id; - this.ptr_ptr_layer_array = ptr_ptr_layer_array; - this.layer_array_num = layer_array_num; this.layer_active_index = layer_active_index; - this.ptr_ptr_slot_array = ptr_ptr_slot_array; - this.slot_array_num = slot_array_num; this.last_slot_handle = last_slot_handle; - this.ptr_ptr_strip_keyframe_data_array = ptr_ptr_strip_keyframe_data_array; - this.strip_keyframe_data_array_num = strip_keyframe_data_array_num; this._pad0 = _pad0; this.curves = curves; this.chanbase = chanbase; @@ -122,7 +104,10 @@ namespace BlendFile.DNA { this._pad1 = _pad1; this.frame_start = frame_start; this.frame_end = frame_end; - this.ptr_preview = ptr_preview; + this.preview = preview; + this.layer_array = layer_array; + this.slot_array = slot_array; + this.strip_keyframe_data_array = strip_keyframe_data_array; } } } diff --git a/BlendFile/DNA/bActionChannel.cs b/BlendFile/DNA/bActionChannel.cs index 2851f5e..1b838ac 100644 --- a/BlendFile/DNA/bActionChannel.cs +++ b/BlendFile/DNA/bActionChannel.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(75, "bActionChannel", 120)] public class bActionChannel { - [DNAFieldAttribute(0, "bActionChannel", "*next", "bActionChannel", 8, true, 0)] - public bActionChannel ptr_next; - [DNAFieldAttribute(1, "bActionChannel", "*prev", "bActionChannel", 8, true, 8)] - public bActionChannel ptr_prev; - [DNAFieldAttribute(2, "bActionGroup", "*grp", "bActionGroup", 8, true, 16)] - public bActionGroup ptr_grp; - [DNAFieldAttribute(3, "Ipo", "*ipo", "Ipo", 8, true, 24)] - public Ipo ptr_ipo; - [DNAFieldAttribute(4, "ListBase", "constraintChannels", "ListBase", 16, false, 32)] + [DNAFieldAttribute(8, "bActionChannel", 0, "*next", "bActionChannel", true, 0)] + public bActionChannel next; + [DNAFieldAttribute(8, "bActionChannel", 1, "*prev", "bActionChannel", true, 8)] + public bActionChannel prev; + [DNAFieldAttribute(8, "bActionGroup", 2, "*grp", "bActionGroup", true, 16)] + public bActionGroup grp; + [DNAFieldAttribute(8, "Ipo", 3, "*ipo", "Ipo", true, 24)] + public Ipo ipo; + [DNAFieldAttribute(16, "ListBase", 4, "constraintChannels", "ListBase", false, 32)] public ListBase constraintChannels; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(6, "char", "name[64]", "System.Char[]", 64, false, 52)] + [DNAFieldAttribute(64, "char", 6, "name[64]", "System.Char[]", false, 52)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(7, "int", "temp", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 7, "temp", "int", false, 116)] public int temp; public bActionChannel() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_grp = default; - this.ptr_ipo = default; + this.next = default; + this.prev = default; + this.grp = default; + this.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; - this.ptr_grp = ptr_grp; - this.ptr_ipo = ptr_ipo; + public bActionChannel(bActionChannel next, bActionChannel prev, bActionGroup grp, Ipo ipo, ListBase constraintChannels, int flag, char[] name, int temp) { + this.next = next; + this.prev = prev; + this.grp = grp; + this.ipo = ipo; this.constraintChannels = constraintChannels; this.flag = flag; this.name = name; diff --git a/BlendFile/DNA/bActionConstraint.cs b/BlendFile/DNA/bActionConstraint.cs index 46a5e65..15c1d05 100644 --- a/BlendFile/DNA/bActionConstraint.cs +++ b/BlendFile/DNA/bActionConstraint.cs @@ -15,40 +15,40 @@ namespace BlendFile.DNA { [DNAClassAttribute(186, "bActionConstraint", 184)] public class bActionConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "short", "type", "short", 2, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(2, "short", 1, "type", "short", false, 8)] public short type; - [DNAFieldAttribute(2, "short", "local", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 2, "local", "short", false, 10)] public short local; - [DNAFieldAttribute(3, "int", "start", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "start", "int", false, 12)] public int start; - [DNAFieldAttribute(4, "int", "end", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 4, "end", "int", false, 16)] public int end; - [DNAFieldAttribute(5, "float", "min", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "min", "float", false, 20)] public float min; - [DNAFieldAttribute(6, "float", "max", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 6, "max", "float", false, 24)] public float max; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 28)] public int flag; - [DNAFieldAttribute(8, "char", "mix_mode", "char", 1, false, 32)] + [DNAFieldAttribute(1, "char", 8, "mix_mode", "char", false, 32)] public char mix_mode; - [DNAFieldAttribute(9, "char", "_pad[3]", "System.Char[]", 3, false, 33)] + [DNAFieldAttribute(3, "char", 9, "_pad[3]", "System.Char[]", false, 33)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(10, "float", "eval_time", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 10, "eval_time", "float", false, 36)] public float eval_time; - [DNAFieldAttribute(11, "bAction", "*act", "bAction", 8, true, 40)] - public bAction ptr_act; - [DNAFieldAttribute(12, "int", "action_slot_handle", "int", 4, false, 48)] + [DNAFieldAttribute(8, "bAction", 11, "*act", "bAction", true, 40)] + public bAction act; + [DNAFieldAttribute(4, "int", 12, "action_slot_handle", "int", false, 48)] public int action_slot_handle; - [DNAFieldAttribute(13, "char", "action_slot_name[66]", "System.Char[]", 66, false, 52)] + [DNAFieldAttribute(66, "char", 13, "action_slot_name[66]", "System.Char[]", false, 52)] public char[] action_slot_name = new System.Char[66]; - [DNAFieldAttribute(14, "char", "_pad1[2]", "System.Char[]", 2, false, 118)] + [DNAFieldAttribute(2, "char", 14, "_pad1[2]", "System.Char[]", false, 118)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(15, "char", "subtarget[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 15, "subtarget[64]", "System.Char[]", false, 120)] public char[] subtarget = new System.Char[64]; public bActionConstraint() { - this.ptr_tar = default; + this.tar = default; this.type = default; this.local = default; this.start = default; @@ -59,14 +59,14 @@ namespace BlendFile.DNA { this.mix_mode = default; this._pad = default; this.eval_time = default; - this.ptr_act = default; + this.act = default; this.action_slot_handle = default; this.action_slot_name = default; this._pad1 = default; this.subtarget = default; } public bActionConstraint( - Object ptr_tar, + Object tar, short type, short local, int start, @@ -77,12 +77,12 @@ namespace BlendFile.DNA { char mix_mode, char[] _pad, float eval_time, - bAction ptr_act, + bAction act, int action_slot_handle, char[] action_slot_name, char[] _pad1, char[] subtarget) { - this.ptr_tar = ptr_tar; + this.tar = tar; this.type = type; this.local = local; this.start = start; @@ -93,7 +93,7 @@ namespace BlendFile.DNA { this.mix_mode = mix_mode; this._pad = _pad; this.eval_time = eval_time; - this.ptr_act = ptr_act; + this.act = act; this.action_slot_handle = action_slot_handle; this.action_slot_name = action_slot_name; this._pad1 = _pad1; diff --git a/BlendFile/DNA/bActionGroup.cs b/BlendFile/DNA/bActionGroup.cs index 6f68aa8..74b4364 100644 --- a/BlendFile/DNA/bActionGroup.cs +++ b/BlendFile/DNA/bActionGroup.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(62, "bActionGroup", 136)] public class bActionGroup { - [DNAFieldAttribute(0, "bActionGroup", "*next", "bActionGroup", 8, true, 0)] - public bActionGroup ptr_next; - [DNAFieldAttribute(1, "bActionGroup", "*prev", "bActionGroup", 8, true, 8)] - public bActionGroup ptr_prev; - [DNAFieldAttribute(2, "ListBase", "channels", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "bActionGroup", 0, "*next", "bActionGroup", true, 0)] + public bActionGroup next; + [DNAFieldAttribute(8, "bActionGroup", 1, "*prev", "bActionGroup", true, 8)] + public bActionGroup prev; + [DNAFieldAttribute(16, "ListBase", 2, "channels", "ListBase", false, 16)] public ListBase channels; - [DNAFieldAttribute(3, "int", "fcurve_range_start", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 3, "fcurve_range_start", "int", false, 32)] public int fcurve_range_start; - [DNAFieldAttribute(4, "int", "fcurve_range_length", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 4, "fcurve_range_length", "int", false, 36)] public int fcurve_range_length; - [DNAFieldAttribute(5, "ActionChannelBag", "*channel_bag", "ActionChannelBag", 8, true, 40)] - public ActionChannelBag ptr_channel_bag; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 48)] + [DNAFieldAttribute(8, "ActionChannelBag", 5, "*channel_bag", "ActionChannelBag", true, 40)] + public ActionChannelBag channel_bag; + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(7, "int", "customCol", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 7, "customCol", "int", false, 52)] public int customCol; - [DNAFieldAttribute(8, "char", "name[64]", "System.Char[]", 64, false, 56)] + [DNAFieldAttribute(64, "char", 8, "name[64]", "System.Char[]", false, 56)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(9, "ThemeWireColor", "cs", "ThemeWireColor", 16, false, 120)] + [DNAFieldAttribute(16, "ThemeWireColor", 9, "cs", "ThemeWireColor", false, 120)] public ThemeWireColor cs; public bActionGroup() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.channels = default; this.fcurve_range_start = default; this.fcurve_range_length = default; - this.ptr_channel_bag = default; + this.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; + public bActionGroup(bActionGroup next, bActionGroup prev, ListBase channels, int fcurve_range_start, int fcurve_range_length, ActionChannelBag channel_bag, int flag, int customCol, char[] name, ThemeWireColor cs) { + this.next = next; + this.prev = prev; this.channels = channels; this.fcurve_range_start = fcurve_range_start; this.fcurve_range_length = fcurve_range_length; - this.ptr_channel_bag = ptr_channel_bag; + this.channel_bag = channel_bag; this.flag = flag; this.customCol = customCol; this.name = name; diff --git a/BlendFile/DNA/bActionModifier.cs b/BlendFile/DNA/bActionModifier.cs index fb6315b..2ec7803 100644 --- a/BlendFile/DNA/bActionModifier.cs +++ b/BlendFile/DNA/bActionModifier.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(562, "bActionModifier", 72)] public class bActionModifier { - [DNAFieldAttribute(0, "bActionModifier", "*next", "bActionModifier", 8, true, 0)] - public bActionModifier ptr_next; - [DNAFieldAttribute(1, "bActionModifier", "*prev", "bActionModifier", 8, true, 8)] - public bActionModifier ptr_prev; - [DNAFieldAttribute(2, "short", "type", "short", 2, false, 16)] + [DNAFieldAttribute(8, "bActionModifier", 0, "*next", "bActionModifier", true, 0)] + public bActionModifier next; + [DNAFieldAttribute(8, "bActionModifier", 1, "*prev", "bActionModifier", true, 8)] + public bActionModifier prev; + [DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)] public short type; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(4, "char", "channel[32]", "System.Char[]", 32, false, 20)] + [DNAFieldAttribute(32, "char", 4, "channel[32]", "System.Char[]", false, 20)] public char[] channel = new System.Char[32]; - [DNAFieldAttribute(5, "float", "noisesize", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 5, "noisesize", "float", false, 52)] public float noisesize; - [DNAFieldAttribute(6, "float", "turbul", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 6, "turbul", "float", false, 56)] public float turbul; - [DNAFieldAttribute(7, "short", "channels", "short", 2, false, 60)] + [DNAFieldAttribute(2, "short", 7, "channels", "short", false, 60)] public short channels; - [DNAFieldAttribute(8, "short", "no_rot_axis", "short", 2, false, 62)] + [DNAFieldAttribute(2, "short", 8, "no_rot_axis", "short", false, 62)] public short no_rot_axis; - [DNAFieldAttribute(9, "Object", "*ob", "Object", 8, true, 64)] - public Object ptr_ob; + [DNAFieldAttribute(8, "Object", 9, "*ob", "Object", true, 64)] + public Object ob; public bActionModifier() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.type = default; this.flag = default; this.channel = default; @@ -45,11 +45,11 @@ namespace BlendFile.DNA { this.turbul = default; this.channels = default; this.no_rot_axis = default; - this.ptr_ob = default; + this.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; + public bActionModifier(bActionModifier next, bActionModifier prev, short type, short flag, char[] channel, float noisesize, float turbul, short channels, short no_rot_axis, Object ob) { + this.next = next; + this.prev = prev; this.type = type; this.flag = flag; this.channel = channel; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { this.turbul = turbul; this.channels = channels; this.no_rot_axis = no_rot_axis; - this.ptr_ob = ptr_ob; + this.ob = ob; } } } diff --git a/BlendFile/DNA/bActionStrip.cs b/BlendFile/DNA/bActionStrip.cs index bb062f8..54a097c 100644 --- a/BlendFile/DNA/bActionStrip.cs +++ b/BlendFile/DNA/bActionStrip.cs @@ -15,60 +15,60 @@ namespace BlendFile.DNA { [DNAClassAttribute(563, "bActionStrip", 168)] public class bActionStrip { - [DNAFieldAttribute(0, "bActionStrip", "*next", "bActionStrip", 8, true, 0)] - public bActionStrip ptr_next; - [DNAFieldAttribute(1, "bActionStrip", "*prev", "bActionStrip", 8, true, 8)] - public bActionStrip ptr_prev; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 16)] + [DNAFieldAttribute(8, "bActionStrip", 0, "*next", "bActionStrip", true, 0)] + public bActionStrip next; + [DNAFieldAttribute(8, "bActionStrip", 1, "*prev", "bActionStrip", true, 8)] + public bActionStrip prev; + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 16)] public short flag; - [DNAFieldAttribute(3, "short", "mode", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "mode", "short", false, 18)] public short mode; - [DNAFieldAttribute(4, "short", "stride_axis", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "stride_axis", "short", false, 20)] public short stride_axis; - [DNAFieldAttribute(5, "short", "curmod", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 5, "curmod", "short", false, 22)] public short curmod; - [DNAFieldAttribute(6, "Ipo", "*ipo", "Ipo", 8, true, 24)] - public Ipo ptr_ipo; - [DNAFieldAttribute(7, "bAction", "*act", "bAction", 8, true, 32)] - public bAction ptr_act; - [DNAFieldAttribute(8, "Object", "*object", "Object", 8, true, 40)] - public Object ptr_object; - [DNAFieldAttribute(9, "float", "start", "float", 4, false, 48)] + [DNAFieldAttribute(8, "Ipo", 6, "*ipo", "Ipo", true, 24)] + public Ipo ipo; + [DNAFieldAttribute(8, "bAction", 7, "*act", "bAction", true, 32)] + public bAction act; + [DNAFieldAttribute(8, "Object", 8, "*object", "Object", true, 40)] + public Object @object; + [DNAFieldAttribute(4, "float", 9, "start", "float", false, 48)] public float start; - [DNAFieldAttribute(10, "float", "end", "float", 4, false, 52)] + [DNAFieldAttribute(4, "float", 10, "end", "float", false, 52)] public float end; - [DNAFieldAttribute(11, "float", "actstart", "float", 4, false, 56)] + [DNAFieldAttribute(4, "float", 11, "actstart", "float", false, 56)] public float actstart; - [DNAFieldAttribute(12, "float", "actend", "float", 4, false, 60)] + [DNAFieldAttribute(4, "float", 12, "actend", "float", false, 60)] public float actend; - [DNAFieldAttribute(13, "float", "actoffs", "float", 4, false, 64)] + [DNAFieldAttribute(4, "float", 13, "actoffs", "float", false, 64)] public float actoffs; - [DNAFieldAttribute(14, "float", "stridelen", "float", 4, false, 68)] + [DNAFieldAttribute(4, "float", 14, "stridelen", "float", false, 68)] public float stridelen; - [DNAFieldAttribute(15, "float", "repeat", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 15, "repeat", "float", false, 72)] public float repeat; - [DNAFieldAttribute(16, "float", "scale", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 16, "scale", "float", false, 76)] public float scale; - [DNAFieldAttribute(17, "float", "blendin", "float", 4, false, 80)] + [DNAFieldAttribute(4, "float", 17, "blendin", "float", false, 80)] public float blendin; - [DNAFieldAttribute(18, "float", "blendout", "float", 4, false, 84)] + [DNAFieldAttribute(4, "float", 18, "blendout", "float", false, 84)] public float blendout; - [DNAFieldAttribute(19, "char", "stridechannel[32]", "System.Char[]", 32, false, 88)] + [DNAFieldAttribute(32, "char", 19, "stridechannel[32]", "System.Char[]", false, 88)] public char[] stridechannel = new System.Char[32]; - [DNAFieldAttribute(20, "char", "offs_bone[32]", "System.Char[]", 32, false, 120)] + [DNAFieldAttribute(32, "char", 20, "offs_bone[32]", "System.Char[]", false, 120)] public char[] offs_bone = new System.Char[32]; - [DNAFieldAttribute(21, "ListBase", "modifiers", "ListBase", 16, false, 152)] + [DNAFieldAttribute(16, "ListBase", 21, "modifiers", "ListBase", false, 152)] public ListBase modifiers; public bActionStrip() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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.ipo = default; + this.act = default; + this.@object = default; this.start = default; this.end = default; this.actstart = default; @@ -84,15 +84,15 @@ namespace BlendFile.DNA { this.modifiers = default; } public bActionStrip( - bActionStrip ptr_next, - bActionStrip ptr_prev, + bActionStrip next, + bActionStrip prev, short flag, short mode, short stride_axis, short curmod, - Ipo ptr_ipo, - bAction ptr_act, - Object ptr_object, + Ipo ipo, + bAction act, + Object @object, float start, float end, float actstart, @@ -106,15 +106,15 @@ namespace BlendFile.DNA { char[] stridechannel, char[] offs_bone, ListBase modifiers) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.flag = flag; this.mode = mode; this.stride_axis = stride_axis; this.curmod = curmod; - this.ptr_ipo = ptr_ipo; - this.ptr_act = ptr_act; - this.ptr_object = ptr_object; + this.ipo = ipo; + this.act = act; + this.@object = @object; this.start = start; this.end = end; this.actstart = actstart; diff --git a/BlendFile/DNA/bAddon.cs b/BlendFile/DNA/bAddon.cs index 986167c..b4d2f82 100644 --- a/BlendFile/DNA/bAddon.cs +++ b/BlendFile/DNA/bAddon.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(998, "bAddon", 152)] public class bAddon { - [DNAFieldAttribute(0, "bAddon", "*next", "bAddon", 8, true, 0)] - public bAddon ptr_next; - [DNAFieldAttribute(1, "bAddon", "*prev", "bAddon", 8, true, 8)] - public bAddon ptr_prev; - [DNAFieldAttribute(2, "char", "module[128]", "System.Char[]", 128, false, 16)] + [DNAFieldAttribute(8, "bAddon", 0, "*next", "bAddon", true, 0)] + public bAddon next; + [DNAFieldAttribute(8, "bAddon", 1, "*prev", "bAddon", true, 8)] + public bAddon prev; + [DNAFieldAttribute(128, "char", 2, "module[128]", "System.Char[]", false, 16)] public char[] module = new System.Char[128]; - [DNAFieldAttribute(3, "IDProperty", "*prop", "IDProperty", 8, true, 144)] - public IDProperty ptr_prop; + [DNAFieldAttribute(8, "IDProperty", 3, "*prop", "IDProperty", true, 144)] + public IDProperty prop; public bAddon() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.module = default; - this.ptr_prop = default; + this.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; + public bAddon(bAddon next, bAddon prev, char[] module, IDProperty prop) { + this.next = next; + this.prev = prev; this.module = module; - this.ptr_prop = ptr_prop; + this.prop = prop; } } } diff --git a/BlendFile/DNA/bAnimVizSettings.cs b/BlendFile/DNA/bAnimVizSettings.cs index 2c3435a..f0a46ec 100644 --- a/BlendFile/DNA/bAnimVizSettings.cs +++ b/BlendFile/DNA/bAnimVizSettings.cs @@ -14,28 +14,28 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(47, "bAnimVizSettings", 32)] - public struct bAnimVizSettings { - [DNAFieldAttribute(0, "short", "recalc", "short", 2, false, 0)] + public class bAnimVizSettings { + [DNAFieldAttribute(2, "short", 0, "recalc", "short", false, 0)] public short recalc; - [DNAFieldAttribute(1, "short", "path_type", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "path_type", "short", false, 2)] public short path_type; - [DNAFieldAttribute(2, "short", "path_step", "short", 2, false, 4)] + [DNAFieldAttribute(2, "short", 2, "path_step", "short", false, 4)] public short path_step; - [DNAFieldAttribute(3, "short", "path_range", "short", 2, false, 6)] + [DNAFieldAttribute(2, "short", 3, "path_range", "short", false, 6)] public short path_range; - [DNAFieldAttribute(4, "short", "path_viewflag", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 4, "path_viewflag", "short", false, 8)] public short path_viewflag; - [DNAFieldAttribute(5, "short", "path_bakeflag", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 5, "path_bakeflag", "short", false, 10)] public short path_bakeflag; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(7, "int", "path_sf", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 7, "path_sf", "int", false, 16)] public int path_sf; - [DNAFieldAttribute(8, "int", "path_ef", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 8, "path_ef", "int", false, 20)] public int path_ef; - [DNAFieldAttribute(9, "int", "path_bc", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 9, "path_bc", "int", false, 24)] public int path_bc; - [DNAFieldAttribute(10, "int", "path_ac", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 10, "path_ac", "int", false, 28)] public int path_ac; public bAnimVizSettings() { this.recalc = default; diff --git a/BlendFile/DNA/bArmature.cs b/BlendFile/DNA/bArmature.cs index a3652a3..662ab26 100644 --- a/BlendFile/DNA/bArmature.cs +++ b/BlendFile/DNA/bArmature.cs @@ -13,65 +13,63 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(106, "bArmature", 416)] + [DNAClassAttribute(106, "bArmature", 404)] public class bArmature { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "ListBase", "bonebase", "ListBase", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "ListBase", 2, "bonebase", "ListBase", false, 216)] public ListBase bonebase; - [DNAFieldAttribute(3, "GHash", "*bonehash", "GHash", 8, true, 232)] - public GHash ptr_bonehash; - [DNAFieldAttribute(4, "void", "*_pad1", "void", 8, true, 240)] - public object ptr__pad1; - [DNAFieldAttribute(5, "ListBase", "*edbo", "ListBase", 8, true, 248)] - public ListBase ptr_edbo; - [DNAFieldAttribute(6, "Bone", "*act_bone", "Bone", 8, true, 256)] - public Bone ptr_act_bone; - [DNAFieldAttribute(7, "EditBone", "*act_edbone", "EditBone", 8, true, 264)] - public EditBone ptr_act_edbone; - [DNAFieldAttribute(8, "char", "needs_flush_to_id", "char", 1, false, 272)] + [DNAFieldAttribute(8, "GHash", 3, "*bonehash", "GHash", true, 232)] + public GHash bonehash; + [DNAFieldAttribute(8, "void", 4, "*_pad1", "void", true, 240)] + public object _pad1; + [DNAFieldAttribute(8, "ListBase", 5, "*edbo", "ListBase", true, 248)] + public ListBase edbo; + [DNAFieldAttribute(8, "Bone", 6, "*act_bone", "Bone", true, 256)] + public Bone act_bone; + [DNAFieldAttribute(8, "EditBone", 7, "*act_edbone", "EditBone", true, 264)] + public EditBone act_edbone; + [DNAFieldAttribute(1, "char", 8, "needs_flush_to_id", "char", false, 272)] public char needs_flush_to_id; - [DNAFieldAttribute(9, "char", "_pad0[3]", "System.Char[]", 3, false, 273)] + [DNAFieldAttribute(3, "char", 9, "_pad0[3]", "System.Char[]", false, 273)] public char[] _pad0 = new System.Char[3]; - [DNAFieldAttribute(10, "int", "flag", "int", 4, false, 276)] + [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 276)] public int flag; - [DNAFieldAttribute(11, "int", "drawtype", "int", 4, false, 280)] + [DNAFieldAttribute(4, "int", 11, "drawtype", "int", false, 280)] public int drawtype; - [DNAFieldAttribute(12, "short", "deformflag", "short", 2, false, 284)] + [DNAFieldAttribute(2, "short", 12, "deformflag", "short", false, 284)] public short deformflag; - [DNAFieldAttribute(13, "short", "pathflag", "short", 2, false, 286)] + [DNAFieldAttribute(2, "short", 13, "pathflag", "short", false, 286)] public short pathflag; - [DNAFieldAttribute(14, "ListBase", "collections", "ListBase", 16, false, 288)] + [DNAFieldAttribute(16, "ListBase", 14, "collections", "ListBase", false, 288)] public ListBase collections; - [DNAFieldAttribute(15, "BoneCollection", "**collection_array", "BoneCollection", 8, true, 304)] - public BoneCollection ptr_ptr_collection_array; - [DNAFieldAttribute(16, "int", "collection_array_num", "int", 4, false, 312)] - public int collection_array_num; - [DNAFieldAttribute(17, "int", "collection_root_count", "int", 4, false, 316)] + [DNAFieldAttribute(4, "int", 17, "collection_root_count", "int", false, 304)] public int collection_root_count; - [DNAFieldAttribute(18, "char", "active_collection_name[64]", "System.Char[]", 64, false, 320)] + [DNAFieldAttribute(64, "char", 18, "active_collection_name[64]", "System.Char[]", false, 308)] public char[] active_collection_name = new System.Char[64]; - [DNAFieldAttribute(19, "int", "layer_used", "int", 4, false, 384)] + [DNAFieldAttribute(4, "int", 19, "layer_used", "int", false, 372)] public int layer_used; - [DNAFieldAttribute(20, "int", "layer", "int", 4, false, 388)] + [DNAFieldAttribute(4, "int", 20, "layer", "int", false, 376)] public int layer; - [DNAFieldAttribute(21, "int", "layer_protected", "int", 4, false, 392)] + [DNAFieldAttribute(4, "int", 21, "layer_protected", "int", false, 380)] public int layer_protected; - [DNAFieldAttribute(22, "float", "axes_position", "float", 4, false, 396)] + [DNAFieldAttribute(4, "float", 22, "axes_position", "float", false, 384)] public float axes_position; - [DNAFieldAttribute(23, "bArmature_Runtime", "runtime", "bArmature_Runtime", 16, false, 400)] + [DNAFieldAttribute(16, "bArmature_Runtime", 23, "runtime", "bArmature_Runtime", false, 388)] public bArmature_Runtime runtime; + [DNAListAttribute(8, "BoneCollection", "**collection_array", 15, "BoneCollection", "collection_array_num", 16, 404)] + public System.Collections.Generic.List collection_array; public bArmature() { this.id = default; - this.ptr_adt = default; + this.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.bonehash = default; + this._pad1 = default; + this.edbo = default; + this.act_bone = default; + this.act_edbone = default; this.needs_flush_to_id = default; this._pad0 = default; this.flag = default; @@ -79,8 +77,6 @@ namespace BlendFile.DNA { 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; @@ -88,16 +84,17 @@ namespace BlendFile.DNA { this.layer_protected = default; this.axes_position = default; this.runtime = default; + this.collection_array = default; } public bArmature( ID id, - AnimData ptr_adt, + AnimData adt, ListBase bonebase, - GHash ptr_bonehash, - object ptr__pad1, - ListBase ptr_edbo, - Bone ptr_act_bone, - EditBone ptr_act_edbone, + GHash bonehash, + object _pad1, + ListBase edbo, + Bone act_bone, + EditBone act_edbone, char needs_flush_to_id, char[] _pad0, int flag, @@ -105,23 +102,22 @@ namespace BlendFile.DNA { short deformflag, short pathflag, ListBase collections, - BoneCollection ptr_ptr_collection_array, - int collection_array_num, int collection_root_count, char[] active_collection_name, int layer_used, int layer, int layer_protected, float axes_position, - bArmature_Runtime runtime) { + bArmature_Runtime runtime, + System.Collections.Generic.List collection_array) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.bonebase = bonebase; - this.ptr_bonehash = ptr_bonehash; - this.ptr__pad1 = ptr__pad1; - this.ptr_edbo = ptr_edbo; - this.ptr_act_bone = ptr_act_bone; - this.ptr_act_edbone = ptr_act_edbone; + this.bonehash = bonehash; + this._pad1 = _pad1; + this.edbo = edbo; + this.act_bone = act_bone; + this.act_edbone = act_edbone; this.needs_flush_to_id = needs_flush_to_id; this._pad0 = _pad0; this.flag = flag; @@ -129,8 +125,6 @@ namespace BlendFile.DNA { this.deformflag = deformflag; this.pathflag = pathflag; this.collections = collections; - this.ptr_ptr_collection_array = ptr_ptr_collection_array; - this.collection_array_num = collection_array_num; this.collection_root_count = collection_root_count; this.active_collection_name = active_collection_name; this.layer_used = layer_used; @@ -138,6 +132,7 @@ namespace BlendFile.DNA { this.layer_protected = layer_protected; this.axes_position = axes_position; this.runtime = runtime; + this.collection_array = collection_array; } } } diff --git a/BlendFile/DNA/bArmatureConstraint.cs b/BlendFile/DNA/bArmatureConstraint.cs index 30e23e6..eded574 100644 --- a/BlendFile/DNA/bArmatureConstraint.cs +++ b/BlendFile/DNA/bArmatureConstraint.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(178, "bArmatureConstraint", 24)] - public struct bArmatureConstraint { - [DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)] + public class bArmatureConstraint { + [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "ListBase", "targets", "ListBase", 16, false, 8)] + [DNAFieldAttribute(16, "ListBase", 2, "targets", "ListBase", false, 8)] public ListBase targets; public bArmatureConstraint() { this.flag = default; diff --git a/BlendFile/DNA/bArmature_Runtime.cs b/BlendFile/DNA/bArmature_Runtime.cs index 4269d8e..61c21f6 100644 --- a/BlendFile/DNA/bArmature_Runtime.cs +++ b/BlendFile/DNA/bArmature_Runtime.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(104, "bArmature_Runtime", 16)] public class bArmature_Runtime { - [DNAFieldAttribute(0, "int", "active_collection_index", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "active_collection_index", "int", false, 0)] public int active_collection_index; - [DNAFieldAttribute(1, "uchar", "_pad0[4]", "System.Byte[]", 4, false, 4)] + [DNAFieldAttribute(4, "uchar", 1, "_pad0[4]", "System.Byte[]", false, 4)] public byte[] _pad0 = new System.Byte[4]; - [DNAFieldAttribute(2, "BoneCollection", "*active_collection", "BoneCollection", 8, true, 8)] - public BoneCollection ptr_active_collection; + [DNAFieldAttribute(8, "BoneCollection", 2, "*active_collection", "BoneCollection", true, 8)] + public BoneCollection active_collection; public bArmature_Runtime() { this.active_collection_index = default; this._pad0 = default; - this.ptr_active_collection = default; + this.active_collection = default; } - public bArmature_Runtime(int active_collection_index, byte[] _pad0, BoneCollection ptr_active_collection) { + public bArmature_Runtime(int active_collection_index, byte[] _pad0, BoneCollection active_collection) { this.active_collection_index = active_collection_index; this._pad0 = _pad0; - this.ptr_active_collection = ptr_active_collection; + this.active_collection = active_collection; } } } diff --git a/BlendFile/DNA/bCameraSolverConstraint.cs b/BlendFile/DNA/bCameraSolverConstraint.cs index 4800619..f1435a7 100644 --- a/BlendFile/DNA/bCameraSolverConstraint.cs +++ b/BlendFile/DNA/bCameraSolverConstraint.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(202, "bCameraSolverConstraint", 16)] public class bCameraSolverConstraint { - [DNAFieldAttribute(0, "MovieClip", "*clip", "MovieClip", 8, true, 0)] - public MovieClip ptr_clip; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "MovieClip", 0, "*clip", "MovieClip", true, 0)] + public MovieClip clip; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; public bCameraSolverConstraint() { - this.ptr_clip = default; + this.clip = default; this.flag = default; this._pad = default; } - public bCameraSolverConstraint(MovieClip ptr_clip, int flag, char[] _pad) { - this.ptr_clip = ptr_clip; + public bCameraSolverConstraint(MovieClip clip, int flag, char[] _pad) { + this.clip = clip; this.flag = flag; this._pad = _pad; } diff --git a/BlendFile/DNA/bChildOfConstraint.cs b/BlendFile/DNA/bChildOfConstraint.cs index d57d111..ee93f0e 100644 --- a/BlendFile/DNA/bChildOfConstraint.cs +++ b/BlendFile/DNA/bChildOfConstraint.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(193, "bChildOfConstraint", 144)] public class bChildOfConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(3, "float", "invmat[4][4]", "System.Single[,]", 64, false, 16)] + [DNAFieldAttribute(64, "float", 3, "invmat[4][4]", "System.Single[,]", false, 16)] public float[,] invmat = new System.Single[4,4]; - [DNAFieldAttribute(4, "char", "subtarget[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", false, 80)] public char[] subtarget = new System.Char[64]; public bChildOfConstraint() { - this.ptr_tar = default; + this.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; + public bChildOfConstraint(Object tar, int flag, char[] _pad, float[,] invmat, char[] subtarget) { + this.tar = tar; this.flag = flag; this._pad = _pad; this.invmat = invmat; diff --git a/BlendFile/DNA/bClampToConstraint.cs b/BlendFile/DNA/bClampToConstraint.cs index 786a180..9d3e26d 100644 --- a/BlendFile/DNA/bClampToConstraint.cs +++ b/BlendFile/DNA/bClampToConstraint.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(192, "bClampToConstraint", 16)] public class bClampToConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "int", "flag2", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "flag2", "int", false, 12)] public int flag2; public bClampToConstraint() { - this.ptr_tar = default; + this.tar = default; this.flag = default; this.flag2 = default; } - public bClampToConstraint(Object ptr_tar, int flag, int flag2) { - this.ptr_tar = ptr_tar; + public bClampToConstraint(Object tar, int flag, int flag2) { + this.tar = tar; this.flag = flag; this.flag2 = flag2; } diff --git a/BlendFile/DNA/bConstraint.cs b/BlendFile/DNA/bConstraint.cs index 26e1482..8aab928 100644 --- a/BlendFile/DNA/bConstraint.cs +++ b/BlendFile/DNA/bConstraint.cs @@ -15,87 +15,87 @@ namespace BlendFile.DNA { [DNAClassAttribute(172, "bConstraint", 192)] public class bConstraint { - [DNAFieldAttribute(0, "bConstraint", "*next", "bConstraint", 8, true, 0)] - public bConstraint ptr_next; - [DNAFieldAttribute(1, "bConstraint", "*prev", "bConstraint", 8, true, 8)] - public bConstraint ptr_prev; - [DNAFieldAttribute(2, "void", "*data", "void", 8, true, 16)] - public object ptr_data; - [DNAFieldAttribute(3, "short", "type", "short", 2, false, 24)] + [DNAFieldAttribute(8, "bConstraint", 0, "*next", "bConstraint", true, 0)] + public bConstraint next; + [DNAFieldAttribute(8, "bConstraint", 1, "*prev", "bConstraint", true, 8)] + public bConstraint prev; + [DNAFieldAttribute(8, "void", 2, "*data", "void", true, 16)] + public object data; + [DNAFieldAttribute(2, "short", 3, "type", "short", false, 24)] public short type; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 26)] public short flag; - [DNAFieldAttribute(5, "char", "ownspace", "char", 1, false, 28)] + [DNAFieldAttribute(1, "char", 5, "ownspace", "char", false, 28)] public char ownspace; - [DNAFieldAttribute(6, "char", "tarspace", "char", 1, false, 29)] + [DNAFieldAttribute(1, "char", 6, "tarspace", "char", false, 29)] public char tarspace; - [DNAFieldAttribute(7, "short", "ui_expand_flag", "short", 2, false, 30)] + [DNAFieldAttribute(2, "short", 7, "ui_expand_flag", "short", false, 30)] public short ui_expand_flag; - [DNAFieldAttribute(8, "Object", "*space_object", "Object", 8, true, 32)] - public Object ptr_space_object; - [DNAFieldAttribute(9, "char", "space_subtarget[64]", "System.Char[]", 64, false, 40)] + [DNAFieldAttribute(8, "Object", 8, "*space_object", "Object", true, 32)] + public Object space_object; + [DNAFieldAttribute(64, "char", 9, "space_subtarget[64]", "System.Char[]", false, 40)] public char[] space_subtarget = new System.Char[64]; - [DNAFieldAttribute(10, "char", "name[64]", "System.Char[]", 64, false, 104)] + [DNAFieldAttribute(64, "char", 10, "name[64]", "System.Char[]", false, 104)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(11, "float", "enforce", "float", 4, false, 168)] + [DNAFieldAttribute(4, "float", 11, "enforce", "float", false, 168)] public float enforce; - [DNAFieldAttribute(12, "float", "headtail", "float", 4, false, 172)] + [DNAFieldAttribute(4, "float", 12, "headtail", "float", false, 172)] public float headtail; - [DNAFieldAttribute(13, "Ipo", "*ipo", "Ipo", 8, true, 176)] - public Ipo ptr_ipo; - [DNAFieldAttribute(14, "float", "lin_error", "float", 4, false, 184)] + [DNAFieldAttribute(8, "Ipo", 13, "*ipo", "Ipo", true, 176)] + public Ipo ipo; + [DNAFieldAttribute(4, "float", 14, "lin_error", "float", false, 184)] public float lin_error; - [DNAFieldAttribute(15, "float", "rot_error", "float", 4, false, 188)] + [DNAFieldAttribute(4, "float", 15, "rot_error", "float", false, 188)] public float rot_error; public bConstraint() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_data = default; + this.next = default; + this.prev = default; + this.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_object = default; this.space_subtarget = default; this.name = default; this.enforce = default; this.headtail = default; - this.ptr_ipo = default; + this.ipo = default; this.lin_error = default; this.rot_error = default; } public bConstraint( - bConstraint ptr_next, - bConstraint ptr_prev, - object ptr_data, + bConstraint next, + bConstraint prev, + object data, short type, short flag, char ownspace, char tarspace, short ui_expand_flag, - Object ptr_space_object, + Object space_object, char[] space_subtarget, char[] name, float enforce, float headtail, - Ipo ptr_ipo, + Ipo ipo, float lin_error, float rot_error) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_data = ptr_data; + this.next = next; + this.prev = prev; + this.data = data; this.type = type; this.flag = flag; this.ownspace = ownspace; this.tarspace = tarspace; this.ui_expand_flag = ui_expand_flag; - this.ptr_space_object = ptr_space_object; + this.space_object = space_object; this.space_subtarget = space_subtarget; this.name = name; this.enforce = enforce; this.headtail = headtail; - this.ptr_ipo = ptr_ipo; + this.ipo = ipo; this.lin_error = lin_error; this.rot_error = rot_error; } diff --git a/BlendFile/DNA/bConstraintChannel.cs b/BlendFile/DNA/bConstraintChannel.cs index f2af287..ef555e5 100644 --- a/BlendFile/DNA/bConstraintChannel.cs +++ b/BlendFile/DNA/bConstraintChannel.cs @@ -15,27 +15,27 @@ namespace BlendFile.DNA { [DNAClassAttribute(171, "bConstraintChannel", 56)] public class bConstraintChannel { - [DNAFieldAttribute(0, "bConstraintChannel", "*next", "bConstraintChannel", 8, true, 0)] - public bConstraintChannel ptr_next; - [DNAFieldAttribute(1, "bConstraintChannel", "*prev", "bConstraintChannel", 8, true, 8)] - public bConstraintChannel ptr_prev; - [DNAFieldAttribute(2, "Ipo", "*ipo", "Ipo", 8, true, 16)] - public Ipo ptr_ipo; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 24)] + [DNAFieldAttribute(8, "bConstraintChannel", 0, "*next", "bConstraintChannel", true, 0)] + public bConstraintChannel next; + [DNAFieldAttribute(8, "bConstraintChannel", 1, "*prev", "bConstraintChannel", true, 8)] + public bConstraintChannel prev; + [DNAFieldAttribute(8, "Ipo", 2, "*ipo", "Ipo", true, 16)] + public Ipo ipo; + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(4, "char", "name[30]", "System.Char[]", 30, false, 26)] + [DNAFieldAttribute(30, "char", 4, "name[30]", "System.Char[]", false, 26)] public char[] name = new System.Char[30]; public bConstraintChannel() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_ipo = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_ipo = ptr_ipo; + public bConstraintChannel(bConstraintChannel next, bConstraintChannel prev, Ipo ipo, short flag, char[] name) { + this.next = next; + this.prev = prev; + this.ipo = ipo; this.flag = flag; this.name = name; } diff --git a/BlendFile/DNA/bConstraintTarget.cs b/BlendFile/DNA/bConstraintTarget.cs index 7d98e07..31cdaae 100644 --- a/BlendFile/DNA/bConstraintTarget.cs +++ b/BlendFile/DNA/bConstraintTarget.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(173, "bConstraintTarget", 168)] public class bConstraintTarget { - [DNAFieldAttribute(0, "bConstraintTarget", "*next", "bConstraintTarget", 8, true, 0)] - public bConstraintTarget ptr_next; - [DNAFieldAttribute(1, "bConstraintTarget", "*prev", "bConstraintTarget", 8, true, 8)] - public bConstraintTarget ptr_prev; - [DNAFieldAttribute(2, "Object", "*tar", "Object", 8, true, 16)] - public Object ptr_tar; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(8, "bConstraintTarget", 0, "*next", "bConstraintTarget", true, 0)] + public bConstraintTarget next; + [DNAFieldAttribute(8, "bConstraintTarget", 1, "*prev", "bConstraintTarget", true, 8)] + public bConstraintTarget prev; + [DNAFieldAttribute(8, "Object", 2, "*tar", "Object", true, 16)] + public Object tar; + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 24)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(4, "float", "matrix[4][4]", "System.Single[,]", 64, false, 88)] + [DNAFieldAttribute(64, "float", 4, "matrix[4][4]", "System.Single[,]", false, 88)] public float[,] matrix = new System.Single[4,4]; - [DNAFieldAttribute(5, "short", "space", "short", 2, false, 152)] + [DNAFieldAttribute(2, "short", 5, "space", "short", false, 152)] public short space; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 154)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 154)] public short flag; - [DNAFieldAttribute(7, "short", "type", "short", 2, false, 156)] + [DNAFieldAttribute(2, "short", 7, "type", "short", false, 156)] public short type; - [DNAFieldAttribute(8, "short", "rotOrder", "short", 2, false, 158)] + [DNAFieldAttribute(2, "short", 8, "rotOrder", "short", false, 158)] public short rotOrder; - [DNAFieldAttribute(9, "float", "weight", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 9, "weight", "float", false, 160)] public float weight; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 164)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 164)] public char[] _pad = new System.Char[4]; public bConstraintTarget() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_tar = default; + this.next = default; + this.prev = default; + this.tar = default; this.subtarget = default; this.matrix = default; this.space = default; @@ -50,10 +50,10 @@ namespace BlendFile.DNA { 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; - this.ptr_tar = ptr_tar; + public bConstraintTarget(bConstraintTarget next, bConstraintTarget prev, Object tar, char[] subtarget, float[,] matrix, short space, short flag, short type, short rotOrder, float weight, char[] _pad) { + this.next = next; + this.prev = prev; + this.tar = tar; this.subtarget = subtarget; this.matrix = matrix; this.space = space; diff --git a/BlendFile/DNA/bDampTrackConstraint.cs b/BlendFile/DNA/bDampTrackConstraint.cs index b2371a6..6f3a46b 100644 --- a/BlendFile/DNA/bDampTrackConstraint.cs +++ b/BlendFile/DNA/bDampTrackConstraint.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(188, "bDampTrackConstraint", 80)] public class bDampTrackConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "trackflag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "trackflag", "int", false, 8)] public int trackflag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; public bDampTrackConstraint() { - this.ptr_tar = default; + this.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; + public bDampTrackConstraint(Object tar, int trackflag, char[] _pad, char[] subtarget) { + this.tar = tar; this.trackflag = trackflag; this._pad = _pad; this.subtarget = subtarget; diff --git a/BlendFile/DNA/bDeformGroup.cs b/BlendFile/DNA/bDeformGroup.cs index bce63bd..f19d3f6 100644 --- a/BlendFile/DNA/bDeformGroup.cs +++ b/BlendFile/DNA/bDeformGroup.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(764, "bDeformGroup", 88)] public class bDeformGroup { - [DNAFieldAttribute(0, "bDeformGroup", "*next", "bDeformGroup", 8, true, 0)] - public bDeformGroup ptr_next; - [DNAFieldAttribute(1, "bDeformGroup", "*prev", "bDeformGroup", 8, true, 8)] - public bDeformGroup ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bDeformGroup", 0, "*next", "bDeformGroup", true, 0)] + public bDeformGroup next; + [DNAFieldAttribute(8, "bDeformGroup", 1, "*prev", "bDeformGroup", true, 8)] + public bDeformGroup prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 80)] public char flag; - [DNAFieldAttribute(4, "char", "_pad0[7]", "System.Char[]", 7, false, 81)] + [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 81)] public char[] _pad0 = new System.Char[7]; public bDeformGroup() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bDeformGroup(bDeformGroup next, bDeformGroup prev, char[] name, char flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.name = name; this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/bDistLimitConstraint.cs b/BlendFile/DNA/bDistLimitConstraint.cs index 2ea84df..cc21766 100644 --- a/BlendFile/DNA/bDistLimitConstraint.cs +++ b/BlendFile/DNA/bDistLimitConstraint.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(199, "bDistLimitConstraint", 88)] public class bDistLimitConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "char", "subtarget[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", false, 8)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(2, "float", "dist", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 2, "dist", "float", false, 72)] public float dist; - [DNAFieldAttribute(3, "float", "soft", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 3, "soft", "float", false, 76)] public float soft; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 80)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 80)] public short flag; - [DNAFieldAttribute(5, "short", "mode", "short", 2, false, 82)] + [DNAFieldAttribute(2, "short", 5, "mode", "short", false, 82)] public short mode; - [DNAFieldAttribute(6, "char", "_pad[4]", "System.Char[]", 4, false, 84)] + [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 84)] public char[] _pad = new System.Char[4]; public bDistLimitConstraint() { - this.ptr_tar = default; + this.tar = default; this.subtarget = default; this.dist = default; this.soft = default; @@ -38,8 +38,8 @@ namespace BlendFile.DNA { 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; + public bDistLimitConstraint(Object tar, char[] subtarget, float dist, float soft, short flag, short mode, char[] _pad) { + this.tar = tar; this.subtarget = subtarget; this.dist = dist; this.soft = soft; diff --git a/BlendFile/DNA/bDopeSheet.cs b/BlendFile/DNA/bDopeSheet.cs index da6540f..539bd42 100644 --- a/BlendFile/DNA/bDopeSheet.cs +++ b/BlendFile/DNA/bDopeSheet.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(69, "bDopeSheet", 112)] public class bDopeSheet { - [DNAFieldAttribute(0, "ID", "*source", "ID", 8, true, 0)] - public ID ptr_source; - [DNAFieldAttribute(1, "ListBase", "chanbase", "ListBase", 16, false, 8)] + [DNAFieldAttribute(8, "ID", 0, "*source", "ID", true, 0)] + public ID source; + [DNAFieldAttribute(16, "ListBase", 1, "chanbase", "ListBase", false, 8)] public ListBase chanbase; - [DNAFieldAttribute(2, "Collection", "*filter_grp", "Collection", 8, true, 24)] - public Collection ptr_filter_grp; - [DNAFieldAttribute(3, "char", "searchstr[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(8, "Collection", 2, "*filter_grp", "Collection", true, 24)] + public Collection filter_grp; + [DNAFieldAttribute(64, "char", 3, "searchstr[64]", "System.Char[]", false, 32)] public char[] searchstr = new System.Char[64]; - [DNAFieldAttribute(4, "int", "filterflag", "int", 4, false, 96)] + [DNAFieldAttribute(4, "int", 4, "filterflag", "int", false, 96)] public int filterflag; - [DNAFieldAttribute(5, "int", "filterflag2", "int", 4, false, 100)] + [DNAFieldAttribute(4, "int", 5, "filterflag2", "int", false, 100)] public int filterflag2; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 104)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 104)] public int flag; - [DNAFieldAttribute(7, "int", "renameIndex", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 7, "renameIndex", "int", false, 108)] public int renameIndex; public bDopeSheet() { - this.ptr_source = default; + this.source = default; this.chanbase = default; - this.ptr_filter_grp = default; + this.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; + public bDopeSheet(ID source, ListBase chanbase, Collection filter_grp, char[] searchstr, int filterflag, int filterflag2, int flag, int renameIndex) { + this.source = source; this.chanbase = chanbase; - this.ptr_filter_grp = ptr_filter_grp; + this.filter_grp = filter_grp; this.searchstr = searchstr; this.filterflag = filterflag; this.filterflag2 = filterflag2; diff --git a/BlendFile/DNA/bFaceMap.cs b/BlendFile/DNA/bFaceMap.cs index 39e17b2..41d6154 100644 --- a/BlendFile/DNA/bFaceMap.cs +++ b/BlendFile/DNA/bFaceMap.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(765, "bFaceMap", 88)] public class bFaceMap { - [DNAFieldAttribute(0, "bFaceMap", "*next", "bFaceMap", 8, true, 0)] - public bFaceMap ptr_next; - [DNAFieldAttribute(1, "bFaceMap", "*prev", "bFaceMap", 8, true, 8)] - public bFaceMap ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bFaceMap", 0, "*next", "bFaceMap", true, 0)] + public bFaceMap next; + [DNAFieldAttribute(8, "bFaceMap", 1, "*prev", "bFaceMap", true, 8)] + public bFaceMap prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 80)] public char flag; - [DNAFieldAttribute(4, "char", "_pad0[7]", "System.Char[]", 7, false, 81)] + [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 81)] public char[] _pad0 = new System.Char[7]; public bFaceMap() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bFaceMap(bFaceMap next, bFaceMap prev, char[] name, char flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.name = name; this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/bFollowPathConstraint.cs b/BlendFile/DNA/bFollowPathConstraint.cs index 31066ea..06b831c 100644 --- a/BlendFile/DNA/bFollowPathConstraint.cs +++ b/BlendFile/DNA/bFollowPathConstraint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(189, "bFollowPathConstraint", 24)] public class bFollowPathConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "float", "offset", "float", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "float", 1, "offset", "float", false, 8)] public float offset; - [DNAFieldAttribute(2, "float", "offset_fac", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "offset_fac", "float", false, 12)] public float offset_fac; - [DNAFieldAttribute(3, "int", "followflag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "followflag", "int", false, 16)] public int followflag; - [DNAFieldAttribute(4, "short", "trackflag", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "trackflag", "short", false, 20)] public short trackflag; - [DNAFieldAttribute(5, "short", "upflag", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 5, "upflag", "short", false, 22)] public short upflag; public bFollowPathConstraint() { - this.ptr_tar = default; + this.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; + public bFollowPathConstraint(Object tar, float offset, float offset_fac, int followflag, short trackflag, short upflag) { + this.tar = tar; this.offset = offset; this.offset_fac = offset_fac; this.followflag = followflag; diff --git a/BlendFile/DNA/bFollowTrackConstraint.cs b/BlendFile/DNA/bFollowTrackConstraint.cs index f80d6a2..9b9d4de 100644 --- a/BlendFile/DNA/bFollowTrackConstraint.cs +++ b/BlendFile/DNA/bFollowTrackConstraint.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(201, "bFollowTrackConstraint", 160)] public class bFollowTrackConstraint { - [DNAFieldAttribute(0, "MovieClip", "*clip", "MovieClip", 8, true, 0)] - public MovieClip ptr_clip; - [DNAFieldAttribute(1, "char", "track[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(8, "MovieClip", 0, "*clip", "MovieClip", true, 0)] + public MovieClip clip; + [DNAFieldAttribute(64, "char", 1, "track[64]", "System.Char[]", false, 8)] public char[] track = new System.Char[64]; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 72)] + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 72)] public int flag; - [DNAFieldAttribute(3, "int", "frame_method", "int", 4, false, 76)] + [DNAFieldAttribute(4, "int", 3, "frame_method", "int", false, 76)] public int frame_method; - [DNAFieldAttribute(4, "char", "object[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 4, "object[64]", "System.Char[]", false, 80)] public char[] @object = new System.Char[64]; - [DNAFieldAttribute(5, "Object", "*camera", "Object", 8, true, 144)] - public Object ptr_camera; - [DNAFieldAttribute(6, "Object", "*depth_ob", "Object", 8, true, 152)] - public Object ptr_depth_ob; + [DNAFieldAttribute(8, "Object", 5, "*camera", "Object", true, 144)] + public Object camera; + [DNAFieldAttribute(8, "Object", 6, "*depth_ob", "Object", true, 152)] + public Object depth_ob; public bFollowTrackConstraint() { - this.ptr_clip = default; + this.clip = default; this.track = default; this.flag = default; this.frame_method = default; this.@object = default; - this.ptr_camera = default; - this.ptr_depth_ob = default; + this.camera = default; + this.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; + public bFollowTrackConstraint(MovieClip clip, char[] track, int flag, int frame_method, char[] @object, Object camera, Object depth_ob) { + this.clip = clip; this.track = track; this.flag = flag; this.frame_method = frame_method; this.@object = @object; - this.ptr_camera = ptr_camera; - this.ptr_depth_ob = ptr_depth_ob; + this.camera = camera; + this.depth_ob = depth_ob; } } } diff --git a/BlendFile/DNA/bGPDcontrolpoint.cs b/BlendFile/DNA/bGPDcontrolpoint.cs index a5da9c2..988d624 100644 --- a/BlendFile/DNA/bGPDcontrolpoint.cs +++ b/BlendFile/DNA/bGPDcontrolpoint.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(253, "bGPDcontrolpoint", 32)] - public struct bGPDcontrolpoint { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class bGPDcontrolpoint { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "z", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "z", "float", false, 8)] public float z; - [DNAFieldAttribute(3, "float", "color[4]", "System.Single[]", 16, false, 12)] + [DNAFieldAttribute(16, "float", 3, "color[4]", "System.Single[]", false, 12)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(4, "int", "size", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 4, "size", "int", false, 28)] public int size; public bGPDcontrolpoint() { this.x = default; diff --git a/BlendFile/DNA/bGPDcurve.cs b/BlendFile/DNA/bGPDcurve.cs index b39ed43..e1478c4 100644 --- a/BlendFile/DNA/bGPDcurve.cs +++ b/BlendFile/DNA/bGPDcurve.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(260, "bGPDcurve", 16)] public class bGPDcurve { - [DNAFieldAttribute(0, "bGPDcurve_point", "*curve_points", "bGPDcurve_point", 8, true, 0)] - public bGPDcurve_point ptr_curve_points; - [DNAFieldAttribute(1, "int", "tot_curve_points", "int", 4, false, 8)] + [DNAFieldAttribute(8, "bGPDcurve_point", 0, "*curve_points", "bGPDcurve_point", true, 0)] + public bGPDcurve_point curve_points; + [DNAFieldAttribute(4, "int", 1, "tot_curve_points", "int", false, 8)] public int tot_curve_points; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 12)] public short flag; - [DNAFieldAttribute(3, "char", "_pad[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 14)] public char[] _pad = new System.Char[2]; public bGPDcurve() { - this.ptr_curve_points = default; + this.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; + public bGPDcurve(bGPDcurve_point curve_points, int tot_curve_points, short flag, char[] _pad) { + this.curve_points = curve_points; this.tot_curve_points = tot_curve_points; this.flag = flag; this._pad = _pad; diff --git a/BlendFile/DNA/bGPDcurve_point.cs b/BlendFile/DNA/bGPDcurve_point.cs index cff944e..3f3960b 100644 --- a/BlendFile/DNA/bGPDcurve_point.cs +++ b/BlendFile/DNA/bGPDcurve_point.cs @@ -14,26 +14,26 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(259, "bGPDcurve_point", 124)] - public struct bGPDcurve_point { - [DNAFieldAttribute(0, "BezTriple", "bezt", "BezTriple", 72, false, 0)] + public class bGPDcurve_point { + [DNAFieldAttribute(72, "BezTriple", 0, "bezt", "BezTriple", false, 0)] public BezTriple bezt; - [DNAFieldAttribute(1, "float", "pressure", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 1, "pressure", "float", false, 72)] public float pressure; - [DNAFieldAttribute(2, "float", "strength", "float", 4, false, 76)] + [DNAFieldAttribute(4, "float", 2, "strength", "float", false, 76)] public float strength; - [DNAFieldAttribute(3, "int", "point_index", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 3, "point_index", "int", false, 80)] public int point_index; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 84)] public int flag; - [DNAFieldAttribute(5, "float", "uv_fac", "float", 4, false, 88)] + [DNAFieldAttribute(4, "float", 5, "uv_fac", "float", false, 88)] public float uv_fac; - [DNAFieldAttribute(6, "float", "uv_rot", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 6, "uv_rot", "float", false, 92)] public float uv_rot; - [DNAFieldAttribute(7, "float", "uv_fill[2]", "System.Single[]", 8, false, 96)] + [DNAFieldAttribute(8, "float", 7, "uv_fill[2]", "System.Single[]", false, 96)] public float[] uv_fill = new System.Single[2]; - [DNAFieldAttribute(8, "float", "vert_color[4]", "System.Single[]", 16, false, 104)] + [DNAFieldAttribute(16, "float", 8, "vert_color[4]", "System.Single[]", false, 104)] public float[] vert_color = new System.Single[4]; - [DNAFieldAttribute(9, "char", "_pad[4]", "System.Char[]", 4, false, 120)] + [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 120)] public char[] _pad = new System.Char[4]; public bGPDcurve_point() { this.bezt = default; diff --git a/BlendFile/DNA/bGPDframe.cs b/BlendFile/DNA/bGPDframe.cs index ced4389..8f68a76 100644 --- a/BlendFile/DNA/bGPDframe.cs +++ b/BlendFile/DNA/bGPDframe.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(265, "bGPDframe", 56)] public class bGPDframe { - [DNAFieldAttribute(0, "bGPDframe", "*next", "bGPDframe", 8, true, 0)] - public bGPDframe ptr_next; - [DNAFieldAttribute(1, "bGPDframe", "*prev", "bGPDframe", 8, true, 8)] - public bGPDframe ptr_prev; - [DNAFieldAttribute(2, "ListBase", "strokes", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "bGPDframe", 0, "*next", "bGPDframe", true, 0)] + public bGPDframe next; + [DNAFieldAttribute(8, "bGPDframe", 1, "*prev", "bGPDframe", true, 8)] + public bGPDframe prev; + [DNAFieldAttribute(16, "ListBase", 2, "strokes", "ListBase", false, 16)] public ListBase strokes; - [DNAFieldAttribute(3, "int", "framenum", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 3, "framenum", "int", false, 32)] public int framenum; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 36)] public short flag; - [DNAFieldAttribute(5, "short", "key_type", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 5, "key_type", "short", false, 38)] public short key_type; - [DNAFieldAttribute(6, "bGPDframe_Runtime", "runtime", "bGPDframe_Runtime", 16, false, 40)] + [DNAFieldAttribute(16, "bGPDframe_Runtime", 6, "runtime", "bGPDframe_Runtime", false, 40)] public bGPDframe_Runtime runtime; public bGPDframe() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bGPDframe(bGPDframe next, bGPDframe prev, ListBase strokes, int framenum, short flag, short key_type, bGPDframe_Runtime runtime) { + this.next = next; + this.prev = prev; this.strokes = strokes; this.framenum = framenum; this.flag = flag; diff --git a/BlendFile/DNA/bGPDframe_Runtime.cs b/BlendFile/DNA/bGPDframe_Runtime.cs index ccd4621..1de7ffd 100644 --- a/BlendFile/DNA/bGPDframe_Runtime.cs +++ b/BlendFile/DNA/bGPDframe_Runtime.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(264, "bGPDframe_Runtime", 16)] public class bGPDframe_Runtime { - [DNAFieldAttribute(0, "int", "frameid", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "frameid", "int", false, 0)] public int frameid; - [DNAFieldAttribute(1, "int", "onion_id", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "onion_id", "int", false, 4)] public int onion_id; - [DNAFieldAttribute(2, "bGPDframe", "*gpf_orig", "bGPDframe", 8, true, 8)] - public bGPDframe ptr_gpf_orig; + [DNAFieldAttribute(8, "bGPDframe", 2, "*gpf_orig", "bGPDframe", true, 8)] + public bGPDframe gpf_orig; public bGPDframe_Runtime() { this.frameid = default; this.onion_id = default; - this.ptr_gpf_orig = default; + this.gpf_orig = default; } - public bGPDframe_Runtime(int frameid, int onion_id, bGPDframe ptr_gpf_orig) { + public bGPDframe_Runtime(int frameid, int onion_id, bGPDframe gpf_orig) { this.frameid = frameid; this.onion_id = onion_id; - this.ptr_gpf_orig = ptr_gpf_orig; + this.gpf_orig = gpf_orig; } } } diff --git a/BlendFile/DNA/bGPDlayer.cs b/BlendFile/DNA/bGPDlayer.cs index 480de30..896e6aa 100644 --- a/BlendFile/DNA/bGPDlayer.cs +++ b/BlendFile/DNA/bGPDlayer.cs @@ -15,83 +15,83 @@ namespace BlendFile.DNA { [DNAClassAttribute(268, "bGPDlayer", 680)] public class bGPDlayer { - [DNAFieldAttribute(0, "bGPDlayer", "*next", "bGPDlayer", 8, true, 0)] - public bGPDlayer ptr_next; - [DNAFieldAttribute(1, "bGPDlayer", "*prev", "bGPDlayer", 8, true, 8)] - public bGPDlayer ptr_prev; - [DNAFieldAttribute(2, "ListBase", "frames", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "bGPDlayer", 0, "*next", "bGPDlayer", true, 0)] + public bGPDlayer next; + [DNAFieldAttribute(8, "bGPDlayer", 1, "*prev", "bGPDlayer", true, 8)] + public bGPDlayer prev; + [DNAFieldAttribute(16, "ListBase", 2, "frames", "ListBase", false, 16)] public ListBase frames; - [DNAFieldAttribute(3, "bGPDframe", "*actframe", "bGPDframe", 8, true, 32)] - public bGPDframe ptr_actframe; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 40)] + [DNAFieldAttribute(8, "bGPDframe", 3, "*actframe", "bGPDframe", true, 32)] + public bGPDframe actframe; + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 40)] public short flag; - [DNAFieldAttribute(5, "short", "onion_flag", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 5, "onion_flag", "short", false, 42)] public short onion_flag; - [DNAFieldAttribute(6, "float", "color[4]", "System.Single[]", 16, false, 44)] + [DNAFieldAttribute(16, "float", 6, "color[4]", "System.Single[]", false, 44)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(7, "float", "fill[4]", "System.Single[]", 16, false, 60)] + [DNAFieldAttribute(16, "float", 7, "fill[4]", "System.Single[]", false, 60)] public float[] fill = new System.Single[4]; - [DNAFieldAttribute(8, "char", "info[128]", "System.Char[]", 128, false, 76)] + [DNAFieldAttribute(128, "char", 8, "info[128]", "System.Char[]", false, 76)] public char[] info = new System.Char[128]; - [DNAFieldAttribute(9, "short", "thickness", "short", 2, false, 204)] + [DNAFieldAttribute(2, "short", 9, "thickness", "short", false, 204)] public short thickness; - [DNAFieldAttribute(10, "short", "pass_index", "short", 2, false, 206)] + [DNAFieldAttribute(2, "short", 10, "pass_index", "short", false, 206)] public short pass_index; - [DNAFieldAttribute(11, "Object", "*parent", "Object", 8, true, 208)] - public Object ptr_parent; - [DNAFieldAttribute(12, "float", "inverse[4][4]", "System.Single[,]", 64, false, 216)] + [DNAFieldAttribute(8, "Object", 11, "*parent", "Object", true, 208)] + public Object parent; + [DNAFieldAttribute(64, "float", 12, "inverse[4][4]", "System.Single[,]", false, 216)] public float[,] inverse = new System.Single[4,4]; - [DNAFieldAttribute(13, "char", "parsubstr[64]", "System.Char[]", 64, false, 280)] + [DNAFieldAttribute(64, "char", 13, "parsubstr[64]", "System.Char[]", false, 280)] public char[] parsubstr = new System.Char[64]; - [DNAFieldAttribute(14, "short", "partype", "short", 2, false, 344)] + [DNAFieldAttribute(2, "short", 14, "partype", "short", false, 344)] public short partype; - [DNAFieldAttribute(15, "short", "line_change", "short", 2, false, 346)] + [DNAFieldAttribute(2, "short", 15, "line_change", "short", false, 346)] public short line_change; - [DNAFieldAttribute(16, "float", "tintcolor[4]", "System.Single[]", 16, false, 348)] + [DNAFieldAttribute(16, "float", 16, "tintcolor[4]", "System.Single[]", false, 348)] public float[] tintcolor = new System.Single[4]; - [DNAFieldAttribute(17, "float", "opacity", "float", 4, false, 364)] + [DNAFieldAttribute(4, "float", 17, "opacity", "float", false, 364)] public float opacity; - [DNAFieldAttribute(18, "char", "viewlayername[64]", "System.Char[]", 64, false, 368)] + [DNAFieldAttribute(64, "char", 18, "viewlayername[64]", "System.Char[]", false, 368)] public char[] viewlayername = new System.Char[64]; - [DNAFieldAttribute(19, "int", "blend_mode", "int", 4, false, 432)] + [DNAFieldAttribute(4, "int", 19, "blend_mode", "int", false, 432)] public int blend_mode; - [DNAFieldAttribute(20, "float", "vertex_paint_opacity", "float", 4, false, 436)] + [DNAFieldAttribute(4, "float", 20, "vertex_paint_opacity", "float", false, 436)] public float vertex_paint_opacity; - [DNAFieldAttribute(21, "short", "gstep", "short", 2, false, 440)] + [DNAFieldAttribute(2, "short", 21, "gstep", "short", false, 440)] public short gstep; - [DNAFieldAttribute(22, "short", "gstep_next", "short", 2, false, 442)] + [DNAFieldAttribute(2, "short", 22, "gstep_next", "short", false, 442)] public short gstep_next; - [DNAFieldAttribute(23, "float", "gcolor_prev[3]", "System.Single[]", 12, false, 444)] + [DNAFieldAttribute(12, "float", 23, "gcolor_prev[3]", "System.Single[]", false, 444)] public float[] gcolor_prev = new System.Single[3]; - [DNAFieldAttribute(24, "float", "gcolor_next[3]", "System.Single[]", 12, false, 456)] + [DNAFieldAttribute(12, "float", 24, "gcolor_next[3]", "System.Single[]", false, 456)] public float[] gcolor_next = new System.Single[3]; - [DNAFieldAttribute(25, "char", "_pad1[4]", "System.Char[]", 4, false, 468)] + [DNAFieldAttribute(4, "char", 25, "_pad1[4]", "System.Char[]", false, 468)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(26, "ListBase", "mask_layers", "ListBase", 16, false, 472)] + [DNAFieldAttribute(16, "ListBase", 26, "mask_layers", "ListBase", false, 472)] public ListBase mask_layers; - [DNAFieldAttribute(27, "int", "act_mask", "int", 4, false, 488)] + [DNAFieldAttribute(4, "int", 27, "act_mask", "int", false, 488)] public int act_mask; - [DNAFieldAttribute(28, "char", "_pad2[4]", "System.Char[]", 4, false, 492)] + [DNAFieldAttribute(4, "char", 28, "_pad2[4]", "System.Char[]", false, 492)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(29, "float", "location[3]", "System.Single[]", 12, false, 496)] + [DNAFieldAttribute(12, "float", 29, "location[3]", "System.Single[]", false, 496)] public float[] location = new System.Single[3]; - [DNAFieldAttribute(30, "float", "rotation[3]", "System.Single[]", 12, false, 508)] + [DNAFieldAttribute(12, "float", 30, "rotation[3]", "System.Single[]", false, 508)] public float[] rotation = new System.Single[3]; - [DNAFieldAttribute(31, "float", "scale[3]", "System.Single[]", 12, false, 520)] + [DNAFieldAttribute(12, "float", 31, "scale[3]", "System.Single[]", false, 520)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(32, "float", "layer_mat[4][4]", "System.Single[,]", 64, false, 532)] + [DNAFieldAttribute(64, "float", 32, "layer_mat[4][4]", "System.Single[,]", false, 532)] public float[,] layer_mat = new System.Single[4,4]; - [DNAFieldAttribute(33, "float", "layer_invmat[4][4]", "System.Single[,]", 64, false, 596)] + [DNAFieldAttribute(64, "float", 33, "layer_invmat[4][4]", "System.Single[,]", false, 596)] public float[,] layer_invmat = new System.Single[4,4]; - [DNAFieldAttribute(34, "char", "_pad3[4]", "System.Char[]", 4, false, 660)] + [DNAFieldAttribute(4, "char", 34, "_pad3[4]", "System.Char[]", false, 660)] public char[] _pad3 = new System.Char[4]; - [DNAFieldAttribute(35, "bGPDlayer_Runtime", "runtime", "bGPDlayer_Runtime", 16, false, 664)] + [DNAFieldAttribute(16, "bGPDlayer_Runtime", 35, "runtime", "bGPDlayer_Runtime", false, 664)] public bGPDlayer_Runtime runtime; public bGPDlayer() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.frames = default; - this.ptr_actframe = default; + this.actframe = default; this.flag = default; this.onion_flag = default; this.color = default; @@ -99,7 +99,7 @@ namespace BlendFile.DNA { this.info = default; this.thickness = default; this.pass_index = default; - this.ptr_parent = default; + this.parent = default; this.inverse = default; this.parsubstr = default; this.partype = default; @@ -126,10 +126,10 @@ namespace BlendFile.DNA { this.runtime = default; } public bGPDlayer( - bGPDlayer ptr_next, - bGPDlayer ptr_prev, + bGPDlayer next, + bGPDlayer prev, ListBase frames, - bGPDframe ptr_actframe, + bGPDframe actframe, short flag, short onion_flag, float[] color, @@ -137,7 +137,7 @@ namespace BlendFile.DNA { char[] info, short thickness, short pass_index, - Object ptr_parent, + Object parent, float[,] inverse, char[] parsubstr, short partype, @@ -162,10 +162,10 @@ namespace BlendFile.DNA { float[,] layer_invmat, char[] _pad3, bGPDlayer_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.frames = frames; - this.ptr_actframe = ptr_actframe; + this.actframe = actframe; this.flag = flag; this.onion_flag = onion_flag; this.color = color; @@ -173,7 +173,7 @@ namespace BlendFile.DNA { this.info = info; this.thickness = thickness; this.pass_index = pass_index; - this.ptr_parent = ptr_parent; + this.parent = parent; this.inverse = inverse; this.parsubstr = parsubstr; this.partype = partype; diff --git a/BlendFile/DNA/bGPDlayer_Mask.cs b/BlendFile/DNA/bGPDlayer_Mask.cs index 1e1b48f..1ee431c 100644 --- a/BlendFile/DNA/bGPDlayer_Mask.cs +++ b/BlendFile/DNA/bGPDlayer_Mask.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(266, "bGPDlayer_Mask", 152)] public class bGPDlayer_Mask { - [DNAFieldAttribute(0, "bGPDlayer_Mask", "*next", "bGPDlayer_Mask", 8, true, 0)] - public bGPDlayer_Mask ptr_next; - [DNAFieldAttribute(1, "bGPDlayer_Mask", "*prev", "bGPDlayer_Mask", 8, true, 8)] - public bGPDlayer_Mask ptr_prev; - [DNAFieldAttribute(2, "char", "name[128]", "System.Char[]", 128, false, 16)] + [DNAFieldAttribute(8, "bGPDlayer_Mask", 0, "*next", "bGPDlayer_Mask", true, 0)] + public bGPDlayer_Mask next; + [DNAFieldAttribute(8, "bGPDlayer_Mask", 1, "*prev", "bGPDlayer_Mask", true, 8)] + public bGPDlayer_Mask prev; + [DNAFieldAttribute(128, "char", 2, "name[128]", "System.Char[]", false, 16)] public char[] name = new System.Char[128]; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 144)] + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 144)] public short flag; - [DNAFieldAttribute(4, "short", "sort_index", "short", 2, false, 146)] + [DNAFieldAttribute(2, "short", 4, "sort_index", "short", false, 146)] public short sort_index; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 148)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 148)] public char[] _pad = new System.Char[4]; public bGPDlayer_Mask() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bGPDlayer_Mask(bGPDlayer_Mask next, bGPDlayer_Mask prev, char[] name, short flag, short sort_index, char[] _pad) { + this.next = next; + this.prev = prev; this.name = name; this.flag = flag; this.sort_index = sort_index; diff --git a/BlendFile/DNA/bGPDlayer_Runtime.cs b/BlendFile/DNA/bGPDlayer_Runtime.cs index 75db928..ca3aaab 100644 --- a/BlendFile/DNA/bGPDlayer_Runtime.cs +++ b/BlendFile/DNA/bGPDlayer_Runtime.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(267, "bGPDlayer_Runtime", 16)] public class bGPDlayer_Runtime { - [DNAFieldAttribute(0, "int", "icon_id", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "icon_id", "int", false, 0)] public int icon_id; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "bGPDlayer", "*gpl_orig", "bGPDlayer", 8, true, 8)] - public bGPDlayer ptr_gpl_orig; + [DNAFieldAttribute(8, "bGPDlayer", 2, "*gpl_orig", "bGPDlayer", true, 8)] + public bGPDlayer gpl_orig; public bGPDlayer_Runtime() { this.icon_id = default; this._pad = default; - this.ptr_gpl_orig = default; + this.gpl_orig = default; } - public bGPDlayer_Runtime(int icon_id, char[] _pad, bGPDlayer ptr_gpl_orig) { + public bGPDlayer_Runtime(int icon_id, char[] _pad, bGPDlayer gpl_orig) { this.icon_id = icon_id; this._pad = _pad; - this.ptr_gpl_orig = ptr_gpl_orig; + this.gpl_orig = gpl_orig; } } } diff --git a/BlendFile/DNA/bGPDpalette.cs b/BlendFile/DNA/bGPDpalette.cs index 4a1fdf5..21d1978 100644 --- a/BlendFile/DNA/bGPDpalette.cs +++ b/BlendFile/DNA/bGPDpalette.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(258, "bGPDpalette", 104)] public class bGPDpalette { - [DNAFieldAttribute(0, "bGPDpalette", "*next", "bGPDpalette", 8, true, 0)] - public bGPDpalette ptr_next; - [DNAFieldAttribute(1, "bGPDpalette", "*prev", "bGPDpalette", 8, true, 8)] - public bGPDpalette ptr_prev; - [DNAFieldAttribute(2, "ListBase", "colors", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "bGPDpalette", 0, "*next", "bGPDpalette", true, 0)] + public bGPDpalette next; + [DNAFieldAttribute(8, "bGPDpalette", 1, "*prev", "bGPDpalette", true, 8)] + public bGPDpalette prev; + [DNAFieldAttribute(16, "ListBase", 2, "colors", "ListBase", false, 16)] public ListBase colors; - [DNAFieldAttribute(3, "char", "info[64]", "System.Char[]", 64, false, 32)] + [DNAFieldAttribute(64, "char", 3, "info[64]", "System.Char[]", false, 32)] public char[] info = new System.Char[64]; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 96)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 96)] public short flag; - [DNAFieldAttribute(5, "char", "_pad[6]", "System.Char[]", 6, false, 98)] + [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 98)] public char[] _pad = new System.Char[6]; public bGPDpalette() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bGPDpalette(bGPDpalette next, bGPDpalette prev, ListBase colors, char[] info, short flag, char[] _pad) { + this.next = next; + this.prev = prev; this.colors = colors; this.info = info; this.flag = flag; diff --git a/BlendFile/DNA/bGPDpalettecolor.cs b/BlendFile/DNA/bGPDpalettecolor.cs index a04b10a..cbb4a68 100644 --- a/BlendFile/DNA/bGPDpalettecolor.cs +++ b/BlendFile/DNA/bGPDpalettecolor.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(257, "bGPDpalettecolor", 120)] public class bGPDpalettecolor { - [DNAFieldAttribute(0, "bGPDpalettecolor", "*next", "bGPDpalettecolor", 8, true, 0)] - public bGPDpalettecolor ptr_next; - [DNAFieldAttribute(1, "bGPDpalettecolor", "*prev", "bGPDpalettecolor", 8, true, 8)] - public bGPDpalettecolor ptr_prev; - [DNAFieldAttribute(2, "char", "info[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bGPDpalettecolor", 0, "*next", "bGPDpalettecolor", true, 0)] + public bGPDpalettecolor next; + [DNAFieldAttribute(8, "bGPDpalettecolor", 1, "*prev", "bGPDpalettecolor", true, 8)] + public bGPDpalettecolor prev; + [DNAFieldAttribute(64, "char", 2, "info[64]", "System.Char[]", false, 16)] public char[] info = new System.Char[64]; - [DNAFieldAttribute(3, "float", "color[4]", "System.Single[]", 16, false, 80)] + [DNAFieldAttribute(16, "float", 3, "color[4]", "System.Single[]", false, 80)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(4, "float", "fill[4]", "System.Single[]", 16, false, 96)] + [DNAFieldAttribute(16, "float", 4, "fill[4]", "System.Single[]", false, 96)] public float[] fill = new System.Single[4]; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 112)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 112)] public short flag; - [DNAFieldAttribute(6, "char", "_pad[6]", "System.Char[]", 6, false, 114)] + [DNAFieldAttribute(6, "char", 6, "_pad[6]", "System.Char[]", false, 114)] public char[] _pad = new System.Char[6]; public bGPDpalettecolor() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bGPDpalettecolor(bGPDpalettecolor next, bGPDpalettecolor prev, char[] info, float[] color, float[] fill, short flag, char[] _pad) { + this.next = next; + this.prev = prev; this.info = info; this.color = color; this.fill = fill; diff --git a/BlendFile/DNA/bGPDspoint.cs b/BlendFile/DNA/bGPDspoint.cs index 18234f2..6551117 100644 --- a/BlendFile/DNA/bGPDspoint.cs +++ b/BlendFile/DNA/bGPDspoint.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(255, "bGPDspoint", 80)] public class bGPDspoint { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "z", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "z", "float", false, 8)] public float z; - [DNAFieldAttribute(3, "float", "pressure", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "pressure", "float", false, 12)] public float pressure; - [DNAFieldAttribute(4, "float", "strength", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "strength", "float", false, 16)] public float strength; - [DNAFieldAttribute(5, "float", "time", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "time", "float", false, 20)] public float time; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 24)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 24)] public int flag; - [DNAFieldAttribute(7, "float", "uv_fac", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 7, "uv_fac", "float", false, 28)] public float uv_fac; - [DNAFieldAttribute(8, "float", "uv_rot", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "uv_rot", "float", false, 32)] public float uv_rot; - [DNAFieldAttribute(9, "float", "uv_fill[2]", "System.Single[]", 8, false, 36)] + [DNAFieldAttribute(8, "float", 9, "uv_fill[2]", "System.Single[]", false, 36)] public float[] uv_fill = new System.Single[2]; - [DNAFieldAttribute(10, "float", "vert_color[4]", "System.Single[]", 16, false, 44)] + [DNAFieldAttribute(16, "float", 10, "vert_color[4]", "System.Single[]", false, 44)] public float[] vert_color = new System.Single[4]; - [DNAFieldAttribute(11, "char", "_pad2[4]", "System.Char[]", 4, false, 60)] + [DNAFieldAttribute(4, "char", 11, "_pad2[4]", "System.Char[]", false, 60)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(12, "bGPDspoint_Runtime", "runtime", "bGPDspoint_Runtime", 16, false, 64)] + [DNAFieldAttribute(16, "bGPDspoint_Runtime", 12, "runtime", "bGPDspoint_Runtime", false, 64)] public bGPDspoint_Runtime runtime; public bGPDspoint() { this.x = default; diff --git a/BlendFile/DNA/bGPDspoint_Runtime.cs b/BlendFile/DNA/bGPDspoint_Runtime.cs index 2e1a2ff..7007447 100644 --- a/BlendFile/DNA/bGPDspoint_Runtime.cs +++ b/BlendFile/DNA/bGPDspoint_Runtime.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(254, "bGPDspoint_Runtime", 16)] public class bGPDspoint_Runtime { - [DNAFieldAttribute(0, "bGPDspoint", "*pt_orig", "bGPDspoint", 8, true, 0)] - public bGPDspoint ptr_pt_orig; - [DNAFieldAttribute(1, "int", "idx_orig", "int", 4, false, 8)] + [DNAFieldAttribute(8, "bGPDspoint", 0, "*pt_orig", "bGPDspoint", true, 0)] + public bGPDspoint pt_orig; + [DNAFieldAttribute(4, "int", 1, "idx_orig", "int", false, 8)] public int idx_orig; - [DNAFieldAttribute(2, "char", "_pad0[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad0[4]", "System.Char[]", false, 12)] public char[] _pad0 = new System.Char[4]; public bGPDspoint_Runtime() { - this.ptr_pt_orig = default; + this.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; + public bGPDspoint_Runtime(bGPDspoint pt_orig, int idx_orig, char[] _pad0) { + this.pt_orig = pt_orig; this.idx_orig = idx_orig; this._pad0 = _pad0; } diff --git a/BlendFile/DNA/bGPDstroke.cs b/BlendFile/DNA/bGPDstroke.cs index 39f3c88..a73c139 100644 --- a/BlendFile/DNA/bGPDstroke.cs +++ b/BlendFile/DNA/bGPDstroke.cs @@ -15,69 +15,69 @@ namespace BlendFile.DNA { [DNAClassAttribute(262, "bGPDstroke", 472)] public class bGPDstroke { - [DNAFieldAttribute(0, "bGPDstroke", "*next", "bGPDstroke", 8, true, 0)] - public bGPDstroke ptr_next; - [DNAFieldAttribute(1, "bGPDstroke", "*prev", "bGPDstroke", 8, true, 8)] - public bGPDstroke ptr_prev; - [DNAFieldAttribute(2, "bGPDspoint", "*points", "bGPDspoint", 8, true, 16)] - public bGPDspoint ptr_points; - [DNAFieldAttribute(3, "bGPDtriangle", "*triangles", "bGPDtriangle", 8, true, 24)] - public bGPDtriangle ptr_triangles; - [DNAFieldAttribute(4, "int", "totpoints", "int", 4, false, 32)] + [DNAFieldAttribute(8, "bGPDstroke", 0, "*next", "bGPDstroke", true, 0)] + public bGPDstroke next; + [DNAFieldAttribute(8, "bGPDstroke", 1, "*prev", "bGPDstroke", true, 8)] + public bGPDstroke prev; + [DNAFieldAttribute(8, "bGPDspoint", 2, "*points", "bGPDspoint", true, 16)] + public bGPDspoint points; + [DNAFieldAttribute(8, "bGPDtriangle", 3, "*triangles", "bGPDtriangle", true, 24)] + public bGPDtriangle triangles; + [DNAFieldAttribute(4, "int", 4, "totpoints", "int", false, 32)] public int totpoints; - [DNAFieldAttribute(5, "int", "tot_triangles", "int", 4, false, 36)] + [DNAFieldAttribute(4, "int", 5, "tot_triangles", "int", false, 36)] public int tot_triangles; - [DNAFieldAttribute(6, "short", "thickness", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 6, "thickness", "short", false, 40)] public short thickness; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 42)] public short flag; - [DNAFieldAttribute(8, "short", "_pad[2]", "System.Int16[]", 4, false, 44)] + [DNAFieldAttribute(4, "short", 8, "_pad[2]", "System.Int16[]", false, 44)] public short[] _pad = new System.Int16[2]; - [DNAFieldAttribute(9, "double", "inittime", "double", 8, false, 48)] + [DNAFieldAttribute(8, "double", 9, "inittime", "double", false, 48)] public double inittime; - [DNAFieldAttribute(10, "char", "colorname[128]", "System.Char[]", 128, false, 56)] + [DNAFieldAttribute(128, "char", 10, "colorname[128]", "System.Char[]", false, 56)] public char[] colorname = new System.Char[128]; - [DNAFieldAttribute(11, "int", "mat_nr", "int", 4, false, 184)] + [DNAFieldAttribute(4, "int", 11, "mat_nr", "int", false, 184)] public int mat_nr; - [DNAFieldAttribute(12, "short", "caps[2]", "System.Int16[]", 4, false, 188)] + [DNAFieldAttribute(4, "short", 12, "caps[2]", "System.Int16[]", false, 188)] public short[] caps = new System.Int16[2]; - [DNAFieldAttribute(13, "float", "gradient_f", "float", 4, false, 192)] + [DNAFieldAttribute(4, "float", 13, "gradient_f", "float", false, 192)] public float gradient_f; - [DNAFieldAttribute(14, "float", "gradient_s[2]", "System.Single[]", 8, false, 196)] + [DNAFieldAttribute(8, "float", 14, "gradient_s[2]", "System.Single[]", false, 196)] public float[] gradient_s = new System.Single[2]; - [DNAFieldAttribute(15, "float", "fill_opacity_fac", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 15, "fill_opacity_fac", "float", false, 204)] public float fill_opacity_fac; - [DNAFieldAttribute(16, "float", "boundbox_min[3]", "System.Single[]", 12, false, 208)] + [DNAFieldAttribute(12, "float", 16, "boundbox_min[3]", "System.Single[]", false, 208)] public float[] boundbox_min = new System.Single[3]; - [DNAFieldAttribute(17, "float", "boundbox_max[3]", "System.Single[]", 12, false, 220)] + [DNAFieldAttribute(12, "float", 17, "boundbox_max[3]", "System.Single[]", false, 220)] public float[] boundbox_max = new System.Single[3]; - [DNAFieldAttribute(18, "float", "uv_rotation", "float", 4, false, 232)] + [DNAFieldAttribute(4, "float", 18, "uv_rotation", "float", false, 232)] public float uv_rotation; - [DNAFieldAttribute(19, "float", "uv_translation[2]", "System.Single[]", 8, false, 236)] + [DNAFieldAttribute(8, "float", 19, "uv_translation[2]", "System.Single[]", false, 236)] public float[] uv_translation = new System.Single[2]; - [DNAFieldAttribute(20, "float", "uv_scale", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 20, "uv_scale", "float", false, 244)] public float uv_scale; - [DNAFieldAttribute(21, "int", "select_index", "int", 4, false, 248)] + [DNAFieldAttribute(4, "int", 21, "select_index", "int", false, 248)] public int select_index; - [DNAFieldAttribute(22, "char", "_pad4[4]", "System.Char[]", 4, false, 252)] + [DNAFieldAttribute(4, "char", 22, "_pad4[4]", "System.Char[]", false, 252)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(23, "MDeformVert", "*dvert", "MDeformVert", 8, true, 256)] - public MDeformVert ptr_dvert; - [DNAFieldAttribute(24, "void", "*_pad3", "void", 8, true, 264)] - public object ptr__pad3; - [DNAFieldAttribute(25, "float", "vert_color_fill[4]", "System.Single[]", 16, false, 272)] + [DNAFieldAttribute(8, "MDeformVert", 23, "*dvert", "MDeformVert", true, 256)] + public MDeformVert dvert; + [DNAFieldAttribute(8, "void", 24, "*_pad3", "void", true, 264)] + public object _pad3; + [DNAFieldAttribute(16, "float", 25, "vert_color_fill[4]", "System.Single[]", false, 272)] public float[] vert_color_fill = new System.Single[4]; - [DNAFieldAttribute(26, "bGPDcurve", "*editcurve", "bGPDcurve", 8, true, 288)] - public bGPDcurve ptr_editcurve; - [DNAFieldAttribute(27, "bGPDstroke_Runtime", "runtime", "bGPDstroke_Runtime", 168, false, 296)] + [DNAFieldAttribute(8, "bGPDcurve", 26, "*editcurve", "bGPDcurve", true, 288)] + public bGPDcurve editcurve; + [DNAFieldAttribute(168, "bGPDstroke_Runtime", 27, "runtime", "bGPDstroke_Runtime", false, 296)] public bGPDstroke_Runtime runtime; - [DNAFieldAttribute(28, "void", "*_pad5", "void", 8, true, 464)] - public object ptr__pad5; + [DNAFieldAttribute(8, "void", 28, "*_pad5", "void", true, 464)] + public object _pad5; public bGPDstroke() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_points = default; - this.ptr_triangles = default; + this.next = default; + this.prev = default; + this.points = default; + this.triangles = default; this.totpoints = default; this.tot_triangles = default; this.thickness = default; @@ -97,18 +97,18 @@ namespace BlendFile.DNA { this.uv_scale = default; this.select_index = default; this._pad4 = default; - this.ptr_dvert = default; - this.ptr__pad3 = default; + this.dvert = default; + this._pad3 = default; this.vert_color_fill = default; - this.ptr_editcurve = default; + this.editcurve = default; this.runtime = default; - this.ptr__pad5 = default; + this._pad5 = default; } public bGPDstroke( - bGPDstroke ptr_next, - bGPDstroke ptr_prev, - bGPDspoint ptr_points, - bGPDtriangle ptr_triangles, + bGPDstroke next, + bGPDstroke prev, + bGPDspoint points, + bGPDtriangle triangles, int totpoints, int tot_triangles, short thickness, @@ -128,16 +128,16 @@ namespace BlendFile.DNA { float uv_scale, int select_index, char[] _pad4, - MDeformVert ptr_dvert, - object ptr__pad3, + MDeformVert dvert, + object _pad3, float[] vert_color_fill, - bGPDcurve ptr_editcurve, + bGPDcurve editcurve, bGPDstroke_Runtime runtime, - object ptr__pad5) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_points = ptr_points; - this.ptr_triangles = ptr_triangles; + object _pad5) { + this.next = next; + this.prev = prev; + this.points = points; + this.triangles = triangles; this.totpoints = totpoints; this.tot_triangles = tot_triangles; this.thickness = thickness; @@ -157,12 +157,12 @@ namespace BlendFile.DNA { this.uv_scale = uv_scale; this.select_index = select_index; this._pad4 = _pad4; - this.ptr_dvert = ptr_dvert; - this.ptr__pad3 = ptr__pad3; + this.dvert = dvert; + this._pad3 = _pad3; this.vert_color_fill = vert_color_fill; - this.ptr_editcurve = ptr_editcurve; + this.editcurve = editcurve; this.runtime = runtime; - this.ptr__pad5 = ptr__pad5; + this._pad5 = _pad5; } } } diff --git a/BlendFile/DNA/bGPDstroke_Runtime.cs b/BlendFile/DNA/bGPDstroke_Runtime.cs index 66db4db..a770bd0 100644 --- a/BlendFile/DNA/bGPDstroke_Runtime.cs +++ b/BlendFile/DNA/bGPDstroke_Runtime.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(261, "bGPDstroke_Runtime", 168)] public class bGPDstroke_Runtime { - [DNAFieldAttribute(0, "char", "tmp_layerinfo[128]", "System.Char[]", 128, false, 0)] + [DNAFieldAttribute(128, "char", 0, "tmp_layerinfo[128]", "System.Char[]", false, 0)] public char[] tmp_layerinfo = new System.Char[128]; - [DNAFieldAttribute(1, "float", "multi_frame_falloff", "float", 4, false, 128)] + [DNAFieldAttribute(4, "float", 1, "multi_frame_falloff", "float", false, 128)] public float multi_frame_falloff; - [DNAFieldAttribute(2, "int", "stroke_start", "int", 4, false, 132)] + [DNAFieldAttribute(4, "int", 2, "stroke_start", "int", false, 132)] public int stroke_start; - [DNAFieldAttribute(3, "int", "fill_start", "int", 4, false, 136)] + [DNAFieldAttribute(4, "int", 3, "fill_start", "int", false, 136)] public int fill_start; - [DNAFieldAttribute(4, "int", "vertex_start", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 4, "vertex_start", "int", false, 140)] public int vertex_start; - [DNAFieldAttribute(5, "int", "curve_start", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 5, "curve_start", "int", false, 144)] public int curve_start; - [DNAFieldAttribute(6, "int", "_pad0", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 6, "_pad0", "int", false, 148)] public int _pad0; - [DNAFieldAttribute(7, "bGPDstroke", "*gps_orig", "bGPDstroke", 8, true, 152)] - public bGPDstroke ptr_gps_orig; - [DNAFieldAttribute(8, "void", "*_pad2", "void", 8, true, 160)] - public object ptr__pad2; + [DNAFieldAttribute(8, "bGPDstroke", 7, "*gps_orig", "bGPDstroke", true, 152)] + public bGPDstroke gps_orig; + [DNAFieldAttribute(8, "void", 8, "*_pad2", "void", true, 160)] + public object _pad2; public bGPDstroke_Runtime() { this.tmp_layerinfo = default; this.multi_frame_falloff = default; @@ -41,10 +41,10 @@ namespace BlendFile.DNA { this.vertex_start = default; this.curve_start = default; this._pad0 = default; - this.ptr_gps_orig = default; - this.ptr__pad2 = default; + this.gps_orig = default; + this._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) { + 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 gps_orig, object _pad2) { this.tmp_layerinfo = tmp_layerinfo; this.multi_frame_falloff = multi_frame_falloff; this.stroke_start = stroke_start; @@ -52,8 +52,8 @@ namespace BlendFile.DNA { this.vertex_start = vertex_start; this.curve_start = curve_start; this._pad0 = _pad0; - this.ptr_gps_orig = ptr_gps_orig; - this.ptr__pad2 = ptr__pad2; + this.gps_orig = gps_orig; + this._pad2 = _pad2; } } } diff --git a/BlendFile/DNA/bGPDtriangle.cs b/BlendFile/DNA/bGPDtriangle.cs index 19a256c..a92c1db 100644 --- a/BlendFile/DNA/bGPDtriangle.cs +++ b/BlendFile/DNA/bGPDtriangle.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(256, "bGPDtriangle", 12)] - public struct bGPDtriangle { - [DNAFieldAttribute(0, "int", "verts[3]", "System.Int32[]", 12, false, 0)] + public class bGPDtriangle { + [DNAFieldAttribute(12, "int", 0, "verts[3]", "System.Int32[]", false, 0)] public int[] verts = new System.Int32[3]; public bGPDtriangle() { this.verts = default; diff --git a/BlendFile/DNA/bGPdata.cs b/BlendFile/DNA/bGPdata.cs index 684447d..dde5e2c 100644 --- a/BlendFile/DNA/bGPdata.cs +++ b/BlendFile/DNA/bGPdata.cs @@ -15,73 +15,73 @@ namespace BlendFile.DNA { [DNAClassAttribute(274, "bGPdata", 616)] public class bGPdata { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "ListBase", "layers", "ListBase", 16, false, 216)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(16, "ListBase", 2, "layers", "ListBase", false, 216)] public ListBase layers; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 232)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 232)] public int flag; - [DNAFieldAttribute(4, "int", "curve_edit_resolution", "int", 4, false, 236)] + [DNAFieldAttribute(4, "int", 4, "curve_edit_resolution", "int", false, 236)] public int curve_edit_resolution; - [DNAFieldAttribute(5, "float", "curve_edit_threshold", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 5, "curve_edit_threshold", "float", false, 240)] public float curve_edit_threshold; - [DNAFieldAttribute(6, "float", "curve_edit_corner_angle", "float", 4, false, 244)] + [DNAFieldAttribute(4, "float", 6, "curve_edit_corner_angle", "float", false, 244)] public float curve_edit_corner_angle; - [DNAFieldAttribute(7, "ListBase", "palettes", "ListBase", 16, false, 248)] + [DNAFieldAttribute(16, "ListBase", 7, "palettes", "ListBase", false, 248)] public ListBase palettes; - [DNAFieldAttribute(8, "ListBase", "vertex_group_names", "ListBase", 16, false, 264)] + [DNAFieldAttribute(16, "ListBase", 8, "vertex_group_names", "ListBase", false, 264)] public ListBase vertex_group_names; - [DNAFieldAttribute(9, "float", "pixfactor", "float", 4, false, 280)] + [DNAFieldAttribute(4, "float", 9, "pixfactor", "float", false, 280)] public float pixfactor; - [DNAFieldAttribute(10, "float", "line_color[4]", "System.Single[]", 16, false, 284)] + [DNAFieldAttribute(16, "float", 10, "line_color[4]", "System.Single[]", false, 284)] public float[] line_color = new System.Single[4]; - [DNAFieldAttribute(11, "float", "onion_factor", "float", 4, false, 300)] + [DNAFieldAttribute(4, "float", 11, "onion_factor", "float", false, 300)] public float onion_factor; - [DNAFieldAttribute(12, "int", "onion_mode", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 12, "onion_mode", "int", false, 304)] public int onion_mode; - [DNAFieldAttribute(13, "int", "onion_flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 13, "onion_flag", "int", false, 308)] public int onion_flag; - [DNAFieldAttribute(14, "short", "gstep", "short", 2, false, 312)] + [DNAFieldAttribute(2, "short", 14, "gstep", "short", false, 312)] public short gstep; - [DNAFieldAttribute(15, "short", "gstep_next", "short", 2, false, 314)] + [DNAFieldAttribute(2, "short", 15, "gstep_next", "short", false, 314)] public short gstep_next; - [DNAFieldAttribute(16, "float", "gcolor_prev[3]", "System.Single[]", 12, false, 316)] + [DNAFieldAttribute(12, "float", 16, "gcolor_prev[3]", "System.Single[]", false, 316)] public float[] gcolor_prev = new System.Single[3]; - [DNAFieldAttribute(17, "float", "gcolor_next[3]", "System.Single[]", 12, false, 328)] + [DNAFieldAttribute(12, "float", 17, "gcolor_next[3]", "System.Single[]", false, 328)] public float[] gcolor_next = new System.Single[3]; - [DNAFieldAttribute(18, "float", "zdepth_offset", "float", 4, false, 340)] + [DNAFieldAttribute(4, "float", 18, "zdepth_offset", "float", false, 340)] public float zdepth_offset; - [DNAFieldAttribute(19, "Material", "**mat", "Material", 8, true, 344)] - public Material ptr_ptr_mat; - [DNAFieldAttribute(20, "short", "totcol", "short", 2, false, 352)] + [DNAFieldAttribute(8, "Material", 19, "**mat", "Material", true, 344)] + public Material mat; + [DNAFieldAttribute(2, "short", 20, "totcol", "short", false, 352)] public short totcol; - [DNAFieldAttribute(21, "short", "totlayer", "short", 2, false, 354)] + [DNAFieldAttribute(2, "short", 21, "totlayer", "short", false, 354)] public short totlayer; - [DNAFieldAttribute(22, "short", "totframe", "short", 2, false, 356)] + [DNAFieldAttribute(2, "short", 22, "totframe", "short", false, 356)] public short totframe; - [DNAFieldAttribute(23, "char", "_pad2[6]", "System.Char[]", 6, false, 358)] + [DNAFieldAttribute(6, "char", 23, "_pad2[6]", "System.Char[]", false, 358)] public char[] _pad2 = new System.Char[6]; - [DNAFieldAttribute(24, "int", "totstroke", "int", 4, false, 364)] + [DNAFieldAttribute(4, "int", 24, "totstroke", "int", false, 364)] public int totstroke; - [DNAFieldAttribute(25, "int", "totpoint", "int", 4, false, 368)] + [DNAFieldAttribute(4, "int", 25, "totpoint", "int", false, 368)] public int totpoint; - [DNAFieldAttribute(26, "short", "draw_mode", "short", 2, false, 372)] + [DNAFieldAttribute(2, "short", 26, "draw_mode", "short", false, 372)] public short draw_mode; - [DNAFieldAttribute(27, "short", "onion_keytype", "short", 2, false, 374)] + [DNAFieldAttribute(2, "short", 27, "onion_keytype", "short", false, 374)] public short onion_keytype; - [DNAFieldAttribute(28, "int", "select_last_index", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 28, "select_last_index", "int", false, 376)] public int select_last_index; - [DNAFieldAttribute(29, "int", "vertex_group_active_index", "int", 4, false, 380)] + [DNAFieldAttribute(4, "int", 29, "vertex_group_active_index", "int", false, 380)] public int vertex_group_active_index; - [DNAFieldAttribute(30, "bGPgrid", "grid", "bGPgrid", 40, false, 384)] + [DNAFieldAttribute(40, "bGPgrid", 30, "grid", "bGPgrid", false, 384)] public bGPgrid grid; - [DNAFieldAttribute(31, "bGPdata_Runtime", "runtime", "bGPdata_Runtime", 192, false, 424)] + [DNAFieldAttribute(192, "bGPdata_Runtime", 31, "runtime", "bGPdata_Runtime", false, 424)] public bGPdata_Runtime runtime; public bGPdata() { this.id = default; - this.ptr_adt = default; + this.adt = default; this.layers = default; this.flag = default; this.curve_edit_resolution = default; @@ -99,7 +99,7 @@ namespace BlendFile.DNA { this.gcolor_prev = default; this.gcolor_next = default; this.zdepth_offset = default; - this.ptr_ptr_mat = default; + this.mat = default; this.totcol = default; this.totlayer = default; this.totframe = default; @@ -115,7 +115,7 @@ namespace BlendFile.DNA { } public bGPdata( ID id, - AnimData ptr_adt, + AnimData adt, ListBase layers, int flag, int curve_edit_resolution, @@ -133,7 +133,7 @@ namespace BlendFile.DNA { float[] gcolor_prev, float[] gcolor_next, float zdepth_offset, - Material ptr_ptr_mat, + Material mat, short totcol, short totlayer, short totframe, @@ -147,7 +147,7 @@ namespace BlendFile.DNA { bGPgrid grid, bGPdata_Runtime runtime) { this.id = id; - this.ptr_adt = ptr_adt; + this.adt = adt; this.layers = layers; this.flag = flag; this.curve_edit_resolution = curve_edit_resolution; @@ -165,7 +165,7 @@ namespace BlendFile.DNA { this.gcolor_prev = gcolor_prev; this.gcolor_next = gcolor_next; this.zdepth_offset = zdepth_offset; - this.ptr_ptr_mat = ptr_ptr_mat; + this.mat = mat; this.totcol = totcol; this.totlayer = totlayer; this.totframe = totframe; diff --git a/BlendFile/DNA/bGPdata_Runtime.cs b/BlendFile/DNA/bGPdata_Runtime.cs index 9664a0f..964988e 100644 --- a/BlendFile/DNA/bGPdata_Runtime.cs +++ b/BlendFile/DNA/bGPdata_Runtime.cs @@ -15,58 +15,58 @@ namespace BlendFile.DNA { [DNAClassAttribute(269, "bGPdata_Runtime", 192)] public class bGPdata_Runtime { - [DNAFieldAttribute(0, "void", "*sbuffer", "void", 8, true, 0)] - public object ptr_sbuffer; - [DNAFieldAttribute(1, "GPUVertBufHandle", "*sbuffer_position_buf", "GPUVertBufHandle", 8, true, 8)] - public GPUVertBufHandle ptr_sbuffer_position_buf; - [DNAFieldAttribute(2, "GPUVertBufHandle", "*sbuffer_color_buf", "GPUVertBufHandle", 8, true, 16)] - public GPUVertBufHandle ptr_sbuffer_color_buf; - [DNAFieldAttribute(3, "GPUBatchHandle", "*sbuffer_batch", "GPUBatchHandle", 8, true, 24)] - public GPUBatchHandle ptr_sbuffer_batch; - [DNAFieldAttribute(4, "bGPDstroke", "*sbuffer_gps", "bGPDstroke", 8, true, 32)] - public bGPDstroke ptr_sbuffer_gps; - [DNAFieldAttribute(5, "short", "playing", "short", 2, false, 40)] + [DNAFieldAttribute(8, "void", 0, "*sbuffer", "void", true, 0)] + public object sbuffer; + [DNAFieldAttribute(8, "GPUVertBufHandle", 1, "*sbuffer_position_buf", "GPUVertBufHandle", true, 8)] + public GPUVertBufHandle sbuffer_position_buf; + [DNAFieldAttribute(8, "GPUVertBufHandle", 2, "*sbuffer_color_buf", "GPUVertBufHandle", true, 16)] + public GPUVertBufHandle sbuffer_color_buf; + [DNAFieldAttribute(8, "GPUBatchHandle", 3, "*sbuffer_batch", "GPUBatchHandle", true, 24)] + public GPUBatchHandle sbuffer_batch; + [DNAFieldAttribute(8, "bGPDstroke", 4, "*sbuffer_gps", "bGPDstroke", true, 32)] + public bGPDstroke sbuffer_gps; + [DNAFieldAttribute(2, "short", 5, "playing", "short", false, 40)] public short playing; - [DNAFieldAttribute(6, "short", "matid", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 6, "matid", "short", false, 42)] public short matid; - [DNAFieldAttribute(7, "short", "sbuffer_sflag", "short", 2, false, 44)] + [DNAFieldAttribute(2, "short", 7, "sbuffer_sflag", "short", false, 44)] public short sbuffer_sflag; - [DNAFieldAttribute(8, "char", "_pad1[2]", "System.Char[]", 2, false, 46)] + [DNAFieldAttribute(2, "char", 8, "_pad1[2]", "System.Char[]", false, 46)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(9, "int", "sbuffer_used", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 9, "sbuffer_used", "int", false, 48)] public int sbuffer_used; - [DNAFieldAttribute(10, "int", "sbuffer_size", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 10, "sbuffer_size", "int", false, 52)] public int sbuffer_size; - [DNAFieldAttribute(11, "float", "vert_color_fill[4]", "System.Single[]", 16, false, 56)] + [DNAFieldAttribute(16, "float", 11, "vert_color_fill[4]", "System.Single[]", false, 56)] public float[] vert_color_fill = new System.Single[4]; - [DNAFieldAttribute(12, "float", "fill_opacity_fac", "float", 4, false, 72)] + [DNAFieldAttribute(4, "float", 12, "fill_opacity_fac", "float", false, 72)] public float fill_opacity_fac; - [DNAFieldAttribute(13, "float", "arrow_start[8]", "System.Single[]", 32, false, 76)] + [DNAFieldAttribute(32, "float", 13, "arrow_start[8]", "System.Single[]", false, 76)] public float[] arrow_start = new System.Single[8]; - [DNAFieldAttribute(14, "float", "arrow_end[8]", "System.Single[]", 32, false, 108)] + [DNAFieldAttribute(32, "float", 14, "arrow_end[8]", "System.Single[]", false, 108)] public float[] arrow_end = new System.Single[8]; - [DNAFieldAttribute(15, "int", "arrow_start_style", "int", 4, false, 140)] + [DNAFieldAttribute(4, "int", 15, "arrow_start_style", "int", false, 140)] public int arrow_start_style; - [DNAFieldAttribute(16, "int", "arrow_end_style", "int", 4, false, 144)] + [DNAFieldAttribute(4, "int", 16, "arrow_end_style", "int", false, 144)] public int arrow_end_style; - [DNAFieldAttribute(17, "int", "tot_cp_points", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 17, "tot_cp_points", "int", false, 148)] public int tot_cp_points; - [DNAFieldAttribute(18, "bGPDcontrolpoint", "*cp_points", "bGPDcontrolpoint", 8, true, 152)] - public bGPDcontrolpoint ptr_cp_points; - [DNAFieldAttribute(19, "Brush", "*sbuffer_brush", "Brush", 8, true, 160)] - public Brush ptr_sbuffer_brush; - [DNAFieldAttribute(20, "GpencilBatchCache", "*gpencil_cache", "GpencilBatchCache", 8, true, 168)] - public GpencilBatchCache ptr_gpencil_cache; - [DNAFieldAttribute(21, "LineartCache", "*lineart_cache", "LineartCache", 8, true, 176)] - public LineartCache ptr_lineart_cache; - [DNAFieldAttribute(22, "GPencilUpdateCache", "*update_cache", "GPencilUpdateCache", 8, true, 184)] - public GPencilUpdateCache ptr_update_cache; + [DNAFieldAttribute(8, "bGPDcontrolpoint", 18, "*cp_points", "bGPDcontrolpoint", true, 152)] + public bGPDcontrolpoint cp_points; + [DNAFieldAttribute(8, "Brush", 19, "*sbuffer_brush", "Brush", true, 160)] + public Brush sbuffer_brush; + [DNAFieldAttribute(8, "GpencilBatchCache", 20, "*gpencil_cache", "GpencilBatchCache", true, 168)] + public GpencilBatchCache gpencil_cache; + [DNAFieldAttribute(8, "LineartCache", 21, "*lineart_cache", "LineartCache", true, 176)] + public LineartCache lineart_cache; + [DNAFieldAttribute(8, "GPencilUpdateCache", 22, "*update_cache", "GPencilUpdateCache", true, 184)] + public GPencilUpdateCache 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.sbuffer = default; + this.sbuffer_position_buf = default; + this.sbuffer_color_buf = default; + this.sbuffer_batch = default; + this.sbuffer_gps = default; this.playing = default; this.matid = default; this.sbuffer_sflag = default; @@ -80,18 +80,18 @@ namespace BlendFile.DNA { 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; + this.cp_points = default; + this.sbuffer_brush = default; + this.gpencil_cache = default; + this.lineart_cache = default; + this.update_cache = default; } public bGPdata_Runtime( - object ptr_sbuffer, - GPUVertBufHandle ptr_sbuffer_position_buf, - GPUVertBufHandle ptr_sbuffer_color_buf, - GPUBatchHandle ptr_sbuffer_batch, - bGPDstroke ptr_sbuffer_gps, + object sbuffer, + GPUVertBufHandle sbuffer_position_buf, + GPUVertBufHandle sbuffer_color_buf, + GPUBatchHandle sbuffer_batch, + bGPDstroke sbuffer_gps, short playing, short matid, short sbuffer_sflag, @@ -105,16 +105,16 @@ namespace BlendFile.DNA { int arrow_start_style, int arrow_end_style, int tot_cp_points, - bGPDcontrolpoint ptr_cp_points, - Brush ptr_sbuffer_brush, - GpencilBatchCache ptr_gpencil_cache, - LineartCache ptr_lineart_cache, - GPencilUpdateCache ptr_update_cache) { - this.ptr_sbuffer = ptr_sbuffer; - this.ptr_sbuffer_position_buf = ptr_sbuffer_position_buf; - this.ptr_sbuffer_color_buf = ptr_sbuffer_color_buf; - this.ptr_sbuffer_batch = ptr_sbuffer_batch; - this.ptr_sbuffer_gps = ptr_sbuffer_gps; + bGPDcontrolpoint cp_points, + Brush sbuffer_brush, + GpencilBatchCache gpencil_cache, + LineartCache lineart_cache, + GPencilUpdateCache update_cache) { + this.sbuffer = sbuffer; + this.sbuffer_position_buf = sbuffer_position_buf; + this.sbuffer_color_buf = sbuffer_color_buf; + this.sbuffer_batch = sbuffer_batch; + this.sbuffer_gps = sbuffer_gps; this.playing = playing; this.matid = matid; this.sbuffer_sflag = sbuffer_sflag; @@ -128,11 +128,11 @@ namespace BlendFile.DNA { this.arrow_start_style = arrow_start_style; this.arrow_end_style = arrow_end_style; this.tot_cp_points = tot_cp_points; - this.ptr_cp_points = ptr_cp_points; - this.ptr_sbuffer_brush = ptr_sbuffer_brush; - this.ptr_gpencil_cache = ptr_gpencil_cache; - this.ptr_lineart_cache = ptr_lineart_cache; - this.ptr_update_cache = ptr_update_cache; + this.cp_points = cp_points; + this.sbuffer_brush = sbuffer_brush; + this.gpencil_cache = gpencil_cache; + this.lineart_cache = lineart_cache; + this.update_cache = update_cache; } } } diff --git a/BlendFile/DNA/bGPgrid.cs b/BlendFile/DNA/bGPgrid.cs index 21bf2f7..3db7950 100644 --- a/BlendFile/DNA/bGPgrid.cs +++ b/BlendFile/DNA/bGPgrid.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(273, "bGPgrid", 40)] - public struct bGPgrid { - [DNAFieldAttribute(0, "float", "color[3]", "System.Single[]", 12, false, 0)] + public class bGPgrid { + [DNAFieldAttribute(12, "float", 0, "color[3]", "System.Single[]", false, 0)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(1, "float", "scale[2]", "System.Single[]", 8, false, 12)] + [DNAFieldAttribute(8, "float", 1, "scale[2]", "System.Single[]", false, 12)] public float[] scale = new System.Single[2]; - [DNAFieldAttribute(2, "float", "offset[2]", "System.Single[]", 8, false, 20)] + [DNAFieldAttribute(8, "float", 2, "offset[2]", "System.Single[]", false, 20)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(3, "char", "_pad1[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", false, 28)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(4, "int", "lines", "int", 4, false, 32)] + [DNAFieldAttribute(4, "int", 4, "lines", "int", false, 32)] public int lines; - [DNAFieldAttribute(5, "char", "_pad[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 36)] public char[] _pad = new System.Char[4]; public bGPgrid() { this.color = default; diff --git a/BlendFile/DNA/bIKParam.cs b/BlendFile/DNA/bIKParam.cs index 49afad4..5b8b396 100644 --- a/BlendFile/DNA/bIKParam.cs +++ b/BlendFile/DNA/bIKParam.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(60, "bIKParam", 4)] - public struct bIKParam { - [DNAFieldAttribute(0, "int", "iksolver", "int", 4, false, 0)] + public class bIKParam { + [DNAFieldAttribute(4, "int", 0, "iksolver", "int", false, 0)] public int iksolver; public bIKParam() { this.iksolver = default; diff --git a/BlendFile/DNA/bItasc.cs b/BlendFile/DNA/bItasc.cs index 0d34c64..e28fb07 100644 --- a/BlendFile/DNA/bItasc.cs +++ b/BlendFile/DNA/bItasc.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(61, "bItasc", 40)] - public struct bItasc { - [DNAFieldAttribute(0, "int", "iksolver", "int", 4, false, 0)] + public class bItasc { + [DNAFieldAttribute(4, "int", 0, "iksolver", "int", false, 0)] public int iksolver; - [DNAFieldAttribute(1, "float", "precision", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "precision", "float", false, 4)] public float precision; - [DNAFieldAttribute(2, "short", "numiter", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 2, "numiter", "short", false, 8)] public short numiter; - [DNAFieldAttribute(3, "short", "numstep", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 3, "numstep", "short", false, 10)] public short numstep; - [DNAFieldAttribute(4, "float", "minstep", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 4, "minstep", "float", false, 12)] public float minstep; - [DNAFieldAttribute(5, "float", "maxstep", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 5, "maxstep", "float", false, 16)] public float maxstep; - [DNAFieldAttribute(6, "short", "solver", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 6, "solver", "short", false, 20)] public short solver; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 22)] public short flag; - [DNAFieldAttribute(8, "float", "feedback", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 8, "feedback", "float", false, 24)] public float feedback; - [DNAFieldAttribute(9, "float", "maxvel", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 9, "maxvel", "float", false, 28)] public float maxvel; - [DNAFieldAttribute(10, "float", "dampmax", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 10, "dampmax", "float", false, 32)] public float dampmax; - [DNAFieldAttribute(11, "float", "dampeps", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 11, "dampeps", "float", false, 36)] public float dampeps; public bItasc() { this.iksolver = default; diff --git a/BlendFile/DNA/bKinematicConstraint.cs b/BlendFile/DNA/bKinematicConstraint.cs index 3f4a72e..e1a8ea6 100644 --- a/BlendFile/DNA/bKinematicConstraint.cs +++ b/BlendFile/DNA/bKinematicConstraint.cs @@ -15,44 +15,44 @@ namespace BlendFile.DNA { [DNAClassAttribute(176, "bKinematicConstraint", 184)] public class bKinematicConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "short", "iterations", "short", 2, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(2, "short", 1, "iterations", "short", false, 8)] public short iterations; - [DNAFieldAttribute(2, "short", "flag", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 10)] public short flag; - [DNAFieldAttribute(3, "short", "rootbone", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 3, "rootbone", "short", false, 12)] public short rootbone; - [DNAFieldAttribute(4, "short", "max_rootbone", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 4, "max_rootbone", "short", false, 14)] public short max_rootbone; - [DNAFieldAttribute(5, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(6, "Object", "*poletar", "Object", 8, true, 80)] - public Object ptr_poletar; - [DNAFieldAttribute(7, "char", "polesubtarget[64]", "System.Char[]", 64, false, 88)] + [DNAFieldAttribute(8, "Object", 6, "*poletar", "Object", true, 80)] + public Object poletar; + [DNAFieldAttribute(64, "char", 7, "polesubtarget[64]", "System.Char[]", false, 88)] public char[] polesubtarget = new System.Char[64]; - [DNAFieldAttribute(8, "float", "poleangle", "float", 4, false, 152)] + [DNAFieldAttribute(4, "float", 8, "poleangle", "float", false, 152)] public float poleangle; - [DNAFieldAttribute(9, "float", "weight", "float", 4, false, 156)] + [DNAFieldAttribute(4, "float", 9, "weight", "float", false, 156)] public float weight; - [DNAFieldAttribute(10, "float", "orientweight", "float", 4, false, 160)] + [DNAFieldAttribute(4, "float", 10, "orientweight", "float", false, 160)] public float orientweight; - [DNAFieldAttribute(11, "float", "grabtarget[3]", "System.Single[]", 12, false, 164)] + [DNAFieldAttribute(12, "float", 11, "grabtarget[3]", "System.Single[]", false, 164)] public float[] grabtarget = new System.Single[3]; - [DNAFieldAttribute(12, "short", "type", "short", 2, false, 176)] + [DNAFieldAttribute(2, "short", 12, "type", "short", false, 176)] public short type; - [DNAFieldAttribute(13, "short", "mode", "short", 2, false, 178)] + [DNAFieldAttribute(2, "short", 13, "mode", "short", false, 178)] public short mode; - [DNAFieldAttribute(14, "float", "dist", "float", 4, false, 180)] + [DNAFieldAttribute(4, "float", 14, "dist", "float", false, 180)] public float dist; public bKinematicConstraint() { - this.ptr_tar = default; + this.tar = default; this.iterations = default; this.flag = default; this.rootbone = default; this.max_rootbone = default; this.subtarget = default; - this.ptr_poletar = default; + this.poletar = default; this.polesubtarget = default; this.poleangle = default; this.weight = default; @@ -62,14 +62,14 @@ namespace BlendFile.DNA { 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; + public bKinematicConstraint(Object tar, short iterations, short flag, short rootbone, short max_rootbone, char[] subtarget, Object poletar, char[] polesubtarget, float poleangle, float weight, float orientweight, float[] grabtarget, short type, short mode, float dist) { + this.tar = tar; this.iterations = iterations; this.flag = flag; this.rootbone = rootbone; this.max_rootbone = max_rootbone; this.subtarget = subtarget; - this.ptr_poletar = ptr_poletar; + this.poletar = poletar; this.polesubtarget = polesubtarget; this.poleangle = poleangle; this.weight = weight; diff --git a/BlendFile/DNA/bLocLimitConstraint.cs b/BlendFile/DNA/bLocLimitConstraint.cs index 64ec853..0c06f55 100644 --- a/BlendFile/DNA/bLocLimitConstraint.cs +++ b/BlendFile/DNA/bLocLimitConstraint.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(196, "bLocLimitConstraint", 28)] - public struct bLocLimitConstraint { - [DNAFieldAttribute(0, "float", "xmin", "float", 4, false, 0)] + public class bLocLimitConstraint { + [DNAFieldAttribute(4, "float", 0, "xmin", "float", false, 0)] public float xmin; - [DNAFieldAttribute(1, "float", "xmax", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "xmax", "float", false, 4)] public float xmax; - [DNAFieldAttribute(2, "float", "ymin", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "ymin", "float", false, 8)] public float ymin; - [DNAFieldAttribute(3, "float", "ymax", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "ymax", "float", false, 12)] public float ymax; - [DNAFieldAttribute(4, "float", "zmin", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "zmin", "float", false, 16)] public float zmin; - [DNAFieldAttribute(5, "float", "zmax", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "zmax", "float", false, 20)] public float zmax; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(7, "short", "flag2", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 7, "flag2", "short", false, 26)] public short flag2; public bLocLimitConstraint() { this.xmin = default; diff --git a/BlendFile/DNA/bLocateLikeConstraint.cs b/BlendFile/DNA/bLocateLikeConstraint.cs index 9f3db0a..18a6eec 100644 --- a/BlendFile/DNA/bLocateLikeConstraint.cs +++ b/BlendFile/DNA/bLocateLikeConstraint.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(181, "bLocateLikeConstraint", 80)] public class bLocateLikeConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "int", "reserved1", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "reserved1", "int", false, 12)] public int reserved1; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; public bLocateLikeConstraint() { - this.ptr_tar = default; + this.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; + public bLocateLikeConstraint(Object tar, int flag, int reserved1, char[] subtarget) { + this.tar = tar; this.flag = flag; this.reserved1 = reserved1; this.subtarget = subtarget; diff --git a/BlendFile/DNA/bLockTrackConstraint.cs b/BlendFile/DNA/bLockTrackConstraint.cs index b7a317f..9f51c55 100644 --- a/BlendFile/DNA/bLockTrackConstraint.cs +++ b/BlendFile/DNA/bLockTrackConstraint.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(187, "bLockTrackConstraint", 80)] public class bLockTrackConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "trackflag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "trackflag", "int", false, 8)] public int trackflag; - [DNAFieldAttribute(2, "int", "lockflag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "lockflag", "int", false, 12)] public int lockflag; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; public bLockTrackConstraint() { - this.ptr_tar = default; + this.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; + public bLockTrackConstraint(Object tar, int trackflag, int lockflag, char[] subtarget) { + this.tar = tar; this.trackflag = trackflag; this.lockflag = lockflag; this.subtarget = subtarget; diff --git a/BlendFile/DNA/bMinMaxConstraint.cs b/BlendFile/DNA/bMinMaxConstraint.cs index ce7d6d8..9e90624 100644 --- a/BlendFile/DNA/bMinMaxConstraint.cs +++ b/BlendFile/DNA/bMinMaxConstraint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(185, "bMinMaxConstraint", 88)] public class bMinMaxConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "minmaxflag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "minmaxflag", "int", false, 8)] public int minmaxflag; - [DNAFieldAttribute(2, "float", "offset", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "offset", "float", false, 12)] public float offset; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(4, "char", "subtarget[64]", "System.Char[]", 64, false, 20)] + [DNAFieldAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", false, 20)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(5, "int", "_pad", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 5, "_pad", "int", false, 84)] public int _pad; public bMinMaxConstraint() { - this.ptr_tar = default; + this.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; + public bMinMaxConstraint(Object tar, int minmaxflag, float offset, int flag, char[] subtarget, int _pad) { + this.tar = tar; this.minmaxflag = minmaxflag; this.offset = offset; this.flag = flag; diff --git a/BlendFile/DNA/bMotionPath.cs b/BlendFile/DNA/bMotionPath.cs index b22fda4..0dd3cb4 100644 --- a/BlendFile/DNA/bMotionPath.cs +++ b/BlendFile/DNA/bMotionPath.cs @@ -15,34 +15,34 @@ namespace BlendFile.DNA { [DNAClassAttribute(44, "bMotionPath", 88)] public class bMotionPath { - [DNAFieldAttribute(0, "bMotionPathVert", "*points", "bMotionPathVert", 8, true, 0)] - public bMotionPathVert ptr_points; - [DNAFieldAttribute(1, "int", "length", "int", 4, false, 8)] + [DNAFieldAttribute(8, "bMotionPathVert", 0, "*points", "bMotionPathVert", true, 0)] + public bMotionPathVert points; + [DNAFieldAttribute(4, "int", 1, "length", "int", false, 8)] public int length; - [DNAFieldAttribute(2, "int", "start_frame", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "start_frame", "int", false, 12)] public int start_frame; - [DNAFieldAttribute(3, "int", "end_frame", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "end_frame", "int", false, 16)] public int end_frame; - [DNAFieldAttribute(4, "float", "color[3]", "System.Single[]", 12, false, 20)] + [DNAFieldAttribute(12, "float", 4, "color[3]", "System.Single[]", false, 20)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(5, "float", "color_post[3]", "System.Single[]", 12, false, 32)] + [DNAFieldAttribute(12, "float", 5, "color_post[3]", "System.Single[]", false, 32)] public float[] color_post = new System.Single[3]; - [DNAFieldAttribute(6, "int", "line_thickness", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 6, "line_thickness", "int", false, 44)] public int line_thickness; - [DNAFieldAttribute(7, "int", "flag", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(8, "char", "_pad2[4]", "System.Char[]", 4, false, 52)] + [DNAFieldAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", false, 52)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(9, "GPUVertBufHandle", "*points_vbo", "GPUVertBufHandle", 8, true, 56)] - public GPUVertBufHandle ptr_points_vbo; - [DNAFieldAttribute(10, "GPUBatchHandle", "*batch_line", "GPUBatchHandle", 8, true, 64)] - public GPUBatchHandle ptr_batch_line; - [DNAFieldAttribute(11, "GPUBatchHandle", "*batch_points", "GPUBatchHandle", 8, true, 72)] - public GPUBatchHandle ptr_batch_points; - [DNAFieldAttribute(12, "void", "*_pad", "void", 8, true, 80)] - public object ptr__pad; + [DNAFieldAttribute(8, "GPUVertBufHandle", 9, "*points_vbo", "GPUVertBufHandle", true, 56)] + public GPUVertBufHandle points_vbo; + [DNAFieldAttribute(8, "GPUBatchHandle", 10, "*batch_line", "GPUBatchHandle", true, 64)] + public GPUBatchHandle batch_line; + [DNAFieldAttribute(8, "GPUBatchHandle", 11, "*batch_points", "GPUBatchHandle", true, 72)] + public GPUBatchHandle batch_points; + [DNAFieldAttribute(8, "void", 12, "*_pad", "void", true, 80)] + public object _pad; public bMotionPath() { - this.ptr_points = default; + this.points = default; this.length = default; this.start_frame = default; this.end_frame = default; @@ -51,13 +51,13 @@ namespace BlendFile.DNA { 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; + this.points_vbo = default; + this.batch_line = default; + this.batch_points = default; + this._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; + public bMotionPath(bMotionPathVert points, int length, int start_frame, int end_frame, float[] color, float[] color_post, int line_thickness, int flag, char[] _pad2, GPUVertBufHandle points_vbo, GPUBatchHandle batch_line, GPUBatchHandle batch_points, object _pad) { + this.points = points; this.length = length; this.start_frame = start_frame; this.end_frame = end_frame; @@ -66,10 +66,10 @@ namespace BlendFile.DNA { this.line_thickness = line_thickness; this.flag = flag; this._pad2 = _pad2; - this.ptr_points_vbo = ptr_points_vbo; - this.ptr_batch_line = ptr_batch_line; - this.ptr_batch_points = ptr_batch_points; - this.ptr__pad = ptr__pad; + this.points_vbo = points_vbo; + this.batch_line = batch_line; + this.batch_points = batch_points; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/bMotionPathVert.cs b/BlendFile/DNA/bMotionPathVert.cs index 1d8751f..eec4a1c 100644 --- a/BlendFile/DNA/bMotionPathVert.cs +++ b/BlendFile/DNA/bMotionPathVert.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(43, "bMotionPathVert", 16)] - public struct bMotionPathVert { - [DNAFieldAttribute(0, "float", "co[3]", "System.Single[]", 12, false, 0)] + public class bMotionPathVert { + [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] public float[] co = new System.Single[3]; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 12)] public int flag; public bMotionPathVert() { this.co = default; diff --git a/BlendFile/DNA/bNestedNodePath.cs b/BlendFile/DNA/bNestedNodePath.cs index 942b3ef..a9843ef 100644 --- a/BlendFile/DNA/bNestedNodePath.cs +++ b/BlendFile/DNA/bNestedNodePath.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(579, "bNestedNodePath", 8)] - public struct bNestedNodePath { - [DNAFieldAttribute(0, "int", "node_id", "int", 4, false, 0)] + public class bNestedNodePath { + [DNAFieldAttribute(4, "int", 0, "node_id", "int", false, 0)] public int node_id; - [DNAFieldAttribute(1, "int", "id_in_node", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "id_in_node", "int", false, 4)] public int id_in_node; public bNestedNodePath() { this.node_id = default; diff --git a/BlendFile/DNA/bNestedNodeRef.cs b/BlendFile/DNA/bNestedNodeRef.cs index 02af21a..3a8a4c0 100644 --- a/BlendFile/DNA/bNestedNodeRef.cs +++ b/BlendFile/DNA/bNestedNodeRef.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(580, "bNestedNodeRef", 16)] - public struct bNestedNodeRef { - [DNAFieldAttribute(0, "int", "id", "int", 4, false, 0)] + public class bNestedNodeRef { + [DNAFieldAttribute(4, "int", 0, "id", "int", false, 0)] public int id; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "bNestedNodePath", "path", "bNestedNodePath", 8, false, 8)] + [DNAFieldAttribute(8, "bNestedNodePath", 2, "path", "bNestedNodePath", false, 8)] public bNestedNodePath path; public bNestedNodeRef() { this.id = default; diff --git a/BlendFile/DNA/bNode.cs b/BlendFile/DNA/bNode.cs index a0758d7..8af8f66 100644 --- a/BlendFile/DNA/bNode.cs +++ b/BlendFile/DNA/bNode.cs @@ -13,82 +13,80 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(575, "bNode", 368)] + [DNAClassAttribute(575, "bNode", 360)] public class bNode { - [DNAFieldAttribute(0, "bNode", "*next", "bNode", 8, true, 0)] - public bNode ptr_next; - [DNAFieldAttribute(1, "bNode", "*prev", "bNode", 8, true, 8)] - public bNode ptr_prev; - [DNAFieldAttribute(2, "ListBase", "inputs", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "bNode", 0, "*next", "bNode", true, 0)] + public bNode next; + [DNAFieldAttribute(8, "bNode", 1, "*prev", "bNode", true, 8)] + public bNode prev; + [DNAFieldAttribute(16, "ListBase", 2, "inputs", "ListBase", false, 16)] public ListBase inputs; - [DNAFieldAttribute(3, "ListBase", "outputs", "ListBase", 16, false, 32)] + [DNAFieldAttribute(16, "ListBase", 3, "outputs", "ListBase", false, 32)] public ListBase outputs; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 48)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "int", "identifier", "int", 4, false, 112)] + [DNAFieldAttribute(4, "int", 5, "identifier", "int", false, 112)] public int identifier; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 116)] + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 116)] public int flag; - [DNAFieldAttribute(7, "char", "idname[64]", "System.Char[]", 64, false, 120)] + [DNAFieldAttribute(64, "char", 7, "idname[64]", "System.Char[]", false, 120)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(8, "bNodeTypeHandle", "*typeinfo", "bNodeTypeHandle", 8, true, 184)] - public bNodeTypeHandle ptr_typeinfo; - [DNAFieldAttribute(9, "short", "type", "short", 2, false, 192)] + [DNAFieldAttribute(8, "bNodeTypeHandle", 8, "*typeinfo", "bNodeTypeHandle", true, 184)] + public bNodeTypeHandle typeinfo; + [DNAFieldAttribute(2, "short", 9, "type", "short", false, 192)] public short type; - [DNAFieldAttribute(10, "short", "ui_order", "short", 2, false, 194)] + [DNAFieldAttribute(2, "short", 10, "ui_order", "short", false, 194)] public short ui_order; - [DNAFieldAttribute(11, "short", "custom1", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 11, "custom1", "short", false, 196)] public short custom1; - [DNAFieldAttribute(12, "short", "custom2", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 12, "custom2", "short", false, 198)] public short custom2; - [DNAFieldAttribute(13, "float", "custom3", "float", 4, false, 200)] + [DNAFieldAttribute(4, "float", 13, "custom3", "float", false, 200)] public float custom3; - [DNAFieldAttribute(14, "float", "custom4", "float", 4, false, 204)] + [DNAFieldAttribute(4, "float", 14, "custom4", "float", false, 204)] public float custom4; - [DNAFieldAttribute(15, "int8_t", "warning_propagation", "int8_t", 1, false, 208)] + [DNAFieldAttribute(1, "int8_t", 15, "warning_propagation", "int8_t", false, 208)] public sbyte warning_propagation; - [DNAFieldAttribute(16, "char", "_pad[7]", "System.Char[]", 7, false, 209)] + [DNAFieldAttribute(7, "char", 16, "_pad[7]", "System.Char[]", false, 209)] public char[] _pad = new System.Char[7]; - [DNAFieldAttribute(17, "ID", "*id", "ID", 8, true, 216)] - public ID ptr_id; - [DNAFieldAttribute(18, "void", "*storage", "void", 8, true, 224)] - public object ptr_storage; - [DNAFieldAttribute(19, "IDProperty", "*prop", "IDProperty", 8, true, 232)] - public IDProperty ptr_prop; - [DNAFieldAttribute(20, "bNode", "*parent", "bNode", 8, true, 240)] - public bNode ptr_parent; - [DNAFieldAttribute(21, "float", "locx", "float", 4, false, 248)] + [DNAFieldAttribute(8, "ID", 17, "*id", "ID", true, 216)] + public ID id; + [DNAFieldAttribute(8, "void", 18, "*storage", "void", true, 224)] + public object storage; + [DNAFieldAttribute(8, "IDProperty", 19, "*prop", "IDProperty", true, 232)] + public IDProperty prop; + [DNAFieldAttribute(8, "bNode", 20, "*parent", "bNode", true, 240)] + public bNode parent; + [DNAFieldAttribute(4, "float", 21, "locx", "float", false, 248)] public float locx; - [DNAFieldAttribute(22, "float", "locy", "float", 4, false, 252)] + [DNAFieldAttribute(4, "float", 22, "locy", "float", false, 252)] public float locy; - [DNAFieldAttribute(23, "float", "width", "float", 4, false, 256)] + [DNAFieldAttribute(4, "float", 23, "width", "float", false, 256)] public float width; - [DNAFieldAttribute(24, "float", "height", "float", 4, false, 260)] + [DNAFieldAttribute(4, "float", 24, "height", "float", false, 260)] public float height; - [DNAFieldAttribute(25, "float", "offsetx", "float", 4, false, 264)] + [DNAFieldAttribute(4, "float", 25, "offsetx", "float", false, 264)] public float offsetx; - [DNAFieldAttribute(26, "float", "offsety", "float", 4, false, 268)] + [DNAFieldAttribute(4, "float", 26, "offsety", "float", false, 268)] public float offsety; - [DNAFieldAttribute(27, "char", "label[64]", "System.Char[]", 64, false, 272)] + [DNAFieldAttribute(64, "char", 27, "label[64]", "System.Char[]", false, 272)] public char[] label = new System.Char[64]; - [DNAFieldAttribute(28, "float", "color[3]", "System.Single[]", 12, false, 336)] + [DNAFieldAttribute(12, "float", 28, "color[3]", "System.Single[]", false, 336)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(29, "int", "num_panel_states", "int", 4, false, 348)] + [DNAFieldAttribute(4, "int", 29, "num_panel_states", "int", false, 348)] public int num_panel_states; - [DNAFieldAttribute(30, "bNodePanelState", "*panel_states_array", "bNodePanelState", 8, true, 352)] - public bNodePanelState ptr_panel_states_array; - [DNAFieldAttribute(31, "bNodeRuntimeHandle", "*runtime", "bNodeRuntimeHandle", 8, true, 360)] - public bNodeRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "bNodeRuntimeHandle", 31, "*runtime", "bNodeRuntimeHandle", true, 352)] + public bNodeRuntimeHandle runtime; public bNode() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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.typeinfo = default; this.type = default; this.ui_order = default; this.custom1 = default; @@ -97,10 +95,10 @@ namespace BlendFile.DNA { 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.id = default; + this.storage = default; + this.prop = default; + this.parent = default; this.locx = default; this.locy = default; this.width = default; @@ -110,19 +108,18 @@ namespace BlendFile.DNA { this.label = default; this.color = default; this.num_panel_states = default; - this.ptr_panel_states_array = default; - this.ptr_runtime = default; + this.runtime = default; } public bNode( - bNode ptr_next, - bNode ptr_prev, + bNode next, + bNode prev, ListBase inputs, ListBase outputs, char[] name, int identifier, int flag, char[] idname, - bNodeTypeHandle ptr_typeinfo, + bNodeTypeHandle typeinfo, short type, short ui_order, short custom1, @@ -131,10 +128,10 @@ namespace BlendFile.DNA { float custom4, sbyte warning_propagation, char[] _pad, - ID ptr_id, - object ptr_storage, - IDProperty ptr_prop, - bNode ptr_parent, + ID id, + object storage, + IDProperty prop, + bNode parent, float locx, float locy, float width, @@ -144,17 +141,16 @@ namespace BlendFile.DNA { char[] label, float[] color, int num_panel_states, - bNodePanelState ptr_panel_states_array, - bNodeRuntimeHandle ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + bNodeRuntimeHandle runtime) { + this.next = next; + this.prev = prev; this.inputs = inputs; this.outputs = outputs; this.name = name; this.identifier = identifier; this.flag = flag; this.idname = idname; - this.ptr_typeinfo = ptr_typeinfo; + this.typeinfo = typeinfo; this.type = type; this.ui_order = ui_order; this.custom1 = custom1; @@ -163,10 +159,10 @@ namespace BlendFile.DNA { this.custom4 = custom4; this.warning_propagation = warning_propagation; this._pad = _pad; - this.ptr_id = ptr_id; - this.ptr_storage = ptr_storage; - this.ptr_prop = ptr_prop; - this.ptr_parent = ptr_parent; + this.id = id; + this.storage = storage; + this.prop = prop; + this.parent = parent; this.locx = locx; this.locy = locy; this.width = width; @@ -176,8 +172,7 @@ namespace BlendFile.DNA { this.label = label; this.color = color; this.num_panel_states = num_panel_states; - this.ptr_panel_states_array = ptr_panel_states_array; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/bNodeInstanceKey.cs b/BlendFile/DNA/bNodeInstanceKey.cs index 50b78b2..cba9fbb 100644 --- a/BlendFile/DNA/bNodeInstanceKey.cs +++ b/BlendFile/DNA/bNodeInstanceKey.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(578, "bNodeInstanceKey", 4)] - public struct bNodeInstanceKey { - [DNAFieldAttribute(0, "int", "value", "int", 4, false, 0)] + public class bNodeInstanceKey { + [DNAFieldAttribute(4, "int", 0, "value", "int", false, 0)] public int value; public bNodeInstanceKey() { this.value = default; diff --git a/BlendFile/DNA/bNodeLink.cs b/BlendFile/DNA/bNodeLink.cs index 741aee7..7ed0274 100644 --- a/BlendFile/DNA/bNodeLink.cs +++ b/BlendFile/DNA/bNodeLink.cs @@ -15,39 +15,39 @@ namespace BlendFile.DNA { [DNAClassAttribute(572, "bNodeLink", 56)] public class bNodeLink { - [DNAFieldAttribute(0, "bNodeLink", "*next", "bNodeLink", 8, true, 0)] - public bNodeLink ptr_next; - [DNAFieldAttribute(1, "bNodeLink", "*prev", "bNodeLink", 8, true, 8)] - public bNodeLink ptr_prev; - [DNAFieldAttribute(2, "bNode", "*fromnode", "bNode", 8, true, 16)] - public bNode ptr_fromnode; - [DNAFieldAttribute(3, "bNode", "*tonode", "bNode", 8, true, 24)] - public bNode ptr_tonode; - [DNAFieldAttribute(4, "bNodeSocket", "*fromsock", "bNodeSocket", 8, true, 32)] - public bNodeSocket ptr_fromsock; - [DNAFieldAttribute(5, "bNodeSocket", "*tosock", "bNodeSocket", 8, true, 40)] - public bNodeSocket ptr_tosock; - [DNAFieldAttribute(6, "int", "flag", "int", 4, false, 48)] + [DNAFieldAttribute(8, "bNodeLink", 0, "*next", "bNodeLink", true, 0)] + public bNodeLink next; + [DNAFieldAttribute(8, "bNodeLink", 1, "*prev", "bNodeLink", true, 8)] + public bNodeLink prev; + [DNAFieldAttribute(8, "bNode", 2, "*fromnode", "bNode", true, 16)] + public bNode fromnode; + [DNAFieldAttribute(8, "bNode", 3, "*tonode", "bNode", true, 24)] + public bNode tonode; + [DNAFieldAttribute(8, "bNodeSocket", 4, "*fromsock", "bNodeSocket", true, 32)] + public bNodeSocket fromsock; + [DNAFieldAttribute(8, "bNodeSocket", 5, "*tosock", "bNodeSocket", true, 40)] + public bNodeSocket tosock; + [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(7, "int", "multi_input_socket_index", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 7, "multi_input_socket_index", "int", false, 52)] 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.next = default; + this.prev = default; + this.fromnode = default; + this.tonode = default; + this.fromsock = default; + this.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; - this.ptr_fromnode = ptr_fromnode; - this.ptr_tonode = ptr_tonode; - this.ptr_fromsock = ptr_fromsock; - this.ptr_tosock = ptr_tosock; + public bNodeLink(bNodeLink next, bNodeLink prev, bNode fromnode, bNode tonode, bNodeSocket fromsock, bNodeSocket tosock, int flag, int multi_input_socket_index) { + this.next = next; + this.prev = prev; + this.fromnode = fromnode; + this.tonode = tonode; + this.fromsock = fromsock; + this.tosock = tosock; this.flag = flag; this.multi_input_socket_index = multi_input_socket_index; } diff --git a/BlendFile/DNA/bNodePanelState.cs b/BlendFile/DNA/bNodePanelState.cs index 850405d..cae6910 100644 --- a/BlendFile/DNA/bNodePanelState.cs +++ b/BlendFile/DNA/bNodePanelState.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(574, "bNodePanelState", 8)] - public struct bNodePanelState { - [DNAFieldAttribute(0, "int", "identifier", "int", 4, false, 0)] + public class bNodePanelState { + [DNAFieldAttribute(4, "int", 0, "identifier", "int", false, 0)] public int identifier; - [DNAFieldAttribute(1, "char", "flag", "char", 1, false, 4)] + [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 4)] public char flag; - [DNAFieldAttribute(2, "char", "_pad[3]", "System.Char[]", 3, false, 5)] + [DNAFieldAttribute(3, "char", 2, "_pad[3]", "System.Char[]", false, 5)] public char[] _pad = new System.Char[3]; public bNodePanelState() { this.identifier = default; diff --git a/BlendFile/DNA/bNodeSocket.cs b/BlendFile/DNA/bNodeSocket.cs index e374c39..7a1d511 100644 --- a/BlendFile/DNA/bNodeSocket.cs +++ b/BlendFile/DNA/bNodeSocket.cs @@ -15,72 +15,72 @@ namespace BlendFile.DNA { [DNAClassAttribute(570, "bNodeSocket", 528)] public class bNodeSocket { - [DNAFieldAttribute(0, "bNodeSocket", "*next", "bNodeSocket", 8, true, 0)] - public bNodeSocket ptr_next; - [DNAFieldAttribute(1, "bNodeSocket", "*prev", "bNodeSocket", 8, true, 8)] - public bNodeSocket ptr_prev; - [DNAFieldAttribute(2, "IDProperty", "*prop", "IDProperty", 8, true, 16)] - public IDProperty ptr_prop; - [DNAFieldAttribute(3, "char", "identifier[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(8, "bNodeSocket", 0, "*next", "bNodeSocket", true, 0)] + public bNodeSocket next; + [DNAFieldAttribute(8, "bNodeSocket", 1, "*prev", "bNodeSocket", true, 8)] + public bNodeSocket prev; + [DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 16)] + public IDProperty prop; + [DNAFieldAttribute(64, "char", 3, "identifier[64]", "System.Char[]", false, 24)] public char[] identifier = new System.Char[64]; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 88)] + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 88)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "void", "*storage", "void", 8, true, 152)] - public object ptr_storage; - [DNAFieldAttribute(6, "short", "type", "short", 2, false, 160)] + [DNAFieldAttribute(8, "void", 5, "*storage", "void", true, 152)] + public object storage; + [DNAFieldAttribute(2, "short", 6, "type", "short", false, 160)] public short type; - [DNAFieldAttribute(7, "short", "flag", "short", 2, false, 162)] + [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 162)] public short flag; - [DNAFieldAttribute(8, "short", "limit", "short", 2, false, 164)] + [DNAFieldAttribute(2, "short", 8, "limit", "short", false, 164)] public short limit; - [DNAFieldAttribute(9, "short", "in_out", "short", 2, false, 166)] + [DNAFieldAttribute(2, "short", 9, "in_out", "short", false, 166)] public short in_out; - [DNAFieldAttribute(10, "bNodeSocketTypeHandle", "*typeinfo", "bNodeSocketTypeHandle", 8, true, 168)] - public bNodeSocketTypeHandle ptr_typeinfo; - [DNAFieldAttribute(11, "char", "idname[64]", "System.Char[]", 64, false, 176)] + [DNAFieldAttribute(8, "bNodeSocketTypeHandle", 10, "*typeinfo", "bNodeSocketTypeHandle", true, 168)] + public bNodeSocketTypeHandle typeinfo; + [DNAFieldAttribute(64, "char", 11, "idname[64]", "System.Char[]", false, 176)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(12, "void", "*default_value", "void", 8, true, 240)] - public object ptr_default_value; - [DNAFieldAttribute(13, "short", "stack_index", "short", 2, false, 248)] + [DNAFieldAttribute(8, "void", 12, "*default_value", "void", true, 240)] + public object default_value; + [DNAFieldAttribute(2, "short", 13, "stack_index", "short", false, 248)] public short stack_index; - [DNAFieldAttribute(14, "char", "display_shape", "char", 1, false, 250)] + [DNAFieldAttribute(1, "char", 14, "display_shape", "char", false, 250)] public char display_shape; - [DNAFieldAttribute(15, "char", "attribute_domain", "char", 1, false, 251)] + [DNAFieldAttribute(1, "char", 15, "attribute_domain", "char", false, 251)] public char attribute_domain; - [DNAFieldAttribute(16, "char", "_pad[4]", "System.Char[]", 4, false, 252)] + [DNAFieldAttribute(4, "char", 16, "_pad[4]", "System.Char[]", false, 252)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(17, "char", "label[64]", "System.Char[]", 64, false, 256)] + [DNAFieldAttribute(64, "char", 17, "label[64]", "System.Char[]", false, 256)] public char[] label = new System.Char[64]; - [DNAFieldAttribute(18, "char", "short_label[64]", "System.Char[]", 64, false, 320)] + [DNAFieldAttribute(64, "char", 18, "short_label[64]", "System.Char[]", false, 320)] public char[] short_label = new System.Char[64]; - [DNAFieldAttribute(19, "char", "description[64]", "System.Char[]", 64, false, 384)] + [DNAFieldAttribute(64, "char", 19, "description[64]", "System.Char[]", false, 384)] public char[] description = new System.Char[64]; - [DNAFieldAttribute(20, "char", "*default_attribute_name", "char", 8, true, 448)] - public char ptr_default_attribute_name; - [DNAFieldAttribute(21, "int", "own_index", "int", 4, false, 456)] + [DNAFieldAttribute(8, "char", 20, "*default_attribute_name", "char", true, 448)] + public char default_attribute_name; + [DNAFieldAttribute(4, "int", 21, "own_index", "int", false, 456)] public int own_index; - [DNAFieldAttribute(22, "int", "to_index", "int", 4, false, 460)] + [DNAFieldAttribute(4, "int", 22, "to_index", "int", false, 460)] public int to_index; - [DNAFieldAttribute(23, "bNodeLink", "*link", "bNodeLink", 8, true, 464)] - public bNodeLink ptr_link; - [DNAFieldAttribute(24, "bNodeStack", "ns", "bNodeStack", 48, false, 472)] + [DNAFieldAttribute(8, "bNodeLink", 23, "*link", "bNodeLink", true, 464)] + public bNodeLink link; + [DNAFieldAttribute(48, "bNodeStack", 24, "ns", "bNodeStack", false, 472)] public bNodeStack ns; - [DNAFieldAttribute(25, "bNodeSocketRuntimeHandle", "*runtime", "bNodeSocketRuntimeHandle", 8, true, 520)] - public bNodeSocketRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "bNodeSocketRuntimeHandle", 25, "*runtime", "bNodeSocketRuntimeHandle", true, 520)] + public bNodeSocketRuntimeHandle runtime; public bNodeSocket() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_prop = default; + this.next = default; + this.prev = default; + this.prop = default; this.identifier = default; this.name = default; - this.ptr_storage = default; + this.storage = default; this.type = default; this.flag = default; this.limit = default; this.in_out = default; - this.ptr_typeinfo = default; + this.typeinfo = default; this.idname = default; - this.ptr_default_value = default; + this.default_value = default; this.stack_index = default; this.display_shape = default; this.attribute_domain = default; @@ -88,27 +88,27 @@ namespace BlendFile.DNA { this.label = default; this.short_label = default; this.description = default; - this.ptr_default_attribute_name = default; + this.default_attribute_name = default; this.own_index = default; this.to_index = default; - this.ptr_link = default; + this.link = default; this.ns = default; - this.ptr_runtime = default; + this.runtime = default; } public bNodeSocket( - bNodeSocket ptr_next, - bNodeSocket ptr_prev, - IDProperty ptr_prop, + bNodeSocket next, + bNodeSocket prev, + IDProperty prop, char[] identifier, char[] name, - object ptr_storage, + object storage, short type, short flag, short limit, short in_out, - bNodeSocketTypeHandle ptr_typeinfo, + bNodeSocketTypeHandle typeinfo, char[] idname, - object ptr_default_value, + object default_value, short stack_index, char display_shape, char attribute_domain, @@ -116,25 +116,25 @@ namespace BlendFile.DNA { char[] label, char[] short_label, char[] description, - char ptr_default_attribute_name, + char default_attribute_name, int own_index, int to_index, - bNodeLink ptr_link, + bNodeLink link, bNodeStack ns, - bNodeSocketRuntimeHandle ptr_runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_prop = ptr_prop; + bNodeSocketRuntimeHandle runtime) { + this.next = next; + this.prev = prev; + this.prop = prop; this.identifier = identifier; this.name = name; - this.ptr_storage = ptr_storage; + this.storage = storage; this.type = type; this.flag = flag; this.limit = limit; this.in_out = in_out; - this.ptr_typeinfo = ptr_typeinfo; + this.typeinfo = typeinfo; this.idname = idname; - this.ptr_default_value = ptr_default_value; + this.default_value = default_value; this.stack_index = stack_index; this.display_shape = display_shape; this.attribute_domain = attribute_domain; @@ -142,12 +142,12 @@ namespace BlendFile.DNA { this.label = label; this.short_label = short_label; this.description = description; - this.ptr_default_attribute_name = ptr_default_attribute_name; + this.default_attribute_name = default_attribute_name; this.own_index = own_index; this.to_index = to_index; - this.ptr_link = ptr_link; + this.link = link; this.ns = ns; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/bNodeSocketValueBoolean.cs b/BlendFile/DNA/bNodeSocketValueBoolean.cs index 319176a..d19dc9b 100644 --- a/BlendFile/DNA/bNodeSocketValueBoolean.cs +++ b/BlendFile/DNA/bNodeSocketValueBoolean.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(587, "bNodeSocketValueBoolean", 1)] - public struct bNodeSocketValueBoolean { - [DNAFieldAttribute(0, "char", "value", "char", 1, false, 0)] + public class bNodeSocketValueBoolean { + [DNAFieldAttribute(1, "char", 0, "value", "char", false, 0)] public char value; public bNodeSocketValueBoolean() { this.value = default; diff --git a/BlendFile/DNA/bNodeSocketValueCollection.cs b/BlendFile/DNA/bNodeSocketValueCollection.cs index 4feff47..b2e55e2 100644 --- a/BlendFile/DNA/bNodeSocketValueCollection.cs +++ b/BlendFile/DNA/bNodeSocketValueCollection.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(594, "bNodeSocketValueCollection", 8)] public class bNodeSocketValueCollection { - [DNAFieldAttribute(0, "Collection", "*value", "Collection", 8, true, 0)] - public Collection ptr_value; + [DNAFieldAttribute(8, "Collection", 0, "*value", "Collection", true, 0)] + public Collection value; public bNodeSocketValueCollection() { - this.ptr_value = default; + this.value = default; } - public bNodeSocketValueCollection(Collection ptr_value) { - this.ptr_value = ptr_value; + public bNodeSocketValueCollection(Collection value) { + this.value = value; } } } diff --git a/BlendFile/DNA/bNodeSocketValueFloat.cs b/BlendFile/DNA/bNodeSocketValueFloat.cs index 7c9e4ef..2498418 100644 --- a/BlendFile/DNA/bNodeSocketValueFloat.cs +++ b/BlendFile/DNA/bNodeSocketValueFloat.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(586, "bNodeSocketValueFloat", 16)] - public struct bNodeSocketValueFloat { - [DNAFieldAttribute(0, "int", "subtype", "int", 4, false, 0)] + public class bNodeSocketValueFloat { + [DNAFieldAttribute(4, "int", 0, "subtype", "int", false, 0)] public int subtype; - [DNAFieldAttribute(1, "float", "value", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "value", "float", false, 4)] public float value; - [DNAFieldAttribute(2, "float", "min", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "min", "float", false, 8)] public float min; - [DNAFieldAttribute(3, "float", "max", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "max", "float", false, 12)] public float max; public bNodeSocketValueFloat() { this.subtype = default; diff --git a/BlendFile/DNA/bNodeSocketValueImage.cs b/BlendFile/DNA/bNodeSocketValueImage.cs index 1cfbcb1..70cebb6 100644 --- a/BlendFile/DNA/bNodeSocketValueImage.cs +++ b/BlendFile/DNA/bNodeSocketValueImage.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(593, "bNodeSocketValueImage", 8)] public class bNodeSocketValueImage { - [DNAFieldAttribute(0, "Image", "*value", "Image", 8, true, 0)] - public Image ptr_value; + [DNAFieldAttribute(8, "Image", 0, "*value", "Image", true, 0)] + public Image value; public bNodeSocketValueImage() { - this.ptr_value = default; + this.value = default; } - public bNodeSocketValueImage(Image ptr_value) { - this.ptr_value = ptr_value; + public bNodeSocketValueImage(Image value) { + this.value = value; } } } diff --git a/BlendFile/DNA/bNodeSocketValueInt.cs b/BlendFile/DNA/bNodeSocketValueInt.cs index 3c4eed8..76d12dc 100644 --- a/BlendFile/DNA/bNodeSocketValueInt.cs +++ b/BlendFile/DNA/bNodeSocketValueInt.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(585, "bNodeSocketValueInt", 16)] - public struct bNodeSocketValueInt { - [DNAFieldAttribute(0, "int", "subtype", "int", 4, false, 0)] + public class bNodeSocketValueInt { + [DNAFieldAttribute(4, "int", 0, "subtype", "int", false, 0)] public int subtype; - [DNAFieldAttribute(1, "int", "value", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "value", "int", false, 4)] public int value; - [DNAFieldAttribute(2, "int", "min", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "min", "int", false, 8)] public int min; - [DNAFieldAttribute(3, "int", "max", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "max", "int", false, 12)] public int max; public bNodeSocketValueInt() { this.subtype = default; diff --git a/BlendFile/DNA/bNodeSocketValueMaterial.cs b/BlendFile/DNA/bNodeSocketValueMaterial.cs index cf96654..643af1b 100644 --- a/BlendFile/DNA/bNodeSocketValueMaterial.cs +++ b/BlendFile/DNA/bNodeSocketValueMaterial.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(596, "bNodeSocketValueMaterial", 8)] public class bNodeSocketValueMaterial { - [DNAFieldAttribute(0, "Material", "*value", "Material", 8, true, 0)] - public Material ptr_value; + [DNAFieldAttribute(8, "Material", 0, "*value", "Material", true, 0)] + public Material value; public bNodeSocketValueMaterial() { - this.ptr_value = default; + this.value = default; } - public bNodeSocketValueMaterial(Material ptr_value) { - this.ptr_value = ptr_value; + public bNodeSocketValueMaterial(Material value) { + this.value = value; } } } diff --git a/BlendFile/DNA/bNodeSocketValueMenu.cs b/BlendFile/DNA/bNodeSocketValueMenu.cs index f8a70ca..ddf18c7 100644 --- a/BlendFile/DNA/bNodeSocketValueMenu.cs +++ b/BlendFile/DNA/bNodeSocketValueMenu.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(597, "bNodeSocketValueMenu", 16)] public class bNodeSocketValueMenu { - [DNAFieldAttribute(0, "int", "value", "int", 4, false, 0)] + [DNAFieldAttribute(4, "int", 0, "value", "int", false, 0)] public int value; - [DNAFieldAttribute(1, "int", "runtime_flag", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "runtime_flag", "int", false, 4)] public int runtime_flag; - [DNAFieldAttribute(2, "RuntimeNodeEnumItemsHandle", "*enum_items", "RuntimeNodeEnumItemsHandle", 8, true, 8)] - public RuntimeNodeEnumItemsHandle ptr_enum_items; + [DNAFieldAttribute(8, "RuntimeNodeEnumItemsHandle", 2, "*enum_items", "RuntimeNodeEnumItemsHandle", true, 8)] + public RuntimeNodeEnumItemsHandle enum_items; public bNodeSocketValueMenu() { this.value = default; this.runtime_flag = default; - this.ptr_enum_items = default; + this.enum_items = default; } - public bNodeSocketValueMenu(int value, int runtime_flag, RuntimeNodeEnumItemsHandle ptr_enum_items) { + public bNodeSocketValueMenu(int value, int runtime_flag, RuntimeNodeEnumItemsHandle enum_items) { this.value = value; this.runtime_flag = runtime_flag; - this.ptr_enum_items = ptr_enum_items; + this.enum_items = enum_items; } } } diff --git a/BlendFile/DNA/bNodeSocketValueObject.cs b/BlendFile/DNA/bNodeSocketValueObject.cs index 0462616..7de2426 100644 --- a/BlendFile/DNA/bNodeSocketValueObject.cs +++ b/BlendFile/DNA/bNodeSocketValueObject.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(592, "bNodeSocketValueObject", 8)] public class bNodeSocketValueObject { - [DNAFieldAttribute(0, "Object", "*value", "Object", 8, true, 0)] - public Object ptr_value; + [DNAFieldAttribute(8, "Object", 0, "*value", "Object", true, 0)] + public Object value; public bNodeSocketValueObject() { - this.ptr_value = default; + this.value = default; } - public bNodeSocketValueObject(Object ptr_value) { - this.ptr_value = ptr_value; + public bNodeSocketValueObject(Object value) { + this.value = value; } } } diff --git a/BlendFile/DNA/bNodeSocketValueRGBA.cs b/BlendFile/DNA/bNodeSocketValueRGBA.cs index a633fbe..20aead7 100644 --- a/BlendFile/DNA/bNodeSocketValueRGBA.cs +++ b/BlendFile/DNA/bNodeSocketValueRGBA.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(590, "bNodeSocketValueRGBA", 16)] - public struct bNodeSocketValueRGBA { - [DNAFieldAttribute(0, "float", "value[4]", "System.Single[]", 16, false, 0)] + public class bNodeSocketValueRGBA { + [DNAFieldAttribute(16, "float", 0, "value[4]", "System.Single[]", false, 0)] public float[] value = new System.Single[4]; public bNodeSocketValueRGBA() { this.value = default; diff --git a/BlendFile/DNA/bNodeSocketValueRotation.cs b/BlendFile/DNA/bNodeSocketValueRotation.cs index 89e0233..c338751 100644 --- a/BlendFile/DNA/bNodeSocketValueRotation.cs +++ b/BlendFile/DNA/bNodeSocketValueRotation.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(589, "bNodeSocketValueRotation", 12)] - public struct bNodeSocketValueRotation { - [DNAFieldAttribute(0, "float", "value_euler[3]", "System.Single[]", 12, false, 0)] + public class bNodeSocketValueRotation { + [DNAFieldAttribute(12, "float", 0, "value_euler[3]", "System.Single[]", false, 0)] public float[] value_euler = new System.Single[3]; public bNodeSocketValueRotation() { this.value_euler = default; diff --git a/BlendFile/DNA/bNodeSocketValueString.cs b/BlendFile/DNA/bNodeSocketValueString.cs index 6cf355c..8d5cbc9 100644 --- a/BlendFile/DNA/bNodeSocketValueString.cs +++ b/BlendFile/DNA/bNodeSocketValueString.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(591, "bNodeSocketValueString", 1032)] - public struct bNodeSocketValueString { - [DNAFieldAttribute(0, "int", "subtype", "int", 4, false, 0)] + public class bNodeSocketValueString { + [DNAFieldAttribute(4, "int", 0, "subtype", "int", false, 0)] public int subtype; - [DNAFieldAttribute(1, "char", "_pad[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(2, "char", "value[1024]", "System.Char[]", 1024, false, 8)] + [DNAFieldAttribute(1024, "char", 2, "value[1024]", "System.Char[]", false, 8)] public char[] value = new System.Char[1024]; public bNodeSocketValueString() { this.subtype = default; diff --git a/BlendFile/DNA/bNodeSocketValueTexture.cs b/BlendFile/DNA/bNodeSocketValueTexture.cs index c7ead80..4f699f9 100644 --- a/BlendFile/DNA/bNodeSocketValueTexture.cs +++ b/BlendFile/DNA/bNodeSocketValueTexture.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(595, "bNodeSocketValueTexture", 8)] public class bNodeSocketValueTexture { - [DNAFieldAttribute(0, "Tex", "*value", "Tex", 8, true, 0)] - public Tex ptr_value; + [DNAFieldAttribute(8, "Tex", 0, "*value", "Tex", true, 0)] + public Tex value; public bNodeSocketValueTexture() { - this.ptr_value = default; + this.value = default; } - public bNodeSocketValueTexture(Tex ptr_value) { - this.ptr_value = ptr_value; + public bNodeSocketValueTexture(Tex value) { + this.value = value; } } } diff --git a/BlendFile/DNA/bNodeSocketValueVector.cs b/BlendFile/DNA/bNodeSocketValueVector.cs index c85f6b6..de9e508 100644 --- a/BlendFile/DNA/bNodeSocketValueVector.cs +++ b/BlendFile/DNA/bNodeSocketValueVector.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(588, "bNodeSocketValueVector", 24)] - public struct bNodeSocketValueVector { - [DNAFieldAttribute(0, "int", "subtype", "int", 4, false, 0)] + public class bNodeSocketValueVector { + [DNAFieldAttribute(4, "int", 0, "subtype", "int", false, 0)] public int subtype; - [DNAFieldAttribute(1, "float", "value[3]", "System.Single[]", 12, false, 4)] + [DNAFieldAttribute(12, "float", 1, "value[3]", "System.Single[]", false, 4)] public float[] value = new System.Single[3]; - [DNAFieldAttribute(2, "float", "min", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 2, "min", "float", false, 16)] public float min; - [DNAFieldAttribute(3, "float", "max", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 3, "max", "float", false, 20)] public float max; public bNodeSocketValueVector() { this.subtype = default; diff --git a/BlendFile/DNA/bNodeStack.cs b/BlendFile/DNA/bNodeStack.cs index 04b6968..813e273 100644 --- a/BlendFile/DNA/bNodeStack.cs +++ b/BlendFile/DNA/bNodeStack.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(569, "bNodeStack", 48)] public class bNodeStack { - [DNAFieldAttribute(0, "float", "vec[4]", "System.Single[]", 16, false, 0)] + [DNAFieldAttribute(16, "float", 0, "vec[4]", "System.Single[]", false, 0)] public float[] vec = new System.Single[4]; - [DNAFieldAttribute(1, "float", "min", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 1, "min", "float", false, 16)] public float min; - [DNAFieldAttribute(2, "float", "max", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 2, "max", "float", false, 20)] public float max; - [DNAFieldAttribute(3, "void", "*data", "void", 8, true, 24)] - public object ptr_data; - [DNAFieldAttribute(4, "short", "hasinput", "short", 2, false, 32)] + [DNAFieldAttribute(8, "void", 3, "*data", "void", true, 24)] + public object data; + [DNAFieldAttribute(2, "short", 4, "hasinput", "short", false, 32)] public short hasinput; - [DNAFieldAttribute(5, "short", "hasoutput", "short", 2, false, 34)] + [DNAFieldAttribute(2, "short", 5, "hasoutput", "short", false, 34)] public short hasoutput; - [DNAFieldAttribute(6, "short", "datatype", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 6, "datatype", "short", false, 36)] public short datatype; - [DNAFieldAttribute(7, "short", "sockettype", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 7, "sockettype", "short", false, 38)] public short sockettype; - [DNAFieldAttribute(8, "short", "is_copy", "short", 2, false, 40)] + [DNAFieldAttribute(2, "short", 8, "is_copy", "short", false, 40)] public short is_copy; - [DNAFieldAttribute(9, "short", "external", "short", 2, false, 42)] + [DNAFieldAttribute(2, "short", 9, "external", "short", false, 42)] public short external; - [DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 4, false, 44)] + [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 44)] public char[] _pad = new System.Char[4]; public bNodeStack() { this.vec = default; this.min = default; this.max = default; - this.ptr_data = default; + this.data = default; this.hasinput = default; this.hasoutput = default; this.datatype = default; @@ -50,11 +50,11 @@ namespace BlendFile.DNA { 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) { + public bNodeStack(float[] vec, float min, float max, object data, short hasinput, short hasoutput, short datatype, short sockettype, short is_copy, short external, char[] _pad) { this.vec = vec; this.min = min; this.max = max; - this.ptr_data = ptr_data; + this.data = data; this.hasinput = hasinput; this.hasoutput = hasoutput; this.datatype = datatype; diff --git a/BlendFile/DNA/bNodeTree.cs b/BlendFile/DNA/bNodeTree.cs index 3936f2c..a7eaabb 100644 --- a/BlendFile/DNA/bNodeTree.cs +++ b/BlendFile/DNA/bNodeTree.cs @@ -15,72 +15,72 @@ namespace BlendFile.DNA { [DNAClassAttribute(351, "bNodeTree", 544)] public class bNodeTree { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] - public AnimData ptr_adt; - [DNAFieldAttribute(2, "ID", "*owner_id", "ID", 8, true, 216)] - public ID ptr_owner_id; - [DNAFieldAttribute(3, "bNodeTreeTypeHandle", "*typeinfo", "bNodeTreeTypeHandle", 8, true, 224)] - public bNodeTreeTypeHandle ptr_typeinfo; - [DNAFieldAttribute(4, "char", "idname[64]", "System.Char[]", 64, false, 232)] + [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] + public AnimData adt; + [DNAFieldAttribute(8, "ID", 2, "*owner_id", "ID", true, 216)] + public ID owner_id; + [DNAFieldAttribute(8, "bNodeTreeTypeHandle", 3, "*typeinfo", "bNodeTreeTypeHandle", true, 224)] + public bNodeTreeTypeHandle typeinfo; + [DNAFieldAttribute(64, "char", 4, "idname[64]", "System.Char[]", false, 232)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(5, "char", "*description", "char", 8, true, 296)] - public char ptr_description; - [DNAFieldAttribute(6, "bGPdata", "*gpd", "bGPdata", 8, true, 304)] - public bGPdata ptr_gpd; - [DNAFieldAttribute(7, "float", "view_center[2]", "System.Single[]", 8, false, 312)] + [DNAFieldAttribute(8, "char", 5, "*description", "char", true, 296)] + public char description; + [DNAFieldAttribute(8, "bGPdata", 6, "*gpd", "bGPdata", true, 304)] + public bGPdata gpd; + [DNAFieldAttribute(8, "float", 7, "view_center[2]", "System.Single[]", false, 312)] public float[] view_center = new System.Single[2]; - [DNAFieldAttribute(8, "ListBase", "nodes", "ListBase", 16, false, 320)] + [DNAFieldAttribute(16, "ListBase", 8, "nodes", "ListBase", false, 320)] public ListBase nodes; - [DNAFieldAttribute(9, "ListBase", "links", "ListBase", 16, false, 336)] + [DNAFieldAttribute(16, "ListBase", 9, "links", "ListBase", false, 336)] public ListBase links; - [DNAFieldAttribute(10, "int", "type", "int", 4, false, 352)] + [DNAFieldAttribute(4, "int", 10, "type", "int", false, 352)] public int type; - [DNAFieldAttribute(11, "int", "cur_index", "int", 4, false, 356)] + [DNAFieldAttribute(4, "int", 11, "cur_index", "int", false, 356)] public int cur_index; - [DNAFieldAttribute(12, "int", "flag", "int", 4, false, 360)] + [DNAFieldAttribute(4, "int", 12, "flag", "int", false, 360)] public int flag; - [DNAFieldAttribute(13, "int", "chunksize", "int", 4, false, 364)] + [DNAFieldAttribute(4, "int", 13, "chunksize", "int", false, 364)] public int chunksize; - [DNAFieldAttribute(14, "int", "execution_mode", "int", 4, false, 368)] + [DNAFieldAttribute(4, "int", 14, "execution_mode", "int", false, 368)] public int execution_mode; - [DNAFieldAttribute(15, "int", "precision", "int", 4, false, 372)] + [DNAFieldAttribute(4, "int", 15, "precision", "int", false, 372)] public int precision; - [DNAFieldAttribute(16, "int", "color_tag", "int", 4, false, 376)] + [DNAFieldAttribute(4, "int", 16, "color_tag", "int", false, 376)] public int color_tag; - [DNAFieldAttribute(17, "int", "default_group_node_width", "int", 4, false, 380)] + [DNAFieldAttribute(4, "int", 17, "default_group_node_width", "int", false, 380)] public int default_group_node_width; - [DNAFieldAttribute(18, "rctf", "viewer_border", "rctf", 16, false, 384)] + [DNAFieldAttribute(16, "rctf", 18, "viewer_border", "rctf", false, 384)] public rctf viewer_border; - [DNAFieldAttribute(19, "ListBase", "inputs", "ListBase", 16, false, 400)] + [DNAFieldAttribute(16, "ListBase", 19, "inputs", "ListBase", false, 400)] public ListBase inputs; - [DNAFieldAttribute(20, "ListBase", "outputs", "ListBase", 16, false, 416)] + [DNAFieldAttribute(16, "ListBase", 20, "outputs", "ListBase", false, 416)] public ListBase outputs; - [DNAFieldAttribute(21, "bNodeTreeInterface", "tree_interface", "bNodeTreeInterface", 64, false, 432)] + [DNAFieldAttribute(64, "bNodeTreeInterface", 21, "tree_interface", "bNodeTreeInterface", false, 432)] public bNodeTreeInterface tree_interface; - [DNAFieldAttribute(22, "NodeInstanceHashHandle", "*previews", "NodeInstanceHashHandle", 8, true, 496)] - public NodeInstanceHashHandle ptr_previews; - [DNAFieldAttribute(23, "bNodeInstanceKey", "active_viewer_key", "bNodeInstanceKey", 4, false, 504)] + [DNAFieldAttribute(8, "NodeInstanceHashHandle", 22, "*previews", "NodeInstanceHashHandle", true, 496)] + public NodeInstanceHashHandle previews; + [DNAFieldAttribute(4, "bNodeInstanceKey", 23, "active_viewer_key", "bNodeInstanceKey", false, 504)] public bNodeInstanceKey active_viewer_key; - [DNAFieldAttribute(24, "int", "nested_node_refs_num", "int", 4, false, 508)] + [DNAFieldAttribute(4, "int", 24, "nested_node_refs_num", "int", false, 508)] public int nested_node_refs_num; - [DNAFieldAttribute(25, "bNestedNodeRef", "*nested_node_refs", "bNestedNodeRef", 8, true, 512)] - public bNestedNodeRef ptr_nested_node_refs; - [DNAFieldAttribute(26, "GeometryNodeAssetTraits", "*geometry_node_asset_traits", "GeometryNodeAssetTraits", 8, true, 520)] - public GeometryNodeAssetTraits ptr_geometry_node_asset_traits; - [DNAFieldAttribute(27, "PreviewImage", "*preview", "PreviewImage", 8, true, 528)] - public PreviewImage ptr_preview; - [DNAFieldAttribute(28, "bNodeTreeRuntimeHandle", "*runtime", "bNodeTreeRuntimeHandle", 8, true, 536)] - public bNodeTreeRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "bNestedNodeRef", 25, "*nested_node_refs", "bNestedNodeRef", true, 512)] + public bNestedNodeRef nested_node_refs; + [DNAFieldAttribute(8, "GeometryNodeAssetTraits", 26, "*geometry_node_asset_traits", "GeometryNodeAssetTraits", true, 520)] + public GeometryNodeAssetTraits geometry_node_asset_traits; + [DNAFieldAttribute(8, "PreviewImage", 27, "*preview", "PreviewImage", true, 528)] + public PreviewImage preview; + [DNAFieldAttribute(8, "bNodeTreeRuntimeHandle", 28, "*runtime", "bNodeTreeRuntimeHandle", true, 536)] + public bNodeTreeRuntimeHandle runtime; public bNodeTree() { this.id = default; - this.ptr_adt = default; - this.ptr_owner_id = default; - this.ptr_typeinfo = default; + this.adt = default; + this.owner_id = default; + this.typeinfo = default; this.idname = default; - this.ptr_description = default; - this.ptr_gpd = default; + this.description = default; + this.gpd = default; this.view_center = default; this.nodes = default; this.links = default; @@ -96,22 +96,22 @@ namespace BlendFile.DNA { this.inputs = default; this.outputs = default; this.tree_interface = default; - this.ptr_previews = default; + this.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; + this.nested_node_refs = default; + this.geometry_node_asset_traits = default; + this.preview = default; + this.runtime = default; } public bNodeTree( ID id, - AnimData ptr_adt, - ID ptr_owner_id, - bNodeTreeTypeHandle ptr_typeinfo, + AnimData adt, + ID owner_id, + bNodeTreeTypeHandle typeinfo, char[] idname, - char ptr_description, - bGPdata ptr_gpd, + char description, + bGPdata gpd, float[] view_center, ListBase nodes, ListBase links, @@ -127,20 +127,20 @@ namespace BlendFile.DNA { ListBase inputs, ListBase outputs, bNodeTreeInterface tree_interface, - NodeInstanceHashHandle ptr_previews, + NodeInstanceHashHandle previews, bNodeInstanceKey active_viewer_key, int nested_node_refs_num, - bNestedNodeRef ptr_nested_node_refs, - GeometryNodeAssetTraits ptr_geometry_node_asset_traits, - PreviewImage ptr_preview, - bNodeTreeRuntimeHandle ptr_runtime) { + bNestedNodeRef nested_node_refs, + GeometryNodeAssetTraits geometry_node_asset_traits, + PreviewImage preview, + bNodeTreeRuntimeHandle runtime) { this.id = id; - this.ptr_adt = ptr_adt; - this.ptr_owner_id = ptr_owner_id; - this.ptr_typeinfo = ptr_typeinfo; + this.adt = adt; + this.owner_id = owner_id; + this.typeinfo = typeinfo; this.idname = idname; - this.ptr_description = ptr_description; - this.ptr_gpd = ptr_gpd; + this.description = description; + this.gpd = gpd; this.view_center = view_center; this.nodes = nodes; this.links = links; @@ -156,13 +156,13 @@ namespace BlendFile.DNA { this.inputs = inputs; this.outputs = outputs; this.tree_interface = tree_interface; - this.ptr_previews = ptr_previews; + this.previews = previews; this.active_viewer_key = active_viewer_key; this.nested_node_refs_num = nested_node_refs_num; - this.ptr_nested_node_refs = ptr_nested_node_refs; - this.ptr_geometry_node_asset_traits = ptr_geometry_node_asset_traits; - this.ptr_preview = ptr_preview; - this.ptr_runtime = ptr_runtime; + this.nested_node_refs = nested_node_refs; + this.geometry_node_asset_traits = geometry_node_asset_traits; + this.preview = preview; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/bNodeTreeInterface.cs b/BlendFile/DNA/bNodeTreeInterface.cs index 5600664..6c8c791 100644 --- a/BlendFile/DNA/bNodeTreeInterface.cs +++ b/BlendFile/DNA/bNodeTreeInterface.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(567, "bNodeTreeInterface", 64)] public class bNodeTreeInterface { - [DNAFieldAttribute(0, "bNodeTreeInterfacePanel", "root_panel", "bNodeTreeInterfacePanel", 48, false, 0)] + [DNAFieldAttribute(48, "bNodeTreeInterfacePanel", 0, "root_panel", "bNodeTreeInterfacePanel", false, 0)] public bNodeTreeInterfacePanel root_panel; - [DNAFieldAttribute(1, "int", "active_index", "int", 4, false, 48)] + [DNAFieldAttribute(4, "int", 1, "active_index", "int", false, 48)] public int active_index; - [DNAFieldAttribute(2, "int", "next_uid", "int", 4, false, 52)] + [DNAFieldAttribute(4, "int", 2, "next_uid", "int", false, 52)] public int next_uid; - [DNAFieldAttribute(3, "bNodeTreeInterfaceRuntimeHandle", "*runtime", "bNodeTreeInterfaceRuntimeHandle", 8, true, 56)] - public bNodeTreeInterfaceRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "bNodeTreeInterfaceRuntimeHandle", 3, "*runtime", "bNodeTreeInterfaceRuntimeHandle", true, 56)] + public bNodeTreeInterfaceRuntimeHandle runtime; public bNodeTreeInterface() { this.root_panel = default; this.active_index = default; this.next_uid = default; - this.ptr_runtime = default; + this.runtime = default; } - public bNodeTreeInterface(bNodeTreeInterfacePanel root_panel, int active_index, int next_uid, bNodeTreeInterfaceRuntimeHandle ptr_runtime) { + public bNodeTreeInterface(bNodeTreeInterfacePanel root_panel, int active_index, int next_uid, bNodeTreeInterfaceRuntimeHandle runtime) { this.root_panel = root_panel; this.active_index = active_index; this.next_uid = next_uid; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/bNodeTreeInterfaceItem.cs b/BlendFile/DNA/bNodeTreeInterfaceItem.cs index e4590eb..458808f 100644 --- a/BlendFile/DNA/bNodeTreeInterfaceItem.cs +++ b/BlendFile/DNA/bNodeTreeInterfaceItem.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(564, "bNodeTreeInterfaceItem", 8)] - public struct bNodeTreeInterfaceItem { - [DNAFieldAttribute(0, "char", "item_type", "char", 1, false, 0)] + public class bNodeTreeInterfaceItem { + [DNAFieldAttribute(1, "char", 0, "item_type", "char", false, 0)] public char item_type; - [DNAFieldAttribute(1, "char", "_pad[7]", "System.Char[]", 7, false, 1)] + [DNAFieldAttribute(7, "char", 1, "_pad[7]", "System.Char[]", false, 1)] public char[] _pad = new System.Char[7]; public bNodeTreeInterfaceItem() { this.item_type = default; diff --git a/BlendFile/DNA/bNodeTreeInterfacePanel.cs b/BlendFile/DNA/bNodeTreeInterfacePanel.cs index 3ce6a6b..af18dcd 100644 --- a/BlendFile/DNA/bNodeTreeInterfacePanel.cs +++ b/BlendFile/DNA/bNodeTreeInterfacePanel.cs @@ -13,41 +13,37 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(566, "bNodeTreeInterfacePanel", 48)] + [DNAClassAttribute(566, "bNodeTreeInterfacePanel", 40)] public class bNodeTreeInterfacePanel { - [DNAFieldAttribute(0, "bNodeTreeInterfaceItem", "item", "bNodeTreeInterfaceItem", 8, false, 0)] + [DNAFieldAttribute(8, "bNodeTreeInterfaceItem", 0, "item", "bNodeTreeInterfaceItem", false, 0)] public bNodeTreeInterfaceItem item; - [DNAFieldAttribute(1, "char", "*name", "char", 8, true, 8)] - public char ptr_name; - [DNAFieldAttribute(2, "char", "*description", "char", 8, true, 16)] - public char ptr_description; - [DNAFieldAttribute(3, "int", "flag", "int", 4, false, 24)] + [DNAFieldAttribute(8, "char", 1, "*name", "char", true, 8)] + public char name; + [DNAFieldAttribute(8, "char", 2, "*description", "char", true, 16)] + public char description; + [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 24)] public int flag; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "bNodeTreeInterfaceItem", "**items_array", "bNodeTreeInterfaceItem", 8, true, 32)] - public bNodeTreeInterfaceItem ptr_ptr_items_array; - [DNAFieldAttribute(6, "int", "items_num", "int", 4, false, 40)] + [DNAFieldAttribute(4, "int", 6, "items_num", "int", false, 32)] public int items_num; - [DNAFieldAttribute(7, "int", "identifier", "int", 4, false, 44)] + [DNAFieldAttribute(4, "int", 7, "identifier", "int", false, 36)] public int identifier; public bNodeTreeInterfacePanel() { this.item = default; - this.ptr_name = default; - this.ptr_description = default; + this.name = default; + this.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) { + public bNodeTreeInterfacePanel(bNodeTreeInterfaceItem item, char name, char description, int flag, char[] _pad, int items_num, int identifier) { this.item = item; - this.ptr_name = ptr_name; - this.ptr_description = ptr_description; + this.name = name; + this.description = description; this.flag = flag; this._pad = _pad; - this.ptr_ptr_items_array = ptr_ptr_items_array; this.items_num = items_num; this.identifier = identifier; } diff --git a/BlendFile/DNA/bNodeTreeInterfaceSocket.cs b/BlendFile/DNA/bNodeTreeInterfaceSocket.cs index 274e657..f922b64 100644 --- a/BlendFile/DNA/bNodeTreeInterfaceSocket.cs +++ b/BlendFile/DNA/bNodeTreeInterfaceSocket.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(565, "bNodeTreeInterfaceSocket", 72)] public class bNodeTreeInterfaceSocket { - [DNAFieldAttribute(0, "bNodeTreeInterfaceItem", "item", "bNodeTreeInterfaceItem", 8, false, 0)] + [DNAFieldAttribute(8, "bNodeTreeInterfaceItem", 0, "item", "bNodeTreeInterfaceItem", false, 0)] public bNodeTreeInterfaceItem item; - [DNAFieldAttribute(1, "char", "*name", "char", 8, true, 8)] - public char ptr_name; - [DNAFieldAttribute(2, "char", "*description", "char", 8, true, 16)] - public char ptr_description; - [DNAFieldAttribute(3, "char", "*socket_type", "char", 8, true, 24)] - public char ptr_socket_type; - [DNAFieldAttribute(4, "int", "flag", "int", 4, false, 32)] + [DNAFieldAttribute(8, "char", 1, "*name", "char", true, 8)] + public char name; + [DNAFieldAttribute(8, "char", 2, "*description", "char", true, 16)] + public char description; + [DNAFieldAttribute(8, "char", 3, "*socket_type", "char", true, 24)] + public char socket_type; + [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 32)] public int flag; - [DNAFieldAttribute(5, "short", "attribute_domain", "short", 2, false, 36)] + [DNAFieldAttribute(2, "short", 5, "attribute_domain", "short", false, 36)] public short attribute_domain; - [DNAFieldAttribute(6, "short", "default_input", "short", 2, false, 38)] + [DNAFieldAttribute(2, "short", 6, "default_input", "short", false, 38)] public short default_input; - [DNAFieldAttribute(7, "char", "*default_attribute_name", "char", 8, true, 40)] - public char ptr_default_attribute_name; - [DNAFieldAttribute(8, "char", "*identifier", "char", 8, true, 48)] - public char ptr_identifier; - [DNAFieldAttribute(9, "void", "*socket_data", "void", 8, true, 56)] - public object ptr_socket_data; - [DNAFieldAttribute(10, "IDProperty", "*properties", "IDProperty", 8, true, 64)] - public IDProperty ptr_properties; + [DNAFieldAttribute(8, "char", 7, "*default_attribute_name", "char", true, 40)] + public char default_attribute_name; + [DNAFieldAttribute(8, "char", 8, "*identifier", "char", true, 48)] + public char identifier; + [DNAFieldAttribute(8, "void", 9, "*socket_data", "void", true, 56)] + public object socket_data; + [DNAFieldAttribute(8, "IDProperty", 10, "*properties", "IDProperty", true, 64)] + public IDProperty properties; public bNodeTreeInterfaceSocket() { this.item = default; - this.ptr_name = default; - this.ptr_description = default; - this.ptr_socket_type = default; + this.name = default; + this.description = default; + this.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; + this.default_attribute_name = default; + this.identifier = default; + this.socket_data = default; + this.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) { + public bNodeTreeInterfaceSocket(bNodeTreeInterfaceItem item, char name, char description, char socket_type, int flag, short attribute_domain, short default_input, char default_attribute_name, char identifier, object socket_data, IDProperty properties) { this.item = item; - this.ptr_name = ptr_name; - this.ptr_description = ptr_description; - this.ptr_socket_type = ptr_socket_type; + this.name = name; + this.description = description; + this.socket_type = socket_type; this.flag = flag; this.attribute_domain = attribute_domain; this.default_input = default_input; - this.ptr_default_attribute_name = ptr_default_attribute_name; - this.ptr_identifier = ptr_identifier; - this.ptr_socket_data = ptr_socket_data; - this.ptr_properties = ptr_properties; + this.default_attribute_name = default_attribute_name; + this.identifier = identifier; + this.socket_data = socket_data; + this.properties = properties; } } } diff --git a/BlendFile/DNA/bNodeTreePath.cs b/BlendFile/DNA/bNodeTreePath.cs index 618da07..0b96bae 100644 --- a/BlendFile/DNA/bNodeTreePath.cs +++ b/BlendFile/DNA/bNodeTreePath.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(955, "bNodeTreePath", 168)] public class bNodeTreePath { - [DNAFieldAttribute(0, "bNodeTreePath", "*next", "bNodeTreePath", 8, true, 0)] - public bNodeTreePath ptr_next; - [DNAFieldAttribute(1, "bNodeTreePath", "*prev", "bNodeTreePath", 8, true, 8)] - public bNodeTreePath ptr_prev; - [DNAFieldAttribute(2, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 16)] - public bNodeTree ptr_nodetree; - [DNAFieldAttribute(3, "bNodeInstanceKey", "parent_key", "bNodeInstanceKey", 4, false, 24)] + [DNAFieldAttribute(8, "bNodeTreePath", 0, "*next", "bNodeTreePath", true, 0)] + public bNodeTreePath next; + [DNAFieldAttribute(8, "bNodeTreePath", 1, "*prev", "bNodeTreePath", true, 8)] + public bNodeTreePath prev; + [DNAFieldAttribute(8, "bNodeTree", 2, "*nodetree", "bNodeTree", true, 16)] + public bNodeTree nodetree; + [DNAFieldAttribute(4, "bNodeInstanceKey", 3, "parent_key", "bNodeInstanceKey", false, 24)] public bNodeInstanceKey parent_key; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "float", "view_center[2]", "System.Single[]", 8, false, 32)] + [DNAFieldAttribute(8, "float", 5, "view_center[2]", "System.Single[]", false, 32)] public float[] view_center = new System.Single[2]; - [DNAFieldAttribute(6, "char", "node_name[64]", "System.Char[]", 64, false, 40)] + [DNAFieldAttribute(64, "char", 6, "node_name[64]", "System.Char[]", false, 40)] public char[] node_name = new System.Char[64]; - [DNAFieldAttribute(7, "char", "display_name[64]", "System.Char[]", 64, false, 104)] + [DNAFieldAttribute(64, "char", 7, "display_name[64]", "System.Char[]", false, 104)] public char[] display_name = new System.Char[64]; public bNodeTreePath() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_nodetree = default; + this.next = default; + this.prev = default; + this.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; - this.ptr_nodetree = ptr_nodetree; + public bNodeTreePath(bNodeTreePath next, bNodeTreePath prev, bNodeTree nodetree, bNodeInstanceKey parent_key, char[] _pad, float[] view_center, char[] node_name, char[] display_name) { + this.next = next; + this.prev = prev; + this.nodetree = nodetree; this.parent_key = parent_key; this._pad = _pad; this.view_center = view_center; diff --git a/BlendFile/DNA/bObjectSolverConstraint.cs b/BlendFile/DNA/bObjectSolverConstraint.cs index 8338dfa..b5b8852 100644 --- a/BlendFile/DNA/bObjectSolverConstraint.cs +++ b/BlendFile/DNA/bObjectSolverConstraint.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(203, "bObjectSolverConstraint", 152)] public class bObjectSolverConstraint { - [DNAFieldAttribute(0, "MovieClip", "*clip", "MovieClip", 8, true, 0)] - public MovieClip ptr_clip; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "MovieClip", 0, "*clip", "MovieClip", true, 0)] + public MovieClip clip; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "char", "_pad[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(3, "char", "object[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 3, "object[64]", "System.Char[]", false, 16)] public char[] @object = new System.Char[64]; - [DNAFieldAttribute(4, "float", "invmat[4][4]", "System.Single[,]", 64, false, 80)] + [DNAFieldAttribute(64, "float", 4, "invmat[4][4]", "System.Single[,]", false, 80)] public float[,] invmat = new System.Single[4,4]; - [DNAFieldAttribute(5, "Object", "*camera", "Object", 8, true, 144)] - public Object ptr_camera; + [DNAFieldAttribute(8, "Object", 5, "*camera", "Object", true, 144)] + public Object camera; public bObjectSolverConstraint() { - this.ptr_clip = default; + this.clip = default; this.flag = default; this._pad = default; this.@object = default; this.invmat = default; - this.ptr_camera = default; + this.camera = default; } - public bObjectSolverConstraint(MovieClip ptr_clip, int flag, char[] _pad, char[] @object, float[,] invmat, Object ptr_camera) { - this.ptr_clip = ptr_clip; + public bObjectSolverConstraint(MovieClip clip, int flag, char[] _pad, char[] @object, float[,] invmat, Object camera) { + this.clip = clip; this.flag = flag; this._pad = _pad; this.@object = @object; this.invmat = invmat; - this.ptr_camera = ptr_camera; + this.camera = camera; } } } diff --git a/BlendFile/DNA/bPathCompare.cs b/BlendFile/DNA/bPathCompare.cs index acc5206..0f93842 100644 --- a/BlendFile/DNA/bPathCompare.cs +++ b/BlendFile/DNA/bPathCompare.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(999, "bPathCompare", 792)] public class bPathCompare { - [DNAFieldAttribute(0, "bPathCompare", "*next", "bPathCompare", 8, true, 0)] - public bPathCompare ptr_next; - [DNAFieldAttribute(1, "bPathCompare", "*prev", "bPathCompare", 8, true, 8)] - public bPathCompare ptr_prev; - [DNAFieldAttribute(2, "char", "path[768]", "System.Char[]", 768, false, 16)] + [DNAFieldAttribute(8, "bPathCompare", 0, "*next", "bPathCompare", true, 0)] + public bPathCompare next; + [DNAFieldAttribute(8, "bPathCompare", 1, "*prev", "bPathCompare", true, 8)] + public bPathCompare prev; + [DNAFieldAttribute(768, "char", 2, "path[768]", "System.Char[]", false, 16)] public char[] path = new System.Char[768]; - [DNAFieldAttribute(3, "char", "flag", "char", 1, false, 784)] + [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 784)] public char flag; - [DNAFieldAttribute(4, "char", "_pad0[7]", "System.Char[]", 7, false, 785)] + [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 785)] public char[] _pad0 = new System.Char[7]; public bPathCompare() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bPathCompare(bPathCompare next, bPathCompare prev, char[] path, char flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.path = path; this.flag = flag; this._pad0 = _pad0; diff --git a/BlendFile/DNA/bPivotConstraint.cs b/BlendFile/DNA/bPivotConstraint.cs index d1ecda4..f14a709 100644 --- a/BlendFile/DNA/bPivotConstraint.cs +++ b/BlendFile/DNA/bPivotConstraint.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(195, "bPivotConstraint", 88)] public class bPivotConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "char", "subtarget[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", false, 8)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(2, "float", "offset[3]", "System.Single[]", 12, false, 72)] + [DNAFieldAttribute(12, "float", 2, "offset[3]", "System.Single[]", false, 72)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(3, "short", "rotAxis", "short", 2, false, 84)] + [DNAFieldAttribute(2, "short", 3, "rotAxis", "short", false, 84)] public short rotAxis; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 86)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 86)] public short flag; public bPivotConstraint() { - this.ptr_tar = default; + this.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; + public bPivotConstraint(Object tar, char[] subtarget, float[] offset, short rotAxis, short flag) { + this.tar = tar; this.subtarget = subtarget; this.offset = offset; this.rotAxis = rotAxis; diff --git a/BlendFile/DNA/bPose.cs b/BlendFile/DNA/bPose.cs index 183d49d..dd7da50 100644 --- a/BlendFile/DNA/bPose.cs +++ b/BlendFile/DNA/bPose.cs @@ -13,40 +13,37 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(58, "bPose", 136)] + [DNAClassAttribute(58, "bPose", 128)] public class bPose { - [DNAFieldAttribute(0, "ListBase", "chanbase", "ListBase", 16, false, 0)] + [DNAFieldAttribute(16, "ListBase", 0, "chanbase", "ListBase", false, 0)] public ListBase chanbase; - [DNAFieldAttribute(1, "GHash", "*chanhash", "GHash", 8, true, 16)] - public GHash ptr_chanhash; - [DNAFieldAttribute(2, "bPoseChannel", "**chan_array", "bPoseChannel", 8, true, 24)] - public bPoseChannel ptr_ptr_chan_array; - [DNAFieldAttribute(3, "short", "flag", "short", 2, false, 32)] + [DNAFieldAttribute(8, "GHash", 1, "*chanhash", "GHash", true, 16)] + public GHash chanhash; + [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 34)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 26)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(5, "float", "ctime", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 5, "ctime", "float", false, 28)] public float ctime; - [DNAFieldAttribute(6, "float", "stride_offset[3]", "System.Single[]", 12, false, 40)] + [DNAFieldAttribute(12, "float", 6, "stride_offset[3]", "System.Single[]", false, 32)] public float[] stride_offset = new System.Single[3]; - [DNAFieldAttribute(7, "float", "cyclic_offset[3]", "System.Single[]", 12, false, 52)] + [DNAFieldAttribute(12, "float", 7, "cyclic_offset[3]", "System.Single[]", false, 44)] public float[] cyclic_offset = new System.Single[3]; - [DNAFieldAttribute(8, "ListBase", "agroups", "ListBase", 16, false, 64)] + [DNAFieldAttribute(16, "ListBase", 8, "agroups", "ListBase", false, 56)] public ListBase agroups; - [DNAFieldAttribute(9, "int", "active_group", "int", 4, false, 80)] + [DNAFieldAttribute(4, "int", 9, "active_group", "int", false, 72)] public int active_group; - [DNAFieldAttribute(10, "int", "iksolver", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 10, "iksolver", "int", false, 76)] public int iksolver; - [DNAFieldAttribute(11, "void", "*ikdata", "void", 8, true, 88)] - public object ptr_ikdata; - [DNAFieldAttribute(12, "void", "*ikparam", "void", 8, true, 96)] - public object ptr_ikparam; - [DNAFieldAttribute(13, "bAnimVizSettings", "avs", "bAnimVizSettings", 32, false, 104)] + [DNAFieldAttribute(8, "void", 11, "*ikdata", "void", true, 80)] + public object ikdata; + [DNAFieldAttribute(8, "void", 12, "*ikparam", "void", true, 88)] + public object ikparam; + [DNAFieldAttribute(32, "bAnimVizSettings", 13, "avs", "bAnimVizSettings", false, 96)] public bAnimVizSettings avs; public bPose() { this.chanbase = default; - this.ptr_chanhash = default; - this.ptr_ptr_chan_array = default; + this.chanhash = default; this.flag = default; this._pad = default; this.ctime = default; @@ -55,14 +52,13 @@ namespace BlendFile.DNA { this.agroups = default; this.active_group = default; this.iksolver = default; - this.ptr_ikdata = default; - this.ptr_ikparam = default; + this.ikdata = default; + this.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) { + public bPose(ListBase chanbase, GHash chanhash, short flag, char[] _pad, float ctime, float[] stride_offset, float[] cyclic_offset, ListBase agroups, int active_group, int iksolver, object ikdata, object ikparam, bAnimVizSettings avs) { this.chanbase = chanbase; - this.ptr_chanhash = ptr_chanhash; - this.ptr_ptr_chan_array = ptr_ptr_chan_array; + this.chanhash = chanhash; this.flag = flag; this._pad = _pad; this.ctime = ctime; @@ -71,8 +67,8 @@ namespace BlendFile.DNA { this.agroups = agroups; this.active_group = active_group; this.iksolver = iksolver; - this.ptr_ikdata = ptr_ikdata; - this.ptr_ikparam = ptr_ikparam; + this.ikdata = ikdata; + this.ikparam = ikparam; this.avs = avs; } } diff --git a/BlendFile/DNA/bPoseChannel.cs b/BlendFile/DNA/bPoseChannel.cs index 91d946f..27b5b1d 100644 --- a/BlendFile/DNA/bPoseChannel.cs +++ b/BlendFile/DNA/bPoseChannel.cs @@ -15,148 +15,148 @@ namespace BlendFile.DNA { [DNAClassAttribute(53, "bPoseChannel", 1016)] public class bPoseChannel { - [DNAFieldAttribute(0, "bPoseChannel", "*next", "bPoseChannel", 8, true, 0)] - public bPoseChannel ptr_next; - [DNAFieldAttribute(1, "bPoseChannel", "*prev", "bPoseChannel", 8, true, 8)] - public bPoseChannel ptr_prev; - [DNAFieldAttribute(2, "IDProperty", "*prop", "IDProperty", 8, true, 16)] - public IDProperty ptr_prop; - [DNAFieldAttribute(3, "ListBase", "constraints", "ListBase", 16, false, 24)] + [DNAFieldAttribute(8, "bPoseChannel", 0, "*next", "bPoseChannel", true, 0)] + public bPoseChannel next; + [DNAFieldAttribute(8, "bPoseChannel", 1, "*prev", "bPoseChannel", true, 8)] + public bPoseChannel prev; + [DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 16)] + public IDProperty prop; + [DNAFieldAttribute(16, "ListBase", 3, "constraints", "ListBase", false, 24)] public ListBase constraints; - [DNAFieldAttribute(4, "char", "name[64]", "System.Char[]", 64, false, 40)] + [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 40)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 104)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 104)] public short flag; - [DNAFieldAttribute(6, "short", "ikflag", "short", 2, false, 106)] + [DNAFieldAttribute(2, "short", 6, "ikflag", "short", false, 106)] public short ikflag; - [DNAFieldAttribute(7, "short", "protectflag", "short", 2, false, 108)] + [DNAFieldAttribute(2, "short", 7, "protectflag", "short", false, 108)] public short protectflag; - [DNAFieldAttribute(8, "short", "agrp_index", "short", 2, false, 110)] + [DNAFieldAttribute(2, "short", 8, "agrp_index", "short", false, 110)] public short agrp_index; - [DNAFieldAttribute(9, "char", "constflag", "char", 1, false, 112)] + [DNAFieldAttribute(1, "char", 9, "constflag", "char", false, 112)] public char constflag; - [DNAFieldAttribute(10, "char", "selectflag", "char", 1, false, 113)] + [DNAFieldAttribute(1, "char", 10, "selectflag", "char", false, 113)] public char selectflag; - [DNAFieldAttribute(11, "char", "drawflag", "char", 1, false, 114)] + [DNAFieldAttribute(1, "char", 11, "drawflag", "char", false, 114)] public char drawflag; - [DNAFieldAttribute(12, "char", "bboneflag", "char", 1, false, 115)] + [DNAFieldAttribute(1, "char", 12, "bboneflag", "char", false, 115)] public char bboneflag; - [DNAFieldAttribute(13, "char", "_pad0[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 13, "_pad0[4]", "System.Char[]", false, 116)] public char[] _pad0 = new System.Char[4]; - [DNAFieldAttribute(14, "Bone", "*bone", "Bone", 8, true, 120)] - public Bone ptr_bone; - [DNAFieldAttribute(15, "bPoseChannel", "*parent", "bPoseChannel", 8, true, 128)] - public bPoseChannel ptr_parent; - [DNAFieldAttribute(16, "bPoseChannel", "*child", "bPoseChannel", 8, true, 136)] - public bPoseChannel ptr_child; - [DNAFieldAttribute(17, "ListBase", "iktree", "ListBase", 16, false, 144)] + [DNAFieldAttribute(8, "Bone", 14, "*bone", "Bone", true, 120)] + public Bone bone; + [DNAFieldAttribute(8, "bPoseChannel", 15, "*parent", "bPoseChannel", true, 128)] + public bPoseChannel parent; + [DNAFieldAttribute(8, "bPoseChannel", 16, "*child", "bPoseChannel", true, 136)] + public bPoseChannel child; + [DNAFieldAttribute(16, "ListBase", 17, "iktree", "ListBase", false, 144)] public ListBase iktree; - [DNAFieldAttribute(18, "ListBase", "siktree", "ListBase", 16, false, 160)] + [DNAFieldAttribute(16, "ListBase", 18, "siktree", "ListBase", false, 160)] public ListBase siktree; - [DNAFieldAttribute(19, "bMotionPath", "*mpath", "bMotionPath", 8, true, 176)] - public bMotionPath ptr_mpath; - [DNAFieldAttribute(20, "Object", "*custom", "Object", 8, true, 184)] - public Object ptr_custom; - [DNAFieldAttribute(21, "bPoseChannel", "*custom_tx", "bPoseChannel", 8, true, 192)] - public bPoseChannel ptr_custom_tx; - [DNAFieldAttribute(22, "float", "custom_scale", "float", 4, false, 200)] + [DNAFieldAttribute(8, "bMotionPath", 19, "*mpath", "bMotionPath", true, 176)] + public bMotionPath mpath; + [DNAFieldAttribute(8, "Object", 20, "*custom", "Object", true, 184)] + public Object custom; + [DNAFieldAttribute(8, "bPoseChannel", 21, "*custom_tx", "bPoseChannel", true, 192)] + public bPoseChannel custom_tx; + [DNAFieldAttribute(4, "float", 22, "custom_scale", "float", false, 200)] public float custom_scale; - [DNAFieldAttribute(23, "float", "custom_scale_xyz[3]", "System.Single[]", 12, false, 204)] + [DNAFieldAttribute(12, "float", 23, "custom_scale_xyz[3]", "System.Single[]", false, 204)] public float[] custom_scale_xyz = new System.Single[3]; - [DNAFieldAttribute(24, "float", "custom_translation[3]", "System.Single[]", 12, false, 216)] + [DNAFieldAttribute(12, "float", 24, "custom_translation[3]", "System.Single[]", false, 216)] public float[] custom_translation = new System.Single[3]; - [DNAFieldAttribute(25, "float", "custom_rotation_euler[3]", "System.Single[]", 12, false, 228)] + [DNAFieldAttribute(12, "float", 25, "custom_rotation_euler[3]", "System.Single[]", false, 228)] public float[] custom_rotation_euler = new System.Single[3]; - [DNAFieldAttribute(26, "float", "custom_shape_wire_width", "float", 4, false, 240)] + [DNAFieldAttribute(4, "float", 26, "custom_shape_wire_width", "float", false, 240)] public float custom_shape_wire_width; - [DNAFieldAttribute(27, "float", "loc[3]", "System.Single[]", 12, false, 244)] + [DNAFieldAttribute(12, "float", 27, "loc[3]", "System.Single[]", false, 244)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(28, "float", "size[3]", "System.Single[]", 12, false, 256)] + [DNAFieldAttribute(12, "float", 28, "size[3]", "System.Single[]", false, 256)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(29, "float", "eul[3]", "System.Single[]", 12, false, 268)] + [DNAFieldAttribute(12, "float", 29, "eul[3]", "System.Single[]", false, 268)] public float[] eul = new System.Single[3]; - [DNAFieldAttribute(30, "float", "quat[4]", "System.Single[]", 16, false, 280)] + [DNAFieldAttribute(16, "float", 30, "quat[4]", "System.Single[]", false, 280)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(31, "float", "rotAxis[3]", "System.Single[]", 12, false, 296)] + [DNAFieldAttribute(12, "float", 31, "rotAxis[3]", "System.Single[]", false, 296)] public float[] rotAxis = new System.Single[3]; - [DNAFieldAttribute(32, "float", "rotAngle", "float", 4, false, 308)] + [DNAFieldAttribute(4, "float", 32, "rotAngle", "float", false, 308)] public float rotAngle; - [DNAFieldAttribute(33, "short", "rotmode", "short", 2, false, 312)] + [DNAFieldAttribute(2, "short", 33, "rotmode", "short", false, 312)] public short rotmode; - [DNAFieldAttribute(34, "char", "_pad[6]", "System.Char[]", 6, false, 314)] + [DNAFieldAttribute(6, "char", 34, "_pad[6]", "System.Char[]", false, 314)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(35, "float", "chan_mat[4][4]", "System.Single[,]", 64, false, 320)] + [DNAFieldAttribute(64, "float", 35, "chan_mat[4][4]", "System.Single[,]", false, 320)] public float[,] chan_mat = new System.Single[4,4]; - [DNAFieldAttribute(36, "float", "pose_mat[4][4]", "System.Single[,]", 64, false, 384)] + [DNAFieldAttribute(64, "float", 36, "pose_mat[4][4]", "System.Single[,]", false, 384)] public float[,] pose_mat = new System.Single[4,4]; - [DNAFieldAttribute(37, "float", "disp_mat[4][4]", "System.Single[,]", 64, false, 448)] + [DNAFieldAttribute(64, "float", 37, "disp_mat[4][4]", "System.Single[,]", false, 448)] public float[,] disp_mat = new System.Single[4,4]; - [DNAFieldAttribute(38, "float", "disp_tail_mat[4][4]", "System.Single[,]", 64, false, 512)] + [DNAFieldAttribute(64, "float", 38, "disp_tail_mat[4][4]", "System.Single[,]", false, 512)] public float[,] disp_tail_mat = new System.Single[4,4]; - [DNAFieldAttribute(39, "float", "constinv[4][4]", "System.Single[,]", 64, false, 576)] + [DNAFieldAttribute(64, "float", 39, "constinv[4][4]", "System.Single[,]", false, 576)] public float[,] constinv = new System.Single[4,4]; - [DNAFieldAttribute(40, "float", "pose_head[3]", "System.Single[]", 12, false, 640)] + [DNAFieldAttribute(12, "float", 40, "pose_head[3]", "System.Single[]", false, 640)] public float[] pose_head = new System.Single[3]; - [DNAFieldAttribute(41, "float", "pose_tail[3]", "System.Single[]", 12, false, 652)] + [DNAFieldAttribute(12, "float", 41, "pose_tail[3]", "System.Single[]", false, 652)] public float[] pose_tail = new System.Single[3]; - [DNAFieldAttribute(42, "float", "limitmin[3]", "System.Single[]", 12, false, 664)] + [DNAFieldAttribute(12, "float", 42, "limitmin[3]", "System.Single[]", false, 664)] public float[] limitmin = new System.Single[3]; - [DNAFieldAttribute(43, "float", "limitmax[3]", "System.Single[]", 12, false, 676)] + [DNAFieldAttribute(12, "float", 43, "limitmax[3]", "System.Single[]", false, 676)] public float[] limitmax = new System.Single[3]; - [DNAFieldAttribute(44, "float", "stiffness[3]", "System.Single[]", 12, false, 688)] + [DNAFieldAttribute(12, "float", 44, "stiffness[3]", "System.Single[]", false, 688)] public float[] stiffness = new System.Single[3]; - [DNAFieldAttribute(45, "float", "ikstretch", "float", 4, false, 700)] + [DNAFieldAttribute(4, "float", 45, "ikstretch", "float", false, 700)] public float ikstretch; - [DNAFieldAttribute(46, "float", "ikrotweight", "float", 4, false, 704)] + [DNAFieldAttribute(4, "float", 46, "ikrotweight", "float", false, 704)] public float ikrotweight; - [DNAFieldAttribute(47, "float", "iklinweight", "float", 4, false, 708)] + [DNAFieldAttribute(4, "float", 47, "iklinweight", "float", false, 708)] public float iklinweight; - [DNAFieldAttribute(48, "float", "roll1", "float", 4, false, 712)] + [DNAFieldAttribute(4, "float", 48, "roll1", "float", false, 712)] public float roll1; - [DNAFieldAttribute(49, "float", "roll2", "float", 4, false, 716)] + [DNAFieldAttribute(4, "float", 49, "roll2", "float", false, 716)] public float roll2; - [DNAFieldAttribute(50, "float", "curveInX", "float", 4, false, 720)] + [DNAFieldAttribute(4, "float", 50, "curveInX", "float", false, 720)] public float curveInX; - [DNAFieldAttribute(51, "float", "curveInY", "float", 4, false, 724)] + [DNAFieldAttribute(4, "float", 51, "curveInY", "float", false, 724)] public float curveInY; - [DNAFieldAttribute(52, "float", "curveOutX", "float", 4, false, 728)] + [DNAFieldAttribute(4, "float", 52, "curveOutX", "float", false, 728)] public float curveOutX; - [DNAFieldAttribute(53, "float", "curveOutY", "float", 4, false, 732)] + [DNAFieldAttribute(4, "float", 53, "curveOutY", "float", false, 732)] public float curveOutY; - [DNAFieldAttribute(54, "float", "ease1", "float", 4, false, 736)] + [DNAFieldAttribute(4, "float", 54, "ease1", "float", false, 736)] public float ease1; - [DNAFieldAttribute(55, "float", "ease2", "float", 4, false, 740)] + [DNAFieldAttribute(4, "float", 55, "ease2", "float", false, 740)] public float ease2; - [DNAFieldAttribute(56, "float", "scaleIn", "float", 4, false, 744)] + [DNAFieldAttribute(4, "float", 56, "scaleIn", "float", false, 744)] public float scaleIn; - [DNAFieldAttribute(57, "float", "scale_in_y", "float", 4, false, 748)] + [DNAFieldAttribute(4, "float", 57, "scale_in_y", "float", false, 748)] public float scale_in_y; - [DNAFieldAttribute(58, "float", "scaleOut", "float", 4, false, 752)] + [DNAFieldAttribute(4, "float", 58, "scaleOut", "float", false, 752)] public float scaleOut; - [DNAFieldAttribute(59, "float", "scale_out_y", "float", 4, false, 756)] + [DNAFieldAttribute(4, "float", 59, "scale_out_y", "float", false, 756)] public float scale_out_y; - [DNAFieldAttribute(60, "float", "scale_in[3]", "System.Single[]", 12, false, 760)] + [DNAFieldAttribute(12, "float", 60, "scale_in[3]", "System.Single[]", false, 760)] public float[] scale_in = new System.Single[3]; - [DNAFieldAttribute(61, "float", "scale_out[3]", "System.Single[]", 12, false, 772)] + [DNAFieldAttribute(12, "float", 61, "scale_out[3]", "System.Single[]", false, 772)] public float[] scale_out = new System.Single[3]; - [DNAFieldAttribute(62, "bPoseChannel", "*bbone_prev", "bPoseChannel", 8, true, 784)] - public bPoseChannel ptr_bbone_prev; - [DNAFieldAttribute(63, "bPoseChannel", "*bbone_next", "bPoseChannel", 8, true, 792)] - public bPoseChannel ptr_bbone_next; - [DNAFieldAttribute(64, "void", "*temp", "void", 8, true, 800)] - public object ptr_temp; - [DNAFieldAttribute(65, "bPoseChannelDrawData", "*draw_data", "bPoseChannelDrawData", 8, true, 808)] - public bPoseChannelDrawData ptr_draw_data; - [DNAFieldAttribute(66, "bPoseChannel", "*orig_pchan", "bPoseChannel", 8, true, 816)] - public bPoseChannel ptr_orig_pchan; - [DNAFieldAttribute(67, "BoneColor", "color", "BoneColor", 24, false, 824)] + [DNAFieldAttribute(8, "bPoseChannel", 62, "*bbone_prev", "bPoseChannel", true, 784)] + public bPoseChannel bbone_prev; + [DNAFieldAttribute(8, "bPoseChannel", 63, "*bbone_next", "bPoseChannel", true, 792)] + public bPoseChannel bbone_next; + [DNAFieldAttribute(8, "void", 64, "*temp", "void", true, 800)] + public object temp; + [DNAFieldAttribute(8, "bPoseChannelDrawData", 65, "*draw_data", "bPoseChannelDrawData", true, 808)] + public bPoseChannelDrawData draw_data; + [DNAFieldAttribute(8, "bPoseChannel", 66, "*orig_pchan", "bPoseChannel", true, 816)] + public bPoseChannel orig_pchan; + [DNAFieldAttribute(24, "BoneColor", 67, "color", "BoneColor", false, 824)] public BoneColor color; - [DNAFieldAttribute(68, "bPoseChannel_Runtime", "runtime", "bPoseChannel_Runtime", 168, false, 848)] + [DNAFieldAttribute(168, "bPoseChannel_Runtime", 68, "runtime", "bPoseChannel_Runtime", false, 848)] public bPoseChannel_Runtime runtime; public bPoseChannel() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_prop = default; + this.next = default; + this.prev = default; + this.prop = default; this.constraints = default; this.name = default; this.flag = default; @@ -168,14 +168,14 @@ namespace BlendFile.DNA { this.drawflag = default; this.bboneflag = default; this._pad0 = default; - this.ptr_bone = default; - this.ptr_parent = default; - this.ptr_child = default; + this.bone = default; + this.parent = default; + this.child = default; this.iktree = default; this.siktree = default; - this.ptr_mpath = default; - this.ptr_custom = default; - this.ptr_custom_tx = default; + this.mpath = default; + this.custom = default; + this.custom_tx = default; this.custom_scale = default; this.custom_scale_xyz = default; this.custom_translation = default; @@ -216,18 +216,18 @@ namespace BlendFile.DNA { 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.bbone_prev = default; + this.bbone_next = default; + this.temp = default; + this.draw_data = default; + this.orig_pchan = default; this.color = default; this.runtime = default; } public bPoseChannel( - bPoseChannel ptr_next, - bPoseChannel ptr_prev, - IDProperty ptr_prop, + bPoseChannel next, + bPoseChannel prev, + IDProperty prop, ListBase constraints, char[] name, short flag, @@ -239,14 +239,14 @@ namespace BlendFile.DNA { char drawflag, char bboneflag, char[] _pad0, - Bone ptr_bone, - bPoseChannel ptr_parent, - bPoseChannel ptr_child, + Bone bone, + bPoseChannel parent, + bPoseChannel child, ListBase iktree, ListBase siktree, - bMotionPath ptr_mpath, - Object ptr_custom, - bPoseChannel ptr_custom_tx, + bMotionPath mpath, + Object custom, + bPoseChannel custom_tx, float custom_scale, float[] custom_scale_xyz, float[] custom_translation, @@ -287,16 +287,16 @@ namespace BlendFile.DNA { float scale_out_y, float[] scale_in, float[] scale_out, - bPoseChannel ptr_bbone_prev, - bPoseChannel ptr_bbone_next, - object ptr_temp, - bPoseChannelDrawData ptr_draw_data, - bPoseChannel ptr_orig_pchan, + bPoseChannel bbone_prev, + bPoseChannel bbone_next, + object temp, + bPoseChannelDrawData draw_data, + bPoseChannel orig_pchan, BoneColor color, bPoseChannel_Runtime runtime) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_prop = ptr_prop; + this.next = next; + this.prev = prev; + this.prop = prop; this.constraints = constraints; this.name = name; this.flag = flag; @@ -308,14 +308,14 @@ namespace BlendFile.DNA { this.drawflag = drawflag; this.bboneflag = bboneflag; this._pad0 = _pad0; - this.ptr_bone = ptr_bone; - this.ptr_parent = ptr_parent; - this.ptr_child = ptr_child; + this.bone = bone; + this.parent = parent; + this.child = child; this.iktree = iktree; this.siktree = siktree; - this.ptr_mpath = ptr_mpath; - this.ptr_custom = ptr_custom; - this.ptr_custom_tx = ptr_custom_tx; + this.mpath = mpath; + this.custom = custom; + this.custom_tx = custom_tx; this.custom_scale = custom_scale; this.custom_scale_xyz = custom_scale_xyz; this.custom_translation = custom_translation; @@ -356,11 +356,11 @@ namespace BlendFile.DNA { this.scale_out_y = scale_out_y; this.scale_in = scale_in; this.scale_out = scale_out; - this.ptr_bbone_prev = ptr_bbone_prev; - this.ptr_bbone_next = ptr_bbone_next; - this.ptr_temp = ptr_temp; - this.ptr_draw_data = ptr_draw_data; - this.ptr_orig_pchan = ptr_orig_pchan; + this.bbone_prev = bbone_prev; + this.bbone_next = bbone_next; + this.temp = temp; + this.draw_data = draw_data; + this.orig_pchan = orig_pchan; this.color = color; this.runtime = runtime; } diff --git a/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs b/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs index 4d194ba..f30c28a 100644 --- a/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs +++ b/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(48, "bPoseChannel_BBoneSegmentBoundary", 32)] - public struct bPoseChannel_BBoneSegmentBoundary { - [DNAFieldAttribute(0, "float", "point[3]", "System.Single[]", 12, false, 0)] + public class bPoseChannel_BBoneSegmentBoundary { + [DNAFieldAttribute(12, "float", 0, "point[3]", "System.Single[]", false, 0)] public float[] point = new System.Single[3]; - [DNAFieldAttribute(1, "float", "plane_normal[3]", "System.Single[]", 12, false, 12)] + [DNAFieldAttribute(12, "float", 1, "plane_normal[3]", "System.Single[]", false, 12)] public float[] plane_normal = new System.Single[3]; - [DNAFieldAttribute(2, "float", "plane_offset", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 2, "plane_offset", "float", false, 24)] public float plane_offset; - [DNAFieldAttribute(3, "float", "depth_scale", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 3, "depth_scale", "float", false, 28)] public float depth_scale; public bPoseChannel_BBoneSegmentBoundary() { this.point = default; diff --git a/BlendFile/DNA/bPoseChannel_Runtime.cs b/BlendFile/DNA/bPoseChannel_Runtime.cs index a0675be..4fce7e1 100644 --- a/BlendFile/DNA/bPoseChannel_Runtime.cs +++ b/BlendFile/DNA/bPoseChannel_Runtime.cs @@ -15,53 +15,53 @@ namespace BlendFile.DNA { [DNAClassAttribute(49, "bPoseChannel_Runtime", 168)] public class bPoseChannel_Runtime { - [DNAFieldAttribute(0, "SessionUID", "session_uid", "SessionUID", 8, false, 0)] + [DNAFieldAttribute(8, "SessionUID", 0, "session_uid", "SessionUID", false, 0)] public SessionUID session_uid; - [DNAFieldAttribute(1, "DualQuat", "deform_dual_quat", "DualQuat", 100, false, 8)] + [DNAFieldAttribute(100, "DualQuat", 1, "deform_dual_quat", "DualQuat", false, 8)] public DualQuat deform_dual_quat; - [DNAFieldAttribute(2, "int", "bbone_segments", "int", 4, false, 108)] + [DNAFieldAttribute(4, "int", 2, "bbone_segments", "int", false, 108)] public int bbone_segments; - [DNAFieldAttribute(3, "float", "bbone_arc_length_reciprocal", "float", 4, false, 112)] + [DNAFieldAttribute(4, "float", 3, "bbone_arc_length_reciprocal", "float", false, 112)] public float bbone_arc_length_reciprocal; - [DNAFieldAttribute(4, "char", "_pad1[4]", "System.Char[]", 4, false, 116)] + [DNAFieldAttribute(4, "char", 4, "_pad1[4]", "System.Char[]", false, 116)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(5, "Mat4", "*bbone_rest_mats", "Mat4", 8, true, 120)] - public Mat4 ptr_bbone_rest_mats; - [DNAFieldAttribute(6, "Mat4", "*bbone_pose_mats", "Mat4", 8, true, 128)] - public Mat4 ptr_bbone_pose_mats; - [DNAFieldAttribute(7, "Mat4", "*bbone_deform_mats", "Mat4", 8, true, 136)] - public Mat4 ptr_bbone_deform_mats; - [DNAFieldAttribute(8, "DualQuat", "*bbone_dual_quats", "DualQuat", 8, true, 144)] - public DualQuat ptr_bbone_dual_quats; - [DNAFieldAttribute(9, "bPoseChannel_BBoneSegmentBoundary", "*bbone_segment_boundaries", "bPoseChannel_BBoneSegmentBoundary", 8, true, 152)] - public bPoseChannel_BBoneSegmentBoundary ptr_bbone_segment_boundaries; - [DNAFieldAttribute(10, "void", "*_pad", "void", 8, true, 160)] - public object ptr__pad; + [DNAFieldAttribute(8, "Mat4", 5, "*bbone_rest_mats", "Mat4", true, 120)] + public Mat4 bbone_rest_mats; + [DNAFieldAttribute(8, "Mat4", 6, "*bbone_pose_mats", "Mat4", true, 128)] + public Mat4 bbone_pose_mats; + [DNAFieldAttribute(8, "Mat4", 7, "*bbone_deform_mats", "Mat4", true, 136)] + public Mat4 bbone_deform_mats; + [DNAFieldAttribute(8, "DualQuat", 8, "*bbone_dual_quats", "DualQuat", true, 144)] + public DualQuat bbone_dual_quats; + [DNAFieldAttribute(8, "bPoseChannel_BBoneSegmentBoundary", 9, "*bbone_segment_boundaries", "bPoseChannel_BBoneSegmentBoundary", true, 152)] + public bPoseChannel_BBoneSegmentBoundary bbone_segment_boundaries; + [DNAFieldAttribute(8, "void", 10, "*_pad", "void", true, 160)] + public object _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; + this.bbone_rest_mats = default; + this.bbone_pose_mats = default; + this.bbone_deform_mats = default; + this.bbone_dual_quats = default; + this.bbone_segment_boundaries = default; + this._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) { + public bPoseChannel_Runtime(SessionUID session_uid, DualQuat deform_dual_quat, int bbone_segments, float bbone_arc_length_reciprocal, char[] _pad1, Mat4 bbone_rest_mats, Mat4 bbone_pose_mats, Mat4 bbone_deform_mats, DualQuat bbone_dual_quats, bPoseChannel_BBoneSegmentBoundary bbone_segment_boundaries, object _pad) { this.session_uid = session_uid; this.deform_dual_quat = deform_dual_quat; this.bbone_segments = bbone_segments; this.bbone_arc_length_reciprocal = bbone_arc_length_reciprocal; this._pad1 = _pad1; - this.ptr_bbone_rest_mats = ptr_bbone_rest_mats; - this.ptr_bbone_pose_mats = ptr_bbone_pose_mats; - this.ptr_bbone_deform_mats = ptr_bbone_deform_mats; - this.ptr_bbone_dual_quats = ptr_bbone_dual_quats; - this.ptr_bbone_segment_boundaries = ptr_bbone_segment_boundaries; - this.ptr__pad = ptr__pad; + this.bbone_rest_mats = bbone_rest_mats; + this.bbone_pose_mats = bbone_pose_mats; + this.bbone_deform_mats = bbone_deform_mats; + this.bbone_dual_quats = bbone_dual_quats; + this.bbone_segment_boundaries = bbone_segment_boundaries; + this._pad = _pad; } } } diff --git a/BlendFile/DNA/bPythonConstraint.cs b/BlendFile/DNA/bPythonConstraint.cs index c244da3..e9fc5db 100644 --- a/BlendFile/DNA/bPythonConstraint.cs +++ b/BlendFile/DNA/bPythonConstraint.cs @@ -15,36 +15,36 @@ namespace BlendFile.DNA { [DNAClassAttribute(174, "bPythonConstraint", 112)] public class bPythonConstraint { - [DNAFieldAttribute(0, "Text", "*text", "Text", 8, true, 0)] - public Text ptr_text; - [DNAFieldAttribute(1, "IDProperty", "*prop", "IDProperty", 8, true, 8)] - public IDProperty ptr_prop; - [DNAFieldAttribute(2, "int", "flag", "int", 4, false, 16)] + [DNAFieldAttribute(8, "Text", 0, "*text", "Text", true, 0)] + public Text text; + [DNAFieldAttribute(8, "IDProperty", 1, "*prop", "IDProperty", true, 8)] + public IDProperty prop; + [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(3, "int", "tarnum", "int", 4, false, 20)] + [DNAFieldAttribute(4, "int", 3, "tarnum", "int", false, 20)] public int tarnum; - [DNAFieldAttribute(4, "ListBase", "targets", "ListBase", 16, false, 24)] + [DNAFieldAttribute(16, "ListBase", 4, "targets", "ListBase", false, 24)] public ListBase targets; - [DNAFieldAttribute(5, "Object", "*tar", "Object", 8, true, 40)] - public Object ptr_tar; - [DNAFieldAttribute(6, "char", "subtarget[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(8, "Object", 5, "*tar", "Object", true, 40)] + public Object tar; + [DNAFieldAttribute(64, "char", 6, "subtarget[64]", "System.Char[]", false, 48)] public char[] subtarget = new System.Char[64]; public bPythonConstraint() { - this.ptr_text = default; - this.ptr_prop = default; + this.text = default; + this.prop = default; this.flag = default; this.tarnum = default; this.targets = default; - this.ptr_tar = default; + this.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; + public bPythonConstraint(Text text, IDProperty prop, int flag, int tarnum, ListBase targets, Object tar, char[] subtarget) { + this.text = text; + this.prop = prop; this.flag = flag; this.tarnum = tarnum; this.targets = targets; - this.ptr_tar = ptr_tar; + this.tar = tar; this.subtarget = subtarget; } } diff --git a/BlendFile/DNA/bRigidBodyJointConstraint.cs b/BlendFile/DNA/bRigidBodyJointConstraint.cs index 897a8b2..c6fadda 100644 --- a/BlendFile/DNA/bRigidBodyJointConstraint.cs +++ b/BlendFile/DNA/bRigidBodyJointConstraint.cs @@ -15,37 +15,37 @@ namespace BlendFile.DNA { [DNAClassAttribute(191, "bRigidBodyJointConstraint", 104)] public class bRigidBodyJointConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "Object", "*child", "Object", 8, true, 8)] - public Object ptr_child; - [DNAFieldAttribute(2, "int", "type", "int", 4, false, 16)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(8, "Object", 1, "*child", "Object", true, 8)] + public Object child; + [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(3, "float", "pivX", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 3, "pivX", "float", false, 20)] public float pivX; - [DNAFieldAttribute(4, "float", "pivY", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 4, "pivY", "float", false, 24)] public float pivY; - [DNAFieldAttribute(5, "float", "pivZ", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 5, "pivZ", "float", false, 28)] public float pivZ; - [DNAFieldAttribute(6, "float", "axX", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 6, "axX", "float", false, 32)] public float axX; - [DNAFieldAttribute(7, "float", "axY", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 7, "axY", "float", false, 36)] public float axY; - [DNAFieldAttribute(8, "float", "axZ", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 8, "axZ", "float", false, 40)] public float axZ; - [DNAFieldAttribute(9, "float", "minLimit[6]", "System.Single[]", 24, false, 44)] + [DNAFieldAttribute(24, "float", 9, "minLimit[6]", "System.Single[]", false, 44)] public float[] minLimit = new System.Single[6]; - [DNAFieldAttribute(10, "float", "maxLimit[6]", "System.Single[]", 24, false, 68)] + [DNAFieldAttribute(24, "float", 10, "maxLimit[6]", "System.Single[]", false, 68)] public float[] maxLimit = new System.Single[6]; - [DNAFieldAttribute(11, "float", "extraFz", "float", 4, false, 92)] + [DNAFieldAttribute(4, "float", 11, "extraFz", "float", false, 92)] public float extraFz; - [DNAFieldAttribute(12, "short", "flag", "short", 2, false, 96)] + [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 96)] public short flag; - [DNAFieldAttribute(13, "char", "_pad[6]", "System.Char[]", 6, false, 98)] + [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 98)] public char[] _pad = new System.Char[6]; public bRigidBodyJointConstraint() { - this.ptr_tar = default; - this.ptr_child = default; + this.tar = default; + this.child = default; this.type = default; this.pivX = default; this.pivY = default; @@ -59,9 +59,9 @@ namespace BlendFile.DNA { 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; + public bRigidBodyJointConstraint(Object tar, Object 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.tar = tar; + this.child = child; this.type = type; this.pivX = pivX; this.pivY = pivY; diff --git a/BlendFile/DNA/bRotLimitConstraint.cs b/BlendFile/DNA/bRotLimitConstraint.cs index 0479232..3b09c0b 100644 --- a/BlendFile/DNA/bRotLimitConstraint.cs +++ b/BlendFile/DNA/bRotLimitConstraint.cs @@ -14,26 +14,26 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(197, "bRotLimitConstraint", 32)] - public struct bRotLimitConstraint { - [DNAFieldAttribute(0, "float", "xmin", "float", 4, false, 0)] + public class bRotLimitConstraint { + [DNAFieldAttribute(4, "float", 0, "xmin", "float", false, 0)] public float xmin; - [DNAFieldAttribute(1, "float", "xmax", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "xmax", "float", false, 4)] public float xmax; - [DNAFieldAttribute(2, "float", "ymin", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "ymin", "float", false, 8)] public float ymin; - [DNAFieldAttribute(3, "float", "ymax", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "ymax", "float", false, 12)] public float ymax; - [DNAFieldAttribute(4, "float", "zmin", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "zmin", "float", false, 16)] public float zmin; - [DNAFieldAttribute(5, "float", "zmax", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "zmax", "float", false, 20)] public float zmax; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(7, "short", "flag2", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 7, "flag2", "short", false, 26)] public short flag2; - [DNAFieldAttribute(8, "char", "euler_order", "char", 1, false, 28)] + [DNAFieldAttribute(1, "char", 8, "euler_order", "char", false, 28)] public char euler_order; - [DNAFieldAttribute(9, "char", "_pad[3]", "System.Char[]", 3, false, 29)] + [DNAFieldAttribute(3, "char", 9, "_pad[3]", "System.Char[]", false, 29)] public char[] _pad = new System.Char[3]; public bRotLimitConstraint() { this.xmin = default; diff --git a/BlendFile/DNA/bRotateLikeConstraint.cs b/BlendFile/DNA/bRotateLikeConstraint.cs index 9e92f38..bbdb81d 100644 --- a/BlendFile/DNA/bRotateLikeConstraint.cs +++ b/BlendFile/DNA/bRotateLikeConstraint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(180, "bRotateLikeConstraint", 80)] public class bRotateLikeConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "char", "euler_order", "char", 1, false, 12)] + [DNAFieldAttribute(1, "char", 2, "euler_order", "char", false, 12)] public char euler_order; - [DNAFieldAttribute(3, "char", "mix_mode", "char", 1, false, 13)] + [DNAFieldAttribute(1, "char", 3, "mix_mode", "char", false, 13)] public char mix_mode; - [DNAFieldAttribute(4, "char", "_pad[2]", "System.Char[]", 2, false, 14)] + [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 14)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(5, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; public bRotateLikeConstraint() { - this.ptr_tar = default; + this.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; + public bRotateLikeConstraint(Object tar, int flag, char euler_order, char mix_mode, char[] _pad, char[] subtarget) { + this.tar = tar; this.flag = flag; this.euler_order = euler_order; this.mix_mode = mix_mode; diff --git a/BlendFile/DNA/bSameVolumeConstraint.cs b/BlendFile/DNA/bSameVolumeConstraint.cs index a8244ed..9eb161c 100644 --- a/BlendFile/DNA/bSameVolumeConstraint.cs +++ b/BlendFile/DNA/bSameVolumeConstraint.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(183, "bSameVolumeConstraint", 8)] - public struct bSameVolumeConstraint { - [DNAFieldAttribute(0, "char", "flag", "char", 1, false, 0)] + public class bSameVolumeConstraint { + [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; - [DNAFieldAttribute(1, "char", "mode", "char", 1, false, 1)] + [DNAFieldAttribute(1, "char", 1, "mode", "char", false, 1)] public char mode; - [DNAFieldAttribute(2, "char", "_pad[2]", "System.Char[]", 2, false, 2)] + [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 2)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(3, "float", "volume", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 3, "volume", "float", false, 4)] public float volume; public bSameVolumeConstraint() { this.flag = default; diff --git a/BlendFile/DNA/bScreen.cs b/BlendFile/DNA/bScreen.cs index 7097a6c..e00223f 100644 --- a/BlendFile/DNA/bScreen.cs +++ b/BlendFile/DNA/bScreen.cs @@ -15,61 +15,61 @@ namespace BlendFile.DNA { [DNAClassAttribute(240, "bScreen", 336)] public class bScreen { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "ListBase", "vertbase", "ListBase", 16, false, 208)] + [DNAFieldAttribute(16, "ListBase", 1, "vertbase", "ListBase", false, 208)] public ListBase vertbase; - [DNAFieldAttribute(2, "ListBase", "edgebase", "ListBase", 16, false, 224)] + [DNAFieldAttribute(16, "ListBase", 2, "edgebase", "ListBase", false, 224)] public ListBase edgebase; - [DNAFieldAttribute(3, "ListBase", "areabase", "ListBase", 16, false, 240)] + [DNAFieldAttribute(16, "ListBase", 3, "areabase", "ListBase", false, 240)] public ListBase areabase; - [DNAFieldAttribute(4, "ListBase", "regionbase", "ListBase", 16, false, 256)] + [DNAFieldAttribute(16, "ListBase", 4, "regionbase", "ListBase", false, 256)] public ListBase regionbase; - [DNAFieldAttribute(5, "Scene", "*scene", "Scene", 8, true, 272)] - public Scene ptr_scene; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 280)] + [DNAFieldAttribute(8, "Scene", 5, "*scene", "Scene", true, 272)] + public Scene scene; + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 280)] public short flag; - [DNAFieldAttribute(7, "short", "winid", "short", 2, false, 282)] + [DNAFieldAttribute(2, "short", 7, "winid", "short", false, 282)] public short winid; - [DNAFieldAttribute(8, "short", "redraws_flag", "short", 2, false, 284)] + [DNAFieldAttribute(2, "short", 8, "redraws_flag", "short", false, 284)] public short redraws_flag; - [DNAFieldAttribute(9, "char", "temp", "char", 1, false, 286)] + [DNAFieldAttribute(1, "char", 9, "temp", "char", false, 286)] public char temp; - [DNAFieldAttribute(10, "char", "state", "char", 1, false, 287)] + [DNAFieldAttribute(1, "char", 10, "state", "char", false, 287)] public char state; - [DNAFieldAttribute(11, "char", "do_draw", "char", 1, false, 288)] + [DNAFieldAttribute(1, "char", 11, "do_draw", "char", false, 288)] public char do_draw; - [DNAFieldAttribute(12, "char", "do_refresh", "char", 1, false, 289)] + [DNAFieldAttribute(1, "char", 12, "do_refresh", "char", false, 289)] public char do_refresh; - [DNAFieldAttribute(13, "char", "do_draw_gesture", "char", 1, false, 290)] + [DNAFieldAttribute(1, "char", 13, "do_draw_gesture", "char", false, 290)] public char do_draw_gesture; - [DNAFieldAttribute(14, "char", "do_draw_paintcursor", "char", 1, false, 291)] + [DNAFieldAttribute(1, "char", 14, "do_draw_paintcursor", "char", false, 291)] public char do_draw_paintcursor; - [DNAFieldAttribute(15, "char", "do_draw_drag", "char", 1, false, 292)] + [DNAFieldAttribute(1, "char", 15, "do_draw_drag", "char", false, 292)] public char do_draw_drag; - [DNAFieldAttribute(16, "char", "skip_handling", "char", 1, false, 293)] + [DNAFieldAttribute(1, "char", 16, "skip_handling", "char", false, 293)] public char skip_handling; - [DNAFieldAttribute(17, "char", "scrubbing", "char", 1, false, 294)] + [DNAFieldAttribute(1, "char", 17, "scrubbing", "char", false, 294)] public char scrubbing; - [DNAFieldAttribute(18, "char", "_pad[1]", "System.Char[]", 1, false, 295)] + [DNAFieldAttribute(1, "char", 18, "_pad[1]", "System.Char[]", false, 295)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(19, "ARegion", "*active_region", "ARegion", 8, true, 296)] - public ARegion ptr_active_region; - [DNAFieldAttribute(20, "wmTimer", "*animtimer", "wmTimer", 8, true, 304)] - public wmTimer ptr_animtimer; - [DNAFieldAttribute(21, "void", "*context", "void", 8, true, 312)] - public object ptr_context; - [DNAFieldAttribute(22, "wmTooltipState", "*tool_tip", "wmTooltipState", 8, true, 320)] - public wmTooltipState ptr_tool_tip; - [DNAFieldAttribute(23, "PreviewImage", "*preview", "PreviewImage", 8, true, 328)] - public PreviewImage ptr_preview; + [DNAFieldAttribute(8, "ARegion", 19, "*active_region", "ARegion", true, 296)] + public ARegion active_region; + [DNAFieldAttribute(8, "wmTimer", 20, "*animtimer", "wmTimer", true, 304)] + public wmTimer animtimer; + [DNAFieldAttribute(8, "void", 21, "*context", "void", true, 312)] + public object context; + [DNAFieldAttribute(8, "wmTooltipState", 22, "*tool_tip", "wmTooltipState", true, 320)] + public wmTooltipState tool_tip; + [DNAFieldAttribute(8, "PreviewImage", 23, "*preview", "PreviewImage", true, 328)] + public PreviewImage preview; public bScreen() { this.id = default; this.vertbase = default; this.edgebase = default; this.areabase = default; this.regionbase = default; - this.ptr_scene = default; + this.scene = default; this.flag = default; this.winid = default; this.redraws_flag = default; @@ -83,11 +83,11 @@ namespace BlendFile.DNA { 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; + this.active_region = default; + this.animtimer = default; + this.context = default; + this.tool_tip = default; + this.preview = default; } public bScreen( ID id, @@ -95,7 +95,7 @@ namespace BlendFile.DNA { ListBase edgebase, ListBase areabase, ListBase regionbase, - Scene ptr_scene, + Scene scene, short flag, short winid, short redraws_flag, @@ -109,17 +109,17 @@ namespace BlendFile.DNA { char skip_handling, char scrubbing, char[] _pad, - ARegion ptr_active_region, - wmTimer ptr_animtimer, - object ptr_context, - wmTooltipState ptr_tool_tip, - PreviewImage ptr_preview) { + ARegion active_region, + wmTimer animtimer, + object context, + wmTooltipState tool_tip, + PreviewImage preview) { this.id = id; this.vertbase = vertbase; this.edgebase = edgebase; this.areabase = areabase; this.regionbase = regionbase; - this.ptr_scene = ptr_scene; + this.scene = scene; this.flag = flag; this.winid = winid; this.redraws_flag = redraws_flag; @@ -133,11 +133,11 @@ namespace BlendFile.DNA { this.skip_handling = skip_handling; this.scrubbing = scrubbing; this._pad = _pad; - this.ptr_active_region = ptr_active_region; - this.ptr_animtimer = ptr_animtimer; - this.ptr_context = ptr_context; - this.ptr_tool_tip = ptr_tool_tip; - this.ptr_preview = ptr_preview; + this.active_region = active_region; + this.animtimer = animtimer; + this.context = context; + this.tool_tip = tool_tip; + this.preview = preview; } } } diff --git a/BlendFile/DNA/bShrinkwrapConstraint.cs b/BlendFile/DNA/bShrinkwrapConstraint.cs index 83bce31..87db3a8 100644 --- a/BlendFile/DNA/bShrinkwrapConstraint.cs +++ b/BlendFile/DNA/bShrinkwrapConstraint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(200, "bShrinkwrapConstraint", 24)] public class bShrinkwrapConstraint { - [DNAFieldAttribute(0, "Object", "*target", "Object", 8, true, 0)] - public Object ptr_target; - [DNAFieldAttribute(1, "float", "dist", "float", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*target", "Object", true, 0)] + public Object target; + [DNAFieldAttribute(4, "float", 1, "dist", "float", false, 8)] public float dist; - [DNAFieldAttribute(2, "short", "shrinkType", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 2, "shrinkType", "short", false, 12)] public short shrinkType; - [DNAFieldAttribute(3, "char", "projAxis", "char", 1, false, 14)] + [DNAFieldAttribute(1, "char", 3, "projAxis", "char", false, 14)] public char projAxis; - [DNAFieldAttribute(4, "char", "projAxisSpace", "char", 1, false, 15)] + [DNAFieldAttribute(1, "char", 4, "projAxisSpace", "char", false, 15)] public char projAxisSpace; - [DNAFieldAttribute(5, "float", "projLimit", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 5, "projLimit", "float", false, 16)] public float projLimit; - [DNAFieldAttribute(6, "char", "shrinkMode", "char", 1, false, 20)] + [DNAFieldAttribute(1, "char", 6, "shrinkMode", "char", false, 20)] public char shrinkMode; - [DNAFieldAttribute(7, "char", "flag", "char", 1, false, 21)] + [DNAFieldAttribute(1, "char", 7, "flag", "char", false, 21)] public char flag; - [DNAFieldAttribute(8, "char", "trackAxis", "char", 1, false, 22)] + [DNAFieldAttribute(1, "char", 8, "trackAxis", "char", false, 22)] public char trackAxis; - [DNAFieldAttribute(9, "char", "_pad", "char", 1, false, 23)] + [DNAFieldAttribute(1, "char", 9, "_pad", "char", false, 23)] public char _pad; public bShrinkwrapConstraint() { - this.ptr_target = default; + this.target = default; this.dist = default; this.shrinkType = default; this.projAxis = default; @@ -47,8 +47,8 @@ namespace BlendFile.DNA { 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; + public bShrinkwrapConstraint(Object target, float dist, short shrinkType, char projAxis, char projAxisSpace, float projLimit, char shrinkMode, char flag, char trackAxis, char _pad) { + this.target = target; this.dist = dist; this.shrinkType = shrinkType; this.projAxis = projAxis; diff --git a/BlendFile/DNA/bSizeLikeConstraint.cs b/BlendFile/DNA/bSizeLikeConstraint.cs index 052486d..1f82e9a 100644 --- a/BlendFile/DNA/bSizeLikeConstraint.cs +++ b/BlendFile/DNA/bSizeLikeConstraint.cs @@ -15,22 +15,22 @@ namespace BlendFile.DNA { [DNAClassAttribute(182, "bSizeLikeConstraint", 80)] public class bSizeLikeConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "float", "power", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 2, "power", "float", false, 12)] public float power; - [DNAFieldAttribute(3, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; public bSizeLikeConstraint() { - this.ptr_tar = default; + this.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; + public bSizeLikeConstraint(Object tar, int flag, float power, char[] subtarget) { + this.tar = tar; this.flag = flag; this.power = power; this.subtarget = subtarget; diff --git a/BlendFile/DNA/bSizeLimitConstraint.cs b/BlendFile/DNA/bSizeLimitConstraint.cs index 96672ba..b2eae7a 100644 --- a/BlendFile/DNA/bSizeLimitConstraint.cs +++ b/BlendFile/DNA/bSizeLimitConstraint.cs @@ -14,22 +14,22 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(198, "bSizeLimitConstraint", 28)] - public struct bSizeLimitConstraint { - [DNAFieldAttribute(0, "float", "xmin", "float", 4, false, 0)] + public class bSizeLimitConstraint { + [DNAFieldAttribute(4, "float", 0, "xmin", "float", false, 0)] public float xmin; - [DNAFieldAttribute(1, "float", "xmax", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "xmax", "float", false, 4)] public float xmax; - [DNAFieldAttribute(2, "float", "ymin", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "ymin", "float", false, 8)] public float ymin; - [DNAFieldAttribute(3, "float", "ymax", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "ymax", "float", false, 12)] public float ymax; - [DNAFieldAttribute(4, "float", "zmin", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 4, "zmin", "float", false, 16)] public float zmin; - [DNAFieldAttribute(5, "float", "zmax", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 5, "zmax", "float", false, 20)] public float zmax; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(7, "short", "flag2", "short", 2, false, 26)] + [DNAFieldAttribute(2, "short", 7, "flag2", "short", false, 26)] public short flag2; public bSizeLimitConstraint() { this.xmin = default; diff --git a/BlendFile/DNA/bSound.cs b/BlendFile/DNA/bSound.cs index f2f6e30..f9858b2 100644 --- a/BlendFile/DNA/bSound.cs +++ b/BlendFile/DNA/bSound.cs @@ -15,57 +15,57 @@ namespace BlendFile.DNA { [DNAClassAttribute(886, "bSound", 1344)] public class bSound { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "char", "name[1024]", "System.Char[]", 1024, false, 208)] + [DNAFieldAttribute(1024, "char", 1, "name[1024]", "System.Char[]", false, 208)] public char[] name = new System.Char[1024]; - [DNAFieldAttribute(2, "PackedFile", "*packedfile", "PackedFile", 8, true, 1232)] - public PackedFile ptr_packedfile; - [DNAFieldAttribute(3, "void", "*handle", "void", 8, true, 1240)] - public object ptr_handle; - [DNAFieldAttribute(4, "PackedFile", "*newpackedfile", "PackedFile", 8, true, 1248)] - public PackedFile ptr_newpackedfile; - [DNAFieldAttribute(5, "Ipo", "*ipo", "Ipo", 8, true, 1256)] - public Ipo ptr_ipo; - [DNAFieldAttribute(6, "float", "volume", "float", 4, false, 1264)] + [DNAFieldAttribute(8, "PackedFile", 2, "*packedfile", "PackedFile", true, 1232)] + public PackedFile packedfile; + [DNAFieldAttribute(8, "void", 3, "*handle", "void", true, 1240)] + public object handle; + [DNAFieldAttribute(8, "PackedFile", 4, "*newpackedfile", "PackedFile", true, 1248)] + public PackedFile newpackedfile; + [DNAFieldAttribute(8, "Ipo", 5, "*ipo", "Ipo", true, 1256)] + public Ipo ipo; + [DNAFieldAttribute(4, "float", 6, "volume", "float", false, 1264)] public float volume; - [DNAFieldAttribute(7, "float", "attenuation", "float", 4, false, 1268)] + [DNAFieldAttribute(4, "float", 7, "attenuation", "float", false, 1268)] public float attenuation; - [DNAFieldAttribute(8, "float", "pitch", "float", 4, false, 1272)] + [DNAFieldAttribute(4, "float", 8, "pitch", "float", false, 1272)] public float pitch; - [DNAFieldAttribute(9, "float", "min_gain", "float", 4, false, 1276)] + [DNAFieldAttribute(4, "float", 9, "min_gain", "float", false, 1276)] public float min_gain; - [DNAFieldAttribute(10, "float", "max_gain", "float", 4, false, 1280)] + [DNAFieldAttribute(4, "float", 10, "max_gain", "float", false, 1280)] public float max_gain; - [DNAFieldAttribute(11, "float", "distance", "float", 4, false, 1284)] + [DNAFieldAttribute(4, "float", 11, "distance", "float", false, 1284)] public float distance; - [DNAFieldAttribute(12, "short", "flags", "short", 2, false, 1288)] + [DNAFieldAttribute(2, "short", 12, "flags", "short", false, 1288)] public short flags; - [DNAFieldAttribute(13, "short", "tags", "short", 2, false, 1290)] + [DNAFieldAttribute(2, "short", 13, "tags", "short", false, 1290)] public short tags; - [DNAFieldAttribute(14, "char", "_pad[4]", "System.Char[]", 4, false, 1292)] + [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 1292)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(15, "double", "offset_time", "double", 8, false, 1296)] + [DNAFieldAttribute(8, "double", 15, "offset_time", "double", false, 1296)] public double offset_time; - [DNAFieldAttribute(16, "void", "*cache", "void", 8, true, 1304)] - public object ptr_cache; - [DNAFieldAttribute(17, "void", "*waveform", "void", 8, true, 1312)] - public object ptr_waveform; - [DNAFieldAttribute(18, "void", "*playback_handle", "void", 8, true, 1320)] - public object ptr_playback_handle; - [DNAFieldAttribute(19, "void", "*spinlock", "void", 8, true, 1328)] - public object ptr_spinlock; - [DNAFieldAttribute(20, "int", "audio_channels", "int", 4, false, 1336)] + [DNAFieldAttribute(8, "void", 16, "*cache", "void", true, 1304)] + public object cache; + [DNAFieldAttribute(8, "void", 17, "*waveform", "void", true, 1312)] + public object waveform; + [DNAFieldAttribute(8, "void", 18, "*playback_handle", "void", true, 1320)] + public object playback_handle; + [DNAFieldAttribute(8, "void", 19, "*spinlock", "void", true, 1328)] + public object spinlock; + [DNAFieldAttribute(4, "int", 20, "audio_channels", "int", false, 1336)] public int audio_channels; - [DNAFieldAttribute(21, "int", "samplerate", "int", 4, false, 1340)] + [DNAFieldAttribute(4, "int", 21, "samplerate", "int", false, 1340)] 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.packedfile = default; + this.handle = default; + this.newpackedfile = default; + this.ipo = default; this.volume = default; this.attenuation = default; this.pitch = default; @@ -76,20 +76,20 @@ namespace BlendFile.DNA { 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.cache = default; + this.waveform = default; + this.playback_handle = default; + this.spinlock = default; this.audio_channels = default; this.samplerate = default; } public bSound( ID id, char[] name, - PackedFile ptr_packedfile, - object ptr_handle, - PackedFile ptr_newpackedfile, - Ipo ptr_ipo, + PackedFile packedfile, + object handle, + PackedFile newpackedfile, + Ipo ipo, float volume, float attenuation, float pitch, @@ -100,18 +100,18 @@ namespace BlendFile.DNA { short tags, char[] _pad, double offset_time, - object ptr_cache, - object ptr_waveform, - object ptr_playback_handle, - object ptr_spinlock, + object cache, + object waveform, + object playback_handle, + object spinlock, int audio_channels, int samplerate) { this.id = id; this.name = name; - this.ptr_packedfile = ptr_packedfile; - this.ptr_handle = ptr_handle; - this.ptr_newpackedfile = ptr_newpackedfile; - this.ptr_ipo = ptr_ipo; + this.packedfile = packedfile; + this.handle = handle; + this.newpackedfile = newpackedfile; + this.ipo = ipo; this.volume = volume; this.attenuation = attenuation; this.pitch = pitch; @@ -122,10 +122,10 @@ namespace BlendFile.DNA { this.tags = tags; this._pad = _pad; this.offset_time = offset_time; - this.ptr_cache = ptr_cache; - this.ptr_waveform = ptr_waveform; - this.ptr_playback_handle = ptr_playback_handle; - this.ptr_spinlock = ptr_spinlock; + this.cache = cache; + this.waveform = waveform; + this.playback_handle = playback_handle; + this.spinlock = spinlock; this.audio_channels = audio_channels; this.samplerate = samplerate; } diff --git a/BlendFile/DNA/bSplineIKConstraint.cs b/BlendFile/DNA/bSplineIKConstraint.cs index a9b82e5..49b6a5b 100644 --- a/BlendFile/DNA/bSplineIKConstraint.cs +++ b/BlendFile/DNA/bSplineIKConstraint.cs @@ -15,33 +15,33 @@ namespace BlendFile.DNA { [DNAClassAttribute(177, "bSplineIKConstraint", 48)] public class bSplineIKConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "float", "*points", "float", 8, true, 8)] - public float ptr_points; - [DNAFieldAttribute(2, "short", "numpoints", "short", 2, false, 16)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(8, "float", 1, "*points", "float", true, 8)] + public float points; + [DNAFieldAttribute(2, "short", 2, "numpoints", "short", false, 16)] public short numpoints; - [DNAFieldAttribute(3, "short", "chainlen", "short", 2, false, 18)] + [DNAFieldAttribute(2, "short", 3, "chainlen", "short", false, 18)] public short chainlen; - [DNAFieldAttribute(4, "short", "flag", "short", 2, false, 20)] + [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 20)] public short flag; - [DNAFieldAttribute(5, "short", "xzScaleMode", "short", 2, false, 22)] + [DNAFieldAttribute(2, "short", 5, "xzScaleMode", "short", false, 22)] public short xzScaleMode; - [DNAFieldAttribute(6, "short", "yScaleMode", "short", 2, false, 24)] + [DNAFieldAttribute(2, "short", 6, "yScaleMode", "short", false, 24)] public short yScaleMode; - [DNAFieldAttribute(7, "short", "_pad[3]", "System.Int16[]", 6, false, 26)] + [DNAFieldAttribute(6, "short", 7, "_pad[3]", "System.Int16[]", false, 26)] public short[] _pad = new System.Int16[3]; - [DNAFieldAttribute(8, "float", "bulge", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 8, "bulge", "float", false, 32)] public float bulge; - [DNAFieldAttribute(9, "float", "bulge_min", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 9, "bulge_min", "float", false, 36)] public float bulge_min; - [DNAFieldAttribute(10, "float", "bulge_max", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "bulge_max", "float", false, 40)] public float bulge_max; - [DNAFieldAttribute(11, "float", "bulge_smooth", "float", 4, false, 44)] + [DNAFieldAttribute(4, "float", 11, "bulge_smooth", "float", false, 44)] public float bulge_smooth; public bSplineIKConstraint() { - this.ptr_tar = default; - this.ptr_points = default; + this.tar = default; + this.points = default; this.numpoints = default; this.chainlen = default; this.flag = default; @@ -53,9 +53,9 @@ namespace BlendFile.DNA { 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; + public bSplineIKConstraint(Object tar, float 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.tar = tar; + this.points = points; this.numpoints = numpoints; this.chainlen = chainlen; this.flag = flag; diff --git a/BlendFile/DNA/bStretchToConstraint.cs b/BlendFile/DNA/bStretchToConstraint.cs index 88886f2..d82d722 100644 --- a/BlendFile/DNA/bStretchToConstraint.cs +++ b/BlendFile/DNA/bStretchToConstraint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(190, "bStretchToConstraint", 104)] public class bStretchToConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "int", "volmode", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "volmode", "int", false, 12)] public int volmode; - [DNAFieldAttribute(3, "int", "plane", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "plane", "int", false, 16)] public int plane; - [DNAFieldAttribute(4, "float", "orglength", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 4, "orglength", "float", false, 20)] public float orglength; - [DNAFieldAttribute(5, "float", "bulge", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 5, "bulge", "float", false, 24)] public float bulge; - [DNAFieldAttribute(6, "float", "bulge_min", "float", 4, false, 28)] + [DNAFieldAttribute(4, "float", 6, "bulge_min", "float", false, 28)] public float bulge_min; - [DNAFieldAttribute(7, "float", "bulge_max", "float", 4, false, 32)] + [DNAFieldAttribute(4, "float", 7, "bulge_max", "float", false, 32)] public float bulge_max; - [DNAFieldAttribute(8, "float", "bulge_smooth", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 8, "bulge_smooth", "float", false, 36)] public float bulge_smooth; - [DNAFieldAttribute(9, "char", "subtarget[64]", "System.Char[]", 64, false, 40)] + [DNAFieldAttribute(64, "char", 9, "subtarget[64]", "System.Char[]", false, 40)] public char[] subtarget = new System.Char[64]; public bStretchToConstraint() { - this.ptr_tar = default; + this.tar = default; this.flag = default; this.volmode = default; this.plane = default; @@ -47,8 +47,8 @@ namespace BlendFile.DNA { 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; + public bStretchToConstraint(Object tar, int flag, int volmode, int plane, float orglength, float bulge, float bulge_min, float bulge_max, float bulge_smooth, char[] subtarget) { + this.tar = tar; this.flag = flag; this.volmode = volmode; this.plane = plane; diff --git a/BlendFile/DNA/bTheme.cs b/BlendFile/DNA/bTheme.cs index e1b91a8..4fbf450 100644 --- a/BlendFile/DNA/bTheme.cs +++ b/BlendFile/DNA/bTheme.cs @@ -15,63 +15,63 @@ namespace BlendFile.DNA { [DNAClassAttribute(997, "bTheme", 19320)] public class bTheme { - [DNAFieldAttribute(0, "bTheme", "*next", "bTheme", 8, true, 0)] - public bTheme ptr_next; - [DNAFieldAttribute(1, "bTheme", "*prev", "bTheme", 8, true, 8)] - public bTheme ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bTheme", 0, "*next", "bTheme", true, 0)] + public bTheme next; + [DNAFieldAttribute(8, "bTheme", 1, "*prev", "bTheme", true, 8)] + public bTheme prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "filepath[1024]", "System.Char[]", 1024, false, 80)] + [DNAFieldAttribute(1024, "char", 3, "filepath[1024]", "System.Char[]", false, 80)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(4, "ThemeUI", "tui", "ThemeUI", 976, false, 1104)] + [DNAFieldAttribute(976, "ThemeUI", 4, "tui", "ThemeUI", false, 1104)] public ThemeUI tui; - [DNAFieldAttribute(5, "ThemeSpace", "tbuts", "ThemeSpace", 936, false, 2080)] + [DNAFieldAttribute(936, "ThemeSpace", 5, "tbuts", "ThemeSpace", false, 2080)] public ThemeSpace tbuts; - [DNAFieldAttribute(6, "ThemeSpace", "tv3d", "ThemeSpace", 936, false, 3016)] + [DNAFieldAttribute(936, "ThemeSpace", 6, "tv3d", "ThemeSpace", false, 3016)] public ThemeSpace tv3d; - [DNAFieldAttribute(7, "ThemeSpace", "tfile", "ThemeSpace", 936, false, 3952)] + [DNAFieldAttribute(936, "ThemeSpace", 7, "tfile", "ThemeSpace", false, 3952)] public ThemeSpace tfile; - [DNAFieldAttribute(8, "ThemeSpace", "tipo", "ThemeSpace", 936, false, 4888)] + [DNAFieldAttribute(936, "ThemeSpace", 8, "tipo", "ThemeSpace", false, 4888)] public ThemeSpace tipo; - [DNAFieldAttribute(9, "ThemeSpace", "tinfo", "ThemeSpace", 936, false, 5824)] + [DNAFieldAttribute(936, "ThemeSpace", 9, "tinfo", "ThemeSpace", false, 5824)] public ThemeSpace tinfo; - [DNAFieldAttribute(10, "ThemeSpace", "tact", "ThemeSpace", 936, false, 6760)] + [DNAFieldAttribute(936, "ThemeSpace", 10, "tact", "ThemeSpace", false, 6760)] public ThemeSpace tact; - [DNAFieldAttribute(11, "ThemeSpace", "tnla", "ThemeSpace", 936, false, 7696)] + [DNAFieldAttribute(936, "ThemeSpace", 11, "tnla", "ThemeSpace", false, 7696)] public ThemeSpace tnla; - [DNAFieldAttribute(12, "ThemeSpace", "tseq", "ThemeSpace", 936, false, 8632)] + [DNAFieldAttribute(936, "ThemeSpace", 12, "tseq", "ThemeSpace", false, 8632)] public ThemeSpace tseq; - [DNAFieldAttribute(13, "ThemeSpace", "tima", "ThemeSpace", 936, false, 9568)] + [DNAFieldAttribute(936, "ThemeSpace", 13, "tima", "ThemeSpace", false, 9568)] public ThemeSpace tima; - [DNAFieldAttribute(14, "ThemeSpace", "text", "ThemeSpace", 936, false, 10504)] + [DNAFieldAttribute(936, "ThemeSpace", 14, "text", "ThemeSpace", false, 10504)] public ThemeSpace text; - [DNAFieldAttribute(15, "ThemeSpace", "toops", "ThemeSpace", 936, false, 11440)] + [DNAFieldAttribute(936, "ThemeSpace", 15, "toops", "ThemeSpace", false, 11440)] public ThemeSpace toops; - [DNAFieldAttribute(16, "ThemeSpace", "tnode", "ThemeSpace", 936, false, 12376)] + [DNAFieldAttribute(936, "ThemeSpace", 16, "tnode", "ThemeSpace", false, 12376)] public ThemeSpace tnode; - [DNAFieldAttribute(17, "ThemeSpace", "tuserpref", "ThemeSpace", 936, false, 13312)] + [DNAFieldAttribute(936, "ThemeSpace", 17, "tuserpref", "ThemeSpace", false, 13312)] public ThemeSpace tuserpref; - [DNAFieldAttribute(18, "ThemeSpace", "tconsole", "ThemeSpace", 936, false, 14248)] + [DNAFieldAttribute(936, "ThemeSpace", 18, "tconsole", "ThemeSpace", false, 14248)] public ThemeSpace tconsole; - [DNAFieldAttribute(19, "ThemeSpace", "tclip", "ThemeSpace", 936, false, 15184)] + [DNAFieldAttribute(936, "ThemeSpace", 19, "tclip", "ThemeSpace", false, 15184)] public ThemeSpace tclip; - [DNAFieldAttribute(20, "ThemeSpace", "ttopbar", "ThemeSpace", 936, false, 16120)] + [DNAFieldAttribute(936, "ThemeSpace", 20, "ttopbar", "ThemeSpace", false, 16120)] public ThemeSpace ttopbar; - [DNAFieldAttribute(21, "ThemeSpace", "tstatusbar", "ThemeSpace", 936, false, 17056)] + [DNAFieldAttribute(936, "ThemeSpace", 21, "tstatusbar", "ThemeSpace", false, 17056)] public ThemeSpace tstatusbar; - [DNAFieldAttribute(22, "ThemeSpace", "space_spreadsheet", "ThemeSpace", 936, false, 17992)] + [DNAFieldAttribute(936, "ThemeSpace", 22, "space_spreadsheet", "ThemeSpace", false, 17992)] public ThemeSpace space_spreadsheet; - [DNAFieldAttribute(23, "ThemeWireColor", "tarm[20]", "ThemeWireColor[]", 320, false, 18928)] + [DNAFieldAttribute(320, "ThemeWireColor", 23, "tarm[20]", "ThemeWireColor[]", false, 18928)] public ThemeWireColor[] tarm = new ThemeWireColor[20]; - [DNAFieldAttribute(24, "ThemeCollectionColor", "collection_color[8]", "ThemeCollectionColor[]", 32, false, 19248)] + [DNAFieldAttribute(32, "ThemeCollectionColor", 24, "collection_color[8]", "ThemeCollectionColor[]", false, 19248)] public ThemeCollectionColor[] collection_color = new ThemeCollectionColor[8]; - [DNAFieldAttribute(25, "ThemeStripColor", "strip_color[9]", "ThemeStripColor[]", 36, false, 19280)] + [DNAFieldAttribute(36, "ThemeStripColor", 25, "strip_color[9]", "ThemeStripColor[]", false, 19280)] public ThemeStripColor[] strip_color = new ThemeStripColor[9]; - [DNAFieldAttribute(26, "int", "active_theme_area", "int", 4, false, 19316)] + [DNAFieldAttribute(4, "int", 26, "active_theme_area", "int", false, 19316)] public int active_theme_area; public bTheme() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.filepath = default; this.tui = default; @@ -99,8 +99,8 @@ namespace BlendFile.DNA { this.active_theme_area = default; } public bTheme( - bTheme ptr_next, - bTheme ptr_prev, + bTheme next, + bTheme prev, char[] name, char[] filepath, ThemeUI tui, @@ -126,8 +126,8 @@ namespace BlendFile.DNA { ThemeCollectionColor[] collection_color, ThemeStripColor[] strip_color, int active_theme_area) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.name = name; this.filepath = filepath; this.tui = tui; diff --git a/BlendFile/DNA/bToolRef.cs b/BlendFile/DNA/bToolRef.cs index b9bbb32..c4166b3 100644 --- a/BlendFile/DNA/bToolRef.cs +++ b/BlendFile/DNA/bToolRef.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(862, "bToolRef", 168)] public class bToolRef { - [DNAFieldAttribute(0, "bToolRef", "*next", "bToolRef", 8, true, 0)] - public bToolRef ptr_next; - [DNAFieldAttribute(1, "bToolRef", "*prev", "bToolRef", 8, true, 8)] - public bToolRef ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bToolRef", 0, "*next", "bToolRef", true, 0)] + public bToolRef next; + [DNAFieldAttribute(8, "bToolRef", 1, "*prev", "bToolRef", true, 8)] + public bToolRef prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(3, "char", "idname_fallback[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 3, "idname_fallback[64]", "System.Char[]", false, 80)] public char[] idname_fallback = new System.Char[64]; - [DNAFieldAttribute(4, "short", "tag", "short", 2, false, 144)] + [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 144)] public short tag; - [DNAFieldAttribute(5, "short", "space_type", "short", 2, false, 146)] + [DNAFieldAttribute(2, "short", 5, "space_type", "short", false, 146)] public short space_type; - [DNAFieldAttribute(6, "int", "mode", "int", 4, false, 148)] + [DNAFieldAttribute(4, "int", 6, "mode", "int", false, 148)] public int mode; - [DNAFieldAttribute(7, "IDProperty", "*properties", "IDProperty", 8, true, 152)] - public IDProperty ptr_properties; - [DNAFieldAttribute(8, "bToolRef_Runtime", "*runtime", "bToolRef_Runtime", 8, true, 160)] - public bToolRef_Runtime ptr_runtime; + [DNAFieldAttribute(8, "IDProperty", 7, "*properties", "IDProperty", true, 152)] + public IDProperty properties; + [DNAFieldAttribute(8, "bToolRef_Runtime", 8, "*runtime", "bToolRef_Runtime", true, 160)] + public bToolRef_Runtime runtime; public bToolRef() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + this.properties = default; + this.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; + public bToolRef(bToolRef next, bToolRef prev, char[] idname, char[] idname_fallback, short tag, short space_type, int mode, IDProperty properties, bToolRef_Runtime runtime) { + this.next = next; + this.prev = prev; this.idname = idname; this.idname_fallback = idname_fallback; this.tag = tag; this.space_type = space_type; this.mode = mode; - this.ptr_properties = ptr_properties; - this.ptr_runtime = ptr_runtime; + this.properties = properties; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/bTrackToConstraint.cs b/BlendFile/DNA/bTrackToConstraint.cs index 0ad238a..18cf946 100644 --- a/BlendFile/DNA/bTrackToConstraint.cs +++ b/BlendFile/DNA/bTrackToConstraint.cs @@ -15,28 +15,28 @@ namespace BlendFile.DNA { [DNAClassAttribute(179, "bTrackToConstraint", 88)] public class bTrackToConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "reserved1", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "reserved1", "int", false, 8)] public int reserved1; - [DNAFieldAttribute(2, "int", "reserved2", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 2, "reserved2", "int", false, 12)] public int reserved2; - [DNAFieldAttribute(3, "int", "flags", "int", 4, false, 16)] + [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 16)] public int flags; - [DNAFieldAttribute(4, "char", "_pad[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(5, "char", "subtarget[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 24)] public char[] subtarget = new System.Char[64]; public bTrackToConstraint() { - this.ptr_tar = default; + this.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; + public bTrackToConstraint(Object tar, int reserved1, int reserved2, int flags, char[] _pad, char[] subtarget) { + this.tar = tar; this.reserved1 = reserved1; this.reserved2 = reserved2; this.flags = flags; diff --git a/BlendFile/DNA/bTransLikeConstraint.cs b/BlendFile/DNA/bTransLikeConstraint.cs index 50fda85..ec24643 100644 --- a/BlendFile/DNA/bTransLikeConstraint.cs +++ b/BlendFile/DNA/bTransLikeConstraint.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(184, "bTransLikeConstraint", 80)] public class bTransLikeConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "int", "flag", "int", 4, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(2, "char", "mix_mode", "char", 1, false, 12)] + [DNAFieldAttribute(1, "char", 2, "mix_mode", "char", false, 12)] public char mix_mode; - [DNAFieldAttribute(3, "char", "_pad[3]", "System.Char[]", 3, false, 13)] + [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 13)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(4, "char", "subtarget[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", false, 16)] public char[] subtarget = new System.Char[64]; public bTransLikeConstraint() { - this.ptr_tar = default; + this.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; + public bTransLikeConstraint(Object tar, int flag, char mix_mode, char[] _pad, char[] subtarget) { + this.tar = tar; this.flag = flag; this.mix_mode = mix_mode; this._pad = _pad; diff --git a/BlendFile/DNA/bTransformCacheConstraint.cs b/BlendFile/DNA/bTransformCacheConstraint.cs index e0b18db..6cdefad 100644 --- a/BlendFile/DNA/bTransformCacheConstraint.cs +++ b/BlendFile/DNA/bTransformCacheConstraint.cs @@ -15,24 +15,24 @@ namespace BlendFile.DNA { [DNAClassAttribute(204, "bTransformCacheConstraint", 2064)] public class bTransformCacheConstraint { - [DNAFieldAttribute(0, "CacheFile", "*cache_file", "CacheFile", 8, true, 0)] - public CacheFile ptr_cache_file; - [DNAFieldAttribute(1, "char", "object_path[1024]", "System.Char[]", 1024, false, 8)] + [DNAFieldAttribute(8, "CacheFile", 0, "*cache_file", "CacheFile", true, 0)] + public CacheFile cache_file; + [DNAFieldAttribute(1024, "char", 1, "object_path[1024]", "System.Char[]", false, 8)] public char[] object_path = new System.Char[1024]; - [DNAFieldAttribute(2, "CacheReader", "*reader", "CacheReader", 8, true, 1032)] - public CacheReader ptr_reader; - [DNAFieldAttribute(3, "char", "reader_object_path[1024]", "System.Char[]", 1024, false, 1040)] + [DNAFieldAttribute(8, "CacheReader", 2, "*reader", "CacheReader", true, 1032)] + public CacheReader reader; + [DNAFieldAttribute(1024, "char", 3, "reader_object_path[1024]", "System.Char[]", false, 1040)] public char[] reader_object_path = new System.Char[1024]; public bTransformCacheConstraint() { - this.ptr_cache_file = default; + this.cache_file = default; this.object_path = default; - this.ptr_reader = default; + this.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; + public bTransformCacheConstraint(CacheFile cache_file, char[] object_path, CacheReader reader, char[] reader_object_path) { + this.cache_file = cache_file; this.object_path = object_path; - this.ptr_reader = ptr_reader; + this.reader = reader; this.reader_object_path = reader_object_path; } } diff --git a/BlendFile/DNA/bTransformConstraint.cs b/BlendFile/DNA/bTransformConstraint.cs index 03b4766..9583bc3 100644 --- a/BlendFile/DNA/bTransformConstraint.cs +++ b/BlendFile/DNA/bTransformConstraint.cs @@ -15,56 +15,56 @@ namespace BlendFile.DNA { [DNAClassAttribute(194, "bTransformConstraint", 232)] public class bTransformConstraint { - [DNAFieldAttribute(0, "Object", "*tar", "Object", 8, true, 0)] - public Object ptr_tar; - [DNAFieldAttribute(1, "char", "subtarget[64]", "System.Char[]", 64, false, 8)] + [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] + public Object tar; + [DNAFieldAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", false, 8)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(2, "short", "from", "short", 2, false, 72)] + [DNAFieldAttribute(2, "short", 2, "from", "short", false, 72)] public short from; - [DNAFieldAttribute(3, "short", "to", "short", 2, false, 74)] + [DNAFieldAttribute(2, "short", 3, "to", "short", false, 74)] public short to; - [DNAFieldAttribute(4, "char", "map[3]", "System.Char[]", 3, false, 76)] + [DNAFieldAttribute(3, "char", 4, "map[3]", "System.Char[]", false, 76)] public char[] map = new System.Char[3]; - [DNAFieldAttribute(5, "char", "expo", "char", 1, false, 79)] + [DNAFieldAttribute(1, "char", 5, "expo", "char", false, 79)] public char expo; - [DNAFieldAttribute(6, "char", "from_rotation_mode", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 6, "from_rotation_mode", "char", false, 80)] public char from_rotation_mode; - [DNAFieldAttribute(7, "char", "to_euler_order", "char", 1, false, 81)] + [DNAFieldAttribute(1, "char", 7, "to_euler_order", "char", false, 81)] public char to_euler_order; - [DNAFieldAttribute(8, "char", "mix_mode_loc", "char", 1, false, 82)] + [DNAFieldAttribute(1, "char", 8, "mix_mode_loc", "char", false, 82)] public char mix_mode_loc; - [DNAFieldAttribute(9, "char", "mix_mode_rot", "char", 1, false, 83)] + [DNAFieldAttribute(1, "char", 9, "mix_mode_rot", "char", false, 83)] public char mix_mode_rot; - [DNAFieldAttribute(10, "char", "mix_mode_scale", "char", 1, false, 84)] + [DNAFieldAttribute(1, "char", 10, "mix_mode_scale", "char", false, 84)] public char mix_mode_scale; - [DNAFieldAttribute(11, "char", "_pad[3]", "System.Char[]", 3, false, 85)] + [DNAFieldAttribute(3, "char", 11, "_pad[3]", "System.Char[]", false, 85)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(12, "float", "from_min[3]", "System.Single[]", 12, false, 88)] + [DNAFieldAttribute(12, "float", 12, "from_min[3]", "System.Single[]", false, 88)] public float[] from_min = new System.Single[3]; - [DNAFieldAttribute(13, "float", "from_max[3]", "System.Single[]", 12, false, 100)] + [DNAFieldAttribute(12, "float", 13, "from_max[3]", "System.Single[]", false, 100)] public float[] from_max = new System.Single[3]; - [DNAFieldAttribute(14, "float", "to_min[3]", "System.Single[]", 12, false, 112)] + [DNAFieldAttribute(12, "float", 14, "to_min[3]", "System.Single[]", false, 112)] public float[] to_min = new System.Single[3]; - [DNAFieldAttribute(15, "float", "to_max[3]", "System.Single[]", 12, false, 124)] + [DNAFieldAttribute(12, "float", 15, "to_max[3]", "System.Single[]", false, 124)] public float[] to_max = new System.Single[3]; - [DNAFieldAttribute(16, "float", "from_min_rot[3]", "System.Single[]", 12, false, 136)] + [DNAFieldAttribute(12, "float", 16, "from_min_rot[3]", "System.Single[]", false, 136)] public float[] from_min_rot = new System.Single[3]; - [DNAFieldAttribute(17, "float", "from_max_rot[3]", "System.Single[]", 12, false, 148)] + [DNAFieldAttribute(12, "float", 17, "from_max_rot[3]", "System.Single[]", false, 148)] public float[] from_max_rot = new System.Single[3]; - [DNAFieldAttribute(18, "float", "to_min_rot[3]", "System.Single[]", 12, false, 160)] + [DNAFieldAttribute(12, "float", 18, "to_min_rot[3]", "System.Single[]", false, 160)] public float[] to_min_rot = new System.Single[3]; - [DNAFieldAttribute(19, "float", "to_max_rot[3]", "System.Single[]", 12, false, 172)] + [DNAFieldAttribute(12, "float", 19, "to_max_rot[3]", "System.Single[]", false, 172)] public float[] to_max_rot = new System.Single[3]; - [DNAFieldAttribute(20, "float", "from_min_scale[3]", "System.Single[]", 12, false, 184)] + [DNAFieldAttribute(12, "float", 20, "from_min_scale[3]", "System.Single[]", false, 184)] public float[] from_min_scale = new System.Single[3]; - [DNAFieldAttribute(21, "float", "from_max_scale[3]", "System.Single[]", 12, false, 196)] + [DNAFieldAttribute(12, "float", 21, "from_max_scale[3]", "System.Single[]", false, 196)] public float[] from_max_scale = new System.Single[3]; - [DNAFieldAttribute(22, "float", "to_min_scale[3]", "System.Single[]", 12, false, 208)] + [DNAFieldAttribute(12, "float", 22, "to_min_scale[3]", "System.Single[]", false, 208)] public float[] to_min_scale = new System.Single[3]; - [DNAFieldAttribute(23, "float", "to_max_scale[3]", "System.Single[]", 12, false, 220)] + [DNAFieldAttribute(12, "float", 23, "to_max_scale[3]", "System.Single[]", false, 220)] public float[] to_max_scale = new System.Single[3]; public bTransformConstraint() { - this.ptr_tar = default; + this.tar = default; this.subtarget = default; this.from = default; this.to = default; @@ -90,7 +90,7 @@ namespace BlendFile.DNA { this.to_max_scale = default; } public bTransformConstraint( - Object ptr_tar, + Object tar, char[] subtarget, short from, short to, @@ -114,7 +114,7 @@ namespace BlendFile.DNA { float[] from_max_scale, float[] to_min_scale, float[] to_max_scale) { - this.ptr_tar = ptr_tar; + this.tar = tar; this.subtarget = subtarget; this.from = from; this.to = to; diff --git a/BlendFile/DNA/bUUID.cs b/BlendFile/DNA/bUUID.cs index b1afc1d..3150336 100644 --- a/BlendFile/DNA/bUUID.cs +++ b/BlendFile/DNA/bUUID.cs @@ -14,18 +14,18 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(112, "bUUID", 16)] - public struct bUUID { - [DNAFieldAttribute(0, "int", "time_low", "int", 4, false, 0)] + public class bUUID { + [DNAFieldAttribute(4, "int", 0, "time_low", "int", false, 0)] public int time_low; - [DNAFieldAttribute(1, "ushort", "time_mid", "ushort", 2, false, 4)] + [DNAFieldAttribute(2, "ushort", 1, "time_mid", "ushort", false, 4)] public ushort time_mid; - [DNAFieldAttribute(2, "ushort", "time_hi_and_version", "ushort", 2, false, 6)] + [DNAFieldAttribute(2, "ushort", 2, "time_hi_and_version", "ushort", false, 6)] public ushort time_hi_and_version; - [DNAFieldAttribute(3, "uchar", "clock_seq_hi_and_reserved", "uchar", 1, false, 8)] + [DNAFieldAttribute(1, "uchar", 3, "clock_seq_hi_and_reserved", "uchar", false, 8)] public byte clock_seq_hi_and_reserved; - [DNAFieldAttribute(4, "uchar", "clock_seq_low", "uchar", 1, false, 9)] + [DNAFieldAttribute(1, "uchar", 4, "clock_seq_low", "uchar", false, 9)] public byte clock_seq_low; - [DNAFieldAttribute(5, "uchar", "node[6]", "System.Byte[]", 6, false, 10)] + [DNAFieldAttribute(6, "uchar", 5, "node[6]", "System.Byte[]", false, 10)] public byte[] node = new System.Byte[6]; public bUUID() { this.time_low = default; diff --git a/BlendFile/DNA/bUserAssetLibrary.cs b/BlendFile/DNA/bUserAssetLibrary.cs index 36a9cc4..39c9371 100644 --- a/BlendFile/DNA/bUserAssetLibrary.cs +++ b/BlendFile/DNA/bUserAssetLibrary.cs @@ -15,32 +15,32 @@ namespace BlendFile.DNA { [DNAClassAttribute(1005, "bUserAssetLibrary", 1112)] public class bUserAssetLibrary { - [DNAFieldAttribute(0, "bUserAssetLibrary", "*next", "bUserAssetLibrary", 8, true, 0)] - public bUserAssetLibrary ptr_next; - [DNAFieldAttribute(1, "bUserAssetLibrary", "*prev", "bUserAssetLibrary", 8, true, 8)] - public bUserAssetLibrary ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bUserAssetLibrary", 0, "*next", "bUserAssetLibrary", true, 0)] + public bUserAssetLibrary next; + [DNAFieldAttribute(8, "bUserAssetLibrary", 1, "*prev", "bUserAssetLibrary", true, 8)] + public bUserAssetLibrary prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "path[1024]", "System.Char[]", 1024, false, 80)] + [DNAFieldAttribute(1024, "char", 3, "path[1024]", "System.Char[]", false, 80)] public char[] path = new System.Char[1024]; - [DNAFieldAttribute(4, "short", "import_method", "short", 2, false, 1104)] + [DNAFieldAttribute(2, "short", 4, "import_method", "short", false, 1104)] public short import_method; - [DNAFieldAttribute(5, "short", "flag", "short", 2, false, 1106)] + [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 1106)] public short flag; - [DNAFieldAttribute(6, "char", "_pad0[4]", "System.Char[]", 4, false, 1108)] + [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 1108)] public char[] _pad0 = new System.Char[4]; public bUserAssetLibrary() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bUserAssetLibrary(bUserAssetLibrary next, bUserAssetLibrary prev, char[] name, char[] path, short import_method, short flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.name = name; this.path = path; this.import_method = import_method; diff --git a/BlendFile/DNA/bUserAssetShelfSettings.cs b/BlendFile/DNA/bUserAssetShelfSettings.cs index 31a48d1..08b321c 100644 --- a/BlendFile/DNA/bUserAssetShelfSettings.cs +++ b/BlendFile/DNA/bUserAssetShelfSettings.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(1014, "bUserAssetShelfSettings", 96)] public class bUserAssetShelfSettings { - [DNAFieldAttribute(0, "bUserAssetShelfSettings", "*next", "bUserAssetShelfSettings", 8, true, 0)] - public bUserAssetShelfSettings ptr_next; - [DNAFieldAttribute(1, "bUserAssetShelfSettings", "*prev", "bUserAssetShelfSettings", 8, true, 8)] - public bUserAssetShelfSettings ptr_prev; - [DNAFieldAttribute(2, "char", "shelf_idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bUserAssetShelfSettings", 0, "*next", "bUserAssetShelfSettings", true, 0)] + public bUserAssetShelfSettings next; + [DNAFieldAttribute(8, "bUserAssetShelfSettings", 1, "*prev", "bUserAssetShelfSettings", true, 8)] + public bUserAssetShelfSettings prev; + [DNAFieldAttribute(64, "char", 2, "shelf_idname[64]", "System.Char[]", false, 16)] public char[] shelf_idname = new System.Char[64]; - [DNAFieldAttribute(3, "ListBase", "enabled_catalog_paths", "ListBase", 16, false, 80)] + [DNAFieldAttribute(16, "ListBase", 3, "enabled_catalog_paths", "ListBase", false, 80)] public ListBase enabled_catalog_paths; public bUserAssetShelfSettings() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bUserAssetShelfSettings(bUserAssetShelfSettings next, bUserAssetShelfSettings prev, char[] shelf_idname, ListBase enabled_catalog_paths) { + this.next = next; + this.prev = prev; this.shelf_idname = shelf_idname; this.enabled_catalog_paths = enabled_catalog_paths; } diff --git a/BlendFile/DNA/bUserExtensionRepo.cs b/BlendFile/DNA/bUserExtensionRepo.cs index a286898..cc20723 100644 --- a/BlendFile/DNA/bUserExtensionRepo.cs +++ b/BlendFile/DNA/bUserExtensionRepo.cs @@ -15,44 +15,44 @@ namespace BlendFile.DNA { [DNAClassAttribute(1006, "bUserExtensionRepo", 2192)] public class bUserExtensionRepo { - [DNAFieldAttribute(0, "bUserExtensionRepo", "*next", "bUserExtensionRepo", 8, true, 0)] - public bUserExtensionRepo ptr_next; - [DNAFieldAttribute(1, "bUserExtensionRepo", "*prev", "bUserExtensionRepo", 8, true, 8)] - public bUserExtensionRepo ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bUserExtensionRepo", 0, "*next", "bUserExtensionRepo", true, 0)] + public bUserExtensionRepo next; + [DNAFieldAttribute(8, "bUserExtensionRepo", 1, "*prev", "bUserExtensionRepo", true, 8)] + public bUserExtensionRepo prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "module[48]", "System.Char[]", 48, false, 80)] + [DNAFieldAttribute(48, "char", 3, "module[48]", "System.Char[]", false, 80)] public char[] module = new System.Char[48]; - [DNAFieldAttribute(4, "char", "*access_token", "char", 8, true, 128)] - public char ptr_access_token; - [DNAFieldAttribute(5, "char", "custom_dirpath[1024]", "System.Char[]", 1024, false, 136)] + [DNAFieldAttribute(8, "char", 4, "*access_token", "char", true, 128)] + public char access_token; + [DNAFieldAttribute(1024, "char", 5, "custom_dirpath[1024]", "System.Char[]", false, 136)] public char[] custom_dirpath = new System.Char[1024]; - [DNAFieldAttribute(6, "char", "remote_url[1024]", "System.Char[]", 1024, false, 1160)] + [DNAFieldAttribute(1024, "char", 6, "remote_url[1024]", "System.Char[]", false, 1160)] public char[] remote_url = new System.Char[1024]; - [DNAFieldAttribute(7, "uchar", "flag", "uchar", 1, false, 2184)] + [DNAFieldAttribute(1, "uchar", 7, "flag", "uchar", false, 2184)] public byte flag; - [DNAFieldAttribute(8, "uchar", "source", "uchar", 1, false, 2185)] + [DNAFieldAttribute(1, "uchar", 8, "source", "uchar", false, 2185)] public byte source; - [DNAFieldAttribute(9, "char", "_pad0[6]", "System.Char[]", 6, false, 2186)] + [DNAFieldAttribute(6, "char", 9, "_pad0[6]", "System.Char[]", false, 2186)] public char[] _pad0 = new System.Char[6]; public bUserExtensionRepo() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.module = default; - this.ptr_access_token = default; + this.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; + public bUserExtensionRepo(bUserExtensionRepo next, bUserExtensionRepo prev, char[] name, char[] module, char access_token, char[] custom_dirpath, char[] remote_url, byte flag, byte source, char[] _pad0) { + this.next = next; + this.prev = prev; this.name = name; this.module = module; - this.ptr_access_token = ptr_access_token; + this.access_token = access_token; this.custom_dirpath = custom_dirpath; this.remote_url = remote_url; this.flag = flag; diff --git a/BlendFile/DNA/bUserMenu.cs b/BlendFile/DNA/bUserMenu.cs index c21e6a9..97bc36c 100644 --- a/BlendFile/DNA/bUserMenu.cs +++ b/BlendFile/DNA/bUserMenu.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(1000, "bUserMenu", 104)] public class bUserMenu { - [DNAFieldAttribute(0, "bUserMenu", "*next", "bUserMenu", 8, true, 0)] - public bUserMenu ptr_next; - [DNAFieldAttribute(1, "bUserMenu", "*prev", "bUserMenu", 8, true, 8)] - public bUserMenu ptr_prev; - [DNAFieldAttribute(2, "char", "space_type", "char", 1, false, 16)] + [DNAFieldAttribute(8, "bUserMenu", 0, "*next", "bUserMenu", true, 0)] + public bUserMenu next; + [DNAFieldAttribute(8, "bUserMenu", 1, "*prev", "bUserMenu", true, 8)] + public bUserMenu prev; + [DNAFieldAttribute(1, "char", 2, "space_type", "char", false, 16)] public char space_type; - [DNAFieldAttribute(3, "char", "_pad0[7]", "System.Char[]", 7, false, 17)] + [DNAFieldAttribute(7, "char", 3, "_pad0[7]", "System.Char[]", false, 17)] public char[] _pad0 = new System.Char[7]; - [DNAFieldAttribute(4, "char", "context[64]", "System.Char[]", 64, false, 24)] + [DNAFieldAttribute(64, "char", 4, "context[64]", "System.Char[]", false, 24)] public char[] context = new System.Char[64]; - [DNAFieldAttribute(5, "ListBase", "items", "ListBase", 16, false, 88)] + [DNAFieldAttribute(16, "ListBase", 5, "items", "ListBase", false, 88)] public ListBase items; public bUserMenu() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bUserMenu(bUserMenu next, bUserMenu prev, char space_type, char[] _pad0, char[] context, ListBase items) { + this.next = next; + this.prev = prev; this.space_type = space_type; this._pad0 = _pad0; this.context = context; diff --git a/BlendFile/DNA/bUserMenuItem.cs b/BlendFile/DNA/bUserMenuItem.cs index e672554..7de8280 100644 --- a/BlendFile/DNA/bUserMenuItem.cs +++ b/BlendFile/DNA/bUserMenuItem.cs @@ -15,26 +15,26 @@ namespace BlendFile.DNA { [DNAClassAttribute(1001, "bUserMenuItem", 88)] public class bUserMenuItem { - [DNAFieldAttribute(0, "bUserMenuItem", "*next", "bUserMenuItem", 8, true, 0)] - public bUserMenuItem ptr_next; - [DNAFieldAttribute(1, "bUserMenuItem", "*prev", "bUserMenuItem", 8, true, 8)] - public bUserMenuItem ptr_prev; - [DNAFieldAttribute(2, "char", "ui_name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bUserMenuItem", 0, "*next", "bUserMenuItem", true, 0)] + public bUserMenuItem next; + [DNAFieldAttribute(8, "bUserMenuItem", 1, "*prev", "bUserMenuItem", true, 8)] + public bUserMenuItem prev; + [DNAFieldAttribute(64, "char", 2, "ui_name[64]", "System.Char[]", false, 16)] public char[] ui_name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "type", "char", 1, false, 80)] + [DNAFieldAttribute(1, "char", 3, "type", "char", false, 80)] public char type; - [DNAFieldAttribute(4, "char", "_pad0[7]", "System.Char[]", 7, false, 81)] + [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 81)] public char[] _pad0 = new System.Char[7]; public bUserMenuItem() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bUserMenuItem(bUserMenuItem next, bUserMenuItem prev, char[] ui_name, char type, char[] _pad0) { + this.next = next; + this.prev = prev; this.ui_name = ui_name; this.type = type; this._pad0 = _pad0; diff --git a/BlendFile/DNA/bUserMenuItem_Menu.cs b/BlendFile/DNA/bUserMenuItem_Menu.cs index 73566a0..e3d2e98 100644 --- a/BlendFile/DNA/bUserMenuItem_Menu.cs +++ b/BlendFile/DNA/bUserMenuItem_Menu.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1003, "bUserMenuItem_Menu", 152)] - public struct bUserMenuItem_Menu { - [DNAFieldAttribute(0, "bUserMenuItem", "item", "bUserMenuItem", 88, false, 0)] + public class bUserMenuItem_Menu { + [DNAFieldAttribute(88, "bUserMenuItem", 0, "item", "bUserMenuItem", false, 0)] public bUserMenuItem item; - [DNAFieldAttribute(1, "char", "mt_idname[64]", "System.Char[]", 64, false, 88)] + [DNAFieldAttribute(64, "char", 1, "mt_idname[64]", "System.Char[]", false, 88)] public char[] mt_idname = new System.Char[64]; public bUserMenuItem_Menu() { this.item = default; diff --git a/BlendFile/DNA/bUserMenuItem_Op.cs b/BlendFile/DNA/bUserMenuItem_Op.cs index 043c402..87420bf 100644 --- a/BlendFile/DNA/bUserMenuItem_Op.cs +++ b/BlendFile/DNA/bUserMenuItem_Op.cs @@ -15,30 +15,30 @@ namespace BlendFile.DNA { [DNAClassAttribute(1002, "bUserMenuItem_Op", 232)] public class bUserMenuItem_Op { - [DNAFieldAttribute(0, "bUserMenuItem", "item", "bUserMenuItem", 88, false, 0)] + [DNAFieldAttribute(88, "bUserMenuItem", 0, "item", "bUserMenuItem", false, 0)] public bUserMenuItem item; - [DNAFieldAttribute(1, "char", "op_idname[64]", "System.Char[]", 64, false, 88)] + [DNAFieldAttribute(64, "char", 1, "op_idname[64]", "System.Char[]", false, 88)] public char[] op_idname = new System.Char[64]; - [DNAFieldAttribute(2, "IDProperty", "*prop", "IDProperty", 8, true, 152)] - public IDProperty ptr_prop; - [DNAFieldAttribute(3, "char", "op_prop_enum[64]", "System.Char[]", 64, false, 160)] + [DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 152)] + public IDProperty prop; + [DNAFieldAttribute(64, "char", 3, "op_prop_enum[64]", "System.Char[]", false, 160)] public char[] op_prop_enum = new System.Char[64]; - [DNAFieldAttribute(4, "char", "opcontext", "char", 1, false, 224)] + [DNAFieldAttribute(1, "char", 4, "opcontext", "char", false, 224)] public char opcontext; - [DNAFieldAttribute(5, "char", "_pad0[7]", "System.Char[]", 7, false, 225)] + [DNAFieldAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", false, 225)] public char[] _pad0 = new System.Char[7]; public bUserMenuItem_Op() { this.item = default; this.op_idname = default; - this.ptr_prop = default; + this.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) { + public bUserMenuItem_Op(bUserMenuItem item, char[] op_idname, IDProperty prop, char[] op_prop_enum, char opcontext, char[] _pad0) { this.item = item; this.op_idname = op_idname; - this.ptr_prop = ptr_prop; + this.prop = prop; this.op_prop_enum = op_prop_enum; this.opcontext = opcontext; this._pad0 = _pad0; diff --git a/BlendFile/DNA/bUserMenuItem_Prop.cs b/BlendFile/DNA/bUserMenuItem_Prop.cs index 2c57994..0e3fc6b 100644 --- a/BlendFile/DNA/bUserMenuItem_Prop.cs +++ b/BlendFile/DNA/bUserMenuItem_Prop.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1004, "bUserMenuItem_Prop", 416)] - public struct bUserMenuItem_Prop { - [DNAFieldAttribute(0, "bUserMenuItem", "item", "bUserMenuItem", 88, false, 0)] + public class bUserMenuItem_Prop { + [DNAFieldAttribute(88, "bUserMenuItem", 0, "item", "bUserMenuItem", false, 0)] public bUserMenuItem item; - [DNAFieldAttribute(1, "char", "context_data_path[256]", "System.Char[]", 256, false, 88)] + [DNAFieldAttribute(256, "char", 1, "context_data_path[256]", "System.Char[]", false, 88)] public char[] context_data_path = new System.Char[256]; - [DNAFieldAttribute(2, "char", "prop_id[64]", "System.Char[]", 64, false, 344)] + [DNAFieldAttribute(64, "char", 2, "prop_id[64]", "System.Char[]", false, 344)] public char[] prop_id = new System.Char[64]; - [DNAFieldAttribute(3, "int", "prop_index", "int", 4, false, 408)] + [DNAFieldAttribute(4, "int", 3, "prop_index", "int", false, 408)] public int prop_index; - [DNAFieldAttribute(4, "char", "_pad0[4]", "System.Char[]", 4, false, 412)] + [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 412)] public char[] _pad0 = new System.Char[4]; public bUserMenuItem_Prop() { this.item = default; diff --git a/BlendFile/DNA/bUserScriptDirectory.cs b/BlendFile/DNA/bUserScriptDirectory.cs index 61b152a..fda91b6 100644 --- a/BlendFile/DNA/bUserScriptDirectory.cs +++ b/BlendFile/DNA/bUserScriptDirectory.cs @@ -15,23 +15,23 @@ namespace BlendFile.DNA { [DNAClassAttribute(1013, "bUserScriptDirectory", 848)] public class bUserScriptDirectory { - [DNAFieldAttribute(0, "bUserScriptDirectory", "*next", "bUserScriptDirectory", 8, true, 0)] - public bUserScriptDirectory ptr_next; - [DNAFieldAttribute(1, "bUserScriptDirectory", "*prev", "bUserScriptDirectory", 8, true, 8)] - public bUserScriptDirectory ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "bUserScriptDirectory", 0, "*next", "bUserScriptDirectory", true, 0)] + public bUserScriptDirectory next; + [DNAFieldAttribute(8, "bUserScriptDirectory", 1, "*prev", "bUserScriptDirectory", true, 8)] + public bUserScriptDirectory prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "char", "dir_path[768]", "System.Char[]", 768, false, 80)] + [DNAFieldAttribute(768, "char", 3, "dir_path[768]", "System.Char[]", false, 80)] public char[] dir_path = new System.Char[768]; public bUserScriptDirectory() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public bUserScriptDirectory(bUserScriptDirectory next, bUserScriptDirectory prev, char[] name, char[] dir_path) { + this.next = next; + this.prev = prev; this.name = name; this.dir_path = dir_path; } diff --git a/BlendFile/DNA/mat4x4f.cs b/BlendFile/DNA/mat4x4f.cs index f896ea0..19b3968 100644 --- a/BlendFile/DNA/mat4x4f.cs +++ b/BlendFile/DNA/mat4x4f.cs @@ -14,8 +14,8 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1021, "mat4x4f", 64)] - public struct mat4x4f { - [DNAFieldAttribute(0, "float", "value[4][4]", "System.Single[,]", 64, false, 0)] + public class mat4x4f { + [DNAFieldAttribute(64, "float", 0, "value[4][4]", "System.Single[,]", false, 0)] public float[,] value = new System.Single[4,4]; public mat4x4f() { this.value = default; diff --git a/BlendFile/DNA/raw_data.cs b/BlendFile/DNA/raw_data.cs index 3c346b7..83439bd 100644 --- a/BlendFile/DNA/raw_data.cs +++ b/BlendFile/DNA/raw_data.cs @@ -14,7 +14,7 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(13, "raw_data", 0)] - public struct raw_data { + public class raw_data { public raw_data() { } } diff --git a/BlendFile/DNA/rctf.cs b/BlendFile/DNA/rctf.cs index f97cd8c..dabb270 100644 --- a/BlendFile/DNA/rctf.cs +++ b/BlendFile/DNA/rctf.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(87, "rctf", 16)] - public struct rctf { - [DNAFieldAttribute(0, "float", "xmin", "float", 4, false, 0)] + public class rctf { + [DNAFieldAttribute(4, "float", 0, "xmin", "float", false, 0)] public float xmin; - [DNAFieldAttribute(1, "float", "xmax", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "xmax", "float", false, 4)] public float xmax; - [DNAFieldAttribute(2, "float", "ymin", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "ymin", "float", false, 8)] public float ymin; - [DNAFieldAttribute(3, "float", "ymax", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "ymax", "float", false, 12)] public float ymax; public rctf() { this.xmin = default; diff --git a/BlendFile/DNA/rcti.cs b/BlendFile/DNA/rcti.cs index f95894e..9add9d6 100644 --- a/BlendFile/DNA/rcti.cs +++ b/BlendFile/DNA/rcti.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(864, "rcti", 16)] - public struct rcti { - [DNAFieldAttribute(0, "int", "xmin", "int", 4, false, 0)] + public class rcti { + [DNAFieldAttribute(4, "int", 0, "xmin", "int", false, 0)] public int xmin; - [DNAFieldAttribute(1, "int", "xmax", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "xmax", "int", false, 4)] public int xmax; - [DNAFieldAttribute(2, "int", "ymin", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "ymin", "int", false, 8)] public int ymin; - [DNAFieldAttribute(3, "int", "ymax", "int", 4, false, 12)] + [DNAFieldAttribute(4, "int", 3, "ymax", "int", false, 12)] public int ymax; public rcti() { this.xmin = default; diff --git a/BlendFile/DNA/tPaletteColorHSV.cs b/BlendFile/DNA/tPaletteColorHSV.cs index 6e06fc2..d644a1d 100644 --- a/BlendFile/DNA/tPaletteColorHSV.cs +++ b/BlendFile/DNA/tPaletteColorHSV.cs @@ -14,16 +14,16 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(136, "tPaletteColorHSV", 28)] - public struct tPaletteColorHSV { - [DNAFieldAttribute(0, "float", "rgb[3]", "System.Single[]", 12, false, 0)] + public class tPaletteColorHSV { + [DNAFieldAttribute(12, "float", 0, "rgb[3]", "System.Single[]", false, 0)] public float[] rgb = new System.Single[3]; - [DNAFieldAttribute(1, "float", "value", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 1, "value", "float", false, 12)] public float value; - [DNAFieldAttribute(2, "float", "h", "float", 4, false, 16)] + [DNAFieldAttribute(4, "float", 2, "h", "float", false, 16)] public float h; - [DNAFieldAttribute(3, "float", "s", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 3, "s", "float", false, 20)] public float s; - [DNAFieldAttribute(4, "float", "v", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 4, "v", "float", false, 24)] public float v; public tPaletteColorHSV() { this.rgb = default; diff --git a/BlendFile/DNA/uiFontStyle.cs b/BlendFile/DNA/uiFontStyle.cs index baba8ba..7e51d08 100644 --- a/BlendFile/DNA/uiFontStyle.cs +++ b/BlendFile/DNA/uiFontStyle.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(987, "uiFontStyle", 32)] - public struct uiFontStyle { - [DNAFieldAttribute(0, "short", "uifont_id", "short", 2, false, 0)] + public class uiFontStyle { + [DNAFieldAttribute(2, "short", 0, "uifont_id", "short", false, 0)] public short uifont_id; - [DNAFieldAttribute(1, "char", "_pad1[2]", "System.Char[]", 2, false, 2)] + [DNAFieldAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", false, 2)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(2, "float", "points", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 2, "points", "float", false, 4)] public float points; - [DNAFieldAttribute(3, "short", "italic", "short", 2, false, 8)] + [DNAFieldAttribute(2, "short", 3, "italic", "short", false, 8)] public short italic; - [DNAFieldAttribute(4, "short", "bold", "short", 2, false, 10)] + [DNAFieldAttribute(2, "short", 4, "bold", "short", false, 10)] public short bold; - [DNAFieldAttribute(5, "short", "shadow", "short", 2, false, 12)] + [DNAFieldAttribute(2, "short", 5, "shadow", "short", false, 12)] public short shadow; - [DNAFieldAttribute(6, "short", "shadx", "short", 2, false, 14)] + [DNAFieldAttribute(2, "short", 6, "shadx", "short", false, 14)] public short shadx; - [DNAFieldAttribute(7, "short", "shady", "short", 2, false, 16)] + [DNAFieldAttribute(2, "short", 7, "shady", "short", false, 16)] public short shady; - [DNAFieldAttribute(8, "char", "_pad0[2]", "System.Char[]", 2, false, 18)] + [DNAFieldAttribute(2, "char", 8, "_pad0[2]", "System.Char[]", false, 18)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(9, "float", "shadowalpha", "float", 4, false, 20)] + [DNAFieldAttribute(4, "float", 9, "shadowalpha", "float", false, 20)] public float shadowalpha; - [DNAFieldAttribute(10, "float", "shadowcolor", "float", 4, false, 24)] + [DNAFieldAttribute(4, "float", 10, "shadowcolor", "float", false, 24)] public float shadowcolor; - [DNAFieldAttribute(11, "int", "character_weight", "int", 4, false, 28)] + [DNAFieldAttribute(4, "int", 11, "character_weight", "int", false, 28)] public int character_weight; public uiFontStyle() { this.uifont_id = default; diff --git a/BlendFile/DNA/uiList.cs b/BlendFile/DNA/uiList.cs index d0ede51..4f6c1ab 100644 --- a/BlendFile/DNA/uiList.cs +++ b/BlendFile/DNA/uiList.cs @@ -13,71 +13,55 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(855, "uiList", 328)] + [DNAClassAttribute(855, "uiList", 188)] public class uiList { - [DNAFieldAttribute(0, "uiList", "*next", "uiList", 8, true, 0)] - public uiList ptr_next; - [DNAFieldAttribute(1, "uiList", "*prev", "uiList", 8, true, 8)] - public uiList ptr_prev; - [DNAFieldAttribute(2, "uiListType", "*type", "uiListType", 8, true, 16)] - public uiListType ptr_type; - [DNAFieldAttribute(3, "char", "list_id[128]", "System.Char[]", 128, false, 24)] - public char[] list_id = new System.Char[128]; - [DNAFieldAttribute(4, "int", "layout_type", "int", 4, false, 152)] + [DNAFieldAttribute(8, "uiList", 0, "*next", "uiList", true, 0)] + public uiList next; + [DNAFieldAttribute(8, "uiList", 1, "*prev", "uiList", true, 8)] + public uiList prev; + [DNAFieldAttribute(8, "uiListType", 2, "*type", "uiListType", true, 16)] + public uiListType type; + [DNAFieldAttribute(4, "int", 4, "layout_type", "int", false, 24)] public int layout_type; - [DNAFieldAttribute(5, "int", "flag", "int", 4, false, 156)] + [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 28)] public int flag; - [DNAFieldAttribute(6, "int", "list_scroll", "int", 4, false, 160)] - public int list_scroll; - [DNAFieldAttribute(7, "int", "list_grip", "int", 4, false, 164)] - public int list_grip; - [DNAFieldAttribute(8, "int", "list_last_len", "int", 4, false, 168)] + [DNAFieldAttribute(4, "int", 8, "list_last_len", "int", false, 32)] public int list_last_len; - [DNAFieldAttribute(9, "int", "list_last_activei", "int", 4, false, 172)] - public int list_last_activei; - [DNAFieldAttribute(10, "char", "filter_byname[128]", "System.Char[]", 128, false, 176)] + [DNAFieldAttribute(128, "char", 10, "filter_byname[128]", "System.Char[]", false, 36)] public char[] filter_byname = new System.Char[128]; - [DNAFieldAttribute(11, "int", "filter_flag", "int", 4, false, 304)] + [DNAFieldAttribute(4, "int", 11, "filter_flag", "int", false, 164)] public int filter_flag; - [DNAFieldAttribute(12, "int", "filter_sort_flag", "int", 4, false, 308)] + [DNAFieldAttribute(4, "int", 12, "filter_sort_flag", "int", false, 168)] public int filter_sort_flag; - [DNAFieldAttribute(13, "IDProperty", "*properties", "IDProperty", 8, true, 312)] - public IDProperty ptr_properties; - [DNAFieldAttribute(14, "uiListDyn", "*dyn_data", "uiListDyn", 8, true, 320)] - public uiListDyn ptr_dyn_data; + [DNAFieldAttribute(8, "IDProperty", 13, "*properties", "IDProperty", true, 172)] + public IDProperty properties; + [DNAFieldAttribute(8, "uiListDyn", 14, "*dyn_data", "uiListDyn", true, 180)] + public uiListDyn dyn_data; public uiList() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_type = default; - this.list_id = default; + this.next = default; + this.prev = default; + this.type = 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; + this.properties = default; + this.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; - this.ptr_type = ptr_type; - this.list_id = list_id; + public uiList(uiList next, uiList prev, uiListType type, int layout_type, int flag, int list_last_len, char[] filter_byname, int filter_flag, int filter_sort_flag, IDProperty properties, uiListDyn dyn_data) { + this.next = next; + this.prev = prev; + this.type = type; this.layout_type = layout_type; this.flag = flag; - this.list_scroll = list_scroll; - this.list_grip = list_grip; this.list_last_len = list_last_len; - this.list_last_activei = list_last_activei; this.filter_byname = filter_byname; this.filter_flag = filter_flag; this.filter_sort_flag = filter_sort_flag; - this.ptr_properties = ptr_properties; - this.ptr_dyn_data = ptr_dyn_data; + this.properties = properties; + this.dyn_data = dyn_data; } } } diff --git a/BlendFile/DNA/uiPanelColors.cs b/BlendFile/DNA/uiPanelColors.cs index 6860df8..c5782a6 100644 --- a/BlendFile/DNA/uiPanelColors.cs +++ b/BlendFile/DNA/uiPanelColors.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(991, "uiPanelColors", 16)] - public struct uiPanelColors { - [DNAFieldAttribute(0, "char", "header[4]", "System.Char[]", 4, false, 0)] + public class uiPanelColors { + [DNAFieldAttribute(4, "char", 0, "header[4]", "System.Char[]", false, 0)] public char[] header = new System.Char[4]; - [DNAFieldAttribute(1, "char", "back[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "back[4]", "System.Char[]", false, 4)] public char[] back = new System.Char[4]; - [DNAFieldAttribute(2, "char", "sub_back[4]", "System.Char[]", 4, false, 8)] + [DNAFieldAttribute(4, "char", 2, "sub_back[4]", "System.Char[]", false, 8)] public char[] sub_back = new System.Char[4]; - [DNAFieldAttribute(3, "char", "_pad0[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", false, 12)] public char[] _pad0 = new System.Char[4]; public uiPanelColors() { this.header = default; diff --git a/BlendFile/DNA/uiPreview.cs b/BlendFile/DNA/uiPreview.cs index 7fc351e..6ffd641 100644 --- a/BlendFile/DNA/uiPreview.cs +++ b/BlendFile/DNA/uiPreview.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(859, "uiPreview", 88)] public class uiPreview { - [DNAFieldAttribute(0, "uiPreview", "*next", "uiPreview", 8, true, 0)] - public uiPreview ptr_next; - [DNAFieldAttribute(1, "uiPreview", "*prev", "uiPreview", 8, true, 8)] - public uiPreview ptr_prev; - [DNAFieldAttribute(2, "char", "preview_id[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "uiPreview", 0, "*next", "uiPreview", true, 0)] + public uiPreview next; + [DNAFieldAttribute(8, "uiPreview", 1, "*prev", "uiPreview", true, 8)] + public uiPreview prev; + [DNAFieldAttribute(64, "char", 2, "preview_id[64]", "System.Char[]", false, 16)] public char[] preview_id = new System.Char[64]; - [DNAFieldAttribute(3, "short", "height", "short", 2, false, 80)] + [DNAFieldAttribute(2, "short", 3, "height", "short", false, 80)] public short height; - [DNAFieldAttribute(4, "short", "tag", "short", 2, false, 82)] + [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 82)] public short tag; - [DNAFieldAttribute(5, "int", "id_session_uid", "int", 4, false, 84)] + [DNAFieldAttribute(4, "int", 5, "id_session_uid", "int", false, 84)] public int id_session_uid; public uiPreview() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public uiPreview(uiPreview next, uiPreview prev, char[] preview_id, short height, short tag, int id_session_uid) { + this.next = next; + this.prev = prev; this.preview_id = preview_id; this.height = height; this.tag = tag; diff --git a/BlendFile/DNA/uiStyle.cs b/BlendFile/DNA/uiStyle.cs index b4c752b..94bf8f7 100644 --- a/BlendFile/DNA/uiStyle.cs +++ b/BlendFile/DNA/uiStyle.cs @@ -15,45 +15,45 @@ namespace BlendFile.DNA { [DNAClassAttribute(988, "uiStyle", 232)] public class uiStyle { - [DNAFieldAttribute(0, "uiStyle", "*next", "uiStyle", 8, true, 0)] - public uiStyle ptr_next; - [DNAFieldAttribute(1, "uiStyle", "*prev", "uiStyle", 8, true, 8)] - public uiStyle ptr_prev; - [DNAFieldAttribute(2, "char", "name[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "uiStyle", 0, "*next", "uiStyle", true, 0)] + public uiStyle next; + [DNAFieldAttribute(8, "uiStyle", 1, "*prev", "uiStyle", true, 8)] + public uiStyle prev; + [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(3, "uiFontStyle", "paneltitle", "uiFontStyle", 32, false, 80)] + [DNAFieldAttribute(32, "uiFontStyle", 3, "paneltitle", "uiFontStyle", false, 80)] public uiFontStyle paneltitle; - [DNAFieldAttribute(4, "uiFontStyle", "grouplabel", "uiFontStyle", 32, false, 112)] + [DNAFieldAttribute(32, "uiFontStyle", 4, "grouplabel", "uiFontStyle", false, 112)] public uiFontStyle grouplabel; - [DNAFieldAttribute(5, "uiFontStyle", "widget", "uiFontStyle", 32, false, 144)] + [DNAFieldAttribute(32, "uiFontStyle", 5, "widget", "uiFontStyle", false, 144)] public uiFontStyle widget; - [DNAFieldAttribute(6, "uiFontStyle", "tooltip", "uiFontStyle", 32, false, 176)] + [DNAFieldAttribute(32, "uiFontStyle", 6, "tooltip", "uiFontStyle", false, 176)] public uiFontStyle tooltip; - [DNAFieldAttribute(7, "float", "panelzoom", "float", 4, false, 208)] + [DNAFieldAttribute(4, "float", 7, "panelzoom", "float", false, 208)] public float panelzoom; - [DNAFieldAttribute(8, "short", "minlabelchars", "short", 2, false, 212)] + [DNAFieldAttribute(2, "short", 8, "minlabelchars", "short", false, 212)] public short minlabelchars; - [DNAFieldAttribute(9, "short", "minwidgetchars", "short", 2, false, 214)] + [DNAFieldAttribute(2, "short", 9, "minwidgetchars", "short", false, 214)] public short minwidgetchars; - [DNAFieldAttribute(10, "short", "columnspace", "short", 2, false, 216)] + [DNAFieldAttribute(2, "short", 10, "columnspace", "short", false, 216)] public short columnspace; - [DNAFieldAttribute(11, "short", "templatespace", "short", 2, false, 218)] + [DNAFieldAttribute(2, "short", 11, "templatespace", "short", false, 218)] public short templatespace; - [DNAFieldAttribute(12, "short", "boxspace", "short", 2, false, 220)] + [DNAFieldAttribute(2, "short", 12, "boxspace", "short", false, 220)] public short boxspace; - [DNAFieldAttribute(13, "short", "buttonspacex", "short", 2, false, 222)] + [DNAFieldAttribute(2, "short", 13, "buttonspacex", "short", false, 222)] public short buttonspacex; - [DNAFieldAttribute(14, "short", "buttonspacey", "short", 2, false, 224)] + [DNAFieldAttribute(2, "short", 14, "buttonspacey", "short", false, 224)] public short buttonspacey; - [DNAFieldAttribute(15, "short", "panelspace", "short", 2, false, 226)] + [DNAFieldAttribute(2, "short", 15, "panelspace", "short", false, 226)] public short panelspace; - [DNAFieldAttribute(16, "short", "panelouter", "short", 2, false, 228)] + [DNAFieldAttribute(2, "short", 16, "panelouter", "short", false, 228)] public short panelouter; - [DNAFieldAttribute(17, "char", "_pad0[2]", "System.Char[]", 2, false, 230)] + [DNAFieldAttribute(2, "char", 17, "_pad0[2]", "System.Char[]", false, 230)] public char[] _pad0 = new System.Char[2]; public uiStyle() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.name = default; this.paneltitle = default; this.grouplabel = default; @@ -72,8 +72,8 @@ namespace BlendFile.DNA { this._pad0 = default; } public uiStyle( - uiStyle ptr_next, - uiStyle ptr_prev, + uiStyle next, + uiStyle prev, char[] name, uiFontStyle paneltitle, uiFontStyle grouplabel, @@ -90,8 +90,8 @@ namespace BlendFile.DNA { short panelspace, short panelouter, char[] _pad0) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + this.next = next; + this.prev = prev; this.name = name; this.paneltitle = paneltitle; this.grouplabel = grouplabel; diff --git a/BlendFile/DNA/uiWidgetColors.cs b/BlendFile/DNA/uiWidgetColors.cs index 2265e53..a02009f 100644 --- a/BlendFile/DNA/uiWidgetColors.cs +++ b/BlendFile/DNA/uiWidgetColors.cs @@ -14,28 +14,28 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(989, "uiWidgetColors", 40)] - public struct uiWidgetColors { - [DNAFieldAttribute(0, "char", "outline[4]", "System.Char[]", 4, false, 0)] + public class uiWidgetColors { + [DNAFieldAttribute(4, "char", 0, "outline[4]", "System.Char[]", false, 0)] public char[] outline = new System.Char[4]; - [DNAFieldAttribute(1, "char", "inner[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "inner[4]", "System.Char[]", false, 4)] public char[] inner = new System.Char[4]; - [DNAFieldAttribute(2, "char", "inner_sel[4]", "System.Char[]", 4, false, 8)] + [DNAFieldAttribute(4, "char", 2, "inner_sel[4]", "System.Char[]", false, 8)] public char[] inner_sel = new System.Char[4]; - [DNAFieldAttribute(3, "char", "item[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 3, "item[4]", "System.Char[]", false, 12)] public char[] item = new System.Char[4]; - [DNAFieldAttribute(4, "char", "text[4]", "System.Char[]", 4, false, 16)] + [DNAFieldAttribute(4, "char", 4, "text[4]", "System.Char[]", false, 16)] public char[] text = new System.Char[4]; - [DNAFieldAttribute(5, "char", "text_sel[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 5, "text_sel[4]", "System.Char[]", false, 20)] public char[] text_sel = new System.Char[4]; - [DNAFieldAttribute(6, "char", "shaded", "char", 1, false, 24)] + [DNAFieldAttribute(1, "char", 6, "shaded", "char", false, 24)] public char shaded; - [DNAFieldAttribute(7, "char", "_pad0[7]", "System.Char[]", 7, false, 25)] + [DNAFieldAttribute(7, "char", 7, "_pad0[7]", "System.Char[]", false, 25)] public char[] _pad0 = new System.Char[7]; - [DNAFieldAttribute(8, "short", "shadetop", "short", 2, false, 32)] + [DNAFieldAttribute(2, "short", 8, "shadetop", "short", false, 32)] public short shadetop; - [DNAFieldAttribute(9, "short", "shadedown", "short", 2, false, 34)] + [DNAFieldAttribute(2, "short", 9, "shadedown", "short", false, 34)] public short shadedown; - [DNAFieldAttribute(10, "float", "roundness", "float", 4, false, 36)] + [DNAFieldAttribute(4, "float", 10, "roundness", "float", false, 36)] public float roundness; public uiWidgetColors() { this.outline = default; diff --git a/BlendFile/DNA/uiWidgetStateColors.cs b/BlendFile/DNA/uiWidgetStateColors.cs index 08cf2b0..05a62c3 100644 --- a/BlendFile/DNA/uiWidgetStateColors.cs +++ b/BlendFile/DNA/uiWidgetStateColors.cs @@ -14,30 +14,30 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(990, "uiWidgetStateColors", 48)] - public struct uiWidgetStateColors { - [DNAFieldAttribute(0, "char", "inner_anim[4]", "System.Char[]", 4, false, 0)] + public class uiWidgetStateColors { + [DNAFieldAttribute(4, "char", 0, "inner_anim[4]", "System.Char[]", false, 0)] public char[] inner_anim = new System.Char[4]; - [DNAFieldAttribute(1, "char", "inner_anim_sel[4]", "System.Char[]", 4, false, 4)] + [DNAFieldAttribute(4, "char", 1, "inner_anim_sel[4]", "System.Char[]", false, 4)] public char[] inner_anim_sel = new System.Char[4]; - [DNAFieldAttribute(2, "char", "inner_key[4]", "System.Char[]", 4, false, 8)] + [DNAFieldAttribute(4, "char", 2, "inner_key[4]", "System.Char[]", false, 8)] public char[] inner_key = new System.Char[4]; - [DNAFieldAttribute(3, "char", "inner_key_sel[4]", "System.Char[]", 4, false, 12)] + [DNAFieldAttribute(4, "char", 3, "inner_key_sel[4]", "System.Char[]", false, 12)] public char[] inner_key_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", "inner_driven[4]", "System.Char[]", 4, false, 16)] + [DNAFieldAttribute(4, "char", 4, "inner_driven[4]", "System.Char[]", false, 16)] public char[] inner_driven = new System.Char[4]; - [DNAFieldAttribute(5, "char", "inner_driven_sel[4]", "System.Char[]", 4, false, 20)] + [DNAFieldAttribute(4, "char", 5, "inner_driven_sel[4]", "System.Char[]", false, 20)] public char[] inner_driven_sel = new System.Char[4]; - [DNAFieldAttribute(6, "char", "inner_overridden[4]", "System.Char[]", 4, false, 24)] + [DNAFieldAttribute(4, "char", 6, "inner_overridden[4]", "System.Char[]", false, 24)] public char[] inner_overridden = new System.Char[4]; - [DNAFieldAttribute(7, "char", "inner_overridden_sel[4]", "System.Char[]", 4, false, 28)] + [DNAFieldAttribute(4, "char", 7, "inner_overridden_sel[4]", "System.Char[]", false, 28)] public char[] inner_overridden_sel = new System.Char[4]; - [DNAFieldAttribute(8, "char", "inner_changed[4]", "System.Char[]", 4, false, 32)] + [DNAFieldAttribute(4, "char", 8, "inner_changed[4]", "System.Char[]", false, 32)] public char[] inner_changed = new System.Char[4]; - [DNAFieldAttribute(9, "char", "inner_changed_sel[4]", "System.Char[]", 4, false, 36)] + [DNAFieldAttribute(4, "char", 9, "inner_changed_sel[4]", "System.Char[]", false, 36)] public char[] inner_changed_sel = new System.Char[4]; - [DNAFieldAttribute(10, "float", "blend", "float", 4, false, 40)] + [DNAFieldAttribute(4, "float", 10, "blend", "float", false, 40)] public float blend; - [DNAFieldAttribute(11, "char", "_pad0[4]", "System.Char[]", 4, false, 44)] + [DNAFieldAttribute(4, "char", 11, "_pad0[4]", "System.Char[]", false, 44)] public char[] _pad0 = new System.Char[4]; public uiWidgetStateColors() { this.inner_anim = default; diff --git a/BlendFile/DNA/vec2f.cs b/BlendFile/DNA/vec2f.cs index fec05a2..6ae44bf 100644 --- a/BlendFile/DNA/vec2f.cs +++ b/BlendFile/DNA/vec2f.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1016, "vec2f", 8)] - public struct vec2f { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class vec2f { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; public vec2f() { this.x = default; diff --git a/BlendFile/DNA/vec2i.cs b/BlendFile/DNA/vec2i.cs index 868f021..b000da4 100644 --- a/BlendFile/DNA/vec2i.cs +++ b/BlendFile/DNA/vec2i.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1017, "vec2i", 8)] - public struct vec2i { - [DNAFieldAttribute(0, "int", "x", "int", 4, false, 0)] + public class vec2i { + [DNAFieldAttribute(4, "int", 0, "x", "int", false, 0)] public int x; - [DNAFieldAttribute(1, "int", "y", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "y", "int", false, 4)] public int y; public vec2i() { this.x = default; diff --git a/BlendFile/DNA/vec2s.cs b/BlendFile/DNA/vec2s.cs index 4cad59d..20a7951 100644 --- a/BlendFile/DNA/vec2s.cs +++ b/BlendFile/DNA/vec2s.cs @@ -14,10 +14,10 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(846, "vec2s", 4)] - public struct vec2s { - [DNAFieldAttribute(0, "short", "x", "short", 2, false, 0)] + public class vec2s { + [DNAFieldAttribute(2, "short", 0, "x", "short", false, 0)] public short x; - [DNAFieldAttribute(1, "short", "y", "short", 2, false, 2)] + [DNAFieldAttribute(2, "short", 1, "y", "short", false, 2)] public short y; public vec2s() { this.x = default; diff --git a/BlendFile/DNA/vec3f.cs b/BlendFile/DNA/vec3f.cs index 1b65338..6021131 100644 --- a/BlendFile/DNA/vec3f.cs +++ b/BlendFile/DNA/vec3f.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1019, "vec3f", 12)] - public struct vec3f { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class vec3f { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "z", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "z", "float", false, 8)] public float z; public vec3f() { this.x = default; diff --git a/BlendFile/DNA/vec3i.cs b/BlendFile/DNA/vec3i.cs index 6342812..e3e8e42 100644 --- a/BlendFile/DNA/vec3i.cs +++ b/BlendFile/DNA/vec3i.cs @@ -14,12 +14,12 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1018, "vec3i", 12)] - public struct vec3i { - [DNAFieldAttribute(0, "int", "x", "int", 4, false, 0)] + public class vec3i { + [DNAFieldAttribute(4, "int", 0, "x", "int", false, 0)] public int x; - [DNAFieldAttribute(1, "int", "y", "int", 4, false, 4)] + [DNAFieldAttribute(4, "int", 1, "y", "int", false, 4)] public int y; - [DNAFieldAttribute(2, "int", "z", "int", 4, false, 8)] + [DNAFieldAttribute(4, "int", 2, "z", "int", false, 8)] public int z; public vec3i() { this.x = default; diff --git a/BlendFile/DNA/vec4f.cs b/BlendFile/DNA/vec4f.cs index 03a0e63..0a37f46 100644 --- a/BlendFile/DNA/vec4f.cs +++ b/BlendFile/DNA/vec4f.cs @@ -14,14 +14,14 @@ namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(1020, "vec4f", 16)] - public struct vec4f { - [DNAFieldAttribute(0, "float", "x", "float", 4, false, 0)] + public class vec4f { + [DNAFieldAttribute(4, "float", 0, "x", "float", false, 0)] public float x; - [DNAFieldAttribute(1, "float", "y", "float", 4, false, 4)] + [DNAFieldAttribute(4, "float", 1, "y", "float", false, 4)] public float y; - [DNAFieldAttribute(2, "float", "z", "float", 4, false, 8)] + [DNAFieldAttribute(4, "float", 2, "z", "float", false, 8)] public float z; - [DNAFieldAttribute(3, "float", "w", "float", 4, false, 12)] + [DNAFieldAttribute(4, "float", 3, "w", "float", false, 12)] public float w; public vec4f() { this.x = default; diff --git a/BlendFile/DNA/wmKeyConfig.cs b/BlendFile/DNA/wmKeyConfig.cs index d1da313..8e6994a 100644 --- a/BlendFile/DNA/wmKeyConfig.cs +++ b/BlendFile/DNA/wmKeyConfig.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(1050, "wmKeyConfig", 168)] public class wmKeyConfig { - [DNAFieldAttribute(0, "wmKeyConfig", "*next", "wmKeyConfig", 8, true, 0)] - public wmKeyConfig ptr_next; - [DNAFieldAttribute(1, "wmKeyConfig", "*prev", "wmKeyConfig", 8, true, 8)] - public wmKeyConfig ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "wmKeyConfig", 0, "*next", "wmKeyConfig", true, 0)] + public wmKeyConfig next; + [DNAFieldAttribute(8, "wmKeyConfig", 1, "*prev", "wmKeyConfig", true, 8)] + public wmKeyConfig prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(3, "char", "basename[64]", "System.Char[]", 64, false, 80)] + [DNAFieldAttribute(64, "char", 3, "basename[64]", "System.Char[]", false, 80)] public char[] basename = new System.Char[64]; - [DNAFieldAttribute(4, "ListBase", "keymaps", "ListBase", 16, false, 144)] + [DNAFieldAttribute(16, "ListBase", 4, "keymaps", "ListBase", false, 144)] public ListBase keymaps; - [DNAFieldAttribute(5, "int", "actkeymap", "int", 4, false, 160)] + [DNAFieldAttribute(4, "int", 5, "actkeymap", "int", false, 160)] public int actkeymap; - [DNAFieldAttribute(6, "short", "flag", "short", 2, false, 164)] + [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 164)] public short flag; - [DNAFieldAttribute(7, "char", "_pad0[2]", "System.Char[]", 2, false, 166)] + [DNAFieldAttribute(2, "char", 7, "_pad0[2]", "System.Char[]", false, 166)] public char[] _pad0 = new System.Char[2]; public wmKeyConfig() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.idname = default; this.basename = default; this.keymaps = default; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { 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; + public wmKeyConfig(wmKeyConfig next, wmKeyConfig prev, char[] idname, char[] basename, ListBase keymaps, int actkeymap, short flag, char[] _pad0) { + this.next = next; + this.prev = prev; this.idname = idname; this.basename = basename; this.keymaps = keymaps; diff --git a/BlendFile/DNA/wmKeyConfigPref.cs b/BlendFile/DNA/wmKeyConfigPref.cs index 03c4a01..3a3022c 100644 --- a/BlendFile/DNA/wmKeyConfigPref.cs +++ b/BlendFile/DNA/wmKeyConfigPref.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(1063, "wmKeyConfigPref", 88)] public class wmKeyConfigPref { - [DNAFieldAttribute(0, "wmKeyConfigPref", "*next", "wmKeyConfigPref", 8, true, 0)] - public wmKeyConfigPref ptr_next; - [DNAFieldAttribute(1, "wmKeyConfigPref", "*prev", "wmKeyConfigPref", 8, true, 8)] - public wmKeyConfigPref ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "wmKeyConfigPref", 0, "*next", "wmKeyConfigPref", true, 0)] + public wmKeyConfigPref next; + [DNAFieldAttribute(8, "wmKeyConfigPref", 1, "*prev", "wmKeyConfigPref", true, 8)] + public wmKeyConfigPref prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(3, "IDProperty", "*prop", "IDProperty", 8, true, 80)] - public IDProperty ptr_prop; + [DNAFieldAttribute(8, "IDProperty", 3, "*prop", "IDProperty", true, 80)] + public IDProperty prop; public wmKeyConfigPref() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.idname = default; - this.ptr_prop = default; + this.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; + public wmKeyConfigPref(wmKeyConfigPref next, wmKeyConfigPref prev, char[] idname, IDProperty prop) { + this.next = next; + this.prev = prev; this.idname = idname; - this.ptr_prop = ptr_prop; + this.prop = prop; } } } diff --git a/BlendFile/DNA/wmKeyMap.cs b/BlendFile/DNA/wmKeyMap.cs index 6b75009..54023be 100644 --- a/BlendFile/DNA/wmKeyMap.cs +++ b/BlendFile/DNA/wmKeyMap.cs @@ -15,31 +15,31 @@ namespace BlendFile.DNA { [DNAClassAttribute(1061, "wmKeyMap", 256)] public class wmKeyMap { - [DNAFieldAttribute(0, "wmKeyMap", "*next", "wmKeyMap", 8, true, 0)] - public wmKeyMap ptr_next; - [DNAFieldAttribute(1, "wmKeyMap", "*prev", "wmKeyMap", 8, true, 8)] - public wmKeyMap ptr_prev; - [DNAFieldAttribute(2, "ListBase", "items", "ListBase", 16, false, 16)] + [DNAFieldAttribute(8, "wmKeyMap", 0, "*next", "wmKeyMap", true, 0)] + public wmKeyMap next; + [DNAFieldAttribute(8, "wmKeyMap", 1, "*prev", "wmKeyMap", true, 8)] + public wmKeyMap prev; + [DNAFieldAttribute(16, "ListBase", 2, "items", "ListBase", false, 16)] public ListBase items; - [DNAFieldAttribute(3, "ListBase", "diff_items", "ListBase", 16, false, 32)] + [DNAFieldAttribute(16, "ListBase", 3, "diff_items", "ListBase", false, 32)] public ListBase diff_items; - [DNAFieldAttribute(4, "char", "idname[64]", "System.Char[]", 64, false, 48)] + [DNAFieldAttribute(64, "char", 4, "idname[64]", "System.Char[]", false, 48)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(5, "short", "spaceid", "short", 2, false, 112)] + [DNAFieldAttribute(2, "short", 5, "spaceid", "short", false, 112)] public short spaceid; - [DNAFieldAttribute(6, "short", "regionid", "short", 2, false, 114)] + [DNAFieldAttribute(2, "short", 6, "regionid", "short", false, 114)] public short regionid; - [DNAFieldAttribute(7, "char", "owner_id[128]", "System.Char[]", 128, false, 116)] + [DNAFieldAttribute(128, "char", 7, "owner_id[128]", "System.Char[]", false, 116)] public char[] owner_id = new System.Char[128]; - [DNAFieldAttribute(8, "short", "flag", "short", 2, false, 244)] + [DNAFieldAttribute(2, "short", 8, "flag", "short", false, 244)] public short flag; - [DNAFieldAttribute(9, "short", "kmi_id", "short", 2, false, 246)] + [DNAFieldAttribute(2, "short", 9, "kmi_id", "short", false, 246)] public short kmi_id; - [DNAFieldAttribute(12, "void", "*modal_items", "void", 8, true, 248)] - public object ptr_modal_items; + [DNAFieldAttribute(8, "void", 12, "*modal_items", "void", true, 248)] + public object modal_items; public wmKeyMap() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.items = default; this.diff_items = default; this.idname = default; @@ -48,11 +48,11 @@ namespace BlendFile.DNA { this.owner_id = default; this.flag = default; this.kmi_id = default; - this.ptr_modal_items = default; + this.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; + public wmKeyMap(wmKeyMap next, wmKeyMap prev, ListBase items, ListBase diff_items, char[] idname, short spaceid, short regionid, char[] owner_id, short flag, short kmi_id, object modal_items) { + this.next = next; + this.prev = prev; this.items = items; this.diff_items = diff_items; this.idname = idname; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { this.owner_id = owner_id; this.flag = flag; this.kmi_id = kmi_id; - this.ptr_modal_items = ptr_modal_items; + this.modal_items = modal_items; } } } diff --git a/BlendFile/DNA/wmKeyMapDiffItem.cs b/BlendFile/DNA/wmKeyMapDiffItem.cs index 77cee23..5e9ddf5 100644 --- a/BlendFile/DNA/wmKeyMapDiffItem.cs +++ b/BlendFile/DNA/wmKeyMapDiffItem.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(1060, "wmKeyMapDiffItem", 32)] public class wmKeyMapDiffItem { - [DNAFieldAttribute(0, "wmKeyMapDiffItem", "*next", "wmKeyMapDiffItem", 8, true, 0)] - public wmKeyMapDiffItem ptr_next; - [DNAFieldAttribute(1, "wmKeyMapDiffItem", "*prev", "wmKeyMapDiffItem", 8, true, 8)] - public wmKeyMapDiffItem ptr_prev; - [DNAFieldAttribute(2, "wmKeyMapItem", "*remove_item", "wmKeyMapItem", 8, true, 16)] - public wmKeyMapItem ptr_remove_item; - [DNAFieldAttribute(3, "wmKeyMapItem", "*add_item", "wmKeyMapItem", 8, true, 24)] - public wmKeyMapItem ptr_add_item; + [DNAFieldAttribute(8, "wmKeyMapDiffItem", 0, "*next", "wmKeyMapDiffItem", true, 0)] + public wmKeyMapDiffItem next; + [DNAFieldAttribute(8, "wmKeyMapDiffItem", 1, "*prev", "wmKeyMapDiffItem", true, 8)] + public wmKeyMapDiffItem prev; + [DNAFieldAttribute(8, "wmKeyMapItem", 2, "*remove_item", "wmKeyMapItem", true, 16)] + public wmKeyMapItem remove_item; + [DNAFieldAttribute(8, "wmKeyMapItem", 3, "*add_item", "wmKeyMapItem", true, 24)] + public wmKeyMapItem add_item; public wmKeyMapDiffItem() { - this.ptr_next = default; - this.ptr_prev = default; - this.ptr_remove_item = default; - this.ptr_add_item = default; + this.next = default; + this.prev = default; + this.remove_item = default; + this.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; - this.ptr_remove_item = ptr_remove_item; - this.ptr_add_item = ptr_add_item; + public wmKeyMapDiffItem(wmKeyMapDiffItem next, wmKeyMapDiffItem prev, wmKeyMapItem remove_item, wmKeyMapItem add_item) { + this.next = next; + this.prev = prev; + this.remove_item = remove_item; + this.add_item = add_item; } } } diff --git a/BlendFile/DNA/wmKeyMapItem.cs b/BlendFile/DNA/wmKeyMapItem.cs index a514181..91dd81b 100644 --- a/BlendFile/DNA/wmKeyMapItem.cs +++ b/BlendFile/DNA/wmKeyMapItem.cs @@ -15,49 +15,49 @@ namespace BlendFile.DNA { [DNAClassAttribute(1058, "wmKeyMapItem", 184)] public class wmKeyMapItem { - [DNAFieldAttribute(0, "wmKeyMapItem", "*next", "wmKeyMapItem", 8, true, 0)] - public wmKeyMapItem ptr_next; - [DNAFieldAttribute(1, "wmKeyMapItem", "*prev", "wmKeyMapItem", 8, true, 8)] - public wmKeyMapItem ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "wmKeyMapItem", 0, "*next", "wmKeyMapItem", true, 0)] + public wmKeyMapItem next; + [DNAFieldAttribute(8, "wmKeyMapItem", 1, "*prev", "wmKeyMapItem", true, 8)] + public wmKeyMapItem prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(3, "IDProperty", "*properties", "IDProperty", 8, true, 80)] - public IDProperty ptr_properties; - [DNAFieldAttribute(4, "char", "propvalue_str[64]", "System.Char[]", 64, false, 88)] + [DNAFieldAttribute(8, "IDProperty", 3, "*properties", "IDProperty", true, 80)] + public IDProperty properties; + [DNAFieldAttribute(64, "char", 4, "propvalue_str[64]", "System.Char[]", false, 88)] public char[] propvalue_str = new System.Char[64]; - [DNAFieldAttribute(5, "short", "propvalue", "short", 2, false, 152)] + [DNAFieldAttribute(2, "short", 5, "propvalue", "short", false, 152)] public short propvalue; - [DNAFieldAttribute(6, "short", "type", "short", 2, false, 154)] + [DNAFieldAttribute(2, "short", 6, "type", "short", false, 154)] public short type; - [DNAFieldAttribute(7, "int8_t", "val", "int8_t", 1, false, 156)] + [DNAFieldAttribute(1, "int8_t", 7, "val", "int8_t", false, 156)] public sbyte val; - [DNAFieldAttribute(8, "int8_t", "direction", "int8_t", 1, false, 157)] + [DNAFieldAttribute(1, "int8_t", 8, "direction", "int8_t", false, 157)] public sbyte direction; - [DNAFieldAttribute(9, "short", "shift", "short", 2, false, 158)] + [DNAFieldAttribute(2, "short", 9, "shift", "short", false, 158)] public short shift; - [DNAFieldAttribute(10, "short", "ctrl", "short", 2, false, 160)] + [DNAFieldAttribute(2, "short", 10, "ctrl", "short", false, 160)] public short ctrl; - [DNAFieldAttribute(11, "short", "alt", "short", 2, false, 162)] + [DNAFieldAttribute(2, "short", 11, "alt", "short", false, 162)] public short alt; - [DNAFieldAttribute(12, "short", "oskey", "short", 2, false, 164)] + [DNAFieldAttribute(2, "short", 12, "oskey", "short", false, 164)] public short oskey; - [DNAFieldAttribute(13, "short", "keymodifier", "short", 2, false, 166)] + [DNAFieldAttribute(2, "short", 13, "keymodifier", "short", false, 166)] public short keymodifier; - [DNAFieldAttribute(14, "short", "flag", "short", 2, false, 168)] + [DNAFieldAttribute(2, "short", 14, "flag", "short", false, 168)] public short flag; - [DNAFieldAttribute(15, "short", "maptype", "short", 2, false, 170)] + [DNAFieldAttribute(2, "short", 15, "maptype", "short", false, 170)] public short maptype; - [DNAFieldAttribute(16, "short", "id", "short", 2, false, 172)] + [DNAFieldAttribute(2, "short", 16, "id", "short", false, 172)] public short id; - [DNAFieldAttribute(17, "char", "_pad[2]", "System.Char[]", 2, false, 174)] + [DNAFieldAttribute(2, "char", 17, "_pad[2]", "System.Char[]", false, 174)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(18, "PointerRNA", "*ptr", "PointerRNA", 8, true, 176)] - public PointerRNA ptr_ptr; + [DNAFieldAttribute(8, "PointerRNA", 18, "*ptr", "PointerRNA", true, 176)] + public PointerRNA ptr; public wmKeyMapItem() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.prev = default; this.idname = default; - this.ptr_properties = default; + this.properties = default; this.propvalue_str = default; this.propvalue = default; this.type = default; @@ -72,13 +72,13 @@ namespace BlendFile.DNA { this.maptype = default; this.id = default; this._pad = default; - this.ptr_ptr = default; + this.ptr = default; } public wmKeyMapItem( - wmKeyMapItem ptr_next, - wmKeyMapItem ptr_prev, + wmKeyMapItem next, + wmKeyMapItem prev, char[] idname, - IDProperty ptr_properties, + IDProperty properties, char[] propvalue_str, short propvalue, short type, @@ -93,11 +93,11 @@ namespace BlendFile.DNA { short maptype, short id, char[] _pad, - PointerRNA ptr_ptr) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; + PointerRNA ptr) { + this.next = next; + this.prev = prev; this.idname = idname; - this.ptr_properties = ptr_properties; + this.properties = properties; this.propvalue_str = propvalue_str; this.propvalue = propvalue; this.type = type; @@ -112,7 +112,7 @@ namespace BlendFile.DNA { this.maptype = maptype; this.id = id; this._pad = _pad; - this.ptr_ptr = ptr_ptr; + this.ptr = ptr; } } } diff --git a/BlendFile/DNA/wmOperator.cs b/BlendFile/DNA/wmOperator.cs index a594323..949e193 100644 --- a/BlendFile/DNA/wmOperator.cs +++ b/BlendFile/DNA/wmOperator.cs @@ -15,63 +15,63 @@ namespace BlendFile.DNA { [DNAClassAttribute(946, "wmOperator", 168)] public class wmOperator { - [DNAFieldAttribute(0, "wmOperator", "*next", "wmOperator", 8, true, 0)] - public wmOperator ptr_next; - [DNAFieldAttribute(1, "wmOperator", "*prev", "wmOperator", 8, true, 8)] - public wmOperator ptr_prev; - [DNAFieldAttribute(2, "char", "idname[64]", "System.Char[]", 64, false, 16)] + [DNAFieldAttribute(8, "wmOperator", 0, "*next", "wmOperator", true, 0)] + public wmOperator next; + [DNAFieldAttribute(8, "wmOperator", 1, "*prev", "wmOperator", true, 8)] + public wmOperator prev; + [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(3, "IDProperty", "*properties", "IDProperty", 8, true, 80)] - public IDProperty ptr_properties; - [DNAFieldAttribute(4, "wmOperatorType", "*type", "wmOperatorType", 8, true, 88)] - public wmOperatorType ptr_type; - [DNAFieldAttribute(5, "void", "*customdata", "void", 8, true, 96)] - public object ptr_customdata; - [DNAFieldAttribute(6, "void", "*py_instance", "void", 8, true, 104)] - public object ptr_py_instance; - [DNAFieldAttribute(7, "PointerRNA", "*ptr", "PointerRNA", 8, true, 112)] - public PointerRNA ptr_ptr; - [DNAFieldAttribute(8, "ReportList", "*reports", "ReportList", 8, true, 120)] - public ReportList ptr_reports; - [DNAFieldAttribute(9, "ListBase", "macro", "ListBase", 16, false, 128)] + [DNAFieldAttribute(8, "IDProperty", 3, "*properties", "IDProperty", true, 80)] + public IDProperty properties; + [DNAFieldAttribute(8, "wmOperatorType", 4, "*type", "wmOperatorType", true, 88)] + public wmOperatorType type; + [DNAFieldAttribute(8, "void", 5, "*customdata", "void", true, 96)] + public object customdata; + [DNAFieldAttribute(8, "void", 6, "*py_instance", "void", true, 104)] + public object py_instance; + [DNAFieldAttribute(8, "PointerRNA", 7, "*ptr", "PointerRNA", true, 112)] + public PointerRNA ptr; + [DNAFieldAttribute(8, "ReportList", 8, "*reports", "ReportList", true, 120)] + public ReportList reports; + [DNAFieldAttribute(16, "ListBase", 9, "macro", "ListBase", false, 128)] public ListBase macro; - [DNAFieldAttribute(10, "wmOperator", "*opm", "wmOperator", 8, true, 144)] - public wmOperator ptr_opm; - [DNAFieldAttribute(11, "uiLayout", "*layout", "uiLayout", 8, true, 152)] - public uiLayout ptr_layout; - [DNAFieldAttribute(12, "short", "flag", "short", 2, false, 160)] + [DNAFieldAttribute(8, "wmOperator", 10, "*opm", "wmOperator", true, 144)] + public wmOperator opm; + [DNAFieldAttribute(8, "uiLayout", 11, "*layout", "uiLayout", true, 152)] + public uiLayout layout; + [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 160)] public short flag; - [DNAFieldAttribute(13, "char", "_pad[6]", "System.Char[]", 6, false, 162)] + [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 162)] public char[] _pad = new System.Char[6]; public wmOperator() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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.properties = default; + this.type = default; + this.customdata = default; + this.py_instance = default; + this.ptr = default; + this.reports = default; this.macro = default; - this.ptr_opm = default; - this.ptr_layout = default; + this.opm = default; + this.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; + public wmOperator(wmOperator next, wmOperator prev, char[] idname, IDProperty properties, wmOperatorType type, object customdata, object py_instance, PointerRNA ptr, ReportList reports, ListBase macro, wmOperator opm, uiLayout layout, short flag, char[] _pad) { + this.next = next; + this.prev = prev; this.idname = idname; - this.ptr_properties = ptr_properties; - this.ptr_type = ptr_type; - this.ptr_customdata = ptr_customdata; - this.ptr_py_instance = ptr_py_instance; - this.ptr_ptr = ptr_ptr; - this.ptr_reports = ptr_reports; + this.properties = properties; + this.type = type; + this.customdata = customdata; + this.py_instance = py_instance; + this.ptr = ptr; + this.reports = reports; this.macro = macro; - this.ptr_opm = ptr_opm; - this.ptr_layout = ptr_layout; + this.opm = opm; + this.layout = layout; this.flag = flag; this._pad = _pad; } diff --git a/BlendFile/DNA/wmOwnerID.cs b/BlendFile/DNA/wmOwnerID.cs index 2c576e0..fb8915e 100644 --- a/BlendFile/DNA/wmOwnerID.cs +++ b/BlendFile/DNA/wmOwnerID.cs @@ -15,20 +15,20 @@ namespace BlendFile.DNA { [DNAClassAttribute(1067, "wmOwnerID", 144)] public class wmOwnerID { - [DNAFieldAttribute(0, "wmOwnerID", "*next", "wmOwnerID", 8, true, 0)] - public wmOwnerID ptr_next; - [DNAFieldAttribute(1, "wmOwnerID", "*prev", "wmOwnerID", 8, true, 8)] - public wmOwnerID ptr_prev; - [DNAFieldAttribute(2, "char", "name[128]", "System.Char[]", 128, false, 16)] + [DNAFieldAttribute(8, "wmOwnerID", 0, "*next", "wmOwnerID", true, 0)] + public wmOwnerID next; + [DNAFieldAttribute(8, "wmOwnerID", 1, "*prev", "wmOwnerID", true, 8)] + public wmOwnerID prev; + [DNAFieldAttribute(128, "char", 2, "name[128]", "System.Char[]", false, 16)] public char[] name = new System.Char[128]; public wmOwnerID() { - this.ptr_next = default; - this.ptr_prev = default; + this.next = default; + this.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; + public wmOwnerID(wmOwnerID next, wmOwnerID prev, char[] name) { + this.next = next; + this.prev = prev; this.name = name; } } diff --git a/BlendFile/DNA/wmWindow.cs b/BlendFile/DNA/wmWindow.cs index 075fda1..f5e8295 100644 --- a/BlendFile/DNA/wmWindow.cs +++ b/BlendFile/DNA/wmWindow.cs @@ -15,111 +15,111 @@ namespace BlendFile.DNA { [DNAClassAttribute(1048, "wmWindow", 376)] public class wmWindow { - [DNAFieldAttribute(0, "wmWindow", "*next", "wmWindow", 8, true, 0)] - public wmWindow ptr_next; - [DNAFieldAttribute(1, "wmWindow", "*prev", "wmWindow", 8, true, 8)] - public wmWindow ptr_prev; - [DNAFieldAttribute(2, "void", "*ghostwin", "void", 8, true, 16)] - public object ptr_ghostwin; - [DNAFieldAttribute(3, "void", "*gpuctx", "void", 8, true, 24)] - public object ptr_gpuctx; - [DNAFieldAttribute(4, "wmWindow", "*parent", "wmWindow", 8, true, 32)] - public wmWindow ptr_parent; - [DNAFieldAttribute(5, "Scene", "*scene", "Scene", 8, true, 40)] - public Scene ptr_scene; - [DNAFieldAttribute(6, "Scene", "*new_scene", "Scene", 8, true, 48)] - public Scene ptr_new_scene; - [DNAFieldAttribute(7, "char", "view_layer_name[64]", "System.Char[]", 64, false, 56)] + [DNAFieldAttribute(8, "wmWindow", 0, "*next", "wmWindow", true, 0)] + public wmWindow next; + [DNAFieldAttribute(8, "wmWindow", 1, "*prev", "wmWindow", true, 8)] + public wmWindow prev; + [DNAFieldAttribute(8, "void", 2, "*ghostwin", "void", true, 16)] + public object ghostwin; + [DNAFieldAttribute(8, "void", 3, "*gpuctx", "void", true, 24)] + public object gpuctx; + [DNAFieldAttribute(8, "wmWindow", 4, "*parent", "wmWindow", true, 32)] + public wmWindow parent; + [DNAFieldAttribute(8, "Scene", 5, "*scene", "Scene", true, 40)] + public Scene scene; + [DNAFieldAttribute(8, "Scene", 6, "*new_scene", "Scene", true, 48)] + public Scene new_scene; + [DNAFieldAttribute(64, "char", 7, "view_layer_name[64]", "System.Char[]", false, 56)] public char[] view_layer_name = new System.Char[64]; - [DNAFieldAttribute(8, "Scene", "*unpinned_scene", "Scene", 8, true, 120)] - public Scene ptr_unpinned_scene; - [DNAFieldAttribute(9, "WorkSpaceInstanceHook", "*workspace_hook", "WorkSpaceInstanceHook", 8, true, 128)] - public WorkSpaceInstanceHook ptr_workspace_hook; - [DNAFieldAttribute(10, "ScrAreaMap", "global_area_map", "ScrAreaMap", 48, false, 136)] + [DNAFieldAttribute(8, "Scene", 8, "*unpinned_scene", "Scene", true, 120)] + public Scene unpinned_scene; + [DNAFieldAttribute(8, "WorkSpaceInstanceHook", 9, "*workspace_hook", "WorkSpaceInstanceHook", true, 128)] + public WorkSpaceInstanceHook workspace_hook; + [DNAFieldAttribute(48, "ScrAreaMap", 10, "global_area_map", "ScrAreaMap", false, 136)] public ScrAreaMap global_area_map; - [DNAFieldAttribute(11, "bScreen", "*screen", "bScreen", 8, true, 184)] - public bScreen ptr_screen; - [DNAFieldAttribute(12, "int", "winid", "int", 4, false, 192)] + [DNAFieldAttribute(8, "bScreen", 11, "*screen", "bScreen", true, 184)] + public bScreen screen; + [DNAFieldAttribute(4, "int", 12, "winid", "int", false, 192)] public int winid; - [DNAFieldAttribute(13, "short", "posx", "short", 2, false, 196)] + [DNAFieldAttribute(2, "short", 13, "posx", "short", false, 196)] public short posx; - [DNAFieldAttribute(14, "short", "posy", "short", 2, false, 198)] + [DNAFieldAttribute(2, "short", 14, "posy", "short", false, 198)] public short posy; - [DNAFieldAttribute(15, "short", "sizex", "short", 2, false, 200)] + [DNAFieldAttribute(2, "short", 15, "sizex", "short", false, 200)] public short sizex; - [DNAFieldAttribute(16, "short", "sizey", "short", 2, false, 202)] + [DNAFieldAttribute(2, "short", 16, "sizey", "short", false, 202)] public short sizey; - [DNAFieldAttribute(17, "char", "windowstate", "char", 1, false, 204)] + [DNAFieldAttribute(1, "char", 17, "windowstate", "char", false, 204)] public char windowstate; - [DNAFieldAttribute(18, "char", "active", "char", 1, false, 205)] + [DNAFieldAttribute(1, "char", 18, "active", "char", false, 205)] public char active; - [DNAFieldAttribute(19, "short", "cursor", "short", 2, false, 206)] + [DNAFieldAttribute(2, "short", 19, "cursor", "short", false, 206)] public short cursor; - [DNAFieldAttribute(20, "short", "lastcursor", "short", 2, false, 208)] + [DNAFieldAttribute(2, "short", 20, "lastcursor", "short", false, 208)] public short lastcursor; - [DNAFieldAttribute(21, "short", "modalcursor", "short", 2, false, 210)] + [DNAFieldAttribute(2, "short", 21, "modalcursor", "short", false, 210)] public short modalcursor; - [DNAFieldAttribute(22, "short", "grabcursor", "short", 2, false, 212)] + [DNAFieldAttribute(2, "short", 22, "grabcursor", "short", false, 212)] public short grabcursor; - [DNAFieldAttribute(23, "short", "pie_event_type_lock", "short", 2, false, 214)] + [DNAFieldAttribute(2, "short", 23, "pie_event_type_lock", "short", false, 214)] public short pie_event_type_lock; - [DNAFieldAttribute(24, "short", "pie_event_type_last", "short", 2, false, 216)] + [DNAFieldAttribute(2, "short", 24, "pie_event_type_last", "short", false, 216)] public short pie_event_type_last; - [DNAFieldAttribute(25, "char", "addmousemove", "char", 1, false, 218)] + [DNAFieldAttribute(1, "char", 25, "addmousemove", "char", false, 218)] public char addmousemove; - [DNAFieldAttribute(26, "char", "tag_cursor_refresh", "char", 1, false, 219)] + [DNAFieldAttribute(1, "char", 26, "tag_cursor_refresh", "char", false, 219)] public char tag_cursor_refresh; - [DNAFieldAttribute(27, "char", "event_queue_check_click", "char", 1, false, 220)] + [DNAFieldAttribute(1, "char", 27, "event_queue_check_click", "char", false, 220)] public char event_queue_check_click; - [DNAFieldAttribute(28, "char", "event_queue_check_drag", "char", 1, false, 221)] + [DNAFieldAttribute(1, "char", 28, "event_queue_check_drag", "char", false, 221)] public char event_queue_check_drag; - [DNAFieldAttribute(29, "char", "event_queue_check_drag_handled", "char", 1, false, 222)] + [DNAFieldAttribute(1, "char", 29, "event_queue_check_drag_handled", "char", false, 222)] public char event_queue_check_drag_handled; - [DNAFieldAttribute(30, "char", "event_queue_consecutive_gesture_type", "char", 1, false, 223)] + [DNAFieldAttribute(1, "char", 30, "event_queue_consecutive_gesture_type", "char", false, 223)] public char event_queue_consecutive_gesture_type; - [DNAFieldAttribute(31, "int", "event_queue_consecutive_gesture_xy[2]", "System.Int32[]", 8, false, 224)] + [DNAFieldAttribute(8, "int", 31, "event_queue_consecutive_gesture_xy[2]", "System.Int32[]", false, 224)] public int[] event_queue_consecutive_gesture_xy = new System.Int32[2]; - [DNAFieldAttribute(32, "wmEvent_ConsecutiveData", "*event_queue_consecutive_gesture_data", "wmEvent_ConsecutiveData", 8, true, 232)] - public wmEvent_ConsecutiveData ptr_event_queue_consecutive_gesture_data; - [DNAFieldAttribute(33, "wmEvent", "*eventstate", "wmEvent", 8, true, 240)] - public wmEvent ptr_eventstate; - [DNAFieldAttribute(34, "wmEvent", "*event_last_handled", "wmEvent", 8, true, 248)] - public wmEvent ptr_event_last_handled; - [DNAFieldAttribute(35, "wmIMEData", "*ime_data", "wmIMEData", 8, true, 256)] - public wmIMEData ptr_ime_data; - [DNAFieldAttribute(36, "char", "ime_data_is_composing", "char", 1, false, 264)] + [DNAFieldAttribute(8, "wmEvent_ConsecutiveData", 32, "*event_queue_consecutive_gesture_data", "wmEvent_ConsecutiveData", true, 232)] + public wmEvent_ConsecutiveData event_queue_consecutive_gesture_data; + [DNAFieldAttribute(8, "wmEvent", 33, "*eventstate", "wmEvent", true, 240)] + public wmEvent eventstate; + [DNAFieldAttribute(8, "wmEvent", 34, "*event_last_handled", "wmEvent", true, 248)] + public wmEvent event_last_handled; + [DNAFieldAttribute(8, "wmIMEData", 35, "*ime_data", "wmIMEData", true, 256)] + public wmIMEData ime_data; + [DNAFieldAttribute(1, "char", 36, "ime_data_is_composing", "char", false, 264)] public char ime_data_is_composing; - [DNAFieldAttribute(37, "char", "_pad1[7]", "System.Char[]", 7, false, 265)] + [DNAFieldAttribute(7, "char", 37, "_pad1[7]", "System.Char[]", false, 265)] public char[] _pad1 = new System.Char[7]; - [DNAFieldAttribute(38, "ListBase", "event_queue", "ListBase", 16, false, 272)] + [DNAFieldAttribute(16, "ListBase", 38, "event_queue", "ListBase", false, 272)] public ListBase event_queue; - [DNAFieldAttribute(39, "ListBase", "handlers", "ListBase", 16, false, 288)] + [DNAFieldAttribute(16, "ListBase", 39, "handlers", "ListBase", false, 288)] public ListBase handlers; - [DNAFieldAttribute(40, "ListBase", "modalhandlers", "ListBase", 16, false, 304)] + [DNAFieldAttribute(16, "ListBase", 40, "modalhandlers", "ListBase", false, 304)] public ListBase modalhandlers; - [DNAFieldAttribute(41, "ListBase", "gesture", "ListBase", 16, false, 320)] + [DNAFieldAttribute(16, "ListBase", 41, "gesture", "ListBase", false, 320)] public ListBase gesture; - [DNAFieldAttribute(42, "Stereo3dFormat", "*stereo3d_format", "Stereo3dFormat", 8, true, 336)] - public Stereo3dFormat ptr_stereo3d_format; - [DNAFieldAttribute(43, "ListBase", "drawcalls", "ListBase", 16, false, 344)] + [DNAFieldAttribute(8, "Stereo3dFormat", 42, "*stereo3d_format", "Stereo3dFormat", true, 336)] + public Stereo3dFormat stereo3d_format; + [DNAFieldAttribute(16, "ListBase", 43, "drawcalls", "ListBase", false, 344)] public ListBase drawcalls; - [DNAFieldAttribute(44, "void", "*cursor_keymap_status", "void", 8, true, 360)] - public object ptr_cursor_keymap_status; - [DNAFieldAttribute(45, "uint64_t", "eventstate_prev_press_time_ms", "uint64_t", 8, false, 368)] + [DNAFieldAttribute(8, "void", 44, "*cursor_keymap_status", "void", true, 360)] + public object cursor_keymap_status; + [DNAFieldAttribute(8, "uint64_t", 45, "eventstate_prev_press_time_ms", "uint64_t", false, 368)] 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.next = default; + this.prev = default; + this.ghostwin = default; + this.gpuctx = default; + this.parent = default; + this.scene = default; + this.new_scene = default; this.view_layer_name = default; - this.ptr_unpinned_scene = default; - this.ptr_workspace_hook = default; + this.unpinned_scene = default; + this.workspace_hook = default; this.global_area_map = default; - this.ptr_screen = default; + this.screen = default; this.winid = default; this.posx = default; this.posy = default; @@ -140,34 +140,34 @@ namespace BlendFile.DNA { 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.event_queue_consecutive_gesture_data = default; + this.eventstate = default; + this.event_last_handled = default; + this.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.stereo3d_format = default; this.drawcalls = default; - this.ptr_cursor_keymap_status = default; + this.cursor_keymap_status = default; this.eventstate_prev_press_time_ms = default; } public wmWindow( - wmWindow ptr_next, - wmWindow ptr_prev, - object ptr_ghostwin, - object ptr_gpuctx, - wmWindow ptr_parent, - Scene ptr_scene, - Scene ptr_new_scene, + wmWindow next, + wmWindow prev, + object ghostwin, + object gpuctx, + wmWindow parent, + Scene scene, + Scene new_scene, char[] view_layer_name, - Scene ptr_unpinned_scene, - WorkSpaceInstanceHook ptr_workspace_hook, + Scene unpinned_scene, + WorkSpaceInstanceHook workspace_hook, ScrAreaMap global_area_map, - bScreen ptr_screen, + bScreen screen, int winid, short posx, short posy, @@ -188,32 +188,32 @@ namespace BlendFile.DNA { char event_queue_check_drag_handled, char event_queue_consecutive_gesture_type, int[] event_queue_consecutive_gesture_xy, - wmEvent_ConsecutiveData ptr_event_queue_consecutive_gesture_data, - wmEvent ptr_eventstate, - wmEvent ptr_event_last_handled, - wmIMEData ptr_ime_data, + wmEvent_ConsecutiveData event_queue_consecutive_gesture_data, + wmEvent eventstate, + wmEvent event_last_handled, + wmIMEData ime_data, char ime_data_is_composing, char[] _pad1, ListBase event_queue, ListBase handlers, ListBase modalhandlers, ListBase gesture, - Stereo3dFormat ptr_stereo3d_format, + Stereo3dFormat stereo3d_format, ListBase drawcalls, - object ptr_cursor_keymap_status, + object cursor_keymap_status, ulong eventstate_prev_press_time_ms) { - this.ptr_next = ptr_next; - this.ptr_prev = ptr_prev; - this.ptr_ghostwin = ptr_ghostwin; - this.ptr_gpuctx = ptr_gpuctx; - this.ptr_parent = ptr_parent; - this.ptr_scene = ptr_scene; - this.ptr_new_scene = ptr_new_scene; + this.next = next; + this.prev = prev; + this.ghostwin = ghostwin; + this.gpuctx = gpuctx; + this.parent = parent; + this.scene = scene; + this.new_scene = new_scene; this.view_layer_name = view_layer_name; - this.ptr_unpinned_scene = ptr_unpinned_scene; - this.ptr_workspace_hook = ptr_workspace_hook; + this.unpinned_scene = unpinned_scene; + this.workspace_hook = workspace_hook; this.global_area_map = global_area_map; - this.ptr_screen = ptr_screen; + this.screen = screen; this.winid = winid; this.posx = posx; this.posy = posy; @@ -234,19 +234,19 @@ namespace BlendFile.DNA { this.event_queue_check_drag_handled = event_queue_check_drag_handled; this.event_queue_consecutive_gesture_type = event_queue_consecutive_gesture_type; this.event_queue_consecutive_gesture_xy = event_queue_consecutive_gesture_xy; - this.ptr_event_queue_consecutive_gesture_data = ptr_event_queue_consecutive_gesture_data; - this.ptr_eventstate = ptr_eventstate; - this.ptr_event_last_handled = ptr_event_last_handled; - this.ptr_ime_data = ptr_ime_data; + this.event_queue_consecutive_gesture_data = event_queue_consecutive_gesture_data; + this.eventstate = eventstate; + this.event_last_handled = event_last_handled; + this.ime_data = ime_data; this.ime_data_is_composing = ime_data_is_composing; this._pad1 = _pad1; this.event_queue = event_queue; this.handlers = handlers; this.modalhandlers = modalhandlers; this.gesture = gesture; - this.ptr_stereo3d_format = ptr_stereo3d_format; + this.stereo3d_format = stereo3d_format; this.drawcalls = drawcalls; - this.ptr_cursor_keymap_status = ptr_cursor_keymap_status; + this.cursor_keymap_status = cursor_keymap_status; this.eventstate_prev_press_time_ms = eventstate_prev_press_time_ms; } } diff --git a/BlendFile/DNA/wmWindowManager.cs b/BlendFile/DNA/wmWindowManager.cs index 53c7131..41ab6d5 100644 --- a/BlendFile/DNA/wmWindowManager.cs +++ b/BlendFile/DNA/wmWindowManager.cs @@ -15,70 +15,70 @@ namespace BlendFile.DNA { [DNAClassAttribute(1047, "wmWindowManager", 1456)] public class wmWindowManager { - [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] + [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1, "wmWindow", "*windrawable", "wmWindow", 8, true, 208)] - public wmWindow ptr_windrawable; - [DNAFieldAttribute(2, "wmWindow", "*winactive", "wmWindow", 8, true, 216)] - public wmWindow ptr_winactive; - [DNAFieldAttribute(3, "ListBase", "windows", "ListBase", 16, false, 224)] + [DNAFieldAttribute(8, "wmWindow", 1, "*windrawable", "wmWindow", true, 208)] + public wmWindow windrawable; + [DNAFieldAttribute(8, "wmWindow", 2, "*winactive", "wmWindow", true, 216)] + public wmWindow winactive; + [DNAFieldAttribute(16, "ListBase", 3, "windows", "ListBase", false, 224)] public ListBase windows; - [DNAFieldAttribute(4, "uchar", "init_flag", "uchar", 1, false, 240)] + [DNAFieldAttribute(1, "uchar", 4, "init_flag", "uchar", false, 240)] public byte init_flag; - [DNAFieldAttribute(5, "char", "_pad0[1]", "System.Char[]", 1, false, 241)] + [DNAFieldAttribute(1, "char", 5, "_pad0[1]", "System.Char[]", false, 241)] public char[] _pad0 = new System.Char[1]; - [DNAFieldAttribute(6, "short", "file_saved", "short", 2, false, 242)] + [DNAFieldAttribute(2, "short", 6, "file_saved", "short", false, 242)] public short file_saved; - [DNAFieldAttribute(7, "short", "op_undo_depth", "short", 2, false, 244)] + [DNAFieldAttribute(2, "short", 7, "op_undo_depth", "short", false, 244)] public short op_undo_depth; - [DNAFieldAttribute(8, "short", "outliner_sync_select_dirty", "short", 2, false, 246)] + [DNAFieldAttribute(2, "short", 8, "outliner_sync_select_dirty", "short", false, 246)] public short outliner_sync_select_dirty; - [DNAFieldAttribute(9, "ListBase", "operators", "ListBase", 16, false, 248)] + [DNAFieldAttribute(16, "ListBase", 9, "operators", "ListBase", false, 248)] public ListBase operators; - [DNAFieldAttribute(10, "ListBase", "notifier_queue", "ListBase", 16, false, 264)] + [DNAFieldAttribute(16, "ListBase", 10, "notifier_queue", "ListBase", false, 264)] public ListBase notifier_queue; - [DNAFieldAttribute(11, "GSet", "*notifier_queue_set", "GSet", 8, true, 280)] - public GSet ptr_notifier_queue_set; - [DNAFieldAttribute(12, "wmNotifier", "*notifier_current", "wmNotifier", 8, true, 288)] - public wmNotifier ptr_notifier_current; - [DNAFieldAttribute(13, "int", "extensions_updates", "int", 4, false, 296)] + [DNAFieldAttribute(8, "GSet", 11, "*notifier_queue_set", "GSet", true, 280)] + public GSet notifier_queue_set; + [DNAFieldAttribute(8, "wmNotifier", 12, "*notifier_current", "wmNotifier", true, 288)] + public wmNotifier notifier_current; + [DNAFieldAttribute(4, "int", 13, "extensions_updates", "int", false, 296)] public int extensions_updates; - [DNAFieldAttribute(14, "int", "extensions_blocked", "int", 4, false, 300)] + [DNAFieldAttribute(4, "int", 14, "extensions_blocked", "int", false, 300)] public int extensions_blocked; - [DNAFieldAttribute(15, "ListBase", "jobs", "ListBase", 16, false, 304)] + [DNAFieldAttribute(16, "ListBase", 15, "jobs", "ListBase", false, 304)] public ListBase jobs; - [DNAFieldAttribute(16, "ListBase", "paintcursors", "ListBase", 16, false, 320)] + [DNAFieldAttribute(16, "ListBase", 16, "paintcursors", "ListBase", false, 320)] public ListBase paintcursors; - [DNAFieldAttribute(17, "ListBase", "drags", "ListBase", 16, false, 336)] + [DNAFieldAttribute(16, "ListBase", 17, "drags", "ListBase", false, 336)] public ListBase drags; - [DNAFieldAttribute(18, "ListBase", "keyconfigs", "ListBase", 16, false, 352)] + [DNAFieldAttribute(16, "ListBase", 18, "keyconfigs", "ListBase", false, 352)] public ListBase keyconfigs; - [DNAFieldAttribute(19, "wmKeyConfig", "*defaultconf", "wmKeyConfig", 8, true, 368)] - public wmKeyConfig ptr_defaultconf; - [DNAFieldAttribute(20, "wmKeyConfig", "*addonconf", "wmKeyConfig", 8, true, 376)] - public wmKeyConfig ptr_addonconf; - [DNAFieldAttribute(21, "wmKeyConfig", "*userconf", "wmKeyConfig", 8, true, 384)] - public wmKeyConfig ptr_userconf; - [DNAFieldAttribute(22, "ListBase", "timers", "ListBase", 16, false, 392)] + [DNAFieldAttribute(8, "wmKeyConfig", 19, "*defaultconf", "wmKeyConfig", true, 368)] + public wmKeyConfig defaultconf; + [DNAFieldAttribute(8, "wmKeyConfig", 20, "*addonconf", "wmKeyConfig", true, 376)] + public wmKeyConfig addonconf; + [DNAFieldAttribute(8, "wmKeyConfig", 21, "*userconf", "wmKeyConfig", true, 384)] + public wmKeyConfig userconf; + [DNAFieldAttribute(16, "ListBase", 22, "timers", "ListBase", false, 392)] public ListBase timers; - [DNAFieldAttribute(23, "wmTimer", "*autosavetimer", "wmTimer", 8, true, 408)] - public wmTimer ptr_autosavetimer; - [DNAFieldAttribute(24, "char", "autosave_scheduled", "char", 1, false, 416)] + [DNAFieldAttribute(8, "wmTimer", 23, "*autosavetimer", "wmTimer", true, 408)] + public wmTimer autosavetimer; + [DNAFieldAttribute(1, "char", 24, "autosave_scheduled", "char", false, 416)] public char autosave_scheduled; - [DNAFieldAttribute(25, "char", "_pad2[7]", "System.Char[]", 7, false, 417)] + [DNAFieldAttribute(7, "char", 25, "_pad2[7]", "System.Char[]", false, 417)] public char[] _pad2 = new System.Char[7]; - [DNAFieldAttribute(26, "UndoStack", "*undo_stack", "UndoStack", 8, true, 424)] - public UndoStack ptr_undo_stack; - [DNAFieldAttribute(27, "wmMsgBus", "*message_bus", "wmMsgBus", 8, true, 432)] - public wmMsgBus ptr_message_bus; - [DNAFieldAttribute(28, "wmXrData", "xr", "wmXrData", 1008, false, 440)] + [DNAFieldAttribute(8, "UndoStack", 26, "*undo_stack", "UndoStack", true, 424)] + public UndoStack undo_stack; + [DNAFieldAttribute(8, "wmMsgBus", 27, "*message_bus", "wmMsgBus", true, 432)] + public wmMsgBus message_bus; + [DNAFieldAttribute(1008, "wmXrData", 28, "xr", "wmXrData", false, 440)] public wmXrData xr; - [DNAFieldAttribute(29, "WindowManagerRuntimeHandle", "*runtime", "WindowManagerRuntimeHandle", 8, true, 1448)] - public WindowManagerRuntimeHandle ptr_runtime; + [DNAFieldAttribute(8, "WindowManagerRuntimeHandle", 29, "*runtime", "WindowManagerRuntimeHandle", true, 1448)] + public WindowManagerRuntimeHandle runtime; public wmWindowManager() { this.id = default; - this.ptr_windrawable = default; - this.ptr_winactive = default; + this.windrawable = default; + this.winactive = default; this.windows = default; this.init_flag = default; this._pad0 = default; @@ -87,30 +87,30 @@ namespace BlendFile.DNA { 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.notifier_queue_set = default; + this.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.defaultconf = default; + this.addonconf = default; + this.userconf = default; this.timers = default; - this.ptr_autosavetimer = default; + this.autosavetimer = default; this.autosave_scheduled = default; this._pad2 = default; - this.ptr_undo_stack = default; - this.ptr_message_bus = default; + this.undo_stack = default; + this.message_bus = default; this.xr = default; - this.ptr_runtime = default; + this.runtime = default; } public wmWindowManager( ID id, - wmWindow ptr_windrawable, - wmWindow ptr_winactive, + wmWindow windrawable, + wmWindow winactive, ListBase windows, byte init_flag, char[] _pad0, @@ -119,28 +119,28 @@ namespace BlendFile.DNA { short outliner_sync_select_dirty, ListBase operators, ListBase notifier_queue, - GSet ptr_notifier_queue_set, - wmNotifier ptr_notifier_current, + GSet notifier_queue_set, + wmNotifier notifier_current, int extensions_updates, int extensions_blocked, ListBase jobs, ListBase paintcursors, ListBase drags, ListBase keyconfigs, - wmKeyConfig ptr_defaultconf, - wmKeyConfig ptr_addonconf, - wmKeyConfig ptr_userconf, + wmKeyConfig defaultconf, + wmKeyConfig addonconf, + wmKeyConfig userconf, ListBase timers, - wmTimer ptr_autosavetimer, + wmTimer autosavetimer, char autosave_scheduled, char[] _pad2, - UndoStack ptr_undo_stack, - wmMsgBus ptr_message_bus, + UndoStack undo_stack, + wmMsgBus message_bus, wmXrData xr, - WindowManagerRuntimeHandle ptr_runtime) { + WindowManagerRuntimeHandle runtime) { this.id = id; - this.ptr_windrawable = ptr_windrawable; - this.ptr_winactive = ptr_winactive; + this.windrawable = windrawable; + this.winactive = winactive; this.windows = windows; this.init_flag = init_flag; this._pad0 = _pad0; @@ -149,25 +149,25 @@ namespace BlendFile.DNA { this.outliner_sync_select_dirty = outliner_sync_select_dirty; this.operators = operators; this.notifier_queue = notifier_queue; - this.ptr_notifier_queue_set = ptr_notifier_queue_set; - this.ptr_notifier_current = ptr_notifier_current; + this.notifier_queue_set = notifier_queue_set; + this.notifier_current = notifier_current; this.extensions_updates = extensions_updates; this.extensions_blocked = extensions_blocked; this.jobs = jobs; this.paintcursors = paintcursors; this.drags = drags; this.keyconfigs = keyconfigs; - this.ptr_defaultconf = ptr_defaultconf; - this.ptr_addonconf = ptr_addonconf; - this.ptr_userconf = ptr_userconf; + this.defaultconf = defaultconf; + this.addonconf = addonconf; + this.userconf = userconf; this.timers = timers; - this.ptr_autosavetimer = ptr_autosavetimer; + this.autosavetimer = autosavetimer; this.autosave_scheduled = autosave_scheduled; this._pad2 = _pad2; - this.ptr_undo_stack = ptr_undo_stack; - this.ptr_message_bus = ptr_message_bus; + this.undo_stack = undo_stack; + this.message_bus = message_bus; this.xr = xr; - this.ptr_runtime = ptr_runtime; + this.runtime = runtime; } } } diff --git a/BlendFile/DNA/wmXrData.cs b/BlendFile/DNA/wmXrData.cs index 33fa613..89ef5fd 100644 --- a/BlendFile/DNA/wmXrData.cs +++ b/BlendFile/DNA/wmXrData.cs @@ -15,16 +15,16 @@ namespace BlendFile.DNA { [DNAClassAttribute(1044, "wmXrData", 1008)] public class wmXrData { - [DNAFieldAttribute(0, "wmXrRuntimeData", "*runtime", "wmXrRuntimeData", 8, true, 0)] - public wmXrRuntimeData ptr_runtime; - [DNAFieldAttribute(1, "XrSessionSettings", "session_settings", "XrSessionSettings", 1000, false, 8)] + [DNAFieldAttribute(8, "wmXrRuntimeData", 0, "*runtime", "wmXrRuntimeData", true, 0)] + public wmXrRuntimeData runtime; + [DNAFieldAttribute(1000, "XrSessionSettings", 1, "session_settings", "XrSessionSettings", false, 8)] public XrSessionSettings session_settings; public wmXrData() { - this.ptr_runtime = default; + this.runtime = default; this.session_settings = default; } - public wmXrData(wmXrRuntimeData ptr_runtime, XrSessionSettings session_settings) { - this.ptr_runtime = ptr_runtime; + public wmXrData(wmXrRuntimeData runtime, XrSessionSettings session_settings) { + this.runtime = runtime; this.session_settings = session_settings; } } diff --git a/BlendFile/DNAClassAttribute.cs b/BlendFile/DNAClassAttribute.cs index e4651f9..3523330 100644 --- a/BlendFile/DNAClassAttribute.cs +++ b/BlendFile/DNAClassAttribute.cs @@ -12,39 +12,39 @@ using System; namespace BlendFile { - [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] + [AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Struct)] public class DNAClassAttribute : System.Attribute { - private int _originalIndex; + private int _OriginalIndex; public virtual int OriginalIndex { get { - return this._originalIndex; + return this._OriginalIndex; } set { - this._originalIndex = value; + this._OriginalIndex = value; } } - private string _originalName; + private string _OriginalName; public virtual string OriginalName { get { - return this._originalName; + return this._OriginalName; } set { - this._originalName = value; + this._OriginalName = value; } } - private int _size; + private int _Size; public virtual int Size { get { - return _size; + return this._Size; } set { - this._size = value; + this._Size = value; } } - public DNAClassAttribute(int originalIndex, string originalName, int size) { - this.OriginalIndex = originalIndex; - this.OriginalName = originalName; - this.Size = size; + public DNAClassAttribute(int OriginalIndex, string OriginalName, int Size) { + this._OriginalIndex = OriginalIndex; + this._OriginalName = OriginalName; + this._Size = Size; } } } diff --git a/BlendFile/DNAFieldAttribute.cs b/BlendFile/DNAFieldAttribute.cs index 7c5f56c..79c19a2 100644 --- a/BlendFile/DNAFieldAttribute.cs +++ b/BlendFile/DNAFieldAttribute.cs @@ -12,80 +12,79 @@ using System; namespace BlendFile { - [AttributeUsage(AttributeTargets.Field)] + [AttributeUsageAttribute(AttributeTargets.Field)] public class DNAFieldAttribute : System.Attribute { - private int _size; + private int _Size; public virtual int Size { get { - return this._size; + return this._Size; } set { - this._size = value; + this._Size = value; } } - private string _originalType; + private string _OriginalType; public virtual string OriginalType { get { - return this._originalType; + return this._OriginalType; } set { - this._originalType = value; + this._OriginalType = value; } } - private string _originalName; - public virtual string OriginalName { - get { - return this._originalName; - } - set { - this._originalName = value; - } - } - private int _originalIndex; + private int _OriginalIndex; public virtual int OriginalIndex { get { - return this._originalIndex; + return this._OriginalIndex; } set { - this._originalIndex = value; + this._OriginalIndex = value; } } + private string _OriginalName; + public virtual string OriginalName { + get { + return this._OriginalName; + } + set { + this._OriginalName = value; + } + } + private string _UnderlyingType; public virtual string UnderlyingType { get { - return _originalType; + return this._UnderlyingType; } set { - this._originalType = value; + this._UnderlyingType = value; } } - private bool _isPointer; + private bool _IsPointer; public virtual bool IsPointer { get { - return _isPointer; + return this._IsPointer; } set { - this._isPointer = value; + this._IsPointer = value; } } - - private int _memoryOffset; - + private int _MemoryOffset; public virtual int MemoryOffset { get { - return 0; + return this._MemoryOffset; } set { - this._memoryOffset = value; + this._MemoryOffset = value; } } - public DNAFieldAttribute(int originalIndex, string originalType, string originalName, string underlyingType, int size, bool isPointer, int memoryOffset) { - this.OriginalIndex = originalIndex; - this.OriginalType = originalType; - this.OriginalName = originalName; - this.OriginalType = underlyingType; - this.Size = size; - this.IsPointer = isPointer; - this.MemoryOffset = memoryOffset; + public DNAFieldAttribute(int Size, string OriginalType, int OriginalIndex, string OriginalName, string UnderlyingType, bool IsPointer, int MemoryOffset) { + this._Size = Size; + this._OriginalType = OriginalType; + this._OriginalIndex = OriginalIndex; + this._OriginalName = OriginalName; + this._UnderlyingType = UnderlyingType; + this._IsPointer = IsPointer; + this._MemoryOffset = MemoryOffset; } } }