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

Method attachChild

Engine/source/scene/sceneObject.cpp:1821–1828  ·  view source on GitHub ↗

----------------------------------------------------------

Source from the content-addressed store, hash-verified

1819
1820//----------------------------------------------------------
1821bool
1822SceneObject::attachChild(SceneObject *child)
1823{
1824 AssertFatal(child, "attaching a null subObject");
1825 AssertFatal(!isChildOf(child), "cyclic attachChild()");
1826
1827 return child->attachToParent(this);
1828}
1829
1830
1831//----------------------------------------------------------

Callers 2

sceneObject.cppFile · 0.80
gameBase.cppFile · 0.80

Calls 1

attachToParentMethod · 0.80

Tested by

no test coverage detected