Navigation
API > API/Plugins > API/Plugins/MediaIOCore > API/Plugins/MediaIOCore/UMediaCapture
References
| Module | MediaIOCore |
| Header | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
| Include | #include "MediaCapture.h" |
| Source | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/MediaCapture.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Media&124;Output"&41;
bool CaptureTextureRenderTarget2D
&40;
UTextureRenderTarget2D &42; RenderTarget,
FMediaCaptureOptions CaptureOptions
&41;
Remarks
Stop the actual capture if there is one. Then capture every frame for a TextureRenderTarget2D. The TextureRenderTarget2D needs to be of the same size and have the same pixel format as requested by the media output. True if the capture was successfully started