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

Method setSelected

Engine/source/console/simObject.cpp:2153–2168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2151//-----------------------------------------------------------------------------
2152
2153void SimObject::setSelected( bool sel )
2154{
2155 if( mFlags.test( Selected ) == sel )
2156 return; // No change.
2157
2158 if( sel )
2159 {
2160 mFlags.set( Selected );
2161 _onSelected();
2162 }
2163 else
2164 {
2165 mFlags.clear( Selected );
2166 _onUnselected();
2167 }
2168}
2169
2170//-----------------------------------------------------------------------------
2171

Callers 5

simObject.cppFile · 0.45
ghostReadPacketMethod · 0.45
_collectElementsMethod · 0.45
selectMeshMethod · 0.45
deselectMethod · 0.45

Calls 3

testMethod · 0.45
setMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected