Navigation
API > API/Plugins > API/Plugins/ModelViewViewModelBlueprint
| |
|
| Name |
EMVVMBlueprintViewModelContextCreationType |
| Type |
enum |
| Header File |
/Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModelBlueprint/Public/MVVMBlueprintViewModelContext.h |
| Include Path |
#include "MVVMBlueprintViewModelContext.h" |
Syntax
enum EMVVMBlueprintViewModelContextCreationType
{
Manual,
CreateInstance,
GlobalViewModelCollection,
PropertyPath,
Resolver,
}
Values
| Name |
Remarks |
| Manual |
The viewmodel will be assigned later. |
| CreateInstance |
A new instance of the viewmodel will be created when the widget is created. |
| GlobalViewModelCollection |
The viewmodel exists and is added to the MVVMSubsystem. It will be fetched there. |
| PropertyPath |
The viewmodel will be fetched by evaluating a function or a property path. |
| Resolver |
The viewmodel will be fetched by evaluating the resolver object. |