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

Method SetVariable

trinity/Controllers/Tr2Controller.cpp:273–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void Tr2Controller::SetVariable( const char* name, float value )
274{
275 if( auto var = GetVariableByName( name ) )
276 {
277 var->SetValue( value );
278 }
279}
280
281void Tr2Controller::HandleEvent( const char* eventName )
282{

Callers 13

SetControllerVariableMethod · 0.45
OnListModifiedMethod · 0.45
SetControllerVariableMethod · 0.45
OnListModifiedMethod · 0.45
SetControllerVariableMethod · 0.45
SetControllerVariableMethod · 0.45
OnListModifiedMethod · 0.45
SetControllerVariableMethod · 0.45
SetControllerVariableMethod · 0.45
OnListModifiedMethod · 0.45
SetControllerVariableMethod · 0.45
OnListModifiedMethod · 0.45

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected