2014-03-14 14:13:41 -04:00
|
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "AnimGraphPrivatePCH.h"
|
|
|
|
|
|
|
|
|
|
#include "GraphEditorActions.h"
|
|
|
|
|
#include "ScopedTransaction.h"
|
2014-04-24 08:49:31 -04:00
|
|
|
#include "AnimGraphNode_RotateRootBone.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
// UAnimGraphNode_RotateRootBone
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
#define LOCTEXT_NAMESPACE "A3Nodes"
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
UAnimGraphNode_RotateRootBone::UAnimGraphNode_RotateRootBone(const FPostConstructInitializeProperties& PCIP)
|
|
|
|
|
: Super(PCIP)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FLinearColor UAnimGraphNode_RotateRootBone::GetNodeTitleColor() const
|
|
|
|
|
{
|
|
|
|
|
return FLinearColor(0.7f, 0.7f, 0.7f);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FString UAnimGraphNode_RotateRootBone::GetTooltip() const
|
|
|
|
|
{
|
2014-04-23 18:30:37 -04:00
|
|
|
return LOCTEXT("RotateRootBone", "Rotate Root Bone").ToString();
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
2014-04-23 18:30:37 -04:00
|
|
|
FText UAnimGraphNode_RotateRootBone::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
2014-04-23 18:30:37 -04:00
|
|
|
return LOCTEXT("RotateRootBone", "Rotate Root Bone");
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FString UAnimGraphNode_RotateRootBone::GetNodeCategory() const
|
|
|
|
|
{
|
|
|
|
|
return TEXT("Tools");
|
|
|
|
|
}
|
2014-04-23 18:30:37 -04:00
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|