Using Center Control

  Previous  Next

Functions Provided For Setting The Center

The following table provides an overview of all functions the effect can use to modify the center:

Function

Description

void SetCenterX(float value)

Sets the Center X value in percent of the matrix size.

float GetCenterX()

Returns the current Center X in percent of the matrix size.

void SetCenterY(float value)

Sets the Center Y value in percent of the matrix size.

float GetCenterY()

Returns the current Center Y in percent of the matrix size.

void SetCenterZ(float value)

Sets the Center Z value in percent of the matrix size.

float GetCenterZ()

Returns the current Center Z in percent of the matrix size.

void SetCenter(float x, float y, float z)

Sets the center values X, Y, Z in percent of the matrix size.

void SetPixelCenterX(int value)

Sets the Center X value in pixels.

int GetPixelCenterX()

Returns the current Center X in pixels.

void SetPixelCenterY(int value)

Sets the Center Y value in pixels.

int GetPixelCenterY()

Returns the current Center Y in pixels.

void SetPixelCenterZ(int value)

Sets the Center Z value in pixels.

int GetPixelCenterZ(void)

Returns the current Center Z in pixels.

void SetPixelCenter(int x, int y, int z)

Sets the center values X, Y, Z in pixels.

void SetCenterMode(int )

Sets the mode. Valid values include CENTER_MODE_FIXED and CENTER_MODE_RANDOM.

int GetCenterMode()

Returns the currently set center mode.

 

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

 


Enable automatic translation | Activer la traduction automatique |