Sign in to follow this  

How to unregister a key framed animationset

Recommended Posts

According to the MS doc, only LPD3DXANIMATIONSET can be released by UnregisterAnimationSet.
The closest i can get is UnregisterAnimation.
However, What i need is to unregister the animation set, otherwise i cannot continue to add new animation sets to the controller. The space is sparse. Any lights?

Share this post

Link to post
Share on other sites
The UnregisterAnimationSet method is not in the animation sets to begin with - it is a method of the animation controller.

EDIT: The keyframed animation set does have its own UnregisterAnimation method, but it merely removes animation data from the set itself. The controller's UnregisterAnimationSet is an unrelated method that takes in pointer to any interface that derives from the base animation set, and removes it from the animation system regardless of the final type of the set (as long as it derives from ID3DXAnimationSet).

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this