MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getFloatVariable

Method getFloatVariable

Engine/source/console/consoleInternal.cpp:591–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591F32 Dictionary::getFloatVariable(StringTableEntry name, bool *entValid)
592{
593 Entry *ent = lookup(name);
594 if (ent)
595 {
596 if (entValid)
597 *entValid = true;
598 return ent->getFloatValue();
599 }
600
601 if (entValid)
602 *entValid = false;
603
604 return 0;
605}
606
607void Dictionary::setVariable(StringTableEntry name, const char *value)
608{

Callers

nothing calls this directly

Calls 2

lookupFunction · 0.85
getFloatValueMethod · 0.45

Tested by

no test coverage detected