Function
|
Description
|
void SetBpm(int bpm)
|
Sets the speed for the movement. bpm must be within a range of 0 to 9999 BPM. E.g. a value of 60 means that it is moved one pixel per second into the given direction.
|
int GetBpm()
|
Returns the current speed for the movement in BPM.
|
void SetObjects(int count)
|
Sets the number of objects.
|
int GetObjects()
|
Returns the current number of objects.
|
void SetPoints(int count)
|
Sets the number of points per object. Only line and curve mode allow more than 1 point per object.
|
int GetPoints()
|
Returns the current number of points per object.
|
void SetFadeOut(int value)
|
Sets the fade out value.
|
int GetFadeOut()
|
Returns the current fade out value.
|
void SetSize(int size)
|
Sets the size of the shapes. This only works if points per object is set to 1.
|
int GetSize()
|
Returns the current size of the shapes.
|
void SetShape(int shape)
|
Sets the shape to use. One of the defines described below must be used.
|
int GetShape()
|
Returns the currently defined shape. See below for further details
|
void SetCollision(int state)
|
Sets the collision mode to on or off. A value of 1 stands for on and 0 for off.
|
int GetCollision()
|
Returns the currently used collision mode.
|
void SetColor(int idx, color c)
|
Sets the color at the specified index in the Color Table dialog. If idx is out of range, nothing happens.
|
color GetColor(int idx)
|
Returns the color of the specified index in the color table. If the index is out of range, black is returned.
|
int GetColorCount()
|
Returns the number of colors in the color table.
|
void AddColor(int idx, color c)
|
Adds another color to the color table at the specified index position. If the index is lower or equal to 0, the new color is added to the first position. If the index is greater than the current number of colors, the new color is added at the end.
|
void RemoveColor(int idx)
|
Removes the color located at the specified index. If the given index is out of range, nothing happens. The Color Table of this effect needs to include at least 1 entry.
|