Wrapper that reflects a AZStd::chrono::steady_clock::time_point to script. More...
#include <ScriptTimePoint.h>
Public Member Functions | |
AZ_TYPE_INFO (ScriptTimePoint, "{4c0f6ad4-0d4f-4354-ad4a-0c01e948245c}") | |
AZ_CLASS_ALLOCATOR (ScriptTimePoint, SystemAllocator) | |
ScriptTimePoint (AZStd::chrono::steady_clock::time_point timePoint) | |
AZStd::string | ToString () const |
Formats the time point in a string formatted as: "Time <seconds since epoch>". | |
const AZStd::chrono::steady_clock::time_point & | Get () const |
Returns the time point. | |
double | GetSeconds () const |
Returns the time point in seconds. | |
double | GetMilliseconds () const |
Returns the time point in milliseconds. | |
Static Public Member Functions | |
static void | Reflect (ReflectContext *reflection) |
Protected Attributes | |
AZStd::chrono::steady_clock::time_point | m_timePoint |
Wrapper that reflects a AZStd::chrono::steady_clock::time_point to script.