Sdílet prostřednictvím


SoundEffect.Play Method

Creates a new SoundEffectInstance and plays it.

Overload List

Name Description
SoundEffect.Play () Creates a new SoundEffectInstance and plays it.
SoundEffect.Play (Single) Creates a new SoundEffectInstance and plays it at the specified volume.
SoundEffect.Play (Single, Single, Single, Boolean) Creates a new SoundEffectInstance and plays it using the specified volume, pitch, panning, and loop control.

See Also

Reference

SoundEffect Class
SoundEffect Members
Microsoft.Xna.Framework.Audio Namespace