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

Method isChildOf

Engine/source/scene/sceneObject.cpp:1912–1922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1910}
1911
1912bool SceneObject::isChildOf(SceneObject *so)
1913{
1914 SceneObject *p = mGraph.parent;
1915 if (p) {
1916 if (p == so)
1917 return true;
1918 else
1919 return p->isChildOf(so);
1920 } else
1921 return false;
1922}
1923
1924
1925

Callers 1

attachToParentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected