29 lines
619 B
C++
29 lines
619 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AnimGraphNode_RefPoseBase.h"
|
|
|
|
/////////////////////////////////////////////////////
|
|
// UAnimGraphNode_RefPoseBase
|
|
|
|
UAnimGraphNode_RefPoseBase::UAnimGraphNode_RefPoseBase(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
}
|
|
|
|
FString UAnimGraphNode_RefPoseBase::GetNodeCategory() const
|
|
{
|
|
return TEXT("Animation|Poses");
|
|
}
|
|
|
|
FLinearColor UAnimGraphNode_RefPoseBase::GetNodeTitleColor() const
|
|
{
|
|
if ( Node.GetRefPoseType() == EIT_Additive )
|
|
{
|
|
return FLinearColor(0.10f, 0.60f, 0.12f);
|
|
}
|
|
else
|
|
{
|
|
return FColor(200, 100, 100);
|
|
}
|
|
}
|