-------------------------------------------------------------------------------- Description: Get maximum curve set duration for the provided name. --------------------------------------------------------------------------------
| 463 | // Get maximum curve set duration for the provided name. |
| 464 | // -------------------------------------------------------------------------------- |
| 465 | float EveTransform::GetCurveSetDuration( const std::string& name ) const |
| 466 | { |
| 467 | float maxDuration = 0.f; |
| 468 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 469 | { |
| 470 | if( ( *it )->GetName() == name ) |
| 471 | { |
| 472 | maxDuration = max( maxDuration, ( *it )->GetMaxCurveDuration() ); |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | return maxDuration; |
| 477 | } |
| 478 | |
| 479 | // -------------------------------------------------------------------------------- |
| 480 | float EveTransform::GetRangeDuration( const std::string& name, const std::string& rangeName ) const |
no test coverage detected