UMediaCapture::UpdateTextureRenderTarget2D

Update the current capture with every frame for a TextureRenderTarget2D.

Windows
MacOS
Linux

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Media|Output")
bool UpdateTextureRenderTarget2D
(
    UTextureRenderTarget2D * RenderTarget
)

Remarks

Update the current capture with 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.

Returns

Return true if the capture was successfully updated. If false is returned, the capture was stopped.

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