U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::Timer Class Reference

Low-resolution operating system timer. More...

#include </var/dev/u3d/stable/Source/Urho3D/Core/Timer.h>

Public Member Functions

 Timer ()
 Construct. Get the starting clock value.
 
unsigned GetMSec (bool reset)
 Return elapsed milliseconds and optionally reset.
 
void Reset ()
 Reset the timer.
 

Private Attributes

unsigned startTime_ {}
 Starting clock value in milliseconds.
 

Detailed Description

Low-resolution operating system timer.


The documentation for this class was generated from the following files: