Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Allows click-dragging to move the camera in the XY plane.
| Name | FEditor2DScrollBehaviorTarget |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/Behaviors/2DViewportBehaviorTargets.h |
| Include Path | #include "Behaviors/2DViewportBehaviorTargets.h" |
Syntax
class FEditor2DScrollBehaviorTarget : public IClickDragBehaviorTarget
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditor2DScrollBehaviorTarget
(
FEditorViewportClient* ViewportClientIn |
Behaviors/2DViewportBehaviorTargets.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
IClickDragBehaviorTarget. | Behaviors/2DViewportBehaviorTargets.h | |
virtual void OnClickDrag
(
const FInputDeviceRay& DragPos |
Behaviors/2DViewportBehaviorTargets.h | ||
virtual void OnClickPress
(
const FInputDeviceRay& PressPos |
Behaviors/2DViewportBehaviorTargets.h | ||
virtual void OnClickRelease
(
const FInputDeviceRay& ReleasePos |
Behaviors/2DViewportBehaviorTargets.h | ||
virtual void OnTerminateDragSequence() |
Behaviors/2DViewportBehaviorTargets.h |