2018-12-14 13:41:00 -05:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-04-24 08:49:31 -04:00
|
|
|
#include "AnimGraphNode_StateResult.h"
|
2018-08-10 10:25:16 -04:00
|
|
|
#include "GraphEditorSettings.h"
|
|
|
|
|
|
|
|
|
|
#define LOCTEXT_NAMESPACE "A3Nodes"
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
// UAnimGraphNode_StateResult
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UAnimGraphNode_StateResult::UAnimGraphNode_StateResult(const FObjectInitializer& ObjectInitializer)
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
}
|
2018-08-10 10:25:16 -04:00
|
|
|
|
|
|
|
|
FLinearColor UAnimGraphNode_StateResult::GetNodeTitleColor() const
|
|
|
|
|
{
|
|
|
|
|
return GetDefault<UGraphEditorSettings>()->ResultNodeTitleColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FText UAnimGraphNode_StateResult::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
|
|
|
|
{
|
|
|
|
|
return LOCTEXT("AnimGraphNodeStateResult_Title", "Output Animation Pose");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FText UAnimGraphNode_StateResult::GetTooltipText() const
|
|
|
|
|
{
|
|
|
|
|
return LOCTEXT("AnimGraphNodeStateResult_Tooltip", "This is the output of this animation state");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool UAnimGraphNode_StateResult::IsSinkNode() const
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UAnimGraphNode_StateResult::GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const
|
|
|
|
|
{
|
|
|
|
|
// Intentionally empty. This node is auto-generated when a new graph is created.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FString UAnimGraphNode_StateResult::GetDocumentationLink() const
|
|
|
|
|
{
|
|
|
|
|
return TEXT("Shared/GraphNodes/AnimationStateMachine");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|