Commit Graph

77 Commits

Author SHA1 Message Date
Wojtek Figat
013dab4ba7 Fix codestyle and apply pr feedback
#2730
2024-07-25 10:52:54 +02:00
Mateusz Karbowiak
cb3e8e4112 Ambiguous name fix 2024-06-22 16:41:29 +02:00
Mateusz Karbowiak
5f4aee71b8 Actor naming without string copy fix 2024-06-22 15:14:02 +02:00
Wojtek Figat
dc1f15f18d Add OnStaticFlagsChanged to Actor 2024-05-09 16:55:05 +02:00
4dcdd8b5f7 Add Actor.HasScene and Script.HasScene
Useful in managed code to check the existence of the scene in hot paths
by avoiding expensive marshalling of the Scene object.
2024-04-20 20:58:55 +03:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
2cce7522de Merge branch 'optimize-actors-search' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-optimize-actors-search 2024-02-18 20:31:04 +01:00
Wojtek Figat
9335925b48 Simplify code #1949 2024-02-18 20:16:20 +01:00
Wojtek Figat
0d6f85ba6c Merge branch 'getprefabroot' of https://github.com/Menotdan/FlaxEngine into Menotdan-getprefabroot 2024-02-18 20:13:30 +01:00
Wojtek Figat
c81ef9b26f Add hiding Actor's Transform for UIControlActor
#382
2024-02-17 23:48:30 +01:00
Menotdan
3824b19c8b Added Actor.GetPrefabRoot() 2023-11-16 23:46:44 -05:00
Wojtek Figat
bc3107d1db Fix build warnings on the latest XCode 2023-11-14 19:03:46 +01:00
Mr. Capybara
fff8a1e8a6 Optimize actor search 2023-10-22 13:26:07 -04:00
Wojtek Figat
44eba3fdae Fix missing xml comment line from #1291 2023-09-12 13:54:01 +02:00
Wiktor Kocielski
8008f05d64 Merge branch 'master' into layeraddition 2023-09-10 13:39:31 +03:00
Wiktor Kocielski
d9a1eb349d Implement tags recursive addition 2023-09-06 05:43:27 +03:00
Chandler Cox
5b5c298a96 Add remove tag method to actor. 2023-09-01 06:35:52 -05:00
Wiktor Kocielski
7b44075ac8 Add recursive methods for layers 2023-08-25 00:01:31 +03:00
Chandler Cox
d88b93d56b Add find actor by type and tag to level and actor classes. Move find actor by tag code to be by other find actor methods. 2023-07-05 14:00:07 -05:00
Wojtek Figat
b13139c6cc Fix check from compilation errors 2023-06-15 12:14:35 +02:00
Chandler Cox
efed1f5b1d Add FindActor by type and name. 2023-06-02 15:12:55 -05:00
Wiktor Kocielski
ce1b47979e Typo fixes 2023-04-23 18:26:05 +03:00
Wojtek Figat
5a7f678e4d Add Actor.AddTag utility 2023-02-19 11:25:46 +01:00
Wojtek Figat
dc04d3dc0b Restore Actor.Tag property as deprecated for backwards compatibility
Regression from a570d6d178
2023-02-19 11:25:37 +01:00
Wojtek Figat
b4ea70acbb Fix layer name property to be hidden in Editor 2023-02-09 21:13:39 +01:00
Wojtek Figat
82823d6945 Various improvements and fixes 2023-02-09 20:05:46 +01:00
Wojtek Figat
c854b657c1 Add actor virtual functions OnDebugDraw/OnDebugDrawSelected/OnEnable/OnDisable to override in scripting 2023-01-23 23:43:16 +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
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
8762e8ad15 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/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
Wojtek Figat
e6900d9a17 Minor adjustments to tags 2022-12-20 22:39:20 +01:00
Wojtek Figat
a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Chandler Cox
6677177534 Removed variable MClass 2022-12-15 08:52:37 -06:00
Chandler Cox
af5f3cbd95 Return null if type is abstract but trying to be added as an actor or script 2022-12-15 08:18:09 -06:00
Wojtek Figat
16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
Wojtek Figat
eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
Wojciech Figat
cd4d15e0e2 Minor improvements 2022-10-25 15:07:04 +02:00
Wojtek Figat
ed9f3f3d55 Add helper code example 2022-08-06 10:21:42 +02:00
Wojtek Figat
3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
Wojciech Figat
cf1f8487e7 Merge remote-tracking branch 'origin/master' into gi 2022-06-15 10:37:24 +02:00
Wojciech Figat
4386dc8774 Add Actor::GetOrAddChild to C++ 2022-06-15 09:23:06 +02:00
Wojtek Figat
d4d27b88f0 Format engine codebase with ReSharper 2022-06-14 19:05:04 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
Wojtek Figat
f53a5ff536 Reorganize scene pointer in actor data 2022-05-21 19:41:24 +02:00
Wojciech Figat
551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
Wojtek Figat
7e609984b4 Add TypeReference attribute to actors/scripts searching utilities for easier type picking in Visual Script 2022-04-28 22:44:56 +02:00
Wojciech Figat
cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00