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

Method getControlObject

Engine/source/gui/worldEditor/worldEditor.cpp:1074–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072//------------------------------------------------------------------------------
1073
1074SceneObject * WorldEditor::getControlObject()
1075{
1076 GameConnection * connection = GameConnection::getLocalClientConnection();
1077 if(connection)
1078 return(dynamic_cast<SceneObject*>(connection->getControlObject()));
1079 return(0);
1080}
1081
1082bool WorldEditor::collide( const Gui3DMouseEvent &event, SceneObject **hitObj )
1083{

Callers 2

getControlObjFunction · 0.45
renderSceneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected