Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
| Name | UViewportChangeInteraction |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorDragTools/ViewportChangeInteraction.h |
| Include Path | #include "EditorDragTools/ViewportChangeInteraction.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class UViewportChangeInteraction : public UDragToolInteraction
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteraction → UDragToolInteraction → UViewportChangeInteraction
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewportChangeInteraction() |
EditorDragTools/ViewportChangeInteraction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ViewOptionOffset | FVector2D | EditorDragTools/ViewportChangeInteraction.h |
Functions
Public
Public Virtual
Overridden from UViewportInteraction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Draw
(
FCanvas* InCanvas, |
Called every frame to render tools to a 2D canvas | EditorDragTools/ViewportChangeInteraction.h |
Overridden from IViewportClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
Test if target can begin click-drag interaction at this point | EditorDragTools/ViewportChangeInteraction.h | |
virtual void OnBeginCapture
(
const FInputDeviceRay& InClickPressPos |
Notify Target that capture has started | EditorDragTools/ViewportChangeInteraction.h | |
virtual void OnDrag
(
const FDragArgs& InDrag |
Notify Target that input position has changed | EditorDragTools/ViewportChangeInteraction.h | |
virtual void OnDragEnd
(
const FInputDeviceRay& InDragEndPos |
Notify Target that drag has ended | EditorDragTools/ViewportChangeInteraction.h | |
virtual void OnDragStart
(
const FInputDeviceRay& InDragStartPos |
Notify Target that drag has started | EditorDragTools/ViewportChangeInteraction.h |