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_getter_function (bool): [Read-Write] Generate a public getter for this viewmodel. note: Always false when using a Instanced viewmodel.

  • create_setter_function (bool): [Read-Write] Generate a public setter 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.

  • expose_instance_in_editor (bool): [Read-Write] Expose the viewmodel instance on every instance of the user widget for modification in editor.

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

  • instanced_view_model (MVVMBlueprintInstancedViewModelBase): [Read-Write]

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

  • 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.

  • resolver (MVVMViewModelContextResolver): [Read-Write]

  • 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.