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

Method copyTo

Engine/source/console/simObject.cpp:2239–2245  ·  view source on GitHub ↗

Copy SimObject to another SimObject (Originally designed for T2D).

Source from the content-addressed store, hash-verified

2237
2238// Copy SimObject to another SimObject (Originally designed for T2D).
2239void SimObject::copyTo( SimObject* object )
2240{
2241 object->mClassName = mClassName;
2242 object->mSuperClassName = mSuperClassName;
2243
2244 linkNamespaces();
2245}
2246
2247//-----------------------------------------------------------------------------
2248

Callers

nothing calls this directly

Calls 1

linkNamespacesFunction · 0.85

Tested by

no test coverage detected