Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Private/AnimGraphNode_ScaleChainLength.cpp
Marc Audy 608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -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