Guest User

Untitled

a guest
Apr 1st, 2016
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #include "AnimNodeTestPrivatePCH.h"
  3. #include "AnimNode_TranslateWith.h"
  4.  
  5. /////////////////////////////////////////////////////
  6. // FAnimNode_TranslateWith
  7.  
  8. FAnimNode_TranslateWith::FAnimNode_TranslateWith()
  9. {
  10. }
  11.  
  12. void FAnimNode_TranslateWith::Initialize(const FAnimationInitializeContext& Context)
  13. {
  14.     FAnimNode_Base::Initialize(Context);
  15.  
  16.     Result.Initialize(Context);
  17. }
  18.  
  19. void FAnimNode_TranslateWith::CacheBones(const FAnimationCacheBonesContext& Context)
  20. {
  21.     Result.CacheBones(Context);
  22. }
  23.  
  24. void FAnimNode_TranslateWith::Update(const FAnimationUpdateContext& Context)
  25. {
  26.     EvaluateGraphExposedInputs.Execute(Context);
  27.     Result.Update(Context);
  28. }
  29.  
  30. void FAnimNode_TranslateWith::Evaluate(FPoseContext& Output)
  31. {
  32.     Result.Evaluate(Output);
  33. }
  34.  
  35. void FAnimNode_TranslateWith::GatherDebugData(FNodeDebugData& DebugData)
  36. {
  37.     FString DebugLine = DebugData.GetNodeName(this);
  38.     DebugData.AddDebugItem(DebugLine);
  39.     Result.GatherDebugData(DebugData);
  40. }
RAW Paste Data