FComponentDropTarget

Helper class to manage moving arbitrary data onto an Component if any

Windows
MacOS
Linux

Inheritance Hierarchy

IDropTarget

FComponentDropTarget

References

Module

SceneOutliner

Header

/Engine/Source/Editor/SceneOutliner/Public/ComponentTreeItem.h

Include

#include "ComponentTreeItem.h"

Syntax

struct FComponentDropTarget : public SceneOutliner::IDropTarget

Remarks

Helper class to manage moving arbitrary data onto an Component if any

Variables

Name Description

Public variable

TWeakObjectPtr<...

 

Component

The Component this tree item is associated with.

Constructors

Name Description

Public function

FComponentDropTarget

(
    UActorComponent* InComponent
)

Construct this object out of an Component

Overridden from IDropTarget

Name Description

Public function Virtual

void

 

OnDrop

(
    FDragDropPayload& DraggedObjects,
    UWorld& World,
    const FDragValidationInfo& Validat...,
    TSharedRef< SWidget > DroppedOnWidg...
)

Called to drop the specified objects on this item.

Public function Virtual Const

FDragValidat...

 

ValidateDrop

(
    FDragDropPayload& DraggedObjects,
    UWorld& World
)

Called to test whether the specified payload can be dropped onto this tree item

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