IrrAddAnimSprite

section index

## NAME

IrrAddAnimSprite - Adds a AnimSprite

## SYNOPSIS

IrrAddAnimSprite( [*parent.l, id.l] )

## FUNCTION

Add a AnimSpriteSceneNode to the Scene. You have to load or Catch a Texture/Image. This can als be a AnimStrip. See IrrAnimSpriteLoad() or IrrAnimSpriteCatch().

## INPUTS

id.l | - | (optional) id of the Scene Node

## RESULT

A Pointer to the AnimSpriteSceneNode if success otherwise #Null

## EXAMPLE

       *animspritenode.l = IrrAddAnimSprite()