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

Function DefineEngineMethod

Engine/source/scene/sceneObject.cpp:1984–1991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1982}
1983
1984DefineEngineMethod(SceneObject, detachChild, bool, (const char*_subObject),, "SceneObject subObject")
1985{
1986 SceneObject * t;
1987 if(Sim::findObject(_subObject, t)) {
1988 return t->attachToParent(NULL);
1989 } else
1990 return false;
1991}
1992
1993IMPLEMENT_CALLBACK(SceneObject, onNewParent, void, (SceneObject *newParent), (newParent), "");
1994IMPLEMENT_CALLBACK(SceneObject, onLostParent, void, (SceneObject *oldParent), (oldParent), "");

Callers 11

simPath.cppFile · 0.70
sceneObject.cppFile · 0.70
netObject.cppFile · 0.50
actionMap.cppFile · 0.50
netConnection.cppFile · 0.50
netGhost.cppFile · 0.50
sfxController.cppFile · 0.50
sfxSound.cppFile · 0.50
sfxProfile.cppFile · 0.50
sfxParameter.cppFile · 0.50
sfxSource.cppFile · 0.50

Calls 2

attachToParentMethod · 0.80
findObjectFunction · 0.50

Tested by

no test coverage detected