Function
|
Description
|
void SetBpm(int bpm)
|
Sets the speed of the effect in BPM. Valid values range from 0 to 9999 BPM.
|
int GetBpm()
|
Returns the current effect speed in BPM.
|
void SetColor(color col)
|
Sets the color of the effect. Please note that the alpha channel is not used by this effect.
|
color GetColor()
|
Returns the currently set color. Please note that the alpha channel is not used and should be ignored.
|
void SetFade(int fade)
|
Sets the "fade" value. Valid values range from 1 to 3000.
|
int GetFade()
|
Returns the current "fade".
|
void SetDirection(int dir)
|
Sets the direction of the effect. Valid values for dir are DIR_LEFT, DIR_RIGHT, DIR_UP and DIR_DOWN.
|
int GetDirection()
|
Returns the current direction.
|
void SetMono(int enable)
|
Disables "mono" if enable is set to false. Otherwise, it will be enabled.
|
int GetMono()
|
Returns true if "mono" is enabled, otherwise false is returned.
|