Navigation
API > API/Editor > API/Editor/SequencerCore
Weak pointer utility for view models that also provides the same explicit conversion utility as F/TViewModelPtr Using this pointer type allows for expressive null handling and casting in a simple function call for any extension type which is useful for many widgets:
class SMyWidget { void OnMouseMove() { TViewModelPtr
| Name | TWeakViewModelConversions |
| Type | struct |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModelPtr.h |
| Include Path | #include "MVVM/ViewModelPtr.h" |
Syntax
template<typename T>
struct TWeakViewModelConversions
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ViewModelType | typename std::conditional_t< std::is_const_v< T >, const FViewModel, FViewModel > | MVVM/ViewModelPtr.h |