Adds Grow/Shrink/Flood ability to both edges and faces in UPolygonSelectionMechanic
#rb halfdan.ingvarsson
#JIRA UE-209462
[CL 33673217 by kiaran ritchie in ue5-main branch]
#jira UE-185651
Where reasonable means centered on the selection (if available), or otherwise centered in the view.
If a geometry element is selected, we will also align to that (e.g., aligning to the plane of a selected triangle)
#rb David.Hill
[CL 33182868 by jimmy andrews in ue5-main branch]
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski
[CL 31440421 by alex kahn in ue5-main branch]
When we have a valid topology type (Triangle or Poly, not None), we render selectable mesh elements.
Added AccumulateElementsFromPredicate to the GeometrySelector interface which allows a predicate function to filter which geometry elements ought to be included in the provided FGeometrySelectionElements. The predicate is aware of the type of element (vert, edge, tri) and the selected element ID (which is a single value encoding the topology ID and the element ID). The predicate returns true for elements to include and false for elements to exclude. Internally, this function builds transient vert, edge, and tri selections with this predicate and then accumulates all selection elements into the provided FGeometrySelectionElements.
#rb lonnie.li
#jira UE-202674
[CL 30860867 by nickolas drake in ue5-main branch]
- on drag: handles the rectangle change directly
- on tick: stores a pending selection function when dragging and calls it when ticking
- on realease: stores a pending selection function when dragging and calls it on release
#jira UE-201729
#rb semion.piskarev
[CL 30315792 by benoit gadreau in ue5-main branch]
+ add a callback to the modeling editor mode so it can know whether a tool was cancelled, and make the modeling mode use the selection manager's new save-on-clear/restore feature automatically when its tools are cancelled.
+ make some tools (normals, tangents, inspector) restore the before-tool-start selection after tool use via a utility function, since they shouldn't change mesh IDs that the selection relies on.
#jira UE-195948
#rb Ryan.Schmidt
[CL 29027037 by jimmy andrews in ue5-main branch]