Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Implements panning for orthographic views. Holding Alt or Shift inverts the panning direction.
| Name | UViewportOrthoPanInteraction |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ViewportInteractions/ViewportOrthoPanInteraction.h |
| Include Path | #include "ViewportInteractions/ViewportOrthoPanInteraction.h" |
Syntax
UCLASS (MinimalAPI)
class UViewportOrthoPanInteraction : public UViewportDragInteraction
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteraction → UViewportDragInteraction → UViewportOrthoPanInteraction
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewportOrthoPanInteraction() |
ViewportInteractions/ViewportOrthoPanInteraction.h |
Functions
Public
Public Virtual
Overridden from UViewportDragInteraction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanBeActivated() |
ViewportInteractions/ViewportOrthoPanInteraction.h | ||
virtual void OnDragDelta
(
float InMouseDeltaX, |
ViewportInteractions/ViewportOrthoPanInteraction.h |
Overridden from IViewportClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnDragEnd
(
const FInputDeviceRay& InDragEndPos |
Notify Target that drag has ended | ViewportInteractions/ViewportOrthoPanInteraction.h | |
virtual void OnDragStart
(
const FInputDeviceRay& InDragStartPos |
Notify Target that drag has started | ViewportInteractions/ViewportOrthoPanInteraction.h |