/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/WorldRenderCapture.h
Enable debug image write. The captured image will be written to/Intermediate//_.bmp If FolderName is not specified, "WorldRenderCapture" is used by default. If an ImageCounter is not specified, an internal static counter is used that increments on every write
void SetEnableWriteDebugImage ( bool bEnable, int32 ImageCounter, [FString](API\Runtime\Core\Containers\FString) FolderName )