AudioCategory Structure (Microsoft.Xna.Framework.Audio)
Provides functionality for manipulating multiple sounds at a time.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = -1, Size = -1)] public struct AudioCategory : IEquatable<AudioCategory>
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The AudioCategory type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
Equals(AudioCategory) | Determines whether two AudioCategory instances are equal. (Implements IEquatable<T>.Equals().) | ||
Equals(object) | Determines whether two AudioCategory instances are equal. (Overrides ValueType.Equals().) | ||
GetHashCode | Gets the hash code for this instance. (Overrides ValueType.GetHashCode().) | ||
Pause | Pauses all associated sounds. | ||
Resume | Resumes all associated paused sounds. | ||
SetVolume | |||
Stop | Stops all associated sounds. | ||
ToString | Returns the name of this AudioCategory (Overrides ValueType.ToString().) |
Platforms | Name | Description | |
---|---|---|---|
Equality | Determines whether two AudioCategory instances are equal. | ||
Inequality | Determines whether two AudioCategory instances are not equal. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web