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

Method getFloatVariable

Engine/source/console/consoleInternal.cpp:655–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655F32 Dictionary::getFloatVariable(StringTableEntry name, bool *entValid)
656{
657 Entry *ent = lookup(name);
658 if(ent)
659 {
660 if(entValid)
661 *entValid = true;
662 return ent->getFloatValue();
663 }
664
665 if(entValid)
666 *entValid = false;
667
668 return 0;
669}
670
671void Dictionary::setVariable(StringTableEntry name, const char *value)
672{

Callers

nothing calls this directly

Calls 1

getFloatValueMethod · 0.45

Tested by

no test coverage detected