unreal.MediaCaptureResizeMethod

class unreal.MediaCaptureResizeMethod

Bases: EnumBase

EMedia Capture Resize Method

C++ Source:

  • Plugin: MediaIOFramework

  • Module: MediaIOCore

  • File: MediaCapture.h

NONE: MediaCaptureResizeMethod

Leaves the source texture as is, which might be incompatible with the output size, causing an error.

Type:

0

RESIZE_IN_RENDER_PASS: MediaCaptureResizeMethod

Leaves the source as is, but will add a render pass where we resize the captured texture, leaving the source intact. This is useful when the output size is smaller than the captured source.

Type:

2

RESIZE_SOURCE: MediaCaptureResizeMethod

Resize the source that is being captured. This will resize the viewport when doing a viewport capture and will resize the render target when capturing a render target. Not valid for immediate capture of RHI resource

Type:

1