![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MonotonicTime.h>
Public Member Functions | |
| constexpr | FMonotonicTimePoint ()=default |
| constexpr double | ToSeconds () const |
| constexpr bool | IsInfinity () const |
| bool | IsNaN () const |
| constexpr bool | operator== (const FMonotonicTimePoint Other) const |
| constexpr bool | operator!= (const FMonotonicTimePoint Other) const |
| constexpr bool | operator<= (const FMonotonicTimePoint Other) const |
| constexpr bool | operator< (const FMonotonicTimePoint Other) const |
| constexpr bool | operator>= (const FMonotonicTimePoint Other) const |
| constexpr bool | operator> (const FMonotonicTimePoint Other) const |
| constexpr FMonotonicTimePoint | operator+ (const FMonotonicTimeSpan Span) const |
| constexpr FMonotonicTimePoint | operator- (const FMonotonicTimeSpan Span) const |
| constexpr FMonotonicTimeSpan | operator- (const FMonotonicTimePoint Point) const |
Static Public Member Functions | |
| static UE_API FMonotonicTimePoint | Now () |
| static constexpr FMonotonicTimePoint | Infinity () |
| static constexpr FMonotonicTimePoint | FromSeconds (const double Seconds) |
A point in time measured in seconds since an arbitrary epoch.
This is a monotonic clock which means the current time will never decrease. This time is meant primarily for measuring intervals. The interval between ticks of this clock is constant except for the time that the system is suspended on certain platforms. The tick frequency will differ between platforms, and must not be used as a means of communicating time without communicating the tick frequency together with the time.
|
constexprdefault |
|
inlinestaticconstexpr |
Construct from seconds since the epoch.
|
inlinestaticconstexpr |
|
inline |
|
static |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Seconds since the epoch.