| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Selection/PolygonSelectionMechanic.h |
Include |
#include "Selection/PolygonSelectionMechanic.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UPolygonSelectionMechanic : public UInteractionMechanic
UPolygonSelectionMechanic implements the interaction for selecting a set of faces/vertices/edges from a FGroupTopology on a USimpleDynamicMeshComponent.
Name | Description | ||
---|---|---|---|
|
TUniquePtr< FPo... |
ActiveChange |
|
|
bAddSelectionFilterPropertiesToParentTool |
Configuration variables that must be set before bSetup is called |
|
|
CameraState |
||
|
TSet< int > |
CurrentlyHighlightedGroups |
|
|
DrawnTriangleSetComponent |
||
|
GetAddToSelectionModifierStateFunc |
||
|
GetSpatialFunc |
||
|
HighlightedFaceMaterial |
||
|
HilightRenderer |
||
|
HilightSelection |
||
|
const FDynamicM... |
Mesh |
|
|
FSimpleMulticas... |
OnSelectionChanged |
OnSelectionChanged is broadcast whenever the selection is modified (including by FChanges) |
|
PersistentSelection |
||
|
PolyEdgesRenderer |
||
|
PreviewGeometryActor |
The actor we create internally to own the DrawnTriangleSetComponent |
|
|
Properties |
||
|
SelectionRenderer |
||
|
SelectionTimestamp |
||
|
ShouldSelectEdgeLoopsFunc |
When bSelectEdgeLoops is true, this function is tested to see if we should select edge loops, to allow edge loop selection to be toggled with some key (setting bSelectEdgeLoops to false overrides this function). |
|
|
ShouldSelectEdgeRingsFunc |
When bSelectEdgeRings is true, this function is tested to see if we should select edge rings, to allow edge ring selection to be toggled with some key (setting bSelectEdgeRings to false overrides this function). |
|
|
TargetTransform |
||
|
const FGroupTop... |
Topology |
|
|
TopoSelector |
Name | Description | |
---|---|---|
|
~UPolygonSelectionMechanic() |
Name | Description | ||
---|---|---|---|
|
BeginChange() |
Change Tracking Begin a change record. |
|
|
ClearHighlight() |
Clear current hover-highlight |
|
|
ClearSelection() |
Clear the current selection |
|
|
TUniquePtr< ... |
EndChange() |
End the active change and return it. Returns empty change if the selection was not modified! |
|
EndChangeAndEmitIfModified() |
Ends the active change and emits it via the parent tool, if the selection has been modified. |
|
|
const FGroup... |
GetActiveSelection() |
|
|
GetSelectionFrame |
||
|
FGroupTopolo... |
GetTopoSelectorSettings ( |
Get the topology selector settings to use given the current selection settings. |
|
HasSelection() |
||
|
Initialize ( |
Initializes the mechanic. |
|
|
Initialize ( |
||
|
NotifyMeshChanged ( |
Notify internal data structures that the associated MeshComponent has been modified. |
|
|
SetSelection ( |
Replace the current selection with an external selection. |
|
|
SetShouldSelectEdgeLoopsFunc |
||
|
SetShouldSelectEdgeRingsFunc |
||
|
TopologyHitTest ( |
Perform a hit test on the topology using the current selection settings. |
|
|
TopologyHitTest ( |
Perform a hit test on the topology using the current selection settings. |
|
|
UpdateHighlight ( |
Hover API Update the hover highlight based on the hit elements at the given World Ray |
|
|
UpdateSelection |
Selection API Intersect the ray with the mesh and update the selection based on the hit element, modifier states, etc |
Name | Description | ||
---|---|---|---|
|
Render ( |
Allow the Mechanic to do any custom drawing (ie via PDI/RHI) |
|
|
Setup ( |
Called to initialize the InteractionMechanic |
|
|
Shutdown() |
Called to clean up the InteractionMechanic |