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

Method setNode

Engine/source/Verve/VPath/VPathObject.cpp:611–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609}
610
611void VPathObject::setNode( const S32 &pSourceNodeIndex, const S32 &pDestinationNodeIndex )
612{
613 // Update?
614 if ( ( mSourceNode != pSourceNodeIndex ) || ( mDestinationNode != pDestinationNodeIndex ) )
615 {
616 // Update.
617 mSourceNode = pSourceNodeIndex;
618 mDestinationNode = pDestinationNodeIndex;
619 // Flag Update.
620 setMaskBits( k_StateUpdatePosition );
621 }
622}
623
624void VPathObject::setStartNode( const S32 &pNodeIndex )
625{

Callers 4

deleteNodeMethod · 0.45
attachObjectMethod · 0.45
advanceObjectMethod · 0.45
setPathObjectNodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected