USystemTimeTimecodeProvider::GenerateFrameTimeFromHighPerformanceClock

Generate a frame time value, including subframe, using the high performance clock Using the high performance clock is faster but will make the value drift over time.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SystemTimeTimecodeProvider.h

Include

#include "Engine/SystemTimeTimecodeProvider.h"

Source

/Engine/Source/Runtime/Engine/Private/Engine/SystemTimeTimecodeProvider.cpp

Syntax

static FFrameTime GenerateFrameTimeFromHighPerformanceClock
(
    FFrameRate Rate
)

Remarks

Generate a frame time value, including subframe, using the high performance clock Using the high performance clock is faster but will make the value drift over time. This is an optimized version. Prefer GenerateTimecodeFromSystemTime, if the value need to be accurate.

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