64 Commits

Author SHA1 Message Date
yoan stamant
f091bfd413 [SmartObject] HSmartObjectProxy now inherits from HHitProxy since it doesn't need the component
#jira UE-206139
#rb Aris.Theophanidis

[CL 31539893 by yoan stamant in 5.4 branch]
2024-02-15 17:34:16 -05:00
mikko mononen
593405096e PropertyBinding: Changed the results passed to OnCanAcceptPropertyOrChildrenWithBindingChain to be consistent with the rest of the API.
#rb Mieszko.Zielinski#preflight 65cb57734e11958de197f696

[CL 31422117 by mikko mononen in 5.4 branch]
2024-02-13 08:36:26 -05:00
mikko mononen
40ff349f2c Smart Object: Added parameters for Smart Object Definition (take 2)
- Added ability to parameterize the SOD using parameters and property copy
- Each Asset stores and shares a variations based parameter hash

#rb Yoan.StAmant

[CL 30966021 by mikko mononen in 5.4 branch]
2024-01-29 07:16:16 -05:00
edwin maynard
483765d326 [Backout] - CL30836941 (backed out due to potential content errors)
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
Smart Object: Added parameters for Smart Object Definition
- Added ability to parameterize the SOD using parameters and property copy
- Each Asset stores and shares a variations based parameter hash

#rb Yoan.StAmant

[CL 30842479 by edwin maynard in ue5-main branch]
2024-01-24 09:54:41 -05:00
mikko mononen
a4f8b85727 Smart Object: Added parameters for Smart Object Definition
- Added ability to parameterize the SOD using parameters and property copy
- Each Asset stores and shares a variations based parameter hash

#rb Yoan.StAmant

[CL 30836942 by mikko mononen in ue5-main branch]
2024-01-24 03:53:02 -05:00
patrick enfedaque
b7eaad89dc WorldPartition: Add UActorDescContainerInstance/FWorldPartitionActorDescInstance which take transient/context data from UActorDescContainer/FWorldPartitionActorDesc leaving them as pure on disk representations.
- UActorDescContainerInstance contains: Transform, ContainerID, InstancingContext
- FWorldPartitionActorDescInstance contains: ResolvedDataLayers, RefCounts, Remapped Instanced actor path, Actor loading code

#rb JeanFrancois.Dube, Richard.Malo, Sebastien.Lussier
#tests editor, cook, pie, hlod builder, level instance, internal projects

[CL 30260359 by patrick enfedaque in ue5-main branch]
2023-12-12 06:59:42 -05:00
mikko mononen
e4b5036e07 SmartObject: Added per object definition data
- added definition data for the whole object
- added GetDefinitionData() & GetDefinitionDataPtr() for the SO definition and slot definition
- Renamed FSmartObjectSlotDefinitionDataProxy -> FSmartObjectDefinitionDataProxy (removed slot)
- Renamed FSmartObjectSlotDefinitionData -> FSmartObjectDefinitionData (removed slot)

[CL 30077219 by mikko mononen in ue5-main branch]
2023-12-04 07:36:52 -05:00
yoan stamant
203a091b6c [SmartObjects] unified the global UE::SmartObject namespace
#rb mikko.mononen

[CL 29934918 by yoan stamant in ue5-main branch]
2023-11-27 10:57:29 -05:00
mikko mononen
10294710ed SmartObject:Compilation fixes
-  Fixed recursive include from view model
- fixed checkf() in property helpers
- added GameplayTags as depedency for editor

[CL 27446829 by mikko mononen in ue5-main branch]
2023-08-29 10:35:35 -04:00
mikko mononen
89acbbd4f3 SmartObjects: Fix bad include
[CL 27441034 by mikko mononen in ue5-main branch]
2023-08-29 08:09:57 -04:00
mikko mononen
6c2279e57d SmartObject: Added outliner to asset editor
- Changed Smart Object definition slot data to contain GUI per data (allows to identify the data using ID)
- Added outliner to the editor, displays slots and definition data
- Made slots and definition data selectable in the details view
- Sync selection across details, outliner and 3D view for faster navigation

[CL 27440600 by mikko mononen in ue5-main branch]
2023-08-29 07:48:32 -04:00
yoan stamant
bbd9dd7bf6 Fixed duplicated viewport client in some asset Editors
#rnx
#rb maxime.mercier

[CL 26960419 by yoan stamant in ue5-main branch]
2023-08-09 12:41:31 -04:00
yoan stamant
d05f8826ea [SmartObject] Removed dependency on MassEntity to store slots
#rb mikko.mononen

[CL 26431776 by yoan stamant in ue5-main branch]
2023-07-18 08:42:51 -04:00
yoan stamant
34de3fcdce [SmartObject] replaced icon for collection and actor. Also used for SmartObjectComponent and SmartObjectDefinition
#jira UE-189914
#rb mieszko.zielinski

