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

Method findObject

Engine/source/ts/tsShape.cpp:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239S32 TSShape::findObject(S32 nameIndex) const
240{
241 for (S32 i=0; i<objects.size(); i++)
242 if (objects[i].nameIndex==nameIndex)
243 return i;
244 return -1;
245}
246
247S32 TSShape::findDetail(S32 nameIndex) const
248{

Callers 6

findNamedEffectMethod · 0.45
initSourceGeometryMethod · 0.45
setMeshHiddenMethod · 0.45
getMeshHiddenMethod · 0.45
setMeshHiddenMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected