You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
31 lines
978 B
C++
31 lines
978 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "KismetCompilerMisc.h"
|
|
|
|
class FKismetCompilerContext;
|
|
class UK2Node_MathExpression;
|
|
struct FKismetFunctionContext;
|
|
|
|
class FKCHandler_MathExpression : public FNodeHandlingFunctor
|
|
{
|
|
FBlueprintCompiledStatement* GenerateFunctionRPN(UEdGraphNode* CurrentNode
|
|
, FKismetFunctionContext& Context
|
|
, UK2Node_MathExpression& MENode
|
|
, FBPTerminal* ResultTerm
|
|
, TMap<UEdGraphPin*, UEdGraphPin*>& InnerToOuterInput);
|
|
|
|
public:
|
|
FKCHandler_MathExpression(FKismetCompilerContext& InCompilerContext)
|
|
: FNodeHandlingFunctor(InCompilerContext)
|
|
{}
|
|
|
|
virtual void RegisterNets(FKismetFunctionContext& Context, UEdGraphNode* InNode) override;
|
|
virtual void RegisterNet(FKismetFunctionContext& Context, UEdGraphPin* Net) override;
|
|
virtual void Compile(FKismetFunctionContext& Context, UEdGraphNode* Node) override;
|
|
|
|
static bool CanBeCalledByMathExpression(const UFunction* Function);
|
|
};
|