ModelTime Structure |
Namespace: Demo3D.EventQueue
public readonly struct ModelTime
The ModelTime type exposes the following members.
| Name | Description | |
|---|---|---|
| ToDuration |
Convert model time to duration.
| |
| ToFixed |
Convert model time to seconds.
| |
| ToMilliseconds |
Convert model time to milliseconds.
| |
| ToSeconds |
Convert model time to seconds.
|
| Name | Description | |
|---|---|---|
| Equals |
Determines whether two times are equal.
(Overrides ValueTypeEquals(Object).) | |
| FromDuration |
Convert a duration to a model time.
| |
| FromFixed |
Convert seconds to model time.
| |
| FromMilliseconds(Double) |
Convert milliseconds to model time.
| |
| FromMilliseconds(Int64) |
Convert milliseconds to model time.
| |
| FromSeconds(Double) |
Convert seconds to model time.
| |
| FromSeconds(Int64) |
Convert seconds to model time.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| ToString |
Returns a printable string representation of this instance.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| FiveSec |
Fixe seconds.
| |
| HundredMs |
Hundred milliseconds.
| |
| MaxValue |
Positive infinity seconds.
| |
| MinValue |
Negative infinity seconds.
| |
| OneMs |
One millisecond.
| |
| OneSec |
One second.
| |
| TenMs |
Ten milliseconds.
| |
| TenSec |
Ten seconds.
| |
| TwoSec |
Two seconds.
| |
| Zero |
Zero seconds.
|