UViewportDragOperationComponent

Container component for [UViewportDragOperation](API\Editor\ViewportInteraction\UViewportDragOperation) that can be used by objects in the world that are draggable and implement the ViewportInteractableInterface

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UActorComponent

UViewportDragOperationComponent

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/ViewportDragOperation.h

Include

#include "ViewportDragOperation.h"

Syntax

class UViewportDragOperationComponent : public UActorComponent

Remarks

Container component for UViewportDragOperation that can be used by objects in the world that are draggable and implement the ViewportInteractableInterface

Constructors

Name Description

Public function

UViewportDragOperationComponent()

Default constructor.

Functions

Name Description

Public function

void

 

ClearDragOperation()

Destroys the dragoperation

Public function

UViewportDra ...

 

GetDragOperation()

Get the actual dragging operation

Public function Const

bool

 

IsDragging()

If this operation is currently active.

Public function

void

 

SetDragOperationClass

(
    const TSubclassOf < UViewportDragOpe ...
)

Sets the drag operation class that will be used next time starting dragging

Public function

void

 

StartDragOperation()

Starts new dragging operation

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback