Navigation
API > API/Plugins > API/Plugins/ModelViewViewModel > API/Plugins/ModelViewViewModel/UMVVMViewModelCollectionObject
Description
Finds a View Model of the given type. If the collection contains multiple instances of the same type then this will return the first one found.
| Name | FindFirstViewModelInstanceOfType |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/Types/MVVMViewModelCollection.h |
| Include Path | #include "Types/MVVMViewModelCollection.h" |
UFUNCTION (BlueprintCallable, Category="Viewmodel")
UMVVMViewModelBase * FindFirstViewModelInstanceOfType
(
const TSubclassOf < UMVVMViewModelBase > & ViewModelClass
) const