Sign in to follow this  
homer_3

AnimationAllocation help

Recommended Posts

homer_3    173
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
Buckeye    10747
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

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