Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FRenderTarget
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
Include | #include "UnrealClient.h" |
Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
bool ReadLinearColorPixels
&40;
TArray< FLinearColor > & OutputBuffer,
FReadSurfaceDataFlags InFlags,
FIntRect InRect
&41;
Remarks
Reads the viewport's displayed pixels into the given color buffer. Reads the viewport's displayed pixels into a preallocated color buffer. True if the read succeeded.
Parameters
Name | Description |
---|---|
OutputBuffer | Linear color array to store the value |
CubeFace | optional cube face for when reading from a cube render target |
OutImageData | LinearColor array to fill! |
CubeFace | optional cube face for when reading from a cube render target |