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

Method onAdd

Engine/source/sfx/sfxAmbience.cpp:129–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127//-----------------------------------------------------------------------------
128
129bool SFXAmbience::onAdd()
130{
131 if( !Parent::onAdd() )
132 return false;
133
134 Sim::getSFXAmbienceSet()->addObject( this );
135
136 _setSoundTrack(getSoundTrack());
137 return true;
138}
139
140//-----------------------------------------------------------------------------
141

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected