UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MovieSceneComponentMobilitySystem.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
12
13#include "MovieSceneComponentMobilitySystem.generated.h"
14
15UCLASS(MinimalAPI)
19{
20public:
21
23
25
26private:
27
28 virtual bool IsRelevantImpl(UMovieSceneEntitySystemLinker* InLinker) const override;
29 virtual void OnLink() override final;
30 virtual void OnUnlink() override final;
31 virtual void OnRun(FSystemTaskPrerequisites& InPrerequisites, FSystemSubsequentTasks& Subsequents) override final;
32
33 //~ IMovieScenePreAnimatedStateSystemInterface interface
34 virtual void SavePreAnimatedState(const FPreAnimationParameters& InParameters) override;
35 virtual void RestorePreAnimatedState(const FPreAnimationParameters& InParameters) override;
36
37private:
38
40
42
44};
45
46
47namespace UE
48{
49namespace MovieScene
50{
51
52struct FPreAnimatedMobilityTraits : FBoundObjectPreAnimatedStateTraits
53{
54 using KeyType = FObjectKey;
55 using StorageType = EComponentMobility::Type;
56
57 void RestorePreAnimatedValue(const FObjectKey& InKey, EComponentMobility::Type Mobility, const FRestoreStateParams& Params);
58 EComponentMobility::Type CachePreAnimatedValue(UObject* InObject);
59};
60
61struct FPreAnimatedComponentMobilityStorage : TPreAnimatedStateStorage_ObjectTraits<FPreAnimatedMobilityTraits>
62{
63 static TAutoRegisterPreAnimatedStorageID<FPreAnimatedComponentMobilityStorage> StorageID;
64
65 FPreAnimatedStateEntry FindEntry(USceneComponent* InSceneComponent);
66 FPreAnimatedStateEntry MakeEntry(USceneComponent* InSceneComponent);
67};
68
69} // namespace MovieScene
70} // namespace UE
71
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition UObjectGlobals.h:1292
Definition MovieScenePreAnimatedStateSystem.h:35
Definition MovieScene.Build.cs:6
Definition Array.h:670
Definition MovieSceneComponentMobilitySystem.h:19
Definition MovieSceneEntityInstantiatorSystem.h:22
Definition MovieSceneEntitySystemLinker.h:113
Definition Object.h:95
Type
Definition EngineTypes.h:3789
std::conditional_t<(THasAddReferencedObjectForComponent< KeyType >::Value||...)||THasAddReferencedObjectForComponent< OutputType >::Value, TOverlappingEntityTracker_WithGarbage< OutputType, KeyType... >, TOverlappingEntityTracker_NoGarbage< OutputType, KeyType... > > TOverlappingEntityTracker
Definition MovieSceneOverlappingEntityTracker.h:678
Definition AdvancedWidgetsModule.cpp:13
Definition ObjectKey.h:19
Definition MovieScenePreAnimatedStateSystem.h:40
Definition MovieSceneEntitySystemTypes.h:295
Definition MovieSceneSystemTaskDependencies.h:98
Definition MovieSceneSystemTaskDependencies.h:29
FPreAnimatedStateEntry MakeEntry(UObject *BoundObject)
Definition MovieScenePreAnimatedObjectStorage.h:140
FPreAnimatedStateEntry FindEntry(KeyArgs &&... InKeyArgs)
Definition MovieScenePreAnimatedStateStorage.h:463