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

Method findName

Engine/source/ts/tsShape.cpp:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205S32 TSShape::findName(const String &name) const
206{
207 for (S32 i=0; i<names.size(); i++)
208 {
209 if (names[i].equal( name, String::NoCase ))
210 return i;
211 }
212
213 return -1;
214}
215
216const String& TSShape::getTargetName( S32 mapToNameIndex ) const
217{

Callers 1

doRenameFunction · 0.80

Calls 2

sizeMethod · 0.45
equalMethod · 0.45

Tested by

no test coverage detected