C4 Engine API Documentation
Home
►
Math Library
►
class ColorRGB
ColorRGB::GetLuminance
Defined in:
TSColor.h
Returns the luminance of an RGB color.
Prototype
float
GetLuminance(
void
)
const
;
Description
The
GetLuminance
function returns the luminance of an RGB color.
C4 Engine,
Version 7.1
, 28-Jul-2023, Copyright © Terathon Software LLC