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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss