Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/GameTime.h |
Include | #include "GameTime.h" |
Syntax
struct FGameTime
Remarks
Contains all the timings of a gaming frame, to handle pause and time dilation (for instance bullet time) of the world.
Constructors
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FGameTime | CreateDilated
(
double InRealTimeSeconds, |
|
![]() ![]() |
FGameTime | CreateUndilated
(
double InRealTimeSeconds, |
|
![]() ![]() |
float | Returns frame delta time in seconds with no adjustment for time dilation and pause. | |
![]() ![]() |
float | Returns frame delta time in seconds adjusted by e.g. time dilation. | |
![]() ![]() |
double | Returns time in seconds since level began play, but IS NOT paused when the game is paused, and IS NOT dilated/clamped. | |
![]() ![]() |
float | Returns how much world time is slowed compared to real time. | |
![]() ![]() |
FGameTime | Returns the game time since GStartTime. | |
![]() ![]() |
double | Returns time in seconds since level began play, but IS paused when the game is paused, and IS dilated/clamped. | |
![]() ![]() |
bool | IsPaused () |
Returns whether the world time is paused. |