Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ProfilingDebugging > API/Runtime/Engine/ProfilingDebugging/FTraceScreenshot > API/Runtime/Engine/ProfilingDebugging/FTraceScreenshot/TraceScreenshot
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ProfilingDebugging/TraceScreenshot.h |
| Include | #include "ProfilingDebugging/TraceScreenshot.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ProfilingDebugging/TraceScreenshot.cpp |
static void TraceScreenshot
&40;
int32 InSizeX,
int32 InSizeY,
const TArray< FColor > & InImageData,
const FString & InScreenshotName,
int32 DesiredX
&41;
Remarks
Add the provided screenshot to the trace.
Parameters
| Name | Description |
|---|---|
| InSizeX | The width of the screenshot. |
| InSizeY | The heigth of the screenshot. |
| InImageData | The data of the screenshot. |
| InScreenshotName | The name of the screenshot. |
| DesiredX | Optionally resize the image to the desired width before tracing. Aspect ratio is preserved. |