2020-01-07 17:07:47 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-12-13 11:07:03 -05:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Animation/AnimTrace.h"
|
|
|
|
|
|
|
|
|
|
#if ANIM_TRACE_ENABLED
|
|
|
|
|
|
|
|
|
|
struct FAnimationBaseContext;
|
2022-03-18 10:45:08 -04:00
|
|
|
struct FAnimNode_BlendSpacePlayerBase;
|
2021-01-25 08:43:19 -04:00
|
|
|
struct FAnimNode_BlendSpaceGraphBase;
|
2019-12-13 11:07:03 -05:00
|
|
|
|
|
|
|
|
struct FAnimGraphRuntimeTrace
|
|
|
|
|
{
|
|
|
|
|
/** Helper function to output debug info for blendspace player nodes */
|
2022-03-18 10:45:08 -04:00
|
|
|
ANIMGRAPHRUNTIME_API static void OutputBlendSpacePlayer(const FAnimationBaseContext& InContext, const FAnimNode_BlendSpacePlayerBase& InNode);
|
2021-01-25 08:43:19 -04:00
|
|
|
|
|
|
|
|
/** Helper function to output debug info for blendspace nodes */
|
|
|
|
|
ANIMGRAPHRUNTIME_API static void OutputBlendSpace(const FAnimationBaseContext& InContext, const FAnimNode_BlendSpaceGraphBase& InNode);
|
2019-12-13 11:07:03 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#define TRACE_BLENDSPACE_PLAYER(Context, Node) \
|
|
|
|
|
FAnimGraphRuntimeTrace::OutputBlendSpacePlayer(Context, Node);
|
|
|
|
|
|
2021-01-25 08:43:19 -04:00
|
|
|
#define TRACE_BLENDSPACE(Context, Node) \
|
|
|
|
|
FAnimGraphRuntimeTrace::OutputBlendSpace(Context, Node);
|
|
|
|
|
|
2019-12-13 11:07:03 -05:00
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
#define TRACE_BLENDSPACE_PLAYER(Context, Node)
|
2021-01-25 08:43:19 -04:00
|
|
|
#define TRACE_BLENDSPACE(Context, Node)
|
2019-12-13 11:07:03 -05:00
|
|
|
|
|
|
|
|
#endif
|