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

Method setLinkFlags

Engine/source/navigation/navMesh.cpp:482–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482void NavMesh::setLinkFlags(U32 idx, const LinkData &d)
483{
484 if(idx < mLinkIDs.size())
485 {
486 mLinkFlags[idx] = d.getFlags();
487 mLinksUnsynced[idx] = true;
488 }
489}
490
491DefineEngineMethod(NavMesh, setLinkFlags, void, (U32 id, U32 flags),,
492 "Set the flags of a particular off-mesh link.")

Callers 1

navMesh.cppFile · 0.45

Calls 2

sizeMethod · 0.45
getFlagsMethod · 0.45

Tested by

no test coverage detected