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

Method setLinkFlags

Engine/source/navigation/navMesh.cpp:486–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

NavEditorGuiFunction · 0.45
NavEditorGuiFunction · 0.45
navMesh.cppFile · 0.45

Calls 2

sizeMethod · 0.45
getFlagsMethod · 0.45

Tested by

no test coverage detected