Commit Graph

135 Commits

Author SHA1 Message Date
wouter burgers
6d343470c8 LevelEditor: Refactor ULevelViewportToolBarContext so that the ViewportClient is properly accessible through GetViewportClient().
#rb Rex.Hill
#rnx

[CL 30693310 by wouter burgers in ue5-main branch]
2024-01-18 14:59:13 -05:00
jeanmichel dignard
2ba1180584 Add names to ShowFlags menu entries so that we can allow list them.
#rb Rex.Hill
#jira UE-0

[CL 30593038 by jeanmichel dignard in ue5-main branch]
2024-01-12 10:17:41 -05:00
jeanfrancois dube
a1cac9c1e6 Actor Coloration Framework
- Level Coloration show flag is now replaced by the generic Actor Coloration show flag, and is now hidden in the show flags menu.
- Added a dropdown Actor Coloration menu that is dynamically populated with the current registered Actor Coloration handlers.
- Color handlers can now return different colors for the same actor, but different primitive components.

This way, if a plugin registers a new Actor Coloration mode, the menu will be automatically populated with that option until the plugin is unregistered.

#rb Sebastien.Lussier

[CL 30349047 by jeanfrancois dube in ue5-main branch]
2023-12-15 10:43:42 -05:00
sebastien lussier
82eb8c5dee World Partition - HLOD: Refresh viewport when dragging the HLOD in editor min/max draw distance sliders
#rb JeanFrancois.Dube

[CL 30082283 by sebastien lussier in ue5-main branch]
2023-12-04 10:44:50 -05:00
sebastien lussier
eafb9cfa54 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29541562 by sebastien lussier in ue5-main branch]
2023-11-07 18:58:37 -05:00
justin peterson
5398900aba [Backout] - CL29526661 - CIS Compile Error
[FYI] Sebastien.Lussier
Original CL Desc
-----------------------------------------------------------------
World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29528240 by justin peterson in ue5-main branch]
2023-11-07 14:19:57 -05:00
sebastien lussier
d370837cd3 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29527011 by sebastien lussier in ue5-main branch]
2023-11-07 13:38:35 -05:00
marc audy
65de35fdfb Lof elements that were not renamed yet.
- MSM_Substrate
- MCT_Substrate
- FStrataMaterialInput

#rb charles.derousiers

[CL 27563163 by marc audy in ue5-main branch]
2023-09-01 15:06:19 -04:00
sebastien hillaire
4f274d1ef3 Substrate - Rename/move file(s)
#rb none
[FYI] charles.derousiers

[CL 27514986 by sebastien hillaire in ue5-main branch]
2023-08-31 04:47:50 -04:00
Guillaume Abadie
a4dbbda3be Makes the editor viewport screen percentage more intuitive
#rb none
#jira UE-144214
#preflight 6446e65fc632d1e89b5b078b

[CL 25172089 by Guillaume Abadie in ue5-main branch]
2023-04-24 17:42:20 -04:00
sebastian arleryd
a7f33263f9 Fix DPI issue in STransformViewportToolBar that broke collapse functionality for small viewports
This adjusts a function added in CL 22676675 to fix the issue introduced by 22635797 also in the case of DPI scaling.

#jira UE-174854
#preflight 641d6629c44ce895fc8d3e78

[CL 24834014 by sebastian arleryd in ue5-main branch]
2023-03-29 07:46:33 -04:00
sebastian arleryd
096c5081ac Sort the Placed Cameras menu by camera name to make the list more predictable for users.
#jira UE-175767
#preflight 6418809d32723d4a2039e73b

[CL 24760182 by sebastian arleryd in ue5-main branch]
2023-03-23 07:56:35 -04:00
Florin Pascu
106ea7508c Preparation changes for removing FeatureLevel from World
FeatureLevel is Deprecated
Add Setter/Getter for FeatureLevel
NextStep: Make GetFeatureLevel returns DDSPI::GetFeatureLevel, remove FeatureLevel memberfrom UWorld
#jira UE-168551
#rb christopher.waters
#preflight 63ff5e49f43e53f6811c86a4

[CL 24461796 by Florin Pascu in ue5-main branch]
2023-03-01 09:41:33 -05:00
charles derousiers
0fad76c4d7 Rename all user/editor-facing Strata name into Substrate.
This CL address only user-facing part, i.e. Property field, view modes, tool tips, ...) mentioning Strata. All internal (host code, shaders code, CVars) still contains the 'Strata' name.

#rb sebastien.hillaire
#jira UE-175169
#preflight 63f4db68cf37615300e71db5
#lockdown juan.canada

[CL 24350396 by charles derousiers in ue5-main branch]
2023-02-21 16:52:23 -05:00
charles derousiers
5229394cfe Fix incorrect material appearance on raytracing material with Strata enabled
* Add adaptive RT material payload for Strata.
* Centralize all Strata settings in RenderCore/RenderUtils.h to ensure consistency

