Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformApplicationMisc.h |
Include |
#include "GenericPlatform/GenericPlatformApplicationMisc.h" |
Source |
/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformApplicationMisc.cpp |
static FLinearColor GetScreenPixelColor
(
const struct FVector2D & InScreenPos,
float InGamma
)
Sample the displayed pixel color from anywhere on the screen using the OS
The color of the pixel displayed at the chosen location
Parameter |
Description |
---|---|
InScreenPos |
The screen coords to sample for current pixel color |
InGamma |
Optional gamma correction to apply to the screen color |