Function
|
Description
|
void SetBpm(int bpm)
|
Sets the speed of the effect in BPM. Valid values range from 0 to 9999. Default value is 1500.
|
int GetBpm()
|
Returns the current speed of the effect in BPM.
|
void SetLength(int size)
|
Sets the length of the effect. Valid values range from 1 to 100. The default value is 20.
|
int GetLength()
|
Returns the currently set length.
|
void SetCount(int count)
|
Sets the number of objects. Valid values range from 0 to 100. The default value is 50.
|
int GetCount()
|
Returns the number of objects.
|
void SetWidth(int width)
|
Sets the size of the objects. Valid values range from 1 to 100. The default value is 10.
|
int GetWidth()
|
Returns the size of the objects.
|
void SetDepth(int depth)
|
Sets the depth effect. Valid values range from 1 to 100. The default value is 80.
|
int GetDepth()
|
Returns the currently set depth.
|
void SetRotation(int rotation)
|
Sets the amount of rotation. Valid values range from -100 to 100. The default value is 0.
|
int GetRotation()
|
Returns the currently set amount of rotation.
|
void SetDirection(int dir)
|
Sets the direction of the effect. See below for details.
|
int GetDirection()
|
Returns the currently set direction.
|
void SetColorMode(int mode)
|
Sets the color mode of the Color Table. See below for details.
|
int GetColorMode()
|
Returns the currently set color mode.
|
void SetShape(int shape)
|
Sets the shape of the objects. See below for details.
|
int GetShape()
|
Returns the currently set shape of objects.
|
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.
|