UEngineCustomTimeStep

A CustomTimeStep control the Engine Framerate/Timestep.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineCustomTimeStep.h

Include

#include "Engine/EngineCustomTimeStep.h"

Syntax

class UEngineCustomTimeStep : public UObject

Remarks

A CustomTimeStep control the Engine Framerate/Timestep. This will update the FApp::CurrentTime/FApp::DeltaTime. This is useful when you want the engine to be synchronized with an external clock (genlock).

Functions

Name Description

Public function Virtual Const

ECustomTimeS...

 

GetSynchronizationState()

The state of the CustomTimeStep.

Public function Virtual

bool

 

Initialize

(
    UEngine* InEngine
)

This CustomTimeStep became the Engine's CustomTimeStep.

Public function Virtual

void

 

Shutdown

(
    UEngine* InEngine
)

This CustomTimeStep stop being the Engine's CustomTimeStep.

Public function Static

void

 

UpdateApplicationLastTime()

Default behaviour of the engine. Update FApp::LastTime

Public function Virtual

bool

 

UpdateTimeStep

(
    UEngine* InEngine
)

Update FApp::CurrentTime/FApp::DeltaTime and optionally wait until the end of the frame.