MCPcopy Create free account
hub / github.com/ccMSC/ckb / init

Method init

src/ckb/animscript.cpp:239–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void AnimScript::init(const KeyMap& map, const QStringList& keys, const QMap<QString, QVariant>& paramValues){
240 if(_path == "")
241 return;
242 end();
243 _map = map;
244 _colors.init(map);
245 _colorBuffer.init(map);
246 _keys = keys;
247 _paramValues = paramValues;
248 setDuration();
249 stopped = firstFrame = false;
250 initialized = true;
251}
252
253void AnimScript::setDuration(){
254 if(_info.absoluteTime){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected