Navigation
API > API/Plugins > API/Plugins/ModelViewViewModel > API/Plugins/ModelViewViewModel/View
Inheritance Hierarchy
- UWidgetBlueprintGeneratedClassExtension
- UMVVMViewClass
References
| Module | ModelViewViewModel |
| Header | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/View/MVVMViewClass.h |
| Include | #include "View/MVVMViewClass.h" |
Syntax
UCLASS ()
class UMVVMViewClass : public UWidgetBlueprintGeneratedClassExtension
Remarks
Shared between every instances of the same View class.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| void | Construct
(
UUserWidget* UserWidget |
||
| void | Destruct
(
UUserWidget* UserWidget |
||
| bool | Should it automatically register and execute the bindings when the view is constructed. | ||
| bool | Should it automatically register the events when the view is constructed. | ||
| bool | Should it automatically create the binding sources when the view is constructed. | ||
| bool | Should the view listen to modification made in the global viewmodel collection. | ||
| const FMVVMViewClass_Binding & | GetBinding
(
FMVVMViewClass_BindingKey Key |
The binding (can be shared by more than one source). | |
| const FMVVMCompiledBindingLibrary & | Get the container of all the bindings. | ||
| const TArrayView< const FMVVMViewClass_Binding > | GetBindings () |
The list of bindings. A binding can be used by more than one source. | |
| const FMVVMViewClass_Condition & | The condition. | ||
| const TArrayView< const FMVVMViewClass_Condition > | The list of conditions. | ||
| const FMVVMViewClass_EvaluateSource & | The evaluate binding. | ||
| const TArrayView< const FMVVMViewClass_EvaluateSource > | The list of evaluate bindings. | ||
| const FMVVMViewClass_Event & | GetEvent
(
FMVVMViewClass_EventKey Key |
The event. | |
| const TArrayView< const FMVVMViewClass_Event > | GetEvents () |
The list of events. | |
| uint64 | The field of all the sources that are optional. | ||
| const FMVVMViewClass_Source & | GetSource
(
FMVVMViewClass_SourceKey Key |
The shared source used by the view. | |
| const TArrayView< const FMVVMViewClass_Source > | GetSources () |
Get the list of all the needed viewmodel or widgets. | |
| const TArrayView< const TObjectPtr< UMVVMViewClassExtension > > | The list of extensions for widgets. | ||
| void | Initialize
(
UUserWidget* UserWidget |