| 47 | } |
| 48 | |
| 49 | void EveMultiEffect::Rebind( bool onlyUpdateBindings ) |
| 50 | { |
| 51 | for( auto binding = m_bindings.begin(); binding != m_bindings.end(); ++binding ) |
| 52 | { |
| 53 | ( *binding )->Link(); |
| 54 | const Be::Time time = 0; |
| 55 | ( *binding )->Update( time ); |
| 56 | } |
| 57 | |
| 58 | if( onlyUpdateBindings ) |
| 59 | { |
| 60 | return; |
| 61 | } |
| 62 | |
| 63 | for( auto it = begin( m_controllers ); it != end( m_controllers ); ++it ) |
| 64 | { |
| 65 | ( *it )->Link( *GetRawRoot() ); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | bool EveMultiEffect::Initialize() |
| 70 | { |