| 355 | } |
| 356 | |
| 357 | std::vector<bool>* Tr2Mesh::GetAllBakedMorphTargetStates() const |
| 358 | { |
| 359 | if( !GetGeometryResource() ) |
| 360 | { |
| 361 | return nullptr; |
| 362 | } |
| 363 | |
| 364 | auto mesh = GetGeometryResource()->GetMeshLod( GetMeshIndex(), 0 ); |
| 365 | |
| 366 | if( !mesh ) |
| 367 | { |
| 368 | return nullptr; |
| 369 | } |
| 370 | |
| 371 | return &mesh->m_isBakedMorphTarget; |
| 372 | } |
| 373 | |
| 374 | const std::unordered_map<std::string, Tr2MorphTargetAnimationData>& Tr2Mesh::GetMorphAnimations() const |
| 375 | { |
nothing calls this directly
no test coverage detected