IrrGuiAddInOutFader

section index

## NAME

IrrGuiAddInOutFader - Element for fading out or in.

## SYNOPSIS

*element.l = IrrGuiAddInOutFader()

## FUNCTION

Element for fading out or in.[BR] See the small example on how it is used. In this example we fade in from a total red screen in the beginning. As you can see, the fader is not only useful for dramatic in and out fading, but also to show that the player is hit in a first person shooter game for example.

## EXAMPLE

       *fader.l = IrrGuiAddInOutFader()
       IrrGuiFaderSetColor(*fader, 0,255,0,0)
       IrrGuiFaderFadeIn(*fader,4000)

## RESULT

Returns pointer to the Element when Success