Open 3D Engine AzCore API Reference  22.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
AZ::ScriptTimePoint Class Reference

Wrapper that reflects a AZStd::chrono::system_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, 0)
 
 ScriptTimePoint (AZStd::chrono::system_clock::time_point timePoint)
 
AZStd::string ToString () const
 Formats the time point in a string formatted as: "Time <seconds since epoch>".
 
const AZStd::chrono::system_clock::time_pointGet () 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::system_clock::time_point m_timePoint
 

Detailed Description

Wrapper that reflects a AZStd::chrono::system_clock::time_point to script.


The documentation for this class was generated from the following file: