Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/UnrealClient.h |
Include |
#include "UnrealClient.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
bool ReadPixelsPtr
(
FColor * OutImageBytes,
FReadSurfaceDataFlags InFlags,
FIntRect InSrcRect
)
Reads the viewport's displayed pixels into a preallocated color buffer. Reads the viewport's displayed pixels into a preallocated color buffer.
True if the read succeeded.
Parameter |
Description |
---|---|
OutImageBytes |
RGBA8 values will be stored in this buffer. Buffer must be preallocated with the correct size! |
InSrcRect |
InSrcRect not specified means the whole rect |
OutputBuffer |
RGBA8 values will be stored in this buffer |