Click to Rate and Give Feedback
MSDN
MSDN Library
XNA Game Studio
XNA Game Studio 3.1
GameTime Class
GameTime Properties
 ElapsedRealTime Property

  Switch on low bandwidth view
XNA Game Studio 3.1
GameTime.ElapsedRealTime Property
The amount of elapsed real time (wall clock) since the last frame.

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

C#
public TimeSpan ElapsedRealTime { get; set; }

Property Value

Elapsed real time since the last frame.
Variable-step clocks automatically track the difference in real-time (wall clock) that transpired since the last clock step. This type of game timing is popular on PC games where the variable PC configurations affect update time.
Xbox 360, Windows XP SP2, Windows Vista, Zune
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker