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

Method setProtectedMesh

Engine/source/navigation/navPath.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool NavPath::setProtectedMesh(void *obj, const char *index, const char *data)
100{
101 NavPath *object = static_cast<NavPath*>(obj);
102
103 if(Sim::findObject(data, object->mMesh))
104 object->checkAutoUpdate();
105
106 return true;
107}
108
109bool NavPath::setProtectedWaypoints(void *obj, const char *index, const char *data)
110{

Callers

nothing calls this directly

Calls 2

checkAutoUpdateMethod · 0.80
findObjectFunction · 0.50

Tested by

no test coverage detected