UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_PoseByName.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_PoseByName.generated.h"
9
10// Evaluates a point in an anim sequence, using a specific time input rather than advancing time internally.
11// Typically the playback position of the animation for this node will represent something other than time, like jump height.
12// This node will not trigger any notifies present in the associated sequence.
13USTRUCT(BlueprintInternalUseOnly)
15{
17public:
18 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Settings, meta = (PinHiddenByDefault))
19 FName PoseName;
20
21 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Settings, meta = (PinHiddenByDefault))
22 float PoseWeight;
23
26 FName CurrentPoseName;
27
28public:
30 : PoseWeight(1.f)
31 , CurrentPoseName(NAME_None)
32 {
33 }
34
35 // FAnimNode_Base interface
36 ANIMGRAPHRUNTIME_API virtual void Initialize_AnyThread(const FAnimationInitializeContext& Context) override;
37 ANIMGRAPHRUNTIME_API virtual void UpdateAssetPlayer(const FAnimationUpdateContext& Context) override;
38 ANIMGRAPHRUNTIME_API virtual void Evaluate_AnyThread(FPoseContext& Output) override;
39 ANIMGRAPHRUNTIME_API virtual void GatherDebugData(FNodeDebugData& DebugData) override;
40 // End of FAnimNode_Base interface
41private:
42 ANIMGRAPHRUNTIME_API virtual void RebuildPoseList(const FBoneContainer& InBoneContainer, const UPoseAsset* InPoseAsset) override;
43};
44
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 USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
Definition NameTypes.h:617
Definition PoseAsset.h:186
Definition AnimNode_PoseByName.h:15
Definition AnimNode_PoseHandler.h:17
Definition AnimNodeBase.h:324
Definition AnimNodeBase.h:354
Definition BoneContainer.h:192
Definition AnimNodeBase.h:642
Definition AnimNodeBase.h:479