FFixedTimeStep

Windows
MacOS
Linux

Inheritance Hierarchy

ITimeStep

FFixedTimeStep

References

Module

ChaosSolvers

Header

/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/Framework/TimeStep.h

Include

#include "Framework/TimeStep.h"

Syntax

class FFixedTimeStep : public Chaos::ITimeStep

Overridden from ITimeStep

Name Description

Public function Virtual Const

float

 

GetActualDt()

Get how much time actually passed (Dt and any sleeps) mainly for stats.

Public function Virtual Const

float

 

GetCalculatedDt()

Get the next dt to use in simulation

Public function Virtual Const

float

 

GetTarget()

Called to retrieve the target time for the timestep.

Public function Virtual

void

 

Reset()

ITimeStep interface

Public function Virtual

void

 

SetTarget

(
    float InTarget
)

Called to set a target dt if necessary - derived timesteps can ignore if not needed

Public function Virtual

void

 

Update()

Perform any necessary update to calculate the next timestep, if any sleeps for synchronisation are required also perform them here

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss