Using Position Control

  Previous  Next

Functions Provided For Setting The Position

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

Function

Description

void SetPositionX(float value)

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

float GetPositionX()

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

void SetPositionY(float value)

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

float GetPositionY()

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

void SetPositionZ(float value)

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

float GetPositionZ()

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

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

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

void SetPixelPositionX(int value)

Sets the Position X value in pixels.

int GetPixelPositionX()

Returns the current Position X in pixels.

void SetPixelPositionY(int value)

Sets the Position Y value in pixels.

int GetPixelPositionY()

Returns the current Position Y in pixels.

void SetPixelPositionZ(int value)

Sets the Position Z value in pixels.

int GetPixelPositionZ(void)

Returns the current Position Z in pixels.

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

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

 

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

 


Enable automatic translation | Activer la traduction automatique |