| 990 | } |
| 991 | |
| 992 | VPathNode *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 | |
| 1001 | DefineEngineMethod( 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" |
no test coverage detected