SCE Graph

  Previous  Next

Functions Provided By SCE Graph

This effect uses the following functions:

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

This Effect uses the BPM Control. Learn more »Using BPM Control

This Effect uses Directions. Learn more »Using Directions

This Effect uses Look-At Types. Learn more »Using Look-At Types

This Effect uses Shapes. Learn more »Using Shapes

This Effect uses Text. Learn more »Using Text

 

Function

Description

Height

void SetHeight(float value)

Sets the Height value, which is the height of the shapes in percent of the matrix size (depending on the look-at type). The Height value means the minimum shape height if the shape height distribution is not uniform. Valid values for value range from 0.01 to 100.

float GetHeight()

Returns the current Height of the shapes in percent. The return value means the minimum shape height if the shape height distribution is not uniform.

void SetPixelHeight(int value)

Sets the Height value, which is the height of the shapes, in pixels. The Height value means the minimum shape height if the shape  height distribution is not uniform. Valid values for value range from 1 to the matrix size (depending on the look-at type).

int GetPixelHeight()

Returns the current Height of the shapes in pixels. The return value means the minimum shape height if the shape height distribution is not uniform.

void SetHeightMax(float value)

Sets the Maximum Height value, which is the maximum height of the shapes, in percent of the matrix size (depending on the look-at type). The Maximum Height value only applies if the shape height distribution is not uniform. Valid values for value range from 0.01 to 100.

float GetHeightMax()

Returns the current Maximum Height of the shapes in percent.

void SetPixelHeightMax(int value)

Sets the Maximum Height value, which is the maximum height of the shapes, in pixels. The maximum height value only applies if the shape height distribution is not uniform. Valid values for value range from 1 to the matrix size (depending on the look-at type).

int GetPixelHeightMax()

Returns the current Maximum Height of the shapes in pixels.

void SetHeightDistribution(int value)

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

int GetHeightDistribution()

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

void SeedRandomHeight()

Randomizes the heights of the shapes. Same as SetHeightDistribution(DIST_RND).

Width/Depth

void SetWidth(float value, int register)

Sets the Width value for register reg, which is the width of the shapes, in percent of the matrix size (depending on the look-at type). The Width value means the minimum shape width if the shape width distribution is not uniform. Valid values for value range from 0.01 to 100. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The width value for register REGISTER_Z1 actually controls the depth of the shapes.

float GetWidth(int register)

Returns the current Width of the shapes for register reg in percent. The return value means the minimum shape width if the shape width distribution is not uniform. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The return value for register REGISTER_Z1 actually represents the depth of the shapes.

void SetPixelWidth(int value, int register)

Sets the Width value for register reg, which is the width of the shapes, in pixels. The Width value means the minimum shape width if the shape width distribution is not uniform. Valid values for value range from 1 to the matrix size (depending on the look-at type). Valid values for reg are REGISTER_X1 or REGISTER_Z1. The width value for register REGISTER_Z1 actually controls the depth of the shapes.

int GetPixelWidth(int reg)

Returns the current Width of the shapes for register reg in pixels. The return value means the minimum shape width if the shape width distribution is not uniform. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The return value for register REGISTER_Z1 actually represents the depth of the shapes.

void SetWidthMax(float value, int register)

Sets the Maximum Width value for register reg, which is the maximum width of the shapes, in percent of the matrix size (depending on the look-at type). The Maximum Width value only applies if the shape width distribution is not uniform. Valid values for value range from 0.01 to 100. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The maximum width value for register REGISTER_Z1 actually controls the maximum depth of the shapes.

float GetWidthMax(int register)

Returns the current Maximum Width of the shapes for register reg in percent. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The return value for register REGISTER_Z1 actually represents the maximum depth of the shapes.

void SetPixelWidthMax(int value, int register)

