UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_Sync.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"
8#include "AnimNode_Sync.generated.h"
9
10USTRUCT(BlueprintInternalUseOnly)
12{
14
15 friend class UAnimGraphNode_Sync;
16
17public:
18 // Get the group name that we synchronize with
19 FName GetGroupName() const { return GroupName; }
20
21private:
22 UPROPERTY(EditAnywhere, Category = Links)
23 FPoseLink Source;
24
25 // The group name that we synchronize with (NAME_None if it is not part of any group).
26 UPROPERTY(EditAnywhere, Category = Settings)
27 FName GroupName;
28
29 // The role this animation can assume within the group (ignored if GroupName is not set)
30 UPROPERTY(EditAnywhere, Category = Settings)
31 TEnumAsByte<EAnimGroupRole::Type> GroupRole = EAnimGroupRole::CanBeLeader;
32
33private:
34 // FAnimNode_Base
35 ANIMGRAPHRUNTIME_API virtual void Initialize_AnyThread(const FAnimationInitializeContext& Context) override;
36 ANIMGRAPHRUNTIME_API virtual void Update_AnyThread(const FAnimationUpdateContext& Context) override;
37 ANIMGRAPHRUNTIME_API virtual void CacheBones_AnyThread(const FAnimationCacheBonesContext& Context) override;
38 ANIMGRAPHRUNTIME_API virtual void Evaluate_AnyThread(FPoseContext& Output) override;
39 ANIMGRAPHRUNTIME_API virtual void GatherDebugData(FNodeDebugData& DebugData) override;
40};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition NameTypes.h:617
Definition EnumAsByte.h:22
Definition AnimNodeBase.h:853
Definition AnimNode_Sync.h:12
Definition AnimNodeBase.h:337
Definition AnimNodeBase.h:324
Definition AnimNodeBase.h:354
Definition AnimNodeBase.h:642
Definition AnimNodeBase.h:479