| UTexture::GetAverageBrightness()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include |
#include "Engine/Texture.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Texture.cpp |
Gets the average brightness of the texture (in linear space)
float The average brightness of the texture
Parameter |
Description |
---|---|
bIgnoreTrueBlack |
If true, then pixels w/ 0,0,0 rgb values do not contribute. |
bUseGrayscale |
If true, use gray scale else use the max color component. |