RealTime Structure |
Namespace: Demo3D.Time
public readonly struct RealTime : IComparable<RealTime>, IComparable
The RealTime type exposes the following members.
| Name | Description | |
|---|---|---|
| Now |
The current wall clock time.
| |
| ToFixed |
Convert ticks to real time (seconds).
| |
| ToMicroseconds |
Convert ticks to real time (microseconds).
| |
| ToMilliseconds |
Convert ticks to real time (milliseconds).
| |
| ToSeconds |
Convert ticks to real time (seconds).
|
| Name | Description | |
|---|---|---|
| Equals |
Determines whether two times are equal.
(Overrides ValueTypeEquals(Object).) | |
| FromFixed |
Convert from real time (seconds) to ticks.
| |
| FromMicroseconds(Double) |
Convert from real time (microseconds) to ticks.
| |
| FromMicroseconds(Int32) |
Convert from real time (microseconds) to ticks.
| |
| FromMicroseconds(Int64) |
Convert from real time (microseconds) to ticks.
| |
| FromMilliseconds(Double) |
Convert from real time (milliseconds) to ticks.
| |
| FromMilliseconds(Int32) |
Convert from real time (milliseconds) to ticks.
| |
| FromMilliseconds(Int64) |
Convert from real time (milliseconds) to ticks.
| |
| FromSeconds |
Convert from real time (seconds) to ticks.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| ToString |
Returns a printable string representation of this instance.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| FiftyMs |
Fifty milliseconds.
| |
| FiveMs |
Five milliseconds.
| |
| FiveSec |
Five seconds.
| |
| MaxValue |
Max interval or end of time.
| |
| MinValue |
Maximum negative interval, or beginning of time.
| |
| OneMs |
One millisecond.
| |
| OneSec |
One second.
| |
| TenMs |
Ten milliseconds.
| |
| TenSec |
Ten seconds.
| |
| TwentyFiveMs |
Twenty five milliseconds.
| |
| TwoMs |
Two milliseconds.
| |
| Zero |
Zero ticks.
|