Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Implements the middle mouse pan interaction
| Name | UViewportPanInteraction |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ViewportInteractions/ViewportPanInteraction.h |
| Include Path | #include "ViewportInteractions/ViewportPanInteraction.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class UViewportPanInteraction : public UViewportDragInteraction
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteraction → UViewportDragInteraction → UViewportPanInteraction
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewportPanInteraction() |
ViewportInteractions/ViewportPanInteraction.h |
Functions
Public
Public Virtual
Overridden from UViewportDragInteraction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanBeActivated() |
ViewportInteractions/ViewportPanInteraction.h | ||
virtual void OnDragDelta
(
float InMouseDeltaX, |
ViewportInteractions/ViewportPanInteraction.h |
Overridden from IViewportClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnDragEnd
(
const FInputDeviceRay& InDragEndPos |
Notify Target that drag has ended | ViewportInteractions/ViewportPanInteraction.h | |
virtual void OnDragStart
(
const FInputDeviceRay& InDragStartPos |
Notify Target that drag has started | ViewportInteractions/ViewportPanInteraction.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void PanCamera
(
FEditorViewportClient& Client, |
ViewportInteractions/ViewportPanInteraction.h |