Files
UnrealEngineUWP/Engine/Source/Runtime/AnimGraphRuntime/Private/AnimNodes/AnimNode_Root.cpp
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

41 lines
927 B
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "AnimGraphRuntimePrivatePCH.h"
#include "AnimNodes/AnimNode_Root.h"
/////////////////////////////////////////////////////
// FAnimNode_Root
FAnimNode_Root::FAnimNode_Root()
{
}
void FAnimNode_Root::Initialize(const FAnimationInitializeContext& Context)
{
FAnimNode_Base::Initialize(Context);
Result.Initialize(Context);
}
void FAnimNode_Root::CacheBones(const FAnimationCacheBonesContext& Context)
{
Result.CacheBones(Context);
}
void FAnimNode_Root::Update(const FAnimationUpdateContext& Context)
{
EvaluateGraphExposedInputs.Execute(Context);
Result.Update(Context);
}
void FAnimNode_Root::Evaluate(FPoseContext& Output)
{
Result.Evaluate(Output);
}
void FAnimNode_Root::GatherDebugData(FNodeDebugData& DebugData)
{
FString DebugLine = DebugData.GetNodeName(this);
DebugData.AddDebugItem(DebugLine);
Result.GatherDebugData(DebugData);
}