Christina TempelaarL
ea485195e6
Added rotation, screen-space rotation, and screen-space translation interactions in new TRS gizmo.
...
#jira UE-152998, UE-153003, UE-152992
#rb zach.rammell
#preflight 62d99456bc175ec68c8a4448
[CL 21205025 by Christina TempelaarL in ue5-main branch]
2022-07-21 14:22:29 -04:00
bryan sefcik
98b51354ed
Ran IWYU on Public headers under Engine/Source/Editor/...
...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed.
#ushell-cherrypick of 21065253 by bryan.sefcik
#jira
#preflight 62d5b3e91062f2e63014598e
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21152630 via CL 21156388 via CL 21157044
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21181817 by bryan sefcik in ue5-main branch]
2022-07-20 11:56:29 -04:00
Christina TempelaarL
35b43a9df9
Update TransformGizmo ClickDrag handling methods to use function tables, in preparation for adding more interactions.
...
#jira UE-157945
#rb zach.rammell, ronald.koppers
#preflight 62d089c7dc4397d384216ef3
[CL 21100106 by Christina TempelaarL in ue5-main branch]
2022-07-14 17:42:15 -04:00
Ryan Schmidt
064f95c6ac
ToolsFramework: Add UEditorInteractiveToolsContext::OnTick delegate, similar to OnRender and OnDrawHUD, allows code w/ access to the Context to hook into the Context Tick w/o having to override it/etc.
...
#rb jimmy.andrews
#preflight 62b0e21cde510ae06e705771
[CL 20861922 by Ryan Schmidt in ue5-main branch]
2022-06-28 13:59:43 -04:00
Christina TempelaarL
d04d272964
Added support for render state overrides and line render state in the gizmo element library.
...
#jira UE-156712
#rb zach.rammell
#preflight 62ac062ad074a2685c45b17d
[CL 20699472 by Christina TempelaarL in ue5-main branch]
2022-06-17 00:46:15 -04:00
Christina TempelaarL
1012fcb1f8
Fixed TRS gizmo scale delta calculation. Added new methods for converting mouse moves to translate/scale deltas.
...
#jira UE-152984
#rb zach.rammell
#preflight 62a252117e3e869b97d6c587
[CL 20584220 by Christina TempelaarL in ue5-main branch]
2022-06-09 16:18:14 -04:00
Christina TempelaarL
1f73117feb
Add scale, planar scale and planar translate interaction to the new TRS gizmo.
...
#jira UE-152984, UE-152990, UE-152989
#rb zach.rammell
#preflight 62991e9bf62914987e95ac6c
[CL 20475697 by Christina TempelaarL in ue5-main branch]
2022-06-02 16:56:13 -04:00
Christina TempelaarL
f297287ca3
Added translation interaction to the new TRS gizmo.
...
#jira UE-152987
#rb brooke.hubert
#preflight 6297fcd2841f5ba93cd23c33
[CL 20463098 by Christina TempelaarL in ue5-main branch]
2022-06-01 20:18:56 -04:00
Christina TempelaarL
4966988cf5
New TRS gizmo: add support for hovering.
...
#jira UETOOL-4781
#rb brooke.hubert
#preflight 62747612594b7a20312da916
[CL 20067991 by Christina TempelaarL in ue5-main branch]
2022-05-05 21:17:09 -04:00
Christina TempelaarL
cb16fb4e51
Update gizmo element library with support for common view-dependent functionality, and rectangle, circle, torus objects. Implemented new TransformGizmo UX design using gizmo primitive library objects.
...
#rb michael.balzer, jimmy.andrews
#jira UETOOL-4296, UETOOL-3781
#preflight 624dd8b69052f5517c120614
[CL 19655712 by Christina TempelaarL in ue5-main branch]
2022-04-06 17:04:09 -04:00
daren cheng
99592a0721
Widget Tool Palette Prototype.
...
Add Marquee & create widget tools.
Add framework for widget-based tools.
#preflight 62202c37123d7a7f69141278
#jira UETOOL-4564 UETOOL-4565
#rb Vincent.Gauthier
[CL 19248542 by daren cheng in ue5-main branch]
2022-03-03 14:01:42 -05:00
semion piskarev
15d86db7c0
Editor: Add delegates in EdModeInteractiveToolsContext that allow UEdModes to receive Render() and DrawHUD() calls.
...
#rb Brooke.Hubert
#jira none
#preflight 621cef96d815cc2f95e785c3
[CL 19174863 by semion piskarev in ue5-main branch]
2022-02-28 11:31:41 -05:00
daren cheng
526c49058a
Add Toolstack support to tool palettes.
...
#jira UE-138664
#preflight 6202ee26c451a5d0dc08eec6
#rb brooke.hubert Rex.Hill Ryan.Schmidt Patrick.Boutot
#fyi Ryan.Schmidt, Lauren.Barnes
[CL 19020456 by daren cheng in ue5-main branch]
2022-02-16 15:08:30 -05:00
Marc Audy
0c3be2b6ad
Merge Release-Engine-Staging to Test @ CL# 18240298
...
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
christina tempelaarl
7690581940
Update LevelEditor TRS gizmo to handle Editor mode and coord system changes.
...
#jira UETOOL-4297
#rb brooke.hubert
#preflight 615c9daaed17cd000199c52c
#ROBOMERGE-AUTHOR: christina.tempelaarl
#ROBOMERGE-SOURCE: CL 17726964 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v879-17706426)
[CL 17726989 by christina tempelaarl in ue5-release-engine-test branch]
2021-10-05 16:34:35 -04:00
andrew davidson
57beb335f2
Merging //UE5/Dev-LargeWorldCoordinates [at] 17581892 to //UE5/Main
...
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 17595295 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
[CL 17595306 by andrew davidson in ue5-release-engine-test branch]
2021-09-22 10:01:48 -04:00
christina tempelaarl
0480e0b759
Change Editor Gizmo Builders from UObjects to interfaces.
...
#jira UETOOL-4097
#rb brooke.hubert
#preflight 6143adc1ba11800001647cc9
#ROBOMERGE-AUTHOR: christina.tempelaarl
#ROBOMERGE-SOURCE: CL 17545118 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
[CL 17545128 by christina tempelaarl in ue5-release-engine-test branch]
2021-09-16 18:11:20 -04:00
christina tempelaarl
8a958adec3
Move gizmo primitive objects and related classes to Experimental/EditorInteractiveToolsFramework directory for 5.0. They are currently only used by UEditorTransformGizmo and are still in active development.
...
#jira UE-126648
#rb ryan.schmidt
#preflight 61437544568b3a00012173e0
#ROBOMERGE-AUTHOR: christina.tempelaarl
#ROBOMERGE-SOURCE: CL 17541920 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
[CL 17541963 by christina tempelaarl in ue5-release-engine-test branch]
2021-09-16 13:55:36 -04:00
ryan schmidt
55e4644fd1
Add support for UEdMode-level InteractiveToolsContext which exists at the same time as the existing ModeManager-level ITC.
...
- rename UEdModeInteractiveToolsContext to UEditorInteractiveToolsContext, made all functions virtual so they can be customized for the new Editor/EdMode implementations where necessary
- add UModeManagerInteractiveToolsContext and UEdModeInteractiveToolsContext subclasses. Most functionality stays in the base class. Mouse-handling functions that manipulate the InputRouter move to ModeManagerITC.
- EdModeITC now is initialized based on a ModeManagerITC, and shares it's InputRouter
- ModeManagerITC creates the child EdModeITCs, forwards Tick/Render/DrawHUD calls
- FEditorModeTools now creates a ModeManagerITC
- Add EToolsContextScope enum, with options for Editor and EdMode ToolsContext
- UEdMode::Enter() now creates a child EdModeITC via new EditorITC::CreateNewChildEdModeToolsContext() function above, in addition to storing reference to the ModeManagerITC. Internal code updated to handle both ITCs.
- The EdModeITC is shut down on ::Exit() and unregistered from the EditorITC parent
- UEdMode ITC access functions (GetToolsContext, GetToolManager, RegisterTool) now take an optional Scope argument
- UEdMode::GetDefaultToolScope() allows EdModes to define default scope for the entire mode, defaults to Editor scope
- removed unused CanStartTool()/etc wrapper functions from FModeToolkit, they were not being called
- FModeToolkit::Init() now listens to events from both the ModeManagerITC and EdModeITC, delete cleans them both up
- FModeToolkit::OnToolStarted() checks both ITCs to see which one owns the new Tool
- updated all EdModes that were directly accessing the UEdMode::ToolsContext member, replaced with calls to GetToolsContext() / GetToolManager() APIs
- updated ModelingToolsEditorMode to use EdMode ToolScope
#rb brooke.hubert
#rnx
#jira none
#preflight 6140cc1130c00d0001dc4b9e
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17510176 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
[CL 17510201 by ryan schmidt in ue5-release-engine-test branch]
2021-09-14 17:11:13 -04:00
zousar shaker
fe7573c2db
Wrapped ObjectPtr upgrade refresh for Engine + ShooterGame
...
#rb none
#ROBOMERGE-SOURCE: CL 17278708 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)
[CL 17278722 by zousar shaker in ue5-release-engine-test branch]
2021-08-23 18:53:24 -04:00
christina tempelaarl
884acfa226
Fix non-unity compile error.
...
#rb trivial
#jira UETOOL-3780
#preflight 610e46b1cf0cdd000154e251
#ROBOMERGE-SOURCE: CL 17094415 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)
[CL 17094419 by christina tempelaarl in ue5-release-engine-test branch]
2021-08-07 11:06:24 -04:00
christina tempelaarl
08e4febe77
Add Accessory and Primary gizmo support to Editor gizmo manager and subsystem.
...
#jira UETOOL-3780
#rb brooke.hubert, matt.kuhlenschmidt
#preflight 610cb37cf19b370001fb9f50
#ROBOMERGE-SOURCE: CL 17085778 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)
[CL 17085790 by christina tempelaarl in ue5-release-engine-test branch]
2021-08-06 14:12:53 -04:00
zousar shaker
d55f79222e
Wrapped ObjectPtr upgrade refresh for Engine + ShooterGame
...
#rb none
#preflight 60f6411c35476b00018dd12c
#ROBOMERGE-SOURCE: CL 16892864 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)
[CL 16892876 by zousar shaker in ue5-release-engine-test branch]
2021-07-20 00:24:38 -04:00
christina tempelaarl
58d21d1410
Add typed element selection set support to Editor gizmo manager. Add toggle to enable new TRS gizmo.
...
#jira UETOOL-3562
#rb jamie.dale, brooke.hubert
#preflight 60efbbdb1a88600001ff7180
#ROBOMERGE-SOURCE: CL 16864376 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)
[CL 16864378 by christina tempelaarl in ue5-release-engine-test branch]
2021-07-15 13:18:14 -04:00
ryan schmidt
1876544bd5
ToolsFramework: Add UEdModeInteractiveToolsContext::SetEnableRenderingDuringHitProxyPass() to allow ITF clients to enable/disable hitproxy rendering. Default to enabled as it is expected that most existing FEdModes/etc are using hitproxy. Disable in ModelingMode because we don't want hitproxy rendering there.
...
#rb brooke.hubert
#rnx
#jira none
#preflight 60ce358e1f30ee00017cab85
#ROBOMERGE-SOURCE: CL 16723013 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)
[CL 16723018 by ryan schmidt in ue5-release-engine-test branch]
2021-06-19 18:16:54 -04:00