UContentBrowserDataSource::HandleDragDropOnItem

Called to provide custom drag and drop handling when a drag event is dropped on an item.

Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource

  • UContentBrowserDataSource::HandleDragDropOnItem()

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h
Include #include "ContentBrowserDataSource.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp
virtual bool HandleDragDropOnItem
(
    const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) & InItem,
    const [FDragDropEvent](API\Runtime\SlateCore\Input\FDragDropEvent) & InDragDropEvent
)

Remarks

Called to provide custom drag and drop handling when a drag event is dropped on an item. True if this data source can handle the drag event (even if it didn't because it was invalid), or false to allow another data source (or the default handler) to deal with it instead.

Parameters

Name Description
InItem The item that was the drop target.
InDragDropEvent The drag and drop event.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library