Introduction
This is a simple serializer to save and load an animation (animationtrack) to and from disk in binary format.
It was created for use with the Camcorder camera motion recorder, but could be used for any animationtrack keyframe based animation.
Code
Usage
Copy to clipboard
AnimationSerializer animSerializer; animSerializer.exportAnimation(animation, "theAnimation.anim");
Copy to clipboard
AnimationSerializer animSerializer; Animation* anim = animSerializer.importAnimation("theAnimation.anim");
See Also
|