UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimInertializationRequest.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 "AlphaBlend.h" // Required for EAlphaBlendOption
7
8#include "AnimInertializationRequest.generated.h"
9
10class UBlendProfile;
11class UCurveFloat;
12
13USTRUCT()
15{
17
20
21 // Note: We need to explicitly disable warnings on these constructors/operators for clang to be happy with deprecated variables
29
30 ENGINE_API void Clear();
31
32 // Comparison operator used to test for equality in the array of animation requests to that
33 // only unique requests are added. This does not take into account the properties that are
34 // used only for debugging and only used when ANIM_TRACE_ENABLED
36 {
37 return
38 (A.Duration == B.Duration) &&
39 (A.BlendProfile == B.BlendProfile) &&
40 (A.bUseBlendMode == B.bUseBlendMode) &&
41 (A.BlendMode == B.BlendMode) &&
42 (A.CustomBlendCurve == B.CustomBlendCurve) &&
43 (A.Tag == B.Tag);
44 }
45
47 {
48 return !(A == B);
49 }
50
51 // Blend duration of the inertialization request.
53 float Duration = -1.0f;
54
55 // Blend profile to control per-joint blend times.
57 TObjectPtr<const UBlendProfile> BlendProfile = nullptr;
58
59 // If to use the provided blend mode.
61 bool bUseBlendMode = false;
62
63 // Blend mode to use.
66
67 // Custom blend curve to use when use of the blend mode is active.
69 TObjectPtr<UCurveFloat> CustomBlendCurve = nullptr;
70
71 // Inertialization / Dead blend node tag to force a particular node to handle the request.
74
75// if ANIM_TRACE_ENABLED - these properties are only used for debugging when ANIM_TRACE_ENABLED == 1
76
77 UE_DEPRECATED(5.4, "Use DescriptionString instead.")
78 UPROPERTY(Transient, meta = (DeprecatedProperty, DeprecationMessage = "Use DescriptionString instead."))
79 FText Description_DEPRECATED;
80
81 // Description of the request
83 FString DescriptionString;
84
85 // Node id from which this request was made.
87 int32 NodeId = INDEX_NONE;
88
89 // Anim instance from which this request was made.
92
93// endif ANIM_TRACE_ENABLED
94};
EAlphaBlendOption
Definition AlphaBlend.h:13
@ 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
#define PRAGMA_ENABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:12
#define PRAGMA_DISABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:8
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define USTRUCT(...)
Definition ObjectMacros.h:746
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
Definition NameTypes.h:617
Definition UnrealType.h:3087
Definition Text.h:385
Definition BlendProfile.h:132
Definition CurveFloat.h:31
Definition Object.h:95
@ false
Definition radaudio_common.h:23
Definition AnimInertializationRequest.h:15
friend bool operator!=(const FInertializationRequest &A, const FInertializationRequest &B)
Definition AnimInertializationRequest.h:46
Definition ObjectPtr.h:488