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

Method onAdd

Engine/modules/Verve/VPath/VPath.cpp:107–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected