Music.fadeIn

Starts this music by fading in over ms milliseconds, will stop other musics. -1 loops will play forever.

  1. bool fadeIn(int ms, int loops = 1)
    class Music
    bool
    fadeIn
    (
    int ms
    ,
    int loops = 1
    )
  2. bool fadeIn(int ms, int loops, double position)

Parameters

ms
Type: int

Milliseconds for the fade-in effect to complete.

loops
Type: int

-1 loops will play forever. 0 plays the music zero times.

Return Value

Type: bool

true on success, or false on errors

Meta