IrrAddTextureAnimator

section index

## NAME

IrrAddTextureAnimator - add a texture animator to a node

## SYNOPSIS

*animator.l = IrrAddTextureAnimator( *irr_node.l, iTextures.l,*texArray.l,speed.l,loop.l )

## INPUTS

*irr_node.l | - | refers to a node you have added to the scene.
iTextures | - | number of texture in the Array.
*texArray.l | - | pointer to the Array of Textures. You have to ensure that the size and content of the Array is valid. It is not checked !
speed.l | - | Time in milliseconds, how long any texture in the list should be visible.
loop.l | - | If set to #False, the last texture remains set, and the animation stops. If set to #True, the animation restarts with the first texture.

## FUNCTION

Add a texture animator , which switches the textures of the target scene node based on a list of textures.

## EXAMPLE

       *TextureAnimator.l = IrrAddTextureAnimator( *irr_node.l, 4,*texArray.l,200,#True )

## RESULT

pointer to a Irrlicht-Animator.