Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FAppTime
Description
Returns the FAppTime value for the current thread's time context. May be called by the game thread, or decendent TaskGraph tasks of the game thread. Calling this function from any other context will result in an ensure failure. This is because the game thread is the authority on the FAppTime value, and this value is pipelined through the TaskGraph so that decendent tasks receive the correct time value for the frame they belong to. Reading the FAppTime value outside of these contexts is a data race with the game thread.
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AppTime.h |
| Include Path | #include "Misc/AppTime.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/AppTime.cpp |
static const FAppTime & Get()