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

Method onAdd

Engine/source/Verve/VPath/VPath.cpp:108–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108bool VPath::onAdd( void )
109{
110 if ( !Parent::onAdd() )
111 {
112 return false;
113 }
114
115 // Add to Scene.
116 addToScene();
117
118 if ( isServerObject() )
119 {
120 // Read Fields.
121 readFields();
122
123 // Add to Set.
124 getServerSet()->addObject( this );
125 }
126
127 return true;
128}
129
130void VPath::onDeleteNotify( SimObject *pObject )
131{

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected