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

Method hasAnimation

Source/Node/Model.cpp:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82bool Model::hasAnimation(String name) const {
83 return _modelDef->getAnimationIndexByName(name) != Animation::None;
84}
85
86void Model::addLook(int index, Node* node) {
87 for (int n = s_cast<int>(_looks.size()); n < index + 1; _looks.push_back(New<Look>()), n++);

Callers 1

model_has_animationFunction · 0.45

Calls 1

Tested by

no test coverage detected