M2L Tubes

   Print  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 TRUE to activate it. Use FALSE to deactivate it.

int GetInvert()

Returns TRUE, if the Invert option is activated, otherwise FALSE.

void ToggleInvert()

Toggle the Invert option.

void SetMirror(int value)

Sets the Mirror option. Use TRUE to activate it. Use FALSE to deactivate it.

int GetMirror()

Returns TRUE, if the Mirror option is activated, otherwise FALSE.

void ToggleMirror()

Toggle the Mirror option.

void SetTubesVertical(int value)

Use TRUE to activate vertical Tubes. Use FALSE to deactivate it.

int GetTubesVertical()

Returns TRUE if vertical Tubes are activated, otherwise FALSE.

void ToggleTubesVertical()

Toggle vertical Tubes.

void SetTubesHorizontal(int value)

Use TRUE to activate horizontal Tubes. Use FALSE to deactivate it.

int GetTubesHorizontal()

Returns TRUE if horizontal Tubes are activated, otherwise FALSE.

void ToggleTubesHorizontal()

Toggle horizontal Tubes.

void SetTubesDepth(int value)

Use TRUE to activate depth Tubes. Use FALSE to deactivate it.

int GetTubesDepth()

Returns TRUE if depth Tubes are activated, otherwise FALSE.

void ToggleTubesDepth()

Toggle 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 2.X To MADRIX 3.X Migration Hints

The MADRIX 2.X effect M2L Interval Tubes has been renamed to M2L Tubes in MADRIX 3.X. The following functions and constants are not supported anymore. Please follow the hints to migrate your macros.

Function/Constant

Description

void SetUseBass(int value)

Use SetGeneratorType(GENERATOR_TYPE_BASS_TYPE) instead.

int GetUseBass()

Use GetGeneratorType() instead.

void SetDirection(int value)

Use SetTubesVertical(int value), SetTubesHorizontal() and SetTubesDepth() instead.

int GetDirection()

Use GetTubesVertical(), GetTubesHorizontal() and GetTubesDepth() instead.

void SetPixelWidth(int value)

Use SetSize1(float value) and SetSize2(float value) instead.

If you like to see no gabs or overlapping tubes use SetPitch1(float value) and SetPitch2(float value) with the same values as the size values.

int GetPixelWidth()

Use GetSize1() and GetSize2() instead.

void SetVectorWidth(float value)

Use SetSize1(float value) and SetSize2(float value) instead.

If you like to see no gabs or overlapping tubes use SetPitch1(float value) and SetPitch2(float value) with the same values as the size values.

float GetVectorWidth()

Use GetSize1() and GetSize2() instead.

 

MADRIX Version: 3.6j | Script Version: 2.22
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next