# SetClrModulation

Objects
Display
4.9.1.0 GWE4.9.6.0 CR
bool
int color Color value to be modulated with.
int overlay_id If specified, sets the color modulation of the graphics overlay instead. The overlay must have been created using SetGraphics first. From CR.
Changes the color modulation of an object. This is a color value which is multiplied with the object color. RGB(255,0,0) will only let the red part of the color show. RGBa(255,255,255,128) will make all color half transparent (unless alpha addition is disabled in the graphics options).
GetCursor
()->SetClrModulation(RGBa(128,128,255,128));
Colors the selected clonk of the first player slightly blue and makes him half transparent.
RGB
RGBa
SetGamma
GetClrModulation
SetObjectBlitMode
SetColor
Sven2
2002-04