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

Method findByObject

Engine/source/gui/editor/guiInspector.cpp:548–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546//-----------------------------------------------------------------------------
547
548GuiInspector* GuiInspector::findByObject( SimObject *obj )
549{
550 sgKeyObj = obj;
551
552 Vector< GuiInspector* > found;
553 Sim::getGuiGroup()->findObjectByCallback( findInspectors, found );
554
555 if ( found.empty() )
556 return NULL;
557
558 return found.first();
559}
560
561//-----------------------------------------------------------------------------
562

Callers

nothing calls this directly

Calls 3

findObjectByCallbackMethod · 0.80
emptyMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected