Navigation
API > API/Plugins > API/Plugins/ModelViewViewModelBlueprint
A conversion function converts between the source and destiation of a binding.
Internally that function may be using native C++, K2Nodes, UFunctions, Events, etc.
| Name | UMVVMBlueprintViewConversionFunction |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModelBlueprint/Public/MVVMBlueprintViewConversionFunction.h |
| Include Path | #include "MVVMBlueprintViewConversionFunction.h" |
Syntax
UCLASS (MinimalAPI)
class UMVVMBlueprintViewConversionFunction : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMVVMBlueprintViewConversionFunction
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnWrapperGraphModified | FSimpleMulticastDelegate | MVVMBlueprintViewConversionFunction.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsUbergraphPage | bool | MVVMBlueprintViewConversionFunction.h |
|
|
| bLoadingPins | bool | MVVMBlueprintViewConversionFunction.h | ||
| bWrapperGraphTransient | bool | MVVMBlueprintViewConversionFunction.h |
|
|
| CachedWrapperGraph | TObjectPtr< UEdGraph > | MVVMBlueprintViewConversionFunction.h |
|
|
| CachedWrapperNode | TObjectPtr< UK2Node > | MVVMBlueprintViewConversionFunction.h |
|
|
| ConversionFunction | FMVVMBlueprintFunctionReference | Conversion reference. It can be simple, complex or a K2Node. |
The conversion is complex | MVVMBlueprintViewConversionFunction.h |
- VisibleAnywhere
- Category="Viewmodel"
| DestinationPath | FMVVMBlueprintPropertyPath | Destination of the binding, currently only saved when the conversion function uses async nodes. | MVVMBlueprintViewConversionFunction.h |
|
| GraphName | FName | Name of the generated graph if a wrapper is needed. | MVVMBlueprintViewConversionFunction.h |
|
| LatentEventNodeUUID | TObjectPtr< UEdGraphNode > | Events require a node UUID for the latent manager to handle lantents with | MVVMBlueprintViewConversionFunction.h |
|
| OnGraphChangedHandle | FDelegateHandle | MVVMBlueprintViewConversionFunction.h | ||
| OnUserDefinedPinRenamedHandle | FDelegateHandle | MVVMBlueprintViewConversionFunction.h | ||
| SavedPins | TArray< FMVVMBlueprintPin > | The pin that are modified and we saved data. | MVVMBlueprintViewConversionFunction.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Deprecation_InitializeFromMemberReference
(
UBlueprint* SelfContext, |
For deprecation. | MVVMBlueprintViewConversionFunction.h | |
void Deprecation_InitializeFromWrapperGraph
(
UBlueprint* SelfContext, |
For deprecation. | MVVMBlueprintViewConversionFunction.h | |
void Deprecation_SetWrapperGraphName
(
UBlueprint* Context, |
For deprecation. | MVVMBlueprintViewConversionFunction.h | |
| MVVMBlueprintViewConversionFunction.h | |||
| MVVMBlueprintViewConversionFunction.h | |||
| MVVMBlueprintViewConversionFunction.h | |||
TVariant< const UFunction *, TSubclassOf< UK2Node > > GetConversionFunction
(
const UBlueprint* SelfContext |
MVVMBlueprintViewConversionFunction.h | ||
const FMVVMBlueprintPropertyPath & GetDestinationPath() |
MVVMBlueprintViewConversionFunction.h | ||
UEdGraphNode * GetLatentNodeUUID() |
Return latent UUID Node. | MVVMBlueprintViewConversionFunction.h | |
UEdGraphPin * GetOrCreateGraphPin
(
UBlueprint* Blueprint, |
Returns the pin from the graph. | MVVMBlueprintViewConversionFunction.h | |
UEdGraph * GetOrCreateIntermediateWrapperGraph
(
FKismetCompilerContext& Context |
If needed, create the graph and all the nodes for that graph when compiling. | MVVMBlueprintViewConversionFunction.h | |
UEdGraph * GetOrCreateWrapperGraph
(
UBlueprint* Blueprint |
If needed, create the graph and all the nodes for that graph. | MVVMBlueprintViewConversionFunction.h | |
const TArrayView< const FMVVMBlueprintPin > GetPins() |
MVVMBlueprintViewConversionFunction.h | ||
UEdGraph * GetWrapperGraph() |
Return the wrapper graph, if it exists. | MVVMBlueprintViewConversionFunction.h | |
FName GetWrapperGraphName() |
MVVMBlueprintViewConversionFunction.h | ||
UK2Node * GetWrapperNode() |
Return the wrapper node, if it exists. | MVVMBlueprintViewConversionFunction.h | |
bool HasOrphanedPin() |
Keep the orphaned pins. Add the missing pins. | MVVMBlueprintViewConversionFunction.h | |
void Initialize
(
UBlueprint* SelfContext, |
Set the function. Generate a Graph. | MVVMBlueprintViewConversionFunction.h | |
void InitializeFromFunction
(
UBlueprint* SelfContext, |
Set the function. Generate a Graph. | MVVMBlueprintViewConversionFunction.h | |
bool IsUbergraphPage() |
True if the graph is going to be used for an ubergraph page. | MVVMBlueprintViewConversionFunction.h | |
bool IsValid
(
const UBlueprint* SelfContext |
The conversion is valid. | MVVMBlueprintViewConversionFunction.h | |
bool IsWrapperGraphTransient() |
The wrapper Graph is generated on load/compile and is not saved. | MVVMBlueprintViewConversionFunction.h | |
bool NeedsWrapperGraph
(
const UBlueprint* SelfContext |
The function has more than one argument and requires a wrapper or it uses a FunctionNode. | MVVMBlueprintViewConversionFunction.h | |
void RecreateWrapperGraph
(
UBlueprint* Blueprint |
MVVMBlueprintViewConversionFunction.h | ||
void RemoveWrapperGraph
(
UBlueprint* Blueprint |
The conversion function is going to be removed from the Blueprint. Do any cleanup that is needed. | MVVMBlueprintViewConversionFunction.h | |
void SavePinValues
(
UBlueprint* Blueprint |
Generates SavedPins from the wrapper graph, if it exists. | MVVMBlueprintViewConversionFunction.h | |
void SetDestinationPath
(
FMVVMBlueprintPropertyPath DestinationPath |
MVVMBlueprintViewConversionFunction.h | ||
void SetGraphPin
(
UBlueprint* Blueprint, |
MVVMBlueprintViewConversionFunction.h | ||
void UpdatePinValues
(
UBlueprint* Blueprint |
Keep the orphaned pins. Add the missing pins. | MVVMBlueprintViewConversionFunction.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
MVVMBlueprintViewConversionFunction.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsValidConversionFunction
(
const UBlueprint* WidgetBlueprint, |
MVVMBlueprintViewConversionFunction.h | ||
static bool IsValidConversionNode
(
const UBlueprint* WidgetBlueprint, |
MVVMBlueprintViewConversionFunction.h |