![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GameTime.h>
Public Member Functions | |
| FGameTime () | |
| FGameTime (const FGameTime &)=default | |
| FGameTime & | operator= (const FGameTime &)=default |
| double | GetRealTimeSeconds () const |
| float | GetDeltaRealTimeSeconds () const |
| double | GetWorldTimeSeconds () const |
| float | GetDeltaWorldTimeSeconds () const |
| float | GetTimeDilation () const |
| bool | IsPaused () const |
Contains all the timings of a gaming frame, to handle pause and time dilation (for instance bullet time) of the world.
|
inline |
|
default |
|
inlinestatic |
|
inlinestatic |
|
inline |
Returns frame delta time in seconds with no adjustment for time dilation and pause.
|
inline |
Returns frame delta time in seconds adjusted by e.g. time dilation.
|
inline |
Returns time in seconds since level began play, but IS NOT paused when the game is paused, and IS NOT dilated/clamped.
|
inline |
Returns how much world time is slowed compared to real time.
|
static |
|
inline |
Returns time in seconds since level began play, but IS paused when the game is paused, and IS dilated/clamped.
|
inline |
Returns whether the world time is paused.