| GameObjectOnUpdate Method |
Called when the game object should be updated.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax protected virtual void OnUpdate(
TimeSpan deltaTime
)
Protected Overridable Sub OnUpdate (
deltaTime As TimeSpan
)
protected:
virtual void OnUpdate(
TimeSpan deltaTime
)
abstract OnUpdate :
deltaTime : TimeSpan -> unit
override OnUpdate :
deltaTime : TimeSpan -> unit
Parameters
- deltaTime
- Type: SystemTimeSpan
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.
See Also