unreal.GenlockedFixedRateCustomTimeStep

class unreal.GenlockedFixedRateCustomTimeStep(outer=None, name='None')

Bases: unreal.GenlockedCustomTimeStep

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.

C++ Source:

  • Module: TimeManagement

  • File: GenlockedFixedRateCustomTimeStep.h

Editor Properties: (see get_editor_property/set_editor_property)

  • frame_rate (FrameRate): [Read-Write] Desired frame rate