Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SoundEffect Members

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

Public Property StaticDistanceScaleGets or sets a value that adjusts the effect of distance calculations on the sound (emitter).
Public Property StaticDopplerScale Gets or sets a value that adjusts the effect of doppler calculations on the sound (emitter).
Public PropertyDurationGets the duration of the SoundEffect.
Public PropertyIsDisposedGets a value that indicates whether the object is disposed.
Public Property StaticMasterVolumeGets or sets the master volume that affects all SoundEffectInstance sounds.
Public PropertyNameGets or sets the asset name of the SoundEffect.
Public Property StaticSpeedOfSoundReturns the speed of sound: 343.5 meters per second.

Public MethodCreateInstance Creates a new SoundEffectInstance for this SoundEffect.
Public MethodDisposeReleases the resources used by the SoundEffect.
Public MethodEquals (Inherited from Object.)
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetType (Inherited from Object.)
Public MethodPlayOverloaded. Plays this sound.
Public MethodPlay3DOverloaded. Returns a playing SoundEffectInstance (XNA Game Studio 3.0 only).
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToString (Inherited from Object.)

Protected MethodFinalizeReleases unmanaged resources and performs other cleanup operations before the SoundEffect is reclaimed by garbage collection.
Protected MethodMemberwiseClone (Inherited from Object.)

Community Additions

© 2015 Microsoft