Navigation
API > API/Plugins > API/Plugins/ModelViewViewModelBlueprint
References
| Module | ModelViewViewModelBlueprint |
| Header | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModelBlueprint/Public/MVVMBlueprintViewModelContext.h |
| Include | #include "MVVMBlueprintViewModelContext.h" |
Syntax
USTRUCT ()
struct FMVVMBlueprintViewModelContext
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCanEdit | Can change properties in the editor. | |
| bool | bCanRemove | Can remove the viewmodel in the editor. | |
| bool | bCanRename | Can change the name in the editor. | |
| bool | bCreateGetterFunction | Generate a public getter for this viewmodel. |
Always false when using a Instanced viewmodel. |
| bool | bCreateSetterFunction | Generate a public setter for this viewmodel. |
Always true when the Creation Type is Manual. |
| bool | bExposeInstanceInEditor | Expose the viewmodel instance on every instance of the user widget for modification in editor. | |
| bool | bForceExecuteBindingsOnSetSource | When a viewmodel is set manually and the viewmodel already initialized, then always execute the bindings associated with that viewmodel. | |
| bool | bGlobalViewModelCollectionUpdate | Auto update the instance when the viewmodel is added/removed/modifed from the global viewmodel collection. | |
| bool | bOptional | Optional. | |
| bool | bOverrideForceExecuteBindingsOnSetSource | ||
| EMVVMBlueprintViewModelContextCreationType | CreationType | When the view is spawn, create an instance of the viewmodel. | |
| FName | GlobalViewModelIdentifier | Identifier of an already registered viewmodel. | |
| TObjectPtr< UMVVMBlueprintInstancedViewModelBase > | InstancedViewModel | ||
| TObjectPtr< UClass > | NotifyFieldValueClass | ||
| TObjectPtr< UMVVMViewModelContextResolver > | Resolver | ||
| FName | ViewModelName | Property name that will be generated. | |
| FString | ViewModelPropertyPath | The Path to get the viewmodel instance. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMVVMBlueprintViewModelContext
(
const UClass* InClass, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMVVMViewModelContextResolver > | CreateDefaultResolver
(
UPackage* Package |
||
| FText | |||
| UClass * | |||
| FGuid | |||
| FName | |||
| bool | IsValid () |
||
| void | PostSerialize
(
const FArchive& Ar |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FText | OverrideDisplayName_DEPRECATED | ||
| TSubclassOf< UMVVMViewModelBase > | ViewModelClass_DEPRECATED |