UContentBrowserDataSource::DuplicateItem

Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user.

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

  • UContentBrowserDataSource::DuplicateItem()

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 DuplicateItem
(
    const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) & InItem,
    [FContentBrowserItemDataTemporaryContext](API\Editor\ContentBrowserData\FContentBrowserItemDataTemporary-) & OutPendingItem
)

Remarks

Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user.

This duplicates the item at its current path and assigns it a default unique name. True if the pending item was created, false otherwise.

Parameters

Name Description
InItem The item to duplicate.
OutPendingItem Temporary item context to fill with information about the pending duplicated item.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library