GameTime Members
MSDN Home
MSDN
MSDN Library
Development Tools and Language ...
XNA Game Studio
XNA Game Studio 3.1
XNA Framework Class Library Re ...
Microsoft.Xna.Framework
GameTime Class
GameTime Class
GameTime Members
GameTime Constructor
GameTime Methods
GameTime Properties
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
XNA Game Studio 3.1
GameTime Members
The following tables list the members exposed by the GameTime type.
Public Constructors
Name
Description
GameTime
Overloaded. Creates a new instance of
GameTime
.
Public Properties
Name
Description
ElapsedGameTime
The amount of elapsed game time since the last update.
ElapsedRealTime
The amount of elapsed real time (wall clock) since the last frame.
IsRunningSlowly
Gets a value indicating that the game loop is taking longer than its
TargetElapsedTime
. In this case, the game loop can be considered to be running too slowly and should do something to "catch up."
TotalGameTime
The amount of game time since the start of the game.
TotalRealTime
The amount of real time (wall clock) since the start of the game.
Public Methods
Name
Description
Equals
(Inherited from
Object
.)
GetHashCode
(Inherited from
Object
.)
GetType
(Inherited from
Object
.)
ReferenceEquals
(Inherited from
Object
.)
ToString
(Inherited from
Object
.)
Protected Methods
Name
Description
Finalize
(Inherited from
Object
.)
MemberwiseClone
(Inherited from
Object
.)
See Also
Reference
GameTime Class
Microsoft.Xna.Framework Namespace
Tags :