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

Method onAdd

Engine/source/environment/river.cpp:687–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687bool River::onAdd()
688{
689 if ( !Parent::onAdd() )
690 return false;
691
692 // Reset the World Box.
693 //setGlobalBounds();
694 resetWorldBox();
695
696 // Set the Render Transform.
697 setRenderTransform(mObjToWorld);
698
699 // Add to Scene.
700 addToScene();
701
702 if ( isServerObject() )
703 getServerSet()->addObject( this );
704
705 _regenerate();
706
707 return true;
708}
709
710void River::onRemove()
711{

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected