Files
UnrealEngine/Engine/Source/Editor/AnimGraph/Private/AnimGraphNode_ScaleChainLength.cpp
2025-05-18 13:04:45 +08:00

37 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "AnimGraphNode_ScaleChainLength.h"
#include "Animation/AnimInstance.h"
/////////////////////////////////////////////////////
// UAnimGraphNode_ScaleChainLength
#define LOCTEXT_NAMESPACE "AnimGraph_ScaleChainLength"
UAnimGraphNode_ScaleChainLength::UAnimGraphNode_ScaleChainLength(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
FLinearColor UAnimGraphNode_ScaleChainLength::GetNodeTitleColor() const
{
return FLinearColor(0.7f, 0.7f, 0.7f);
}
FText UAnimGraphNode_ScaleChainLength::GetTooltipText() const
{
return LOCTEXT("AnimGraphNode_ScaleChainLength_Tooltip", "Scales a bone chain based on distance from StartBone to TargetLocation");
}
FText UAnimGraphNode_ScaleChainLength::GetNodeTitle(ENodeTitleType::Type TitleType) const
{
return LOCTEXT("AnimGraphNode_ScaleChainLength", "Scale Chain Length");
}
FString UAnimGraphNode_ScaleChainLength::GetNodeCategory() const
{
return TEXT("Animation|Misc.");
}
#undef LOCTEXT_NAMESPACE