| 321 | } |
| 322 | |
| 323 | std::optional<float> Tr2TimelineController::GetFloatVariableByName( const char* name ) const |
| 324 | { |
| 325 | for( auto& var : m_variables ) |
| 326 | { |
| 327 | if( var->GetName() == name ) |
| 328 | { |
| 329 | return var->GetValue(); |
| 330 | } |
| 331 | } |
| 332 | return std::nullopt; |
| 333 | } |
| 334 | |
| 335 | void Tr2TimelineController::GetExpressionTermInfo( std::vector<Tr2ExpressionTermInfoPtr>& out ) const |
| 336 | { |