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