unreal.MVVMBlueprintViewModelContext

class unreal.MVVMBlueprintViewModelContext

Bases: StructBase

MVVMBlueprint View Model Context

C++ Source:

  • Plugin: ModelViewViewModel

  • Module: ModelViewViewModelBlueprint

  • File: MVVMBlueprintViewModelContext.h

Editor Properties: (see get_editor_property/set_editor_property)

  • create_setter_function (bool): [Read-Write] Generate a setter function for this viewmodel. note: Always true when the Creation Type is Manual.

  • creation_type (MVVMBlueprintViewModelContextCreationType): [Read-Write] When the view is spawn, create an instance of the viewmodel.

  • global_view_model_identifier (Name): [Read-Write] Identifier of an already registered viewmodel.

  • notify_field_value_class (type(Class)): [Read-Only]

  • optional (bool): [Read-Write] Optional. Will not warn if the instance is not set or found. note: Always true when the Creation Type is Manual.

  • view_model_context_id (Guid): [Read-Only] When the view is spawn, create an instance of the viewmodel.

  • view_model_name (Name): [Read-Write] Property name that will be generated.

  • view_model_property_path (str): [Read-Write] The Path to get the viewmodel instance.