Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Private/AnimGraphNode_ScaleChainLength.cpp
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -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