MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getLastFrameDef

Method getLastFrameDef

Source/Animation/Animation.cpp:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248/* KeyAnimationDef */
249
250KeyFrameDef* KeyAnimationDef::getLastFrameDef() const {
251 if (!_keyFrameDefs.empty()) {
252 return _keyFrameDefs.back().get();
253 }
254 return nullptr;
255}
256
257void KeyAnimationDef::add(Own<KeyFrameDef>&& def) {
258 _keyFrameDefs.push_back(std::move(def));

Callers 1

xmlSAX2StartElementMethod · 0.80

Calls 3

getMethod · 0.65
emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected