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

Method selectLink

Engine/source/navigation/navMesh.cpp:526–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526void NavMesh::selectLink(U32 idx, bool select, bool hover)
527{
528 if(idx < mLinkIDs.size())
529 {
530 if(!select)
531 mLinkSelectStates[idx] = Unselected;
532 else
533 mLinkSelectStates[idx] = hover ? Hovered : Selected;
534 }
535}
536
537void NavMesh::eraseLink(U32 i)
538{

Callers 3

deleteLinkMethod · 0.80
on3DMouseDownMethod · 0.80
on3DMouseMoveMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected