Using Size Control

  Previous  Next

Functions Provided For Setting The Size

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

Function

Description

void SetSizeX(float value)

Sets the Size X (Width) value in percent of the matrix size.

float GetSizeX()

Returns the current Size X (Width) in percent of the matrix size.

void SetSizeY(float value)

Sets the Size Y (Height) value in percent of the matrix size.

float GetSizeY()

Returns the current Size Y (Height) in percent of the matrix size.

void SetSizeZ(float value)

Sets the Size Z (Depth) value in percent of the matrix size.

float GetSizeZ()

Returns the current Size Z (Depth) in percent of the matrix size.

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

Sets the size values x, y, z (Width, Height, Depth) in percent of the matrix size.

void SetPixelSizeX(int value)

Sets the Size X (Width) value in pixels.

int GetPixelSizeX()

Returns the current Size X (Width) in pixels.

void SetPixelSizeY(int value)

Sets the Size Y (Height) value in pixels.

int GetPixelSizeY()

Returns the current Size Y (Height) in pixels.

void SetPixelSizeZ(int value)

Sets the Size Z (Depth) value in pixels.

int GetPixelSizeZ()

Returns the current Size Z (Depth) in pixels.

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

Sets the size values x, y, z (Width, Height, Depth) in pixels.

 

Remarks

Not all effects that are using the Size Control support the functions SetSize and SetPixelSize with several parameters.

 

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

 


Enable automatic translation | Activer la traduction automatique |