UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelSequenceAnimSequenceLink.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "Containers/Array.h"
6#include "Misc/Guid.h"
7#include "UObject/Object.h"
11#include "Animation/AnimTypes.h"
12#include "Curves/RealCurve.h"
13#include "LevelSequenceAnimSequenceLink.generated.h"
14
15class UAnimSequence;
16class UObject;
17
19USTRUCT(BlueprintType)
21{
23
24public:
25 UPROPERTY(BlueprintReadWrite, Category = Property)
26 FGuid SkelTrackGuid;
27
28 UPROPERTY(BlueprintReadWrite, Category = Property)
29 FSoftObjectPath PathToAnimSequence;
30
31 //From Editor Only UAnimSeqExportOption we cache this since we can re-import dynamically
32 UPROPERTY(BlueprintReadWrite, Category = Property)
33 bool bExportTransforms = true;
34 UPROPERTY(BlueprintReadWrite, Category = Property)
35 bool bExportMorphTargets = true;
36 UPROPERTY(BlueprintReadWrite, Category = Property)
37 bool bExportAttributeCurves = true;
38 UPROPERTY(BlueprintReadWrite, Category = Property)
39 bool bExportMaterialCurves = true;
40 UPROPERTY(BlueprintReadWrite, Category = Property);
42 UPROPERTY(BlueprintReadWrite, Category = Property);
44 UPROPERTY(BlueprintReadWrite, Category = Property)
45 bool bRecordInWorldSpace = false;
46 UPROPERTY(BlueprintReadWrite, Category = Property)
47 bool bEvaluateAllSkeletalMeshComponents = true;
48
50 UPROPERTY(BlueprintReadWrite, Category = Property);
51 TArray<FString> IncludeAnimationNames;
53 UPROPERTY(BlueprintReadWrite, Category = Property);
54 TArray<FString> ExcludeAnimationNames;
56 UPROPERTY(BlueprintReadWrite, Category = Property);
57 FFrameNumber WarmUpFrames = 0;
59 UPROPERTY(BlueprintReadWrite, AdvancedDisplay, Category = Property);
60 FFrameNumber DelayBeforeStart = 0;
62 UPROPERTY(BlueprintReadWrite, Category = Property)
63 bool bUseCustomTimeRange = false;
65 UPROPERTY(BlueprintReadWrite, meta = (EditCondition = bUseCustomTimeRange), Category = Property)
66 FFrameNumber CustomStartFrame = 0;
68 UPROPERTY(BlueprintReadWrite, meta = (EditCondition = bUseCustomTimeRange), Category = Property)
69 FFrameNumber CustomEndFrame = 120;
71 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (EditCondition = bUseCustomTimeRange), Category = Property)
72 FFrameRate CustomDisplayRate = FFrameRate(30, 1);
73
75 UPROPERTY(BlueprintReadWrite, Category = Property)
76 bool bUseCustomFrameRate = false;
77
79 UPROPERTY(BlueprintReadWrite, meta = (EditCondition = bUseCustomFrameRate), Category = Property)
80 FFrameRate CustomFrameRate = FFrameRate(30, 1);
81
82 LEVELSEQUENCE_API void SetAnimSequence(UAnimSequence* InAnimSequence);
83 LEVELSEQUENCE_API UAnimSequence* ResolveAnimSequence();
84
88 )
89 {
90 if (InSkelTrackGuid == SkelTrackGuid)
91 {
92 if (bUseCustomTimeRange == bInUseCustomTimeRange)
93 {
94 if (bUseCustomTimeRange == false || (InCustomStartFrame == CustomStartFrame &&
95 InCustomEndFrame == CustomEndFrame && InCustomDisplayRate == CustomDisplayRate))
96 {
97 if (bUseCustomFrameRate == bInUseCustomFrameRate)
98 {
99 if (bUseCustomFrameRate == false || (InCustomFrameRate == CustomFrameRate))
100 {
101 return true;
102 }
103 }
104 }
105 }
106 }
107 return false;
108 }
109};
110
112UCLASS(BlueprintType, MinimalAPI)
114{
116
117public:
118 virtual bool IsEditorOnly() const override { return true; }
119
120 UPROPERTY(BlueprintReadWrite, Category = Links)
122};
EAnimInterpolationType
Definition AnimTypes.h:689
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
ERichCurveInterpMode
Definition RealCurve.h:13
Definition Array.h:670
Definition EnumAsByte.h:22
Definition AnimSequence.h:203
Definition AssetUserData.h:18
Definition Object.h:95
@ false
Definition radaudio_common.h:23
Definition FrameNumber.h:18
Definition FrameRate.h:21
Definition Guid.h:109
Definition LevelSequenceAnimSequenceLink.h:21
Definition SoftObjectPath.h:56