Navigation
API > API/Plugins > API/Plugins/ModelViewViewModel > API/Plugins/ModelViewViewModel/View > API/Plugins/ModelViewViewModel/View/UMVVMView
References
| Module | ModelViewViewModel |
| Header | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/View/MVVMView.h |
| Include | #include "View/MVVMView.h" |
| Source | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Private/View/MVVMView.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Viewmodel"&41;
bool SetViewModelByClass
&40;
TScriptInterface< INotifyFieldValueChanged > NewValue
&41;
Remarks
Set the first viewmodel matching the exact specified type. If none is found, set the first viewmodel matching a child of the specified type The viewmodel needs to be settable and it should have a valid name. If the view is initialized, all bindings that uses that viewmodel will be re-executed with the new viewmodel instance.