FUVEditor2DScrollBehaviorTarget

Allows click-dragging to move the camera in the XY plane.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UVEditor

Header

/Engine/Plugins/Experimental/UVEditor/Source/UVEditor/Public/UVEditor2DViewportBehaviorTargets.h

Include

#include "UVEditor2DViewportBehaviorTargets.h"

Syntax

class FUVEditor2DScrollBehaviorTarget : public IClickDragBehaviorTarget

Remarks

Allows click-dragging to move the camera in the XY plane.

Variables

Name Description

Protected variable

FVector3d

 

DragStart

Protected variable

FVector3d

 

OriginalCameraLocation

Protected variable

FUVEditor2DView...

 

ViewportClient

Constructors

Name Description

Public function

FUVEditor2DScrollBehaviorTarget

(
    FUVEditor2DViewportClient* Vie...
)

Overridden from IClickDragBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

CanBeginClickDragSequence

(
    const FInputDeviceRay& PressPos
)

IClickDragBehaviorTarget.

Public function Virtual

void

 

OnClickDrag

(
    const FInputDeviceRay& DragPos
)

Notify Target that input position has changed

Public function Virtual

void

 

OnClickPress

(
    const FInputDeviceRay& PressPos
)

Notify Target that click press ocurred

Public function Virtual

void

 

OnClickRelease

(
    const FInputDeviceRay& ReleasePos
)

Notify Target that click release occurred

Public function Virtual

void

 

OnTerminateDragSequence()

Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)