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

Method pushNodeEdit

Engine/source/Verve/VPath/VPathEditor.cpp:1364–1379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1362}
1363
1364void VPathEditor::pushNodeEdit( void )
1365{
1366 // Clear Current Edit Dirty.
1367 mNodeEdit.Dirty = false;
1368
1369 if ( isValidSelection() )
1370 {
1371 // Fetch Node.
1372 VPathNode *node = mSelection.Path->getNode( mSelection.Node );
1373
1374 // Store Node Details.
1375 mNodeEdit.Position = node->getLocalPosition();
1376 mNodeEdit.Rotation = node->getLocalRotation();
1377 mNodeEdit.Weight = node->getWeight();
1378 }
1379}
1380
1381void VPathEditor::popNodeEdit( void )
1382{

Callers 2

DefineEngineMethodFunction · 0.45
VPathEditor.cppFile · 0.45

Calls 1

getNodeMethod · 0.45

Tested by

no test coverage detected