Skip to main content

History: AnimationSerializer

Preview of version: 3 (current)

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

Saving an animation
Copy to clipboard
AnimationSerializer animSerializer; animSerializer.exportAnimation(animation, "theAnimation.anim");
Loading an animation
Copy to clipboard
AnimationSerializer animSerializer; Animation* anim = animSerializer.importAnimation("theAnimation.anim");

See Also
see_also.jpg


Camcorder - the last part of the page shows how to use the camera recorder helper class with the animation serializer.

History

Information Version
Sat 31 of Jul, 2010 12:52 GMT-0000 jacmoe 3
Sat 31 of Jul, 2010 10:54 GMT-0000 jacmoe 2
Sat 31 of Jul, 2010 10:35 GMT-0000 jacmoe 1