UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimBlendDebugScope.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
AnimNodeMessages.h
"
7
8
struct
FAnimationBaseContext
;
9
10
namespace
UE
{
namespace
Anim {
11
12
// Scoped graph message used to synchronize animations at various points in an anim graph
13
class
FAnimBlendDebugScope
:
public
IGraphMessage
14
{
15
DECLARE_ANIMGRAPH_MESSAGE_API
(
FAnimBlendDebugScope
,
ENGINE_API
);
16
17
public
:
18
ENGINE_API
FAnimBlendDebugScope
(
const
FAnimationBaseContext
&
InContext
,
const
int32
&
InBlendIndex
=
INDEX_NONE
,
const
int32
&
InNumBlends
= 0,
const
FColor
&
InDebugColor
=
FColor::Black
);
19
20
// The index for this anim, if any
21
int32
BlendIndex
=
INDEX_NONE
;
22
23
// Number of current blends, if any
24
int32
NumBlends
= 0;
25
26
// A color used to identify this anim
27
FColor
DebugColor
=
FColor::Black
;
28
29
private
:
30
// The node ID that was used when this scope was entered
31
int32
NodeId;
32
33
};
34
35
}}
// namespace UE::Anim
AnimNodeMessages.h
DECLARE_ANIMGRAPH_MESSAGE_API
#define DECLARE_ANIMGRAPH_MESSAGE_API(ClassName, ModuleApi)
Definition
AnimNodeMessages.h:23
CoreMinimal.h
INDEX_NONE
@ INDEX_NONE
Definition
CoreMiscDefines.h:150
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
UE::Anim::FAnimBlendDebugScope
Definition
AnimBlendDebugScope.h:14
UE::Anim::FAnimBlendDebugScope::BlendIndex
int32 BlendIndex
Definition
AnimBlendDebugScope.h:21
UE::Anim::FAnimBlendDebugScope::NumBlends
int32 NumBlends
Definition
AnimBlendDebugScope.h:24
UE::Anim::FAnimBlendDebugScope::DebugColor
FColor DebugColor
Definition
AnimBlendDebugScope.h:27
UE::Anim::IGraphMessage
Definition
AnimNodeMessages.h:81
UE
Definition
AdvancedWidgetsModule.cpp:13
FAnimationBaseContext
Definition
AnimNodeBase.h:159
FColor
Definition
Color.h:486
FColor::Black
static CORE_API const FColor Black
Definition
Color.h:750
Engine
Source
Runtime
Engine
Public
Animation
AnimBlendDebugScope.h
Generated by
1.9.8