C4 Engine
C4 Engine API Documentation

ColorRGB::GetLuminance

Defined in:  TSColor.h
Returns the luminance of an RGB color.
Prototype

float GetLuminance(voidconst;

Description
The GetLuminance function returns the luminance of an RGB color.