Commit Graph

51 Commits

Author SHA1 Message Date
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
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
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
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
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
christopher waters
f8147b1889 Full set of fixes for non-unity non-pch builds after EngineTypes cleanup. This includes adjusting previous build fixes that introduced new includes that weren't actually necessary. Restored a few includes and wrapped them in UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_1 checks to maintain compatability.
Also includes fixes for other build issues as it's hard to separate them all.

#jira too many to list
#rb none
#preflight 6247d21073665f7d5e6c5a6c

[CL 19600818 by christopher waters in ue5-main branch]
2022-04-02 01:04:02 -04:00
Jimmy Andrews
c78656355e update ITF and ModelingComponents headers to account for recent move of FHitResult (out of EngineTypes.h and into its own header)
#rb trivial
#preflight 62461694dc6183e3f50cb798

[CL 19578781 by Jimmy Andrews in ue5-main branch]
2022-03-31 17:15:39 -04:00
tyson brochu
a07cbd52dd Add a TargetWorld member to MeshSurfacePointTool, similar to other base tool classes.
Add attribute editor and vertex paint tools to cloth editor.


#rnx
#rb jimmy.andrews
#preflight 6244706b8f06610224f09976

[CL 19557482 by tyson brochu in ue5-main branch]
2022-03-30 11:06:49 -04:00
christopher waters
3b626d4efc Minor dependency cleanup in ComponentSourceInterfaces.h
#jira none
#rb josh.adams
#preflight 6233619b84667926da279199

[CL 19424614 by christopher waters in ue5-main branch]
2022-03-17 14:59:48 -04:00