Navigation
Unreal Engine C++ API Reference > Runtime > MovieSceneCapture
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneCaptureProtocolBase
- UMovieSceneAudioCaptureProtocolBase
- UMasterAudioSubmixCaptureProtocol
- UNullAudioCaptureProtocol
- UMovieSceneImageCaptureProtocolBase
- UAjaFrameGrabberProtocol
- UCompositionGraphCaptureProtocol
- UFrameGrabberProtocol
- UImageSequenceProtocol
- UCompressedImageSequenceProtocol
- UImageSequenceProtocol_JPG
- UImageSequenceProtocol_PNG
- UImageSequenceProtocol_BMP
- UImageSequenceProtocol_EXR
- UVideoCaptureProtocol
- UUserDefinedCaptureProtocol
- UUserDefinedImageCaptureProtocol
References
Module | MovieSceneCapture |
Header | /Engine/Source/Runtime/MovieSceneCapture/Public/MovieSceneCaptureProtocolBase.h |
Include | #include "MovieSceneCaptureProtocolBase.h" |
Syntax
class UMovieSceneCaptureProtocolBase : public UObject
Remarks
A capture protocol responsible for dealing with captured frames using some custom method (writing out to disk, streaming, etc)
A typical process for capture consits of the following process: Setup -> [ Warm up -> [ Capture Frame ] ] -> Begin Finalize -> [ HasFinishedProcessing ] -> Finalize
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
const ICaptureProtocolHost * | CaptureHost | The capture host that is owns this protocol |
![]() |
TOptional< FCaptureProtocolInitSettings > | InitSettings | Initialization settings |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMovieSceneCaptureProtocolBase
(
const FObjectInitializer& ObjInit |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddFormatMappings
(
TMap< FString, FStringFormatArg >& FormatMappings |
Called when generating formatting filename to add any additional format mappings |
![]() ![]() ![]() |
void | AddFormatMappingsImpl
(
TMap< FString, FStringFormatArg >& FormatMappings |
Called when generating formatting filename to add any additional format mappings |
![]() |
void | Called when we have finished capturing and we should start finalizing the capture | |
![]() ![]() |
void | Called when we have finished capturing and we should start finalizing the capture | |
![]() ![]() |
bool | CanWriteToFile
(
const TCHAR* InFilename, |
Test whether this capture protocol thinks the file should be written to. |
![]() ![]() ![]() |
bool | CanWriteToFileImpl
(
const TCHAR* InFilename, |
Test whether this capture protocol thinks the file should be written to. |
![]() |
void | CaptureFrame
(
const FFrameMetrics& FrameMetrics |
Instruct this protocol to capture a frame relating to the specified metrics |
![]() ![]() |
void | CaptureFrameImpl
(
const FFrameMetrics& FrameMetrics |
Instruct this protocol to capture a frame relating to the specified metrics |
![]() ![]() |
void | EnsureFileWritableImpl
(
const FString& File |
|
![]() |
void | Finalize () |
Called when this protocol should tear down and finalize all its processing. |
![]() ![]() |
void | FinalizeImpl () |
Called when we have finished capturing |
![]() ![]() ![]() |
FString | GenerateFilenameImpl
(
const FFrameMetrics& FrameMetrics, |
|
![]() ![]() |
EMovieSceneCaptureProtocolState | GetState () |
Get the current state of this capture protocol |
![]() ![]() ![]() |
UWorld * | GetWorld () |
Get the UWorld associated with this Capture Protocol. |
![]() ![]() |
bool | Check whether this protocol has any processing left to do, or whether it should be finalized. | |
![]() ![]() ![]() |
bool | Check whether this protocol has any processing left to do, or whether it should be finalized. | |
![]() ![]() |
bool | IsCapturing () |
Check whether we can capture a frame from this protocol |
![]() |
void | OnLoadConfig
(
FMovieSceneCaptureSettings& InSettings |
Called when this protocol has been loaded |
![]() ![]() |
void | OnLoadConfigImpl
(
FMovieSceneCaptureSettings& InSettings |
Called when this protocol has been loaded |
![]() |
void | OnReleaseConfig
(
FMovieSceneCaptureSettings& InSettings |
Called when this protocol has been released |
![]() ![]() |
void | OnReleaseConfigImpl
(
FMovieSceneCaptureSettings& InSettings |
Called when this protocol has been released |
![]() ![]() |
void | Pause capturing | |
![]() |
void | PreTick () |
Called on the main thread before the movie capture itself is updated to reset per-frame state |
![]() ![]() |
void | PreTickImpl () |
Called on the main thread before the movie capture itself is updated to reset per-frame state |
![]() |
bool | Setup
(
const FCaptureProtocolInitSettings& InSettings, |
Setup this capture protocol |
![]() ![]() |
bool | SetupImpl () |
Called once at the start of the capture process (before any warmup) to set up anything required for the capture. |
![]() |
bool | StartCapture () |
Called when this protocol should start capturing |
![]() ![]() |
bool | Start capturing | |
![]() |
void | Tick () |
Called on the main thread to do any additional processing |
![]() ![]() |
void | TickImpl () |
Called on the main thread to do any additional processing |
![]() |
void | WarmUp () |
Start warming up this capture protocol - called any time the process enters a warming-up state |
![]() ![]() |
void | WarmUpImpl () |
Start warming up this capture protocol |