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

Method getLookIndexByName

Source/Animation/ModelDef.cpp:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207int ModelDef::getLookIndexByName(String name) {
208 auto it = _lookIndex.find(name);
209 if (it != _lookIndex.end()) {
210 return it->second;
211 }
212 return Look::None;
213}
214
215const StringMap<int>& ModelDef::getAnimationIndexMap() const {
216 return _animationIndex;

Callers 1

setLookMethod · 0.80

Calls 2

findMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected