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

Method setPathPosition

Engine/source/Verve/VPath/VPathEditor.cpp:722–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720//-----------------------------------------------------------------------------
721
722void VPathEditor::setPathPosition( const Point3F &pPosition )
723{
724 // Fetch Paths.
725 VPath *serverPath = mSelection.Path;
726 VPath *clientPath = getClientPath( serverPath );
727
728 // Update Position.
729 serverPath->setPosition( pPosition );
730 clientPath->setPosition( pPosition );
731
732 // Update Selection.
733 updateSelection();
734}
735
736void VPathEditor::setPathRotation( const QuatF &pRotation )
737{

Callers

nothing calls this directly

Calls 1

setPositionMethod · 0.45

Tested by

no test coverage detected