-------------------------------------------------------------------------------- Description: Plays all curve sets. --------------------------------------------------------------------------------
| 532 | // Plays all curve sets. |
| 533 | // -------------------------------------------------------------------------------- |
| 534 | void EveEffectRoot2::Start() |
| 535 | { |
| 536 | // play curvesets owned by this effect root |
| 537 | for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ ) |
| 538 | { |
| 539 | ( *it )->Play(); |
| 540 | } |
| 541 | |
| 542 | // play curvesets on children owned by this effect root |
| 543 | for( auto cit = m_effectChildren.begin(); cit != m_effectChildren.end(); cit++ ) |
| 544 | { |
| 545 | if( auto child = dynamic_cast<ITr2CurveSetOwner*>( *cit ) ) |
| 546 | { |
| 547 | child->PlayAllCurveSets(); |
| 548 | } |
| 549 | } |
| 550 | } |
| 551 | |
| 552 | // -------------------------------------------------------------------------------- |
| 553 | // Description: |
no test coverage detected