Called when the game object should be updated.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.0.0.0 (1.0.1.9459)
Syntax
| C# |
|---|
protected virtual void OnUpdate( TimeSpan deltaTime ) |
| Visual Basic |
|---|
Protected Overridable Sub OnUpdate ( _ deltaTime As TimeSpan _ ) |
| Visual C++ |
|---|
protected: virtual void OnUpdate( TimeSpan deltaTime ) |
Parameters
- deltaTime
- Type: System..::..TimeSpan
The elapsed time since the last frame.
Remarks
This method is automatically called in Update(TimeSpan) if the game object
hasn't already been updated in the current time step.