MCPcopy Create free account
hub / github.com/assimp/assimp / BoneById

Method BoneById

code/AssetLib/Ogre/OgreStructs.cpp:915–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913}
914
915Bone *Skeleton::BoneById(uint16_t id) const {
916 for (BoneList::const_iterator iter = bones.begin(); iter != bones.end(); ++iter) {
917 if ((*iter)->id == id)
918 return (*iter);
919 }
920 return nullptr;
921}
922
923// Bone
924

Callers 5

ConvertToAssimpMeshMethod · 0.80
ConvertToAssimpNodeMethod · 0.80
ReadBoneParentMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected