MCPcopy Create free account
hub / github.com/axmolengine/axmol / getAnimation

Method getAnimation

core/3d/Animation3D.cpp:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207Animation3D* Animation3DCache::getAnimation(std::string_view key)
208{
209 auto it = _animations.find(key);
210 if (it != _animations.end())
211 return it->second;
212 return nullptr;
213}
214
215void Animation3DCache::addAnimation(std::string_view key, Animation3D* animation)
216{

Callers 5

createMethod · 0.45
onEnterMethod · 0.45
initMethod · 0.45
AnimationCacheTestMethod · 0.45
AnimationCacheFileMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 4

onEnterMethod · 0.36
initMethod · 0.36
AnimationCacheTestMethod · 0.36
AnimationCacheFileMethod · 0.36