private Update ( |
||
gameTime | ||
operationSet | int | |
Результат | void |
internal void Update ( GameTime gameTime, int operationSet )
{
foreach ( var e in emitters ) {
if (!e.LocalSound) {
e.Apply3D( Listener, operationSet );
}
}
}
/// <summary> /// Updates sound. /// </summary> internal void Update(GameTime gameTime) { SoundWorld.Update(gameTime, OperationSetCounter); Device.CommitChanges(OperationSetCounter); Interlocked.Increment(ref operationSetCounter); }