Files
daniel holden e7a99d3aaf Blend space support for Motion Matching
#rb braeden.shosa, thomas.sarkanen, timothy.daoust, aaron.cox
#jira UE-133724
#preflight 62348d933f685c2b421e9c39

[CL 19435264 by daniel holden in ue5-main branch]
2022-03-18 10:45:08 -04:00

34 lines
1.0 KiB
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimTrace.h"
#if ANIM_TRACE_ENABLED
struct FAnimationBaseContext;
struct FAnimNode_BlendSpacePlayerBase;
struct FAnimNode_BlendSpaceGraphBase;
struct FAnimGraphRuntimeTrace
{
/** Helper function to output debug info for blendspace player nodes */
ANIMGRAPHRUNTIME_API static void OutputBlendSpacePlayer(const FAnimationBaseContext& InContext, const FAnimNode_BlendSpacePlayerBase& InNode);
/** Helper function to output debug info for blendspace nodes */
ANIMGRAPHRUNTIME_API static void OutputBlendSpace(const FAnimationBaseContext& InContext, const FAnimNode_BlendSpaceGraphBase& InNode);
};
#define TRACE_BLENDSPACE_PLAYER(Context, Node) \
FAnimGraphRuntimeTrace::OutputBlendSpacePlayer(Context, Node);
#define TRACE_BLENDSPACE(Context, Node) \
FAnimGraphRuntimeTrace::OutputBlendSpace(Context, Node);
#else
#define TRACE_BLENDSPACE_PLAYER(Context, Node)
#define TRACE_BLENDSPACE(Context, Node)
#endif