UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimSyncScope.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"
9
12
13namespace UE { namespace Anim {
14
15// Debug info for a sync group scope request
30
31// Scoped graph message used to synchronize animations at various points in an anim graph
33{
35
36public:
37 ENGINE_API FAnimSyncGroupScope(const FAnimationBaseContext& InContext, FName InSyncGroup = NAME_None, EAnimGroupRole::Type InGroupRole = EAnimGroupRole::CanBeLeader);
38
39 // Adds a tick record in the list for the correct group or the ungrouped array.
41
42 // Set a mirror table that any tick records added to the group will use
43 ENGINE_API void SetMirror(const UMirrorDataTable* MirrorDataTable);
44
45private:
46 // The node ID that was used when this scope was entered
47 int32 NodeId;
48
49 // The proxy that we are running
50 FAnimInstanceProxy& Proxy;
51
52 // The outer proxy, if any, to forward tick records to
53 FAnimInstanceProxy* OuterProxy;
54
55 // The sync group that this scope uses.
56 FName SyncGroup;
57
58 // The role assumed by the specified sync group
59 EAnimGroupRole::Type GroupRole;
60};
61
62}} // namespace UE::Anim
#define DECLARE_ANIMGRAPH_MESSAGE_API(ClassName, ModuleApi)
Definition AnimNodeMessages.h:23
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NameTypes.h:617
Definition AnimSyncScope.h:33
ENGINE_API void SetMirror(const UMirrorDataTable *MirrorDataTable)
Definition AnimSyncScope.cpp:75
ENGINE_API void AddTickRecord(const FAnimTickRecord &InTickRecord, const FAnimSyncParams &InSyncParams=FAnimSyncParams(), const FAnimSyncDebugInfo &InDebugInfo=FAnimSyncDebugInfo())
Definition AnimSyncScope.cpp:31
Definition AnimNodeMessages.h:81
Definition MirrorDataTable.h:102
Definition AdvancedWidgetsModule.cpp:13
Definition AnimInstanceProxy.h:144
Definition AnimationAsset.h:411
Definition AnimNodeBase.h:159
Definition AnimSyncScope.h:17
int32 SourceNodeId
Definition AnimSyncScope.h:28
FAnimInstanceProxy * SourceProxy
Definition AnimSyncScope.h:27
FAnimSyncDebugInfo(FAnimInstanceProxy &InSourceProxy, int32 InSourceNodeId)
Definition AnimSyncScope.h:22
Definition AnimSync.h:18