Bagikan melalui


SoundEffectInstance Members

The following tables list the members exposed by the SoundEffectInstance type.

Public Properties

Name Description
Public Property IsDisposed Gets a value that indicates whether the object is disposed.
Public Property IsLooped Gets a value that indicates whether looping is enabled for the SoundEffectInstance.
Public Property Pan Gets or sets the panning for the SoundEffectInstance.
Public Property Pitch Gets or sets the pitch adjustment for the SoundEffectInstance.
Public Property State Gets the current state (playing, paused, or stopped) of the SoundEffectInstance.
Public Property Volume Gets or sets the volume of the SoundEffectInstance.

Public Methods

Name Description
Public Method Apply3D Overloaded. Applys 3D position to the sound.
Public Method Dispose Releases the resources used by the Dispose.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Pause Pauses a SoundEffectInstance.
Public Method Play Plays or resumes a SoundEffectInstance.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Resume Resumes playback for a SoundEffectInstance.
Public Method Stop Overloaded. Stops playing a SoundEffectInstance.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize Releases unmanaged resources and performs other cleanup operations before the SoundEffectInstance is reclaimed by garbage collection.
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

SoundEffectInstance Class
Microsoft.Xna.Framework.Audio Namespace