You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-130755 #rb trivial #rnx #preflight 61df10146a076ddb53ecd68e #preflight 61df40836a16a18acf8741e8 #ROBOMERGE-AUTHOR: ben.hoffman #ROBOMERGE-SOURCE: CL 18589393 in //UE5/Release-5.0/... via CL 18589401 via CL 18589406 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669) [CL 18589423 by ben hoffman in ue5-main branch]
36 lines
936 B
C++
36 lines
936 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "K2Node_PromotableOperator.h"
|
|
#include "KismetNodes/SGraphNodeK2Sequence.h"
|
|
|
|
/**
|
|
* A custom slate node for the promotable operator (K2Node_PromotableOperator)
|
|
* These nodes include common math operations like Add, Subtract, Multiply, etc.
|
|
*
|
|
* This custom node will provide a neat little secondary icon to visually show that
|
|
* promotable operator pins can be converted to other types.
|
|
*/
|
|
class SGraphNodePromotableOperator : public SGraphNodeK2Sequence
|
|
{
|
|
public:
|
|
|
|
SLATE_BEGIN_ARGS(SGraphNodePromotableOperator){}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, UK2Node_PromotableOperator* InNode);
|
|
|
|
// SGraphNode interface
|
|
virtual void CreatePinWidgets() override;
|
|
// End of SGraphNode interface
|
|
|
|
protected:
|
|
|
|
void LoadCachedIcons();
|
|
|
|
const FSlateBrush* CachedOuterIcon;
|
|
const FSlateBrush* CachedInnerIcon;
|
|
};
|