hgeResourceManager::GetAnimation

Returns pointer to a named animation.

hgeAnimation *GetAnimation(
  const char *name
);

Parameters

name
Animation name.

Return value

If successful, returns pointer to the hgeAnimation object. Otherwise returns 0.

Remarks

To use an animation with hgeResourceManager you must define it in the resource script.

If the animation hasn't been created yet, it will be created. Otherwise pointer to the existing animation will be returned.

Requirements

Header: hgeresource.h
Import library: hgehelp.lib