27#include "Utils/CSingleton.h"
28#include "CAnimation.h"
29#include "CAnimationClip.h"
31#include "Importer/IAnimationImporter.h"
32#include "Exporter/IAnimationExporter.h"
52 class SKYLICHT_API CAnimationManager
59 std::map<std::string, CAnimationClip*>
m_clips;
67 virtual ~CAnimationManager();
Represents an animation clip containing multiple animation tracks for different entities.
Definition CAnimationClip.h:41
Container for a collection of animation clips.
Definition CAnimation.h:36
CAnimationClip * loadAnimation(const char *resource, IAnimationImporter *importer)
Loads an animation clip using a specific importer.
CAnimation * createAnimation(const char *name)
Creates or retrieves a named animation container.
CAnimation * getAnimation(const char *animName)
Gets a named animation container.
Definition CAnimationManager.h:81
void releaseAllClips()
Releases all cached animation clips.
std::map< std::string, CAnimation * > m_animations
Cached animation containers indexed by name.
Definition CAnimationManager.h:62
std::map< std::string, CAnimationClip * > m_clips
Cached animation clips indexed by resource path.
Definition CAnimationManager.h:59
void releaseAllAnimations()
Releases all cached animation containers.
bool exportAnimation(CAnimationClip *clip, const char *output, IAnimationExporter *exporter)
Exports an animation clip using a specific exporter.
CAnimationClip * loadAnimation(const char *resource)
Loads an animation clip from a file.
bool exportAnimation(CAnimationClip *clip, const char *output)
Exports an animation clip to a file.
Definition IAnimationExporter.h:32
Definition IAnimationImporter.h:32
#define DECLARE_SINGLETON(className)
Declare the standard singleton accessors for a class.
Definition CSingleton.h:36
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition AudioDebugLog.h:29