Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | ITimeStep |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Framework/TimeStep.h |
| Include Path | #include "Framework/TimeStep.h" |
Syntax
class ITimeStep
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ITimeStep() |
Framework/TimeStep.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetActualDt () |
Get how much time actually passed (Dt and any sleeps) mainly for stats. | Framework/TimeStep.h | |
float GetCalculatedDt() |
Get the next dt to use in simulation | Framework/TimeStep.h | |
virtual float GetTarget () |
Called to retrieve the target time for the timestep. | Framework/TimeStep.h | |
virtual void Reset () |
Reset the timestep to a default state. | Framework/TimeStep.h | |
virtual void SetTarget
(
float InTarget |
Called to set a target dt if necessary - derived timesteps can ignore if not needed | Framework/TimeStep.h | |
void Update() |
Perform any necessary update to calculate the next timestep, if any sleeps for synchronisation are required also perform them here | Framework/TimeStep.h |