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