Commit Graph

110 Commits

Author SHA1 Message Date
Wojtek Figat
a25eae5d10 Move dotnet7 native interop, wrappers and marshalers into FlaxEngine.Interop namespace 2023-03-28 13:20:18 +02:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
30fa911832 Merge remote-tracking branch 'origin/master' into dotnet7
# Conflicts:
#	README.md
2023-02-16 09:54:22 +01:00
Wojtek Figat
835127ac21 Add **Animation Instance Data node to Anim Graph** for caching value per-model 2023-02-14 12:39:58 +01:00
Wojciech Figat
405ae519dd Refactor generated bindings P/Invoke to support name mangling for symbols 2023-01-23 18:41:12 +01:00
Wojciech Figat
f3366178ea Refactor manually written managed bindings to use C-style exported P/Invoke 2023-01-23 18:14:38 +01:00
Wojciech Figat
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
63d3c9b1e0 Fix build on Linux 2023-01-04 19:00:06 +01:00
8b80f73641 Implement ManagedHandle replacement for GCHandles
Allows for more controlled management of weak handles, increasing their lifetime for slightly longer than with GCHandles.
2022-12-30 22:14:48 +02:00
Wojciech Figat
94c5211ee6 Rename gchandle to MGCHandle 2022-12-22 13:02:00 +01:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
Wojciech Figat
d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
Wojtek Figat
8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +01:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojtek Figat
76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Chandler Cox
de6cd88870 Changed names of a couple base types to match before change 2022-11-11 17:08:07 -06:00
Chandler Cox
4515844219 changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute 2022-11-11 16:37:45 -06:00
Chandler Cox
1af0188a3c changed how actor context menus are created. 2022-10-31 19:18:43 -05:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
ff34c7cc9b Refactor raw data ReadSttream and WriteStream to have easier to use API with more features 2022-10-12 11:22:20 +02:00
Wojtek Figat
8694bd6af9 Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:43 +02:00
Wojtek Figat
c62efdc44a Fix crash on root motion extraction if source animation has no valid root node animated
#746
2022-09-12 14:48:08 +02:00
Wojtek Figat
3b52914416 Add **Nested Animations** for compositing animation clips 2022-07-31 15:53:09 +02:00
Wojtek Figat
3a39dad30f Fix invoking anim events for multi blend animations 2022-07-29 20:25:13 +02:00
Wojtek Figat
47b255ed3e Remove warning on missing initial entry state for Anim Graph state machine 2022-07-23 16:49:40 +02:00
Wojciech Figat
7de42c1681 Fix sampling Curves with keyframes that have negative time value 2022-07-19 12:47:31 +02:00
Wojtek Figat
3925c6221c Fix Multi Blend 2D node if all blend points are on the same line
#719
2022-06-14 20:46:55 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
991abb1cf8 Add loopCount to PlaySlotAnimation for looping slot animation 2022-04-14 23:18:37 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
82a43dea28 Add **Animation Events** 2022-01-08 15:06:25 +01:00
Wojtek Figat
bbfe0446f0 Tweaks and fixes 2022-01-08 15:06:21 +01:00
Wojtek Figat
779e41a686 Add static assert for curve keyframes data raw serialization 2022-01-08 15:06:21 +01:00
Wojtek Figat
fa83869430 Add minor changes 2022-01-08 15:06:18 +01:00
Wojtek Figat
3c3f2ae075 Add **Animation Slot** node for playing animations from code in Anim Graph 2021-12-16 18:57:33 +01:00
Wojtek Figat
f71dce08fc Fix scene animation warning due to missing object to be fired once per-track without a spam 2021-12-11 17:28:22 +01:00
Wojtek Figat
a9aaed6f33 Add support for PrefabObject tracks and automated animation instancing with UsePrefabObjects enabled 2021-12-11 17:28:21 +01:00
Wojciech Figat
c23ec9935f Fix Multi Blend 1D/2D root motion extraction with blending
#678
2021-12-10 12:48:37 +01:00
Wojciech Figat
2b1e5e4958 Fix various issues with Multi Blend 2D node 2021-12-09 17:09:31 +01:00
Wojciech Figat
af2c5b3429 Add batching the same function inputs in Anim Graph for better usability 2021-12-03 15:38:21 +01:00
Wojciech Figat
583b39fe6b Optimize Anim Graph state machine transition rule evaluation to happen before state evaluation for early rejection 2021-12-03 15:37:33 +01:00
Wojciech Figat
136b1fc421 Fix anim graph crash regression 2021-11-23 17:25:40 +01:00
Wojciech Figat
cdcb2f8f7a Fixes and improvements 2021-11-18 16:35:46 +01:00