51 bool Load(
const char* path, std::string name);
54 return m_animationData;
60 std::string findRootJointName();
62 std::vector<float> getKeyTimes();
64 static std::vector<KeyFrameData*> initKeyFrames(
const std::vector<float>& times);
66 static void loadJointTransforms(std::vector<KeyFrameData*> frames,
const XNode& jointData,
67 const std::string& rootNodeId);
69 static std::string getJointName(
const XNode& jointData);
71 static std::string getDataId(
const XNode& jointData);
74 processTransforms(
const std::string& jointName, std::vector<float> rawData,
75 std::vector<KeyFrameData*> keyFrames,
bool root);
79 const XNode* m_root{};