Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/MeshSelectionMechanic.h |
Include |
#include "Selection/MeshSelectionMechanic.h" |
UCLASS()
class UMeshSelectionMechanic :
public UInteractionMechanic,
public IClickBehaviorTarget
Mechanic for selecting elements of a dynamic mesh.
TODO: Currently only able to select unoccluded elements.
Name | Description | ||
---|---|---|---|
|
bCtrlToggle |
||
|
bShiftToggle |
||
|
CameraState |
||
|
CentroidTimestamp |
||
|
CurrentSelection |
||
|
CurrentSelectionCentroid |
||
|
CurrentSelectionIndex |
||
|
EmitSelectionChange |
Function to use for emitting selection change events. |
|
|
TObjectPtr< APr... |
HoverGeometryActor |
|
|
TObjectPtr< ULi... |
HoverLineSet |
|
|
TObjectPtr< UPo... |
HoverPointSet |
|
|
TObjectPtr< UTr... |
HoverTriangleSet |
|
|
TObjectPtr< UMa... |
HoverTriangleSetMaterial |
|
|
TObjectPtr< ULi... |
LineSet |
|
|
TObjectPtr< URe... |
MarqueeMechanic |
|
|
MeshSpatials |
||
|
MeshTransforms |
||
|
FSimpleMulticas... |
OnSelectionChanged |
|
|
TObjectPtr< UPo... |
PointSet |
|
|
PreDragSelection |
||
|
TObjectPtr< APr... |
PreviewGeometryActor |
|
|
SelectionMode |
||
|
TObjectPtr< UMe... |
Settings |
|
|
TObjectPtr< UTr... |
TriangleSet |
|
|
TObjectPtr< UMa... |
TriangleSetMaterial |
The material being displayed for selected triangles |
|
VisualizationStyle |
Name | Description | |
---|---|---|
|
~UMeshSelectionMechanic() |
Name | Description | ||
---|---|---|---|
|
AddSpatial ( |
Use this to initialize the meshes we want to hit test. |
|
|
ChangeSelectionMode ( |
||
|
DrawHUD ( |
||
|
const FDynam... |
GetCurrentSelection() |
|
|
GetCurrentSelectionCentroid() |
||
|
OnDragRectangleChanged ( |
||
|
OnDragRectangleFinished ( |
||
|
OnDragRectangleStarted() |
||
|
RayCast ( |
||
|
RebuildDrawnElements ( |
Rebuilds the drawn selection highlights, and intializes them in such a way that their transform is equal to StartTransform (useful so that their transform can later be changed) |
|
|
SetDrawnElementsTransform ( |
Changes the transform of the selection highlights. |
|
|
SetSelection ( |
||
|
SetVisualizationStyle ( |
||
|
SetWorld ( |
||
|
ShouldAddToSelection() |
All four combinations of shift/ctrl down are assigned a behaviour. |
|
|
ShouldRemoveFromSelection() |
||
|
ShouldRestartSelection() |
||
|
ShouldToggleFromSelection() |
||
|
UpdateCentroid() |
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 |
Name | Description | ||
---|---|---|---|
|
IsHitByClick ( |
IClickBehaviorTarget implementation. |
|
|
OnClicked ( |
Notify Target that click ocurred |
Name | Description | ||
---|---|---|---|
|
OnUpdateModifierState ( |
IModifierToggleBehaviorTarget implementation. |
Name |
Description |
---|---|
FDynamicMeshAABBTree3 |
|
FDynamicMeshSelection |
Name |
Description |
---|---|
CtrlModifierID |
|
ShiftModifierID |