Navigation
API > API/Plugins > API/Plugins/ModelingToolsEditorMode
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPathSelectionInteraction
References
| Module | ModelingToolsEditorMode |
| Header | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingSelectionInteraction.h |
| Include | #include "ModelingSelectionInteraction.h" |
Syntax
UCLASS ()
class UPathSelectionInteraction :
public UObject ,
public IClickDragBehaviorTarget
Remarks
UPathSelectionInteraction is a simple drag-interaction for Selection, which essentially just selects/deselects any element hit by the cursor.
Currently no attempt is made to (eg) subsample, so a fast-moving cursor will skip over some faces.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< UModelingSelectionInteraction > | SelectionInteraction |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Setup
(
UModelingSelectionInteraction* SelectionInteraction |
Overridden from IClickDragBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
Test if target can begin click-drag interaction at this point | |
| void | OnClickDrag
(
const FInputDeviceRay& DragPos |
Notify Target that input position has changed | |
| void | OnClickPress
(
const FInputDeviceRay& PressPos |
Notify Target that click press ocurred | |
| void | OnClickRelease
(
const FInputDeviceRay& ReleasePos |
Notify Target that click release occurred | |
| void | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |