This commit is contained in:
2025-04-18 18:42:53 +08:00
parent e15eafe5d4
commit 446eaf90d0
14 changed files with 357 additions and 2 deletions

View File

@@ -0,0 +1,35 @@
#include "DismembermentGraph/DismembermentGraphNodeBloodEffect.h"
UDismembermentGraphNodeBloodEffect::UDismembermentGraphNodeBloodEffect()
{
// Initialize default values
NodeTitleColor = FLinearColor(0.8f, 0.0f, 0.0f); // Red for blood
NodeCategory = FText::FromString("Effects");
NodeDescription = FText::FromString("Adds blood effect to the dismemberment");
}
void UDismembermentGraphNodeBloodEffect::AllocateDefaultPins()
{
// Create input pin
CreatePin(EGPD_Input, TEXT("Exec"), TEXT("In"));
// Create output pin
CreatePin(EGPD_Output, TEXT("Exec"), TEXT("Out"));
}
FText UDismembermentGraphNodeBloodEffect::GetNodeTitle(ENodeTitleType::Type TitleType) const
{
return FText::FromString("Blood Effect");
}
void UDismembermentGraphNodeBloodEffect::CompileNode(class FDismembermentCompiler* Compiler)
{
// Implementation will be added in future updates
// This is a placeholder to resolve link errors
}
void UDismembermentGraphNodeBloodEffect::ExecuteNode(class FDismembermentExecutor* Executor)
{
// Implementation will be added in future updates
// This is a placeholder to resolve link errors
}