unreal.MVVMBlueprintViewModelContextCreationType

class unreal.MVVMBlueprintViewModelContextCreationType

Bases: EnumBase

EMVVMBlueprint View Model Context Creation Type

C++ Source:

  • Plugin: ModelViewViewModel

  • Module: ModelViewViewModelBlueprint

  • File: MVVMBlueprintViewModelContext.h

CREATE_INSTANCE: MVVMBlueprintViewModelContextCreationType

A new instance of the viewmodel will be created when the widget is created.

Type:

1

GLOBAL_VIEW_MODEL_COLLECTION: MVVMBlueprintViewModelContextCreationType

The viewmodel exists and is added to the MVVMSubsystem. It will be fetched there.

Type:

2

MANUAL: MVVMBlueprintViewModelContextCreationType

// The viewmodel will be assigned later.

Type:

0

PROPERTY_PATH: MVVMBlueprintViewModelContextCreationType

The viewmodel will be fetched by evaluating a function or a property path.

Type:

3

RESOLVER: MVVMBlueprintViewModelContextCreationType

The viewmodel will be fetched by evaluating the resolver object.

Type:

4