Navigation
API > API/Editor > API/Editor/StructUtilsEditor > API/Editor/StructUtilsEditor/FStructUtilsEditorModule
Description
Returns a shared owner of the hierarchy view model for the given root, creating one if needed.
Hold the returned TSharedRef for as long as the view model is needed. When the last consumer drops it, the view model is finalized and marked as garbage, immediately stopping its editor tick. Subsequent calls for the same root will produce a fresh view model.
| Name | AcquireHierarchyViewModel |
| Type | function |
| Header File | /Engine/Source/Editor/StructUtilsEditor/Public/StructUtilsEditorModule.h |
| Include Path | #include "StructUtilsEditorModule.h" |
| Source | /Engine/Source/Editor/StructUtilsEditor/Private/StructUtilsEditorModule.cpp |
TSharedRef < FPropertyBagHierarchyViewModelOwner > AcquireHierarchyViewModel
(
UPropertyBagHierarchyRoot * InHierarchyRoot,
UObject * InOwningObject,
TSharedRef < FPropertyPath > InPropertyPath,
TSharedRef < IPropertyUtilities > PropertyUtilities
)