SCE Capture

   Print  Previous  Next

Functions Provided By SCE Capture

This effect uses the following functions:

This Effect uses Directions. Learn more »Using Direction
This Effect uses Look-At Types. Learn more »Using Look-At Types
This Effect uses the BPM control. Learn more »Using BPM Control
This Effect uses the Color Controls. Learn more »Using Color Controls
This Effect uses the Position Controls. Learn more »Using Position Controls
 

 Function

Description

void SetExtrusion(float value)

Sets the Extrusion value in percent of the matrix size (depending on the current look-at type).

float GetExtrusion()

Returns the current Extrusion value in percent of the matrix size (depending on the current look-at type).

void SetPixelExtrusion(int value)

Sets the Extrusion value in pixels.

int GetPixelExtrusion()

Returns the current Extrusion value in pixels.

void SetRotation(int angle)

Sets the Rotation globally for all images of the Image List. It is possible to rotate the images by multiples of 90°. This function is equal to the rotation button provided by the GUI of the effect. Valid values for angle are 0, 90, 180, and 270.

int GetRotation()

Returns the currently set Rotation.

void SetTiling(int enable)

Disables Tile Mode if enable is set to FALSE, otherwise the Tile Mode will be enabled via TRUE.

int GetTiling()

Returns TRUE if Tile Mode is enabled, otherwise FALSE.

void ToggleTiling()

Enables Tile Mode or uses the default setting, depending on the current state.

void SetSeamless(int enable)

Disables Seamless if enable is FALSE, otherwise it will be enabled.

int GetSeamless()

Returns TRUE if Seamless is enabled, otherwise FALSE.

void ToggleSeamless()

Enables Seamless or uses the default setting, depending on the current state.

float GetImageWidth()

Returns the image width of the current image in percent of the matrix width.

float GetImageHeight()

Returns the image height of the current image in percent of the matrix height.

float GetImageDepth()

Returns the image depth of the current image in percent of the matrix depth.

int GetImagePixelWidth()

Returns the image width of the current image in pixels.

int GetImagePixelHeight()

Returns the image height of the current image in pixels.

int GetImagePixelDepth()

Returns the image depth of the current imagein pixel.

float GetCurrentPositionX()

Returns the X-position of the current image in percent of the matrix width.

float GetCurrentPositionY()

Returns the Y-position of the current image in percent of the matrix height.

float GetCurrentPositionZ()

Returns the Z-position of the current image in percent of the matrix depth.

int GetCurrentPixelPositionX()

Returns the X-position of the current image in pixels.

int GetCurrentPixelPositionY()

Returns the Y-position of the current image in pixels.

int GetCurrentPixelPositionZ()

Returns the Z-position of the current image in pixels.

int GetLoaded()

Returns TRUE if a capture device is selected and started, otherwise FALSE.

void SetStretchMode(int mode)

Sets the Stretch mode. See below for details.

int GetStretchMode()

Returns the Stretch mode. See below for details.

void SetGrayscale(int enable)

Disables Grayscale if enable is set to FALSE. Otherwise it can be enabled using TRUE.

int GetGrayscale()

Returns TRUE if Stretch mode is enabled, otherwise FALSE.

void ToggleGrayscale()

Enables Stretch mode or uses the default setting, depending on the current state.

void SetRgbw(int enable)

Disables the RGB-To-RGBW mode if enable is FALSE, otherwise it can be enabled using TRUE.

int GetRgbw()

Returns TRUE if RGB-To-RGBW mode is enabled, otherwise FALSE.

void ToggleRgbw()

Enables RGB-To-RGBW mode or uses the default setting, depending on the current state.

void SetFilteringMode(int mode)

Sets the Filtering mode. See below for details.

int GetFilteringMode()

Returns the Filtering mode. See below for details.

 

Stretch Mode Constants

Value

Description

int STRETCH_MODE_NONE

Sets the stretch mode to None (no stretching).

int STRETCH_MODE_MATRIX

Sets the stretch mode to Matrix (stretches to the current aspect ratio of the matrix).

int STRETCH_MODE_ORIGINAL

Sets the stretch mode to Original (stretches to the original aspect ratio of the source).

int STRETCH_MODE_4_TO_3

Sets the stretch mode to 4:3.

int STRETCH_MODE_16_TO_9

Sets the stretch mode to 16:9.

 

Filtering Mode Constants

Value

Description

int FILTERING_MODE_NEAREST_NEIGHBOR

Sets the Filtering Mode to None (no filtering).

int FILTERING_MODE_LINEAR

Sets the Filtering Mode to Linear (may require additional performance).

 

Deprecated Functions

Deprecated functions are outdated functions and should not be used anymore.

Function/Constant

Description

void SetExtrude(float extrude)

Use void SetExtrusion(float value) instead.

float GetExtrude()

Use float GetExtrusion() instead.

void SetPixelExtrude(int extrude)

Use void SetPixelExtrusion(int value)  instead.

int GetPixelExtrude()

Use int GetPixelExtrusion() instead.

void SetContinuous(int enable)

Use void SetSeamless(int enable) instead.

int GetContinuous()

Use int GetSeamless() instead.

void ToggleContinuous()

Use void ToggleSeamless() instead.

void SetGreyscale(int enable)

Use void SetGrayscale(int enable) instead.

int GetGreyscale()

Use int GetGrayscale() instead.

void ToggleGreyscale()

Use void ToggleGrayscale() instead.

 

MADRIX 2.X To MADRIX 3.X Migration Hints

The MADRIX 2.X effect SCE Video has been split into SCE Capture as well as SCE Video in MADRIX 3.X. The following functions are not supported anymore. Please follow the hints to migrate your macros.

Function/Constant

Description

void SetTile(int)

Use void SetTiling(int enable) instead.

int GetTile(void)        

Use int GetTiling() instead.

void SetGrey(int enable)

Use void SetGrayscale(int enable) instead.

int GetGrey(void)

Use int GetGrayscale() instead.

void SetRgbToRgbw(int enable)        

Use void SetRgbw(int enable) instead.

int GetRgbToRgbw()        

Use int GetRgbw() instead.

color GetFilterColor()        

Use color GetColor() instead.

void SetFilterColor(color)

Use void SetColor(color) instead.

int GetPixelImageWidth()

Use int GetImagePixelWidth() instead.

int GetPixelImageHeight()

Use int GetImagePixelHeight() instead.

void SetFilterColor(color)

Use void SetColor(color) instead.

color GetFilterColor()

Use  color GetColor() instead.

 

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