Fusion.Engine.Audio.SoundWorld.Update C# (CSharp) Method

Update() private method

Updates sound world.
private Update ( GameTime gameTime, int operationSet ) : void
gameTime Fusion.Engine.Common.GameTime
operationSet int
return void
		internal void Update ( GameTime gameTime, int operationSet )
		{
			foreach ( var e in emitters ) {
				if (!e.LocalSound) {
					e.Apply3D( Listener, operationSet );
				}
			}


		}

Usage Example

コード例 #1
0
ファイル: SoundSystem.cs プロジェクト: ttou73/IronStar
        /// <summary>
        /// Updates sound.
        /// </summary>
        internal void Update(GameTime gameTime)
        {
            SoundWorld.Update(gameTime, OperationSetCounter);

            Device.CommitChanges(OperationSetCounter);
            Interlocked.Increment(ref operationSetCounter);
        }