| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/TimeManagement/Public/GenlockedFixedRateCustomTimeStep.h |
Include |
#include "GenlockedFixedRateCustomTimeStep.h" |
class UGenlockedFixedRateCustomTimeStep : public UGenlockedCustomTimeStep
Control the Engine TimeStep via a fixed frame rate.
Philosophy: Quantized increments but keeping up with platform time.
FApp::GetDeltaTime
Forced to a multiple of the desired FrameTime.
FApp::GetCurrentTime
Incremented in multiples of the desired FrameTime.
Corresponds to platform time minus any fractional FrameTime.
Name | Description | ||
---|---|---|---|
|
FrameRate |
Desired frame rate |
Name | Description | |
---|---|---|
|
UGenlockedFixedRateCustomTimeStep ( |
Name | Description | ||
---|---|---|---|
|
GetLastSyncCountDelta() |
Returns how many syncs occurred since the last tick |
|
|
IsLastSyncDataValid() |
Returns true if the Sync related functions will return valid data |
|
|
WaitForSync() |
Blocks until it gets a sync signal. Returns false if unsuccessful |
Name | Description | ||
---|---|---|---|
|
GetFixedFrameRate() |
Get The fixed FrameRate |
Name | Description | ||
---|---|---|---|
|
ECustomTimeS... |
GetSynchronizationState() |
The state of the CustomTimeStep. |
|
Initialize ( |
This CustomTimeStep became the Engine's CustomTimeStep. |
|
|
Shutdown ( |
This CustomTimeStep stop being the Engine's CustomTimeStep. |
|
|
UpdateTimeStep ( |
Update FApp::CurrentTime/FApp::DeltaTime and optionally wait until the end of the frame. |