Space Engineers
|
Global thread-safe timer. Time for update and time for draw must be copied at the beginning of update and draw. More...
Public Member Functions | |
void | AddElapsed (MyTimeSpan timespan) |
MyGameTimer () | |
Static Public Attributes | |
static readonly long | Frequency = Stopwatch.Frequency |
Number of ticks per seconds More... | |
Properties | |
double | Multiplier [get, set] |
TimeSpan | ElapsedTimeSpan [get] |
This may not be accurate for large values - double accuracy More... | |
long | ElapsedTicks [get] |
MyTimeSpan | Elapsed [get] |
Global thread-safe timer. Time for update and time for draw must be copied at the beginning of update and draw.
Definition at line 13 of file MyGameTimer.cs.
|
inline |
Definition at line 61 of file MyGameTimer.cs.
|
inline |
Definition at line 57 of file MyGameTimer.cs.
|
static |
Number of ticks per seconds
Definition at line 22 of file MyGameTimer.cs.
|
get |
Definition at line 50 of file MyGameTimer.cs.
|
get |
Definition at line 42 of file MyGameTimer.cs.
|
get |
This may not be accurate for large values - double accuracy
Definition at line 34 of file MyGameTimer.cs.
|
getset |
Definition at line 25 of file MyGameTimer.cs.