Files
henrik karlsson 562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00

39 lines
1.3 KiB
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Animation/AnimNodeBase.h"
#include "AnimNode_MakeDynamicAdditive.generated.h"
USTRUCT(BlueprintInternalUseOnly)
struct FAnimNode_MakeDynamicAdditive : public FAnimNode_Base
{
GENERATED_USTRUCT_BODY()
// Reference pose for additive delta calculation
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Links)
FPoseLink Base;
// Pose to make additive
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Links)
FPoseLink Additive;
// Do additive delta calculation in mesh space
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Settings)
bool bMeshSpaceAdditive;
public:
ANIMGRAPHRUNTIME_API FAnimNode_MakeDynamicAdditive();
// FAnimNode_Base interface
ANIMGRAPHRUNTIME_API virtual void Initialize_AnyThread(const FAnimationInitializeContext& Context) override;
ANIMGRAPHRUNTIME_API virtual void CacheBones_AnyThread(const FAnimationCacheBonesContext& Context) override;
ANIMGRAPHRUNTIME_API virtual void Update_AnyThread(const FAnimationUpdateContext& Context) override;
ANIMGRAPHRUNTIME_API virtual void Evaluate_AnyThread(FPoseContext& Output) override;
ANIMGRAPHRUNTIME_API virtual void GatherDebugData(FNodeDebugData& DebugData) override;
// End of FAnimNode_Base interface
};