Module |
|
Header |
/Engine/Source/Runtime/TimeManagement/Public/TimeManagementBlueprintLibrary.h |
Include |
#include "TimeManagementBlueprintLibrary.h" |
Source |
/Engine/Source/Runtime/TimeManagement/Private/TimeManagementBlueprintLibrary.cpp |
static FFrameTime SnapFrameTimeToRate
(
const FFrameTime & SourceTime,
const FFrameRate & SourceRate,
const FFrameRate & SnapToRate
)
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.