Navigation
Unreal Engine C++ API Reference > Runtime > MovieSceneCapture
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneCapture
- UAutomatedLevelSequenceCapture
- ULevelCapture
References
Module | MovieSceneCapture |
Header | /Engine/Source/Runtime/MovieSceneCapture/Public/MovieSceneCapture.h |
Include | #include "MovieSceneCapture.h" |
Syntax
class UMovieSceneCapture :
public UObject,
public IMovieSceneCaptureInterface,
public ICaptureProtocolHost
Remarks
Class responsible for capturing scene data
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FString | AdditionalCommandLineArguments | Additional command line arguments to pass to the external process when capturing |
![]() |
TObjectPtr< UMovieSceneAudioCaptureProtocolBase > | AudioCaptureProtocol | |
![]() |
FSoftClassPath | AudioCaptureProtocolType | The type of capture protocol to use for audio data. |
![]() |
bool | bCapturing | Whether we have started capturing or not |
![]() |
bool | bCloseEditorWhenCaptureStarts | When enabled, the editor will shutdown when the capture starts |
![]() |
bool | bFinalizeWhenReady | Whether we should automatically attempt to capture frames every tick or not |
![]() |
bool | bIsAudioCapturePass | If we're currently doing an audio pass or not |
![]() |
bool | bUseSeparateProcess | Whether to capture the movie in a separate process or not |
![]() |
FCachedMetrics | CachedMetrics | Cached metrics for this capture operation |
![]() |
Scalability::FQualityLevels | CachedQualityLevels | Cached quality levels |
![]() |
TSharedPtr< ICaptureStrategy > | CaptureStrategy | Strategy used for capture (real-time/fixed-time-step) |
![]() |
TMap< FString, FStringFormatArg > | FormatMappings | Format mappings used for generating filenames |
![]() |
int32 | FrameNumberOffset | Frame number index offset when saving out frames. |
![]() |
FMovieSceneCaptureHandle | Handle | Our unique handle, used for external representation without having to link to the MovieSceneCapture module |
![]() |
TObjectPtr< UMovieSceneImageCaptureProtocolBase > | ImageCaptureProtocol | Capture protocol responsible for actually capturing frame data |
![]() |
FSoftClassPath | ImageCaptureProtocolType | The type of capture protocol to use for image data |
![]() |
FString | InheritedCommandLineArguments | Command line arguments inherited from this process |
![]() |
TOptional< FCaptureProtocolInitSettings > | InitSettings | The settings we will use to set up the capture protocol |
![]() |
FOnCaptureFinished | OnCaptureFinishedDelegate | Event that is triggered when capturing has finished |
![]() |
FMovieSceneCaptureSettings | Settings | Settings that define how to capture |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMovieSceneCapture
(
const FObjectInitializer& Initializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | AddFormatMappings
(
TMap< FString, FStringFormatArg >& OutFormatMappings, |
Add additional format mappings to be used when generating filenames |
![]() |
void | CaptureThisFrame
(
float DeltaSeconds |
Indicate that this frame should be captured - must be called before the movie scene capture is ticked |
![]() ![]() |
void | DeserializeAdditionalJson
(
const FJsonObject& Object |
Custom, additional json deserialization |
![]() |
void | DeserializeJson
(
const FJsonObject& Object |
Deserialize additional json data for this capture |
![]() |
void | Finalize () |
Finalize the capturing process, assumes all frames have been processed. |
![]() |
void | Automatically finalizes the capture when all currently pending frames are dealt with | |
![]() |
void | ||
![]() |
UMovieSceneCaptureProtocolBase * | ||
![]() |
UMovieSceneCaptureProtocolBase * | Access the capture protocol we are using | |
![]() ![]() |
const FCachedMetrics & | GetMetrics () |
Access this object's cached metrics |
![]() |
void | Initialize the settings structure for the current capture type | |
![]() ![]() ![]() |
bool | Returns true if this is currently the audio pass, or if an audio pass is not needed. | |
![]() ![]() |
void | Load save from config helpers | |
![]() |
FOnCaptureFinished & | ||
![]() ![]() |
void | OnTick
(
float DeltaSeconds |
Called at the end of a frame, before a frame is presented by slate |
![]() ![]() |
void | SaveToConfig () |
|
![]() ![]() |
void | SerializeAdditionalJson
(
FJsonObject& Object |
Custom, additional json serialization |
![]() |
void | SerializeJson
(
FJsonObject& Object |
Serialize additional json data for this capture |
![]() |
void | SetAudioCaptureProtocolType
(
TSubclassOf< UMovieSceneCaptureProtocolBase > ProtocolType |
|
![]() |
void | SetImageCaptureProtocolType
(
TSubclassOf< UMovieSceneCaptureProtocolBase > ProtocolType |
|
![]() ![]() |
bool | Check whether we should automatically finalize this capture | |
![]() |
void | StartCapture () |
Initialize the capture so that it is able to start capturing frames |
![]() |
void | StartWarmup () |
Starts warming up. |
![]() |
void | Tick
(
float DeltaSeconds |
Called at the end of a frame, before a frame is presented by slate |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Overridden from IMovieSceneCaptureInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Close () |
Shut down this movie capture |
![]() ![]() ![]() |
const int32 | Access Frame Number Offset | |
![]() ![]() ![]() |
FMovieSceneCaptureHandle | GetHandle () |
Get a unique handle to this object |
![]() ![]() ![]() |
const FMovieSceneCaptureSettings & | GetSettings () |
Access specific movie scene capture settings |
![]() ![]() |
void | Initialize
(
TSharedPtr< FSceneViewport > Viewport, |
Initialize this capture object by binding it to the specified viewport |
![]() ![]() |
void | Instruct this capture to start capturing frames |
Overridden from ICaptureProtocolHost
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FFrameRate | Get the capture frequency | |
![]() ![]() ![]() |
const ICaptureStrategy & | Access the host's capture strategy | |
![]() ![]() ![]() |
double | Estimate how long our duration is going to be for pre-allocation purposes. | |
![]() ![]() ![]() |
FString | ResolveFileFormat
(
const FString& Format, |
Resolve the specified format using the user supplied formatting rules. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FOnCaptureFinished | Event that is fired after we've finished capturing |
Constants
Name | Description |
---|---|
MovieSceneCaptureUIName | This name is used by the UI to save/load a specific instance of the settings from config that doesn't affect the CDO which would affect scripting environments. |