Function
|
Description
|
void SetColor(color col)
|
Sets the color of the effect color. 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 SetDirection(int dir)
|
Sets the direction of the effect. Allowed are all directions described in the general summary and some additional values which are described below.
|
int GetDirection()
|
Returns the current direction. There are some effect specific directions which are described below.
|
void SetCrossed(enable)
|
Enables cross-direction mode if enable is set to true. Otherwise, it is disabled.
|
int GetCrossed()
|
Returns true if the cross-direction mode is enabled, otherwise false.
|
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 SetStep(int step)
|
Sets the step width of the new colors. Valid values for step range from 1 to 9999.
|
int GetStep()
|
Returns the current step width.
|
void SetXOffset(int offset)
|
Sets the x-offset value, which ranges from 1 to 9999.
|
int GetXOffset()
|
Returns the current x-offset.
|
void SetFade(int enable)
|
Enables fading between the colors if enable is true. Otherwise it will be disabled.
|
int GetFade()
|
Returns true if fading is enabled, otherwise false.
|