Navigation
Unreal Engine C++ API Reference > Editor > ViewportInteraction
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
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Destroys the dragoperation | |
![]() |
UViewportDragOperation * | Get the actual dragging operation | |
![]() ![]() |
bool | IsDragging () |
If this operation is currently active. |
![]() |
void | SetDragOperationClass
(
const TSubclassOf< UViewportDragOperation > InDragOperation |
Sets the drag operation class that will be used next time starting dragging |
![]() |
void | Starts new dragging operation |