You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb helge.mathee #preflight https://horde.devtools.epicgames.com/job/63fcea48a134e0b059ddb9ce [CL 24440239 by sara schvartzman in ue5-main branch]
46 lines
1.0 KiB
C++
46 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "RigVMModel/Nodes/RigVMFunctionEntryNode.h"
|
|
#include "RigVMModel/RigVMFunctionLibrary.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(RigVMFunctionEntryNode)
|
|
|
|
uint32 URigVMFunctionEntryNode::GetStructureHash() const
|
|
{
|
|
// Avoid hashing the template for library nodes
|
|
return URigVMNode::GetStructureHash();
|
|
}
|
|
|
|
FLinearColor URigVMFunctionEntryNode::GetNodeColor() const
|
|
{
|
|
if(URigVMGraph* RootGraph = GetRootGraph())
|
|
{
|
|
if(RootGraph->IsA<URigVMFunctionLibrary>())
|
|
{
|
|
return FLinearColor(FColor::FromHex("CB00FFFF"));
|
|
}
|
|
}
|
|
return FLinearColor(FColor::FromHex("005DFFFF"));
|
|
}
|
|
|
|
bool URigVMFunctionEntryNode::IsDefinedAsVarying() const
|
|
{
|
|
// todo
|
|
return true;
|
|
}
|
|
|
|
FString URigVMFunctionEntryNode::GetNodeTitle() const
|
|
{
|
|
return TEXT("Entry");
|
|
}
|
|
|
|
FText URigVMFunctionEntryNode::GetToolTipText() const
|
|
{
|
|
return FText::FromName(GetGraph()->GetOuter()->GetFName());
|
|
}
|
|
|
|
FText URigVMFunctionEntryNode::GetToolTipTextForPin(const URigVMPin* InPin) const
|
|
{
|
|
return Super::GetToolTipTextForPin(InPin);
|
|
}
|