C# 클래스 Microsoft.Xna.Framework.Audio.SoundEffectInstancePool

파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Add void
GetInstance SoundEffectInstance
Remove void
SoundEffectInstancePool System.Collections.Generic
Update void
UpdateMasterVolume void

비공개 메소드들

메소드 설명
Add ( SoundEffectInstance inst ) : void

Add the specified instance to the pool if it is a pooled instance and removes it from the list of playing instances.

GetInstance ( bool forXAct ) : SoundEffectInstance

Returns a pooled SoundEffectInstance if one is available, or allocates a new SoundEffectInstance if the pool is empty.

Remove ( SoundEffectInstance inst ) : void

Adds the SoundEffectInstance to the list of playing instances.

SoundEffectInstancePool ( ) : System.Collections.Generic
Update ( ) : void

Iterates the list of playing instances, returning them to the pool if they have stopped playing.

UpdateMasterVolume ( ) : void