• Advertisement
Sign in to follow this  

AnimationAllocation help

This topic is 3542 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to figure out how to load in an animated .X file and I'm using the SimpleAnimation example as a tutorial. In one spot it uses the AnimationAllocation class. When I try to use it, I get a type or namespace couldn't be found error. The only difference in references that the SimpleAnimation has is it has a reference to mscorlib. But when I try to add that reference, the IDE (MS Visual C# 2008) won't let me. So how can I use the AnimationAllocation class?

Share this post


Link to post
Share on other sites
Advertisement
I don't have the C# version of SimpleAnimation but in the C++, you have to derive a class from AllocateHierarchy base class which has some pure virtual functions that must be overridden.

I suspect that AnimationAllocation is not an available C# class. The SimpleAnimation example should have files declaring and defining the AnimationAllocation class which you can copy and modify.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement