UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_RotationOffsetBlendSpaceGraph.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_RotationOffsetBlendSpaceGraph.generated.h"
9
10// Allows multiple animations to be blended between based on input parameters
11USTRUCT(BlueprintInternalUseOnly)
13{
15
16 friend class UAnimGraphNode_RotationOffsetBlendSpaceGraph;
18 friend struct FAnimGraphNodeAlphaOptions;
19
20 // @return the sync group that this blendspace uses
21 FName GetGroupName() const { return GroupName; }
22
23private:
24 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Links, meta = (AllowPrivateAccess))
25 FPoseLink BasePose;
26
27 /*
28 * Max LOD that this node is allowed to run
29 * For example if you have LODThreshold to be 2, it will run until LOD 2 (based on 0 index)
30 * when the component LOD becomes 3, it will stop update/evaluate
31 * currently transition would be issue and that has to be re-visited
32 */
33 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Performance, meta = (DisplayName = "LOD Threshold", AllowPrivateAccess))
34 int32 LODThreshold = INDEX_NONE;
35
36 // Current strength of the AimOffset
37 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (PinShownByDefault, AllowPrivateAccess))
38 float Alpha = 1.0f;
39
40 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (AllowPrivateAccess))
41 FInputScaleBias AlphaScaleBias;
42
43 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (DisplayName = "Blend Settings", AllowPrivateAccess))
44 FInputAlphaBoolBlend AlphaBoolBlend;
45
46 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (PinShownByDefault, AllowPrivateAccess))
47 FName AlphaCurveName = NAME_None;
48
49 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (AllowPrivateAccess))
50 FInputScaleBiasClamp AlphaScaleBiasClamp;
51
52 float ActualAlpha = 0.0f;
53
54 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (AllowPrivateAccess))
55 EAnimAlphaInputType AlphaInputType = EAnimAlphaInputType::Float;
56
57 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Alpha, meta = (PinShownByDefault, DisplayName = "bEnabled", DisplayAfter = "AlphaScaleBias", AllowPrivateAccess))
58 bool bAlphaBoolEnabled = false;
59
60 bool bIsLODEnabled = false;
61
62private:
63 // FAnimNode_Base interface
64 ANIMGRAPHRUNTIME_API virtual void Initialize_AnyThread(const FAnimationInitializeContext& Context) override;
65 ANIMGRAPHRUNTIME_API virtual void CacheBones_AnyThread(const FAnimationCacheBonesContext& Context) override;
66 ANIMGRAPHRUNTIME_API virtual void Update_AnyThread(const FAnimationUpdateContext& Context) override;
67 ANIMGRAPHRUNTIME_API virtual void Evaluate_AnyThread(FPoseContext& Output) override;
68 ANIMGRAPHRUNTIME_API virtual void GatherDebugData(FNodeDebugData& DebugData) override;
69 virtual int32 GetLODThreshold() const override { return LODThreshold; }
70 // End of FAnimNode_Base interface
71};
@ 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
EAnimAlphaInputType
Definition InputScaleBias.h:278
#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 AnimNodeAlphaOptions.h:14
Definition AnimNode_BlendSpaceGraphBase.h:16
Definition AnimNode_RotationOffsetBlendSpaceGraph.h:13
Definition AnimNodeBase.h:337
Definition AnimNodeBase.h:324
Definition AnimNodeBase.h:354
Definition InputScaleBias.h:286
Definition InputScaleBias.h:74
Definition InputScaleBias.h:15
Definition AnimNodeBase.h:642
Definition AnimNodeBase.h:479