UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MovieSceneDeferredComponentMovementSystem.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#include "Misc/Optional.h"
9#include "MovieSceneDeferredComponentMovementSystem.generated.h"
10
11class USceneComponent;
12
27UCLASS(MinimalAPI)
30{
31public:
32
34
36
38 MOVIESCENETRACKS_API void DeferMovementUpdates(USceneComponent* InComponent);
39
40private:
41
42 virtual void BeginDestroy() override;
43
44 virtual bool IsRelevantImpl(UMovieSceneEntitySystemLinker* InLinker) const override;
45 virtual void OnSchedulePersistentTasks(UE::MovieScene::IEntitySystemScheduler* TaskScheduler) override;
46 virtual void OnRun(FSystemTaskPrerequisites& InPrerequisites, FSystemSubsequentTasks& Subsequents) override;
47 virtual void OnUnlink() override final;
48
50 void ApplyMovementUpdates();
51
53 void OutputDeferredMovements();
54
56 void EnsureMovementsFlushed();
57
65 struct FScopedSequencerMovementUpdate : FScopedMovementUpdate
66 {
67 FScopedSequencerMovementUpdate(USceneComponent* Component) : FScopedMovementUpdate(Component) {}
68
69 void operator=(const FScopedSequencerMovementUpdate&) = delete;
70 FScopedSequencerMovementUpdate(const FScopedSequencerMovementUpdate&) = delete;
71
72 void operator=(FScopedSequencerMovementUpdate&&) = delete;
73 FScopedSequencerMovementUpdate(FScopedSequencerMovementUpdate&&) = delete;
74
75 USceneComponent* GetComponent() const;
76 };
77
79 struct FScopedMovementUpdateContainer
80 {
81 FScopedMovementUpdateContainer(USceneComponent* Component) : Value(Component) {}
82
83 FScopedSequencerMovementUpdate Value;
84 };
85
88};
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 ScopedMovementUpdate.h:56
Definition ChunkedArray.h:56
Definition IMovieSceneTaskScheduler.h:162
Definition MovieSceneDeferredComponentMovementSystem.h:30
Definition MovieSceneEntitySystemLinker.h:113
Definition MovieSceneEntitySystem.h:62
Definition MovieSceneSystemTaskDependencies.h:98
Definition MovieSceneSystemTaskDependencies.h:29