PLAY ANIMATION TO IMAGE This command will play a specified animation to an image.
Syntax
    PLAY ANIMATION TO IMAGE Animation Number,Image,Left,Top,Right,Bottom
Parameters
    Animation Number
Integer This value specifies the animation number, between 1 and 32
    Image
Integer This value specifies the image to draw to
    Left
Integer This value represents the X coordinate of the top left corner of the image to be drawn
    Top
Integer This value represents the Y coordinate of the top left corner of the image to be drawn
    Right
Integer This value represents the X coordinate of the bottom right corner of the image to be drawn
    Bottom
Integer This value represents the Y coordinate of the bottom right corner of the image to be drawn
Returns
This command does not return a value.
Description
An image will be created, using the animation as a source of animating texture and copy the animation to the specified region within the image. You can use this as a rapid method of streaming an animation to any polygon.
Example Code
    LOAD ANIMATION "video.avi",1

    PLAY ANIMATION TO IMAGE 1,2,8,8,32,32
See also
ANIMATION Commands Menu Index