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

Method onNode

Engine/source/T3D/pathShape.cpp:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349//----------------------------------------------------------------------------
350
351void PathShape::onNode(S32 node)
352{
353 if (!isGhost())
354 {
355 Con::executef(mDataBlock, "onNode", getIdString(), Con::getIntArg(node));
356 Con::executef(mDataBlock, mSpline.getKnot(node)->mHitCommand.c_str(), getIdString());
357 }
358}
359
360
361//----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 4

executefFunction · 0.85
getIntArgFunction · 0.85
getKnotMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected