MediaPlayer.IsVisualizationEnabled Property
Gets or sets the visualization enabled setting for the media player.
Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static bool IsVisualizationEnabled { get; set; }
Property Value
true if visualization is enabled; false otherwise.
Remarks
When IsVisualizationEnabled is true, visualization data is enabled and GetVisualizationData will return visualization data for the currently playing song.
Windows Phone Specific Information |
---|
Visualization data is not available on Windows Phone. Any attempt to get visualization data on the phone will populate the VisualizationData class with 0s. |
See Also
Reference
MediaPlayer.GetVisualizationData Method
MediaPlayer Class
MediaPlayer Members
Microsoft.Xna.Framework.Media Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone