Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Private/AnimGraphNode_ScaleChainLength.cpp
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00

37 lines
1.0 KiB
C++

// Copyright 1998-2019 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("AnimNode");
}
#undef LOCTEXT_NAMESPACE