| 293 | #endif |
| 294 | |
| 295 | unsigned int TriGeometryRes::GetAnimationCount() const |
| 296 | { |
| 297 | if( IsUsingCMF() ) |
| 298 | { |
| 299 | if( IsGood() && m_cmfContents ) |
| 300 | { |
| 301 | return (int)m_cmfContents.GetData()->animations.size(); |
| 302 | } |
| 303 | } |
| 304 | #if WITH_GRANNY |
| 305 | else |
| 306 | { |
| 307 | if( auto info = GetGrannyInfo() ) |
| 308 | { |
| 309 | return info->AnimationCount; |
| 310 | } |
| 311 | } |
| 312 | #endif |
| 313 | return 0; |
| 314 | } |
| 315 | |
| 316 | unsigned int TriGeometryRes::GetMeshCount() const |
| 317 | { |
nothing calls this directly
no test coverage detected