Sets the Maximum Width value for register reg, which is the maximum width of the shapes, in pixels. The maximum width value only applies if the shape width distribution is not uniform. Valid values for value range from 1 to the matrix size (depending on the look-at type). Valid values for reg are REGISTER_X1 or REGISTER_Z1. The maximum width value for register REGISTER_Z1 actually controls the maximum depth of the shapes.

int GetPixelWidthMax(int register)

Returns the current Maximum Width of the shapes for register reg in pixels. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The return value for register REGISTER_Z1 actually represents the maximum depth of the shapes.

void SetWidthDistribution(int value, int register)

Sets the width Distribution value for register reg, which defines how the range between the current minimum and the current maximum shape width is applied to the shapes. See »here for a list of constants. Valid values for reg are REGISTER_X1 and REGISTER_Z1. The width distribution value for register REGISTER_Z1 actually controls the depth distribution of the shapes.

int GetWidthDistribution(int register)

Returns the current width Distribution of the shapes for register reg. See »here for a list of constants. Valid values for reg are REGISTER_X1 or REGISTER_Z1. The return value for register REGISTER_Z1 actually represents the depth distribution of the shapes.

void SeedRandomWidth(int register)

Randomizes the widths of the shapes for register reg. Is the same as SetWidthDistribution(DIST_RND, reg). Valid values for reg are REGISTER_X1 or REGISTER_Z1.

Pitch

void SetPitch(float value, int register)

Sets the Pitch value for register reg, which is the distance of the shapes, in percent of the matrix size (depending on the look-at type). The pitch value means the minimum pitch if the pitch distribution is not uniform. Valid values for value range from 0.01 to 100. Valid values for reg are REGISTER_X1, for which the Pitch value controls the X-distance, and REGISTER_Z1 for the Z-distance.

float GetPitch(int register)

Returns the current Pitch of the shapes for register reg in percent. The return value means the minimum pitch if the pitch distribution is not uniform. Valid values for reg are REGISTER_X1, for which the return value represents the X-distance, and REGISTER_Z1 for the Z-distance.

void SetPixelPitch(int value, int register)

Sets the Pitch value for register reg, which is the distance of the shapes, in pixels. The pitch value means the minimum pitch if the pitch distribution is not uniform. Valid values for value range from 1 to the matrix size (depending on the look-at type). Valid values for reg are REGISTER_X1, for which the Pitch value controls the X-distance, and REGISTER_Z1 for the Z-distance.

int GetPixelPitch(int register)

Returns the current Pitch of the shapes for register reg in pixels. The return value means the minimum pitch if the pitch distribution is not uniform. Valid values for reg are REGISTER_X1, for which the return value represents the X-distance, and REGISTER_Z1 for the Z-distance.

void SetPitchMax(float value, int register)

Sets the Maximum Pitch value for register reg, which is the maximum distance of the shapes, in percent of the matrix size (depending on the look-at type). The maximum pitch value only applies if the pitch distribution is not uniform. Valid values for value range from 0.01 to 100. Valid values for reg are REGISTER_X1, for which the maximum pitch value controls the maximum X-distance, and REGISTER_Z1 for the maximum Z-distance.

float GetPitchMax(int register)

Returns the current Maximum Pitch of the shapes for register reg in percent. Valid values for reg are REGISTER_X1, for which the return value represents the maximum X-distance, and REGISTER_Z1 for the maximum Z-distance.

void SetPixelPitchMax(int value, int register)

Sets the Maximum Pitch value for register reg, which is the maximum distance of the shapes, in pixels. The maximum pitch value only applies if the pitch distribution is not uniform. Valid values for value range from 1 to the matrix size (depending on the look-at type). Valid values for reg are REGISTER_X1, for which the maximum pitch value controls the maximum X-distance, and REGISTER_Z1 for the maximum Z-distance.

int GetPixelPitchMax(int register)

Returns the current Maximum Pitch of the shapes for register reg in pixels. Valid values for reg are REGISTER_X1, for which the return value represents the maximum X-distance, and REGISTER_Z1 for the maximum Z-distance.

void SetPitchDistribution(int value, int register)

Sets the Pitch Distribution value for register reg, which defines how the range between the current minimum and the current maximum pitch is applied to the shapes. See »here for a list of constants. Valid values for reg are REGISTER_X1, for which the pitch distribution value controls the X-distance distribution, and REGISTER_Z1 for the Z-distance distribution.

int GetPitchDistribution(int register)

Returns the current Pitch Distribution of the shapes for register reg. See »here for a list of constants. Valid values for reg are REGISTER_X1, for which the return value represents the X-distance distribution, and REGISTER_Z1 for the Z-distance distribution.

void SeedRandomPitch(int register)

Randomizes the pitches of the shapes for register reg. Is the same as SetPitchDistribution(DIST_RND, reg). Valid values for reg are REGISTER_X1 or REGISTER_Z1.

Functional Parameters

void SetFrequency(float value, int register)

Sets the Frequency value for register reg, which defines the number of periods of the graph function. The frequency value means the minimum frequency if the frequency distribution is not uniform. Valid values for value range from 0 to 100. See below for a list of register constants.

float GetFrequency(int register)

Returns the current Frequency for register reg. The return value means the minimum frequency if the frequency distribution is not uniform. See below for a list of register constants.

void SetFrequencyMax(float value, int register)

Sets the Maximum Frequency value for register reg, which defines the maximum number of periods of the graph function. The maximum frequency value only applies if the frequency distribution is not uniform. Valid values for value range from 0 to 100. See below for a list of register constants.

float GetFrequencyMax(int register)

Returns the current Maximum Frequency for register reg. See below for a list of register constants.

void SetFrequencyDistribution(int value, int register)

Sets the Frequency Distribution value for register reg, which defines how the range between the current minimum and the current maximum frequency is applied to the shapes. See »here for a list of constants. See below for a list of register constants.

int GetFrequencyDistribution(int register)

Returns the current Frequency Distribution for register reg. See »here for a list of constants. See below for a list of register constants.

void SeedRandomFrequency(int register)

Randomizes the frequencies for register reg. Same as SetFrequencyDistribution(DIST_RND, reg). See below for a list of register constants.

void SetAmplitude(float value, int register)

Sets the Amplitude value for register reg, which defines how wide the shapes oscillate, in percent of the matrix size (depending on the look-at type). The amplitude value means the minimum amplitude if the amplitude distribution is not uniform. Valid values for value range from -1000 to 1000. See below for a list of register constants.

float GetAmplitude(int register)

Returns the current Amplitude for register reg in percent. The return value means the minimum amplitude if the amplitude distribution is not uniform. See below for a list of register constants.

void SetPixelAmplitude(int value, int register)

Sets the Amplitude value for register reg, which defines how wide the shapes oscillate, in pixels. The amplitude value means the minimum amplitude if the amplitude distribution is not uniform. Valid values for value range between - and + ten times the matrix size (depending on the look-at type). See below for a list of register constants.

int GetPixelAmplitude(int register)

Returns the current Amplitude for register reg in pixels. The return value means the minimum amplitude if the amplitude distribution is not uniform. See below for a list of register constants.

void SetAmplitudeMax(float value, int register)

Sets the Maximum Amplitude value for register reg, which defines how wide the shapes oscillate, in percent of the matrix size (depending on the look-at type). The maximum amplitude value only applies if the amplitude distribution is not uniform. Valid values for value range from -1000 to 1000. See below for a list of register constants.

float GetAmplitudeMax(int register)

Returns the current Maximum Amplitude for register reg in percent. See below for a list of register constants.

void SetPixelAmplitudeMax(int value, int register)

Sets the Maximum Amplitude value for register reg, which defines how wide the shapes oscillate, in pixels. The maximum amplitude value only applies if the amplitude distribution is not uniform. Valid values for value range between - and + ten times the matrix size (depending on the look-at type). See below for a list of register constants.

int GetPixelAmplitudeMax(int register)

Returns the current Maximum Amplitude for register reg in pixels. See below for a list of register constants.

void SetAmplitudeDistribution(int value, int register)

Sets the Amplitude Distribution value for register reg, which defines how the range between the current minimum and the current maximum amplitude is applied to the shapes. See »here for a list of constants. See below for a list of register constants.

int GetAmplitudeDistribution(int register)

Returns the current Amplitude Distribution for register reg. See »here for a list of constants. See below for a list of register constants.

void SeedRandomAmplitude(int register)

Randomizes the amplitudes for register reg. Is the same as SetAmplitudeDistribution(DIST_RND, reg). See below for a list of register constants.

void SetPhase(float value, int register)

Sets the Phase value for register reg, which defines an offset for the graph function, in percent of the wavelength. Valid values for value range from 0 to 100. See below for a list of register constants.

float GetPhase(int register)

Returns the current Phase for register reg in percent. See below for a list of register constants.

void SetPeak(float value, int register)

Sets the Peak value for register reg, which defines a threshold for the graph function, in percent of the wavelength. This only applies to the Triangle and the Square function type. Valid values for value range from 0 to 100. See below for a list of register constants.

float GetPeak(int register)

Returns the current Peak for register reg in percent. See below for a list of register constants.

void SetFunctionType(int value, int register)

Sets the Function Type value for register reg, which defines the base function for the graph. See »here for a list of constants. See below for a list of register constants.

int GetFunctionType(int register)

Returns the current Function Type for register reg. See »here for a list of constants. See below for a list of register constants.

Others

void ClearRegister(int register)

Sets all functional parameters for register reg to their defaults. See below for a list of register constants.

Function

Description

void SetBorder(float value)

Sets the Border of objects. Valid values range from 0.01 to 100.

float GetBorder()

Returns the currently set Border.

void SetPixelBorder(int value)

Sets the Border of objects in pixels based on the object size.

int GetPixelBorder()

Returns the currently set Border in pixels.

void SetOuterGlow(float value)

Sets the Outer Glow of objects. Valid values range from 0.00 to 100.

float GetOuterGlow()

Returns the currently set Outer Glow.

void SetPixelOuterGlow(int value)

Sets the Outer Glow of objects in pixels based on the object size.

int GetPixelOuterGlow()

Returns the currently set Outer Glow in pixels.

void SetInnerGlow(float value)

Sets the Inner Glow of objects. Valid values range from 0.00 to 100.

float GetInnerGlow()

Returns the currently set Inner Glow.

void SetPixelInnerGlow(int value)

Sets the Inner Glow of objects in pixels based on the object size.

int GetPixelInnerGlow()

Returns the currently set Inner Glow in pixels.

 

Register Constants

Constant

Description

int REGISTER_X1

Selects register 1 for X-Axis.

int REGISTER_X2

Selects register 2 for X-Axis.

int REGISTER_X3

Selects register 3 for X-Axis.

int REGISTER_Z1

Selects register 1 for Z-Axis.

int REGISTER_Z2

Selects register 2 for Z-Axis.

int REGISTER_Z3

Selects register 3 for Z-Axis.

int REGISTER_P1

Selects register 1 for extruded phase.

int REGISTER_P2

Selects register 2 for extruded phase.

int REGISTER_P3

Selects register 3 for extruded phase.

 

MADRIX 3.X To MADRIX 5.X Migration Hints

The following functions are not supported anymore. Please follow the hints to migrate your macros.

Function

Description

void EditableTextSetTextRotationMode(int value)

Use SetShapeRotation(int value) instead.

int EditableTextGetTextRotationMode()

Use GetShapeRotation() instead.

 

MADRIX Version: 5.6 | Script Version: 3.18
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
 Previous   Next

 


Enable automatic translation | Activer la traduction automatique |