Cue Class (Microsoft.Xna.Framework.Audio)
Manages the playback of a sound or set of sounds.
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#
public class Cue : IDisposable
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The Cue type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
IsCreated | |||
IsDisposed | Is true if the Cue has been disposed. | ||
IsPaused | Indicates whether or not the cue is currently paused. | ||
IsPlaying | Indicates whether or not the cue is currently playing. | ||
IsPrepared | |||
IsPreparing | |||
IsStopped | Indicates whether or not the cue is currently stopped. | ||
IsStopping | |||
Name | Gets the friendly name of the cue. |
Platforms | Name | Description | |
---|---|---|---|
Apply3D | Updates the simulated 3D Audio settings calculated between an AudioEmitter and AudioListener. | ||
Dispose | Disposes the Cue. (Implements IDisposable.Dispose().) | ||
GetVariable | Gets a cue-instance variable value based on its friendly name. | ||
Pause | Pauses playback. | ||
Play | Requests playback of a prepared or preparing Cue. | ||
Resume | Resumes playback of a paused Cue. | ||
SetVariable | Sets the value of a cue-instance variable based on its friendly name. | ||
Stop | Stops playback of a Cue. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web