[CL 26406077 by yoan stamant in ue5-main branch]
2023-07-17 09:41:33 -04:00
mikko mononen
7516e0802f SmartObject: Fix preview actor loading.
[CL 26006136 by mikko mononen in ue5-main branch]
2023-06-15 04:40:31 -04:00
sebastien lussier
6326342f5c UWorldPartitionBuilder::PostRun() default behavior should be to simply return bInRunSuccess
#preflight 645a3c7c013f3751584e1d71
#rb jeanfrancois.dube

[CL 25387401 by sebastien lussier in ue5-main branch]
2023-05-09 10:07:05 -04:00
jeanfrancois dube
e5ec9cbedf WorldPartitionSmartObjectCollectionBuilder: use actor descriptor references to load actors.
#rb yoan.stamant
#preflight none

[CL 25363340 by jeanfrancois dube in ue5-main branch]
2023-05-05 21:37:10 -04:00
yoan stamant
c6f801834a [SmartObject] fixes to SmartObjectCollection build from the world partition builder
- unregisters collections before resetting them to update subsystem internal container and the runtime data. Collection are then registered back as empty collection ready to be populated.
- minor comments improvements
- force debug draw update when registering new objects
- fixed some reported warning regarding failed component unregistration
#rb mieszko.zielinski
#preflight 643e8699bf10538466518715

[CL 25085246 by yoan stamant in ue5-main branch]
2023-04-18 09:40:15 -04:00
yoan stamant
c43c9ec4ad Register SmartObjectCollection as a custom build type and exposed it to the editor build menu.
#rnx
#rb mieszko.zielinski
#preflight 642d78d1d6069e71b1632b3b

[CL 24928844 by yoan stamant in ue5-main branch]
2023-04-05 11:24:27 -04:00
mikko mononen
b6ce38e6bf SmartObjects: Fix unity compile errors.
#rb trivial
#preflight 6421822ac44ce895fc483ec0

[CL 24801625 by mikko mononen in ue5-main branch]
2023-03-27 09:00:28 -04:00
mikko mononen
9841195afe SmartObject: Improved validation settings
- Added SmartObjectUserComponent which allows to define validation settings per user actor
- Added option to SO defintion to have preview validation settings or preview user actor (settings pulled from SO user component)
- Move parameters passed to SO annotation CollectDataForGameplayDebugger() into a struct
- Changed USmartObjectSlotValidationFilter to have 2 sets of validation parameters to allow exits to have looser validation
- Changed the API for setting params from Actor in FSmartObjectSlotEntranceLocationRequest (still meh)

#jira UE-174418
#preflight 642173f8a86ae7cbcc25ab0b

[CL 24801238 by mikko mononen in ue5-main branch]
2023-03-27 08:22:19 -04:00
sebastien lussier
0c3948ad71 FBoxSphereBounds - Fixed many potential issues with bounds initialization containing the origin (0,0,0)
* Added a FBoxSphereBounds::Builder class to help avoid these kind of issues
#rb jeanfrancois.dube, patrick.enfedaque
[FYI] Graham.Wihlidal
#preflight 6419e677ec01de1664d3e95c

[CL 24739078 by sebastien lussier in ue5-main branch]
2023-03-21 16:38:42 -04:00
Steve Robb
c341d7fc22 Added [[nodiscard]] to relevant TUniquePtr functions.
Fixed up misuses.

#rb devin.doucette
#jira none
#preflight 6413707f345ab08524938eec

[CL 24686373 by Steve Robb in ue5-main branch]
2023-03-17 07:06:23 -04:00
mikko mononen
1ca6e4407c Smart Objects: Added way to project navigation locations on ground and to check collisions between nav location and slot.
- Changed entry annotation to navigation annotation
- Added option for nav annotations to project location on ground
- Added option and settings for nav annotations to check simple trajectory collisions towards slot location
- Added logic in entry location query to project on ground and check trajectory collisions
- Added physics settings struct that handles common query combinations
- Added USmartObjectSlotValidationFilter to define shareable settings for validation (kinda similar to nav query filter)
- Fixed double rendering of preview actor/mesh in SO editor
- added debug draw for the new features

#jira UE-174418
#preflight 641036e470639dfc943ed981

[CL 24632583 by mikko mononen in ue5-main branch]
2023-03-14 06:26:29 -04:00
mikko mononen
62b5ef846e World Conditions: Fixed shared definition getting empty during editing.
#rb Stephen.Holmes
#preflight 6400a2fcf43e53f681b3694b

[CL 24484229 by mikko mononen in ue5-main branch]
2023-03-02 12:12:47 -05:00