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

Method init

core/3d/Animate3D.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool Animate3D::init(Animation3D* animation)
73{
74 _animation = animation;
75 animation->retain();
76 setDuration(animation->getDuration());
77 setOriginInterval(animation->getDuration());
78 setQuality(Configuration::getInstance()->getAnimate3DQuality());
79 return true;
80}
81
82bool Animate3D::init(Animation3D* animation, float fromTime, float duration)
83{

Callers 1

createMethod · 0.45

Calls 5

getInstanceFunction · 0.85
getAnimate3DQualityMethod · 0.80
setDurationFunction · 0.50
retainMethod · 0.45
getDurationMethod · 0.45

Tested by

no test coverage detected