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

Method setSpeed

Source/Node/DragonBone.cpp:454–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void DragonBone::setSpeed(float var) {
455 AssertIf(_flags.isOn(Node::Cleanup), "can not operate on an invalid DragonBone");
456 Playable::setSpeed(var);
457 _armatureProxy->getAnimation()->timeScale = var;
458}
459
460void DragonBone::setRecovery(float var) {
461 Playable::setRecovery(var);

Callers

nothing calls this directly

Calls 2

isOnMethod · 0.80
getAnimationMethod · 0.80

Tested by

no test coverage detected