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

Method copyTo

Engine/source/console/simObject.cpp:2093–2099  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2091
2092// Copy SimObject to another SimObject (Originally designed for T2D).
2093void SimObject::copyTo( SimObject* object )
2094{
2095 object->mClassName = mClassName;
2096 object->mSuperClassName = mSuperClassName;
2097
2098 linkNamespaces();
2099}
2100
2101//-----------------------------------------------------------------------------
2102

Callers

nothing calls this directly

Calls 1

linkNamespacesFunction · 0.85

Tested by

no test coverage detected