MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setScriptValue

Method setScriptValue

Engine/source/gui/buttons/guiButtonBaseCtrl.cpp:412–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410//-----------------------------------------------------------------------------
411
412void GuiButtonBaseCtrl::setScriptValue(const char *value)
413{
414 mStateOn = dAtob(value);
415
416 // Update the console variable:
417 if ( mConsoleVariable[0] )
418 Con::setBoolVariable( mConsoleVariable, mStateOn );
419
420 setUpdate();
421}
422
423//-----------------------------------------------------------------------------
424

Callers

nothing calls this directly

Calls 2

setBoolVariableFunction · 0.85
dAtobFunction · 0.50

Tested by

no test coverage detected