Christina TempelaarL
8228a8716a
Add approximate LineTrace implementation for GizmoElementTorus. Remove unused method.
...
#jira UE-156484
#rb jimmy.andrews
#preflight 62fa83aeae3edb54c98dcddb
[CL 21389800 by Christina TempelaarL in ue5-main branch]
2022-08-15 13:45:00 -04:00
Christina TempelaarL
8ec9668258
Gizmo element library: add enable flags based on view projection type and interaction state.
...
#jira UE-157631
#rb zach.rammell, ronald,koppers
#preflight 62f56939086f90bbc4284f10
[CL 21344704 by Christina TempelaarL in ue5-main branch]
2022-08-11 16:47:55 -04:00
Bryan sefcik
b4a6e947d8
Ran IWYU on Public headers under Engine/Source/Runtime/...
...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed.
#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira
#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf
[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Ryan Schmidt
6032c02f0e
ModelingMode: add Delete command for current Mesh Selection
...
ToolsFramework:
add UInteractiveCommand and UInteractiveCommandArguments types, base classes for 'interactive commands' which are intended to be used for atomic actions, ie stateless, no user interaction, etc
ModelingComponents:
add UGeometrySelectionEditCommand/Arguments, this is a UInteractiveCommand that uses a FGeometrySelection as an argument
add UGeometrySelectionManager::CanExecuteSelectionCommand() and ExecuteSelectionCommand()
MeshModelingTools:
add UDeleteGeometrySelectionCommand, deletes selected mesh geometry by converting input selection to list of triangles
ModelingToolsEditorMode:
add Delete command to ModelingMode and UI. ModelingToolsEditorMode currently is keeping active command set alive via new UModelingToolsEditorMode::ModelingModeCommands member.
#rb none
#preflight 62d195b9a66919b6701d89a8
[CL 21113757 by Ryan Schmidt in ue5-main branch]
2022-07-15 13:49:13 -04:00
Ryan Schmidt
e3a3eb248d
ToolsFramework: Add UInteractiveToolManager::PostActiveToolShutdownRequest(). This function allows a Tool to request that it be shut down, for example a Tool that wants to apply an action and exit on-click.
...
Also added delegate UInteractiveToolManager::OnToolShutdownRequest. If bound, PostActiveToolShutdownRequest() will call this delegate first, to allow higher-level code to handle the shutdown request (eg by forwarding to EdModeInteractiveToolsContext::EndTool(), for example)
#rb none
#preflight 62b0e22c4055966e39d392f7
[CL 20861945 by Ryan Schmidt in ue5-main branch]
2022-06-28 14:01:02 -04:00
zach rammell
650a416c54
ITF Context Object Stores search through parent stores in all Find implementations
...
#jira none
#rb ryan.schmidt brooke.hubert
#preflight 62bb2b47112bbc898ad479b2
[CL 20861054 by zach rammell in ue5-main branch]
2022-06-28 12:43:51 -04:00
Christina TempelaarL
30600e48d4
Remove irrelevant undefs.
...
#jira nojira
#rb none
#preflight 62b61d6eff7f5dd87efe702a
[CL 20816278 by Christina TempelaarL in ue5-main branch]
2022-06-24 16:30:45 -04:00
Christina TempelaarL
056e75b475
LineTrace now takes GizmoViewContext rather than using cached render state, which enables invisible hittable objects and will be more robust when there are multiple viewports.
...
#jira UE_156895
#rb zach.rammell
#preflight 62b61102d82986248b77b1b4
[CL 20815417 by Christina TempelaarL in ue5-main branch]
2022-06-24 15:37:22 -04:00
Christina TempelaarL
76745ab219
Added ray/ line-drawn circle intersection to gizmo element circle.
...
#jira UE-152995
#rb jimmy.andrews
#preflight 62acfbd7d35e30c5cf2ecb42
[CL 20711833 by Christina TempelaarL in ue5-main branch]
2022-06-17 18:28:26 -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
nathan mitchell
3ba92badec
UVEditor: Enable support for selection mechanics within in the 3D viewport.
...
#rb semion.piskarev
#preflight 62aa68f9102b5101ccdc6d13
[CL 20679008 by nathan mitchell in ue5-main branch]
2022-06-15 19:31:42 -04:00
Christina TempelaarL
6933668de3
Add view alignment mode PointScreen to gizmo element base class.
...
#jira UE-156708
#rb zach.rammell
#preflight 62aa4324db3f89d316292b1d
[CL 20676866 by Christina TempelaarL in ue5-main branch]
2022-06-15 16:55:53 -04:00
semion piskarev
6803a3ad54
InteractiveToolsFramework: Fix UInteractiveToolsContext::DeactivateAllActiveTools always sending cancel to complete-style tools regardless of shutdown type. This avoids cancelling those tools (CubeGrid) when starting PIE.
...
#rb Ryan.Schmidt, Brooke.Hubert
#jira UE-156381
#preflight 62a39309f87ec0b3c897bf4d
#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 20604530 in //UE5/Release-5.0/... via CL 20605154
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)
[CL 20605952 by semion piskarev in ue5-main branch]
2022-06-10 20:33:21 -04:00
Christina TempelaarL
94199718d7
Added pixel hit distance threshold support to gizmo element library.
...
#jira UE-155188
#rb zach.rammell
#preflight 62a025483f2a47521b69af78
[CL 20551988 by Christina TempelaarL in ue5-main branch]
2022-06-08 00:32:13 -04:00
Christina TempelaarL
a159f2e00f
Fix comments.
...
#jira nojira
#rb trivial
#preflight 62a00eb1800e366f418e0eee
[CL 20551009 by Christina TempelaarL in ue5-main branch]
2022-06-07 22:55:48 -04:00
Christina TempelaarL
550965082f
Implemented gizmo box element line trace.
...
#jira UE-152983
#rb jimmy.andrews
#preflight 629e39ab116e8078e3c8f143
[CL 20524125 by Christina TempelaarL in ue5-main branch]
2022-06-06 14:05:13 -04:00
Christina TempelaarL
b0bdeb16a6
Fix max values, use TNumericLimits.
...
#jira nojira
#rb jimmy.andrews
#preflight 629e2d50116e8078e3c794db
[CL 20522731 by Christina TempelaarL in ue5-main branch]
2022-06-06 12:52:43 -04:00
Christina TempelaarL
68e41e393c
Implemented gizmo element circle and rectangle line trace methods.
...
#jira UE-153004, UE-153008
#rb jimmy.andrews
#preflight 62990e975143e4aacd8a8020
[CL 20474678 by Christina TempelaarL in ue5-main branch]
2022-06-02 15:44:09 -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
9ac82fb6dd
Add IGizmoClickMultiTarget, IGizmoRenderTarget and IGizmoRenderMultiTarget interfaces to facilitate hitting parts within a gizmo element hierarchy. Add HitObject member to FInputRayHit struct to hold UObect-derived owners of hits.
...
#jira UETOOL-4781
#rb ryan.schmidt, brooke.hubert, jimmy.andrews
#preflight 6272b741e95a8b960ebfba9c
[CL 20050122 by Christina TempelaarL in ue5-main branch]
2022-05-04 17:25:53 -04:00
semion piskarev
5989ed564b
MeshModelingTools: Remove infinite loop in UGizmoLabdaHitTarget.
...
#rb Jimmy.Andrews
#jira UE-149765
#preflight 626070fd080c6600634c1c1b
#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19839717 in //UE5/Release-5.0/... via CL 19840853
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)
[CL 19842651 by semion piskarev in ue5-main branch]
2022-04-20 20:27:33 -04:00
Christina TempelaarL
9e023d4eff
Gizmo element library: added linetrace traversal support, implemented cone/cylinder/arrow hit-testing.
...
#jira UETOOL-4780
#rb jimmy.andrews
#preflight 625f80b773187d30d08ce4f7
[CL 19838111 by Christina TempelaarL in ue5-main branch]
2022-04-20 17:03:41 -04:00
Christina TempelaarL
fde891e2b1
Ray-cone and ray-cylinder intersection fixes: clipping cone at height and zero-comparison precision issues.
...
#jira UETOOL-4780
#rb jimmy.andrews
#preflight 625f06ea3e0f6f80adbbed1d
[CL 19814770 by Christina TempelaarL in ue5-main branch]
2022-04-19 15:21:24 -04:00
Christina TempelaarL
4fa5521bba
CIS fix - missing abstract class specifier.
...
#jira UE-148483
#rb trivial
#preflight 624f44516637e291d3d2a0a6
[CL 19677062 by Christina TempelaarL in ue5-main branch]
2022-04-07 16:14:54 -04:00