Navigation
API > API/Editor > API/Editor/SequencerCore
| Name | FViewModelChildren |
| Type | struct |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/ViewModelHierarchy.h |
| Include Path | #include "MVVM/ViewModels/ViewModelHierarchy.h" |
Syntax
struct FViewModelChildren
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewModelChildren
(
const TSharedPtr< FViewModel >& InOwner, |
MVVM/ViewModels/ViewModelHierarchy.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FScopedViewModelListHead | friend | MVVM/ViewModels/ViewModelHierarchy.h | ||
| FViewModel | friend | MVVM/ViewModels/ViewModelHierarchy.h | ||
| ListHead | FViewModelListHead * | MVVM/ViewModels/ViewModelHierarchy.h | ||
| Owner | TSharedPtr< FViewModel > | MVVM/ViewModels/ViewModelHierarchy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddChild
(
const TSharedPtr< FViewModel >& Child |
Add a child from a different parent to these children | MVVM/ViewModels/ViewModelHierarchy.h | |
void Empty() |
Empty this specific sub-list, resetting all parent ptrs | MVVM/ViewModels/ViewModelHierarchy.h | |
TViewModelPtr< T > FindFirstChildOfType() |
MVVM/ViewModels/ViewModelHierarchy.h | ||
FViewModelPtr GetHead() |
Returns the head model of this list | MVVM/ViewModels/ViewModelHierarchy.h | |
FViewModelPtr GetParent() |
Get this children's parent | MVVM/ViewModels/ViewModelHierarchy.h | |
FViewModelPtr GetTail() |
Finds the last model of this list | MVVM/ViewModels/ViewModelHierarchy.h | |
EViewModelListType GetType() |
Get the collective type of these children | MVVM/ViewModels/ViewModelHierarchy.h | |
void InsertChild
(
const TSharedPtr< FViewModel >& Child, |
Add a child from a different parent to these children to the specified previous sibling, or the head if nullptr | MVVM/ViewModels/ViewModelHierarchy.h | |
bool IsEmpty() |
Returns whether this list is empty | MVVM/ViewModels/ViewModelHierarchy.h | |
| Returns an iterator over this list | MVVM/ViewModels/ViewModelHierarchy.h | ||
TViewModelSubListIterator< T > IterateSubList () |
Returns an iterator over this list which will skip any item not of type T | MVVM/ViewModels/ViewModelHierarchy.h | |
void MoveChildrenTo
(
const FViewModelChildren& OutDestination |
Move all these children into the specified destination list, changing parent pointers if necessary | MVVM/ViewModels/ViewModelHierarchy.h | |
void MoveChildrenTo
(
const FViewModelChildren& OutDestination, |
Invoke a callback on these children, and move them all into the specified destination list, changing parent pointers if necessary | MVVM/ViewModels/ViewModelHierarchy.h |