video_alpha

The transparency factor of the engine window, in percent. Can be used to fade the engine window in and out.

Range:

0 .. 100 (default = 100, full opaque)

Type:

var

Remarks:

This variable is only supported under Windows Vista, and Windows XP with SP3 and above.

Edition:

A7.71  C 

Example (lite-C):

function main()
{
// slowly fade in the window at the beginning
   if (sys_winversion >= 6) 
     for (video_alpha = 0; video_alpha < 100; video_alpha += 2*time_step)
       wait(1);
   ...

See also:

video_switch, video_mode, video_gamma, sys_winversion

► latest version online