Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include |
#include "Engine/World.h" |
struct FGameTime
Contains all the timings of a gaming frame, to handle pause and time dilation (for instance bullet time) of the world.
Name | Description | |
---|---|---|
|
FGameTime() |
|
|
FGameTime ( |
Name | Description | ||
---|---|---|---|
|
CreateDilated |
||
|
CreateUndilated |
||
|
GetDeltaRealTimeSeconds() |
Returns frame delta time in seconds with no adjustment for time dilation and pause. |
|
|
GetDeltaWorldTimeSeconds() |
Returns frame delta time in seconds adjusted by e.g. time dilation. |
|
|
GetRealTimeSeconds() |
Returns time in seconds since level began play, but IS NOT paused when the game is paused, and IS NOT dilated/clamped. |
|
|
float |
GetTimeDilation() |
Returns how much world time is slowed compared to real time. |
|
GetTimeSinceAppStart() |
Returns the game time since GStartTime. |
|
|
GetWorldTimeSeconds() |
Returns time in seconds since level began play, but IS paused when the game is paused, and IS dilated/clamped. |
|
|
IsPaused() |
Returns whether the world time is paused. |
Name |
Description |
---|---|
FTimeType |