Files
UnrealEngineUWP/Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModelBlueprint/Private/MVVMConversionFunctionGraphSchema.h
daren cheng 77ef4d3ffa Add Async MakeBrush & LoadTexture / LoadMaterial Nodes for MVVM
[REVIEW] [at]editor-ui-systems
#rb daren.cheng
[FYI] editor-ui-systems
#tests PIE, cooked, validation

[CL 35836548 by daren cheng in ue5-main branch]
2024-08-27 16:28:59 -04:00

63 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "EdGraphSchema_K2.h"
#include "MVVMConversionFunctionGraphSchema.generated.h"
/**
* Schema for conversion functions, adds pin metadata needed on connections for MVVM
*/
UCLASS()
class UMVVMConversionFunctionGraphSchema : public UEdGraphSchema_K2
{
GENERATED_BODY()
public:
virtual bool TryCreateConnection(UEdGraphPin* A, UEdGraphPin* B) const override;
virtual const FPinConnectionResponse CanCreateConnection(const UEdGraphPin* A, const UEdGraphPin* B) const override;
};
/**
* Schema used to test if a node is async or not
*
* Note: Keep in private header.
*/
UCLASS(Hidden, HideDropDown)
class UMVVMFakeTestUbergraphSchema : public UEdGraphSchema_K2
{
GENERATED_BODY()
public:
virtual EGraphType GetGraphType(const UEdGraph* TestEdGraph) const override;
};
/**
* Graph used to test if a node is async or not
*
* Note: Keep in private header.
*/
UCLASS(Hidden, HideDropDown)
class UMVVMFakeTestUbergraph : public UEdGraph
{
GENERATED_BODY()
public:
UMVVMFakeTestUbergraph();
};
/**
* Graph used to test if a node is async or not
*
* Note: Keep in private header.
*/
UCLASS(Hidden, HideDropDown)
class UMVVMFakeTestFunctiongraph : public UEdGraph
{
GENERATED_BODY()
public:
UMVVMFakeTestFunctiongraph();
};