Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::ScriptTimePoint Class Reference

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
 

Detailed Description

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


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