Navigation
API > API/Plugins > API/Plugins/MediaIOCore
Base class of additional data that can be stored for each requested capture.
| Name | FMediaCaptureOptions |
| Type | struct |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
| Include Path | #include "MediaCapture.h" |
Syntax
USTRUCT (BlueprintType )
struct FMediaCaptureOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMediaCaptureOptions() |
MediaCapture.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyLinearToSRGBConversion | bool | Whether to apply a linear to sRGB conversion to the texture before outputting. | MediaCapture.h |
|
| bAutoRestartOnSourceSizeChange | bool | If source texture's size change, auto restart capture to follow source resolution if implementation supports it. | MediaCapture.h |
|
| bAutostopOnCapture | bool | Automatically stop capturing after a predetermined number of images. | MediaCapture.h |
|
| bConvertToDesiredPixelFormat | bool | Allows to enable/disable pixel format conversion for the cases where render target is not of the desired pixel format. | MediaCapture.h |
|
| bForceAlphaToOneOnConversion | bool | In some cases when we want to stream irregular render targets containing limited number of channels (for example RG16f), we would like to force Alpha to 1. | MediaCapture.h |
|
| bSkipFrameWhenRunningExpensiveTasks | bool | When the application enters responsive mode, skip the frame capture. | MediaCapture.h |
|
| CapturePhase | EMediaCapturePhase | MediaCapture.h |
|
|
| ColorConversionSettings | FOpenColorIOColorConversionSettings | Color conversion settings used by the OCIO conversion pass. | MediaCapture.h |
|
| Crop | EMediaCaptureCroppingType | Crop the captured SceneViewport or TextureRenderTarget2D to the desired size. | MediaCapture.h |
|
| CustomCapturePoint | FIntPoint | Crop the captured SceneViewport or TextureRenderTarget2D to the desired size. | MediaCapture.h |
|
| NumberOfFramesToCapture | int32 | The number of images to capture | MediaCapture.h |
|
| OverrunAction | EMediaCaptureOverrunAction | Action to do when game thread overruns render thread and all frames are in flights being captured / readback. | MediaCapture.h |
|
| ResizeMethod | EMediaCaptureResizeMethod | When the capture start, control if and how the source buffer should be resized to the desired size. | MediaCapture.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PostSerialize
(
const FArchive& Ar |
MediaCapture.h |