Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource
References
Module | ContentBrowserData |
Header | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
Include | #include "ContentBrowserDataSource.h" |
Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FDragDropOperation](API\Runtime\SlateCore\Input\FDragDropOperation) > CreateCustomDragOperation ( [TArrayView](API\Runtime\Core\Containers\TArrayView)< const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) > InItems )
Remarks
Called to provide custom drag and drop handling when starting a drag event.
If you override this then you are responsible for all drag and drop handling (including the default move/copy behavior) via the HandleDrag functions below! A custom drag operation, or null to allow another data source (or the default handler) to deal with it instead.
Parameters
Name | Description |
---|---|
InItems | The items being dragged. |