Sets the animation type.
Call this function to set animation type. You can use one of the following values: