M2L Drops

   Print  Previous  Next

Functions Provided By M2L Drops

This effect uses the following functions:

This Effect uses Directions. Learn more »Using Directions
This Effect uses the Color Table. Learn more »Using Color Table
This Effect uses the Shape Table. Learn more »Using Shape Table
This Effect uses Shape Rotation. Learn more »Using Shape Rotation
This Effect uses the BPM Control. Learn more »Using BPM Control
This Effect uses the Size Control. Learn more »Using Size Control

 

Function

Description

void SetSpeedVariance(int value)

Sets the Speed Variance value, which means a random value between 0 and 500 percent. This value will multiply with the current BPM value.

int GetSpeedVariance()

Returns the current Speed Variance.

void SetLength(float value)

Sets the Length value, which defines how long the trace of the shapes is, in percent of the matrix size (depending on the direction). The Length value means the minimum length if the length distribution mode is not uniform. Valid values for value range from 0.0 to 100.0.

float GetLength()

Returns the current Length in percent. The return value means the minimum length if the length distribution mode is not uniform.

void SetPixelLength(int value)

Sets the Length value, which defines how long the trace of the shapes is, in pixels. The Length value means the minimum length if the length distribution mode is not uniform.

int GetPixelLength()

Returns the current Length in pixels. The return value means the minimum length if the length distribution mode is not uniform.

void SetLengthMin(float value)

Is the same as SetLength.

float GetLengthMin()

Is the same as GetLength.

void SetPixelLengthMin(int value)

Is the same as SetPixelLength.

int GetPixelLengthMin()

Is the same as GetPixelLength.

void SetLengthMax(float value)

Sets the Maximum Length value, which defines how long the trace of the shapes is at the maximum, in percent of the matrix size (depending on the direction). The Maximum Length value only applies if the length distribution mode is not uniform. Valid values for value range from 0.0 to 100.0.

float GetLengthMax()

Returns the current Maximum Length in percent.

void SetPixelLengthMax(int value)

Sets the Maximum Length value, which defines how long the trace of the shapes is at the maximum, in pixels. The Maximum Length value only applies if the length distribution mode is not uniform.

int GetPixelLengthMax()

Returns the current Maximum Length in pixels.

void SetLengthDistribution(int value)

Sets the Length Distribution value, which defines how the range between the current minimum and the current maximum length is applied to the traces of the shapes. See »here for a list of constants.

int GetLengthDistribution()

Returns the current Length Distribution of the traces of the shapes. See »here for a list of constants.

void SeedRandomLength()

Randomizes the lengths of the traces of the shapes. Same as SetLengthDistribution(DIST_RND).

void SetLengthOffset(float value)

Sets the Length Offset value between the shapes of the trace, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetLengthOffset()

Returns the current Length Offset in percent.

void SetPixelLengthOffset(int value)

Sets the Length Offset value between the shapes of the trace, in pixels.

int GetPixelLengthOffset()

Returns the current Length Offset in pixels.

void SetRotationOffset(float value)

Sets the Rotation Offset value between the shapes of the trace. Valid values for value range from -180.0 to 180.0.

float GetRotationOffset()

Returns the current Rotation Offset.

void SetPitch1(float value)

Sets the Pitch value for axis one (depending on the direction), which is the distance of the shapes, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetPitch1()

Returns the current Pitch for axis one in percent.

void SetPixelPitch1(int value)

Sets the Pitch value for axis one (depending on the direction), which is the distance of the shapes, in pixels.

int GetPixelPitch1()

Returns the current Pitch for axis one in pixels.

void SetPitch2(float value)

Sets the Pitch value for axis two (depending on the direction), which is the distance of the shapes, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetPitch2()

Returns the current Pitch for axis two in percent.

void SetPixelPitch2(int value)

Sets the Pitch value for axis two (depending on the direction), which is the distance of the shapes, in pixels.

int GetPixelPitch2()

Returns the current Pitch for axis two in pixels.

void SetAlphaMix(int value)

Sets the Alpha Mix value, which defines the variance of the shapes' alpha channel, in percent. Valid values for value range from 0 to 100.

int GetAlphaMix()

Returns the current Alpha Mix in percent.

void SetInvert(int value)

Use value 1 (TRUE) to invert the shape's positions. Use value 0 (false) to use the default setting.

int GetInvert()

Returns 1 (TRUE) if the shape's positions are inverted, otherwise 0 (false).

void ToggleInvert()

Inverts the shape's positions or uses the default setting, depending on the current state.

void SetMirror(int value)

Use value 1 (TRUE) to mirror the shape's positions. Use value 0 (false) to use the default setting.

int GetMirror()

Returns 1 (TRUE) if the shape's positions are mirrored, otherwise 0 (false).

void ToggleMirror()

Mirrors the shape's positions or uses the default setting, depending on the current state.

Function

Description

void SetDisplacement(float value)

Sets the Displacement value. Valid values range from 0.0 to 100.0.

float GetDisplacement()

Returns the current Displacement.

void SetDisplacementSpeed(float value)

Sets the Displacement Speed value. Valid values range from 0.0 to 100.0.

float GetDisplacementSpeed()

Returns the current Displacement Speed.

void SetDisplacementDistribution(int mode)

Sets the Displacement Distribution. See »here for a list of constants (not all apply).

int GetDisplacementDistribution()

Returns the current Displacement Distribution.

void SetGeneratorType(int value)

Sets the Generator Type. See below for a list of constants.

int GetGeneratorType()

Returns the current Generator Type. See below for a list of constants.

void SetPeak(float)

Sets the Peak value. Valid values range from 0.00 to 100.00.

float GetPeak()

Returns the currently set Peak value.

Function

Description

void SetToneRangeMin(int index)

Sets the minimum Tone Range for the effect with the help of 128 MIDI notes. Valid values for index range from 0 to 127.  »Valid parameters (Notes)

int GetToneRangeMin()

Returns the currently set minimum Tone Range.

void SetToneRangeMax(int index)

Sets the maximum Tone Range for the effect with the help of 128 MIDI notes. Valid values for index range from 0 to 127.  »Valid parameters (Notes)

int GetToneRangeMax()

Returns the currently set maximum Tone Range.

 

 

Generator Type Constants

Constant

Description

int GENERATOR_TYPE_TONE

Sets the generator type to Tone.

int GENERATOR_TYPE_INTERVAL

Sets the generator type to Interval.

int GENERATOR_TYPE_BASS_TYPE

Sets the generator type to Bass Type.

 

MADRIX Version: 5.1b | Script Version: 3.10
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next