MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetVariable

Method SetVariable

trinity/Controllers/Tr2TimelineController.cpp:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void Tr2TimelineController::SetVariable( const char* name, float value )
240{
241 for( auto& var : m_variables )
242 {
243 if( var->GetName() == name )
244 {
245 var->SetValue( value );
246 return;
247 }
248 }
249}
250
251void Tr2TimelineController::HandleEvent( const char* eventName )
252{

Callers

nothing calls this directly

Calls 2

GetNameMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected