Navigation
API > API/Runtime > API/Runtime/MovieSceneTracks
System that maintains a FScopedMovementUpdate for any USceneComponent that has an animated transform or attachment for the duration of the evaluation to avoid repeatedly updating child transforms and/or overlaps.
This system can be enabled/disabled using the cvar Sequencer.DeferMovementUpdates (is disabled by default) Output logging options are controlled by Sequencer.OutputDeferredMovementMode which is useful for tracking how many components are being moved in any given frame.
This system runs in the Initialization and Evaluaion phases: Initialization: Gathers and initializes deferred movement for any AttachParent components that need (un)link Evaluation: Gathers and initializes deferred movement for any Component Transforms; queues up an event trigger to be executed at the end of the phase Finalization: Applys all pending movement updates in reverse order
| Name | UMovieSceneDeferredComponentMovementSystem |
| Type | class |
| Header File | /Engine/Source/Runtime/MovieSceneTracks/Public/Systems/MovieSceneDeferredComponentMovementSystem.h |
| Include Path | #include "Systems/MovieSceneDeferredComponentMovementSystem.h" |
Syntax
UCLASS (MinimalAPI)
class UMovieSceneDeferredComponentMovementSystem : public UMovieSceneEntitySystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieSceneEntitySystem → UMovieSceneDeferredComponentMovementSystem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieSceneDeferredComponentMovementSystem
(
const FObjectInitializer& ObjInit |
Systems/MovieSceneDeferredComponentMovementSystem.h |
Structs
| Name | Remarks |
|---|---|
| FScopedMovementUpdateContainer | Struct that allows us to use FScopedMovementUpdate on the heap |
| FScopedSequencerMovementUpdate | WARNING: FScopedMovementUpdate is very specifically designed with strict ordering constraints on its constructor and destructor. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ScopedUpdates | TChunkedArray< TOptional< FScopedMovementUpdateContainer >, 8192 > | Chunked array of movement updates to ensure that once allocated, a movement update's address can never change | Systems/MovieSceneDeferredComponentMovementSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DeferMovementUpdates
(
USceneComponent* InComponent |
Request that movement updates for the specified component be deferred until the end of the evaluation | Systems/MovieSceneDeferredComponentMovementSystem.h |