SoundEffect Members
The following tables list the members exposed by the SoundEffect type.
Public Properties
Name | Description | |
---|---|---|
DistanceScale | Gets or sets a value that adjusts the effect of distance calculations on the sound (emitter). | |
DopplerScale | Gets or sets a value that adjusts the effect of doppler calculations on the sound (emitter). | |
Duration | Gets or sets the duration of the SoundEffect. | |
IsDisposed | Gets a value that indicates whether the object is disposed. | |
MasterVolume | Gets or sets the master volume that affects all SoundEffectInstance sounds. | |
Name | Gets or sets the asset name of the SoundEffect. | |
SpeedOfSound | Returns the speed of sound: 343.5 meters per second. |
Public Methods
Name | Description | |
---|---|---|
Dispose | Releases the resources used by the SoundEffect. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Play | Overloaded. Creates a new SoundEffectInstance and plays it. | |
Play3D | Overloaded. Returns a playing SoundEffectInstance. | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | Releases unmanaged resources and performs other cleanup operations before the SoundEffect is reclaimed by garbage collection. | |
MemberwiseClone | (Inherited from Object.) |