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

Method restoreResetAnimation

Source/Animation/Animation.cpp:346–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346void KeyAnimationDef::restoreResetAnimation(Node* target, ActionDuration* action) {
347 ResetAction* resetAction = DoraAs<ResetAction>(action);
348 if (resetAction) {
349 target->setVisible(_keyFrameDefs[0]->visible);
350 resetAction->prepareWith(target);
351 resetAction->updateEndValues(_keyFrameDefs[0].get());
352 }
353}
354
355/* FrameAnimationDef */
356

Callers

nothing calls this directly

Calls 4

prepareWithMethod · 0.80
updateEndValuesMethod · 0.80
getMethod · 0.65
setVisibleMethod · 0.45

Tested by

no test coverage detected