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

Method update

Source/Node/Spine.cpp:352–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352bool Spine::update(double deltaTime) {
353 if (isUpdating()) {
354 _animationState->update(s_cast<float>(deltaTime));
355 _animationState->apply(*_skeleton);
356 _skeleton->updateWorldTransform(spine::Physics_Update);
357 if (_bounds && isHitTestEnabled()) {
358 _bounds->update(*_skeleton, true);
359 }
360 }
361 return Node::update(deltaTime);
362}
363
364void Spine::render() {
365 Matrix transform;

Callers

nothing calls this directly

Calls 3

applyMethod · 0.65
updateFunction · 0.50
updateWorldTransformMethod · 0.45

Tested by

no test coverage detected