You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Reorganized and consolidated for easier navigation #rb Jurre.deBaare,Lucas.Dower #jira UE-156715 #preflight 62a9ac0f13004691f97cd9da #ROBOMERGE-OWNER: thomas.sarkanen #ROBOMERGE-AUTHOR: thomas.sarkanen #ROBOMERGE-SOURCE: CL 20667777 via CL 20668358 via CL 20668456 via CL 20668474 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017) [CL 20669758 by thomas sarkanen in ue5-main branch]
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AnimGraphNode_RandomPlayer.h"
|
|
|
|
#include "EditorCategoryUtils.h"
|
|
#include "Animation/AnimAttributes.h"
|
|
#include "Animation/AnimRootMotionProvider.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "AnimGraphNode_RandomPlayer"
|
|
|
|
FLinearColor UAnimGraphNode_RandomPlayer::GetNodeTitleColor() const
|
|
{
|
|
return FLinearColor(0.10f, 0.60f, 0.12f);
|
|
}
|
|
|
|
FText UAnimGraphNode_RandomPlayer::GetTooltipText() const
|
|
{
|
|
return LOCTEXT("NodeToolTip", "Plays sequences picked from a provided list in random orders.");
|
|
}
|
|
|
|
FText UAnimGraphNode_RandomPlayer::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
|
{
|
|
return LOCTEXT("NodeTitle", "Random Sequence Player");
|
|
}
|
|
|
|
FText UAnimGraphNode_RandomPlayer::GetMenuCategory() const
|
|
{
|
|
return LOCTEXT("NodeCategory", "Animation|Sequences");
|
|
}
|
|
|
|
void UAnimGraphNode_RandomPlayer::GetOutputLinkAttributes(FNodeAttributeArray& OutAttributes) const
|
|
{
|
|
OutAttributes.Add(UE::Anim::FAttributes::Curves);
|
|
OutAttributes.Add(UE::Anim::FAttributes::Attributes);
|
|
|
|
if (UE::Anim::IAnimRootMotionProvider::Get())
|
|
{
|
|
OutAttributes.Add(UE::Anim::IAnimRootMotionProvider::AttributeName);
|
|
}
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE
|