Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > FGenericPlatformApplicationMisc
References
Module | ApplicationCore |
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
&40;
const FVector2D & InScreenPos,
float InGamma
&41;
Remarks
Sample the displayed pixel color from anywhere on the screen using the OS The color of the pixel displayed at the chosen location
Parameters
Name | Description |
---|---|
InScreenPos | The screen coords to sample for current pixel color |
InGamma | Optional gamma correction to apply to the screen color |