Called when the component needs to be rendered.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override void Draw( GameTime gameTime )
Public Overrides Sub Draw ( _ gameTime As GameTime _ )
public: virtual void Draw( GameTime^ gameTime ) override
Parameters
- gameTime (GameTime)
- Time elapsed since the last call to Draw.