Navigation
API > API/Editor > API/Editor/SequencerCore
| Name | FOutlinerViewModel |
| Type | class |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/OutlinerViewModel.h |
| Include Path | #include "MVVM/ViewModels/OutlinerViewModel.h" |
Syntax
class FOutlinerViewModel : public UE::Sequencer::FViewModel
Inheritance Hierarchy
- FDynamicExtensionContainer → FViewModel → FOutlinerViewModel
- FSharedFromThisBase → TSharedFromThis → FViewModel → FOutlinerViewModel
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOutlinerViewModel() |
Constructor | MVVM/ViewModels/OutlinerViewModel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FOutlinerViewModel() |
Destructor | MVVM/ViewModels/OutlinerViewModel.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Implements | ::UE::Sequencer::TImplements< FViewModel > | MVVM/ViewModels/OutlinerViewModel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoRegisterTypeTable | ::UE::Sequencer::ICastable::FAutoRegisterTypeTable | MVVM/ViewModels/OutlinerViewModel.h | ||
| ID | ::UE::Sequencer::TAutoRegisterViewModelTypeID< FOutlinerViewModel > | MVVM/ViewModels/OutlinerViewModel.h | ||
| OnRefreshed | FSimpleMulticastDelegate | MVVM/ViewModels/OutlinerViewModel.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRootItemsInvalidated | bool | Whether root items should be re-evaluated | MVVM/ViewModels/OutlinerViewModel.h | |
| RootItems | TArray< TWeakViewModelPtr< IOutlinerExtension > > | A cached list of the root data's children, which are the outliner's root items | MVVM/ViewModels/OutlinerViewModel.h | |
| WeakHoveredItem | TWeakViewModelPtr< IOutlinerExtension > | The currently mouse-hovered item | MVVM/ViewModels/OutlinerViewModel.h | |
| WeakRootDataModel | FWeakViewModelPtr | The root data | MVVM/ViewModels/OutlinerViewModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > CreateContextMenuWidget() |
Called when the default context menu is opened | MVVM/ViewModels/OutlinerViewModel.h | |
TSharedPtr< FEditorViewModel > GetEditor() |
Get the editor view-model provided by the creation context | MVVM/ViewModels/OutlinerViewModel.h | |
TViewModelPtr< IOutlinerExtension > GetHoveredItem() |
Get the single hovered model in the tree, possibly nullptr | MVVM/ViewModels/OutlinerViewModel.h | |
FViewModelPtr GetRootItem() |
Get the logical root item of the outliner hierarchy | MVVM/ViewModels/OutlinerViewModel.h | |
TArrayView< const TWeakViewModelPtr< IOutlinerExtension > > GetTopLevelItems() |
Retrieve a flat list of the root items in this outliner model | MVVM/ViewModels/OutlinerViewModel.h | |
void Initialize
(
const FWeakViewModelPtr& InWeakRootDataModel |
Initialize the view model with a given root model | MVVM/ViewModels/OutlinerViewModel.h | |
virtual TSharedRef< FDragDropOperation > InitiateDrag
(
TArray< TWeakViewModelPtr< IOutlinerExtension > >&& InDraggedModels |
Initate a new drag operation from the specified dragged models. | MVVM/ViewModels/OutlinerViewModel.h | |
virtual void RequestUpdate() |
Request that this tree be updated | MVVM/ViewModels/OutlinerViewModel.h | |
void SetHoveredItem
(
TViewModelPtr< IOutlinerExtension > InHoveredModel |
Set the single hovered model in the tree | MVVM/ViewModels/OutlinerViewModel.h | |
void UnpinAllNodes() |
Unpins any pinned nodes in this tree | MVVM/ViewModels/OutlinerViewModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RegisterTypeID() |
MVVM/ViewModels/OutlinerViewModel.h |