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

Method getNode

Engine/source/Verve/VPath/VPath.cpp:992–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

990}
991
992VPathNode *VPath::getNode( const S32 &pNodeIndex )
993{
994 // Sanity!
995 AssertFatal( pNodeIndex >= 0 && pNodeIndex < mNodeList.size(), "VPath::getNode() - Invalid Index" );
996
997 // Return Node.
998 return mNodeList[pNodeIndex];
999}
1000
1001DefineEngineMethod( VPath, addNode, void, (TransformF transform, F32 weight, S32 location), (MatrixF::Identity, 1.0, -1),
1002 "( transform pTransform, float pWeight, [int pLocation] ) - Add a node with the given properties. Nodes represent physical points that attached objects move towards or between, but the PathType determines \"how\" they move between them.\n"

Callers 11

on3DMouseDraggedMethod · 0.45
updateSelectionMethod · 0.45
updateWeightMethod · 0.45
getPointOnBezierPathMethod · 0.45
deleteNodeMethod · 0.45
pushNodeEditMethod · 0.45
popNodeEditMethod · 0.45
renderSceneMethod · 0.45
undoMethod · 0.45
VPath.cppFile · 0.45
getPathNodeLengthMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected