FMediaCaptureOptions

Base class of additional data that can be stored for each requested capture.

Windows
MacOS
Linux

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h

Include

#include "MediaCapture.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FMediaCaptureOptions

Remarks

Base class of additional data that can be stored for each requested capture.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bConvertToDesiredPixelFormat

Allows to enable/disable pixel format conversion for the cases where render target is not of the desired pixel format.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bForceAlphaToOneOnConversion

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.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bResizeSourceBuffer

When the capture start, resize the source buffer to the desired size.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bSkipFrameWhenRunningExpensiveTasks

When the application enters responsive mode, skip the frame capture.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

EMediaCaptureCr...

 

Crop

Crop the captured SceneViewport or TextureRenderTarget2D to the desired size.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FIntPoint

 

CustomCapturePoint

Crop the captured SceneViewport or TextureRenderTarget2D to the desired size.

Constructors

Name Description

Public function

FMediaCaptureOptions()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss