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

Method setScale

Engine/source/gui/worldEditor/worldEditorSelection.cpp:567–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565//-----------------------------------------------------------------------------
566
567void WorldEditorSelection::setScale(const VectorF & scale)
568{
569 for( iterator iter = begin(); iter != end(); ++ iter )
570 {
571 SceneObject* object = dynamic_cast< SceneObject* >( *iter );
572 if( object )
573 object->setScale( scale );
574 }
575
576 mCentroidValid = false;
577}
578
579//-----------------------------------------------------------------------------
580

Callers 14

on3DMouseDraggedMethod · 0.45
synchClientObjectMethod · 0.45
undoMethod · 0.45
createConvexShapeFromMethod · 0.45
setClientObjInfoMethod · 0.45
undoMethod · 0.45
transformSelectionMethod · 0.45
resetSelectedScaleMethod · 0.45
worldEditor.cppFile · 0.45
scaleMethod · 0.45

Calls 5

beginFunction · 0.85
endFunction · 0.85
getColumnMethod · 0.80
getTransformMethod · 0.45
setPositionMethod · 0.45

Tested by

no test coverage detected