Files
UnrealEngineUWP/Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_RefPose.h
Lina Halper bb3cbeb9d2 #ANIM: Moving available animnodes to AnimGraphRuntime module
[CL 2629295 by Lina Halper in Main branch]
2015-07-22 14:37:24 -04:00

47 lines
917 B
C

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Animation/AnimNodeBase.h"
#include "AnimNode_RefPose.generated.h"
UENUM()
enum ERefPoseType
{
EIT_LocalSpace,
EIT_Additive
};
// RefPose pose nodes - ref pose or additive RefPose pose
USTRUCT()
struct ANIMGRAPHRUNTIME_API FAnimNode_RefPose : public FAnimNode_Base
{
GENERATED_USTRUCT_BODY()
UPROPERTY()
TEnumAsByte<ERefPoseType> RefPoseType;
public:
FAnimNode_RefPose()
: FAnimNode_Base()
, RefPoseType(EIT_LocalSpace)
{
}
virtual void Evaluate(FPoseContext& Output) override;
virtual void GatherDebugData(FNodeDebugData& DebugData) override;
};
USTRUCT()
struct ANIMGRAPHRUNTIME_API FAnimNode_MeshSpaceRefPose : public FAnimNode_Base
{
GENERATED_USTRUCT_BODY()
public:
FAnimNode_MeshSpaceRefPose()
: FAnimNode_Base()
{
}
virtual void EvaluateComponentSpace(FComponentSpacePoseContext& Output);
};