#rb chris.kulla
#jira none
#preflight 63d43bcff626715201a0ed1d
[FYI] sebastien.hillaire

[CL 23923301 by charles derousiers in ue5-main branch]
2023-01-31 01:12:18 -05:00
christopher waters
0d5b23e2e3 Adding includes to prepare for a header dependency cleanup.
#preflight 63b5e0bfff7b9ad7030f0f81

[CL 23581920 by christopher waters in ue5-main branch]
2023-01-04 17:07:40 -05:00
Charles deRousiers
af6aa8b792 * Add groom view mode menu to level editor
* Unify most groom debug rendering to go through view more rather than CVars

#rb none
#jira none
#preflight 63909a4b0d013d47ef1cee7e

[CL 23427771 by Charles deRousiers in ue5-main branch]
2022-12-07 09:21:47 -05:00
jamie dale
3cec31f2d9 Added "LevelViewportToolBar.RightExtension"
#rb Jason.Stasik

[CL 22890951 by jamie dale in ue5-main branch]
2022-11-01 16:31:03 -04:00
Charles deRousiers
2190bdd38e Add Strata debug mode into the level view menu.
This gives direct access to all Strata view mode, which helps with discoverability.

All strata view mode are also available with CVar: r.Strata.ViewMode

#rb none
#jira none
#preflight 635a22c68d56375d45d65e15
#fyi sebastien.hillaire

[CL 22806075 by Charles deRousiers in ue5-main branch]
2022-10-27 02:52:45 -04:00
jamie dale
bd1a288d43 Fixed STransformViewportToolBar not collapsing when the viewport area got too small
This regressed from CL# 22635797 as STransformViewportToolBar would now auto-width rather than shrink. To workaround this while keeping "LevelViewportToolBar.MiddleExtension" we now calculate a max width for the slot containing STransformViewportToolBar that allows it to shrink when the toolbar is wider than the current viewport.

#preflight 6351d255e6096564af2a171d
#rb Rex.Hill, Scott.Nelson
#rnx

[CL 22683648 by jamie dale in ue5-main branch]
2022-10-21 01:16:20 -04:00
jamie dale
04a5bf519d Fixed "LevelViewportToolBar.MiddleExtension" not being centered in the viewport, as it was sharing its space with another proportional slot
#rb Rex.Hill
#rnx

[CL 22647435 by jamie dale in ue5-main branch]
2022-10-19 22:00:36 -04:00
guillaume abadie
313068cbef Deletes ICustomStaticScreenPercentage
Motivations:
1) Force compatibilty of third-party temporal upscalers with dyn-res
2) Allows multiple temporal upscaler plugins to live concurrently without collision on a single global
3) Reduce support overhead from licensee due to inconsistent internal rendering resolution across different temporal upscalers

Notes:
1) ITemporalUpscaler is now meant to be setup by the plugin's FSceneViewExtensionBase::BeginRenderViewFamily() that obeys the screen percentage driver;
2) The licensee's game user settings can just enable disable each plugin respectively based on their implementation specialization of ApplyNonResolutionSettings();
3) ITemporalUpscaler now has a lifetime tied to a FSceneViewFamily;
4) FSceneViewFamily offers a generic way to bind other data tied to its life time with FSceneViewFamily::GetOrCreateExtentionData() for instance for setting customise behavior of FSceneViewExtensionBase::BeginRenderViewFamily() before FRendererModule::BeginRenderingViewFamily().

#rb juan.canada
#jira UE-162184
#preflight 63337c4cd747fe52c81150a9

[CL 22224677 by guillaume abadie in ue5-main branch]
2022-09-28 12:23:34 -04:00
lonnie li
75f166d1af LevelViewportToolbar: Make LeftExtension AutoWidth to collapse unused space.
#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 21416158 via CL 21416163 via CL 21416174
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21418226 by lonnie li in ue5-main branch]
2022-08-16 20:22:21 -04:00
bryan sefcik
435d89dea4 Manually updated a few files in Engine/Source/Editor/... to include some headers that were found to be missing after running IWYU.
#preflight 62cdac5084556536d0e57c64

[CL 21058996 by bryan sefcik in ue5-main branch]
2022-07-12 13:45:01 -04:00
lonnie li
ceb7906577 ViewportToolBar: Added LeftExtension point for the LevelViewportToolBar.
Added ViewportToolBarContext to permit use of FEditorViewportToolBarMenu widgets in LevelViewportToolBar panel extensions.

#rb lauren.barnes
#preflight 62b9bb3b5d29d0d10ab7f766

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 20830641 via CL 20830674 via CL 20830679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20833360 by lonnie li in ue5-main branch]
2022-06-27 12:33:28 -04:00