UKismetRenderingLibrary::ExportRenderTarget

Exports a render target as a HDR or PNG image onto the disk (depending on the format of the render target)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h

Include

#include "Kismet/KismetRenderingLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp

Syntax

static void ExportRenderTarget
(
    UObject * WorldContextObject,
    UTextureRenderTarget2D * TextureRenderTarget,
    const FString & FilePath,
    const FString & FileName
)

Remarks

Exports a render target as a HDR or PNG image onto the disk (depending on the format of the render target)

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