UTimeManagementBlueprintLibrary::SnapFrameTimeToRate

Snaps the given SourceTime to the nearest frame in the specified Destination Framerate.

Windows
MacOS
Linux

References

Module

TimeManagement

Header

/Engine/Source/Runtime/TimeManagement/Public/TimeManagementBlueprintLibrary.h

Include

#include "TimeManagementBlueprintLibrary.h"

Source

/Engine/Source/Runtime/TimeManagement/Private/TimeManagementBlueprintLibrary.cpp

Syntax

static FFrameTime SnapFrameTimeToRate
(
    const FFrameTime & SourceTime,
    const FFrameRate & SourceRate,
    const FFrameRate & SnapToRate
)

Remarks

Snaps the given SourceTime to the nearest frame in the specified Destination Framerate. Useful for determining the nearest frame for another resolution. Returns the frame time in the destination frame rate.

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