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

Method packData

Engine/source/sfx/sfxAmbience.cpp:173–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171//-----------------------------------------------------------------------------
172
173void SFXAmbience::packData( BitStream* stream )
174{
175 Parent::packData( stream );
176
177 sfxWrite( stream, mEnvironment );
178 PACKDATA_ASSET(SoundTrack);
179
180 stream->write( mRolloffFactor );
181 stream->write( mDopplerFactor );
182
183 for( U32 i = 0; i < MaxStates; ++ i )
184 sfxWrite( stream, mState[ i ] );
185}
186
187//-----------------------------------------------------------------------------
188

Callers

nothing calls this directly

Calls 2

sfxWriteFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected