Partilhar via


DrawableGameComponent.Visible Property

Indicates whether Draw should be called.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public bool Visible { get; set; }

Property Value

trueDraw should be called; false otherwise.

See Also

Reference

DrawableGameComponent Class
DrawableGameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP