Navigation
API > API/Editor > API/Editor/SceneOutliner
References
| Module | SceneOutliner |
| Header | /Engine/Source/Editor/SceneOutliner/Public/SceneOutlinerDragDrop.h |
| Include | #include "SceneOutlinerDragDrop.h" |
Syntax
struct FSceneOutlinerDragDropPayload
Remarks
Consolidated drag/drop with parsing functions for the scene outliner
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TWeakPtr< ISceneOutlinerTreeItem > > | DraggedItems | List of all dragged items | |
| const FDragDropOperation & | SourceOperation | The source FDragDropOperation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSceneOutlinerDragDropPayload
(
const FDragDropOperation& InOperation |
Default constructor, resulting in unset contents | ||
FSceneOutlinerDragDropPayload
(
const TArray< TreeType >& InDraggedItems, |
Populate this payload from an array of tree items |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ForEachItem
(
TFunctionRef< void(TreeType&)> Func |
Apply a function to each item in the payload | |
| TArray< TreeType * > | Get () |
Return an array of all tree items in the payload which are of a specified type | |
| TArray< DataType > | GetData
(
TFunctionRef< bool(TWeakPtr< ISceneOutlinerTreeItem >, DataType&)> Selector |
Use a selector to retrieve an array of a specific data type from the items in the payload | |
| bool | Has () |
Returns true if the payload has an item of a specified type |