Navigation
API > API/Editor > API/Editor/DataHierarchyEditor > API/Editor/DataHierarchyEditor/UDataHierarchyViewModelBase
Description
Prepares the items we want to create a hierarchy for. Primary purpose is to add children to the source root to gather the items to display in the source panel. The root view model is also given as a way to forcefully sync view models to access additional functionality, if needed
| Name | PrepareSourceItems |
| Type | function |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
virtual void PrepareSourceItems
(
UHierarchyRoot * SourceRoot,
TSharedPtr < FHierarchyRootViewModel > SourceRootViewModel
)