Using Image Table

   Print  Previous  Next

Functions Provided For Using The Image List

The following table provides an overview of all functions the effect can use to modify the images in an Image Table:

 

Function

Description

int ImageListGetCount()

Returns the current number of images in the Image Table.

void ImageListMoveImageUp(int index)

Moves an image with its specified index up a place in the Image Table.

void ImageListMoveImageDown(int index)

Moves an image with its specified index down a place in the Image Table.

void ImageListInvert()

Inverts the complete Image Table regarding the positions of the images in the table.

void ImageListSwapImage(int index1, int index2)

Swaps images with their specified indices in the Image Table.

void ImageListSetImageRotation(int index, int rotation)

Sets the image Rotation mode for an image with the specified index in the Image Table. See below for details.

int ImageListGetImageRotation(int index)

Returns the image Rotation mode for an image with the specified index in the Image Table. See below for details.

void ImageListSetImageDuration(int index, float duration)

Sets the Duration for an image with the specified index in the Image Table. Note that the Fade Time is a part of the Duration.

float ImageListGetImageDuration(int index)

Returns the Duration for an image with the specified index in the Image Table.

void ImageListSetImageFadeTime(int index, float fadetime)

Sets the Fade Time for an image with the specified index in the Image Table. Note that the Fade Time is a part of the Duration.

float ImageListGetImageFadeTime(int index)

Returns the Fade Time for an image with the specified index in the Image Table.

 

Rotation Mode Constants

Constant

Description

int ROTATION_CCW_0

Does not activate Rotation. Is the same as ROTATION_CW_0.

int ROTATION_CCW_90

Rotates by 90 degrees in counter-clockwise direction. Is the same as ROTATION_CW_270.

int ROTATION_CCW_180

Rotates by 180 degrees in counter-clockwise direction. Is the same as ROTATION_CW_180.

int ROTATION_CCW_270

Rotates by 270 degrees in counter-clockwise direction. Is the same as ROTATION_CW_90.

int ROTATION_CW_0

Does not activate Rotation. Is the same as ROTATION_CCW_0.

int ROTATION_CW_90

Rotates by 90 degrees in clockwise direction. Is the same as ROTATION_CCW_270.

int ROTATION_CW_180

Rotates by 180 degrees in clockwise direction. Is the same as ROTATION_CCW_180.

int ROTATION_CW_270

Rotates by 270 degrees in clockwise direction. Is the same as ROTATION_CCW_90.

 

MADRIX Version: 3.6j | Script Version: 2.22
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next