You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
41 lines
943 B
C++
41 lines
943 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AnimNodes/AnimNode_Root.h"
|
|
|
|
/////////////////////////////////////////////////////
|
|
// FAnimNode_Root
|
|
|
|
FAnimNode_Root::FAnimNode_Root()
|
|
{
|
|
}
|
|
|
|
void FAnimNode_Root::Initialize_AnyThread(const FAnimationInitializeContext& Context)
|
|
{
|
|
FAnimNode_Base::Initialize_AnyThread(Context);
|
|
|
|
Result.Initialize(Context);
|
|
}
|
|
|
|
void FAnimNode_Root::CacheBones_AnyThread(const FAnimationCacheBonesContext& Context)
|
|
{
|
|
Result.CacheBones(Context);
|
|
}
|
|
|
|
void FAnimNode_Root::Update_AnyThread(const FAnimationUpdateContext& Context)
|
|
{
|
|
GetEvaluateGraphExposedInputs().Execute(Context);
|
|
Result.Update(Context);
|
|
}
|
|
|
|
void FAnimNode_Root::Evaluate_AnyThread(FPoseContext& Output)
|
|
{
|
|
Result.Evaluate(Output);
|
|
}
|
|
|
|
void FAnimNode_Root::GatherDebugData(FNodeDebugData& DebugData)
|
|
{
|
|
FString DebugLine = DebugData.GetNodeName(this);
|
|
DebugData.AddDebugItem(DebugLine);
|
|
Result.GatherDebugData(DebugData);
|
|
}
|