Table of Contents

Struct SoundEffectInstanceHandler.Entry

Namespace
MLEM.Sound
Assembly
MLEM.dll

An entry in a SoundEffectInstanceHandler. Each entry stores the Microsoft.Xna.Framework.Audio.SoundEffectInstance that is being played, as well as the additional data passed through Add(SoundEffectInstance, Action<SoundEffectInstance>, AudioEmitter).

public readonly struct SoundEffectInstanceHandler.Entry
Inherited Members

Fields

Emitter

The Microsoft.Xna.Framework.Audio.AudioEmitter that this sound effect instance is linked to. If the underlying handler's SetListeners(params AudioListener[]) method has been called, 3D sound will be applied.

public readonly AudioEmitter Emitter

Field Value

AudioEmitter

Instance

The sound effect instance that this entry is playing

public readonly SoundEffectInstance Instance

Field Value

SoundEffectInstance

OnStopped

An action that is invoked when this entry's Instance is stopped or after it finishes naturally. This action is invoked in Update().

public readonly Action<SoundEffectInstance> OnStopped

Field Value

Action<SoundEffectInstance>