DrawableGameComponent.Draw Method
Called when the DrawableGameComponent needs to be drawn. Override this method with component-specific drawing code.
Syntax
'Declaration
Public Overridable Sub Draw ( _
gameTime As GameTime _
)
public virtual void Draw (
GameTime gameTime
)
public:
virtual void Draw(
GameTime gameTime
)
Parameters
- gameTime
Type: GameTime
Time passed since the last call to Draw.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
DrawableGameComponent Class
DrawableGameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone