Using Center Control

   Print  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 )

 

int GetCenterMode()

 

 

MADRIX Version: 5.1a | Script Version: 3.10
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next