UMovieSceneTrackRecorder

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

TakeTrackRecorders

Header

/Engine/Plugins/VirtualProduction/Takes/Source/TakeTrackRecorders/Public/TrackRecorders/MovieSceneTrackRecorder.h

Include

#include "TrackRecorders/MovieSceneTrackRecorder.h"

Syntax

UCLASS(BlueprintType, Transient, Abstract)
class UMovieSceneTrackRecorder : public UObject

Variables

Name Description

Protected variable

TWeakObjectPtr<...

 

MovieScene

Movie Scene we're supposed to record to

Protected variable

FGuid

 

ObjectGuid

Owning Object GUID in the Level Sequence

Protected variable

TLazyObjectPtr<...

 

ObjectToRecord

Object to record from

Protected variable

IMovieSceneTrac...

 

OwningTakeRecorderSource

The Actor Source that owns us

Protected variable

TWeakObjectPtr<...

 

Settings

Settings object for the factory that created us.

Protected variable

FMovieSceneTime...

 

StartTimecode

The timecode source at the beginning of recording

Functions

Name Description

Public function

void

 

CreateTrack

(
    IMovieSceneTrackRecorderHost* ...,
    UObject* InObjectToRecord,
    UMovieScene* InMovieScene,
    UMovieSceneTrackRecorderSettings&#...,
    const FGuid& InObjectGuid
)

CreateTrack is called during PreRecording and should perform any clean up of old data, allocate new tracks if needed and create sections that start at a time of zero.

Protected function Virtual

void

 

CreateTrackImpl()

Public function

void

 

FinalizeTrack()

This is called after recording has finished for each track.

Protected function Virtual

void

 

FinalizeTrackImpl()

Protected function Virtual Const

UMovieSceneS...

 

GetMovieSceneSection()

Public function Const

UObject *...

 

GetSourceObject()

Public function

UMovieSceneT...

 

GetTrackRecorderSettings()

Public function

void

 

InvalidateObjectToRecord()

Public function Virtual

bool

 

LoadRecordedFile

(
    const FString& InFileName,
    UMovieScene* InMovieScene,
    TMap< FGuid, AActor* >& Actor...,
    TFunction< void()> InCompletionCall...
)

Load the recorded file and create a section

Public function

void

 

RecordSample

(
    const FQualifiedFrameTime& Current...
)

This is called each frame and specifies the qualified time that the sampled data should be recorded at.

Protected function Virtual

void

 

RecordSampleImpl

(
    const FQualifiedFrameTime& Current...
)

Public function Virtual

void

 

SetSavedRecordingDirectory

(
    const FString& InDirectory
)

Set the directory where the recorded values are saved

Public function

void

 

SetSectionStartTimecode

(
    const FTimecode& InSectionStartTim...,
    const FFrameNumber& InSectionFirst...
)

This is called when Recording actually starts happening.

Protected function Virtual

void

 

SetSectionStartTimecodeImpl

(
    const FTimecode& InSectionStartTim...,
    const FFrameNumber& InSectionFirst...
)

Public function

void

 

StopRecording()

This is called when the user presses StopRecording.

Protected function Virtual

void

 

StopRecordingImpl()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback