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

Method setPathScale

Engine/modules/Verve/VPath/VPathEditor.cpp:760–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760void VPathEditor::setPathScale( const VectorF &pScale )
761{
762 // Fetch Paths.
763 VPath *serverPath = mSelection.Path;
764 VPath *clientPath = getClientPath( serverPath );
765
766 // Fetch Current Scale.
767 VectorF scale = serverPath->getScale();
768 scale.convolve( pScale );
769
770 // Update Scale.
771 serverPath->setScale( scale );
772 clientPath->setScale( scale );
773
774 // Update Selection.
775 updateSelection();
776}
777
778//-----------------------------------------------------------------------------
779//

Callers

nothing calls this directly

Calls 3

getScaleMethod · 0.45
convolveMethod · 0.45
setScaleMethod · 0.45

Tested by

no test coverage detected