M2L Tubes

  Previous  Next

Functions Provided By M2L Tubes

This effect uses the following functions:

This Effect uses the Color Controls. Learn more »Using Color Controls

 

Function

Description

void SetFade(int value)

Sets the Fade value.

int GetFade()

Returns the Fade value.

void SetSize1(float value)

Sets the Size 1 value

float GetSize1()

Returns the Size 1 value.

void SetPitch1(float value)

Sets the Pitch 1 value

float GetPitch1()

Returns the Pitch 1 value.

void SetSize2(float value)

Sets the Size 2 value

float GetSize2()

Returns the Size 2 value.

void SetPitch2(float value)

Sets the Pitch 2 value

float GetPitch2()

Returns the Pitch 2 value.

void SetAlphaMix(int value)

Sets the Alpha Mix value.

int GetAlphaMix()

Returns the Alpha Mix value.

void SetInvert(int value)

Sets the Invert option. Use 1 (TRUE) to activate it. Use 0 (FALSE) to deactivate it.

int GetInvert()

Returns 1 (TRUE) if the Invert option is activated, otherwise 0 (FALSE).

void ToggleInvert()

Toggles the Invert option.

void SetMirror(int value)

Sets the Mirror option. Use 1 (TRUE) to activate it. Use 0 (FALSE) to deactivate it.

int GetMirror()

Returns 1 (TRUE) if the Mirror option is activated, otherwise 0 (FALSE).

void ToggleMirror()

Toggles the Mirror option.

void SetTubesVertical(int value)

Use 1 (TRUE) to activate vertical Tubes. Use 0 (FALSE) to deactivate it.

int GetTubesVertical()

Returns 1 (TRUE) if vertical Tubes are activated, otherwise 0 (FALSE).

void ToggleTubesVertical()

Toggles vertical Tubes.

void SetTubesHorizontal(int value)

Use 1 (TRUE) to activate horizontal Tubes. Use 0 (FALSE) to deactivate it.

int GetTubesHorizontal()

Returns 1 (TRUE) if horizontal Tubes are activated, otherwise 0 (FALSE).

void ToggleTubesHorizontal()

Toggles horizontal Tubes.

void SetTubesDepth(int value)

Use 1 (TRUE) to activate depth Tubes. Use 0 (FALSE) to deactivate it.

int GetTubesDepth()

Returns 1 (TRUE) if depth Tubes are activated, otherwise 0 (FALSE).

void ToggleTubesDepth()

Toggles depth Tubes.

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.

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.6 | Script Version: 3.18
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
 Previous   Next

 


Enable automatic translation | Activer la traduction automatique |