Module |
|
Header |
/Engine/Plugins/VirtualProduction/Takes/Source/TakesCore/Public/TakeRecorderSource.h |
Include |
#include "TakeRecorderSource.h" |
Source |
/Engine/Plugins/VirtualProduction/Takes/Source/TakesCore/Private/TakeRecorderSource.cpp |
virtual TArray< UTakeRecorderSource * > PreRecording
(
ULevelSequence * InSequence,
FMovieSceneSequenceID InSequenceID,
ULevelSequence * InMasterSequence,
FManifestSerializer * InManifestSerializer
)
This is called on all sources before recording is started. This allows a source to return a list of new sources that should be added to the recording. This is useful for abstract sources (such as "Player" or "World Settings") which are convenience wrappers for existing sources (such as a Actor Source). In these cases, these abstract sources simply do their logic to find out which new sources need to be made and then return them. These new sources only need to exist for the lifespan of a single UTakeRecorderSources recording.
Do any computationally expensive work in this function (as opposed to StartRecording) so that all sources can have StartRecording called as closely as possible to each other. See StartRecording for more details.
Will not be called if this recording source is not enabled.
An array of newly created take recorder sources. Can be an empty list if no additional sources needed to be created by this source.
Parameter |
Description |
---|---|
InSequence |
The Level Sequence the take is being recorded into |
InSequenceID |
The sequence ID for InSequence, or MovieSceneSequenceID::Root where InSequence == InMasterSequence (ie, not sub-sequence recording) |
InMasterSequence |
The Master Level Sequence that may contain the InSequence as a child or if no subsequences, is the same as InSequence. |
InManifestSerializer |
Manifest Serializer that we may write into. |