Navigation
API > API/Editor > API/Editor/DataHierarchyEditor > API/Editor/DataHierarchyEditor/FHierarchyElementViewModel
Description
Finds the view model for a given object. Can be a hierarchy element, but view models can also represent other objects not part of the hierarchy.
| Name | FindViewModelForObject |
| Type | function |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
| Source | /Engine/Source/Editor/DataHierarchyEditor/Private/DataHierarchyViewModelBase.cpp |
TSharedPtr < FHierarchyElementViewModel > FindViewModelForObject
(
const UObject * Object,
bool bSearchRecursively
) const