Save the animation in STATE 3D animation file format.
The saved file can be later loaded using STATE_object_create_from_file();
One of the uses for this function could be if you are writing a converter
from your own 3D animation file format to STATE.