Navigation
Unreal Engine C++ API Reference > 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 |
bool UpdateSceneViewport
&40;
TSharedPtr< FSceneViewport > & SceneViewport
&41;
Remarks
Update the current capture with a SceneViewport. If the SceneViewport is destroyed, the capture will stop. The SceneViewport needs to be of the same size and have the same pixel format as requested by the media output.
make sure the size of the SceneViewport doesn't change during capture. Return true if the capture was successfully updated. If false is returned, the capture was stopped.