Navigation
API > API/Runtime > API/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 | |
|---|---|---|---|
| FORCEINLINE_DEBUGGABLEFGameTime | CreateDilated
(
double InRealTimeSeconds, |
||
| FORCEINLINE_DEBUGGABLEFGameTime | CreateUndilated
(
double InRealTimeSeconds, |
||
| FORCEINLINE_DEBUGGABLE float | Returns frame delta time in seconds with no adjustment for time dilation and pause. | ||
| FORCEINLINE_DEBUGGABLE float | Returns frame delta time in seconds adjusted by e.g. time dilation. | ||
| FORCEINLINE_DEBUGGABLE double | Returns time in seconds since level began play, but IS NOT paused when the game is paused, and IS NOT dilated/clamped. | ||
| FORCEINLINE_DEBUGGABLE float | Returns how much world time is slowed compared to real time. | ||
| FGameTime | Returns the game time since GStartTime. | ||
| FORCEINLINE_DEBUGGABLE double | Returns time in seconds since level began play, but IS paused when the game is paused, and IS dilated/clamped. | ||
| FORCEINLINE_DEBUGGABLE bool | IsPaused () |
Returns whether the world time is paused. |